/* ============================================================
   studionapp.ai — overview, tech overview, FAQ.
   Dark only, in the manner of Apple's black product pages:
   white type on true black, depth from light rather than rules.
   Raised tiles, soft glows and one accent, the app's own teal.
   No borders or dividing lines. The floating pill nav follows
   hubyn.app.
   ============================================================ */

:root{
  color-scheme: dark;

  --void:      #000000;
  --surface:   #0E0E0E;   /* fills only — never an outline */
  --surface-2: #1A1A1A;

  --ink:       #FFFFFF;
  --body:      #B4B4B4;
  --muted:     #8A8A8A;
  --faint:     #777777;   /* 4.7:1 on black, the floor for small text */

  --ok:        #7DDBA6;
  --accent:    #5CC9A7;   /* the app's teal; the only colour on the page */
  --glow:      rgba(92,201,167,.14);
  --tile:      linear-gradient(180deg, #161618 0%, #0C0C0D 100%);

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;

  --wide: min(1160px, calc(100vw - 32px));
  --ease: cubic-bezier(.16,1,.3,1);
}

*,*::before,*::after{ box-sizing: border-box; }
[hidden]{ display: none !important; }
html{ scroll-behavior: smooth; background: var(--void); scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body{
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--void); color: var(--body);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
main{ flex: 1 0 auto; position: relative; overflow-x: clip; }
::selection{ background: var(--ink); color: var(--void); }
a{ color: inherit; text-decoration: none; }
:focus-visible{ outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
img{ display: block; max-width: 100%; }
button{ font: inherit; color: inherit; }

.wrap{ width: var(--wide); margin-inline: auto; }
.skip{ position: absolute; left: 16px; top: -60px; z-index: 60; padding: .6rem 1rem; border-radius: 999px; background: var(--ink); color: var(--void); }
.skip:focus{ top: 12px; }

/* ---------- type ---------- */
h1,h2,h3{ margin: 0; color: var(--ink); font-weight: 600; letter-spacing: -.022em; text-wrap: balance; }
h1{ font-size: clamp(3.2rem, 9.4vw, 7.5rem); line-height: 1; letter-spacing: -.035em; }
h2{ font-size: clamp(2.4rem, 6.2vw, 5rem); line-height: 1.04; letter-spacing: -.03em; }
h3{ font-size: 1.15rem; line-height: 1.3; letter-spacing: -.02em; }
p{ margin: 0; }
.lede{ font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.6; color: var(--body); max-width: 60ch; }
.soft{ color: var(--muted); }
.eyebrow{
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--accent);
}
.kicker{ display: inline-flex; align-items: center; gap: .5rem; margin: 0; font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 600; letter-spacing: -.01em;
  background: linear-gradient(90deg, var(--accent), #9FE8D2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.copy{ font-size: clamp(1.08rem, 1.55vw, 1.32rem); line-height: 1.4; font-weight: 600; letter-spacing: -.012em; color: #86868B; text-wrap: pretty; }
.copy strong{ color: var(--ink); font-weight: 600; }
.more{ display: inline-flex; align-items: center; gap: .3rem; font-size: 1.05rem; color: var(--accent); padding: .85rem .4rem; }
.more span{ transition: transform .2s var(--ease); }
.more:hover{ text-decoration: underline; text-underline-offset: 4px; }
.more:hover span{ transform: translateX(3px); }
.dot{ width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); flex: none; }
.sheen{ background: linear-gradient(180deg, #FFFFFF 35%, #8E8E94 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }

/* ---------- nav: logo, floating pill, action ---------- */
.nav{ position: sticky; top: 0; z-index: 40; padding: 14px 0; transition: background .3s var(--ease); }
.nav.stuck{ background: rgba(0,0,0,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav-in{ width: var(--wide); margin-inline: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; }
.mark{ display: inline-flex; align-items: center; gap: .6rem; font-weight: 650; letter-spacing: -.02em; font-size: 1.08rem; color: var(--ink); justify-self: start; white-space: nowrap; }
.mark img{ width: 28px; height: 28px; border-radius: 7px; }
.pill{ display: flex; gap: .2rem; padding: .3rem; border-radius: 999px; background: var(--surface); }
.pill a{ font-size: .93rem; padding: .5rem 1rem; border-radius: 999px; color: var(--muted); white-space: nowrap; transition: color .2s var(--ease), background .2s var(--ease); }
.pill a:hover{ color: var(--ink); }
.pill a[aria-current="page"]{ color: var(--ink); background: var(--surface-2); }
.nav-end{ justify-self: end; display: flex; align-items: center; gap: .6rem; }
.menu-btn{ display: none; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; background: var(--surface); place-items: center; color: var(--ink); }
.menu-btn svg{ width: 18px; height: 18px; }
.sheet{ display: none; }
@media (max-width: 900px){
  .nav-in{ grid-template-columns: 1fr auto; }
  .nav .pill{ display: none; }
  .nav-end .btn{ display: none; }
  .menu-btn{ display: grid; }
  .sheet{ width: var(--wide); margin: .7rem auto 0; padding: .5rem; border-radius: 20px; background: var(--surface); }
  .nav.open .sheet{ display: grid; }
  .sheet a{ padding: .8rem 1rem; border-radius: 12px; color: var(--ink); }
  .sheet a[aria-current="page"]{ background: var(--surface-2); }
  .sheet .btn{ justify-content: center; margin-top: .3rem; }
}
@media (max-width: 380px){ .mark span{ display: none; } }

/* ---------- buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-size: .95rem; font-weight: 600; letter-spacing: -.01em;
  padding: .85rem 1.55rem; border-radius: 999px; border: 0; cursor: pointer; white-space: nowrap;
  background: var(--ink); color: var(--void);
  transition: transform .15s var(--ease), opacity .25s var(--ease), background .25s var(--ease);
}
.btn:hover{ transform: translateY(-1px); opacity: .88; }
.btn:active{ transform: scale(.98); }
.btn.sm{ padding: .55rem 1.05rem; font-size: .88rem; }
.btn.ghost{ background: var(--surface-2); color: var(--ink); }
.btn.ghost:hover{ background: #262626; opacity: 1; }
.btn svg{ width: 14px; height: 14px; }
.btn.outline{ background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.btn.outline:hover{ opacity: 1; box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
.btn:disabled{ cursor: not-allowed; opacity: .3; transform: none; }

/* ---------- reveal on scroll (only once JS is running) ---------- */
.js [data-r]{ opacity: 0; transform: translate3d(0,16px,0); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-r].in{ opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero{ position: relative; padding: clamp(4rem, 9vw, 7rem) 0 0; text-align: center; }
.hero .wrap{ position: relative; z-index: 1; display: grid; justify-items: center; gap: 1.6rem; }
.aura{ position: absolute; inset: -140px 0 auto; height: 1000px; pointer-events: none;
  background: radial-gradient(50% 45% at 50% 0%, rgba(92,201,167,.18), transparent 72%), radial-gradient(28% 32% at 84% 30%, rgba(110,120,255,.13), transparent 70%), radial-gradient(26% 30% at 12% 62%, rgba(92,201,167,.10), transparent 70%); }
.aura.low{ inset: auto 0 -40px; height: 640px; background: radial-gradient(45% 42% at 50% 58%, rgba(92,201,167,.13), transparent 72%); }
.badge{ display: inline-flex; align-items: center; gap: .6rem; padding: .35rem .9rem .35rem .4rem; border-radius: 999px; background: var(--surface); font-size: .86rem; color: var(--body); }
.badge img{ width: 24px; height: 24px; border-radius: 6px; }
.hero h1 span{ display: block; padding-bottom: .06em; background: linear-gradient(180deg, #E4E4E8 0%, #7C7C82 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede{ margin-inline: auto; max-width: 50ch; font-size: clamp(1.1rem, 1.6vw, 1.32rem); font-weight: 500; color: #86868B; }
.punch{ margin-top: -.4rem; font-size: clamp(1.1rem, 1.6vw, 1.32rem); font-weight: 600; letter-spacing: -.012em; color: var(--ink); }
.cta-row{ display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: .4rem; }
.req{ font-family: var(--mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }

/* ---------- the real app: screenshots only, never redrawn ---------- */
.hero-shot{ position: relative; width: min(1240px, calc(100vw - 32px)); margin: clamp(3rem, 6vw, 4.5rem) auto 0; }
.hero-shot::before{ content: ""; position: absolute; z-index: -1; pointer-events: none; left: 50%; top: 6%; width: 110%; height: 100%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(92,201,167,.38), rgba(90,110,255,.12) 55%, transparent); filter: blur(70px); }
.hero-shot figcaption{ margin-top: 1.6rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.shot{ width: 100%; height: auto; max-height: 380px; object-fit: cover; object-position: top left; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255,255,255,.07), 0 30px 60px -20px rgba(0,0,0,.85); }
.say{ font-size: clamp(2.4rem, 4.6vw, 3.8rem); font-weight: 700; line-height: .98; letter-spacing: -.045em; padding-bottom: .06em;
  background: linear-gradient(180deg, #FFFFFF 25%, var(--accent) 140%); -webkit-background-clip: text; background-clip: text; color: transparent; }


/* ---------- intro statement ---------- */
.intro{ padding-top: clamp(8rem, 16vw, 13rem); }
.intro p{ max-width: 24ch; margin-inline: auto; text-align: center; font-size: clamp(2rem, 4.6vw, 3.9rem); line-height: 1.12; letter-spacing: -.03em; font-weight: 600; color: var(--ink); text-wrap: balance; }

/* ---------- sections ---------- */
section.band{ padding: clamp(8rem, 15vw, 12rem) 0 0; position: relative; }
.sec-head{ display: grid; gap: 1rem; max-width: 900px; margin-bottom: clamp(3rem, 6vw, 5rem); }
.sec-head h2{ margin-top: .1rem; }
.sec-head .copy{ max-width: 34ch; margin-top: .6rem; }
.sec-head.center{ margin-inline: auto; text-align: center; justify-items: center; }

/* tiles: raised surfaces, no outlines */
.tile{ position: relative; overflow: hidden; border-radius: 28px; background: var(--tile); padding: clamp(1.6rem, 3vw, 2.4rem); }

.bento{ display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: clamp(4rem, 8vw, 6rem); }
.bento .tile{ display: grid; align-content: space-between; gap: 2.4rem; min-height: 360px; }
.bento .copy{ max-width: 30ch; }
.bento .say{ font-size: clamp(2rem, 3.4vw, 2.9rem); }
.t-cite::after, .t-long::after, .t-fit::after{ content: ""; position: absolute; pointer-events: none; width: 70%; height: 70%; right: -15%; bottom: -25%; background: radial-gradient(closest-side, rgba(92,201,167,.16), transparent); }
@media (max-width: 900px){
  .bento{ grid-template-columns: 1fr; }
  .bento .tile{ min-height: 0; }
}

/* ---------- MacBook Pro, after hubyn.app: real screenshots on its screen ----------
   Perspective lives on .mac's own transform so the blurred shadow below
   isn't clipped by a 3D context on the stage. */
.macstage{ position: relative; }
.mac{ --rx: 3deg; --ry: 0deg; width: min(1160px, 100%); margin: 0 auto; transform: perspective(2400px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .6s var(--ease); }
.lid{ position: relative; border-radius: 22px 22px 8px 8px; padding: 2.1% 2.1% 2.6%; background: #0A0A0C;
  box-shadow: inset 0 0 0 1.5px #4A4A52, inset 0 0 0 5px #141417, 0 50px 90px -40px rgba(0,0,0,.6); }
.lid::before{ /* camera notch */ content: ""; position: absolute; z-index: 3; left: 50%; top: 2.1%; transform: translateX(-50%);
  width: 12%; height: 2.6%; min-height: 12px; border-radius: 0 0 10px 10px; background: #0A0A0C; }
/* macOS 26 windows have round corners: the captures keep them transparent, so the screen is black and every window is contained whole, never cropped or stretched. */
.mscr{ position: relative; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: #000; }
.mscr > .mshot, .mscr .slide img{ display: block; width: 100%; height: 100%; object-fit: contain; }
.mscr .slide{ position: absolute; inset: 0; margin: 0; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.mscr .slide.fit img{ object-fit: contain; padding: 5% 4% 3%; filter: drop-shadow(0 18px 40px rgba(0,0,0,.6)); }
.mshot{ filter: brightness(1.1); }
.base{ position: relative; width: 106%; margin-left: -3%; height: clamp(12px, 1.8vw, 20px);
  background: linear-gradient(180deg, #E4E4E8 0%, #B9B9C0 45%, #8A8A92 100%); border-radius: 2px 2px 22px 22px / 2px 2px 14px 14px; }
.base::before{ content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 15%; height: 45%; border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #A4A4AB, #C9C9CF); }
.mac-shadow{ width: 80%; height: 40px; margin: -10px auto 0; background: radial-gradient(50% 50% at 50% 50%, rgba(0,0,0,.6), transparent 70%); filter: blur(8px); }
@media (max-width: 640px){ .mac{ --rx: 0deg; } .base{ width: 104%; margin-left: -2%; } }

/* ---------- carousel ---------- */
.carousel{ position: relative; outline: none; }
.carousel:focus-visible .lid{ box-shadow: inset 0 0 0 1.5px #4A4A52, inset 0 0 0 5px #141417, 0 0 0 3px var(--accent); }
.cap{ text-align: center; margin-top: 1.6rem; min-height: 3.4em; }
.cap b{ display: block; color: var(--ink); font-weight: 600; font-size: clamp(1.15rem, 1.8vw, 1.4rem); letter-spacing: -.01em; }
.cap span{ color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.1rem); }
.ctrl{ display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.2rem; }
.arrow{ width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--ink);
  display: grid; place-items: center; cursor: pointer; transition: transform .15s var(--ease), background .2s var(--ease); }
.arrow:hover{ background: #262628; }
.arrow:active{ transform: scale(.94); }
.arrow:focus-visible{ outline: 2px solid var(--accent); outline-offset: 2px; }
.arrow svg{ width: 18px; height: 18px; }
.dots{ display: flex; gap: .45rem; }
.dots button{ width: 8px; height: 8px; padding: 0; border-radius: 999px; border: 0; background: #3A3A3C; cursor: pointer; transition: width .35s var(--ease), background .35s var(--ease); }
.dots button[aria-current="true"]{ width: 26px; background: var(--accent); }
.arrow.play{ width: 38px; height: 38px; margin-left: .2rem; }
.arrow.play svg{ width: 13px; height: 13px; }
.arrow.play .i-play, .arrow.play.paused .i-pause{ display: none; }
.arrow.play.paused .i-play{ display: block; }

/* ---------- coming: big words, honest labels ---------- */
.coming .wrap{ position: relative; }
.coming::before{ content: ""; position: absolute; z-index: -1; pointer-events: none; left: 50%; top: 4rem; width: 90%; height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(110,120,255,.12), rgba(92,201,167,.06) 60%, transparent); }
.wave{ display: flex; align-items: center; flex-wrap: wrap; gap: .9rem; margin: clamp(3rem, 6vw, 4.5rem) 0 1.4rem; font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -.03em; }
.future{ display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.future .ft{ display: grid; align-content: space-between; gap: 2.6rem; min-height: 280px; }
.future .ft.wide{ grid-column: span 2; }
.future .copy{ max-width: 34ch; }
.future .say{ font-size: clamp(2.2rem, 3.6vw, 3.2rem); }
.engine-line{ max-width: 46ch; margin: clamp(4rem, 8vw, 6rem) auto 0; text-align: center; font-size: clamp(1.15rem, 1.9vw, 1.5rem); line-height: 1.4; font-weight: 600; letter-spacing: -.015em; color: #86868B; }
.engine-line strong{ color: var(--ink); }
@media (max-width: 900px){
  .future{ grid-template-columns: 1fr 1fr; }
  .future .ft.wide{ grid-column: 1 / -1; }
}
@media (max-width: 600px){
  .future{ grid-template-columns: 1fr; }
  .future .ft{ min-height: 0; }
}

/* ---------- Jimmy, in orbit ---------- */
.orbit{ position: relative; height: clamp(420px, 46vw, 540px); max-width: 1040px; margin-inline: auto; }
.ring, .core{ position: absolute; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%; }
.ring{ background: radial-gradient(closest-side, transparent 62%, rgba(92,201,167,.07) 98%, transparent 100%); animation: breathe 7s ease-in-out infinite; }
.r1{ width: 220px; height: 220px; }
.r2{ width: 360px; height: 360px; animation-delay: -2s; }
.r3{ width: 520px; height: 520px; animation-delay: -4s; }
@keyframes breathe{ 50%{ scale: 1.05; opacity: .6; } }
.core{ width: 120px; height: 120px; border-radius: 30px; display: grid; place-items: center; background: #0B0B0C;
  box-shadow: 0 0 90px 20px rgba(92,201,167,.28), 0 0 30px rgba(92,201,167,.4); }
.core img{ width: 96px; height: 96px; border-radius: 22px; }
.float{ position: absolute; display: grid; white-space: nowrap; gap: .25rem; padding: .85rem 1.1rem; border-radius: 18px; background: var(--tile); color: var(--ink); font-size: .92rem; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); animation: bob 6s ease-in-out infinite; }
.float em{ font-style: normal; font-family: var(--mono); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.float .dot{ display: inline-block; margin-right: .45rem; vertical-align: 1px; }
.f1{ left: 2%; top: 12%; }
.f2{ right: 2%; top: 20%; animation-delay: -1.5s; }
.f3{ right: 10%; bottom: 8%; animation-delay: -3s; }
.f4{ left: 9%; bottom: 14%; animation-delay: -4.5s; }
@keyframes bob{ 50%{ translate: 0 -8px; } }

.trio{ display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); max-width: 1040px; margin: clamp(3rem, 6vw, 5rem) auto 0; }
@media (max-width: 760px){
  .orbit{ height: auto; display: grid; grid-template-columns: 1fr; gap: 12px; }
  .ring{ display: none; }
  .core{ position: relative; left: auto; top: auto; translate: none; justify-self: center; margin: 1.5rem 0 2.5rem; }
  .float{ position: static; animation: none; }
  .trio{ grid-template-columns: 1fr; }
}

/* Easter egg: hover or tap the "Jimmy" label. */
.nod{ gap: 0; cursor: default; outline: none; }
.nod span{ display: inline-block; max-width: 0; overflow: hidden; white-space: pre; vertical-align: bottom; opacity: 0; transition: max-width .6s var(--ease), opacity .4s var(--ease); }
.nod:hover span, .nod:focus span{ max-width: 10em; opacity: 1; }
.nod:focus-visible{ outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }

/* Easter egg: one click on Jimmy, the resident genius. */
.orbit .core{ border: 0; padding: 0; font: inherit; cursor: pointer; -webkit-user-select: none; user-select: none; transition: scale .35s var(--ease), box-shadow .35s var(--ease); }
.orbit .core:hover{ scale: 1.06; box-shadow: 0 0 110px 26px rgba(92,201,167,.38), 0 0 36px rgba(92,201,167,.55); }
.orbit .core:active{ scale: .97; }
.orbit .core:focus-visible{ outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 32px; }
.orbit .core::after{ content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 2px rgba(92,201,167,.55); pointer-events: none; animation: ping 3.2s var(--ease) infinite 1.5s; opacity: 0; }
@keyframes ping{ 0%{ opacity: .9; scale: 1; } 45%, 100%{ opacity: 0; scale: 1.55; } }
.orbit.met .core::after{ animation: none; }
.hint{ position: absolute; top: 100%; left: 50%; translate: -50% 0; margin-top: 16px; font-family: var(--mono); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); white-space: nowrap; opacity: .75; transition: opacity .3s var(--ease); }
.orbit .core:hover .hint{ opacity: 1; }
.orbit.met .core .hint{ opacity: 0; }
.blast{ position: absolute; left: 50%; top: calc(50% - 150px); z-index: 3; translate: -50% 0; display: grid; justify-items: center; gap: .2rem; padding: .8rem 1.2rem; border-radius: 18px; background: var(--tile); color: var(--muted); font-size: .9rem; white-space: nowrap; text-align: center; box-shadow: 0 0 40px rgba(92,201,167,.35); opacity: 0; scale: .8; pointer-events: none; transition: opacity .3s var(--ease), scale .3s var(--ease); }
.blast b{ font-size: 1.3rem; letter-spacing: -.02em; background: linear-gradient(90deg, #FFFFFF, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.orbit.blasting .blast{ opacity: 1; scale: 1; }
.orbit.blasting .core{ animation: spin .9s var(--ease); }
.orbit.blasting .ring{ animation: burst .9s var(--ease); }
@keyframes spin{ from{ rotate: 0deg; } to{ rotate: 360deg; } }
@keyframes burst{ 40%{ scale: 1.25; opacity: 1; } }
@media (max-width: 760px){ .blast{ top: 160px; } }

/* ---------- privacy: big numbers ---------- */
.stats{ display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.stat{ position: relative; overflow: hidden; display: grid; align-content: space-between; gap: 3rem; min-height: 340px; padding: clamp(1.8rem, 3vw, 2.6rem); border-radius: 28px; background: var(--tile); }
.stat::after{ content: ""; position: absolute; pointer-events: none; width: 90%; height: 70%; left: -20%; top: -25%; background: radial-gradient(closest-side, rgba(92,201,167,.12), transparent); }
.num{ font-size: clamp(4.5rem, 7vw, 6.6rem); font-weight: 700; line-height: .9; letter-spacing: -.05em;
  background: linear-gradient(180deg, #FFFFFF 20%, var(--accent) 130%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .wifi{ width: clamp(4.5rem, 7vw, 6.4rem); height: auto; fill: none; stroke: #4A4A50; stroke-width: 3.4; stroke-linecap: round; }
.stat .wifi circle{ fill: #4A4A50; stroke: none; }
.stat .wifi .cut{ stroke: var(--accent); filter: drop-shadow(0 0 8px rgba(92,201,167,.7)); }
.note{ display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .8rem; margin-top: 2.4rem; text-align: center; color: var(--muted); }
.tag{ font-family: var(--mono); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); background: rgba(92,201,167,.12); padding: .3rem .65rem; border-radius: 999px; }
@media (max-width: 860px){ .stats{ grid-template-columns: 1fr; } .stat{ min-height: 0; } }

/* ---------- roadmap: Now, Next, Later ---------- */
.road{ display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(2rem, 5vw, 4.5rem); }
.phase{ position: relative; display: grid; grid-row: span 3; grid-template-rows: subgrid; align-content: start; gap: 1.4rem; }
.word{ margin: 0; font-size: clamp(4rem, 8.5vw, 7rem); font-weight: 700; line-height: .9; letter-spacing: -.05em; padding-bottom: .05em;
  background: linear-gradient(180deg, #FFFFFF 10%, #4A4A4F 120%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.now .word{ background-image: linear-gradient(180deg, #FFFFFF 0%, var(--accent) 110%); }
.now::before{ content: ""; position: absolute; z-index: -1; pointer-events: none; width: 140%; height: 90%; left: -40%; top: -30%; background: radial-gradient(closest-side, rgba(92,201,167,.16), transparent); }
.list{ list-style: none; margin: .4rem 0 0; padding: 0; display: grid; align-content: start; gap: .75rem; }
.list li{ display: flex; align-items: baseline; gap: .7rem; color: var(--body); font-size: 1rem; }
.list li::before{ content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: #3A3A3F; transform: translateY(-2px); }
.now .list li{ color: var(--ink); }
.now .list li::before{ background: var(--accent); box-shadow: 0 0 8px var(--accent); }
@media (max-width: 860px){ .road{ grid-template-columns: 1fr; gap: 4.5rem; } }

/* ---------- signup ---------- */
.signup-panel{ max-width: 560px; margin-inline: auto; }
#beta .sec-head{ margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
#beta::before{ content: ""; position: absolute; z-index: -1; pointer-events: none; left: 50%; bottom: -10%; width: 80%; height: 70%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(92,201,167,.10), transparent); }
#beta .requirements{ text-align: center; margin-top: 1.6rem; }
.signup-panel form{ display: grid; gap: .45rem; }
.field-label{ font-family: var(--mono); font-size: .7rem; letter-spacing: .18em; color: var(--muted); display: flex; justify-content: space-between; margin-top: .8rem; }
.field-label:first-child{ margin-top: 0; }
.field-hint{ color: var(--faint); }
input{
  font: inherit; font-size: 1rem; color: var(--ink); background: #1D1D20;
  border: 0; border-radius: 12px; padding: .9rem 1rem; width: 100%;
  transition: background .2s var(--ease), box-shadow .2s var(--ease);
}
input::placeholder{ color: var(--faint); }
input:focus{ outline: none; background: #252529; box-shadow: 0 0 0 2px var(--ink); }
.honeypot{ position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.submit{ margin-top: 1.2rem; width: 100%; padding-block: 1rem; }
.form-message{ min-height: 1.4em; font-size: .92rem; color: var(--ink); }
.form-message:empty{ min-height: 0; }
.form-note{ font-size: .86rem; color: var(--faint); }
.success{ display: grid; gap: .9rem; align-content: start; }
.success:focus{ outline: none; }
.success h3{ font-size: clamp(1.9rem, 3.8vw, 2.6rem); font-weight: 500; letter-spacing: -.035em; }
.success-mark{ width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--void); font-size: 1.2rem; }

/* ---------- FAQ ---------- */
.qa{ display: grid; gap: .4rem; }
.qa summary{
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: baseline;
  padding: 1.1rem 0; color: var(--ink); font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 500; letter-spacing: -.02em;
  transition: color .2s var(--ease);
}
.qa summary:hover{ color: var(--body); }
.qa summary::-webkit-details-marker{ display: none; }
.qa summary span{ font-family: var(--mono); color: var(--faint); transition: transform .3s var(--ease); flex: none; }
.qa details[open] summary span{ transform: rotate(45deg); color: var(--ink); }
.qa details p{ padding: 0 3rem 1.4rem 0; color: var(--muted); max-width: 72ch; }
.qa details ul{ list-style: none; margin: -.4rem 0 1.4rem; padding: 0 3rem 0 0; display: grid; gap: .7rem; max-width: 72ch; }
.qa details li{ position: relative; padding-left: 1.4rem; color: var(--muted); }
.qa details li::before{ content: "—"; position: absolute; left: 0; color: var(--faint); }
.qa details li strong{ color: var(--ink); font-weight: 600; }
.qa details p a{ color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.qa-group{ margin-top: clamp(4rem, 8vw, 6rem); }
.qa-group:first-of-type{ margin-top: 0; }
.qa-group > .eyebrow{ margin-bottom: 1rem; }

/* ---------- closing band ---------- */
.closing{ position: relative; text-align: center; display: grid; justify-items: center; gap: 1.5rem; padding: clamp(7rem, 13vw, 11rem) 0 clamp(4rem, 8vw, 6rem); }
.closing h2{ position: relative; font-size: clamp(2.6rem, 7vw, 5.4rem); }
.closing .eyebrow, .closing .cta-row{ position: relative; }

/* ---------- footnotes ---------- */

/* ---------- tenets ---------- */
.tenets{ display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem 2.6rem; width: var(--wide); margin: clamp(2rem, 5vw, 4rem) auto 0; font-family: var(--mono); font-size: .76rem; letter-spacing: .04em; color: var(--faint); }
.tenets b{ color: var(--ink); font-weight: 500; }

/* ---------- page head (tech, FAQ) ---------- */
.head{ padding: clamp(4rem, 8vw, 6rem) 0 clamp(4rem, 8vw, 6rem); display: grid; gap: 1.3rem; }

/* ---------- tech document ---------- */
.doc{ display: grid; grid-template-columns: 250px minmax(0,1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.toc{ position: sticky; top: 96px; display: grid; gap: 2px; font-size: .9rem; }
.toc a{ display: grid; grid-template-columns: 2.2rem 1fr; padding: .42rem .6rem; border-radius: 8px; color: var(--faint); transition: color .2s var(--ease), background .2s var(--ease); }
.toc a span{ font-family: var(--mono); font-size: .74rem; padding-top: .12rem; }
.toc a:hover, .toc a.here{ color: var(--ink); background: var(--surface); }
.chapter{ padding-bottom: clamp(4rem, 8vw, 6rem); }
.chapter .num{ font-family: var(--mono); font-size: .76rem; letter-spacing: .2em; color: var(--faint); display: block; margin-bottom: .9rem; }
.chapter h2{ font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 1.2rem; }
.chapter > p{ max-width: 66ch; }
.chapter p a{ color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.chapter ul{ list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .75rem; max-width: 66ch; }
.chapter li{ position: relative; padding-left: 1.4rem; color: var(--muted); }
.chapter li strong{ color: var(--ink); font-weight: 600; }
.chapter > p:not(.quote) + p:not(.quote){ margin-top: 1.2rem; }
.chapter > p.quote + p{ margin-top: 1.4rem; }
.chapter ul + p{ margin-top: 1.5rem; }
.chapter li::before{ content: "—"; position: absolute; left: 0; color: var(--faint); }
.quote{ margin-top: 1.8rem; color: var(--ink); font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.4; font-weight: 500; letter-spacing: -.02em; max-width: 52ch; }
.end{ text-align: center; display: grid; gap: .9rem; justify-items: center; padding: 2rem 0 0; }
.end .eyebrow{ color: var(--faint); }
.end strong{ color: var(--ink); font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 500; letter-spacing: -.035em; }
@media (max-width: 900px){
  .doc{ grid-template-columns: 1fr; }
  .toc{ position: static; background: var(--surface); border-radius: 16px; padding: .5rem; margin-bottom: 3rem; }
}

/* ---------- footer ---------- */
.footer{ position: relative; margin-top: clamp(5rem, 10vw, 8rem); background: #070707; }
.footer-in{ width: var(--wide); margin-inline: auto; display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0,1fr)); gap: 2rem; padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem; }
.footer .mark{ margin-bottom: .9rem; }
.footer p{ font-size: .92rem; color: var(--faint); max-width: 32ch; }
.footer h4{ margin: 0 0 1rem; font-family: var(--mono); font-weight: 400; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.footer ul{ list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; font-size: .93rem; }
.footer ul a{ color: var(--muted); transition: color .2s var(--ease); }
.footer ul a:hover{ color: var(--ink); }
.live{ display: inline-flex; align-items: center; gap: .6rem; }
.footer-base{ width: var(--wide); margin-inline: auto; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1rem 0 2.2rem; font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
@media (max-width: 820px){ .footer-in{ grid-template-columns: 1fr 1fr; } .footer-in > div:first-child{ grid-column: 1 / -1; } }

/* ---------- scroll-linked motion (Safari 26, Chromium) ----------
   The intro lights up phrase by phrase as you scroll. Elsewhere the
   reveal-on-scroll fallback above applies. */
@supports (animation-timeline: view()){
  @media (prefers-reduced-motion: no-preference){
    .intro p{ view-timeline: --intro; color: #3C3C40; }
    .lit{ animation: lit linear both; animation-timeline: --intro; }
    .lit:nth-child(1){ animation-range: cover 18% cover 34%; }
    .lit:nth-child(2){ animation-range: cover 32% cover 48%; }
    .lit:nth-child(3){ animation-range: cover 46% cover 62%; }
    @keyframes lit{ from{ color: #3C3C40; } to{ color: #FFFFFF; } }
  }
}
