:root {
  color-scheme: light;
  --paper: #f7f3ea;
  --ink: #1e2522;
  --muted: #626d67;
  --line: #d9d0c1;
  --green: #2e604d;
  --green-dark: #1d4638;
  --clay: #b86f4b;
  --blue: #315f7d;
  --white: #fffdf8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 21px;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

nav a,
footer a,
article a {
  text-decoration: none;
}

nav a:hover,
footer a:hover,
article a:hover {
  color: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 42px;
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  min-height: 650px;
  margin: 0 auto;
  padding: 58px 0 84px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lede {
  max-width: 660px;
  color: var(--muted);
  font-size: 19px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 720;
  text-decoration: none;
}

.button.primary {
  border-color: var(--green-dark);
  background: var(--green-dark);
  color: var(--white);
}

.button.secondary {
  background: rgba(255, 253, 248, 0.58);
}

.study-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 420px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.68), rgba(255,255,255,0.28)),
    repeating-linear-gradient(0deg, transparent, transparent 38px, rgba(49,95,125,0.1) 39px);
  box-shadow: 0 18px 48px rgba(68, 55, 33, 0.12);
}

.panel-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 24px;
  color: var(--muted);
}

.panel-top strong {
  color: var(--green-dark);
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 700;
}

.word-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

.word-grid span {
  padding: 14px 16px;
  border: 1px solid rgba(46, 96, 77, 0.25);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.76);
  color: var(--blue);
  font-size: 24px;
  font-weight: 740;
}

.study-panel p {
  margin: 0;
  color: var(--muted);
}

.section,
.method {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 28px;
}

h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.64);
}

article h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

article p {
  color: var(--muted);
}

article a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--green-dark);
  font-weight: 760;
}

.method {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 52px;
}

ol {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

li {
  position: relative;
  padding: 20px 20px 20px 62px;
  border-left: 3px solid var(--green);
  background: rgba(255, 253, 248, 0.52);
}

li::before {
  position: absolute;
  left: 20px;
  top: 18px;
  counter-increment: steps;
  content: counter(steps);
  color: var(--clay);
  font-weight: 800;
}

li strong {
  display: block;
  margin-bottom: 4px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 820px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero,
  .method {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .study-panel {
    min-height: 340px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-header,
  .hero,
  .section,
  .method,
  footer {
    width: min(100% - 28px, 1120px);
  }

  h1 {
    font-size: 42px;
  }

  .actions,
  .button {
    width: 100%;
  }

  .word-grid {
    grid-template-columns: 1fr;
  }
}
