/* Repton web site. Palette from Repton/UI/Theme.swift; type: Fraunces (display), Instrument Sans (body), IBM Plex Mono (figures). */
:root {
  --green-950: #172C21;
  --green-900: #1E3A2B;
  --green: #274F3A;            /* Theme.deepGreen 0.14 0.30 0.22 */
  --green-soft: #33654B;
  --moss: #5C8057;             /* Theme.moss */
  --moss-light: #8FB07E;
  --cream: #F5F0DE;            /* Theme.cream */
  --paper: #FBF8EF;
  --cream-deep: #ECE5CD;
  --stone: #D6C7A3;            /* Theme.stone */
  --stone-deep: #BFAE85;
  --clay: #B87352;             /* Theme.clay */
  --clay-deep: #9A5C40;
  --water: #5C94B8;            /* Theme.water */
  --gold: #E9B94D;
  --leather: #7A2622;
  --leather-deep: #561715;
  --ink: #1F241F;              /* Theme.ink */
  --ink-soft: #545C54;
  --ink-faint: #8A928A;
  --on-green: #F1EAD3;
  --on-green-soft: #C9D3C2;
  --rule: rgba(39, 79, 58, 0.16);
  --rule-strong: rgba(39, 79, 58, 0.32);
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Instrument Sans", "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --max: 1140px;
  --gutter: clamp(18px, 4vw, 40px);
  --radius: 10px;
  --shadow-lift: 0 30px 60px -30px rgba(23, 44, 33, 0.55);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .display {
  font-family: var(--display);
  font-variation-settings: "opsz" 96, "SOFT" 40, "WONK" 1;
  font-weight: 500;
  color: var(--green);
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0 0 0.45em;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 1.02; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.08; }
h3 { font-size: 1.3rem; line-height: 1.2; font-variation-settings: "opsz" 24, "SOFT" 30, "WONK" 0; }
p { margin: 0 0 1em; max-width: 68ch; }
a { color: var(--green); text-decoration-color: rgba(39,79,58,0.35); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--clay); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
small, .muted { color: var(--ink-soft); }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }
code { font-family: var(--mono); font-size: 0.92em; background: var(--cream-deep); padding: 0 0.3em; border-radius: 4px; }
figure { margin: 0; }
img { max-width: 100%; display: block; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 720px; }
.eyebrow { display: inline-block; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--clay); margin-bottom: 14px; }
.on-dark .eyebrow { color: var(--gold); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--ink-soft); max-width: 36em; }

/* ---------- Header ---------- */
.site-header { background: var(--green-900); color: var(--on-green); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(255,255,255,0.08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { font-family: var(--display); font-variation-settings: "opsz" 48, "SOFT" 60, "WONK" 1; font-size: 1.6rem; font-weight: 500; color: var(--on-green); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; letter-spacing: 0.01em; }
.brand .leaf { width: 30px; height: 30px; }
.nav { display: flex; gap: 26px; font-size: 0.95rem; align-items: center; }
.nav a { text-decoration: none; color: var(--on-green-soft); padding: 6px 0; border-bottom: 1.5px solid transparent; }
.nav a[aria-current="page"] { color: var(--on-green); border-bottom-color: var(--gold); }
.nav a:hover { color: var(--on-green); }
.nav .btn { padding: 8px 16px; font-size: 0.9rem; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,0.3); color: var(--on-green); border-radius: 8px; padding: 6px 10px; font: inherit; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { background: var(--green-900); color: var(--on-green); padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(233,185,77,0.5), transparent); }
.hero h1 { color: var(--on-green); }
.hero .lede { color: var(--on-green-soft); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero .kicker { font-family: var(--mono); font-size: 0.8rem; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; display: flex; gap: 12px; align-items: center; }
.hero .kicker::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.hero-facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 18px 28px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); }
.hero-facts div { font-size: 0.86rem; color: var(--on-green-soft); }
.hero-facts strong { display: block; font-family: var(--mono); font-size: 1.15rem; color: var(--on-green); font-weight: 500; letter-spacing: -0.01em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 8px; border: 1.5px solid var(--green); background: var(--green); color: var(--cream); font-weight: 600; text-decoration: none; cursor: pointer; font-family: var(--sans); font-size: 1rem; line-height: 1.2; transition: transform 0.08s ease, background 0.15s ease, border-color 0.15s ease; }
.btn:hover { background: var(--green-soft); border-color: var(--green-soft); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: progress; }
.btn.secondary { background: transparent; color: var(--green); }
.btn.secondary:hover { background: rgba(39,79,58,0.08); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--green-950); }
.btn.gold:hover { background: #F0C55F; border-color: #F0C55F; }
.btn.clay { background: var(--clay); border-color: var(--clay); color: #fff; }
.btn.clay:hover { background: var(--clay-deep); border-color: var(--clay-deep); }
.on-dark .btn.secondary, .hero .btn.secondary { color: var(--on-green); border-color: rgba(255,255,255,0.35); }
.on-dark .btn.secondary:hover, .hero .btn.secondary:hover { background: rgba(255,255,255,0.08); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 1.6rem 0 0; }

.store-badge { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 9px; background: #000; color: #fff; text-decoration: none; line-height: 1.05; border: 1px solid rgba(255,255,255,0.25); }
.store-badge svg { width: 22px; height: 26px; }
.store-badge small { display: block; font-size: 0.66rem; color: #ddd; letter-spacing: 0.02em; }
.store-badge strong { font-size: 1.1rem; font-weight: 500; }
.store-badge.soon { opacity: 0.92; }
.store-badge.soon small { color: var(--gold); }

/* ---------- Red Book flap ---------- */
.redbook-stage { perspective: 1400px; width: 100%; max-width: 520px; margin: 0 auto; }
.redbook { position: relative; aspect-ratio: 5 / 4; border-radius: 6px; background: var(--leather) url(/assets/redbook-hero.svg) center / 100% 100% no-repeat; box-shadow: var(--shadow-lift), 0 2px 0 #3F0F0E, 0 6px 0 -1px #2A0A09; }
.redbook .page { position: absolute; top: 7%; right: 8%; bottom: 10%; left: 13%; background: var(--cream); overflow: hidden; box-shadow: inset 0 0 36px rgba(120,90,40,0.18), 1px 1px 0 rgba(0,0,0,0.12); }
.redbook .page svg { width: 100%; height: 100%; display: block; }
.plate { position: absolute; inset: 5% 5% 12% 5%; margin: 0; background: #fff; box-shadow: 0 0 0 1px rgba(80,60,30,0.25), 0 1px 3px rgba(0,0,0,0.25); }
.plate img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.92) contrast(1.04) sepia(0.08); }
.plate::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 40px rgba(60,40,10,0.28); pointer-events: none; }
.plate figcaption { position: absolute; left: 0; right: 0; top: 100%; padding-top: 2.5%; text-align: center; font-family: var(--display); font-variation-settings: "opsz" 24, "SOFT" 60, "WONK" 1; font-size: clamp(0.72rem, 1.9vw, 0.95rem); color: #4A3A22; letter-spacing: 0.02em; }
.plate figcaption em { font-style: italic; color: var(--green); }
.redbook .page { background: #F1E8CF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0.4 0 0 0 0 0.3 0 0 0 0 0.1 0 0 0 0.12 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E"); }
.redbook .caption { position: absolute; left: 12%; right: 6%; bottom: 1%; font-family: var(--display); font-variation-settings: "opsz" 24, "SOFT" 60, "WONK" 1; font-style: italic; font-size: 0.9rem; color: var(--stone); display: flex; justify-content: space-between; pointer-events: none; }
.flap { position: absolute; inset: 0; transform-origin: 50% 0; transition: transform 0.9s cubic-bezier(0.22, 0.75, 0.2, 1); backface-visibility: hidden; -webkit-backface-visibility: hidden; cursor: pointer; background: var(--cream); }
.flap::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -30px 40px -30px rgba(0,0,0,0.25); pointer-events: none; }
.flap .hint { position: absolute; right: 7%; top: 8%; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); background: rgba(251,248,239,0.9); padding: 5px 9px; border-radius: 4px; border: 1px solid var(--rule-strong); }
.redbook.open .flap, .redbook:hover .flap { transform: rotateX(-168deg); }
.redbook.open .flap::after, .redbook:hover .flap::after { opacity: 0; }
.redbook-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; font-size: 0.86rem; color: var(--on-green-soft); }
.redbook-controls button { background: none; border: 1px solid rgba(255,255,255,0.3); color: var(--on-green); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 0.85rem; cursor: pointer; }
.redbook-controls button:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section.tight { padding: clamp(40px, 6vw, 72px) 0; }
.section.cream { background: var(--cream); }
.section.on-dark { background: var(--green-900); color: var(--on-green); }
.section.on-dark h2, .section.on-dark h3 { color: var(--on-green); }
.section.on-dark .lede, .section.on-dark .muted { color: var(--on-green-soft); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head .lede { margin: 0; }

/* Five stages: a real sequence, so the numerals mean something. */
.stages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); }
.stage { padding: 26px 22px 30px 0; border-right: 1px solid var(--rule); margin-right: 22px; }
.stage:last-child { border-right: 0; margin-right: 0; }
.stage .num { font-family: var(--display); font-variation-settings: "opsz" 72, "SOFT" 80, "WONK" 1; font-size: 2.2rem; color: var(--clay); line-height: 1; margin-bottom: 14px; }
.stage h3 { font-size: 1.15rem; margin-bottom: 8px; }
.stage p { font-size: 0.93rem; color: var(--ink-soft); margin: 0; }
.stage .detail { margin-top: 12px; font-family: var(--mono); font-size: 0.72rem; color: var(--ink-faint); letter-spacing: 0.02em; }

/* Sun study */
.sun-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.sun-panel { background: var(--green-950); border-radius: 12px; padding: 18px; box-shadow: var(--shadow-lift); }
.sun-panel canvas { width: 100%; height: auto; display: block; border-radius: 6px; }
.sun-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.seg { display: inline-flex; border: 1px solid rgba(255,255,255,0.22); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button { background: none; border: 0; color: var(--on-green-soft); font: inherit; font-size: 0.85rem; padding: 6px 14px; border-radius: 999px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--cream); color: var(--green-950); font-weight: 600; }
.sun-readout { font-family: var(--mono); font-size: 0.8rem; color: var(--on-green-soft); }
.sun-readout strong { color: var(--gold); font-weight: 500; }
.sun-legend { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-family: var(--mono); font-size: 0.72rem; color: var(--on-green-soft); }
.sun-legend .ramp { flex: 1; height: 8px; border-radius: 4px; background: linear-gradient(90deg, rgb(77,92,140), rgb(128,168,77), rgb(242,209,51)); }
.sun-notes { display: grid; gap: 14px; margin-top: 22px; }
.sun-notes div { padding-left: 16px; border-left: 2px solid var(--stone); font-size: 0.95rem; color: var(--ink-soft); }
.sun-notes strong { color: var(--ink); font-weight: 600; }

/* Planting palette */
.palette { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.plant { position: relative; border-radius: 6px; overflow: hidden; background: var(--green-950); aspect-ratio: 4 / 5; }
.plant:nth-child(4n+1) { aspect-ratio: 4 / 5; }
.plant img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.plant:hover img { transform: scale(1.04); }
.plant figcaption { position: absolute; inset: auto 0 0; padding: 40px 14px 12px; background: linear-gradient(180deg, rgba(23,44,33,0), rgba(23,44,33,0.85)); color: var(--on-green); }
.plant figcaption b { display: block; font-family: var(--display); font-variation-settings: "opsz" 24, "SOFT" 40, "WONK" 0; font-weight: 500; font-size: 1.02rem; line-height: 1.15; }
.plant figcaption i { display: block; font-style: italic; font-size: 0.8rem; color: var(--on-green-soft); }
.plant figcaption span { display: block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.06em; color: var(--gold); margin-top: 6px; text-transform: uppercase; }
.palette-foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 18px; font-size: 0.86rem; color: var(--ink-soft); }

/* Concepts */
.concepts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.concept { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; }
.concept .swatches { display: flex; gap: 6px; margin-bottom: 6px; }
.concept .swatches i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--paper); box-shadow: 0 0 0 1px var(--rule); }
.section.on-dark .concept h3, .concept h3 { margin: 0; color: var(--green); }
.concept .sig { font-size: 0.86rem; color: var(--ink-soft); }
.concept .sig em { font-style: italic; color: var(--ink); }
.concept p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

/* Feature list (studio) */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 6px; }
.feature p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }
.feature .glyph { width: 40px; height: 40px; border-radius: 10px; background: var(--green); color: var(--cream); display: grid; place-items: center; margin-bottom: 14px; }
.feature .glyph svg { width: 22px; height: 22px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column; }
.plan.featured { background: var(--green); color: var(--on-green); border-color: var(--green); box-shadow: var(--shadow-lift); }
.plan.featured h3, .plan.featured .price { color: var(--on-green); }
.plan.featured .muted, .plan.featured ul.ticks li { color: var(--on-green-soft); }
.plan.featured ul.ticks li::before { color: var(--gold); }
.plan .eyebrow { margin-bottom: 8px; }
.plan h3 { font-size: 1.5rem; margin-bottom: 4px; }
.price { font-family: var(--display); font-variation-settings: "opsz" 72, "SOFT" 40, "WONK" 0; font-size: 2.6rem; color: var(--green); line-height: 1; margin: 10px 0 2px; font-weight: 500; }
.price small { font-family: var(--sans); font-size: 0.95rem; color: var(--ink-soft); font-weight: 400; }
.plan.featured .price small { color: var(--on-green-soft); }
.price-alt { font-size: 0.86rem; color: var(--ink-soft); margin-bottom: 8px; }
.plan.featured .price-alt { color: var(--on-green-soft); }
ul.ticks { list-style: none; padding: 0; margin: 14px 0 22px; display: grid; gap: 9px; }
ul.ticks li { padding-left: 24px; position: relative; font-size: 0.95rem; }
ul.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--moss); font-weight: 700; }
.plan .btn-row { margin-top: auto; }
.plan.featured .btn { background: var(--gold); border-color: var(--gold); color: var(--green-950); }
.plan.featured .btn:hover { background: #F0C55F; }
.plan .fine { font-size: 0.8rem; color: var(--ink-faint); margin: 12px 0 0; }
.plan.featured .fine { color: var(--on-green-soft); }

/* Red Book story */
.story { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.story blockquote { margin: 0; font-family: var(--display); font-variation-settings: "opsz" 48, "SOFT" 80, "WONK" 1; font-style: italic; font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.3; color: var(--green); }
.story cite { display: block; font-style: normal; font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.06em; color: var(--ink-faint); margin-top: 14px; text-transform: uppercase; }
.story-book { max-width: 340px; margin: 0 auto; }
.story-book img { width: 100%; height: auto; filter: drop-shadow(0 24px 30px rgba(23,44,33,0.35)); }

/* Gardeners band */
.band { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 24px 48px; align-items: center; }

/* Forms */
form.stack { display: grid; gap: 16px; max-width: 480px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 0.92rem; }
label small { font-weight: 400; }
input, textarea, select { font: inherit; padding: 12px 14px; border: 1.5px solid var(--stone); border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(233,185,77,0.6); outline-offset: 0; border-color: var(--moss); }
input.code { font-family: var(--mono); font-size: 1.6rem; letter-spacing: 0.4em; text-align: center; }
.notice { padding: 12px 16px; border-radius: 8px; background: rgba(92,148,184,0.14); border: 1px solid rgba(92,148,184,0.4); margin-bottom: 16px; }
.notice.error { background: rgba(184,115,82,0.12); border-color: rgba(184,115,82,0.5); }
.notice.ok { background: rgba(92,128,87,0.14); border-color: rgba(92,128,87,0.45); }
.hidden { display: none !important; }
dl.plan-facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0 0 1.6rem; padding: 20px 22px; background: var(--cream); border-radius: var(--radius); }
dl.plan-facts dt { color: var(--ink-soft); }
dl.plan-facts dd { margin: 0; font-weight: 600; }

.draft { display: inline-block; padding: 4px 10px; border: 1.5px solid var(--clay); color: var(--clay); border-radius: 6px; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; margin-bottom: 1rem; }
.legal h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal ol, .legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: 0.5em; }

/* Page hero (inner pages) */
.page-head { background: var(--green-900); color: var(--on-green); padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); }
.page-head h1 { color: var(--on-green); font-size: clamp(2rem, 4.4vw, 3.4rem); }
.page-head .lede { color: var(--on-green-soft); }

/* Footer */
.site-footer { background: var(--green-950); color: var(--on-green-soft); padding: 56px 0 40px; font-size: 0.9rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.site-footer h4 { margin: 0 0 12px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-green-soft); text-decoration: none; }
.site-footer a:hover { color: var(--on-green); text-decoration: underline; }
.site-footer .brand { margin-bottom: 12px; }
.site-footer .legal-line { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 0.82rem; color: var(--ink-faint); }
.site-footer .legal-line a { color: var(--on-green-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stage:nth-child(3) { border-right: 0; }
  .palette { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .hero-grid, .sun-grid, .story, .section-head, .band { grid-template-columns: 1fr; }
  .plans, .concepts { grid-template-columns: 1fr; }
  .nav { position: absolute; top: 64px; left: 0; right: 0; background: var(--green-900); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 16px; display: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav a[aria-current="page"] { border-bottom-color: rgba(255,255,255,0.08); color: var(--gold); }
  .nav .btn { margin-top: 12px; justify-content: center; }
  .nav-toggle { display: inline-block; }
  .redbook-stage { max-width: 460px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .stages { grid-template-columns: 1fr; }
  .stage { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--rule); padding: 20px 0; }
  .stage:last-child { border-bottom: 0; }
  .palette { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .features { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: repeat(2, auto); gap: 14px 24px; }
  .redbook .caption { font-size: 0.75rem; }
}
