/* Project Sky Network — landing page styles. Tokens follow md/06_UX_UI_DESIGN_SYSTEM.md */

:root {
  --lotus: #F7F6F2;
  --mist: #E6EAE8;
  --canopy: #1F3B2D;
  --soil: #3B2A1E;
  --dawn: #E3A857;
  --dawn-ink: #6B4410;
  --sky: #8DB7C9;
  --ink: #121614;
  --muted: #4F5A55;
  --scar: #8A8580;
  --line: rgba(18, 22, 20, 0.12);

  --bg: var(--lotus);
  --bg-alt: var(--mist);
  --text: var(--ink);
  --text-muted: var(--muted);
  --card: #FFFFFF;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 11vw, 150px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101412;
    --bg-alt: #17201B;
    --text: #EDEBE4;
    --text-muted: #A9B2AC;
    --card: #1A221E;
    --line: rgba(237, 235, 228, 0.14);
  }
}
:root[data-theme="dark"] {
  --bg: #101412;
  --bg-alt: #17201B;
  --text: #EDEBE4;
  --text-muted: #A9B2AC;
  --card: #1A221E;
  --line: rgba(237, 235, 228, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 7vw, 96px); font-weight: 300; }
h1 .nowrap { display: block; white-space: nowrap; }
h2 { font-size: clamp(32px, 4.6vw, 56px); max-width: 18ch; }
h3 { font-size: clamp(21px, 2vw, 26px); }
p { margin: 0 0 1em; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--dawn); color: var(--ink); padding: 10px 16px; z-index: 100; border-radius: 4px; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--dawn); outline-offset: 2px; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section-mist { background: var(--bg-alt); }
.section-dark { background: var(--canopy); color: var(--lotus); }
.section-soil { background: var(--soil); color: var(--lotus); }
.section-cta { background: linear-gradient(180deg, #1F3B2D 0%, #2B2A1E 100%); color: var(--lotus); }

.eyebrow { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--text-muted); margin-bottom: 18px; }
.eyebrow-light, .section-dark .eyebrow, .section-soil .eyebrow, .section-cta .eyebrow { color: var(--dawn); }
.lead { font-size: clamp(18px, 1.6vw, 21px); max-width: 38em; }
.lead-dark { font-size: clamp(18px, 1.6vw, 21px); max-width: 36em; color: var(--text-muted); }
.caption, .footnote { font-size: 13px; color: var(--text-muted); }
.section-dark .footnote, .section-soil .caption { color: rgba(247, 246, 242, 0.7); }
.emph { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 30px); }
.pull { font-family: var(--font-display); font-size: clamp(24px, 3vw, 38px); font-style: italic; margin-top: 56px; text-align: center; }
.note { font-size: 15px; color: var(--text-muted); max-width: 52em; margin-top: 20px; }

/* Buttons & links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; border-radius: 999px; font: 600 16px/1 var(--font-body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--dawn); color: var(--ink); }
.btn-primary:hover { background: #EDB969; }
.btn-ghost { border-color: currentColor; color: inherit; padding: 10px 20px; min-height: 44px; font-size: 15px; }
.btn-light { background: var(--lotus); color: var(--canopy); }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.icon-inline { width: 18px; height: 18px; }

/* Tags */
.tag { display: inline-block; font: 600 11px/1 var(--font-body); text-transform: uppercase; letter-spacing: 0.12em; padding: 6px 9px; border-radius: 999px; vertical-align: middle; }
.tag-target { background: rgba(141, 183, 201, 0.22); color: #2E5B6E; }
.section-soil .tag-target { background: rgba(141, 183, 201, 0.25); color: #CFE3EC; }
.tag-pending { background: rgba(227, 168, 87, 0.2); color: var(--dawn-ink); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--lotus); transition: background 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.site-header.is-solid { background: rgba(247, 246, 242, 0.94); color: var(--ink); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-header.is-solid { background: rgba(16, 20, 18, 0.92); color: var(--text); } }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 14px/1 var(--font-body); letter-spacing: 0.24em; }
.brand-mark { width: 30px; height: 30px; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.main-nav a:not(.btn) { text-decoration: none; font-size: 15px; font-weight: 500; opacity: 0.88; }
.main-nav a:not(.btn):hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; color: inherit; cursor: pointer; position: relative; }
.nav-toggle .bar { position: absolute; left: 11px; width: 22px; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease); }
.nav-toggle .bar:nth-of-type(2) { top: 18px; }
.nav-toggle .bar:nth-of-type(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(2) { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(3) { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; z-index: 2; }
  .main-nav { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 36px; background: var(--canopy); color: var(--lotus); opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s; }
  .main-nav.is-open { opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: center; gap: 22px; }
  .main-nav a:not(.btn) { font-family: var(--font-display); font-size: 28px; }
  .site-header.menu-open { color: var(--lotus); background: transparent; box-shadow: none; }
}

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: var(--lotus); overflow: hidden; }
.hero-scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 30, 24, 0.72) 0%, rgba(18, 30, 24, 0.35) 55%, rgba(18, 30, 24, 0.05) 100%), linear-gradient(0deg, rgba(18, 30, 24, 0.5) 0%, transparent 40%); }
.hero-content { position: relative; padding-top: 120px; padding-bottom: 120px; }
.hero .eyebrow { color: var(--dawn); }
.hero .lead { color: rgba(247, 246, 242, 0.92); margin-bottom: 36px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.hero-caption { position: absolute; right: var(--gutter); bottom: 20px; color: rgba(247, 246, 242, 0.7); margin: 0; }
/* Pod glides in on the right, clear of the headline, and settles on the timber platform */
.hero-pod { transform: translate(1155px, 552px); animation: glide 14s var(--ease) infinite alternate; }
@keyframes glide {
  0%, 10%  { transform: translate(1420px, 140px); }
  90%, 100% { transform: translate(1155px, 552px); }
}
@keyframes glide-mobile {
  0%, 10%  { transform: translate(560px, 90px) scale(0.6); }
  90%, 100% { transform: translate(860px, 200px) scale(0.6); }
}

/* Compare slider */
.compare { position: relative; margin: 48px 0 12px; aspect-ratio: 16 / 8.4; border-radius: 6px; overflow: hidden; --pos: 50%; }
.compare-pane { position: absolute; inset: 0; }
.compare-pane svg { width: 100%; height: 100%; }
.compare-label { z-index: 1; pointer-events: none; }
.compare-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-label { position: absolute; top: 16px; font: 600 12px/1 var(--font-body); text-transform: uppercase; letter-spacing: 0.14em; background: rgba(18, 22, 20, 0.7); color: var(--lotus); padding: 8px 12px; border-radius: 999px; }
.compare-label-left { left: 16px; }
.compare-label-right { right: 16px; }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--lotus); transform: translateX(-1px); pointer-events: none; }
.compare-handle span { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; border-radius: 50%; background: var(--lotus); transform: translate(-50%, -50%); box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25); }
.compare-handle span::before { content: "‹ ›"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--canopy); font-weight: 600; letter-spacing: 2px; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare:has(.compare-range:focus-visible) .compare-handle span { outline: 2px solid var(--dawn); outline-offset: 3px; }

/* Stats */
.stats { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat { border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.stat-num { font-family: var(--font-display); font-size: clamp(34px, 3.6vw, 48px); line-height: 1; color: var(--canopy); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .stat-num { color: var(--dawn); } }
.stat-label { color: var(--text-muted); }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split-reverse .split-text { order: 2; }
.split-visual { margin: 0; }
.split-visual svg { border-radius: 6px; width: 100%; height: auto; }
.svg-label { font: 600 16px var(--font-body); fill: #121614; letter-spacing: 0.06em; }

/* Layers */
.layers { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.layer { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 30px 26px; position: relative; }
.layer .icon { width: 36px; height: 36px; color: var(--canopy); margin-bottom: 28px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .layer .icon { color: var(--sky); } }
.layer-num { position: absolute; top: 28px; right: 26px; font-size: 13px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.layer p { color: var(--text-muted); margin: 0; font-size: 16px; }

.fleet { margin-top: 72px; }
.fleet-title { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
td:nth-child(n+3) { white-space: nowrap; }
th, td { text-align: left; padding: 16px 18px 16px 0; border-bottom: 1px solid var(--line); }
thead th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-muted); font-weight: 600; }
tbody th { font-family: var(--font-display); font-weight: 400; font-size: 19px; }

/* Journey */
.story { font-family: var(--font-display); font-size: clamp(20px, 2.1vw, 26px); max-width: 34em; line-height: 1.45; color: rgba(247, 246, 242, 0.92); }
.timelines { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 48px 0; }
.timeline { border-radius: 6px; padding: 32px; }
.timeline-road { background: rgba(138, 133, 128, 0.18); }
.timeline-sky { background: rgba(227, 168, 87, 0.12); border: 1px solid rgba(227, 168, 87, 0.35); }
.timeline h3 { font-size: 15px; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(247, 246, 242, 0.75); }
.timeline ol { list-style: none; margin: 20px 0; padding: 0 0 0 22px; border-left: 1.5px dashed rgba(247, 246, 242, 0.35); }
.timeline-sky ol { border-left: 1.5px solid var(--dawn); }
.timeline li { position: relative; padding: 0 0 18px; }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--scar); }
.timeline-sky li::before { background: var(--dawn); }
.timeline-total { font-family: var(--font-display); font-size: clamp(36px, 4vw, 54px); line-height: 1; margin: 0; }
.timeline-road .timeline-total { color: #B9B3AC; }
.timeline-sky .timeline-total { color: var(--dawn); }

/* Soil */
.checks { list-style: none; padding: 0; margin: 0 0 32px; }
.checks li { position: relative; padding: 0 0 14px 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 14px; height: 1.5px; background: var(--dawn); }
.mini-story { border-left: 2px solid var(--dawn); padding: 4px 0 4px 22px; font-size: 16px; color: rgba(247, 246, 242, 0.85); }
.mini-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--dawn); font-weight: 600; margin-bottom: 6px; }
.fungi path { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 2.4s var(--ease); }
.is-visible .fungi path, html:not(.js) .fungi path { stroke-dashoffset: 0; }

/* Energy */
.flow { list-style: none; padding: 0; margin: 48px 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; counter-reset: flow; }
.flow li { position: relative; padding: 22px 18px 0 0; border-top: 2px solid var(--canopy); display: flex; flex-direction: column; gap: 6px; counter-increment: flow; }
.flow li::before { content: counter(flow, decimal-leading-zero); position: absolute; top: -14px; left: 0; background: var(--bg); padding-right: 8px; font-size: 13px; color: var(--text-muted); }
.flow strong { font-family: var(--font-display); font-weight: 400; font-size: 20px; }
.flow span { font-size: 15px; color: var(--text-muted); }
.metrics { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: clamp(24px, 6vw, 80px); }
.metrics li { display: flex; flex-direction: column; }
.metric-num { font-family: var(--font-display); font-size: clamp(36px, 4vw, 54px); line-height: 1.05; }
.metric-label { color: var(--text-muted); font-size: 15px; }
.footnote-dark { margin-top: 20px; }

/* Mesh card */
.card { background: var(--card); border-radius: 6px; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); }
.card-mesh h3 { font-size: clamp(24px, 2.4vw, 32px); }

/* Founder */
.founder { display: grid; grid-template-columns: minmax(200px, 360px) 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.founder-portrait { aspect-ratio: 4 / 5; border-radius: 6px; background: linear-gradient(160deg, var(--mist), #C9D3CE); display: grid; place-items: center; }
.founder-portrait span { font-family: var(--font-display); font-size: 64px; color: var(--canopy); opacity: 0.4; }
.founder-name { font-family: var(--font-display); font-size: 26px; margin-bottom: 18px; }
.founder-name span { display: block; font-family: var(--font-body); font-size: 15px; color: var(--text-muted); }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 15px; }

/* Roadmap */
.phases { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.phases::before { content: ""; position: absolute; top: 8px; left: 0; right: 0; height: 1.5px; background: linear-gradient(90deg, var(--dawn), var(--sky)); }
.phase { padding-top: 36px; position: relative; }
.phase::before { content: ""; position: absolute; top: 2px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--dawn); box-shadow: 0 0 0 6px var(--bg-alt); }
.phase-num { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted); }
.phase h3 { margin-top: 10px; }
.phase p { color: var(--text-muted); font-size: 16px; }

/* Partners */
.partner-grid { list-style: none; padding: 0; margin: 48px 0 20px; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.partner-grid li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 32px 20px; min-height: 120px; display: flex; align-items: flex-end; font-family: var(--font-display); font-size: 18px; line-height: 1.25; }

/* CTA + forms */
.section-cta h2 { max-width: 16ch; margin-bottom: 56px; }
.cta-cards { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.form-card { background: var(--lotus); color: var(--ink); border-radius: 6px; padding: clamp(24px, 4vw, 44px); }
.form-card-alt { background: rgba(247, 246, 242, 0.08); color: var(--lotus); border: 1px solid rgba(247, 246, 242, 0.2); }
.form-intro { font-size: 16px; opacity: 0.8; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 500; }
.optional { font-weight: 400; opacity: 0.65; }
.field input, .field select, .field textarea { font: 16px/1.4 var(--font-body); padding: 12px 14px; border-radius: 4px; border: 1px solid rgba(18, 22, 20, 0.25); background: #fff; color: var(--ink); min-height: 48px; width: 100%; }
.form-card-alt .field input { background: rgba(247, 246, 242, 0.95); }
.field [aria-invalid="true"] { border-color: #B3412E; box-shadow: 0 0 0 1px #B3412E; }
.field-check { flex-direction: row; align-items: flex-start; gap: 12px; }
.field-check input { width: 20px; height: 20px; min-height: 0; margin-top: 3px; flex: none; accent-color: var(--canopy); }
.field-check label { font-size: 14px; font-weight: 400; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 14px 0 0; font-size: 15px; min-height: 1.4em; }
.form-status.is-error { color: #B3412E; }
.form-card-alt .form-status.is-error { color: #F4A08F; }
.form-status.is-ok { color: var(--canopy); font-weight: 600; }
.form-card-alt .form-status.is-ok { color: var(--dawn); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(247, 246, 242, 0.8); padding: 72px 0 40px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.brand-footer { color: var(--lotus); }
.footer-tag { font-family: var(--font-display); font-size: 20px; margin-top: 18px; color: var(--lotus); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.disclaimer { font-size: 13px; max-width: 70em; border-top: 1px solid rgba(247, 246, 242, 0.15); padding-top: 24px; opacity: 0.75; }
.copyright { font-size: 13px; opacity: 0.6; margin: 0; }

/* Reveal motion (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1100px) {
  .layers { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  body { font-size: 17px; }
  .stats, .timelines, .phases, .cta-cards, .footer-grid { grid-template-columns: 1fr; }
  .split, .founder { grid-template-columns: 1fr; }
  .split-reverse .split-text { order: 0; }
  .founder-portrait { max-width: 280px; }
  .phases::before { display: none; }
  .phase { padding-top: 28px; border-top: 1.5px solid var(--dawn); }
  .phase::before { display: none; }
  .compare { aspect-ratio: 4 / 3; }
  .hero-shade { background: linear-gradient(0deg, rgba(18, 30, 24, 0.85) 0%, rgba(18, 30, 24, 0.45) 60%, rgba(18, 30, 24, 0.2) 100%); }
  .hero { align-items: flex-end; }
  .hero-pod { transform: translate(860px, 200px) scale(0.6); animation-name: glide-mobile; }
}
@media (max-width: 560px) {
  .layers, .flow { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .partner-grid li { min-height: 96px; padding: 20px 14px; font-size: 16px; }
  .cta-row .btn { width: 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-pod { transform: translate(1155px, 552px); }
  .fungi path { stroke-dashoffset: 0; }
}

/* ---------- Subpages ---------- */
.main-nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.page-hero { position: relative; overflow: hidden; background: var(--canopy); color: var(--lotus); padding: clamp(140px, 18vw, 200px) 0 clamp(90px, 12vw, 140px); }
.page-hero h1 { font-size: clamp(38px, 5.6vw, 76px); max-width: 17ch; }
.page-hero .lead { color: rgba(247, 246, 242, 0.88); }
.page-hero .eyebrow { color: var(--dawn); }
.page-hero-ridge { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 38%; opacity: 0.55; pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero-pod { position: absolute; right: var(--gutter); top: 50%; width: min(34vw, 420px); transform: translateY(-50%); }
@media (max-width: 820px) { .page-hero-pod { display: none; } }

.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: 40px; }
.section-head h2 { margin: 0; }
.section-head p { max-width: 34em; color: var(--text-muted); margin: 0; }
.section-dark .section-head p, .section-soil .section-head p { color: rgba(247, 246, 242, 0.78); }
.prose { max-width: 44em; }
.prose p { color: var(--text-muted); }
.section-dark .prose p, .section-soil .prose p { color: rgba(247, 246, 242, 0.85); }
.more-link { margin-top: 36px; }

.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards > li { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 28px 26px; }
.cards h3 { margin-bottom: 10px; }
.cards p { color: var(--text-muted); font-size: 16px; margin: 0; }
.cards .tag { margin-top: 14px; }
.section-dark .cards > li, .section-soil .cards > li { background: rgba(247, 246, 242, 0.06); border-color: rgba(247, 246, 242, 0.16); }
.section-dark .cards p, .section-soil .cards p { color: rgba(247, 246, 242, 0.8); }
.card-kicker { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dawn); margin-bottom: 14px; }
.section:not(.section-dark):not(.section-soil) .card-kicker { color: #8A5A1A; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--canopy); padding-top: 20px; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.steps h3 { font-size: 21px; }
.steps p { font-size: 16px; color: var(--text-muted); margin: 0; }

.callout { border-left: 2px solid var(--dawn); padding: 6px 0 6px 22px; max-width: 46em; margin-top: 36px; color: var(--text-muted); font-size: 16px; }
.section-dark .callout, .section-soil .callout { color: rgba(247, 246, 242, 0.85); }

.faq { max-width: 52em; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-family: var(--font-display); font-size: 21px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); color: var(--text-muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 14px 0 0; color: var(--text-muted); }

.benefits { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefits li { border-top: 1px solid rgba(247, 246, 242, 0.25); padding-top: 18px; }
.benefits strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 22px; margin-bottom: 6px; }
.benefits span { font-size: 15px; color: rgba(247, 246, 242, 0.8); }

.compare-table td:first-child, .compare-table th:first-child { white-space: normal; }
.cta-band { background: var(--canopy); color: var(--lotus); padding: clamp(64px, 9vw, 110px) 0; }
.cta-band h2 { max-width: 20ch; }
.cta-band .cta-row { margin-top: 28px; }
.mesh-form { max-width: 640px; }

@media (max-width: 1100px) {
  .cards-4, .steps, .benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .cards, .cards-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cards-4, .steps, .benefits { grid-template-columns: 1fr; }
}
.section-dark .steps li, .section-soil .steps li { border-top-color: var(--dawn); }
.section-dark .steps li::before, .section-soil .steps li::before { color: var(--dawn); }
.section-dark .steps p, .section-soil .steps p { color: rgba(247, 246, 242, 0.82); }
