/* =========================================================
   SENTRA — launch page
   Palette is taken from the logo: symbol #84B0FE → #C9DDFF,
   wordmark #76A8FF → #F0F6FF. Background is always black.
   ========================================================= */
:root {
  --bg: #000;
  --ink: #EEF3FF;
  --ink-2: rgba(238, 243, 255, .62);
  --ink-3: rgba(238, 243, 255, .38);
  --line: rgba(206, 222, 255, .14);
  --glass: rgba(150, 180, 255, .07);
  --glass-line: rgba(201, 221, 255, .16);
  --powder: #84B0FE;
  --powder-2: #76A8FF;
  --peri: #A9C1FF;
  --icy: #C9DDFF;
  --frost: #F0F6FF;
  --gutter: clamp(16px, 2.4vw, 32px);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
p, h1, h2, ol { margin: 0; padding: 0; }
.mono { font-family: var(--mono); font-weight: 400; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: rgba(132, 176, 254, .35); color: #fff; }

/* ---------- entrance motion (Framer-style blur-rise) ---------- */
.js .rise {
  opacity: 0;
  filter: blur(10px);
  transform: translate3d(0, 22px, 0);
  transition: opacity 1.4s var(--ease) var(--d, 0s), filter 1.4s var(--ease) var(--d, 0s), transform 1.4s var(--ease) var(--d, 0s);
}
.js.loaded .rise { opacity: 1; filter: blur(0); transform: none; }

.js .reveal {
  opacity: 0;
  filter: blur(12px);
  transform: translate3d(0, 28px, 0);
  transition: opacity 1.3s var(--ease) var(--d, 0s), filter 1.3s var(--ease) var(--d, 0s), transform 1.3s var(--ease) var(--d, 0s);
}
.js .reveal.in { opacity: 1; filter: blur(0); transform: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; height: 100vh; height: 100svh; background: var(--bg); }
.hero-pin {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  isolation: isolate;
}
.veil, .veil-fallback, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.veil { display: block; z-index: 0; }
.veil-fallback { display: none; z-index: 0; }
.no-webgl .veil { display: none; }
.no-webgl .veil-fallback {
  display: grid; place-items: center;
  background:
    radial-gradient(40% 50% at 60% 48%, rgba(132, 176, 254, .55), rgba(40, 62, 120, .25) 55%, transparent 80%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 3vw, rgba(0,0,0,.18) 3vw 6vw), #000;
}
.no-webgl .fb-icon { width: min(60vh, 70vw); margin-left: 18vw; filter: blur(6px) brightness(.35); }
.fb-icon svg { width: 100%; height: auto; display: block; }

.hero-shade {
  z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 18%),
    linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 34%, rgba(0,0,0,0) 55%),
    linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 45%);
}

/* nav */
.nav {
  position: absolute; z-index: 3; top: 0; left: 0; right: 0;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: calc(var(--gutter) + env(safe-area-inset-top, 0px)) var(--gutter) 0;
}
.brand { justify-self: start; display: block; height: 26px; }
.brand svg { height: 100%; width: auto; display: block; overflow: visible; }
.nav-pill {
  display: inline-flex; align-items: center; gap: 10px;
  height: 34px; padding: 0 16px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--ink);
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--powder); box-shadow: 0 0 0 0 rgba(132,176,254,.6); animation: pulse 2.4s var(--ease-io) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(132,176,254,.55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(132,176,254,0); } }
.socials { justify-self: end; display: flex; gap: 8px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.socials a:hover { background: rgba(170, 196, 255, .16); border-color: rgba(201,221,255,.32); }
svg .fill { fill: currentColor; stroke: none; }
.socials svg, .follow-links svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* hero copy */
.hero-copy {
  position: absolute; z-index: 2;
  left: var(--gutter); right: var(--gutter);
  bottom: calc(clamp(28px, 5.5vh, 64px) + env(safe-area-inset-bottom, 0px));
  max-width: 1080px;
  will-change: transform, opacity, filter;
}
.eyebrow { font-size: 12px; letter-spacing: .32em; color: var(--ink); margin-bottom: clamp(14px, 2.2vh, 22px); }
.headline {
  font-weight: 300;
  font-size: clamp(48px, 8.1vw, 124px);
  line-height: .98;
  letter-spacing: -.035em;
  color: var(--ink);
  margin-bottom: clamp(22px, 3.6vh, 38px);
}
.headline .line { display: block; }
.headline .line > span { display: inline-block; }

.count-bar {
  display: inline-flex; align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  padding: 12px clamp(16px, 2vw, 26px);
  border-radius: 999px;
  background: rgba(130, 160, 230, .07);
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 20px 60px -20px rgba(0,0,0,.6);
}
.cb-cell { display: flex; flex-direction: column; align-items: flex-start; min-width: 3.1ch; }
.cb-cell b {
  font-weight: 200; font-size: clamp(26px, 2.7vw, 38px); line-height: 1;
  letter-spacing: .02em; font-variant-numeric: tabular-nums; color: var(--frost);
}
.cb-cell span { margin-top: 6px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .26em; color: var(--ink-3); }
.cb-sep { width: 1px; height: 28px; background: var(--line); }
.date-note { margin-top: 16px; display: flex; align-items: center; gap: 12px; font-size: 11.5px; letter-spacing: .3em; color: var(--ink-2); }
.date-line { width: 34px; height: 1px; background: rgba(201,221,255,.4); }

/* digit tick */
[data-cd] { display: inline-block; }
[data-cd].tick { animation: tick .4s var(--ease); }
@keyframes tick { 0% { opacity: .45; filter: blur(2.5px); transform: translateY(-.08em); } 100% { opacity: 1; filter: blur(0); transform: none; } }

.scroll-cue {
  position: absolute; z-index: 2; right: var(--gutter); bottom: calc(clamp(28px, 5.5vh, 64px) + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 10px; letter-spacing: .34em; color: var(--ink-3);
  writing-mode: vertical-rl;
}
.scroll-cue i { width: 1px; height: 56px; background: linear-gradient(var(--icy), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: cue 2.6s var(--ease-io) infinite; }
@keyframes cue { to { top: 110%; } }

/* custom cursor */
.cursor {
  position: fixed; z-index: 50; left: 0; top: 0; pointer-events: none;
  display: flex; align-items: center; gap: 12px;
  opacity: 0; transition: opacity .5s var(--ease);
  will-change: transform;
}
.cursor.on { opacity: 1; }
.cursor-ring {
  width: 46px; height: 46px; margin: -23px 0 0 -23px;
  border-radius: 50%; border: 1px solid rgba(240, 246, 255, .7);
  display: grid; place-items: center;
  transition: transform .5s var(--ease);
}
.cursor-ring i { width: 4px; height: 4px; border-radius: 50%; background: #fff; }
.cursor.moving .cursor-ring { transform: scale(.82); }
.cursor-label {
  font-size: 11px; letter-spacing: .08em; color: var(--ink);
  padding: 6px 11px; border-radius: 999px;
  background: rgba(20, 28, 48, .45); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transform: translateY(-23px); white-space: nowrap;
  transition: opacity .6s var(--ease);
}
.cursor.quiet .cursor-label { opacity: 0; }
@media (pointer: fine) { .hero-pin.cursor-zone { cursor: none; } .hero-pin.cursor-zone a { cursor: pointer; } }
@media (pointer: coarse) { .cursor { display: none; } }

/* =========================================================
   STATEMENT
   ========================================================= */
.statement {
  position: relative;
  padding: clamp(56px, 12vh, 130px) var(--gutter) clamp(90px, 16vh, 180px);
  background: var(--bg);
}
.statement-text {
  text-align: center;
  font-weight: 300;
  font-size: clamp(38px, 6.1vw, 92px);
  line-height: 1.08;
  letter-spacing: -.035em;
  max-width: 15ch; margin: 0 auto;
  max-width: none;
}
.statement-text .w { color: var(--ink); opacity: var(--o, .16); transition: opacity .25s linear; }
.statement-text .w.dim { color: #8E97AC; }
.no-js .statement-text .w { opacity: 1; }
.pill {
  display: inline-block; vertical-align: -.12em;
  width: 1.55em; height: .86em; margin: 0 .06em;
  border-radius: 999px; overflow: hidden; position: relative;
  border: 1px solid rgba(201,221,255,.18);
}
.pill-icon { background: radial-gradient(120% 140% at 50% 40%, #13203d 0%, #05070d 70%); display: inline-grid; place-items: center; }
.pill-icon > span { width: .62em; display: block; animation: spin 26s linear infinite; }
.pill-icon svg { width: 100%; height: auto; display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.pill-silk i {
  position: absolute; inset: -40%;
  background:
    repeating-linear-gradient(100deg, rgba(240,246,255,0) 0 8%, rgba(240,246,255,.55) 11%, rgba(240,246,255,0) 15% 22%),
    linear-gradient(115deg, #0d1730 0%, #3d5fa8 30%, #a9c6ff 48%, #2d4683 66%, #0b1328 100%);
  background-size: 140% 100%, 100% 100%;
  filter: blur(2px);
  animation: silk 7s var(--ease-io) infinite alternate;
}
@keyframes silk { from { transform: translateX(-12%) skewX(-4deg); } to { transform: translateX(12%) skewX(4deg); } }
.br-d { display: block; content: ""; }

.facets {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px);
  margin-top: clamp(90px, 16vh, 170px);
}
.facets li { border-top: 1px solid var(--line); padding-top: 16px; }
.facets .mono { font-size: 11px; letter-spacing: .1em; color: var(--ink-3); }
.facets p { margin-top: 20px; font-size: clamp(17px, 1.45vw, 21px); letter-spacing: -.01em; color: var(--ink); }

/* =========================================================
   DRAPE — the veil lifts in
   ========================================================= */
.drape {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; grid-template-columns: minmax(0, 1fr);
  overflow: hidden; isolation: isolate;
  margin-top: clamp(40px, 8vh, 100px);
}
.drape-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.no-gl-drape .drape { background: radial-gradient(60% 50% at 50% 50%, #1b2a4d, #05070d 70%, #000); }
.drape-shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(70% 55% at 50% 55%, rgba(0,0,0,.42), rgba(0,0,0,0) 70%),
              linear-gradient(180deg, #000 0%, rgba(0,0,0,0) 14%, rgba(0,0,0,0) 86%, #000 100%);
}
.drape-inner { position: relative; z-index: 2; width: 100%; text-align: center; padding: 120px var(--gutter); }
.drape-eyebrow { font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -.01em; color: var(--ink-2); margin-bottom: clamp(18px, 3vh, 34px); }
.big-count { display: flex; align-items: flex-start; justify-content: center; gap: clamp(6px, 1.4vw, 22px); }
.bc { display: flex; flex-direction: column; align-items: center; }
.bc b {
  font-weight: 200;
  font-size: clamp(56px, 9vw, 164px);
  line-height: .92; letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffffff 0%, var(--frost) 35%, var(--icy) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bc span { margin-top: clamp(10px, 1.6vh, 18px); font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-3); }
.bc-colon { font-style: normal; font-weight: 200; font-size: clamp(40px, 6.4vw, 116px); line-height: 1; color: rgba(201,221,255,.32); transform: translateY(-.02em); }
.drape-date { margin-top: clamp(30px, 5vh, 56px); font-size: 12px; letter-spacing: .4em; color: var(--ink-2); }

/* =========================================================
   FINAL — Sentra revealed
   ========================================================= */
.final { position: relative; padding: clamp(110px, 18vh, 200px) var(--gutter) calc(var(--gutter) + env(safe-area-inset-bottom, 0px)); background: var(--bg); }
.follow-title { font-weight: 300; font-size: clamp(34px, 3.9vw, 58px); letter-spacing: -.03em; line-height: 1.05; }
.follow-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.follow-links a {
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 18px 0 16px; border-radius: 999px;
  font-size: 15px; font-weight: 400; color: var(--ink);
  background: var(--glass); border: 1px solid var(--glass-line);
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.follow-links a:hover { background: rgba(170, 196, 255, .14); border-color: rgba(201,221,255,.32); }
.follow-links em { font-style: normal; font-size: 12px; color: var(--ink-3); margin-left: 4px; transition: transform .4s var(--ease), color .4s; }
.follow-links a:hover em { transform: translate(2px, -2px); color: var(--ink); }

.wordmark { position: relative; margin: clamp(48px, 9vh, 110px) calc(var(--gutter) * -.5) clamp(36px, 6vh, 70px); }
.wordmark canvas { display: block; width: 100%; height: auto; aspect-ratio: 4 / 1; }
.wordmark-fallback { display: none; }
.no-gl-word .wordmark canvas { display: none; }
.no-gl-word .wordmark-fallback { display: block; padding: 0 2%; }
.wordmark-fallback svg { width: 100%; height: auto; display: block; }

.foot-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 11.5px; letter-spacing: .04em; color: var(--ink-2);
}
.foot-row a { transition: color .3s; }
.foot-row a:hover { color: var(--ink); }
.foot-row .to-top { justify-self: end; }

/* =========================================================
   PENDULUM — browser pain points → Sentra
   ========================================================= */
.pendulum {
  position: relative;
  background: var(--bg);
  padding: clamp(40px, 8vh, 90px) var(--gutter) clamp(90px, 14vh, 150px);
  display: flex; flex-direction: column; align-items: center;
}
.pd-stage {
  position: relative; width: calc(100% + var(--gutter) * 2); margin: 0 calc(var(--gutter) * -1);
  height: clamp(420px, 74vh, 760px);
  overflow: hidden;
}
.pd-layer { position: absolute; inset: 0; will-change: clip-path; }
.pd-pain {
  position: absolute; left: 0; top: 0; margin: 0;
  font-weight: 400; line-height: 1.06; letter-spacing: -.02em; white-space: nowrap;
  color: #fff;
}
.pd-line { display: block; }
.pd-sentra {
  position: absolute; left: 0; top: 0;
  font-weight: 500; line-height: 1; letter-spacing: -.045em; white-space: nowrap;
  color: #fff;
}
/* "with" above and "no more" below the pendulum's Sentra: smaller, regular, soft grey, left-aligned with it */
.pd-aside {
  position: absolute; left: 0; top: 0;
  font-weight: 400; line-height: 1; letter-spacing: -.02em; white-space: nowrap;
  color: #BFC3C9;
}
/* final reveal: "It’s time to expect more." / Sentra. — centred on the viewport axis */
.pd-final {
  position: absolute; left: 0; right: 0; top: 0;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  pointer-events: none;
}
.pd-final > p { margin: 0; opacity: 0; will-change: opacity, transform, filter; }
.pd-final-l1 { font-weight: 300; letter-spacing: -.03em; line-height: 1.1; color: #fff; }
/* the logo's wordmark colour: solid #76A8FF, easing to #F0F6FF from the "n" onward (as in sentra-logo.svg) */
.pd-final-l2 {
  font-family: "Geom", var(--sans); font-weight: 500; letter-spacing: -.03em; line-height: 1; white-space: nowrap;
  background: linear-gradient(90deg, var(--powder-2) 0%, var(--powder-2) 30%, var(--frost) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pd-final-dot { display: inline-block; vertical-align: baseline; }
.pd-final-dot svg { display: block; width: 100%; height: 100%; }
.pd-base { display: inline-block; width: 0; height: 0; vertical-align: baseline; }
.pd-string { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; }
.pd-bob { position: absolute; left: 0; top: 0; will-change: transform, opacity; }
.pd-bob svg { width: 100%; height: 100%; display: block; }
.pd-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px;
  margin-top: clamp(4px, 1vh, 12px);
  font-size: 10.5px; letter-spacing: .26em; color: var(--ink-3);
}
.pd-list span { transition: color .6s var(--ease), opacity .6s var(--ease); }
.pd-list span.on { color: var(--c, var(--ink)); }
.pd-list .sep { opacity: .5; }
.pd-form { margin-top: clamp(40px, 7vh, 72px); }

/* =========================================================
   WAITLIST — pill input + CTA (shared by both forms)
   ========================================================= */
.waitlist {
  position: relative;
  display: flex; align-items: center;
  width: min(540px, 100%); height: 62px;
  padding: 6px 6px 6px 26px;
  border-radius: 999px;
  background: linear-gradient(100deg, rgba(150, 175, 235, .10), rgba(120, 145, 205, .05) 60%, rgba(120, 145, 205, .08));
  border: 1px solid rgba(201, 221, 255, .16);
  -webkit-backdrop-filter: blur(18px) saturate(1.15); backdrop-filter: blur(18px) saturate(1.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 24px 60px -24px rgba(0,0,0,.7);
  transition: border-color .4s var(--ease), background .4s var(--ease);
}
.waitlist:focus-within { border-color: rgba(201, 221, 255, .34); }
.wl-input {
  flex: 1; min-width: 0; height: 100%;
  background: none; border: 0; outline: none;
  font: 400 16px/1 var(--sans); letter-spacing: -.005em; color: var(--ink);
}
.wl-input::placeholder { color: rgba(238, 243, 255, .42); }
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wl-btn {
  flex: none; height: 100%;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 22px 0 24px; border: 0; border-radius: 999px; cursor: pointer;
  background: #EEF2FA; color: #0A0E18;
  font: 500 15.5px/1 var(--sans); letter-spacing: -.01em; white-space: nowrap;
  transition: background .35s var(--ease), transform .35s var(--ease), opacity .3s;
}
.wl-btn:hover { background: #fff; }
.wl-btn:active { transform: scale(.98); }
.wl-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.wl-btn:hover svg { transform: translateX(3px); }
.wl-btn:focus-visible, .wl-input:focus-visible { outline: none; }
.wl-btn:focus-visible { box-shadow: 0 0 0 3px rgba(132,176,254,.5); }
.waitlist.busy .wl-btn { opacity: .6; pointer-events: none; }
.waitlist.done .wl-input { color: var(--ink-2); }
.wl-msg {
  position: absolute; left: 26px; right: 26px; top: calc(100% + 14px);
  font-size: 13px; letter-spacing: 0; color: var(--ink-2); text-align: left; min-height: 1em;
}
.wl-msg.err { color: #F2A7A7; }
.drape-form { margin: clamp(30px, 5vh, 50px) auto 0; text-align: left; }
/* hero: the form sits where the countdown bar was; its status line takes the list count's place */
.hero-form .wl-msg { top: calc(100% + 16px); }

/* "87k already on the list" — quiet social proof under each form */
.wl-count {
  display: flex; align-items: center; gap: 12px;
  margin: 16px 0 0; min-height: 24px;
  font-size: 14px; font-weight: 400; letter-spacing: -.005em; color: rgba(238, 243, 255, .55);
}
.wl-faces { display: inline-flex; }
.wl-faces i {
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid #000; margin-left: -8px;
}
.wl-faces i:first-child { margin-left: 0; }
.wl-faces i:nth-child(1) { background: radial-gradient(circle at 35% 30%, #C9DDFF, #5F86D6 70%); }
.wl-faces i:nth-child(2) { background: radial-gradient(circle at 35% 30%, #A9C1FF, #2E4A86 75%); }
.wl-faces i:nth-child(3) { background: radial-gradient(circle at 35% 30%, #F0F6FF, #84B0FE 70%); }
.wl-faces i:nth-child(4) { background: radial-gradient(circle at 35% 30%, #84B0FE, #1C2C55 75%); }
.drape-count { justify-content: center; width: min(540px, 100%); margin: 18px auto 0; }
/* after a sign-up, the form's status message briefly takes the count's place */
.js .wl-count { transition-property: opacity, filter, transform; }
.hero-copy:has(.hero-form .wl-msg:not(:empty)) .wl-count,
.drape-inner:has(.drape-form .wl-msg:not(:empty)) .wl-count { opacity: 0 !important; }
.js.loaded .hero-form.rise { transition: opacity 1.4s var(--ease) var(--d, 0s), filter 1.4s var(--ease) var(--d, 0s), transform 1.4s var(--ease) var(--d, 0s), border-color .4s var(--ease); }
@media (pointer: fine) { .hero-pin.cursor-zone .wl-input { cursor: text; } .hero-pin.cursor-zone .wl-btn { cursor: pointer; } }

/* live counter: a soft pulse each time it moves */
.wl-count [data-wl-count] { font-variant-numeric: tabular-nums; }
.wl-count.bump [data-wl-count] { animation: wl-bump .9s var(--ease); }
@keyframes wl-bump { 0% { color: var(--frost); text-shadow: 0 0 18px rgba(132,176,254,.55); } 100% { color: inherit; text-shadow: none; } }

/* "or  [Continue with Google]" — shown only once Google sign-in is configured */
.wl-alt { display: flex; align-items: center; gap: 14px; margin-top: 18px; min-height: 40px; }
.wl-alt[hidden] { display: none; }
.wl-or { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-3); }
.wl-google { min-height: 40px; color-scheme: normal; }
.drape-alt { justify-content: center; }
.hero-pin.cursor-zone .wl-alt { cursor: auto; }

/* Turnstile: takes no room unless Cloudflare asks for a click */
.wl-ts { display: flex; justify-content: center; }
.wl-ts:empty { display: none; }
.hero-copy .wl-ts { justify-content: flex-start; margin-top: 10px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 860px) {
  .socials a:nth-child(n+3) { display: none; }
  .nav-pill { font-size: 10.5px; letter-spacing: .12em; padding: 0 12px; height: 30px; gap: 8px; }
  .brand { height: 22px; }
  .facets { grid-template-columns: 1fr; gap: 0; }
  .facets li { padding: 16px 0 26px; display: grid; grid-template-columns: 56px 1fr; align-items: baseline; }
  .facets p { margin-top: 0; }
  .foot-row { grid-template-columns: 1fr 1fr; row-gap: 12px; }
  .foot-row .to-top { justify-self: end; }
  .foot-row > :nth-child(2) { justify-self: end; }

  /* ---- the sections after the hero slide in while the hero fades to black:
     app.js lifts this wrapper by up to its (negative) margin-bottom over the first ~55% of a screen
     of scrolling, and the margin removes the same amount from the page, so the footer still ends flush */
  .after-hero { position: relative; margin-bottom: -24vh; will-change: transform; }
  body { display: flow-root; }   /* keeps that negative margin inside body so the page really shortens */
  .statement { background: transparent; }

  /* ---- tablet spacing: each section reads as its own page (after the reference recording),
     without the tall vh-driven blanks ---- */
  .statement { padding-top: clamp(88px, 10.3vh, 116px); padding-bottom: 88px; }
  .facets { margin-top: 96px; }
  /* the pendulum is its own page: exactly one screen, string dropping from the top edge,
     statements just below the middle (pendulum.js derives the swing from this height) */
  .pendulum { padding-top: 0; padding-bottom: 0; }
  .pd-stage { height: 100vh; height: 100svh; }
  /* the countdown becomes a framed page: its own fabric with generous padding, not a full screen */
  .drape { min-height: 0; margin-top: 0; }
  .drape-inner { padding-top: clamp(128px, 15vh, 160px); padding-bottom: clamp(128px, 15vh, 160px); }
  .final { padding-top: 128px; }
}
@media (max-width: 600px) {
  /* ---- phone spacing (reference: ~200px between section content, ~160px around the fabric page) ---- */
  .statement { padding-top: clamp(84px, 11.15vh, 112px); padding-bottom: 96px; }
  .facets { margin-top: 80px; }
  .drape-inner { padding-top: clamp(112px, 16vh, 150px); padding-bottom: clamp(112px, 16vh, 150px); }
  .final { padding-top: 112px; }

  .nav { grid-template-columns: auto 1fr; gap: 10px; }
  .nav-pill { justify-self: end; }
  .socials { display: none; }
  .brand { height: 20px; }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 16%),
      linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.45) 38%, rgba(0,0,0,0) 62%);
  }
  .headline { font-size: clamp(46px, 14.5vw, 72px); }
  .count-bar { display: flex; justify-content: space-between; padding: 12px 18px; border-radius: 22px; }
  .cb-cell b { font-size: 26px; }
  .cb-cell span { font-size: 8.5px; letter-spacing: .2em; }
  .scroll-cue { display: none; }
  .br-d { display: none; }
  .statement-text { font-size: clamp(34px, 10vw, 46px); }
  .big-count { gap: 4px; }
  .bc b { font-size: clamp(44px, 15vw, 80px); }
  .bc-colon { font-size: clamp(30px, 10vw, 54px); }
  .bc span { font-size: 8.5px; letter-spacing: .2em; }
  .follow-links a { height: 42px; font-size: 14px; }
  .wordmark { margin-left: 0; margin-right: 0; }
  .pd-list { font-size: 9.5px; letter-spacing: .2em; gap: 6px 10px; }
  .waitlist { height: 56px; padding: 5px 5px 5px 18px; }
  .wl-input { font-size: 15px; }
  .wl-btn { padding: 0 15px; font-size: 14px; gap: 7px; }
  .wl-btn svg { display: none; }
  .wl-msg { left: 18px; right: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .rise, .js .reveal { transition-duration: .01s !important; filter: none !important; transform: none !important; }
  .dot, .scroll-cue i::after, .pill-icon > span, .pill-silk i { animation: none !important; }
  [data-cd].tick { animation: none; }
}
