/* Seedling: green + white, very rounded, friendly. Text greens are the dark ones (AA on white and on the mint tint);
   the bright greens are for shapes only. */
@font-face { font-family: "Nunito"; src: url("/fonts/nunito-latin.woff2") format("woff2"); font-weight: 200 1000; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; src: url("/fonts/nunito-latin-ext.woff2") format("woff2"); font-weight: 200 1000; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #ffffff;
  --tint: #f0faf3;
  --surface: #ffffff;
  --line: #d7ebdd;
  --ink: #12261a;
  --muted: #3f5848;
  --brand: #166534;
  --brand-ink: #ffffff;
  --brand-hover: #14532d;
  --accent: #15803d;
  --focus: #0b5cad;
  --leaf: #4ade80;
  --leaf-2: #86efac;
  --leaf-3: #bbf7d0;
  --soil: #e7dcc8;
  --sun: #fde68a;
  --shadow: 0 1px 2px rgba(18, 38, 26, .06), 0 12px 32px rgba(18, 38, 26, .07);
  --r-xl: 36px;
  --r-lg: 28px;
  --r-md: 20px;
  --r-pill: 999px;
  --ok: #166534;
  --bad: #b42318;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1a12;
    --tint: #10231a;
    --surface: #132a1e;
    --line: #234333;
    --ink: #eaf6ee;
    --muted: #b4cfbf;
    --brand: #4ade80;
    --brand-ink: #052e16;
    --brand-hover: #86efac;
    --accent: #86efac;
    --focus: #93c5fd;
    --leaf: #22c55e;
    --leaf-2: #4ade80;
    --leaf-3: #166534;
    --soil: #3b3326;
    --sun: #d4a72c;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .25);
    --ok: #86efac;
    --bad: #fca5a5;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 12px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--brand); color: var(--brand-ink); padding: 12px 18px; border-radius: var(--r-pill); font-weight: 700; z-index: 10; }
.skip:focus { top: 12px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.3rem; min-height: 44px; }
.mark { width: 34px; height: 34px; }
.mark-bg { fill: #166534; }
.mark-stem { stroke: #ffffff; stroke-width: 2.4; stroke-linecap: round; fill: none; }
.mark-leaf1 { fill: #bbf7d0; }
.mark-leaf2 { fill: #ffffff; }
.top nav { display: flex; align-items: center; gap: 6px; }
.top nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 700; padding: 10px 14px; border-radius: var(--r-pill); min-height: 44px; display: inline-flex; align-items: center; }
.top nav a:not(.btn):hover { color: var(--ink); background: var(--tint); }
@media (max-width: 640px) { .top nav a:not(.btn) { display: none; } }

/* Buttons + fields */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 0; border-radius: var(--r-pill);
  background: var(--brand); color: var(--brand-ink); font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, transform .2s ease; }
.btn:hover { background: var(--brand-hover); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .75; cursor: progress; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .95rem; }

.pill { display: inline-block; margin-bottom: 18px; padding: 6px 14px; border-radius: var(--r-pill); background: var(--tint); border: 1px solid var(--line); color: var(--accent); font-weight: 800; font-size: .9rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.eyebrow { color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; margin-bottom: .6em; }
.sub { color: var(--muted); font-size: 1.1rem; max-width: 40em; }

.waitlist { margin-top: 28px; max-width: 520px; }
.field label { display: block; font-weight: 700; margin-bottom: 8px; }
.field-row { display: flex; gap: 10px; padding: 6px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-pill); box-shadow: var(--shadow); }
.field-row:focus-within { border-color: var(--accent); }
.field-row input { flex: 1; min-width: 0; min-height: 48px; padding: 0 18px; border: 0; background: transparent; color: var(--ink); font: inherit; border-radius: var(--r-pill); }
.field-row input::placeholder { color: var(--muted); opacity: .85; }
.field-row input:focus-visible { outline-offset: 0; }
.field-row input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--bad); }
@media (max-width: 480px) {
  .field-row { flex-direction: column; border-radius: var(--r-lg); padding: 8px; }
  .field-row .btn { width: 100%; }
}
.status { min-height: 1.6em; margin: 10px 4px 0; font-weight: 700; }
.status.ok { color: var(--ok); }
.status.bad { color: var(--bad); }
.fine { color: var(--muted); font-size: .92rem; margin: 2px 4px 0; }
.ts:not(:empty) { margin-top: 12px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Hero */
.hero { padding: 64px 0 40px; background: radial-gradient(1200px 500px at 85% -10%, var(--tint), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } .hero-art { max-width: 340px; margin: 0 auto; width: 100%; } .hero { padding-top: 40px; } }
.art { width: 100%; height: auto; display: block; }
.art-bg { fill: var(--tint); stroke: var(--line); stroke-width: 1.5; }
.art-sun { fill: var(--sun); }
.art-soil { fill: var(--soil); }
.art-trunk { stroke: #8a6a45; stroke-width: 10; stroke-linecap: round; fill: none; }
.art-trunk-sm { stroke: #8a6a45; stroke-width: 5; stroke-linecap: round; fill: none; }
.art-canopy { fill: var(--leaf); }
.art-canopy2 { fill: var(--leaf-2); }
.art-leaf1 { fill: var(--leaf); }
.art-leaf2 { fill: var(--leaf-2); }
.art-seed { fill: #a47c4f; }
.art-chip { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; }
.art-dot { fill: var(--leaf); }
.art-line { fill: var(--line); }

/* Sections */
.section { padding: 80px 0; }
.section-tint { background: var(--tint); }
.section-head { text-align: center; margin: 0 auto 44px; max-width: 720px; }
.section-head .sub { margin-left: auto; margin-right: auto; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 26px 24px 22px; box-shadow: var(--shadow); }
.step-art { width: 96px; height: 96px; display: block; margin-bottom: 8px; }
.step-n { position: absolute; top: 22px; right: 22px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--accent); font-weight: 800; border: 1px solid var(--line); }
.step p { color: var(--muted); margin: 0; }

.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-2px); }
.card p { color: var(--muted); margin: 0; }
.card-more { background: transparent; border-style: dashed; box-shadow: none; }
.card-more:hover { transform: none; }
.card-more a { font-weight: 700; }
.ico { width: 48px; height: 48px; padding: 11px; border-radius: 16px; background: var(--tint); stroke: var(--accent); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; border: 1px solid var(--line); }

.who { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 800px) { .who { grid-template-columns: 1fr; } }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { background: var(--tint); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 20px 16px 52px; position: relative; font-weight: 700; }
.ticks li::before { content: ""; position: absolute; left: 18px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--brand); }
.ticks li::after { content: ""; position: absolute; left: 25px; top: 50%; width: 6px; height: 11px; margin-top: -8px; border: solid var(--brand-ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

.cta { text-align: center; background: var(--tint); border: 1px solid var(--line); border-radius: 44px; padding: 56px 24px; }
.cta .sub { margin-left: auto; margin-right: auto; }
.waitlist-cta { margin-left: auto; margin-right: auto; text-align: left; }

.foot { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.foot p { margin: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px; }
.foot a { color: var(--muted); font-weight: 700; padding: 10px 12px; border-radius: var(--r-pill); min-height: 44px; display: inline-flex; align-items: center; }
.foot a:hover { color: var(--ink); }

/* Legal pages */
.doc { max-width: 760px; padding: 56px 20px 80px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.doc h2 { font-size: 1.35rem; margin-top: 1.6em; }
.doc p, .doc li { color: var(--muted); }

/* Gentle fades for what starts below the fold (app.js marks it), only when motion is allowed */
@media (prefers-reduced-motion: no-preference) {
  .fade.pending { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
  .fade.pending.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
  .card:hover { transform: none; }
}
