/* Aurora Tube — Night Freight Terminal */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("/assets/fonts/big-shoulders-display-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --asphalt: #0c0812;
  --night: #0f0a1a;
  --panel: #151020;
  --panel-2: #1b1528;
  --panel-3: #231c33;
  --line: rgba(233, 228, 240, 0.1);
  --line-2: rgba(233, 228, 240, 0.18);
  --text: #ece8f3;
  --text-2: #bdb5cb;
  --text-3: #958ca6;
  --pink: #e635a8;
  --cyan: #3acfd5;
  --hold: #f2b84b;
  --done: #4fd1a1;
  --lane: linear-gradient(90deg, var(--pink), var(--cyan));
  --display: "Big Shoulders Display", "Archivo", sans-serif;
  --body: "Archivo", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--asphalt);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--cyan); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: #7fe6ea; }
::selection { background: rgba(58, 207, 213, 0.32); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: #3a3049 var(--asphalt); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--asphalt); }
::-webkit-scrollbar-thumb { background: #3a3049; border-radius: 10px; border: 3px solid var(--asphalt); }

h1, h2, h3 { margin: 0; font-weight: 700; color: var(--text); text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: -0.01em; line-height: 0.98; }
h2 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); }
h3 { font-size: 1.125rem; line-height: 1.35; letter-spacing: -0.005em; }
p { margin: 0; }
p + p { margin-top: 1em; }
strong { color: var(--text); font-weight: 650; }

.container { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.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; z-index: 100; background: var(--text); color: var(--night); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.skip-link:hover { color: var(--night); }
.eyebrow { display: none; }
.gradient-text { color: var(--cyan); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 8, 18, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(12, 8, 18, 0.92); }
.nav { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.01em; }
.brand:hover { color: var(--text); }
.brand-logo { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a { color: var(--text-2); text-decoration: none; font-size: 0.9375rem; font-weight: 500; padding: 8px 12px; border-radius: 8px; transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--text); background: rgba(233, 228, 240, 0.06); }
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-cta { margin-left: 8px; }
.nav-links a.button-primary, .nav-links a.button-primary:hover { color: #140a1a; background: var(--lane) border-box; padding: 0 16px; }

/* ---------- buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 10px;
  font: 650 0.98rem/1 var(--body); text-decoration: none; letter-spacing: -0.005em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.button svg { width: 18px; height: 18px; }
.button-primary { background: var(--lane) border-box; border: 0; color: #140a1a; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.7); }
.button-primary:hover { color: #140a1a; transform: translateY(-1px); box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.8); }
.button-secondary { background: transparent; color: var(--text); border-color: var(--line-2); }
.button-secondary:hover { color: var(--text); border-color: rgba(233, 228, 240, 0.36); background: rgba(233, 228, 240, 0.04); }
.button-small { min-height: 38px; padding: 0 16px; font-size: 0.9rem; border-radius: 9px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- sections ---------- */
.section { padding: clamp(84px, 11vw, 148px) 0; }
.section-soft { background: var(--night); border-block: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-heading p { margin-top: 20px; color: var(--text-2); font-size: 1.125rem; max-width: 64ch; }
.section-note { margin-top: 28px; color: var(--text-3); font-size: 0.9rem; max-width: 80ch; }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 7vw, 92px) 0 clamp(56px, 7vw, 96px); position: relative; overflow: hidden; overflow: clip; }
.hero-grid { position: relative; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px; align-items: center; }
.hero-text { grid-column: 1 / span 4; }
.hero h1 { font-size: clamp(3.4rem, 6.8vw, 5.7rem); line-height: 1.1; }
.hero h1 span { display: block; color: var(--text-2); }
.hero-copy { margin-top: 28px; color: var(--text-2); font-size: 1.1875rem; max-width: 46ch; }
.hero-actions { margin-top: 36px; }
.hero-note { margin-top: 26px; color: var(--text-3); font-size: 0.92rem; max-width: 52ch; }
.hero-note strong { color: var(--text-2); }
.hero-stage { grid-column: 5 / span 4; position: relative; padding: 76px 0 40px; }
.hero-stage .manifest { margin-right: 9%; }

/* manifest — the live instrument */
.manifest {
  position: relative; z-index: 2;
  background: linear-gradient(180deg, #1b1528, #140f1f);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.85), 0 2px 0 rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
}
.manifest-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 22px 16px; border-bottom: 1px dashed var(--line-2); }
.waybill { font: 500 0.72rem/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.file-name { margin-top: 6px; font: 650 1.05rem/1.3 var(--body); color: var(--text); overflow-wrap: anywhere; }
.file-meta { margin-top: 4px; font: 400 0.78rem/1.4 var(--mono); color: var(--text-3); font-variant-numeric: tabular-nums; }
.stamp {
  flex: none; font: 700 0.7rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 10px; border-radius: 6px; border: 1.5px solid currentColor; color: var(--cyan);
  transform: rotate(-3deg); transition: color 0.25s;
}
.stamp[data-state="hold"] { color: var(--hold); }
.stamp[data-state="delivered"] { color: var(--done); }
.plan-switch { display: flex; gap: 4px; margin: 14px 22px 0; padding: 4px; background: rgba(0, 0, 0, 0.28); border: 1px solid var(--line); border-radius: 10px; width: fit-content; }
.plan-switch button { font: 600 0.8rem/1 var(--body); color: var(--text-3); background: transparent; border: 0; border-radius: 7px; padding: 8px 12px; cursor: pointer; transition: color 0.2s, background 0.2s; }
.plan-switch button[aria-pressed="true"] { background: var(--panel-3); color: var(--text); }
.plan-switch button:hover { color: var(--text); }
.lanes { list-style: none; margin: 0; padding: 14px 22px 6px; display: grid; gap: 9px; }
.lane { display: grid; grid-template-columns: 34px 1fr 64px; align-items: center; gap: 12px; font: 500 0.72rem/1 var(--mono); color: var(--text-3); font-variant-numeric: tabular-nums; transition: opacity 0.35s var(--ease); }
.lane.is-idle { opacity: 0.32; }
.lane.is-idle .lane-fill { width: 0 !important; }
.lane-no { letter-spacing: 0.06em; }
.lane-track { position: relative; height: 10px; border-radius: 3px; background: rgba(233, 228, 240, 0.07); overflow: hidden; }
.lane-fill { position: absolute; inset: 0 auto 0 0; width: var(--w, 0%); background: var(--lane); background-size: var(--bg, 400px) 100%; border-radius: 3px; }
.lane.is-done .lane-fill { background: var(--done); }
.lane.is-held .lane-fill { background: var(--hold); }
.lane-mb { text-align: right; }
.manifest-foot { display: flex; align-items: center; gap: 18px; padding: 14px 22px 18px; border-top: 1px solid var(--line); margin-top: 10px; }
.readout { display: flex; gap: 22px; font: 500 0.78rem/1.3 var(--mono); color: var(--text-3); font-variant-numeric: tabular-nums; }
.readout b { display: block; font: 700 1.15rem/1.2 var(--mono); color: var(--text); }
.manifest-foot .button { margin-left: auto; }
.manifest-note { padding: 0 22px 16px; font-size: 0.75rem; color: var(--text-3); }
.stage-proof {
  position: absolute; z-index: 1; right: -8%; top: 0; width: 80%; margin: 0;
  border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.9);
  transform: rotate(1.2deg); opacity: 0.9;
}
.stage-proof img { width: 100%; }
.stage-caption { position: absolute; z-index: 3; left: 0; bottom: 8px; font: 500 0.72rem/1.4 var(--mono); color: var(--text-3); letter-spacing: 0.04em; }

/* ---------- stations ---------- */
.stations { padding: 0 0 clamp(72px, 9vw, 120px); }
.station-rail { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; padding-top: 40px; list-style: none; margin: 0; }
.station-rail::before, .station-rail::after { content: ""; position: absolute; top: 10px; left: 0; right: 0; height: 2px; border-radius: 2px; }
.station-rail::before { background: var(--line); }
.station-rail::after { background: var(--lane); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform 0.15s linear; }
.station { position: relative; }
.station::before { content: ""; position: absolute; top: -36px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--asphalt); border: 2px solid var(--line-2); transition: border-color 0.3s, background 0.3s; }
.station.is-lit::before { border-color: var(--cyan); background: var(--cyan); }
.station-no { font: 600 0.75rem/1 var(--mono); color: var(--text-3); letter-spacing: 0.1em; }
.station h3 { margin-top: 10px; font: 800 1.6rem/1 var(--display); letter-spacing: 0; }
.station p { margin-top: 10px; color: var(--text-2); font-size: 0.95rem; line-height: 1.55; }
.station.is-lit .station-no { color: var(--cyan); }

/* ---------- claim | proof seam ---------- */
.seam { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px; align-items: start; }
.seam-claims { grid-column: 1 / span 3; list-style: none; margin: 0; padding: 0; }
.seam-proof { grid-column: 4 / span 5; position: sticky; top: 104px; }
.seam.is-flipped .seam-claims { grid-column: 6 / span 3; grid-row: 1; }
.seam.is-flipped .seam-proof { grid-column: 1 / span 5; grid-row: 1; }
.claim { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); }
.claim:last-child { border-bottom: 1px solid var(--line); }
.claim-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line); color: var(--cyan); }
.claim-icon svg { width: 20px; height: 20px; }
.claim p { margin-top: 6px; color: var(--text-2); font-size: 0.97rem; }
.proof-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: var(--panel); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9); }
.proof-frame img { width: 100%; }
.proof-caption { margin-top: 14px; font: 500 0.78rem/1.5 var(--mono); color: var(--text-3); letter-spacing: 0.02em; }

/* ---------- lanes compare (free vs pro) ---------- */
.lane-compare { margin-top: clamp(64px, 8vw, 104px); display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px; align-items: end; }
.lane-compare h3 { font: 800 clamp(1.9rem, 3vw, 2.5rem)/1 var(--display); }
.lc-intro { grid-column: 1 / span 3; }
.lc-intro p { margin-top: 14px; color: var(--text-2); }
.lc-board { grid-column: 4 / span 5; display: grid; gap: 22px; }
.lc-row { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; }
.lc-label { font: 650 0.95rem/1.3 var(--body); }
.lc-label small { display: block; font: 500 0.75rem/1.4 var(--mono); color: var(--text-3); margin-top: 2px; }
.lc-lanes { display: grid; gap: 6px; }
.lc-lanes i { display: block; height: 8px; border-radius: 3px; background: rgba(233, 228, 240, 0.08); position: relative; overflow: hidden; }
.lc-lanes i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--lane); border-radius: 3px; }
.seam-lede { margin-top: 20px; color: var(--text-2); font-size: 1.0625rem; }
.lc-note { color: var(--text-3); font-size: 0.85rem; }

/* ---------- workspace tabs ---------- */
.tabs { display: flex; gap: 4px; padding: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; width: fit-content; margin-bottom: 18px; flex-wrap: wrap; }
.tabs button { font: 600 0.9rem/1 var(--body); color: var(--text-3); background: transparent; border: 0; border-radius: 9px; padding: 11px 16px; cursor: pointer; transition: color 0.2s, background 0.2s; }
.tabs button[aria-selected="true"] { color: var(--text); background: var(--panel-3); }
.tabs button:hover { color: var(--text); }
.tab-panel[hidden] { display: none; }
.tab-panel .proof-frame { animation: panel-in 0.5s var(--ease); }
@keyframes panel-in { from { opacity: 0.4; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- video section ---------- */
.video-stage { position: relative; top: auto; }
.video-stage .proof-frame { border-radius: 16px; }
.video-hint { position: absolute; width: 38%; right: -3%; top: -9%; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9); border: 1px solid var(--line-2); }
.site-chips { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.site-chips li { font: 600 0.9rem/1 var(--body); padding: 10px 14px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); color: var(--text); }
.site-chips .site-chip-more { color: var(--text-3); background: transparent; }

/* ---------- callouts ---------- */
.callout { margin-top: 28px; padding: 18px 20px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line-2); color: var(--text-2); font-size: 0.97rem; }
.callout strong { color: var(--text); }
#video-audio .callout { margin-top: 48px; }
.callout.warning { background: rgba(242, 184, 75, 0.07); border-color: rgba(242, 184, 75, 0.32); }
.callout.warning strong { color: var(--hold); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.step-card { padding: 28px 0 0; border-top: 2px solid var(--line-2); }
.step-number { display: block; font: 800 3rem/1 var(--display); color: var(--text-3); }
.step-card h3 { margin-top: 18px; font-size: 1.25rem; }
.step-card p { margin-top: 10px; color: var(--text-2); }

/* ---------- responsible use ---------- */
.policy-panel { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px; }
.policy-panel .section-heading { grid-column: 1 / span 4; margin: 0; }
.policy-list { grid-column: 5 / span 4; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.policy-card { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); }
.policy-card:nth-child(odd) { padding-right: 28px; border-right: 1px solid var(--line); }
.policy-card:nth-child(even) { padding-left: 28px; }
.policy-card strong { display: block; font-size: 1.05rem; }
.policy-card span { display: block; margin-top: 8px; color: var(--text-2); font-size: 0.95rem; }

/* ---------- closing ---------- */
.cta-panel { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px; align-items: end; padding: clamp(36px, 5vw, 64px); border-radius: 20px; background: linear-gradient(135deg, #1d1530 0%, #14101f 60%); border: 1px solid var(--line-2); position: relative; overflow: hidden; }
.cta-panel > div:first-child { grid-column: 1 / span 5; }
.cta-panel .hero-actions { grid-column: 6 / span 3; justify-content: flex-end; margin: 0; }
.cta-panel h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.cta-panel p { margin-top: 18px; color: var(--text-2); max-width: 64ch; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; background: var(--night); }
.footer-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px 24px; }
.footer-grid > div:first-child { grid-column: 1 / span 4; }
.footer-copy { margin-top: 16px; color: var(--text-3); font-size: 0.9rem; max-width: 60ch; }
.footer-links { grid-column: 6 / span 3; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; align-content: start; }
.footer-links a { color: var(--text-2); text-decoration: none; font-size: 0.95rem; }
.footer-links a:hover { color: var(--text); }
.copyright { grid-column: 1 / -1; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 0.85rem; }
.copyright a { color: var(--text-2); }

/* ---------- legal + pricing pages ---------- */
.legal-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); background: var(--night); }
.legal-hero h1 { font-size: clamp(3rem, 6.4vw, 5.2rem); line-height: 0.95; max-width: 16ch; }
.legal-lede { margin-top: 24px; color: var(--text-2); font-size: 1.15rem; max-width: 70ch; }
.legal-meta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.mini-pill { font: 500 0.75rem/1 var(--mono); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); letter-spacing: 0.02em; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding: clamp(48px, 6vw, 80px) 0 clamp(80px, 9vw, 120px); }
.legal-toc { position: sticky; top: 100px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; }
.legal-toc strong { display: block; font: 600 0.75rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.legal-toc nav { display: grid; gap: 2px; border-left: 1px solid var(--line); }
.legal-toc a { color: var(--text-2); text-decoration: none; font-size: 0.9rem; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 1px solid transparent; }
.legal-toc a:hover { color: var(--text); border-left-color: var(--cyan); }
.legal-content { max-width: 72ch; }
.legal-section { padding: 32px 0; border-bottom: 1px solid var(--line); }
.legal-section:first-child { padding-top: 0; }
.legal-section h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 16px; line-height: 1.05; }
.legal-section h3 { margin: 22px 0 8px; }
.legal-section p, .legal-section li { color: var(--text-2); }
.legal-section ul, .legal-section ol { padding-left: 1.2em; margin: 14px 0; }
.legal-section li + li { margin-top: 8px; }
.legal-section li::marker { color: var(--text-3); }
.contact-placeholder { font-family: var(--mono); font-size: 0.92em; }
.deletion-steps { display: grid; gap: 14px; margin-top: 18px; }
.deletion-step { padding: 18px 20px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.table-wrap { margin-top: 48px; overflow-x: auto; border: 1px solid var(--line-2); border-radius: var(--radius); }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 640px; }
.compare-table th, .compare-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table thead th { font: 600 0.78rem/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); background: var(--panel); }
.compare-table tbody th { font-weight: 550; color: var(--text); }
.compare-table td { color: var(--text-2); position: relative; }
.compare-table th { position: relative; }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
.is-yes { color: var(--done) !important; font-weight: 700; }
.is-no { color: var(--text-3) !important; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 16px; align-items: stretch; padding-top: 12px; }
.plan-card { display: flex; flex-direction: column; padding: 28px 24px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.plan-card.is-featured { background: linear-gradient(180deg, #221a35, #171222); border-color: rgba(58, 207, 213, 0.45); position: relative; }
.plan-card.is-featured::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--lane); }
.plan-card.is-recommended {
  position: relative;
  border: 1.5px solid transparent;
  background: linear-gradient(180deg, #241b38, #161121) padding-box, var(--lane) border-box;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  transform: translateY(-10px);
}
.plan-flag {
  position: absolute; top: -13px; left: 22px;
  font: 700 0.7rem/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 10px; border-radius: 6px; background: var(--lane) border-box; color: #140a1a;
}
.plan-card.is-recommended .plan-name { color: var(--text-2); }
.plan-name { min-height: 2.6em; font: 600 0.8rem/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.plan-name em { font-style: normal; color: var(--cyan); margin-left: 6px; white-space: nowrap; }
.plan-price { margin-top: 18px; display: flex; align-items: baseline; gap: 8px; }
.plan-price strong { font: 800 3.2rem/1 var(--display); letter-spacing: -0.01em; }
.plan-price span { color: var(--text-3); font-size: 0.95rem; }
.plan-billing { margin-top: 10px; color: var(--text-3); font-size: 0.88rem; min-height: 3em; }
.plan-list { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 10px; flex: 1; }
.plan-list li { position: relative; padding-left: 22px; color: var(--text-2); font-size: 0.93rem; line-height: 1.5; }
.plan-list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 2px; border-radius: 2px; background: var(--lane); }
.plan-card .button { width: 100%; }
.pricing-note { margin-top: 24px; color: var(--text-3); font-size: 0.9rem; max-width: 90ch; }
.faq-list { display: grid; border-top: 1px solid var(--line); max-width: 880px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 600; font-size: 1.06rem; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: translateY(-70%) rotate(45deg); transition: transform 0.25s var(--ease); }
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item p { padding: 0 0 22px; color: var(--text-2); max-width: 70ch; }

/* ---------- checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px; align-items: start; }
.checkout-plans { grid-column: 1 / span 5; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 14px; }
.checkout-plan {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left;
  padding: 26px 22px 24px; border-radius: 16px; cursor: pointer; color: var(--text);
  background: var(--panel); border: 1.5px solid var(--line-2); font: inherit;
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease);
}
.checkout-plan:hover { border-color: rgba(233, 228, 240, 0.34); }
.checkout-plan[aria-checked="true"] { border-color: transparent; background: linear-gradient(180deg, #241b38, #161121) padding-box, var(--lane) border-box; }
.checkout-plan .plan-name { min-height: 0; }
.checkout-plan strong { font: 800 2.6rem/1 var(--display); margin-top: 10px; }
.checkout-plan > span:last-child { color: var(--text-3); font-size: 0.92rem; }
.checkout-side { grid-column: 6 / span 3; display: grid; gap: 16px; padding-top: 14px; }
.checkout-side .button { width: 100%; }
.checkout-account { color: var(--text-2); }
.checkout-account.is-bound { padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(58, 207, 213, 0.45); background: rgba(58, 207, 213, 0.07); color: var(--text); }
.checkout-account strong { color: var(--cyan); overflow-wrap: anywhere; }
.checkout-status { min-height: 1.5em; color: var(--text-2); font-size: 0.95rem; }
.checkout-fine { color: var(--text-3); font-size: 0.85rem; }

/* ---------- 404 ---------- */
.not-found { min-height: 70vh; display: grid; align-content: center; padding: 80px 0; }
.not-found h1 { font-size: clamp(3.4rem, 8vw, 6rem); }
.not-found p { margin-top: 18px; color: var(--text-2); max-width: 52ch; }
.not-found .hero-actions { margin-top: 32px; }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

@media print {
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .site-header { position: static; }
}
.button:disabled { opacity: 0.5; cursor: default; transform: none; }
.tab-panel:focus-visible { outline-offset: 6px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-text, .hero-stage { grid-column: 1 / -1; }
  .hero-stage { max-width: 640px; margin-top: 24px; }
  .seam-claims, .seam-proof, .seam.is-flipped .seam-claims, .seam.is-flipped .seam-proof { grid-column: 1 / -1; grid-row: auto; }
  .seam-proof { position: relative; top: 0; order: -1; margin-bottom: 8px; }
  #video-audio .seam-proof { order: 0; margin: 32px 0 0; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero-text { display: contents; }
  .hero h1 { order: 1; }
  .hero-actions { order: 2; margin-top: 28px; }
  .hero-stage { order: 3; width: 100%; }
  .hero-copy { order: 4; margin-top: 32px; }
  .hero-note { order: 5; }
  .legal-toc nav { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .lc-intro, .lc-board { grid-column: 1 / -1; }
  .policy-panel .section-heading, .policy-list { grid-column: 1 / -1; }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkout-plans, .checkout-side { grid-column: 1 / -1; }
  .plan-card.is-recommended { transform: none; }
  .cta-panel > div:first-child, .cta-panel .hero-actions { grid-column: 1 / -1; justify-content: flex-start; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; max-height: none; }
  .legal-toc nav { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); border-left: 0; }
  .legal-toc a { padding-left: 0; border-left: 0; }
}
@media (max-width: 860px) {
  .nav-links a:not(.nav-cta):not([href="/pricing/"]) { display: none; }
  .station-rail { grid-template-columns: 1fr; gap: 28px; padding: 0 0 0 32px; }
  .station-rail::before, .station-rail::after { top: 0; left: 5px; right: auto; width: 2px; height: auto; bottom: 0; }
  .station-rail::after { background: linear-gradient(180deg, var(--pink), var(--cyan)); transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
  .station::before { top: 4px; left: -32px; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid > div:first-child, .footer-links { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero h1 { font-size: clamp(2.9rem, 13vw, 3.6rem); }
  .hero-stage { padding-top: 56px; }
  .hero-stage .manifest { margin-right: 4%; }
  .stage-proof { right: -4%; width: 86%; }
  .manifest-head { padding: 16px 16px 14px; flex-direction: column-reverse; gap: 10px; }
  .lanes { padding: 12px 16px 4px; }
  .lane { grid-template-columns: 30px 1fr 52px; gap: 10px; }
  .plan-switch { margin: 12px 16px 0; }
  .manifest-foot { flex-wrap: wrap; padding: 12px 16px 16px; }
  .manifest-foot .button { margin-left: 0; width: 100%; }
  .manifest-note { padding: 0 16px 14px; }
  .policy-list { grid-template-columns: 1fr; }
  .policy-card:nth-child(odd), .policy-card:nth-child(even) { padding: 22px 0; border-right: 0; }
  .pricing-grid { grid-template-columns: 1fr; gap: 28px; }
  .checkout-plans { grid-template-columns: 1fr; gap: 24px; }
  .plan-card.is-recommended { transform: none; }
  .lc-row { grid-template-columns: 1fr; gap: 8px; }
  .video-hint { position: relative; width: 70%; right: auto; top: auto; margin: 12px 0 0 auto; }
  .compare-table { min-width: 0; font-size: 0.85rem; }
  .compare-table th, .compare-table td { padding: 12px 10px; }
  .compare-table tbody th { width: 42%; }
  .plan-switch button, .tabs button { min-height: 44px; }
  .button { width: 100%; }
  .nav .button, .plan-switch button, .tabs button { width: auto; }
}
