/* ============================================================
   Fitra360 — Bio-luminescent dark
   ============================================================ */

:root {
  color-scheme: dark;

  /* color */
  --bg:        oklch(0.16 0.022 200);
  --bg-deep:   oklch(0.115 0.02 205);
  --surface:   oklch(0.215 0.026 200);
  --surface-2: oklch(0.26 0.03 199);
  --line:      oklch(0.42 0.03 200 / 0.45);
  --line-solid:oklch(0.42 0.03 200);
  --line-strong: oklch(0.55 0.035 200);
  --ink:       oklch(0.97 0.008 200);
  --ink-dim:   oklch(0.87 0.015 200);
  --muted:     oklch(0.745 0.022 200);
  --teal:      oklch(0.84 0.13 188);
  --teal-deep: oklch(0.66 0.12 192);
  --green:     oklch(0.87 0.17 150);
  --warm:      oklch(0.80 0.15 55);
  --warm-ink:  oklch(0.22 0.05 50);

  --teal-glow: oklch(0.84 0.13 188 / 0.35);
  --green-glow:oklch(0.87 0.17 150 / 0.3);

  /* type */
  --display: "Bricolage Grotesque", "Bricolage Grotesque Fallback: Arial", "Bricolage Grotesque Fallback: Roboto", system-ui, sans-serif;
  --body: "Hanken Grotesk", "Hanken Grotesk Fallback: Arial", "Hanken Grotesk Fallback: Roboto", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  /* space */
  --wrap: 1200px;
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 11vh, 9rem);

  /* radius */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* z */
  --z-bg: 0;
  --z-base: 1;
  --z-sticky: 50;
  --z-header: 100;
  --z-nav: 110;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);       /* ease-out-quart-ish */
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- font fallbacks (metric-tuned, generated with Capsize createFontStack; do not hand-edit) ---------- */
@font-face {
  font-family: "Bricolage Grotesque Fallback: Arial";
  src: local('Arial'), local('ArialMT');
  ascent-override: 88.2116%;
  descent-override: 25.6098%;
  line-gap-override: 0%;
  size-adjust: 105.4283%;
}
@font-face {
  font-family: "Bricolage Grotesque Fallback: Roboto";
  src: local('Roboto Regular'), local('Roboto-Regular');
  ascent-override: 88.0184%;
  descent-override: 25.5537%;
  size-adjust: 105.6597%;
}
@font-face {
  font-family: "Hanken Grotesk Fallback: Arial";
  src: local('Arial'), local('ArialMT');
  ascent-override: 99.0668%;
  descent-override: 30.0173%;
  line-gap-override: 0%;
  size-adjust: 100.9419%;
}
@font-face {
  font-family: "Hanken Grotesk Fallback: Roboto";
  src: local('Roboto Regular'), local('Roboto-Regular');
  ascent-override: 98.8498%;
  descent-override: 29.9515%;
  size-adjust: 101.1636%;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink-dim);
  line-height: 1.65;
  font-size: clamp(1rem, 0.97rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 200;
  background: var(--teal); color: var(--bg-deep); padding: 0.6rem 1rem;
  border-radius: var(--r-sm); font-weight: 600; transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

.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}

.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }

/* ---------- typography ---------- */
.h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}
h3 { font-family: var(--display); color: var(--ink); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
.lead { font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem); color: var(--ink-dim); max-width: 60ch; line-height: 1.6; text-wrap: pretty; }
.muted-p { color: var(--muted); max-width: 62ch; text-wrap: pretty; }
p { text-wrap: pretty; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--mono); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--teal);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green-glow); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%,100%{opacity:1; transform:scale(1);} 50%{opacity:.5; transform:scale(.8);} }

.section { padding-block: var(--section-y); position: relative; }
.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-sub { color: var(--muted); font-size: 1.1rem; margin-top: 0.85rem; max-width: 52ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem; border-radius: var(--r-pill);
  font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em;
  transition: transform 0.5s var(--ease-expo), background 0.3s, box-shadow 0.3s, color 0.3s, border-color 0.3s;
  will-change: transform; white-space: nowrap;
}
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.9rem; }
.btn-block { width: 100%; margin-top: 0.4rem; }
.btn-primary { background: var(--warm); color: var(--warm-ink); box-shadow: 0 6px 26px oklch(0.80 0.15 55 / 0.28); }
.btn-primary:hover { box-shadow: 0 10px 36px oklch(0.80 0.15 55 / 0.42); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line-solid); background: oklch(0.97 0.008 200 / 0.02); }
.btn-ghost { border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); background: oklch(0.84 0.13 188 / 0.06); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s, border-color 0.4s, padding 0.4s;
  border-bottom: 1px solid transparent;
  padding-block: 0.85rem;
}
.site-header.scrolled {
  background: oklch(0.13 0.02 205 / 0.72);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom-color: var(--line);
  padding-block: 0.6rem;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--display); }
.brand-name { font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--ink); }
.brand-360 { color: var(--teal); }
.brand-mark { display: grid; place-items: center; filter: drop-shadow(0 0 8px var(--teal-glow)); }

.nav { display: flex; align-items: center; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 0.4rem; padding: 0; }
.nav-links a:not(.btn) {
  display: inline-block; padding: 0.5rem 0.85rem; color: var(--ink-dim);
  font-size: 0.95rem; font-weight: 500; border-radius: var(--r-sm);
  position: relative; transition: color 0.25s;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.35rem; height: 1.5px;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); border-radius: 2px;
}
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a:not(.btn):hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-links a.is-active { color: var(--ink); }
.nav-cta { margin-left: 0.5rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 0.6rem; z-index: var(--z-nav); }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.2s; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding-top: clamp(5rem, 10vh, 6.5rem); padding-bottom: clamp(3rem, 7vh, 5rem);
  background:
    radial-gradient(120% 80% at 75% 8%, oklch(0.24 0.05 188 / 0.55), transparent 60%),
    radial-gradient(90% 70% at 8% 92%, oklch(0.22 0.05 150 / 0.4), transparent 55%),
    var(--bg-deep);
  overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: var(--z-bg); }
.hero-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(80% 60% at 30% 50%, transparent, oklch(0.115 0.02 205 / 0.6) 100%); }
.hero-inner { position: relative; z-index: 2; max-width: 56rem; }
.hero-title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.5rem, 1.4rem + 4.7vw, 5rem);
  line-height: 0.98; letter-spacing: -0.045em; color: var(--ink);
  margin: 1rem 0 1.25rem; text-wrap: balance;
}
.hero-title em { font-style: normal; color: var(--teal); }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: block; will-change: transform; }
.hero-sub { font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem); color: var(--ink-dim); max-width: 46ch; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero-foot { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }
.hero-privacy { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--muted); }
.hero-privacy svg { color: var(--teal); }

.store-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.store-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 1.05rem; border: 1px solid var(--line-solid); border-radius: var(--r);
  background: oklch(0.97 0.008 200 / 0.03); color: var(--ink);
  transition: border-color 0.3s, background 0.3s, transform 0.4s var(--ease);
}
.store-badge:hover { border-color: var(--teal); background: oklch(0.84 0.13 188 / 0.07); transform: translateY(-2px); }
.store-badge svg { color: var(--ink); }
.store-badge span { display: flex; flex-direction: column; font-weight: 600; font-size: 0.98rem; line-height: 1.1; }
.store-badge small { font-weight: 400; font-size: 0.68rem; color: var(--muted); }

.scroll-hint { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 26px; height: 42px; border: 1.5px solid var(--line-solid); border-radius: var(--r-pill); }
.scroll-hint span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  background: var(--teal); border-radius: 2px; animation: scrolldot 1.8s var(--ease) infinite; }
@keyframes scrolldot { 0%{opacity:0; transform:translateY(0);} 30%{opacity:1;} 80%{opacity:0; transform:translateY(14px);} 100%{opacity:0;} }

/* ---------- reveal base ---------- */
.reveal { opacity: 1; }
.js .reveal[data-reveal] { opacity: 0; animation: revealFailsafe 0.5s ease 3s forwards; }
.js .reveal.is-in { opacity: 1; }
@keyframes revealFailsafe { to { opacity: 1; } }

/* ---------- problem ---------- */
.problem { background: var(--bg); }
.problem-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.problem-copy h2 { margin-bottom: 1.2rem; }
.problem-copy .lead { margin-bottom: 1rem; }
.problem-copy .muted-p { color: var(--teal); font-weight: 500; font-size: 1.15rem; }

.merge-stage { position: relative; aspect-ratio: 1; max-width: 460px; margin-inline: auto; display: grid; place-items: center; }
.merge-stage .frag {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%) translate(var(--x), var(--y));
  font-family: var(--mono); font-size: 0.8rem; color: var(--ink-dim);
  padding: 0.45rem 0.85rem; border: 1px solid var(--line-solid); border-radius: var(--r-pill);
  background: oklch(0.2 0.025 200 / 0.6); backdrop-filter: blur(4px); white-space: nowrap;
  transition: transform 0.9s var(--ease-expo), opacity 0.9s, color 0.9s;
}
.merge-stage.merged .frag { transform: translate(-50%,-50%) scale(0.4); opacity: 0; color: var(--teal); }
.merge-core {
  width: clamp(120px, 38%, 168px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; color: var(--bg-deep); text-align: center; font-size: 1.1rem;
  background: radial-gradient(circle at 35% 30%, var(--green), var(--teal));
  box-shadow: 0 0 0 1px oklch(0.84 0.13 188 / 0.4), 0 0 50px var(--teal-glow), inset 0 0 30px oklch(1 0 0 / 0.15);
  transform: scale(0.7); opacity: 0.5; transition: transform 1s var(--ease-expo), opacity 1s;
}
.merge-stage.merged .merge-core { transform: scale(1); opacity: 1; }

/* ---------- features ---------- */
.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(1rem, 2.5vw, 1.5rem); }
.feature {
  padding: clamp(1.5rem, 3vw, 2rem); border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--surface), oklch(0.18 0.022 202));
  border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: transform 0.5s var(--ease-expo), border-color 0.4s, box-shadow 0.4s;
}
.feature::before { content:""; position:absolute; inset:0; border-radius:inherit; padding:1px;
  background: linear-gradient(160deg, oklch(0.84 0.13 188 / 0.5), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s; }
.feature:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 18px 50px oklch(0.05 0.02 205 / 0.5); }
.feature:hover::before { opacity: 1; }
.feature-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: oklch(0.84 0.13 188 / 0.12); color: var(--teal); margin-bottom: 1.1rem;
  box-shadow: inset 0 0 0 1px oklch(0.84 0.13 188 / 0.25); }
.feature-ic svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 0.55rem; }
.feature p { color: var(--muted); font-size: 0.97rem; }

/* ---------- video ---------- */
.video-section { background: linear-gradient(var(--bg), var(--bg-deep)); }
.video-frame { position: relative; max-width: 920px; margin-inline: auto; aspect-ratio: 16/9;
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.video-facade { position: relative; width: 100%; height: 100%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 45%, oklch(0.26 0.05 188), var(--bg-deep)); }
.video-glow { position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; filter: blur(60px);
  background: radial-gradient(circle, var(--teal-glow), transparent 70%); }
.video-play { position: relative; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  background: oklch(0.97 0.008 200 / 0.1); border: 1px solid oklch(0.97 0.008 200 / 0.3); color: var(--ink);
  backdrop-filter: blur(6px); transition: transform 0.5s var(--ease-expo), background 0.3s; }
.video-play svg { margin-left: 4px; }
.video-facade:hover .video-play { transform: scale(1.08); background: var(--teal); color: var(--bg-deep); }
.video-cap { position: absolute; bottom: 1.2rem; left: 1.4rem; font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-alt{text-align:center;margin-top:.75rem;font-size:.85rem;color:var(--muted)}
.video-alt a{color:var(--muted);text-decoration:underline}

/* ---------- how / orbit ---------- */
.how { background: var(--bg-deep); }
.how-head { margin-bottom: 1rem; }
.orbit-wrap { position: relative; }
/* pre-JS placeholder for the pinned sequence; app.js (steps * 62vh) stays the source of truth */
@media (min-width: 921px) { .js .orbit-wrap { height: 558vh; } }
.orbit-sticky { position: sticky; top: 0; min-height: 100svh; display: grid;
  grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem; padding-block: 2rem; }

.orbit-stage { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin-inline: auto; }
.orbit-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px dashed var(--line); transform: translate(-50%,-50%); }
.orbit-ring-1 { width: 62%; height: 62%; }
.orbit-ring-2 { width: 100%; height: 100%; border-style: solid; }
.orbit-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 30%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center;
  font-family: var(--display); font-weight: 700; color: var(--bg-deep); line-height: 1; font-size: clamp(0.9rem, 2vw, 1.15rem);
  background: radial-gradient(circle at 35% 30%, var(--green), var(--teal));
  box-shadow: 0 0 60px var(--teal-glow), inset 0 0 30px oklch(1 0 0 / 0.2); z-index: 3; }
.orbit-node {
  position: absolute; left: 50%; top: 50%; width: 17%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center; transform: translate(-50%,-50%);
  background: var(--surface); border: 1px solid var(--line-solid); color: var(--muted);
  font-family: var(--mono); font-size: clamp(0.6rem, 1.4vw, 0.74rem); line-height: 1;
  transition: color 0.4s, border-color 0.4s, background 0.4s, box-shadow 0.4s, transform 0.6s var(--ease-expo); z-index: 2;
}
.orbit-node.is-on { color: var(--bg-deep); background: var(--teal); border-color: var(--teal);
  box-shadow: 0 0 28px var(--teal-glow); }
.orbit-panels { position: relative; min-height: 16rem; }
.orbit-panel { position: relative; opacity: 1; margin-bottom: 2rem; display: flex; flex-direction: column; justify-content: center;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.js .orbit-panel { position: absolute; inset: 0; margin-bottom: 0;
  opacity: 0; transform: translateY(14px); pointer-events: none; }
.orbit-panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.orbit-tag { font-family: var(--mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--teal); margin-bottom: 0.9rem; }
.orbit-panel h3 { font-size: clamp(1.5rem, 1rem + 1.8vw, 2.2rem); margin-bottom: 0.9rem; letter-spacing: -0.03em; }
.orbit-panel p { color: var(--ink-dim); max-width: 42ch; font-size: 1.08rem; }
.orbit-progress { position: absolute; left: 0; bottom: -1px; height: 2px; background: var(--teal); width: 0; box-shadow: 0 0 12px var(--teal-glow); }

/* fallback list when JS/motion off */
.how-fallback { display: none; }

/* ---------- privacy ---------- */
.privacy { background: var(--bg); }
.privacy-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.privacy-copy .eyebrow { margin-bottom: 1rem; }
.privacy-copy h2 { margin-bottom: 1.1rem; }
.privacy-copy .lead { margin-bottom: 1rem; }
.privacy-points { list-style: none; padding: 0; margin-top: 1.6rem; display: grid; gap: 0.7rem; }
.privacy-points li { display: flex; align-items: center; gap: 0.7rem; color: var(--ink-dim); font-weight: 500; }
.privacy-points svg { color: var(--green); flex: none; }

.phone { position: relative; width: min(280px, 78%); aspect-ratio: 9/18.5; margin-inline: auto;
  background: linear-gradient(160deg, var(--surface-2), var(--bg-deep)); border-radius: 38px;
  border: 1px solid var(--line-solid); padding: 12px;
  box-shadow: 0 40px 90px oklch(0.05 0.02 205 / 0.6), 0 0 70px var(--teal-glow); }
.phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 38%; height: 22px; background: var(--bg-deep); border-radius: var(--r-pill); z-index: 2; }
.phone-screen { height: 100%; border-radius: 28px; background: radial-gradient(120% 60% at 50% 0%, oklch(0.2 0.04 188), var(--bg-deep)); padding: 2.2rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: 0.7rem; overflow: hidden; }
.ps-top { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); display: flex; align-items: center; gap: 0.4rem; text-transform: uppercase; letter-spacing: 0.05em; }
.ps-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green-glow); }
.ps-ring { position: relative; display: grid; place-items: center; margin: 0.4rem auto 0.8rem; width: 120px; height: 120px; }
.ps-ring svg { width: 120px; height: 120px; }
.ps-arc { transition: stroke-dashoffset 1.4s var(--ease-expo); }
.ps-score { position: absolute; font-family: var(--display); font-weight: 700; font-size: 2rem; color: var(--ink); display: grid; justify-items: center; line-height: 1; }
.ps-score small { font-family: var(--mono); font-size: 0.55rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }
.ps-row { display: flex; align-items: center; gap: 0.6rem; font-size: 0.82rem; color: var(--ink-dim); padding: 0.55rem 0.7rem; border-radius: 12px; background: oklch(0.97 0.008 200 / 0.04); border: 1px solid var(--line); }
.ps-ic { width: 10px; height: 10px; border-radius: 3px; background: var(--c); box-shadow: 0 0 10px var(--c); flex: none; }
.ps-shield { margin-top: auto; display: flex; align-items: center; gap: 0.4rem; font-size: 0.66rem; color: var(--teal); font-family: var(--mono); }

/* ---------- get / waitlist ---------- */
.get { background: linear-gradient(var(--bg), var(--bg-deep)); }
.get-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: start; }
.get-copy .lead { margin: 1rem 0 1.8rem; }
.form-card { background: var(--surface); border: 1px solid var(--line-solid); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: 0 30px 70px oklch(0.05 0.02 205 / 0.4); }
.form-title { font-size: 1.35rem; margin-bottom: 1.2rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink-dim); margin-bottom: 0.4rem; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 0.95rem; border-radius: var(--r-sm);
  background: var(--bg-deep); border: 1px solid var(--line-solid); color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s; resize: vertical;
}
.field input, .field select, .field textarea { border-color: var(--line-strong); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px oklch(0.84 0.13 188 / 0.18); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: oklch(0.7 0.18 25); }
.form-msg { font-size: 0.9rem; margin-top: 0.8rem; min-height: 1.2em; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: oklch(0.78 0.16 25); }
.form-fine { display: flex; align-items: center; gap: 0.45rem; font-size: 0.76rem; color: var(--muted); margin-top: 1rem; }
.form-fine svg { color: var(--teal); flex: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); padding-top: clamp(3rem, 7vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-tag { color: var(--ink-dim); max-width: 32ch; font-size: 0.95rem; }
.footer-badge { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 0.7rem; font-size: 0.85rem; color: var(--muted); }
.footer-badge svg { color: var(--teal); }
.social-links { display: flex; gap: 0.6rem; margin-top: 1.3rem; }
.social-links a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-sm); border: 1px solid var(--line-solid); color: var(--ink-dim); transition: color 0.25s, border-color 0.25s, transform 0.4s var(--ease); }
.social-links a:hover { color: var(--teal); border-color: var(--teal); transform: translateY(-2px); }
.footer-col :is(h3, h4) { font-family: var(--display); font-size: 0.95rem; color: var(--ink); margin-bottom: 1rem; letter-spacing: -0.01em; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.footer-col a { color: var(--muted); font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; justify-content: space-between; align-items: center; }
.footer-disclaimer { font-size: 0.78rem; color: var(--muted); max-width: 72ch; line-height: 1.5; }
.footer-copy { font-size: 0.82rem; color: var(--muted); white-space: nowrap; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 920px) {
  .orbit-sticky { grid-template-columns: 1fr; position: relative; top: auto; min-height: auto; gap: 2.5rem; }
  .orbit-stage { max-width: 360px; }
  .orbit-panels { min-height: auto; display: grid; gap: 1.5rem; }
  .orbit-panel, .js .orbit-panel { position: relative; inset: auto; opacity: 1; transform: none; pointer-events: auto;
    padding: 1.4rem 1.5rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
  .orbit-panel h3 { font-size: 1.3rem; }
}

@media (max-width: 800px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 0.5rem;
    background: oklch(0.13 0.02 205 / 0.96); backdrop-filter: blur(20px);
    padding: 2rem; transform: translateX(100%); transition: transform 0.45s var(--ease);
    box-shadow: -20px 0 60px oklch(0.05 0.02 205 / 0.5); z-index: var(--z-nav);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a:not(.btn) { font-size: 1.2rem; padding: 0.6rem 0; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-cta { margin: 0.5rem 0 0; }
  body.nav-open { overflow: hidden; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .problem-grid, .privacy-grid, .get-grid { grid-template-columns: 1fr; }
  .problem-viz { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-foot { gap: 1.25rem; }
  .store-badges { width: 100%; }
}

/* ============================================================
   Inner pages — shared
   ============================================================ */
.page-hero {
  position: relative; overflow: hidden;
  padding-top: clamp(8rem, 16vh, 11rem); padding-bottom: clamp(3rem, 7vh, 5rem);
  background: radial-gradient(110% 90% at 80% -10%, oklch(0.24 0.05 188 / 0.5), transparent 60%), var(--bg-deep);
}
.page-hero-glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 50% at 12% 110%, oklch(0.22 0.05 150 / 0.4), transparent 70%); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-title { font-family: var(--display); font-weight: 800; color: var(--ink);
  font-size: clamp(2.3rem, 1.5rem + 3.2vw, 4rem); line-height: 1.02; letter-spacing: -0.04em;
  margin: 1rem 0 1.2rem; text-wrap: balance; max-width: 18ch; }
.page-lead { font-size: clamp(1.1rem, 1rem + 0.55vw, 1.4rem); color: var(--ink-dim); max-width: 60ch; line-height: 1.55; }

.cta-band { background: linear-gradient(var(--bg), var(--bg-deep)); }
.cta-inner { text-align: center; max-width: 56ch; margin-inline: auto; display: grid; justify-items: center; gap: 1.2rem;
  padding: clamp(2.5rem, 6vw, 4.5rem); border: 1px solid var(--line); border-radius: var(--r-lg);
  background: radial-gradient(80% 120% at 50% 0%, oklch(0.22 0.04 188 / 0.5), transparent 70%); }
.cta-inner .lead { margin-bottom: 0.4rem; }
.cta-inner .store-badges { justify-content: center; }

.pullquote { font-family: var(--display); font-weight: 600; color: var(--teal);
  font-size: clamp(1.35rem, 1rem + 1.4vw, 1.9rem); line-height: 1.25; letter-spacing: -0.02em;
  margin: 0.4rem 0 1.2rem; max-width: 26ch; }

/* Our Story */
.story-track { position: relative; max-width: 760px; }
.story-track::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--teal), oklch(0.66 0.12 192 / 0.2)); border-radius: 2px; }
.story-beat { position: relative; padding-left: 3rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.story-mark { position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 4px var(--bg), 0 0 18px var(--green-glow); }
.story-mark-end { background: var(--teal); box-shadow: 0 0 0 4px var(--bg), 0 0 18px var(--teal-glow); }
.story-h { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: clamp(1.5rem, 1rem + 1.6vw, 2.1rem);
  letter-spacing: -0.03em; margin-bottom: 0.8rem; }
.story-body p { margin-bottom: 0.9rem; color: var(--ink-dim); }
.gap-grid { list-style: none; padding: 0; margin: 1rem 0 1.2rem; display: grid; gap: 0.7rem; }
.gap-grid li { display: flex; align-items: flex-start; gap: 0.7rem; color: var(--ink-dim);
  padding: 0.85rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); }
.gap-x { color: oklch(0.78 0.16 25); font-weight: 500; font-family: var(--mono); flex: none; line-height: 1.5; }

/* Learn More */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; max-width: 760px; }
.mv-card { padding: 1.3rem 1.4rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.mv-tag { font-family: var(--mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--teal); display: block; margin-bottom: 0.5rem; }
.mv-card p { color: var(--ink-dim); font-size: 0.98rem; }

.ds-layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(2rem, 5vw, 4rem); padding-block: var(--section-y); align-items: start; }
.ds-nav { position: sticky; top: 90px; }
.ds-nav ul { list-style: none; padding: 0; display: grid; gap: 0.15rem; border-left: 1px solid var(--line); }
.ds-nav a { display: block; padding: 0.5rem 0 0.5rem 1rem; margin-left: -1px; color: var(--muted); font-size: 0.9rem;
  border-left: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
.ds-nav a:hover, .ds-nav a.is-active { color: var(--teal); border-left-color: var(--teal); }
.ds-stream { min-width: 0; }
.ds-section { padding-bottom: clamp(2.5rem, 6vw, 4rem); margin-bottom: clamp(2.5rem, 6vw, 4rem); border-bottom: 1px solid var(--line); position: relative; }
.ds-section:last-of-type { border-bottom: none; }
.ds-num { font-family: var(--mono); font-size: 0.85rem; color: var(--teal-deep); display: block; margin-bottom: 0.5rem; }
.ds-title { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: clamp(1.6rem, 1rem + 2vw, 2.4rem); letter-spacing: -0.03em; margin-bottom: 1rem; }
.ds-soon { font-family: var(--mono); font-size: 0.68rem; vertical-align: middle; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--green); border: 1px solid oklch(0.87 0.17 150 / 0.4); border-radius: var(--r-pill); padding: 0.15rem 0.6rem; margin-left: 0.5rem; }
.ds-examples { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: 0.6rem; }
.ds-examples li { position: relative; padding-left: 1.6rem; color: var(--ink-dim); }
.ds-examples li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 8px var(--teal-glow); }
.ds-use { color: var(--muted); padding: 1.1rem 1.3rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.ds-close { text-align: center; max-width: 56ch; margin: 1rem auto 0; display: grid; justify-items: center; gap: 1rem; }
.ds-close .store-badges { justify-content: center; }

/* Invest */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.two-col .eyebrow { margin-bottom: 0.9rem; }
.two-col .h2 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); margin-bottom: 0.9rem; }
.vs-section { background: var(--bg-deep); }
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.vs-col { padding: clamp(1.5rem, 3vw, 2rem); border-radius: var(--r-lg); border: 1px solid var(--line); }
.vs-us { background: linear-gradient(160deg, oklch(0.22 0.04 188 / 0.6), var(--surface)); border-color: oklch(0.84 0.13 188 / 0.3); }
.vs-them { background: var(--surface); }
.vs-head { margin-bottom: 1.2rem; }
.vs-badge { font-family: var(--mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.3rem 0.8rem; border-radius: var(--r-pill); }
.vs-badge.ok { color: var(--bg-deep); background: var(--teal); }
.vs-badge.no { color: var(--muted); border: 1px solid var(--line-solid); }
.vs-col ul { list-style: none; padding: 0; display: grid; gap: 0.75rem; }
.vs-col li { position: relative; padding-left: 1.8rem; color: var(--ink-dim); }
.vs-us li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.vs-them li::before { content: "✕"; position: absolute; left: 0; color: oklch(0.7 0.12 25); font-weight: 700; }
.vs-them li { color: var(--muted); }

.market { background: var(--bg); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }
.stat { padding: clamp(1.5rem, 3vw, 2rem); border-radius: var(--r-lg); border: 1px solid var(--line);
  background: radial-gradient(120% 100% at 50% 0%, oklch(0.21 0.03 188 / 0.6), var(--surface)); }
.stat-num { font-family: var(--display); font-weight: 800; color: var(--teal); font-size: clamp(2.4rem, 1.5rem + 3vw, 3.6rem);
  line-height: 1; letter-spacing: -0.03em; display: block; margin-bottom: 0.6rem; text-shadow: 0 0 30px var(--teal-glow); }
.stat p { color: var(--muted); font-size: 0.95rem; }

.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.why-card { padding: 1.5rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.why-i { font-family: var(--mono); color: var(--teal-deep); font-size: 0.95rem; display: block; margin-bottom: 0.7rem; }
.why-card p { color: var(--ink-dim); }

.built { background: var(--bg-deep); }
.built-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1.5rem; max-width: 980px; }
.built-list li { position: relative; padding-left: 1.8rem; color: var(--ink-dim); }
.built-list li::before { content: ""; position: absolute; left: 0; top: 0.4em; width: 14px; height: 14px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%2370ebaf' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.built-live { color: var(--ink); font-weight: 600; }
.disclaimer-section { padding-block: clamp(2rem, 4vw, 3rem); }

/* Support */
.support-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.support-card { display: block; padding: clamp(1.5rem, 3vw, 2rem); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface);
  transition: transform 0.5s var(--ease-expo), border-color 0.3s, box-shadow 0.3s; }
.support-card:hover { transform: translateY(-4px); border-color: oklch(0.84 0.13 188 / 0.4); box-shadow: 0 18px 50px oklch(0.05 0.02 205 / 0.5); }
.support-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; color: var(--teal);
  background: oklch(0.84 0.13 188 / 0.12); box-shadow: inset 0 0 0 1px oklch(0.84 0.13 188 / 0.25); margin-bottom: 1rem; }
.support-card h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.support-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1rem; }
.support-link { color: var(--teal); font-weight: 600; font-size: 0.9rem; }

.faq { background: var(--bg-deep); }
.faq-wrap { max-width: 820px; }
.faq-list { display: grid; gap: 0.75rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; font-family: var(--display); font-weight: 600;
  color: var(--ink); font-size: 1.05rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron { flex: none; width: 12px; height: 12px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: rotate(45deg); transition: transform 0.3s var(--ease); margin-top: -4px; }
.faq-item[open] .faq-chevron { transform: rotate(-135deg); margin-top: 2px; }
.faq-a { padding: 0 1.3rem 1.2rem; color: var(--ink-dim); }
.faq-a a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }

/* Legal pages */
.legal { padding-top: clamp(8rem, 15vh, 10rem); padding-bottom: clamp(3rem, 8vh, 6rem); }
.legal-inner { max-width: 760px; }
.legal-title { font-family: var(--display); font-weight: 800; color: var(--ink); font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.4rem);
  letter-spacing: -0.04em; margin: 0.8rem 0 1.2rem; }
.legal-lead { font-size: 1.15rem; color: var(--ink-dim); line-height: 1.6; margin-bottom: 2rem; }
.legal-inner h2 { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 1.4rem; margin: 2rem 0 0.9rem; letter-spacing: -0.02em; }
.legal-inner p { color: var(--ink-dim); margin-bottom: 1rem; }
.legal-inner a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.legal-steps { color: var(--ink-dim); padding-left: 1.3rem; display: grid; gap: 0.6rem; margin-bottom: 1.2rem; }
.legal-steps li { padding-left: 0.3rem; }
.legal-note { padding: 1.2rem 1.4rem; border: 1px solid var(--line-solid); border-radius: var(--r); background: var(--surface); color: var(--ink-dim); margin: 1.4rem 0; }
.legal-callout { padding: 1.4rem 1.6rem; border: 1.5px dashed oklch(0.84 0.13 188 / 0.5); border-radius: var(--r-lg);
  background: oklch(0.84 0.13 188 / 0.05); margin: 1.6rem 0; }
.legal-callout h2 { margin-top: 0; color: var(--teal); }
.legal-fine { font-size: 0.85rem; color: var(--muted); margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.legal-meta { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); margin-bottom: 1.6rem; }
.legal-inner h3 { font-family: var(--display); font-weight: 600; color: var(--ink-dim); font-size: 1.08rem; margin: 1.5rem 0 0.5rem; letter-spacing: -0.01em; }
.legal-inner ul { color: var(--ink-dim); padding-left: 1.3rem; display: grid; gap: 0.5rem; margin: 0 0 1.2rem; }
.legal-inner li { line-height: 1.6; }
.legal-inner strong { color: var(--ink); font-weight: 600; }
.table-wrap { overflow-x: auto; margin: 1.4rem 0; }
.legal-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.legal-table th, .legal-table td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); }
.legal-table th { font-family: var(--mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--teal); }
.legal-table td { color: var(--ink-dim); }

@media (max-width: 920px) {
  .ds-layout { grid-template-columns: 1fr; }
  .ds-nav { position: relative; top: auto; display: flex; flex-wrap: wrap; gap: 0.5rem; border: none; margin-bottom: 1rem; }
  .ds-nav ul { display: flex; flex-wrap: wrap; gap: 0.5rem; border: none; }
  .ds-nav a { border: 1px solid var(--line-solid); border-radius: var(--r-pill); padding: 0.4rem 0.9rem; margin: 0; font-size: 0.82rem; }
  .ds-nav a.is-active, .ds-nav a:hover { border-color: var(--teal); }
}
@media (max-width: 760px) {
  .two-col, .vs-grid, .mv-grid, .built-list { grid-template-columns: 1fr; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js .reveal[data-reveal] { opacity: 1 !important; transform: none !important; }
  .merge-core { transform: scale(1); opacity: 1; }
  .merge-stage .frag { opacity: 1; }
  .eyebrow .dot, .ps-dot, .scroll-hint span { animation: none; }
  .hero-canvas { display: none; }
}
