/* AgroPulse early-access page. Warm paper, one green accent, serif headlines. */
:root {
  --paper: #f6f3ec;
  --paper-2: #efeadf;
  --ink: #14211a;
  --muted: #55645a;
  --line: rgba(20, 33, 26, 0.12);
  --brand: #3d8361;      /* the logo green */
  --green: #2f7353;      /* same hue, deep enough for white button text */
  --green-ink: #23573e;
  --sage: #dbe9e0;
  --warn: #a4471f;
  --warn-bg: #f4e3d8;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --radius: 2rem;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --z-nav: 20;
  --z-grain: 30;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --paper: #0f1713; --paper-2: #141e18; --ink: #ece8dd; --muted: #a2afa6; --line: rgba(236, 232, 221, 0.14);
    --brand: #7cc4a1; --green: #7cc4a1; --green-ink: #9ad6b8; --sage: #1a2c23; --warn: #f0a37e; --warn-bg: #33211a;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
/* a fixed, click-through film grain so the paper feels physical */
body::after { content: ''; position: fixed; inset: 0; z-index: var(--z-grain); pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.06; }
h3 { font-size: 1.35rem; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; z-index: 40; transition: top 0.3s var(--ease); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.eyebrow { display: inline-block; font: 500 0.68rem/1 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--green-ink);
  padding: 7px 12px; border-radius: 999px; background: var(--sage); margin-bottom: 22px; }
.tag { font: 500 0.68rem/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 34em; }

/* ---------- nav: a floating pill ---------- */
.nav-wrap { position: fixed; inset: 0 0 auto; z-index: var(--z-nav); padding: 14px 16px; pointer-events: none; }
.nav { pointer-events: auto; width: min(1240px, 100%); margin-inline: auto; display: flex; align-items: center; gap: 28px; padding: 9px 9px 9px 20px; border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 0 0 1px var(--line), 0 12px 30px -18px rgba(20, 33, 26, 0.35);
  transition: background 0.6s var(--ease), box-shadow 0.6s var(--ease), backdrop-filter 0.6s var(--ease); }
/* at the top of the page, over the video: no bar, white text (like the reference) */
.js .nav-wrap.clear:not(.menu-open) .nav { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.js .nav-wrap.clear:not(.menu-open) .brand { color: #fff; }
.js .nav-wrap.clear:not(.menu-open) .nav-links a:not(.pill) { color: rgba(255, 255, 255, 0.86); }
.js .nav-wrap.clear:not(.menu-open) .nav-links a:not(.pill):hover { color: #fff; }
.js .nav-wrap.clear:not(.menu-open) .burger { background: rgba(255, 255, 255, 0.16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.js .nav-wrap.clear:not(.menu-open) .burger span { background: #fff; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 1.08rem/1 var(--serif); color: var(--green-ink); transition: color 0.5s var(--ease); }
.nav-links { flex: 1; display: flex; align-items: center; gap: 30px; font-size: 0.94rem; }
.nav-links a:first-child { margin-left: auto; }
.nav-links a.pill { margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color 0.4s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a.pill { color: var(--paper); }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--sage); position: relative; cursor: pointer; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ink); transition: transform 0.6s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded='true'] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- buttons: pill with a nested arrow ---------- */
.pill { display: inline-flex; align-items: center; gap: 12px; border: 0; cursor: pointer; text-decoration: none; font: 500 0.95rem/1 var(--sans);
  background: var(--green); color: #fff; padding: 8px 8px 8px 22px; border-radius: 999px; transition: transform 0.5s var(--ease), background 0.4s var(--ease); }
:root[data-theme='dark'] .pill, .pill { color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .pill { background: var(--green); color: #0b1510; } }
.pill:hover { background: var(--green-ink); }
.pill:active { transform: scale(0.98); }
.pill[disabled] { opacity: 0.6; cursor: progress; }
.pill .knob { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.18); transition: transform 0.5s var(--ease); }
.pill:hover .knob { transform: translate(3px, -1px) scale(1.06); }
.pill-sm { padding: 12px 18px; font-size: 0.88rem; }
.link { background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 8px; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; min-height: 100dvh; display: grid; align-items: center;
  padding: 130px 0 110px; color: #fff; background: #10201a; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* darken the clip so white text always reads, heaviest where the copy sits and at the bottom edge */
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 60% at 50% 45%, rgba(8, 20, 14, 0.55), rgba(8, 20, 14, 0.2) 70%), linear-gradient(180deg, rgba(8, 20, 14, 0.45) 0%, rgba(8, 20, 14, 0.25) 40%, rgba(8, 20, 14, 0.7) 100%); }
.hero-inner { position: relative; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.02; margin-bottom: 24px; font-variation-settings: 'opsz' 144; color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25); }
.hero h1 em { font-style: italic; color: #b7e4c9; font-weight: 480; }
.hero .lede { color: rgba(255, 255, 255, 0.88); margin-inline: auto; }
.hero .eyebrow { background: rgba(255, 255, 255, 0.14); color: #fff; backdrop-filter: none; }
.hero .join { margin-top: 34px; }
.video-toggle { position: absolute; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, 0.16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); transition: background 0.4s var(--ease); }
.video-toggle:hover { background: rgba(255, 255, 255, 0.28); }
.video-toggle .i-play, .video-toggle[aria-pressed='true'] .i-pause { display: none; }
.video-toggle[aria-pressed='true'] .i-play { display: block; }
.peek-wrap { overflow-x: clip; padding-bottom: clamp(48px, 6vw, 88px); }
.peek { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.peek-copy h2 { margin-bottom: 20px; }
.text-link { display: inline-flex; gap: 8px; margin-top: 26px; font-weight: 500; color: var(--green-ink); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.text-link span { transition: transform 0.5s var(--ease); }
.text-link:hover span { transform: translateY(3px); }
.proof { margin-top: 20px; font-size: 0.88rem; color: var(--muted); }
.proof [data-count]:not(:empty)::after { content: ' · '; }

/* ---------- form ---------- */
.join { margin-top: 32px; }
.form .field { display: flex; gap: 8px; align-items: center; padding: 6px 6px 6px 22px; border-radius: 999px; background: var(--paper-2); box-shadow: 0 0 0 1px var(--line); transition: box-shadow 0.4s var(--ease); max-width: 520px; }
.form .field:focus-within { box-shadow: 0 0 0 2px var(--green); }
.form input[type='email'] { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--ink); padding: 12px 0; outline: none; }
.form input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; max-width: 520px; font-size: 0.86rem; color: var(--muted); cursor: pointer; text-align: left; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--green); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.msg { min-height: 1.4em; margin-top: 10px; font-size: 0.9rem; color: var(--warn); }
.center .form .field, .center .consent { margin-inline: auto; }

/* ---------- survey ---------- */
.survey { max-width: 640px; text-align: left; }
.done { display: flex; align-items: center; gap: 10px; font: 600 1.15rem/1.3 var(--serif); color: var(--green-ink); margin-bottom: 8px; }
.survey-lead { color: var(--muted); margin-bottom: 20px; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
legend { font-weight: 500; margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 16px; border-radius: 999px; font-size: 0.92rem; background: var(--paper-2); box-shadow: 0 0 0 1px var(--line); transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease); }
.chips label:hover span { background: var(--sage); }
.chips input:checked + span { background: var(--green); color: #fff; box-shadow: none; }
.chips input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 3px; }
.stack { display: block; margin-bottom: 16px; }
.stack > span { display: block; font-weight: 500; margin-bottom: 8px; }
.stack input, .stack textarea { width: 100%; font: inherit; color: var(--ink); background: var(--paper-2); border: 0; box-shadow: 0 0 0 1px var(--line); border-radius: 16px; padding: 12px 16px; outline: none; resize: vertical; transition: box-shadow 0.4s var(--ease); }
.stack input:focus, .stack textarea:focus { box-shadow: 0 0 0 2px var(--green); }
.two { max-width: 320px; }
.actions { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.thanks { font: 560 1.3rem/1.3 var(--serif); color: var(--green-ink); }
.thanks small { display: block; margin-top: 6px; font: 400 0.95rem/1.5 var(--sans); color: var(--muted); }
.center .survey { margin-inline: auto; }

/* ---------- double bezel ---------- */
.bezel { padding: 7px; border-radius: var(--radius); background: color-mix(in srgb, var(--ink) 5%, transparent); box-shadow: 0 0 0 1px var(--line); }
.core { border-radius: calc(var(--radius) - 7px); background: color-mix(in srgb, var(--paper) 55%, #fff); padding: clamp(22px, 3vw, 34px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.7), 0 24px 50px -30px rgba(20, 60, 35, 0.35); height: 100%; }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .core { background: var(--paper-2); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06); } }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 11vw, 160px) 0; }
.tint { background: var(--paper-2); }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 7vw, 110px); align-items: start; }
.split-head { position: sticky; top: 110px; }
.head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }

.pains { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.pains li { padding: 26px 0; border-top: 1px solid var(--line); font: 400 clamp(1.25rem, 2.2vw, 1.6rem)/1.35 var(--serif); }
.pains li:last-child { border-bottom: 1px solid var(--line); }
.pains b { font-weight: 600; color: var(--green-ink); }

.status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.45em; width: 14px; height: 8px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg) scale(0.9); }
.ticks.soon li::before { width: 10px; height: 10px; border: 2px solid var(--muted); border-radius: 50%; transform: none; top: 0.4em; opacity: 0.6; }
.note { margin-top: 28px; max-width: 46em; color: var(--muted); }

.faq { display: grid; gap: 0; }
.faq > div { padding: 24px 0; border-top: 1px solid var(--line); }
.faq > div:last-child { border-bottom: 1px solid var(--line); }
.faq h3 { font-size: 1.25rem; margin-bottom: 8px; }
.faq p { color: var(--muted); }
.faq a { color: var(--green-ink); }


.footer { padding: 40px 0 52px; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap; }
.footer .rr { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); padding: 8px; margin-left: -8px; border-radius: 999px; transition: background 0.5s var(--ease); }
.rr:hover { background: var(--paper-2); }
.rr-logo { display: block; height: 33px; width: auto; transition: transform 0.5s var(--ease); }
.rr:hover .rr-logo { transform: translateX(3px); }
.footer a { color: var(--muted); }
.brand img { width: 30px; height: 30px; border-radius: 8px; }


/* ---------- hero phone stage ---------- */
.stage { position: relative; width: 100%; height: clamp(520px, 52vw, 640px); max-width: 760px; margin-inline: auto; }
.phone { max-width: none; }
.glow { position: absolute; inset: 8% 4% 4%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--green) 26%, transparent), transparent); filter: blur(10px); }
.phone { position: absolute; left: 50%; top: 50%; height: auto; filter: drop-shadow(0 30px 40px rgba(20, 50, 30, 0.28)); }
.phone.front { width: clamp(220px, 21vw, 290px); transform: translate(-50%, -50%); z-index: 2; }
.phone.back { width: clamp(180px, 17vw, 236px); opacity: 0.96; }
.phone.left { transform: translate(-106%, -46%) rotate(-7deg); }
.phone.right { transform: translate(6%, -46%) rotate(7deg); }
.chip { position: absolute; z-index: 3; white-space: nowrap; display: inline-flex; gap: 6px; align-items: baseline; padding: 10px 16px; border-radius: 999px; font-size: 0.85rem; color: var(--muted);
  background: color-mix(in srgb, var(--paper) 92%, #fff); box-shadow: 0 0 0 1px var(--line), 0 18px 30px -18px rgba(20, 50, 30, 0.4); animation: float 7s var(--ease) infinite alternate; }
.chip b { font: 500 0.95rem/1 var(--mono); color: var(--green-ink); }
.chip.c1 { left: 0; top: 14%; }
.chip.c2 { right: 0; bottom: 16%; animation-delay: -3s; }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-10px); } }

/* ---------- problem with photo ---------- */
.problem { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 7vw, 100px); align-items: center; }
.problem h2 { margin-bottom: 28px; }
.photo { margin: 0; }
.core.flush { padding: 0; overflow: hidden; }
.core.flush img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo .core { aspect-ratio: 4 / 5; }


/* ---------- card fan ---------- */
.fan-wrap { padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 6vw, 80px); overflow-x: clip; }
.fan { display: flex; justify-content: center; align-items: center; padding: 40px 16px; }
.fcard { flex: none; width: clamp(170px, 17vw, 236px); aspect-ratio: 4 / 5; margin: 0 -8px; border-radius: 26px; overflow: hidden; position: relative;
  box-shadow: 0 0 0 6px var(--paper), 0 30px 50px -28px rgba(20, 50, 30, 0.45);
  transform: translateY(60px) rotate(0deg); opacity: 0; transition: transform 1.1s var(--ease), opacity 0.9s var(--ease); }
.fcard:nth-child(2) { transition-delay: 0.06s; } .fcard:nth-child(3) { transition-delay: 0.12s; z-index: 2; }
.fcard:nth-child(4) { transition-delay: 0.18s; } .fcard:nth-child(5) { transition-delay: 0.24s; }
.fan.in .fcard { transform: translateY(var(--y)) rotate(var(--r)); opacity: 1; }
.fan.in .fcard:hover { transform: translateY(calc(var(--y) - 10px)) rotate(var(--r)) scale(1.03); transition-delay: 0s; z-index: 2; }
.no-js .fcard, html:not(.js) .fcard { transform: translateY(var(--y)) rotate(var(--r)); opacity: 1; }
.fcard img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fcard.note { z-index: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; background: #2f7353; color: #fff; }
.fcard.note.pale { background: #1d3d2e; color: #f2f7f3; padding-left: 38px; }
/* the text cards: a blurred photo behind, a tint over it, the text on top and sharp */
.fcard .note-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: blur(4px) saturate(1.2); transform: scale(1.1); }
.fcard.note::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(31, 95, 65, 0.28) 0%, rgba(24, 80, 54, 0.5) 45%, rgba(18, 62, 41, 0.88) 100%); }
.fcard.note.pale::after { background: linear-gradient(180deg, rgba(14, 38, 27, 0.3) 0%, rgba(14, 38, 27, 0.5) 45%, rgba(10, 28, 20, 0.9) 100%); }
.fcard.note > :not(.note-bg) { position: relative; z-index: 1; }
.fcard.note .note-big { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25); }
.note-big { font: 560 clamp(1.35rem, 1.9vw, 1.7rem)/1.12 var(--serif); letter-spacing: -0.01em; }
.note-big.mono { font: 500 clamp(1.05rem, 1.5vw, 1.3rem)/1.35 var(--mono); color: #c3ecd3; letter-spacing: 0; }

/* ---------- pinned feature panels: each one slides up over the last ---------- */
.panels { position: relative; }
.panel { --tint: color-mix(in srgb, var(--accent) 11%, var(--paper)); --ink-accent: var(--accent);
  position: sticky; top: 0; min-height: 100vh; min-height: 100dvh; display: grid; align-items: center; padding: 104px 0 40px;
  background: var(--tint); border-radius: 2.5rem 2.5rem 0 0; box-shadow: 0 -24px 50px -34px rgba(20, 40, 30, 0.5); }
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .panel { --tint: color-mix(in srgb, var(--accent) 22%, var(--paper)); --ink-accent: color-mix(in srgb, var(--accent) 45%, #fff); } }
.panel:last-child { border-radius: 2.5rem; }
.panel-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto 64px; gap: clamp(28px, 5vw, 80px); align-items: center; }
.panel-label { font: 500 0.78rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.panel h3 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.03em; color: var(--ink-accent); margin-bottom: 22px; }
.panel-copy > p:not(.panel-label) { color: var(--muted); font-size: 1.1rem; max-width: 27em; }
.facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { font: 500 0.82rem/1 var(--mono); padding: 10px 14px; border-radius: 999px; }
.panel .facts li { background: color-mix(in srgb, var(--accent) 12%, var(--paper)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent); color: var(--ink); }
.panel-phone { position: relative; display: grid; place-items: center; }
.panel-phone img { position: relative; height: min(66vh, 600px); width: auto; filter: drop-shadow(0 34px 44px rgba(20, 40, 30, 0.32)); }
.disc { position: absolute; width: 118%; aspect-ratio: 1; border-radius: 50%; background: color-mix(in srgb, var(--accent) 20%, transparent); left: 50%; top: 50%; transform: translate(-30%, -50%); }
.phone-tag { position: absolute; left: -18%; bottom: 14%; display: grid; gap: 2px; padding: 12px 18px; border-radius: 16px; background: var(--accent); color: #fff; font: 560 1.05rem/1.2 var(--serif);
  box-shadow: 0 18px 30px -16px rgba(20, 40, 30, 0.5); }
.phone-tag small { font: 500 0.72rem/1 var(--mono); opacity: 0.75; }
.rail { display: flex; flex-direction: column; align-items: center; gap: 14px; position: relative; }
.rail::before { content: ''; position: absolute; top: 6px; bottom: 6px; width: 1px; background: color-mix(in srgb, var(--accent) 35%, transparent); }
.rail a { position: relative; width: 9px; height: 9px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 35%, var(--paper)); font-size: 0; text-decoration: none; }
.rail a.on { width: 14px; height: 14px; background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 18%, transparent); }
.caption.center { text-align: center; margin: 20px auto 0; }

.panel-dots { display: none; justify-content: center; gap: 8px; margin-top: 16px; }
.panel-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--line); cursor: pointer; transition: width 0.5s var(--ease), background 0.5s var(--ease); }
.panel-dots button.on { width: 22px; background: var(--brand); }

/* ---------- status with photo card ---------- */
.photo-card { position: relative; min-height: 360px; display: flex; }
.photo-card img { position: absolute; inset: 0; }
.photo-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 20, 14, 0) 20%, rgba(10, 20, 14, 0.9)); }
.photo-text { position: relative; z-index: 1; margin-top: auto; padding: clamp(22px, 3vw, 34px); color: #f6f3ec; font-size: 1.15rem; line-height: 1.45; }
.tag.light { color: rgba(246, 243, 236, 0.75); }
.photo-text .small { margin-top: 8px; font-size: 0.88rem; color: rgba(246, 243, 236, 0.75); }
.status-grid .note { margin-top: 24px; font-size: 0.92rem; }

/* ---------- final call, over a photo ---------- */
.final-wrap { padding: 0 16px clamp(48px, 6vw, 80px); }
.final { position: relative; overflow: hidden; border-radius: 2.5rem; max-width: 1240px; margin-inline: auto; padding: clamp(80px, 12vw, 150px) 0; color: #f6f3ec; isolation: isolate; }
.final-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.final::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 55% at 50% 50%, rgba(10, 24, 15, 0.55), transparent), linear-gradient(180deg, rgba(10, 24, 15, 0.45), rgba(10, 24, 15, 0.82)); }
.final h2 { font-size: clamp(2.2rem, 5.4vw, 4rem); color: #fff; }
.final .join { margin-top: 36px; }
.on-dark .field { background: rgba(246, 243, 236, 0.96); box-shadow: none; }
.on-dark .form input[type='email'] { color: #14211a; }
.on-dark .consent, .on-dark .proof { color: rgba(246, 243, 236, 0.85); }
.on-dark .proof a, .on-dark .consent a { color: #fff; }
.on-dark .consent a, .on-dark .thanks small, .on-dark .survey-lead { color: rgba(246, 243, 236, 0.85); }
.on-dark .thanks, .on-dark .done { color: #fff; }
.on-dark .msg { color: #ffc7a8; }
.on-dark legend, .on-dark .stack > span { color: #fff; }
.on-dark .chips span { background: rgba(246, 243, 236, 0.12); color: #fff; box-shadow: 0 0 0 1px rgba(246, 243, 236, 0.25); }
.on-dark .stack input, .on-dark .stack textarea { background: rgba(246, 243, 236, 0.96); color: #14211a; }


/* ---------- the whole app: feature tabs + phone ---------- */
.head .lede { margin-top: 18px; }
.proof a { color: var(--green-ink); }
.also { list-style: none; padding: 0; margin: clamp(56px, 8vw, 96px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 28px; }
.also li { display: grid; gap: 12px; align-content: start; padding-top: 20px; border-top: 1px solid var(--line); }
.also svg { color: var(--green); }
.also h3 { font-size: 1.12rem; margin-bottom: 4px; }
.also p { color: var(--muted); font-size: 0.94rem; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); filter: blur(8px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; } .reveal.d3 { transition-delay: 0.24s; } .reveal.d4 { transition-delay: 0.32s; }

/* ---------- phones ---------- */
@media (max-width: 860px) {
  .hero-grid, .split, .status-grid { grid-template-columns: 1fr; }
  .also { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .fan { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 20px 16px 28px; scrollbar-width: none; }
  .fan::-webkit-scrollbar { display: none; }
  .fcard { width: 64vw; max-width: 260px; margin: 0; scroll-snap-align: center; }
  .fan.in .fcard, .fan.in .fcard:hover { transform: none; }
  /* phones: the pinned stack becomes a row of cards you swipe through */
  .panels { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px; padding: 4px 16px 8px; scrollbar-width: none; }
  .panels::-webkit-scrollbar { display: none; }
  .panel, .panel:last-child { position: relative; flex: 0 0 86%; min-height: 0; padding: 26px 0 28px; border-radius: 1.75rem;
    scroll-snap-align: center; scroll-snap-stop: always; scroll-margin-top: 88px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 18%, transparent); }
  .panel .panel-grid { width: auto; margin-inline: 22px; grid-template-columns: 1fr; gap: 22px; align-content: start; }
  .panel-label { margin-bottom: 14px; font-size: 0.7rem; }
  .panel h3 { font-size: 2.05rem; margin-bottom: 12px; }
  .panel-copy > p:not(.panel-label) { font-size: 0.98rem; }
  .panel .facts { margin-top: 16px; gap: 6px; }
  .panel .facts li { font-size: 0.74rem; padding: 8px 11px; }
  .panel-phone img { height: auto; width: min(190px, 50vw); }
  .disc { width: 88%; transform: translate(-50%, -50%); }
  .phone-tag { left: 0; bottom: 8%; padding: 8px 12px; font-size: 0.9rem; }
  .rail { display: none; }
  .panel-dots { display: flex; }
  .problem { grid-template-columns: 1fr; }
  .photo .core { aspect-ratio: 4 / 3; }
  .stage { height: 470px; margin-top: 8px; }
  .hero { min-height: 92svh; padding: 120px 0 80px; }
  .peek { grid-template-columns: 1fr; }
  .phone.front { width: 210px; }
  .phone.back { width: 168px; }
  .phone.left { transform: translate(-112%, -45%) rotate(-6deg); }
  .phone.right { transform: translate(12%, -45%) rotate(6deg); }
  .chip.c1 { left: 0; top: 6%; } .chip.c2 { right: 0; bottom: 4%; }
  .final { border-radius: 2rem; padding-inline: 0; }

  .split-head { position: static; }
  .burger { display: block; }
  /* backdrop-filter on .nav would trap the fixed menu overlay inside the pill, so phones use a solid pill */
  .nav { gap: 12px; padding-left: 18px; background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-links { position: fixed; inset: 0; z-index: var(--z-nav); flex-direction: column; justify-content: center; gap: 8px; font-size: 1.7rem; font-family: var(--serif);
    background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    opacity: 0; visibility: hidden; transition: opacity 0.6s var(--ease), visibility 0.6s; }
  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-links a { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), color 0.4s; }
  .nav-links.open a { opacity: 1; transform: none; }
  .nav-links.open a:nth-child(2) { transition-delay: 0.06s; } .nav-links.open a:nth-child(3) { transition-delay: 0.12s; }
  .nav-links.open a:nth-child(4) { transition-delay: 0.18s; } .nav-links.open a:nth-child(5) { transition-delay: 0.24s; }
  .nav-links a:first-child, .nav-links a.pill { margin-left: 0; } /* desktop centring margins push items sideways in the column */
  .nav-links a.pill-sm { font: 500 1rem/1 var(--sans); margin-top: 16px; }
  .burger { position: relative; z-index: calc(var(--z-nav) + 1); }
  .form .field { flex-direction: column; align-items: stretch; border-radius: 28px; padding: 14px 14px 8px; }
  .form .field .pill { justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  .fcard { transition: none; }
  .chip { animation: none; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}
