/* ──────────────────────────────────────────────────────────────
   Viabean landing — styles
   Palette and type from FEATURE_SPECS.md §1 and PRICING_AND_GTM.md §10
   ────────────────────────────────────────────────────────────── */

:root {
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --ink: #1A1F1B;
  --ink-2: #5A6258;
  --ink-3: #8A9089;
  --line: #E6E4DC;
  --line-2: #C8C5B8;
  --green: #3D7B5C;
  --green-2: #2E6048;
  --green-soft: #E7F1EB;
  --green-bright: #5BAE82;
  --cocoa: #B8703A;
  --cocoa-soft: #F6ECE2;
  --danger: #B83A3A;
  --dark: #0F1311;
  --dark-2: #161A18;
  --dark-line: #2A2F2C;
  --cream: #F1EFE7;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 48px);
  --r: 10px;
  --r-lg: 18px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; line-height: 1.08; }
h2 { font-size: clamp(30px, 4.2vw, 50px); max-width: 18ch; }
h3 { font-size: clamp(21px, 2.2vw, 26px); }
em { font-style: italic; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.02em; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: var(--cream); padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { top: 8px; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* paper grain */
.grain {
  position: fixed; inset: -50%; width: 200%; height: 200%;
  pointer-events: none; z-index: 50; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ── eyebrow & section heads ─────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-2); margin-bottom: 20px;
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.eyebrow--light { color: var(--green-bright); }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head__sub { margin-top: 18px; color: var(--ink-2); max-width: 54ch; font-size: 18px; }

/* ── buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 500; font-size: 16px; line-height: 1;
  padding: 16px 24px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .25s var(--ease-out), background-color .2s, color .2s, border-color .2s, box-shadow .25s;
  cursor: pointer; font-family: inherit; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 8px 24px -12px rgba(61,123,92,.6); }
.btn--primary:hover { background: var(--green-2); transform: translateY(-1px); }
.btn--ghost { color: var(--ink); padding-inline: 8px; }
.btn--ghost:hover { color: var(--green-2); }
.btn--ghost span { transition: transform .3s var(--ease-out); display: inline-block; }
.btn--ghost:hover span { transform: translateY(3px); }
.btn--outline { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--ink); }
.btn--sm { padding: 11px 18px; font-size: 14px; }

/* ── nav ─────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 28px; height: 28px; border-radius: 7px; }
.brand__name { font-family: var(--serif); font-size: 21px; font-weight: 500; letter-spacing: -0.01em; }
.nav__links { display: flex; gap: 28px; font-size: 15px; color: var(--ink-2); }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: var(--ink); transition: right .3s var(--ease-out); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { right: 0; }
@media (max-width: 760px) { .nav__links { display: none; } }

/* ── hero ────────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 120px); overflow: hidden; }
.contours {
  position: absolute; inset: 0; width: 100%; height: 100%; color: var(--green);
  opacity: .14; pointer-events: none;
  animation: drift 90s linear infinite alternate;
}
@keyframes drift { from { transform: translate3d(-2%, 0, 0) } to { transform: translate3d(2%, -1.5%, 0) } }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero__title { font-size: clamp(44px, 6.6vw, 86px); line-height: 1; letter-spacing: -0.025em; max-width: 12ch; }
.hero__title em { color: var(--green); }
.hero__lede { margin-top: 28px; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 52ch; }
.hero__lede strong { color: var(--ink); font-weight: 500; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 36px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 44px; color: var(--ink-3); }
.hero__facts li::before { content: "◇ "; color: var(--green); }

/* hero load-in: words rise once */
.hero__copy > * { opacity: 0; transform: translateY(14px); animation: rise .9s var(--ease-out) forwards; }
.hero__copy > :nth-child(1) { animation-delay: .05s }
.hero__copy > :nth-child(2) { animation-delay: .15s }
.hero__copy > :nth-child(3) { animation-delay: .28s }
.hero__copy > :nth-child(4) { animation-delay: .4s }
.hero__copy > :nth-child(5) { animation-delay: .5s }
@keyframes rise { to { opacity: 1; transform: none } }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__title { max-width: none; }
}
@media (max-width: 520px) {
  .plot__step { padding: 10px 8px; font-size: 11px; gap: 6px; }
  .plot__num { min-width: 14px; }
  .plot__step.is-done .plot__num::before { font-size: 11px; }
}

/* ── the plot (hero figure) ──────────────────────────────── */
.plot { margin: 0; position: relative; opacity: 0; animation: rise 1s .35s var(--ease-out) forwards; }
.plot__frame {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 1px 2px rgba(26,31,27,.04), 0 30px 60px -30px rgba(26,31,27,.25);
  overflow: hidden;
}
.plot__bar { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.plot__bar-title { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plot__coord { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.plot__map { width: 100%; height: auto; }
.plot__fill { opacity: 0; transition: opacity .6s var(--ease-out); }
.plot.s-filled .plot__fill { opacity: 1; }
.plot__verts circle { fill: var(--bg); stroke: var(--green); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pop .45s var(--ease-out) both; }
.plot__verts circle.is-pin { animation: pop .45s var(--ease-out) both, pulse 1.2s .2s ease-out 1; }
@keyframes pop { from { transform: scale(0); opacity: 0 } to { transform: scale(1); opacity: 1 } }
@keyframes pulse { 0% { stroke-width: 2 } 40% { stroke-width: 10; stroke-opacity: .25 } 100% { stroke-width: 2; stroke-opacity: 1 } }
.plot__loss { opacity: 0; transition: opacity .5s; }
.plot.s-scanned .plot__loss { opacity: 1; }
.plot__scan { opacity: 0; transform: translateY(0); }
.plot.s-scanning .plot__scan { opacity: 1; animation: scan 1.6s var(--ease-io) forwards; }
@keyframes scan { from { transform: translateY(0) } to { transform: translateY(380px) } }
.plot__area { opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease-out); }
.plot.s-filled .plot__area { opacity: 1; transform: none; }

.plot__status { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.plot__step { padding: 12px 14px; color: var(--ink-3); border-right: 1px solid var(--line); display: flex; gap: 8px; align-items: center; transition: color .3s, background-color .3s; }
.plot__step:last-child { border-right: 0; }
.plot__num { display: inline-block; min-width: 18px; color: var(--line-2); transition: color .3s; }
.plot__step.is-active { color: var(--ink); background: var(--green-soft); }
.plot__step.is-active .plot__num { color: var(--green); }
.plot__step.is-done { color: var(--ink-2); }
.plot__step.is-done .plot__num { color: var(--green); }
.plot__step.is-done .plot__num::before { content: "✓"; }
.plot__step.is-done .plot__num { font-size: 0; }
.plot__step.is-done .plot__num::before { font-size: 12.5px; }

.plot__result { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; padding: 12px 16px; border-top: 1px solid var(--line); min-height: 56px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 8px; border-radius: 999px; font-family: var(--mono); font-size: 12px; border: 1px solid var(--line); background: var(--bg); }
.chip__swatch { width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.chip--risk { opacity: 0; transform: translateY(4px); transition: opacity .4s, transform .4s var(--ease-out); }
.plot.s-scanned .chip--risk { opacity: 1; transform: none; }
.chip--ok { background: var(--green-soft); border-color: transparent; color: var(--green-2); }
.plot__dds { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); opacity: 0; transition: opacity .3s; }
.plot.s-dds .plot__dds { opacity: 1; }
.plot__dds-label { color: var(--ink-3); }
.plot__dds-ref { color: var(--ink); font-weight: 500; min-width: 1ch; }
.caret { width: 1px; height: 14px; background: var(--green); animation: blink 1s steps(2) infinite; }
.plot.s-done .caret { display: none; }
@keyframes blink { to { opacity: 0 } }
.plot__caption { margin-top: 10px; text-align: right; color: var(--ink-3); font-size: 11.5px; }

/* ── deadlines strip ─────────────────────────────────────── */
.deadlines { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.deadlines__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.deadline { padding: 36px 28px 36px 0; border-right: 1px solid var(--line); }
.deadline + .deadline { padding-left: 28px; }
.deadline:nth-child(3) { border-right: 0; }
.deadline__label { color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; font-size: 11.5px; }
.deadline__date { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); margin-top: 10px; }
.deadline__count { margin-top: 6px; font-family: var(--mono); color: var(--green-2); font-variant-numeric: tabular-nums; font-size: 14px; }
.deadline__count .count { font-size: 20px; font-weight: 500; }
.deadline__unit { color: var(--ink-3); }
.deadlines__note { grid-column: 1 / -1; padding: 20px 0 28px; border-top: 1px solid var(--line); color: var(--ink-2); max-width: 70ch; }
@media (max-width: 760px) {
  .deadlines__grid { grid-template-columns: 1fr; }
  .deadline { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 0; }
  .deadline + .deadline { padding-left: 0; }
  .deadlines__note { border-top: 0; padding-top: 8px; }
}

/* ── obligations ─────────────────────────────────────────── */
.obligations { padding: clamp(72px, 10vw, 140px) 0; }
.obl { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.obl__item { position: relative; padding-top: 24px; border-top: 1px solid var(--line-2); }
.obl__item::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--green); transition: width 1.2s var(--ease-out) .2s; }
.obl__item.is-in::before { width: 100%; }
.obl__num { display: block; color: var(--cocoa); margin-bottom: 18px; }
.obl__item h3 { margin-bottom: 12px; }
.obl__item p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) { .obl { grid-template-columns: 1fr; } }

/* ── how it works: the trace ─────────────────────────────── */
.how { padding: clamp(72px, 10vw, 140px) 0; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trace { position: relative; --node: 44px; --rail: 22px; }
.trace__svg { position: absolute; left: 0; top: 0; width: var(--node); height: 100%; overflow: visible; pointer-events: none; }
.trace__track { fill: none; stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 3 5; }
.trace__ink { fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linecap: round; }
.station {
  display: grid; grid-template-columns: var(--node) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 0 clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(28px, 4vw, 48px) 0;
}
.station__node {
  width: var(--node); height: var(--node); border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1.5px solid var(--line-2); color: var(--ink-3);
  transition: border-color .4s, color .4s, background-color .4s, box-shadow .5s var(--ease-out);
  align-self: center;
}
.station.is-lit .station__node { border-color: var(--green); color: #fff; background: var(--green); box-shadow: 0 0 0 6px var(--green-soft); }
.station__text h3 { margin-bottom: 10px; }
.station__text p { color: var(--ink-2); font-size: 16px; max-width: 46ch; }
.station__ui { transition: transform .9s var(--ease-out), opacity .9s; transform: translateX(16px); opacity: .55; }
.station.is-lit .station__ui { transform: none; opacity: 1; }

/* mini UI vignettes */
.ui { font-size: 14px; }
.ui__card, .ui__doc, .ui__map { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.ui__row { display: grid; grid-template-columns: 1fr 48px 44px; gap: 12px; padding: 11px 14px; border-top: 1px solid var(--line); }
.ui__row--head { border-top: 0; color: var(--ink-3); background: var(--surface); }
.ui__row span:nth-child(n+2) { text-align: right; }
.ui__row--new { display: flex; gap: 10px; color: var(--green-2); background: var(--green-soft); }
.ui__plus { font-weight: 600; }
.ui__kv { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-top: 1px solid var(--line); }
.ui__kv:first-child { border-top: 0; }
.ui__kv span { color: var(--ink-3); }
.ui__kv strong { font-weight: 500; }
.ui__ok, .ok { color: var(--green-2); }
.ui__map { position: relative; }
.ui__map svg { width: 100%; height: auto; }
.ui__badge { position: absolute; left: 12px; bottom: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; }
.ui__doc { padding: 14px; }
.ui__doc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.ui__bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-bottom: 14px; }
.ui__bar i { display: block; height: 4px; border-radius: 2px; background: var(--line); position: relative; overflow: hidden; }
.ui__bar i::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--green); transition: width .6s var(--ease-out); }
.station.is-lit .ui__bar i::after { width: var(--w); }
.station.is-lit .ui__bar i:nth-child(2)::after { transition-delay: .15s } .station.is-lit .ui__bar i:nth-child(3)::after { transition-delay: .3s } .station.is-lit .ui__bar i:nth-child(4)::after { transition-delay: .45s }
.ui__checks li { padding: 6px 0; border-top: 1px solid var(--line); color: var(--ink-2); display: flex; gap: 8px; }

@media (max-width: 860px) {
  .station { grid-template-columns: var(--node) minmax(0, 1fr); }
  .station__ui { grid-column: 2; margin-top: 20px; transform: translateY(10px); }
}

/* ── field-first ─────────────────────────────────────────── */
.field { padding: clamp(72px, 10vw, 140px) 0; }
.field__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.field__copy > p { margin-top: 20px; color: var(--ink-2); max-width: 52ch; }
.ticks { margin-top: 28px; display: grid; gap: 10px; }
.ticks li { padding-left: 26px; position: relative; color: var(--ink); }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-family: var(--mono); }

.phone-wrap { display: grid; place-items: center; }
.phone {
  width: min(300px, 100%); aspect-ratio: 9 / 18.5; border-radius: 40px; padding: 10px;
  background: var(--ink); box-shadow: 0 40px 80px -40px rgba(26,31,27,.55), inset 0 0 0 2px #2A2F2C;
}
.phone__screen { background: var(--bg); border-radius: 31px; height: 100%; overflow: hidden; display: flex; flex-direction: column; }
.phone__top { display: flex; justify-content: space-between; padding: 22px 16px 10px; color: var(--ink-2); }
#phone-status { color: var(--danger); }
.phone__net { padding: 2px 8px; border-radius: 999px; background: var(--cocoa-soft); color: var(--cocoa); transition: background-color .3s, color .3s; }
.phone__net.is-online { background: var(--green-soft); color: var(--green-2); }
.phone__map { width: 100%; flex: 1; height: auto; }
.phone__trail { stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); }
.phone__fill { transition: fill-opacity .5s; }
.phone.s-closed .phone__fill { fill-opacity: .22; }
.phone__walker { transform: translate(70px, 70px); }
.phone__foot { padding: 12px 16px 20px; border-top: 1px solid var(--line); background: var(--surface); }
.phone__meta { display: flex; justify-content: space-between; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.phone__queue { margin-top: 10px; padding: 8px 10px; border-radius: 8px; background: var(--cocoa-soft); color: var(--cocoa); transition: background-color .3s, color .3s; }
.phone__queue.is-synced { background: var(--green-soft); color: var(--green-2); }
@media (max-width: 860px) { .field__grid { grid-template-columns: 1fr; } }

/* ── pricing ─────────────────────────────────────────────── */
.pricing { padding-bottom: clamp(72px, 10vw, 140px); }
.compare { background: var(--dark); color: var(--cream); padding: clamp(64px, 8vw, 110px) 0; margin-bottom: clamp(72px, 10vw, 140px); position: relative; overflow: hidden; }
.compare::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 75% 50%, rgba(61,123,92,.28), transparent 70%); }
.compare__grid { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: clamp(20px, 4vw, 64px); }
.compare__label { color: #A8AFA6; text-transform: uppercase; letter-spacing: .08em; font-size: 11.5px; }
.compare__num { font-family: var(--serif); font-size: clamp(56px, 9vw, 128px); line-height: 1; letter-spacing: -0.03em; margin-top: 14px; font-variant-numeric: tabular-nums; }
.compare__side--us .compare__num { color: var(--green-bright); }
.compare__side:not(.compare__side--us) .compare__num { color: #6E7670; }
.compare__unit { color: #A8AFA6; margin-top: 10px; }
.compare__list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; max-width: 42ch; text-wrap: pretty; color: #C9CEC7; font-size: 16px; }
.compare__list li { position: relative; padding-left: 24px; }
.compare__list li::before { content: "–"; content: "–" / ""; position: absolute; left: 0; color: #6E7670; }
.compare__side--us .compare__list li::before { content: "✓"; content: "✓" / ""; color: var(--green-bright); }
.compare__vs { color: #6E7670; font-size: 14px; align-self: center; }
.compare__foot { position: relative; margin-top: clamp(36px, 5vw, 64px); color: #A8AFA6; max-width: 62ch; font-size: 17px; }
@media (max-width: 760px) {
  .compare__grid { grid-template-columns: 1fr; row-gap: 48px; }
  .compare__vs { display: none; }
}

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px 28px; display: flex; flex-direction: column; transition: transform .4s var(--ease-out), box-shadow .4s; }
.tier:hover { transform: translateY(-3px); box-shadow: 0 30px 50px -32px rgba(26,31,27,.3); }
.tier--featured { border-color: var(--green); box-shadow: 0 0 0 1px var(--green), 0 30px 60px -30px rgba(61,123,92,.45); }
.tier__flag { position: absolute; top: -12px; left: 28px; background: var(--green); color: #fff; padding: 4px 10px; border-radius: 999px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.tier__name { font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--ink-2); }
.tier__price { font-family: var(--serif); font-size: 54px; line-height: 1; margin-top: 14px; letter-spacing: -0.02em; }
.tier__cur { font-size: .5em; vertical-align: top; position: relative; top: .3em; margin-right: .08em; color: var(--ink-3); }
.tier__per { font-size: 16px; color: var(--ink-3); font-family: var(--sans); margin-left: 4px; }
.tier__for { margin-top: 12px; color: var(--ink-2); font-size: 15px; min-height: 3em; }
.tier__list { margin: 22px 0 28px; display: grid; gap: 9px; font-size: 15px; flex: 1; }
.tier__list li { padding-left: 22px; position: relative; }
.tier__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 1px; background: var(--green); }
.tier .btn { width: 100%; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

/* ── trust ───────────────────────────────────────────────── */
.trust { padding: 0 0 clamp(72px, 10vw, 140px); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.trust__grid li { padding: 26px 24px; display: grid; gap: 8px; border-right: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.trust__grid li:last-child { border-right: 0; }
.trust__grid strong { color: var(--ink); font-weight: 500; font-size: 16px; }
.trust__k { color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
@media (max-width: 900px) {
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__grid li:nth-child(2) { border-right: 0; }
  .trust__grid li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .trust__grid { grid-template-columns: 1fr; }
  .trust__grid li { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .trust__grid li:last-child { border-bottom: 0; }
}

/* ── faq ─────────────────────────────────────────────────── */
.faq { padding: 0 0 clamp(72px, 10vw, 140px); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(24px, 5vw, 80px); }
.faq__list details { border-top: 1px solid var(--line-2); }
.faq__list details:last-child { border-bottom: 1px solid var(--line-2); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--serif); font-size: clamp(19px, 1.7vw, 22px); font-weight: 500; line-height: 1.3;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px;
  border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  transform: translateY(-70%) rotate(45deg); transition: transform .35s var(--ease-out);
}
.faq__list details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq__list details p { padding: 0 44px 24px 0; color: var(--ink-2); max-width: 64ch; animation: rise .5s var(--ease-out); }
@media (max-width: 760px) { .faq__grid { grid-template-columns: 1fr; } }

/* ── access CTA ──────────────────────────────────────────── */
.access { background: var(--dark); color: var(--cream); padding: clamp(80px, 10vw, 150px) 0; position: relative; overflow: hidden; }
.access::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 100%, rgba(61,123,92,.35), transparent 70%); }
.access__inner { position: relative; text-align: center; display: grid; justify-items: center; }
.access h2 { max-width: 16ch; }
.access__sub { margin-top: 20px; color: #A8AFA6; max-width: 48ch; font-size: 18px; }
.access__form { margin-top: 36px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; width: min(520px, 100%); }
.access__form input[type="email"] {
  font: inherit; font-size: 16px; padding: 15px 18px; border-radius: 999px; border: 1px solid var(--dark-line);
  background: var(--dark-2); color: var(--cream); min-width: 0;
}
.access__form input[type="email"]::placeholder { color: var(--ink-3); }
.access__form input[type="email"]:focus { outline: 2px solid var(--green-bright); outline-offset: 2px; border-color: var(--green-bright); }
.access__msg { grid-column: 1 / -1; color: var(--green-bright); min-height: 1.4em; text-align: left; }
.access__msg.is-error { color: #D86464; }
.access__fine { margin-top: 10px; color: var(--ink-3); }
.access__form button { grid-column: 2; grid-row: 1; }
@media (max-width: 520px) {
  .access__form { grid-template-columns: 1fr; }
  .access__form button { grid-column: auto; grid-row: auto; }
}

/* ── footer ──────────────────────────────────────────────── */
.footer { background: var(--dark); color: #A8AFA6; border-top: 1px solid var(--dark-line); padding: 28px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer .brand__name { color: var(--cream); font-size: 18px; }
.footer .brand__mark { width: 22px; height: 22px; border-radius: 6px; }
.footer__links { display: flex; gap: 20px; }
.footer__links a:hover { color: var(--cream); }

/* ── scroll reveals ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* ── reduced motion: everything resolves to its final state ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .contours { animation: none; }
  .reveal, .hero__copy > *, .plot { opacity: 1; transform: none; }
  .station__ui { opacity: 1; transform: none; }
  .obl__item::before { width: 100%; }
  .station .station__node { border-color: var(--green); color: #fff; background: var(--green); }
  .trace__ink { stroke-dashoffset: 0 !important; }
  .ui__bar i::after { width: var(--w); }
  .caret { display: none; }
}

/* ── legal pages (privacy, terms) ────────────────────────── */
.legal { padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 10vw, 140px); }
.legal__head { max-width: 62ch; margin-bottom: clamp(36px, 5vw, 64px); }
.legal__head h1 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -0.02em; }
.legal__meta { margin-top: 18px; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 8px 22px; }
.legal__intro { margin-top: 20px; color: var(--ink-2); font-size: 18px; }
.legal__grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.legal__toc { position: sticky; top: 92px; }
.legal__toc p { color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; margin-bottom: 12px; }
.legal__toc ol { display: grid; gap: 6px; counter-reset: toc; }
.legal__toc a { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); padding: 3px 0; counter-increment: toc; }
.legal__toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: 11.5px; color: var(--line-2); padding-top: 2px; }
.legal__toc a:hover, .legal__toc a.is-current { color: var(--ink); }
.legal__toc a.is-current::before { color: var(--green); }
.prose { max-width: 68ch; }
.prose section { padding: 28px 0 32px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.prose section:first-child { border-top: 0; padding-top: 0; }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); max-width: none; margin-bottom: 14px; display: flex; gap: 14px; align-items: baseline; }
.prose h2 .mono { color: var(--cocoa); font-size: 12.5px; }
.prose h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; margin: 20px 0 8px; }
.prose p, .prose li { color: var(--ink-2); font-size: 16px; }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 12px 0; padding-left: 0; display: grid; gap: 8px; }
.prose ul li { padding-left: 22px; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 1px; background: var(--green); }
.prose strong { color: var(--ink); font-weight: 500; }
.prose a { color: var(--green-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.prose a:hover { text-decoration-color: currentColor; }
.prose table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14.5px; }
.prose th, .prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.prose th { color: var(--ink-3); font-family: var(--mono); font-size: 11.5px; font-weight: 400; text-transform: uppercase; letter-spacing: .06em; }
.prose td:first-child { color: var(--ink); }
.fill { color: var(--cocoa); border-bottom: 1px dashed var(--cocoa); }
.callout { background: var(--green-soft); border-radius: var(--r); padding: 16px 18px; margin: 16px 0; color: var(--green-2); font-size: 15px; }
.callout strong { color: inherit; }
@media (max-width: 860px) {
  .legal__grid { grid-template-columns: 1fr; }
  .legal__toc { position: static; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; background: var(--surface); }
}

/* ── launch switch (config.js) ───────────────────────────────── */
html.is-launched [data-prelaunch] { display: none !important; }
html:not(.is-launched) [data-postlaunch] { display: none !important; }

/* ── nav actions ─────────────────────────────────────────────── */
.nav__actions { display: flex; align-items: center; gap: 20px; }
.nav__login { font-size: 15px; color: var(--ink-2); }
.nav__login:hover { color: var(--ink); }
@media (max-width: 520px) { .nav__login { font-size: 14px; white-space: nowrap; } .nav__actions { gap: 12px; } }

/* ── launch strip ────────────────────────────────────────────── */
.launch { background: var(--green-soft); border-top: 1px solid var(--line); }
.launch__inner { padding: 12px 0; color: var(--green-2); }
.launch__inner p { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.launch a { color: var(--green-2); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* ── waitlist form ───────────────────────────────────────────── */
.access__state { display: grid; justify-items: center; }
.access__consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; text-align: left;
  color: #A8AFA6; font-size: 14px; line-height: 1.45; cursor: pointer; margin-top: 4px; }
.access__consent input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--green-bright); flex-shrink: 0; }
.access__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.access__fine { max-width: 62ch; }
.access__fine a { color: inherit; text-decoration: underline; }
.access__cta { margin-top: 36px; }

/* ── confirm / unsubscribe / 404 ─────────────────────────────── */
.result { min-height: 46vh; }
.result__cta { margin-top: 28px; }

/* ── cookie consent ──────────────────────────────────────────── */
.consent { position: fixed; z-index: 60; left: 50%; bottom: 16px; transform: translateX(-50%);
  width: min(640px, calc(100% - 32px)); background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: 0 12px 40px -12px rgba(15,19,17,.25);
  padding: 16px 18px; display: flex; align-items: center; gap: 16px; }
.consent__text { font-size: 14.5px; color: var(--ink-2); line-height: 1.45; flex: 1; }
.consent__text a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.consent__actions { display: flex; gap: 8px; flex-shrink: 0; }
@media (max-width: 520px) {
  .consent { flex-direction: column; align-items: stretch; }
  .consent__actions > * { flex: 1; }
}
.footer__links button, .prose button.link { font: inherit; color: inherit; background: none; border: 0; padding: 0;
  cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.footer__links button { text-decoration: none; }
.footer__links button:hover { color: var(--cream); }

/* ───────────── Free file check ───────────── */
.check { padding: clamp(72px, 10vw, 140px) 0 0; }
.check__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.check__points { display: grid; gap: 12px; margin: 0 0 28px; padding: 0; list-style: none; }
.check__points li { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink-2); }
.check__points strong { display: block; color: var(--ink); font-weight: 500; }
@media (max-width: 900px) { .check__grid { grid-template-columns: 1fr; } }
