:root {
  color-scheme: light;
  --ink: #1e2d29;
  --muted: #617067;
  --line: #d7ded5;
  --paper: #fbfaf5;
  --panel: #ffffff;
  --leaf: #386a42;
  --field: #d99b42;
  --water: #377a8b;
  --clay: #9b5941;
}

* {
  box-sizing: border-box;
}

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.6;
}

a {
  color: inherit;
}

.topbar {
  align-items: center;
  background: rgba(251, 250, 245, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 16px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

.brand-mark {
  align-items: center;
  background: var(--leaf);
  border-radius: 6px;
  color: white;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.hero {
  background:
    linear-gradient(120deg, rgba(56, 106, 66, 0.92), rgba(34, 63, 53, 0.92)),
    url("/learn/assets/og.svg") center / cover;
  color: white;
  padding: clamp(56px, 10vw, 116px) clamp(20px, 5vw, 72px);
}

.hero h1 {
  font-size: clamp(36px, 7vw, 76px);
  line-height: 1.02;
  margin: 0;
  max-width: 980px;
}

.hero p {
  font-size: clamp(18px, 2vw, 24px);
  margin: 18px 0 0;
  max-width: 760px;
}

.eyebrow,
.card-kicker {
  color: var(--field);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.band,
.article {
  margin: 0 auto;
  max-width: 1180px;
  padding: 42px clamp(18px, 4vw, 56px);
}

.alt-band {
  border-top: 1px solid var(--line);
}

.article {
  max-width: 940px;
}

.article .hero {
  margin: -42px calc(clamp(18px, 4vw, 56px) * -1) 34px;
}

.section-head {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 22px;
}

.section-head h2,
.article h2 {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.15;
  margin: 0 0 10px;
}

.section-head p {
  color: var(--muted);
  margin: 0;
  max-width: 470px;
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-height: 166px;
  padding: 20px;
  text-decoration: none;
}

.card:hover {
  border-color: var(--leaf);
}

.card strong {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.card span:last-child,
.article p,
.article li,
.facts dd,
details p {
  color: var(--muted);
}

.facts {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin: 26px 0;
}

.facts div,
.tool-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.facts dt {
  color: var(--clay);
  font-size: 13px;
  font-weight: 800;
}

.facts dd {
  margin: 4px 0 0;
}

.diagram {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 28px 0;
  overflow: hidden;
}

.diagram svg {
  display: block;
  height: auto;
  width: 100%;
}

.article section {
  margin: 34px 0;
}

.source-note {
  background: #f1f5ee;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.flagship-block {
  background: #fff8ea;
  border: 1px solid #ead7ad;
  border-radius: 8px;
  padding: 22px;
}

.flagship-block h2 {
  margin-top: 0;
}

.flagship-section {
  border-top: 1px solid #ead7ad;
  margin-top: 18px;
  padding-top: 16px;
}

.flagship-section h3 {
  font-size: 20px;
  margin: 0 0 8px;
}

.checklist {
  display: grid;
  gap: 12px;
  padding: 0;
}

.checklist li {
  align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  padding: 14px;
}

.checklist li span {
  border: 2px solid var(--leaf);
  border-radius: 4px;
  flex: 0 0 auto;
  height: 20px;
  margin-top: 3px;
  width: 20px;
}

.care-card li {
  font-size: 18px;
  font-weight: 720;
}

.print-link {
  display: inline-flex;
  font-weight: 800;
  margin-top: 12px;
}

details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 10px 0;
  padding: 14px 16px;
}

summary {
  cursor: pointer;
  font-weight: 750;
}

.tool-shell {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
  margin: 0 auto;
  max-width: 1120px;
  padding: 54px clamp(18px, 4vw, 56px);
}

.tool-shell h1 {
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.04;
  margin: 0;
}

.tool-shell p {
  color: var(--muted);
  font-size: 18px;
}

.tool-panel label {
  display: grid;
  font-weight: 750;
  gap: 6px;
  margin-bottom: 16px;
}

.tool-panel input,
.tool-panel select {
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  padding: 11px 12px;
}

.tool-panel button {
  background: var(--leaf);
  border: 0;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 12px 16px;
}

.signup-strip {
  align-items: center;
  background: var(--ink);
  color: white;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 28px clamp(18px, 4vw, 56px);
}

.signup-strip h2 {
  margin: 0 0 4px;
}

.signup-strip p {
  color: #dce5dd;
  margin: 0;
}

.signup-form {
  align-items: center;
  display: flex;
  gap: 10px;
}

.signup-form.stacked {
  align-items: stretch;
  flex-direction: column;
}

.signup-form input,
.signup-form select {
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  min-width: min(280px, 100%);
  padding: 11px 12px;
}

.signup-form button {
  background: var(--field);
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  padding: 12px 16px;
}

.result {
  background: #edf5ee;
  border-left: 4px solid var(--leaf);
  margin-top: 18px;
  padding: 14px 16px;
}

.muted {
  color: var(--muted);
}

.search-shell .tool-panel {
  min-height: 420px;
}

.search-results {
  display: grid;
  gap: 10px;
}

.search-result,
.month-list a {
  background: #f8faf6;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 14px;
  text-decoration: none;
}

.search-result span {
  color: var(--water);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.search-result em,
.month-list span {
  color: var(--muted);
  font-style: normal;
}

.month-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 24px clamp(18px, 4vw, 56px);
}

@media (max-width: 760px) {
  .topbar,
  .section-head,
  .signup-strip,
  .signup-form,
  .tool-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .tool-shell {
    display: flex;
  }
}

@media print {
  .topbar,
  .footer,
  .hero,
  .print-link {
    display: none;
  }

  body {
    background: white;
  }

  .article {
    max-width: none;
    padding: 0;
  }
}
