/* ============================================================================
   Signal Society, marketing site
   Design tokens ported 1:1 from canon/tokens.json (the app's source of truth).
   Premium dark · orb-as-presence · warm-gold RESERVED (never decorative).
   ========================================================================== */

:root {
  /* atmosphere */
  --atmo-base:    #050610;
  --atmo-primary: #232E57;
  --atmo-counter: #482A56;
  --atmo-floor:   #11182F;
  --atmo-warm:    #9E6F3E;
  --ink-deep:     #11132A;

  /* orb */
  --orb-glow-mid:    #6B7BC7;
  --orb-glow-outer:  #8394D9;
  --orb-glow-bright: #B4BFEA;
  --orb-core:        #FBF9FD;
  --orb-iris-violet: #8A7BD0;
  --orb-iris-cyan:   #7FB8D9;

  /* text */
  --text-primary:  #F1EFF6;  /* cream */
  --text-muted:    #D4D9F2;  /* muted indigo */
  --text-soft:     rgba(241, 239, 246, 0.62);
  --text-faint:    rgba(241, 239, 246, 0.40);
  --text-headline: #FFFFFF;

  /* RESERVED warm-gold (A.1.1, 10 canonical uses only) */
  --gold:        #FBEAB7;
  --gold-hi:     #FFF6D8;
  --gold-lo:     #D8B069;
  --gold-grad:   linear-gradient(180deg, #FFF3C9 0%, #FBEAB7 45%, #D8B069 100%);

  /* type */
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* spacing scale (canon) */
  --sp-xs: 4px;  --sp-sm: 8px;  --sp-md: 16px; --sp-lg: 24px;
  --sp-xl: 32px; --sp-2xl: 48px; --sp-3xl: 80px;

  --maxw: 1120px;
  --maxw-narrow: 760px;
  --radius: 18px;
  --radius-lg: 28px;

  /* motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--sans);
  color: var(--text-primary);
  background: var(--atmo-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

/* The persistent atmosphere, vertical gradient deep navy → midnight → slate,
   with two soft radial pools (primary indigo + counter violet) for depth. */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(35,46,87,0.55) 0%, transparent 55%),
    radial-gradient(90% 60% at 85% 18%, rgba(72,42,86,0.34) 0%, transparent 60%),
    radial-gradient(80% 50% at 10% 75%, rgba(35,46,87,0.30) 0%, transparent 60%),
    linear-gradient(180deg, #060713 0%, #0a0c1c 30%, #0b1024 60%, #070a18 100%);
}
/* the single persistent orb, a full-viewport canvas behind all content */
#orbStage { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -2; pointer-events: none; }
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------- typography */
h1, h2, h3 { font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 500; }
.eyebrow {
  font-family: var(--sans);
  font-size: 11px; font-weight: 600; letter-spacing: 0.42em;
  text-transform: uppercase; color: var(--text-faint);
  margin-bottom: var(--sp-lg);
}
.lead { color: var(--text-muted); font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; }
.gold-text { color: var(--gold); }
.name-gold {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

a { color: inherit; text-decoration: none; }

/* ------------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { position: relative; padding: clamp(72px, 12vh, 140px) 0; }
.narrow { max-width: var(--maxw-narrow); margin: 0 auto; }
.center { text-align: center; }

/* --------------------------------------------------------------------- nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), padding 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(6, 7, 16, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(241,239,246,0.06);
  padding: 12px 24px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 500; letter-spacing: 0.02em; }
.brand .mark { width: 26px; height: 26px; }
.brand .wordmark { font-size: 15px; color: var(--text-primary); }
.brand .wordmark b { font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 14px; color: var(--text-soft); transition: color 0.25s var(--ease); }
.nav-links a:hover { color: var(--text-primary); }
.nav-cta { display: inline-flex; align-items: center; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--text-primary); margin: 5px 0; transition: 0.3s var(--ease); }

/* ----------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
  padding: 13px 22px; border-radius: 100px; cursor: pointer;
  border: 1px solid transparent; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-ghost { color: var(--text-primary); border-color: rgba(241,239,246,0.18); background: rgba(241,239,246,0.03); }
.btn-ghost:hover { border-color: rgba(241,239,246,0.4); background: rgba(241,239,246,0.07); transform: translateY(-1px); }
/* Warm-ritual gold button, RESERVED for the primary conversion act only (A.1.1 / CTA Tier 3) */
.btn-gold {
  background: var(--gold-grad); color: #2a1f06; font-weight: 700;
  box-shadow: 0 6px 30px rgba(251,234,183,0.18), inset 0 1px 0 rgba(255,255,255,0.5);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 44px rgba(251,234,183,0.30), inset 0 1px 0 rgba(255,255,255,0.6); }
.btn-lg { padding: 16px 30px; font-size: 15px; }

/* ------------------------------------------------------------------- hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; padding-top: 12vh; }
.hero-orb { position: absolute; top: 28%; left: 50%; transform: translate(-50%, -50%); width: min(108vw, 860px); height: min(108vw, 860px); z-index: 0; pointer-events: none; }
/* every orb canvas must fill its container (else the canvas keeps its intrinsic
   300×150 box and the orb renders off-centre / wrong-sized) */
.hero-orb canvas, .finale-orb canvas, .ritual-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* readability scrim, a soft dark pool under the copy so the orb's glow never washes the text */
.hero::after { content: ""; position: absolute; left: 50%; top: 62%; transform: translate(-50%,-50%); width: min(120vw, 1000px); height: 70vh; z-index: 1; pointer-events: none; background: radial-gradient(58% 50% at 50% 50%, rgba(6,7,16,0.78) 0%, rgba(6,7,16,0.42) 45%, transparent 75%); }
.hero-content { position: relative; z-index: 2; width: 100%; max-width: 820px; min-width: 0; padding: 0 24px; margin-top: 11vh; }
.hero h1, .hero .sub { overflow-wrap: break-word; }
.hero h1 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(2.4rem, 7vw, 4.6rem); line-height: 1.08; color: var(--text-headline); text-shadow: 0 2px 40px rgba(6,7,16,0.6); }
.hero h1 .alt { display: block; color: var(--text-muted); }
.hero .sub { margin: 28px auto 0; max-width: 560px; color: var(--text-muted); font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.55; }
.hero .actions { margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .platform { margin-top: 26px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-faint); display: flex; gap: 8px; align-items: center; justify-content: center; }
.scroll-cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--text-faint); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-cue .line { width: 1px; height: 38px; background: linear-gradient(180deg, transparent, var(--text-faint)); animation: cuepulse 2.6s var(--ease) infinite; }
@keyframes cuepulse { 0%,100% { opacity: 0.3; transform: scaleY(0.7); } 50% { opacity: 1; transform: scaleY(1); } }

/* ------------------------------------------------------- reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
/* never hide content from no-JS visitors or crawlers (Apple reviewer / SEO safety) */
@media (scripting: none) { .reveal { opacity: 1 !important; transform: none !important; } }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ------------------------------------------------------------ section head */
.section-head { max-width: 680px; margin: 0 auto var(--sp-3xl); text-align: center; }
.section-head h2 { font-family: var(--serif); font-style: italic; font-size: clamp(1.9rem, 4.2vw, 3rem); color: var(--text-headline); }
.section-head p { margin-top: 20px; color: var(--text-muted); font-size: clamp(1rem, 1.6vw, 1.18rem); }

/* --------------------------------------------------------------- truth/quiet */
.quiet { text-align: center; }
.quiet h2 { font-family: var(--serif); font-style: italic; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.2; color: var(--text-headline); max-width: 16ch; margin: 0 auto; }
.quiet p { margin-top: 28px; color: var(--text-muted); font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 50ch; margin-left: auto; margin-right: auto; }

/* ----------------------------------------------------------- the 3-part wedge */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
  position: relative; padding: 38px 30px 34px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(35,46,87,0.18) 0%, rgba(17,24,47,0.10) 100%);
  border: 1px solid rgba(241,239,246,0.08);
  overflow: hidden;
}
.pillar::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(180deg, rgba(180,191,234,0.18), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.pillar .num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.2em; color: var(--text-faint); margin-bottom: 22px; }
.pillar .glyph { width: 46px; height: 46px; margin-bottom: 22px; }
.pillar h3 { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--text-headline); margin-bottom: 12px; }
.pillar p { color: var(--text-soft); font-size: 0.98rem; line-height: 1.6; }

/* ----------------------------------------------------------------- how-it-works */
.steps { display: flex; flex-direction: column; gap: 2px; counter-reset: step; }
.step { display: grid; grid-template-columns: 90px 1fr; gap: 28px; align-items: start; padding: 36px 0; border-top: 1px solid rgba(241,239,246,0.08); }
.step:last-child { border-bottom: 1px solid rgba(241,239,246,0.08); }
.step .idx { font-family: var(--serif); font-style: italic; font-size: 2.6rem; color: var(--text-faint); line-height: 1; }
.step h3 { font-size: 1.35rem; font-weight: 500; color: var(--text-headline); margin-bottom: 10px; font-family: var(--serif); font-style: italic; }
.step p { color: var(--text-soft); max-width: 52ch; }
.step .chips { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 12px; letter-spacing: 0.04em; padding: 6px 13px; border-radius: 100px; border: 1px solid rgba(241,239,246,0.14); color: var(--text-muted); }

/* ------------------------------------------------------------ the Signal Key */
.key-section { text-align: center; }
.signal-key {
  display: inline-flex; align-items: center; gap: 14px; margin: 36px auto 0;
  font-family: var(--mono); font-size: clamp(1rem, 3vw, 1.5rem); letter-spacing: 0.16em;
  padding: 20px 30px; border-radius: 16px;
  color: var(--gold);
  background: linear-gradient(180deg, rgba(158,111,62,0.14), rgba(17,19,42,0.5));
  border: 1px solid rgba(251,234,183,0.28);
  box-shadow: 0 10px 50px rgba(158,111,62,0.18), inset 0 1px 0 rgba(255,246,216,0.12);
  position: relative;
}
.signal-key .seg { white-space: nowrap; }
.signal-key .dot { color: rgba(251,234,183,0.4); }
.copy-hint { margin-top: 18px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-faint); }

/* ----------------------------------------------------------------- science */
.science-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 12px; }
.sci { padding: 32px 26px; border-radius: var(--radius); background: rgba(17,24,47,0.28); border: 1px solid rgba(241,239,246,0.07); }
.sci h3 { font-size: 1.05rem; font-weight: 600; color: var(--text-primary); margin-bottom: 10px; letter-spacing: 0.01em; }
.sci p { color: var(--text-soft); font-size: 0.95rem; }
.disclaimer { margin-top: 40px; font-size: 0.85rem; color: var(--text-soft); max-width: 60ch; margin-left: auto; margin-right: auto; line-height: 1.6; }

/* ------------------------------------------------------------------- ritual */
.ritual { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ritual .copy h2 { font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--text-headline); }
.ritual .copy p { margin-top: 20px; color: var(--text-muted); }
.ritual .copy ul { margin-top: 26px; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.ritual .copy li { display: flex; gap: 13px; align-items: flex-start; color: var(--text-soft); }
.ritual .copy li .tick { flex: 0 0 auto; margin-top: 3px; color: var(--gold); }
.ritual-list { margin: 30px auto 0; list-style: none; display: inline-flex; flex-direction: column; gap: 16px; text-align: left; max-width: 48ch; }
.ritual-list li { display: flex; gap: 13px; align-items: flex-start; color: var(--text-soft); }
.ritual-list li .tick { flex: 0 0 auto; margin-top: 3px; color: var(--gold); }

/* --------------------------------------------------------------------- faq */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(241,239,246,0.09); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; color: var(--text-primary); font-family: var(--sans); font-size: clamp(1.02rem, 1.7vw, 1.18rem); font-weight: 500; padding: 26px 40px 26px 0; position: relative; display: flex; justify-content: space-between; gap: 20px; }
.faq-q .pm { flex: 0 0 auto; width: 18px; height: 18px; position: relative; margin-top: 4px; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--text-muted); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.faq-q .pm::before { top: 8px; left: 0; width: 18px; height: 1.5px; }
.faq-q .pm::after { top: 0; left: 8px; width: 1.5px; height: 18px; }
.faq-item.open .pm::after { transform: scaleY(0); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq-a-inner { padding: 0 40px 26px 0; color: var(--text-soft); max-width: 64ch; }

/* ------------------------------------------------------------------- final cta */
.finale { position: relative; text-align: center; overflow: hidden; padding-top: clamp(90px,16vh,180px); padding-bottom: clamp(90px,16vh,180px); }
.finale-orb { position: absolute; top: 46%; left: 50%; transform: translate(-50%,-50%); width: min(90vw, 560px); height: min(90vw, 560px); z-index: 0; pointer-events: none; }
.finale-content { position: relative; z-index: 2; }
.finale h2 { font-family: var(--serif); font-style: italic; font-size: clamp(2.2rem, 5.5vw, 3.6rem); color: var(--text-headline); max-width: 18ch; margin: 0 auto; }
.finale p { margin: 24px auto 0; color: var(--text-muted); max-width: 46ch; }

/* waitlist form */
.waitlist { margin: 38px auto 0; max-width: 460px; display: flex; gap: 10px; }
.waitlist input {
  flex: 1; background: rgba(241,239,246,0.05); border: 1px solid rgba(241,239,246,0.16);
  border-radius: 100px; padding: 15px 22px; color: var(--text-primary); font-family: var(--sans); font-size: 15px; outline: none;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.waitlist input::placeholder { color: var(--text-faint); }
.waitlist input:focus { border-color: rgba(251,234,183,0.5); background: rgba(241,239,246,0.08); }
.waitlist .msg { margin-top: 16px; font-size: 14px; color: var(--gold); min-height: 20px; }
.waitlist-note { margin-top: 14px; font-size: 12px; color: var(--text-soft); }

/* ------------------------------------------------------------------ footer */
.footer { border-top: 1px solid rgba(241,239,246,0.08); padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { margin-bottom: 18px; }
.footer .tagline { color: var(--text-faint); font-size: 14px; max-width: 28ch; }
.footer h4 { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 18px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer a { color: var(--text-soft); font-size: 14px; transition: color 0.25s var(--ease); }
.footer a:hover { color: var(--text-primary); }
.footer-bottom { margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(241,239,246,0.06); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-bottom p { color: var(--text-faint); font-size: 13px; }
.footer-bottom .socials { display: flex; gap: 18px; }
.footer-bottom .socials a { color: var(--text-faint); }
.footer-bottom .socials a:hover { color: var(--text-primary); }

/* --------------------------------------------------------------- legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 140px 24px 100px; }
.legal h1 { font-family: var(--serif); font-style: italic; font-size: clamp(2rem,5vw,3rem); color: var(--text-headline); margin-bottom: 12px; }
.legal .updated { color: var(--text-faint); font-size: 14px; margin-bottom: 48px; }
.legal h2 { font-size: 1.3rem; font-weight: 600; color: var(--text-primary); margin: 40px 0 14px; }
.legal h3 { font-size: 1.05rem; font-weight: 600; color: var(--text-primary); margin: 26px 0 10px; }
.legal p, .legal li { color: var(--text-soft); margin-bottom: 14px; line-height: 1.7; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; }
.legal .back { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); margin-bottom: 40px; font-size: 14px; }

/* ----------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; }
  .science-grid { grid-template-columns: 1fr; }
  .ritual { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 680px) {
  .nav-links { position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column; gap: 0; background: rgba(6,7,16,0.97); backdrop-filter: blur(20px); padding: 90px 24px 30px; transform: translateY(-100%); transition: transform 0.45s var(--ease); align-items: flex-start; }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 16px 0; width: 100%; border-bottom: 1px solid rgba(241,239,246,0.06); font-size: 17px; }
  .nav-links .nav-cta { margin-top: 18px; }
  .nav-toggle { display: block; z-index: 101; }
  .step { grid-template-columns: 1fr; gap: 8px; }
  .step .idx { font-size: 2rem; }
  .waitlist { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* hero: presence above, copy below, CTAs stacked + full-width */
  .hero { padding-top: 6vh; }
  .hero-orb { top: 26%; width: min(125vw, 560px); height: min(125vw, 560px); }
  .hero::after { top: 66%; width: 150vw; height: 62vh; }
  .hero h1 { font-size: clamp(2.1rem, 9.5vw, 3rem); }
  .hero .sub { font-size: 1.02rem; max-width: 90%; }
  .hero .actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 300px; margin-left: auto; margin-right: auto; }
  .hero .actions .btn { justify-content: center; width: 100%; }
  .section-head { margin-bottom: 48px; }
  .signal-key { gap: 8px; padding: 16px 18px; letter-spacing: 0.1em; }
}

/* ============================================================ REBUILD v2 ===
   Editorial layout, real device-framed app shots, single-job conversion focus.
   ========================================================================== */

/* minimal header (replaces the multi-link nav) */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; transition: background .4s var(--ease), backdrop-filter .4s var(--ease), padding .4s var(--ease); }
.topbar.scrolled { background: rgba(6,7,16,.72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom: 1px solid rgba(241,239,246,.06); padding: 11px 24px; }
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* hero additions */
.kicker { font-size: 11px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); opacity: .9; margin-bottom: 22px; text-shadow: 0 1px 14px rgba(6,7,16,.9), 0 0 30px rgba(6,7,16,.7); }
.microproof { margin-top: 22px; font-size: 13px; color: var(--text-soft); }

/* the 3 wedge rows: editorial, alternating, real app screenshots */
.row { display: grid; grid-template-columns: 1fr minmax(0, 340px); gap: clamp(32px, 6vw, 90px); align-items: center; padding: clamp(40px, 7vh, 90px) 0; }
.row.reverse { grid-template-columns: minmax(0, 340px) 1fr; }
.row.reverse .row-copy { order: 2; }
.row.reverse .phone { order: 1; }
.row-copy .step-num { font-family: var(--mono); font-size: 13px; letter-spacing: .2em; color: var(--text-faint); display: block; margin-bottom: 18px; }
.row-copy h3 { font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 3.6vw, 2.5rem); color: var(--text-headline); margin-bottom: 16px; }
.row-copy p { color: var(--text-muted); font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 42ch; line-height: 1.62; }

/* premium device frame */
.phone { position: relative; width: 100%; max-width: 320px; justify-self: center; aspect-ratio: 620 / 1348; border-radius: 40px; overflow: hidden; border: 1px solid rgba(241,239,246,.14); background: #060713; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.06); }
.phone::after { content: ""; position: absolute; inset: -30% -30% auto -30%; height: 60%; background: radial-gradient(60% 60% at 50% 20%, rgba(107,123,199,.22), transparent 70%); pointer-events: none; z-index: -1; }
.phone img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* approach trio: type-led, no glassy cards (avoids the generic look) */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 8px; }
.trio-item { padding-top: 22px; border-top: 1px solid rgba(241,239,246,.14); }
.trio-item h3 { font-size: 1.05rem; font-weight: 600; color: var(--text-primary); margin-bottom: 10px; letter-spacing: .01em; }
.trio-item p { color: var(--text-soft); font-size: .96rem; line-height: 1.6; }

/* waitlist success + referral moment */
.waitlist-done { margin-top: 22px; }
.waitlist-done .done-line { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--gold); }
.waitlist-done .done-sub { margin-top: 8px; color: var(--text-muted); font-size: .98rem; }
.share-row { margin-top: 18px; display: flex; gap: 10px; justify-content: center; }

/* mobile sticky CTA in the thumb zone (hidden on desktop + when waitlist is in view) */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; border-radius: 100px; font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: .02em; color: #2a1f06; background: var(--gold-grad); box-shadow: 0 10px 34px rgba(251,234,183,.28), 0 4px 12px rgba(0,0,0,.4); transition: opacity .35s var(--ease), transform .35s var(--ease); }
  .sticky-cta.hide { opacity: 0; transform: translateY(120%); pointer-events: none; }
}

/* responsive: stack the rows, center copy */
@media (max-width: 760px) {
  .row, .row.reverse { grid-template-columns: 1fr; gap: 30px; text-align: center; padding: 30px 0; }
  .row.reverse .row-copy { order: 2; } .row.reverse .phone { order: 1; }
  .row .row-copy { order: 1; } .row .phone { order: 2; }
  .row-copy p { max-width: 46ch; margin-left: auto; margin-right: auto; }
  .trio { grid-template-columns: 1fr; gap: 4px; }
  .trio-item { padding: 22px 0 4px; }
}
