/* Maziwa website: one plain stylesheet. Tokens match the app prototype (BUILD_SPEC §4.1). */

@font-face { font-family: "Atkinson Hyperlegible"; src: url("/assets/atkinson_regular-07e0d68f.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("/assets/atkinson_bold-ee64e582.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/bricolage_bold-cbb173c9.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/bricolage_extrabold-7f4b8fda.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --bg: #F3F6F1; --surface: #FFFFFF; --ink: #1C2A22; --muted: #5B6B61; --line: #D8E0D6;
  --grass: #2F6B3A; --grass-soft: #E1EEDD; --butter: #F2C14E; --soil: #7A5230; --alert: #B23A2A; --alert-soft: #F7E3DF;
  --milk: #FFFFFF; --can: #9AA8A0;
  --cream: #FBF1D6; --cream-line: #EEDCA8;
  --deep: #17311F; --deep-ink: #E8EFE9; --band: #1F4A28;
  --on-grass: #F3F6F1;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(28, 42, 34, .06), 0 8px 24px rgba(28, 42, 34, .06);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141C17; --surface: #1D2821; --ink: #E8EFE9; --muted: #9FB0A5; --line: #2E3C33;
    --grass: #7FC08A; --grass-soft: #223A29; --butter: #F2C14E; --soil: #C79A6E; --alert: #F08A7A; --alert-soft: #3A2320;
    --milk: #F4F7F2; --can: #5E6C64;
    --cream: #2A2618; --cream-line: #463E22;
    --deep: #0E1511; --band: #16301D;
    --on-grass: #141C17;
    --shadow: none;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
}
h1, h2, h3 { font-family: "Bricolage Grotesque", "Atkinson Hyperlegible", system-ui, sans-serif; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--grass); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--butter); outline-offset: 2px; border-radius: 4px; }
img, svg { max-width: 100%; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.center .lead, .section-head .lead { margin-left: auto; margin-right: auto; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow, .narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Buttons and tags */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 22px;
  border-radius: 14px; border: 0; background: var(--grass); color: var(--on-grass); font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer; font-family: inherit;
}
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; border: 1.5px solid var(--line); color: var(--ink); }
.btn.light { background: var(--milk); color: #1C2A22; }
.btn.small { min-height: 44px; padding: 8px 16px; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }
.center.actions, .center .actions { justify-content: center; }
.tag { display: inline-block; font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--grass-soft); color: var(--grass); }
.soon { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; color: inherit; opacity: .75; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1.5px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; }
.logo { color: var(--grass); flex: none; }
.logo-milk { fill: var(--milk); opacity: .9; }
.navlinks { display: flex; align-items: center; gap: 6px; }
.navlink { color: var(--ink); text-decoration: none; font-weight: 700; padding: 10px 12px; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; }
.navlink:hover, .navlink[aria-current="page"] { background: var(--grass-soft); color: var(--grass); }
.navlink.lang { border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; }
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; font-weight: 700; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 16px; min-height: 48px; display: flex; align-items: center; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] .navlinks { position: absolute; right: 16px; left: 16px; top: 76px; flex-direction: column; align-items: stretch; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow); }

/* Hero */
.hero { padding: 64px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.kicker { font-weight: 700; color: var(--grass); text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.trust { color: var(--muted); font-weight: 700; }
.month-card { margin: 0; background: var(--surface); border: 1.5px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.month-card figcaption { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-family: "Bricolage Grotesque", sans-serif; font-size: 1.3rem; }
.month-card table { width: 100%; border-collapse: collapse; }
.month-card th { text-align: left; color: var(--muted); font-size: .85rem; font-weight: 700; padding: 6px 0; border-bottom: 1.5px solid var(--line); }
.month-card td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.month-sums { margin: 14px 0 10px; display: grid; gap: 6px; }
.month-sums div { display: flex; justify-content: space-between; gap: 12px; }
.month-sums dt { color: var(--muted); }
.month-sums dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.month-sums .profit { background: var(--grass); color: var(--on-grass); border-radius: 12px; padding: 10px 12px; margin-top: 6px; }
.month-sums .profit dt { color: var(--on-grass); opacity: .9; }
.month-sums .profit dd { font-family: "Bricolage Grotesque", sans-serif; font-size: 1.3rem; font-weight: 800; }

/* Community numbers band */
.band { background: var(--band); color: #F3F6F1; padding: 44px 0; }
.band-title { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.band-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 18px 0; }
.band-stats dt { font-size: .95rem; opacity: .85; }
.band-stats dd { margin: 4px 0 0; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.8rem); letter-spacing: -.02em; line-height: 1.1; }
.band-stats .soon { opacity: .7; font-size: .7em; }
.band-note { opacity: .85; max-width: 80ch; margin: 0; font-size: .95rem; }

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: var(--surface); border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); }
.section.cream { background: var(--cream); }
.section.cream .card { border-color: var(--cream-line); }
.section.dark { background: var(--deep); color: var(--deep-ink); }
.section.dark .lead { color: #B8C7BD; }
.section-head { text-align: center; margin-bottom: 36px; }
.page-head { padding: 56px 0 24px; }
.page-head .tag { margin-bottom: 12px; }
.back { font-weight: 700; text-decoration: none; }

.cards { display: grid; gap: 18px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p:last-child { margin-bottom: 0; }
.section.alt .card { background: var(--bg); }
.feature-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--grass-soft); color: var(--grass); margin-bottom: 14px; }
.when-card h3 { color: var(--grass); }
.lesson h3::before { content: "KES"; display: block; font-size: .75rem; letter-spacing: .1em; color: var(--soil); margin-bottom: 6px; }
.guide-card { color: var(--ink); text-decoration: none; display: flex; flex-direction: column; gap: 8px; transition: border-color .15s; }
.guide-card:hover { border-color: var(--grass); }
.guide-card h2, .guide-card h3 { font-size: 1.25rem; margin: 4px 0 0; }
.guide-card .tag { align-self: flex-start; }
.guide-card p { color: var(--muted); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.step { position: relative; padding-top: 58px; }
.step-n { position: absolute; top: 18px; left: 22px; width: 32px; height: 32px; border-radius: 50%; background: var(--grass); color: var(--on-grass); display: grid; place-items: center; font-weight: 800; font-family: "Bricolage Grotesque", sans-serif; }
.step h3 { font-size: 1.05rem; }
.step p { color: var(--muted); font-size: .95rem; }

.tips-grid, .yours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.tip-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.tip { background: var(--grass-soft); border-radius: 16px; padding: 16px 18px 16px 52px; position: relative; font-weight: 700; }
.tip::before { content: ""; position: absolute; left: 18px; top: 18px; width: 20px; height: 20px; border-radius: 50%; background: var(--butter); }

.ticks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 14px; height: 8px; border-left: 3px solid var(--grass); border-bottom: 3px solid var(--grass); transform: rotate(-45deg); }
.section.dark .ticks li::before { border-color: #7FC08A; }
.ticks.left { text-align: left; display: inline-grid; margin: 12px auto 24px; }
.ticks .warn { color: var(--alert); font-weight: 700; }
.ticks .warn::before { border-color: var(--alert); }

.cta { background: var(--grass); color: var(--on-grass); padding: 72px 0; }
.cta .lead { color: var(--on-grass); opacity: .9; }

/* Board */
.board-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 24px; }
.rank { list-style: none; margin: 0; padding: 0; }
.rank li { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rank li:last-child { border-bottom: 0; }
.rank-n { width: 32px; height: 32px; border-radius: 50%; background: var(--grass-soft); color: var(--grass); display: grid; place-items: center; font-weight: 800; }
.rank li:first-child .rank-n { background: var(--butter); color: #1C2A22; }
.rank-what small, .rank-val small { display: block; color: var(--muted); font-size: .85rem; font-weight: 400; }
.rank-val { text-align: right; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.4rem; line-height: 1.1; }
.rank-val small { font-family: "Atkinson Hyperlegible", sans-serif; }
.soon-block { color: var(--muted); display: grid; gap: 6px; margin: 0; }
.soon-block .soon { font-size: 1.6rem; color: var(--ink); }
.table-card { margin-bottom: 24px; }
.table-scroll { overflow-x: auto; }
.data { width: 100%; border-collapse: collapse; }
.data th { text-align: left; font-size: .85rem; color: var(--muted); padding: 8px 10px; border-bottom: 1.5px solid var(--line); }
.data td { padding: 10px; border-bottom: 1px solid var(--line); }
.data .num { text-align: right; }

/* Calculator */
.calc-grid { display: grid; grid-template-columns: 380px 1fr; gap: 32px; align-items: start; }
.calc-form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .95rem; color: var(--muted); }
.field input { font: inherit; color: inherit; border: 1.5px solid var(--line); background: var(--bg); border-radius: 12px; padding: 12px 14px; min-height: 52px; width: 100%; font-size: 1.1rem; font-weight: 700; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.stat { background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px; padding: 16px; }
.stat b { display: block; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.65rem; letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: .92rem; }
.stat.profit { grid-column: 1 / -1; background: var(--grass); border-color: var(--grass); color: var(--on-grass); }
.stat.profit span { color: var(--on-grass); opacity: .85; }
.stat.profit.loss { background: var(--alert-soft); border-color: var(--alert); color: var(--alert); }
.stat.profit.loss span { color: var(--alert); }

/* Prose pages */
.prose-section { margin-bottom: 32px; }
.prose-section h2 { font-size: 1.45rem; }
.prose p, .prose li { max-width: 68ch; }
.note { background: var(--alert-soft); border-radius: 14px; padding: 14px 16px; font-weight: 700; }

/* Footer */
.site-foot { background: var(--surface); border-top: 1.5px solid var(--line); padding: 48px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h2 { font-size: 1rem; letter-spacing: 0; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-brand { margin-bottom: 8px; font-size: 1.3rem; }
.foot-base { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); }

/* Responsive: stack columns below 900px, single column below 640px (BUILD_SPEC §4.5). */
@media (max-width: 1060px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .cards.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .navlinks.desk { display: none; }
  .menu { display: block; }
  .hero { padding: 40px 0; }
  .hero-grid, .tips-grid, .yours-grid, .board-grid, .calc-grid { grid-template-columns: 1fr; gap: 28px; }
  .cards.three { grid-template-columns: repeat(2, 1fr); }
  .band-stats { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 56px 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .cards.three, .cards.four, .steps, .foot-grid, .stats { grid-template-columns: 1fr; }
  .band-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .actions .btn { flex: 1 1 100%; }
  .section-head { text-align: left; }
  .month-card { padding: 16px; }
}

@media print {
  .site-head, .site-foot, .cta, .actions { display: none; }
  body { background: #fff; color: #000; }
}

/* ---------- Milk levels in farmer language (board colours) ---------- */
:root { --lvl-full: #1F5A2B; --lvl-good: #5FA36B; --lvl-half: #F2C14E; --lvl-low: #A0673A; --lvl-full-ink: #FFFFFF; --lvl-half-ink: #3B2A00; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --lvl-full: #7FC08A; --lvl-good: #4E8A5A; --lvl-low: #C79A6E; --lvl-full-ink: #0E1511; } }
.lvl-full { fill: var(--lvl-full); background: var(--lvl-full); }
.lvl-good { fill: var(--lvl-good); background: var(--lvl-good); }
.lvl-half { fill: var(--lvl-half); background: var(--lvl-half); }
.lvl-low { fill: var(--lvl-low); background: var(--lvl-low); }
.lvl-word { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px; font-size: .78rem; font-weight: 700; font-family: "Atkinson Hyperlegible", sans-serif; white-space: nowrap; }
.lvl-word.lvl-full { color: var(--lvl-full-ink); }
.lvl-word.lvl-good { color: #FFFFFF; }
.lvl-word.lvl-half { color: var(--lvl-half-ink); }
.lvl-word.lvl-low { color: #FFFFFF; }
.rank-val .lvl-word { display: block; margin-left: auto; width: max-content; }
.rank li { position: relative; }
.rank li.lvl-row-full .rank-n { background: var(--lvl-full); color: var(--lvl-full-ink); }
.bar { display: block; width: 100%; max-width: 220px; height: 8px; margin-top: 6px; border-radius: 4px; background: var(--grass-soft); }
.lvl-cell { min-width: 140px; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; margin: 0 0 24px; padding: 14px 18px; border-radius: var(--radius); background: var(--surface); border: 1.5px solid var(--line); }
.legend ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; }
.legend li { display: flex; align-items: center; gap: 8px; }
.swatch { width: 18px; height: 18px; border-radius: 6px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Growing every month ---------- */
.growth { background: var(--surface); border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); }
.growth-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.growth-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0 0; }
.growth-stats dt { color: var(--muted); font-size: .95rem; }
.growth-stats dd { margin: 4px 0 0; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.02em; }
.hist-card { margin: 0; background: var(--bg); }
.hist-card figcaption { font-weight: 700; margin-bottom: 8px; }
.hist { width: 100%; height: auto; max-height: 240px; }
.hist-n { font: 700 11px "Atkinson Hyperlegible", sans-serif; fill: var(--ink); }
.hist-m { font: 400 10px "Atkinson Hyperlegible", sans-serif; fill: var(--muted); }

/* ---------- Hero milk can ---------- */
.hero-can { display: block; margin-bottom: 14px; overflow: visible; }
.hero-can .can-metal { fill: var(--can); }
.hero-can .can-body { fill: var(--surface); stroke: var(--can); stroke-width: 4; }
.hero-can .can-line { fill: none; stroke: var(--can); stroke-width: 4; }
.hero-can .can-milk { fill: var(--milk); stroke: var(--line); }
.hero-can .drop { fill: var(--milk); stroke: var(--can); stroke-width: 2; opacity: 0; }
.card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
a.card:hover, .feature:hover, .lesson:hover, .when-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn { transition: filter .15s ease, transform .15s ease; }
.btn:active { transform: scale(.98); }

/* ---------- Animations (only when the visitor has not asked for less motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes fill-can { from { transform: scaleY(0); } to { transform: scaleY(1); } }
  @keyframes drip { 0% { opacity: 0; transform: translateY(-10px); } 20% { opacity: 1; } 70% { opacity: 1; transform: translateY(70px); } 100% { opacity: 0; transform: translateY(80px); } }
  @keyframes grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes grow-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
  @keyframes pop { 0% { transform: scale(.9); opacity: 0; } 60% { transform: scale(1.04); opacity: 1; } 100% { transform: scale(1); } }
  @keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(47, 107, 58, 0); } 50% { box-shadow: 0 0 0 8px rgba(47, 107, 58, .18); } }

  .hero-copy > * { animation: rise .7s ease-out both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-copy > :nth-child(5) { animation-delay: .32s; }
  .hero-copy > :nth-child(6) { animation-delay: .4s; }
  .month-card { animation: rise .8s .25s ease-out both; }
  .month-sums .profit { animation: glow 2.4s 1.4s ease-in-out 2; }
  .hero-can .can-milk { transform-box: fill-box; transform-origin: bottom; animation: fill-can 1.6s .3s cubic-bezier(.3, .7, .3, 1) both; }
  .hero-can .drop { animation: drip 1.2s 1.9s ease-in 3; }
  .band-stats dd { animation: pop .6s ease-out both; }
  .band-stats div:nth-child(2) dd { animation-delay: .1s; }
  .band-stats div:nth-child(3) dd { animation-delay: .2s; }
  .band-stats div:nth-child(4) dd { animation-delay: .3s; }
  .bar rect { transform-origin: left; animation: grow-x 1s .2s ease-out both; }
  .hist rect { transform-box: fill-box; transform-origin: bottom; animation: grow-y .9s ease-out both; }

  /* Where the browser supports it, sections rise and bars fill as they scroll into view. */
  @supports (animation-timeline: view()) {
    .section-head, .card, .step, .tip, .legend, .growth-stats > div {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 22%;
    }
    .month-card { animation: rise .8s .25s ease-out both; animation-timeline: auto; }
    .bar rect { animation: grow-x linear both; animation-timeline: view(); animation-range: entry 10% cover 35%; }
    .hist rect { animation: grow-y linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
  }
}

@media (max-width: 900px) { .growth-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- v2: checking with the co-op ---------- */
.v2-steps { list-style: none; padding: 0; margin: 0 0 18px; }
.v2-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.marks { display: grid; gap: 10px; margin: 0; }
.mark { display: grid; grid-template-columns: minmax(150px, auto) 1fr; gap: 12px; align-items: baseline; }
.mark dt { font-weight: 700; padding: 4px 10px; border-radius: 999px; justify-self: start; }
.mark dd { margin: 0; color: var(--muted); }
.mark-confirmed dt { background: var(--grass-soft); color: var(--grass); }
.mark-different dt { background: #FBF1D4; color: #7A5200; }
.mark-ontime dt { background: var(--bg); color: var(--muted); border: 1.5px solid var(--line); }
.mark-later dt { color: var(--muted); border: 1.5px dashed var(--muted); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mark-different dt { background: #352C14; color: #F2C14E; } }
@media (max-width: 900px) { .v2-grid { grid-template-columns: 1fr; } .mark { grid-template-columns: 1fr; gap: 4px; } }
