/* ============================================================
   Relyi — Marketing Site
   Design tokens mirror the Relyi Flutter design system
   (Instrument Serif + Inter, warm cream / slate-navy palette)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  /* surfaces */
  --bg:#F4EFE6;
  --bg-soft:#F9F5EC;
  --surface:#FFFFFF;
  --surface-2:#F1EBDF;

  /* ink */
  --ink:#14202B;
  --ink-2:#4A5867;
  --ink-3:#8693A2;
  --ink-4:#B8C1CC;

  /* hairlines */
  --hair: rgba(20,32,43,.08);
  --hair-strong: rgba(20,32,43,.16);

  /* brand */
  --accent:#2A3F55;
  --accent-deep:#14202B;
  --accent-soft:#D8E0E8;
  --accent-tint:#ECF0F4;

  /* warm secondary */
  --warm:#C4986E;
  --warm-deep:#8A6647;
  --warm-soft:#ECDCC7;
  --warm-tint:#F6ECDE;

  /* emotional palette */
  --joy:#E0A86A;
  --calm:#8AA9C2;
  --tender:#C997A6;
  --tension:#B08576;
  --steady:#91A48A;
  --reflective:#9D92B0;

  /* twilight */
  --twilight-bg:#2B1F3A;
  --twilight-mid:#1D1730;
  --nightsky-bg:#181228;
  --twilight-surface: rgba(255,255,255,.06);
  --twilight-hair: rgba(255,255,255,.1);
  --twilight-ink: #F3EFE9;
  --twilight-ink-2: #C9C1D6;

  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease: cubic-bezier(.22,1,.36,1);
  --ease-soft: cubic-bezier(.16,.84,.44,1);

  --container: 1180px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  background:var(--bg);
  color:var(--ink);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
ul{ list-style:none; }

.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 32px;
}

::selection{ background:var(--warm-soft); color:var(--ink); }

/* subtle film-grain overlay for premium texture */
body::before{
  content:'';
  position:fixed; inset:0;
  pointer-events:none;
  z-index:9999;
  opacity:.025;
  mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- type ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--sans); font-size:12.5px; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--warm-deep);
}
.eyebrow::before{
  content:''; width:6px; height:6px; border-radius:50%;
  background:var(--warm); box-shadow:0 0 0 4px var(--warm-soft);
}
.section-dark .eyebrow{ color:var(--tender); }
.section-dark .eyebrow::before{ background:var(--tender); box-shadow:0 0 0 4px rgba(201,151,166,.25); }

h1,h2,h3,h4{ font-family:var(--serif); font-weight:400; color:var(--ink); letter-spacing:-.01em; }
.h-display{ font-size:clamp(40px,7vw,84px); line-height:.98; font-style:italic; letter-spacing:-.02em; }
.h1{ font-size:clamp(34px,5vw,56px); line-height:1.04; font-style:italic; }
.h2{ font-size:clamp(28px,4vw,42px); line-height:1.08; font-style:italic; }
.h3{ font-size:clamp(22px,2.6vw,28px); line-height:1.15; }
.section-dark h1,.section-dark h2,.section-dark h3{ color:var(--twilight-ink); }

.lede{ font-size:clamp(17px,1.6vw,20px); line-height:1.6; color:var(--ink-2); font-weight:400; }
.section-dark .lede{ color:var(--twilight-ink-2); }

.label{ font-family:var(--sans); font-weight:600; font-size:13px; letter-spacing:.02em; color:var(--ink-3); }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:15px 28px; border-radius:100px;
  font-family:var(--sans); font-weight:600; font-size:14.5px;
  border:1px solid transparent; white-space:nowrap;
  transition:transform .45s var(--ease), box-shadow .45s var(--ease), background .3s ease, border-color .3s ease;
}
.btn-primary{
  background:var(--accent-deep); color:#fff;
  box-shadow:0 1px 2px rgba(20,32,43,.1), 0 12px 24px -12px rgba(20,32,43,.5);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 1px 2px rgba(20,32,43,.12), 0 20px 32px -14px rgba(20,32,43,.6); }
.btn-ghost{
  background:transparent; color:var(--ink); border-color:var(--hair-strong);
}
.btn-ghost:hover{ border-color:var(--ink-3); transform:translateY(-2px); }
.section-dark .btn-ghost{ color:var(--twilight-ink); border-color:var(--twilight-hair); }
.section-dark .btn-ghost:hover{ border-color:rgba(255,255,255,.35); }
.btn-light{ background:#fff; color:var(--accent-deep); }
.btn-light:hover{ transform:translateY(-2px); box-shadow:0 16px 30px -14px rgba(0,0,0,.35); }
.btn-sm{ padding:11px 20px; font-size:13.5px; }
.btn svg{ width:16px; height:16px; }

/* ============================================================
   NAV
   ============================================================ */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  padding:18px 0;
  transition:padding .4s var(--ease), background .4s ease, box-shadow .4s ease, border-color .4s ease;
  border-bottom:1px solid transparent;
}
.nav.scrolled{
  padding:12px 0;
  background:rgba(244,239,230,.72);
  backdrop-filter:blur(16px) saturate(160%);
  -webkit-backdrop-filter:blur(16px) saturate(160%);
  border-bottom:1px solid var(--hair);
}
.nav-inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand{ display:flex; align-items:center; gap:10px; font-family:var(--sans); font-weight:700; font-size:19px; letter-spacing:-.02em; }
.brand-orb{ width:26px; height:26px; }
.nav-links{ display:flex; align-items:center; gap:30px; }
.nav-links a{
  font-size:14px; font-weight:500; color:var(--ink-2);
  position:relative; padding:4px 0;
  transition:color .3s ease;
}
.nav-links a::after{
  content:''; position:absolute; left:0; bottom:-2px; width:0; height:1px;
  background:var(--ink); transition:width .35s var(--ease);
}
.nav-links a:hover{ color:var(--ink); }
.nav-links a:hover::after{ width:100%; }
.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-burger{ display:none; }

@media (max-width:900px){
  .nav-links{ display:none; }
  .nav-cta .btn-ghost{ display:none; }
}

/* ============================================================
   ORB — brand mark, breathing radial-gradient sphere
   ============================================================ */
.orb{
  position:relative;
  border-radius:50%;
  background:radial-gradient(circle at 32% 28%, #6b8aa8 0%, var(--accent) 42%, var(--accent-deep) 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08) inset,
    0 20px 60px -10px rgba(42,63,85,.55);
  animation: breathe 5.2s ease-in-out infinite;
}
.orb::after{
  content:''; position:absolute; inset:14%;
  border-radius:50%;
  background:radial-gradient(circle at 34% 26%, rgba(255,255,255,.55), rgba(255,255,255,0) 60%);
  filter:blur(1px);
}
@keyframes breathe{
  0%,100%{ transform:scale(1); filter:brightness(1); }
  50%{ transform:scale(1.055); filter:brightness(1.08); }
}

.hero-orb-wrap{
  position:relative;
  height:200px;
  display:flex; align-items:center; justify-content:center;
  pointer-events:none;
  margin-bottom:8px;
}
.hero-orb{
  width:min(26vw,190px); height:min(26vw,190px);
  position:relative;
}
.hero-orb .orb{ width:100%; height:100%; }
.hero-orb .glow{
  position:absolute; inset:-60%;
  border-radius:50%;
  background:radial-gradient(circle, rgba(138,169,194,.4), rgba(138,169,194,0) 65%);
  filter:blur(24px);
  animation: breathe 5.2s ease-in-out infinite;
}
.hero-orb .ring{
  position:absolute; inset:-30%;
  border-radius:50%;
  border:1px solid var(--hair-strong);
  animation: spin 60s linear infinite;
}
.hero-orb .ring::before{
  content:''; position:absolute; top:-3px; left:50%; width:6px; height:6px;
  margin-left:-3px; border-radius:50%; background:var(--warm);
  box-shadow:0 0 12px 2px var(--warm);
}
.hero-orb .ring2{ inset:-46%; animation-duration:90s; animation-direction:reverse; opacity:.6; }
@keyframes spin{ to{ transform:rotate(360deg); } }

.particle{
  position:absolute; border-radius:50%;
  background:var(--warm);
  opacity:.5;
  animation: float 9s ease-in-out infinite;
}
@keyframes float{
  0%,100%{ transform:translateY(0) translateX(0); }
  50%{ transform:translateY(-26px) translateX(10px); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative;
  padding:calc(100px + 6vw) 0 120px;
  overflow:hidden;
  background:
    radial-gradient(1200px 700px at 50% -10%, var(--bg-soft), var(--bg) 55%);
}
.hero-content{ position:relative; z-index:2; text-align:center; max-width:840px; margin:0 auto; }
.hero .eyebrow{ justify-content:center; margin-bottom:22px; }
.hero h1{ margin-bottom:22px; }
.hero h1 em{ font-style:italic; color:var(--warm-deep); }
.hero .lede{ max-width:600px; margin:0 auto 40px; }
.hero-ctas{ display:flex; align-items:center; justify-content:center; gap:14px; flex-wrap:wrap; margin-bottom:56px; }

.store-badges{ display:flex; align-items:center; justify-content:center; gap:14px; flex-wrap:wrap; }
.store-badge{
  display:flex; align-items:center; gap:10px;
  padding:10px 18px; border-radius:14px;
  background:var(--surface); border:1px solid var(--hair);
  box-shadow:0 1px 2px rgba(20,32,43,.05);
  font-size:13px;
}
.store-badge .stack{ text-align:left; line-height:1.2; }
.store-badge .stack .small{ font-size:10.5px; color:var(--ink-3); display:block; }
.store-badge .stack .big{ font-weight:700; font-size:14px; color:var(--ink); }
.store-badge svg{ width:22px; height:22px; color:var(--ink); }
.store-badge .tag{
  margin-left:6px; padding:3px 8px; border-radius:100px;
  background:var(--warm-tint); color:var(--warm-deep);
  font-size:10px; font-weight:700; letter-spacing:.04em; text-transform:uppercase;
}

.hero-visual{ position:relative; height:0; }

/* scroll cue */
.scroll-cue{
  position:absolute; bottom:28px; left:50%; transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:10px;
  color:var(--ink-3); font-size:11px; letter-spacing:.12em; text-transform:uppercase;
  z-index:2;
}
.scroll-cue .line{ width:1px; height:34px; background:linear-gradient(var(--ink-3), transparent); animation:scrollcue 2s ease-in-out infinite; }
@keyframes scrollcue{ 0%{ opacity:0; transform:scaleY(0);} 40%{opacity:1; transform:scaleY(1);} 100%{opacity:0; transform:scaleY(1) translateY(10px);} }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-wrap{
  border-top:1px solid var(--hair); border-bottom:1px solid var(--hair);
  background:var(--surface-2);
  overflow:hidden;
  padding:20px 0;
}
.marquee{
  display:flex; width:max-content;
  animation:marquee 32s linear infinite;
}
.marquee span{
  font-family:var(--serif); font-style:italic; font-size:22px;
  color:var(--ink-3); padding:0 28px; white-space:nowrap;
  display:flex; align-items:center; gap:28px;
}
.marquee span::after{ content:'✦'; font-family:var(--sans); font-size:12px; color:var(--warm); }
@keyframes marquee{ from{ transform:translateX(0);} to{ transform:translateX(-50%);} }

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section{ padding:118px 0; position:relative; }
.section-tight{ padding:90px 0; }
.section-header{ max-width:640px; margin-bottom:64px; }
.section-header.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-dark{
  background:linear-gradient(180deg, var(--twilight-bg), var(--twilight-mid) 55%, var(--nightsky-bg));
  color:var(--twilight-ink);
}
.section-dark::before{
  content:'';
  position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(700px 420px at 15% 10%, rgba(157,146,176,.18), transparent 60%),
             radial-gradient(600px 400px at 85% 90%, rgba(201,151,166,.14), transparent 60%);
}

/* reveal-on-scroll */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .9s var(--ease-soft), transform .9s var(--ease-soft); }
.reveal.in{ opacity:1; transform:translateY(0); }
.reveal-scale{ opacity:0; transform:scale(.94); transition:opacity 1s var(--ease-soft), transform 1s var(--ease-soft); }
.reveal-scale.in{ opacity:1; transform:scale(1); }
.stagger > *{ transition-delay:calc(var(--i,0) * 90ms); }

/* ============================================================
   PROBLEM
   ============================================================ */
.pain-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--twilight-hair); border:1px solid var(--twilight-hair); border-radius:20px; overflow:hidden; }
.pain-card{ background:rgba(255,255,255,.03); padding:36px 30px; }
.pain-card .num{ font-family:var(--serif); font-style:italic; font-size:34px; color:var(--tender); margin-bottom:16px; display:block; }
.pain-card p{ color:var(--twilight-ink-2); font-size:15px; line-height:1.65; }
.pain-card h4{ color:var(--twilight-ink); font-size:18px; margin-bottom:10px; font-family:var(--sans); font-weight:600; }
@media (max-width:800px){ .pain-grid{ grid-template-columns:1fr; } }

/* ============================================================
   PILLARS
   ============================================================ */
.pillars{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.pillar{
  background:var(--surface); border:1px solid var(--hair); border-radius:22px;
  padding:34px 30px; transition:transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s ease;
}
.pillar:hover{ transform:translateY(-6px); box-shadow:0 24px 48px -24px rgba(20,32,43,.22); border-color:var(--hair-strong); }
.pillar .icon-wrap{
  width:52px; height:52px; border-radius:16px; margin-bottom:22px;
  display:flex; align-items:center; justify-content:center;
  background:var(--accent-tint); color:var(--accent);
}
.pillar .icon-wrap svg{ width:24px; height:24px; }
.pillar h3{ font-family:var(--sans); font-weight:700; font-size:19px; margin-bottom:10px; }
.pillar p{ color:var(--ink-2); font-size:14.5px; line-height:1.65; }
@media (max-width:800px){ .pillars{ grid-template-columns:1fr; } }

/* ============================================================
   FEATURE ROWS (with phone mockups)
   ============================================================ */
.feature-row{
  display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center;
  padding:90px 0; border-top:1px solid var(--hair);
}
.feature-row:first-of-type{ border-top:none; }
.feature-row.reverse{ direction:rtl; }
.feature-row.reverse > *{ direction:ltr; }
.feature-text .tag-row{ display:flex; gap:8px; flex-wrap:wrap; margin-top:24px; }
.feature-text .tag{
  padding:6px 13px; border-radius:100px; background:var(--surface-2);
  font-size:12px; font-weight:600; color:var(--ink-2); border:1px solid var(--hair);
}
.feature-text h3{ margin:14px 0 16px; }
.feature-text p{ color:var(--ink-2); font-size:15.5px; line-height:1.7; margin-bottom:8px; }
.feature-visual{ display:flex; justify-content:center; }
@media (max-width:900px){
  .feature-row, .feature-row.reverse{ grid-template-columns:1fr; direction:ltr; gap:44px; padding:60px 0; }
  .feature-visual{ order:-1; }
}

/* ---------- phone mockup ---------- */
.phone{
  width:272px; aspect-ratio:272/560;
  background:var(--bg-soft);
  border-radius:44px;
  padding:12px;
  border:1px solid rgba(20,32,43,.06);
  box-shadow:
    0 2px 4px rgba(20,32,43,.06),
    0 40px 80px -30px rgba(20,32,43,.35),
    0 0 0 10px rgba(20,32,43,.92);
  position:relative;
  transition:transform .1s linear;
  transform-style:preserve-3d;
  will-change:transform;
  animation:phonefloat 7s ease-in-out infinite;
}
@keyframes phonefloat{ 0%,100%{ transform:translateY(0);} 50%{ transform:translateY(-12px);} }
.phone-notch{
  position:absolute; top:12px; left:50%; transform:translateX(-50%);
  width:90px; height:22px; background:#14202B; border-radius:100px; z-index:5;
}
.phone-screen{
  width:100%; height:100%; border-radius:32px; overflow:hidden;
  background:var(--surface); position:relative;
  display:flex; flex-direction:column;
}
.ps-status{ display:flex; justify-content:space-between; padding:16px 20px 4px; font-size:11px; font-weight:600; color:var(--ink-3); }
.ps-head{ padding:6px 18px 12px; }
.ps-head .t{ font-family:var(--sans); font-weight:700; font-size:17px; color:var(--ink); }
.ps-head .s{ font-size:11.5px; color:var(--ink-3); margin-top:2px; }
.ps-body{ flex:1; padding:0 16px 16px; overflow:hidden; }
.ps-card{ background:var(--surface); border:1px solid var(--hair); border-radius:16px; padding:14px; margin-bottom:10px; }
.ps-card.tint{ background:var(--accent-tint); border-color:transparent; }
.ps-card.warm{ background:var(--warm-tint); border-color:transparent; }
.ps-row{ display:flex; justify-content:space-between; align-items:center; }
.ps-label{ font-size:10.5px; color:var(--ink-3); font-weight:600; text-transform:uppercase; letter-spacing:.04em; }
.ps-value{ font-family:var(--serif); font-style:italic; font-size:26px; color:var(--ink); margin-top:2px; }
.chip{ display:inline-flex; padding:4px 10px; border-radius:100px; font-size:9.5px; font-weight:700; }
.chip.calm{ background:var(--calm); color:#fff; }
.chip.tender{ background:var(--tender); color:#fff; }
.chip.steady{ background:var(--steady); color:#fff; }
.chip.warm{ background:var(--warm); color:#fff; }
.chip.reflective{ background:var(--reflective); color:#fff; }
.chip.tension{ background:var(--tension); color:#fff; }
.dot-row{ display:flex; gap:6px; align-items:flex-end; height:44px; margin-top:10px; }
.dot-row i{ flex:1; border-radius:4px; background:var(--accent-soft); }
.bubble{ max-width:80%; padding:10px 13px; border-radius:16px; font-size:11.5px; line-height:1.45; margin-bottom:8px; }
.bubble.them{ background:var(--surface-2); border-bottom-left-radius:4px; }
.bubble.orb-msg{ background:var(--accent-tint); border-bottom-left-radius:4px; display:flex; gap:8px; align-items:flex-start; }
.bubble.orb-msg .mini-orb{ width:18px; height:18px; flex-shrink:0; margin-top:1px; }
.meter{ height:6px; border-radius:100px; background:var(--surface-2); overflow:hidden; margin-top:6px; }
.meter i{ display:block; height:100%; border-radius:100px; }
.trait-pill{ padding:5px 11px; border-radius:100px; background:var(--surface-2); font-size:10.5px; font-weight:600; color:var(--ink-2); }
.trait-wrap{ display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.avatar{ width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-family:var(--serif); font-style:italic; font-size:16px; color:#fff; }
.timeline-item{ display:flex; gap:10px; margin-bottom:12px; }
.timeline-dot{ width:8px; height:8px; border-radius:50%; margin-top:5px; flex-shrink:0; }
.timeline-item .tt{ font-size:11px; font-weight:600; color:var(--ink); }
.timeline-item .ts{ font-size:9.5px; color:var(--ink-3); margin-top:1px; }

/* ============================================================
   VIRTUAL PERSON SPOTLIGHT
   ============================================================ */
.spotlight{
  background:var(--accent-deep); border-radius:32px; padding:64px;
  display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center;
  position:relative; overflow:hidden; color:#fff;
}
.spotlight::before{
  content:''; position:absolute; inset:0;
  background:radial-gradient(600px 400px at 90% 0%, rgba(138,169,194,.22), transparent 60%),
             radial-gradient(500px 400px at 0% 100%, rgba(196,152,110,.16), transparent 60%);
  pointer-events:none;
}
.spotlight-text{ position:relative; z-index:1; }
.spotlight .eyebrow{ color:var(--warm); }
.spotlight .eyebrow::before{ background:var(--warm); box-shadow:0 0 0 4px rgba(196,152,110,.25); }
.spotlight h2{ color:#fff; margin:16px 0 18px; }
.spotlight p.lede{ color:rgba(255,255,255,.68); margin-bottom:28px; }
.spotlight-features{ display:grid; gap:16px; }
.spotlight-feature{ display:flex; gap:14px; }
.spotlight-feature .num{ font-family:var(--serif); font-style:italic; color:var(--warm); font-size:20px; width:28px; flex-shrink:0; }
.spotlight-feature h5{ font-family:var(--sans); font-weight:600; font-size:14.5px; color:#fff; margin-bottom:3px; }
.spotlight-feature p{ font-size:13px; color:rgba(255,255,255,.55); line-height:1.5; }
.spotlight-future{
  margin-top:26px; padding:14px 18px; border-radius:14px;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1);
  display:flex; align-items:center; gap:12px;
}
.spotlight-future .tag{ padding:4px 10px; border-radius:100px; background:var(--warm); color:#241a10; font-size:10px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; flex-shrink:0; }
.spotlight-future p{ font-size:12.5px; color:rgba(255,255,255,.7); line-height:1.5; }
@media (max-width:900px){
  .spotlight{ grid-template-columns:1fr; padding:40px 26px; border-radius:24px; }
}

/* ============================================================
   ARCHITECTURE
   ============================================================ */
.arch-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.arch-card{
  border:1px solid var(--twilight-hair); border-radius:18px; padding:26px 22px;
  background:rgba(255,255,255,.03);
  transition:transform .5s var(--ease), background .4s ease;
}
.arch-card:hover{ transform:translateY(-5px); background:rgba(255,255,255,.06); }
.arch-card .idx{ font-family:var(--serif); font-style:italic; color:var(--calm); font-size:15px; margin-bottom:14px; }
.arch-card h4{ color:var(--twilight-ink); font-family:var(--sans); font-weight:600; font-size:15.5px; margin-bottom:8px; }
.arch-card p{ color:var(--twilight-ink-2); font-size:12.5px; line-height:1.6; }
.arch-flow{ display:flex; align-items:center; justify-content:center; gap:10px; margin-top:44px; opacity:.5; font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--twilight-ink-2); }
.arch-flow .seg{ width:60px; height:1px; background:linear-gradient(90deg, transparent, var(--twilight-ink-2), transparent); }
@media (max-width:900px){ .arch-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .arch-grid{ grid-template-columns:1fr; } }

/* ============================================================
   PRIVACY
   ============================================================ */
.privacy-wrap{ display:grid; grid-template-columns:.9fr 1.1fr; gap:64px; align-items:center; }
.privacy-list{ display:grid; gap:18px; margin-top:30px; }
.privacy-item{ display:flex; gap:14px; align-items:flex-start; }
.privacy-item .ic{
  width:34px; height:34px; border-radius:10px; flex-shrink:0;
  background:var(--accent-tint); border:1px solid var(--hair);
  display:flex; align-items:center; justify-content:center; color:var(--accent);
}
.privacy-item .ic svg{ width:16px; height:16px; }
.privacy-item h5{ font-family:var(--sans); font-weight:600; font-size:14.5px; color:var(--ink); margin-bottom:3px; }
.privacy-item p{ font-size:13px; color:var(--ink-2); line-height:1.55; }
.privacy-visual{
  border-radius:24px; border:1px solid rgba(255,255,255,.08);
  background:var(--accent-deep); padding:36px;
  position:relative;
}
.privacy-visual .lock-orb{ width:90px; height:90px; margin:0 auto 26px; position:relative; }
.privacy-badge{ display:flex; justify-content:space-between; align-items:center; padding:14px 16px; border-radius:12px; background:rgba(255,255,255,.05); margin-bottom:10px; font-size:12.5px; color:rgba(255,255,255,.55); }
.privacy-badge strong{ color:#fff; font-weight:600; }
.privacy-badge .yes{ color:var(--steady); font-weight:700; font-size:11px; }
@media (max-width:900px){ .privacy-wrap{ grid-template-columns:1fr; } }

/* ============================================================
   USERS GRID
   ============================================================ */
.users-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.user-card{
  border:1px solid var(--hair); border-radius:20px; padding:28px 24px;
  background:var(--surface);
  transition:transform .5s var(--ease), box-shadow .5s var(--ease);
}
.user-card:hover{ transform:translateY(-6px); box-shadow:0 24px 44px -26px rgba(20,32,43,.25); }
.user-card .icon-wrap{ width:44px; height:44px; border-radius:13px; display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.user-card .icon-wrap svg{ width:20px; height:20px; color:#fff; }
.user-card h4{ font-family:var(--sans); font-weight:700; font-size:16px; margin-bottom:10px; }
.user-card ul li{ font-size:12.5px; color:var(--ink-2); padding:4px 0; position:relative; padding-left:14px; }
.user-card ul li::before{ content:'—'; position:absolute; left:0; color:var(--ink-4); }
@media (max-width:900px){ .users-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .users-grid{ grid-template-columns:1fr; } }

/* ============================================================
   ROADMAP
   ============================================================ */
.roadmap{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; position:relative; }
.roadmap::before{
  content:''; position:absolute; top:15px; left:6%; right:6%; height:1px;
  background:var(--hair-strong);
}
.road-step{ position:relative; padding-top:44px; }
.road-step .marker{
  position:absolute; top:0; left:0; width:32px; height:32px; border-radius:50%;
  background:var(--surface); border:1px solid var(--hair-strong);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--serif); font-style:italic; font-size:14px; color:var(--ink-2);
  z-index:1;
}
.road-step.active .marker{ background:var(--accent-deep); border-color:var(--accent-deep); color:#fff; }
.road-step .phase-tag{ font-size:10.5px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--warm-deep); margin-bottom:6px; }
.road-step h5{ font-family:var(--sans); font-weight:700; font-size:15px; margin-bottom:8px; }
.road-step ul li{ font-size:12.5px; color:var(--ink-2); padding:3px 0; }
@media (max-width:900px){ .roadmap{ grid-template-columns:1fr 1fr; row-gap:44px; } .roadmap::before{ display:none; } }
@media (max-width:560px){ .roadmap{ grid-template-columns:1fr; } }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-section{
  position:relative; border-radius:32px; margin:0 32px;
  padding:90px 40px; text-align:center; overflow:hidden;
  background:radial-gradient(1000px 500px at 50% 0%, #24354a, var(--accent-deep) 60%);
  color:#fff;
}
.cta-section h2{ color:#fff; max-width:680px; margin:0 auto 18px; }
.cta-section .lede{ color:rgba(255,255,255,.65); max-width:520px; margin:0 auto 40px; }
.waitlist-form{ display:flex; gap:10px; max-width:420px; margin:0 auto 36px; }
.waitlist-form input{
  flex:1; padding:14px 18px; border-radius:100px; border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06); color:#fff; font-size:14px; font-family:var(--sans);
  outline:none; transition:border-color .3s ease, background .3s ease;
}
.waitlist-form input::placeholder{ color:rgba(255,255,255,.4); }
.waitlist-form input:focus{ border-color:rgba(255,255,255,.4); background:rgba(255,255,255,.1); }
.waitlist-note{ font-size:11.5px; color:rgba(255,255,255,.4); margin-top:-24px; margin-bottom:36px; }
.cta-section .store-badges .store-badge{ background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.14); }
.cta-section .store-badge .big{ color:#fff; }
.cta-section .store-badge svg{ color:#fff; }
.cta-section .store-badge .small{ color:rgba(255,255,255,.45); }

@media (max-width:560px){
  .waitlist-form{ flex-direction:column; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer{ padding:80px 0 40px; }
.footer-top{ display:flex; justify-content:space-between; gap:40px; flex-wrap:wrap; padding-bottom:50px; border-bottom:1px solid var(--hair); }
.footer-brand .brand{ margin-bottom:14px; }
.footer-brand p{ font-size:13.5px; color:var(--ink-3); max-width:280px; line-height:1.6; }
.footer-cols{ display:flex; gap:64px; flex-wrap:wrap; }
.footer-col h6{ font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--ink-3); margin-bottom:16px; }
.footer-col a, .footer-col span{ display:block; font-size:13.5px; color:var(--ink-2); padding:5px 0; }
.footer-col a:hover{ color:var(--ink); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding-top:28px; flex-wrap:wrap; gap:12px; }
.footer-bottom p{ font-size:12.5px; color:var(--ink-3); }
.footer-legal{ display:flex; gap:20px; }
.footer-legal a{ font-size:12.5px; color:var(--ink-3); }
.footer-legal a:hover{ color:var(--ink); }

/* count-up numbers */
.stat-row{ display:flex; gap:56px; flex-wrap:wrap; }
.stat{ min-width:120px; }
.stat .num{ font-family:var(--serif); font-style:italic; font-size:44px; color:var(--ink); line-height:1; }
.stat .lbl{ font-size:12.5px; color:var(--ink-3); margin-top:8px; }
.section-dark .stat .num{ color:var(--twilight-ink); }
.section-dark .stat .lbl{ color:var(--twilight-ink-2); }

@media (max-width:640px){
  .container{ padding:0 20px; }
  .section{ padding:76px 0; }
  .cta-section{ margin:0 16px; padding:64px 24px; }
}

/* ============================================================
   EARLY ACCESS MODAL
   ============================================================ */
.modal-overlay{
  position:fixed; inset:0; z-index:2000;
  display:flex; align-items:center; justify-content:center;
  padding:24px;
  background:rgba(20,32,43,.5);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  opacity:0; visibility:hidden;
  transition:opacity .4s var(--ease-soft), visibility 0s linear .4s;
}
.modal-overlay.open{
  opacity:1; visibility:visible;
  transition:opacity .4s var(--ease-soft), visibility 0s linear 0s;
}
.modal{
  position:relative;
  width:100%; max-width:440px;
  max-height:88vh; overflow-y:auto;
  background:var(--surface);
  border-radius:28px;
  padding:46px 36px 38px;
  box-shadow:0 40px 100px -20px rgba(20,32,43,.45);
  transform:scale(.94) translateY(16px);
  opacity:0;
  transition:transform .45s var(--ease-soft), opacity .4s var(--ease-soft);
}
.modal-overlay.open .modal{ transform:scale(1) translateY(0); opacity:1; }

.modal-close{
  position:absolute; top:18px; right:18px;
  width:34px; height:34px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:var(--surface-2); border:1px solid var(--hair);
  color:var(--ink-2);
  transition:background .25s ease, transform .3s ease, color .25s ease;
}
.modal-close:hover{ background:var(--accent-tint); color:var(--ink); transform:rotate(90deg); }
.modal-close svg{ width:14px; height:14px; }

.modal-panel{ text-align:center; }
.modal-orb{ width:56px; height:56px; margin:0 auto 18px; }
.modal-orb .orb{ width:100%; height:100%; animation-duration:4s; }
.modal-panel .eyebrow{ justify-content:center; }
.modal-panel h3{ text-align:center; }
.modal-sub{ font-size:13.5px; color:var(--ink-2); line-height:1.6; margin-top:10px; max-width:340px; margin-left:auto; margin-right:auto; }

.ea-form{ display:grid; gap:14px; margin-top:28px; text-align:left; }
.ea-hp{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
.ea-field{ display:flex; flex-direction:column; gap:7px; }
.ea-field span{ font-size:12px; font-weight:600; color:var(--ink-3); letter-spacing:.02em; }
.ea-field span em{ font-style:normal; font-weight:500; color:var(--ink-4); }
.ea-field input{
  padding:13px 16px; border-radius:12px;
  border:1px solid var(--hair-strong); background:var(--bg-soft);
  font-family:var(--sans); font-size:14.5px; color:var(--ink);
  outline:none; transition:border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.ea-field input::placeholder{ color:var(--ink-4); }
.ea-field input:focus{ border-color:var(--accent); background:var(--surface); box-shadow:0 0 0 4px var(--accent-tint); }
.ea-field input:invalid:not(:placeholder-shown){ border-color:var(--tension); }

.ea-submit{ position:relative; width:100%; margin-top:6px; }
.ea-submit .btn-spinner{
  display:none; position:absolute; left:50%; top:50%;
  width:16px; height:16px; margin:-8px 0 0 -8px;
  border-radius:50%; border:2px solid rgba(255,255,255,.3); border-top-color:#fff;
  animation:spin .7s linear infinite;
}
.ea-submit.loading{ pointer-events:none; opacity:.85; }
.ea-submit.loading .btn-label{ opacity:0; }
.ea-submit.loading .btn-spinner{ display:block; }
.ea-error{ font-size:12.5px; color:var(--tension); text-align:center; min-height:0; margin-top:2px; display:none; }
.ea-error.show{ display:block; }

.modal-success{ display:none; }
.modal-success.show{ display:block; }
.success-orb{ width:64px; height:64px; margin:0 auto 22px; position:relative; }
.success-orb .orb{ width:100%; height:100%; animation:none; }
.success-orb .check{
  position:absolute; inset:0; margin:auto; width:26px; height:26px;
  stroke:#fff; stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round; fill:none;
  stroke-dasharray:30; stroke-dashoffset:30;
  animation:draw-check .5s .15s var(--ease-soft) forwards;
}
@keyframes draw-check{ to{ stroke-dashoffset:0; } }
.modal-success .btn{ margin-top:22px; }

@media (max-width:480px){
  .modal{ padding:38px 24px 30px; border-radius:22px; }
}
