/* =========================================================
   TVZavi Remote — landing page
   Palette pulled from the app's AppColors / AppButtonColors
   ========================================================= */
:root {
  --bg: #06070a;
  --bg-2: #0b0a0f;
  --surface: #110e18;
  --raised: #18141f;
  --line: rgba(201, 168, 255, .12);
  --line-2: rgba(201, 168, 255, .22);
  --text: #f4f6fb;
  --muted: #c4bcdb;
  --dim: #7c7394;
  --accent: #9d5cff;
  --accent-2: #c9a8ff;
  --deep: #500295;
  --green: #3ddc84;
  --warn: #ffb020;
  --red: #ff5d5d;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --radius: 28px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
::selection { background: rgba(157, 92, 255, .35); }

.container { width: min(1200px, 100% - 48px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 48px); }
.center { text-align: center; }
.section { position: relative; padding: clamp(96px, 14vw, 180px) 0; }

/* ---------- Typography ---------- */
.h2 {
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 800;
}
.h2.big { font-size: clamp(44px, 7vw, 96px); }
.lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); max-width: 560px; margin-top: 22px; }
.lead.center { margin-inline: auto; }
.kicker {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 18px;
}
.muted-text { color: var(--dim); }
.grad-text {
  background: linear-gradient(100deg, #fff 0%, var(--accent-2) 30%, var(--accent) 55%, #e2d1ff 80%, #fff 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer { to { background-position: -250% 0; } }
.section-head { margin-bottom: clamp(48px, 7vw, 88px); }

/* split-word reveal */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span {
  display: inline-block;
  transform: translateY(110%) rotate(4deg);
  transform-origin: left bottom;
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--i) * 55ms + var(--d, 0s));
}
.split .w > span.grad-text { animation: shimmer 8s linear infinite; }
.split.in .w > span { transform: none; }

/* generic reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(8px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- Intro ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--bg);
  transition: opacity .7s var(--ease), visibility .7s;
}
.intro.done { opacity: 0; visibility: hidden; }
.intro-mark { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.intro-waves { width: 96px; height: 96px; }
.intro-waves path {
  fill: none; stroke: var(--accent); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 80; stroke-dashoffset: 80;
  animation: draw .7s var(--ease) forwards;
}
.intro-waves path:nth-child(1) { animation-delay: .3s; }
.intro-waves path:nth-child(2) { animation-delay: .15s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.intro-word {
  font-weight: 800; font-size: 22px; letter-spacing: -.02em;
  opacity: 0; transform: translateY(8px);
  animation: fadeUp .6s .45s var(--ease) forwards;
}
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ---------- Chrome: progress, grain, cursor glow ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), var(--accent-2)); box-shadow: 0 0 12px var(--accent); }
.grain {
  position: fixed; inset: -50%; z-index: 70; pointer-events: none; opacity: .045;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 0% { transform: translate(0,0) } 25% { transform: translate(-3%,2%) } 50% { transform: translate(2%,-3%) } 75% { transform: translate(-2%,-1%) } }
.cursor-glow {
  position: fixed; left: 0; top: 0; z-index: 1; pointer-events: none;
  width: 600px; height: 600px; margin: -300px 0 0 -300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(157,92,255,.10), transparent 60%);
  transform: translate3d(var(--cx, -999px), var(--cy, -999px), 0);
  transition: opacity .4s;
}

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border: 0; border-radius: 999px;
  font-family: inherit; cursor: pointer; font-weight: 650; font-size: 16px; letter-spacing: -.01em;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s;
  will-change: transform;
}
.btn-lg { --h: 58px; padding: 0 30px; font-size: 17px; }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 15px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #b07aff, #7c3aed);
  box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset, 0 10px 40px -8px rgba(157,92,255,.7), 0 0 0 0 rgba(157,92,255,.4);
  overflow: hidden;
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: sheen 4.5s 2s var(--ease) infinite;
}
@keyframes sheen { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.2) inset, 0 16px 50px -6px rgba(157,92,255,.9), 0 0 0 6px rgba(157,92,255,.12); }
.btn-ghost { color: var(--text); background: rgba(255,255,255,.04); box-shadow: 0 0 0 1px var(--line-2) inset; backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 50;
  width: min(1180px, 100% - 28px);
  transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px 10px 10px 18px; border-radius: 999px;
  transition: background .4s, box-shadow .4s, transform .5s var(--ease), backdrop-filter .4s;
}
.nav.scrolled {
  background: rgba(10, 12, 17, .62);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 0 0 1px var(--line) inset, 0 20px 50px -20px rgba(0,0,0,.8);
}
.nav.hide { transform: translate(-50%, -140%); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; letter-spacing: -.02em; font-size: 17px; }
.brand img { border-radius: 8px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.brand em { font-style: normal; color: var(--muted); font-weight: 500; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 15px; transition: color .25s, background .25s; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.06); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  padding: 130px 0 80px;
  display: flex; align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.aurora { position: absolute; inset: -20% -10% 0; z-index: -2; filter: blur(70px); opacity: .9; }
.aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; }
.aurora .a1 { width: 60vw; height: 60vw; left: 30%; top: -30%; background: radial-gradient(circle, rgba(80,2,149,.95), transparent 65%); animation: float1 18s ease-in-out infinite; }
.aurora .a2 { width: 45vw; height: 45vw; left: -10%; top: 10%; background: radial-gradient(circle, rgba(157,92,255,.38), transparent 65%); animation: float2 22s ease-in-out infinite; }
.aurora .a3 { width: 40vw; height: 40vw; right: -10%; top: 30%; background: radial-gradient(circle, rgba(214,92,255,.28), transparent 65%); animation: float3 26s ease-in-out infinite; }
@keyframes float1 { 50% { transform: translate(-12%, 14%) scale(1.15); } }
@keyframes float2 { 50% { transform: translate(18%, -8%) scale(.9); } }
@keyframes float3 { 50% { transform: translate(-16%, -14%) scale(1.2); } }
.hero-grid-floor {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 55%; z-index: -1;
  background-image:
    linear-gradient(rgba(201,168,255,.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,255,.13) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(600px) rotateX(64deg);
  transform-origin: center top;
  mask-image: linear-gradient(to bottom, transparent, #000 35%, #000 60%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 35%, #000 60%, transparent);
  animation: floor 6s linear infinite;
}
@keyframes floor { to { background-position: 0 64px, 0 0; } }
.stars { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }

.hero-inner {
  width: min(1280px, 100% - 48px); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); gap: 40px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--accent-2);
  background: rgba(157,92,255,.08); box-shadow: 0 0 0 1px rgba(157,92,255,.25) inset;
  margin-bottom: 26px;
}
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: livePulse 2s infinite; }
@keyframes livePulse { 70% { box-shadow: 0 0 0 10px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
.hero-title {
  font-size: clamp(46px, 5.7vw, 88px);
  line-height: .98; letter-spacing: -.045em; font-weight: 850;
}
.hero-sub { color: var(--muted); font-size: clamp(17px, 1.45vw, 20px); max-width: 540px; margin-top: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-cta.center { justify-content: center; }
.hero-stats { list-style: none; padding: 0; margin: 44px 0 0; display: flex; gap: 36px; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats b { font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.hero-stats span { font-size: 13px; color: var(--dim); margin-top: 6px; letter-spacing: .02em; }

/* Stage */
.stage { position: relative; perspective: 1600px; }
.stage-tilt {
  position: relative; aspect-ratio: 1 / .82;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .9s var(--ease);
}
.try-hint {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 12px; font-size: 13.5px; color: var(--dim);
}
.kbd { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 6px; font-size: 12px; color: var(--muted); background: rgba(255,255,255,.06); box-shadow: 0 0 0 1px var(--line-2) inset, 0 2px 0 rgba(255,255,255,.06); }

/* TV */
.tv {
  position: absolute; left: 0; top: 8%; width: 84%;
  transform: translateZ(-40px) translateY(var(--tvY, 0px));
}
.tv-bezel {
  padding: 1.1%; border-radius: 16px;
  background: linear-gradient(160deg, #2a2f38, #0c0e12 40%, #191c22);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 50px 100px -30px rgba(0,0,0,.9), 0 0 120px -20px rgba(157,92,255,.35);
}
.tv-screen {
  position: relative; aspect-ratio: 16 / 9; border-radius: 9px; overflow: hidden;
  background: #000; container-type: inline-size;
}
.tv-stand { width: 26%; height: 18px; margin: 0 auto; background: linear-gradient(#1a1d23, #0c0e12); clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%); }
.tv-backdrop, .tv-backdrop .bd { position: absolute; inset: 0; }
.tv-backdrop .bd { background-size: cover; transition: opacity .8s var(--ease), transform 6s linear; }
.tv-backdrop .bd-b { opacity: 0; }
.tv-backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.3) 60%, transparent), linear-gradient(0deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.2) 55%, transparent 80%); }
.tv-ui { position: absolute; inset: 0; padding: 3.2cqw 4cqw; display: flex; flex-direction: column; transition: opacity .5s, transform .6s var(--ease); }
.tv-nav { display: flex; align-items: center; gap: 2.6cqw; font-size: 1.9cqw; color: rgba(255,255,255,.6); font-weight: 600; }
.tv-nav .on { color: #fff; position: relative; }
.tv-nav .on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.7cqw; height: .3cqw; border-radius: 1cqw; background: var(--accent); }
.tv-logo { width: 2.6cqw; height: 2.6cqw; border-radius: .7cqw; background: linear-gradient(135deg, var(--accent-2), var(--accent)); }
.tv-clock { margin-left: auto; color: rgba(255,255,255,.75); }
.tv-hero { margin-top: 3.4cqw; }
.tv-tag { display: inline-block; font-size: 1.4cqw; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); }
.tv-title { font-size: 4.6cqw; letter-spacing: -.03em; line-height: 1.05; font-weight: 800; margin-top: .8cqw; }
.tv-meta { font-size: 1.8cqw; color: rgba(255,255,255,.65); margin-top: .8cqw; }
.tv-title.swap, .tv-meta.swap { animation: titleSwap .55s var(--ease); }
@keyframes titleSwap { from { opacity: 0; transform: translateY(1.2cqw); filter: blur(4px); } }
.tv-rows { margin-top: auto; display: flex; flex-direction: column; gap: 1.2cqw; }
.tv-row-label { font-size: 1.6cqw; font-weight: 650; color: rgba(255,255,255,.8); margin-bottom: .8cqw; display: block; }
.tv-track { display: flex; gap: 1.4cqw; transition: transform .6s var(--ease); }
.tile {
  position: relative; flex: 0 0 15.6cqw; aspect-ratio: 16 / 9; border-radius: 1cqw;
  background-size: cover; overflow: hidden;
  transition: transform .45s var(--spring), box-shadow .45s var(--ease), opacity .4s;
  opacity: .78;
}
.tile span { position: absolute; left: .9cqw; bottom: .6cqw; font-size: 1.25cqw; font-weight: 700; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.tile.focus { transform: scale(1.12); opacity: 1; z-index: 2; box-shadow: 0 0 0 .35cqw #fff, 0 1.5cqw 3cqw rgba(0,0,0,.6), 0 0 4cqw rgba(201,168,255,.5); }
.tile .prog { position: absolute; left: 0; bottom: 0; height: .4cqw; background: var(--accent); }

/* TV overlays */
.tv-player, .tv-search, .tv-cast { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s, transform .8s var(--ease); transform: scale(1.06); }
.tv-screen.v-player .tv-player, .tv-screen.v-search .tv-search, .tv-screen.v-cast .tv-cast { opacity: 1; visibility: visible; transform: none; }
.tv-screen.v-player .tv-ui, .tv-screen.v-cast .tv-ui { opacity: 0; transform: scale(.96); }
.tv-screen.v-search .tv-ui { opacity: .15; filter: blur(4px); }
.tv-player-bg { position: absolute; inset: 0; background-size: cover; animation: kenburns 14s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.12) translate(-2%, 1%); } }
.tv-player::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.8), transparent 45%); }
.tv-player-info { position: absolute; left: 4cqw; right: 4cqw; bottom: 3.6cqw; z-index: 2; }
.tv-player-title { font-size: 3.6cqw; font-weight: 800; letter-spacing: -.02em; margin: .4cqw 0 1.6cqw; }
.tv-bar { height: .55cqw; background: rgba(255,255,255,.25); border-radius: 1cqw; overflow: hidden; }
.tv-bar-fill { display: block; height: 100%; width: 0; background: #fff; border-radius: inherit; transition: width .4s linear; }
.tv-playstate { position: absolute; inset: 0; display: grid; place-items: center; z-index: 3; pointer-events: none; }
.tv-playstate i { width: 11cqw; height: 11cqw; border-radius: 50%; background: rgba(0,0,0,.45); backdrop-filter: blur(6px); opacity: 0; transform: scale(.6); position: relative; }
.tv-playstate i::before { content: ""; position: absolute; inset: 0; margin: auto; width: 3.4cqw; height: 4cqw; background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); transform: translateX(10%); }
.tv-playstate.paused i::before { clip-path: polygon(0 0, 35% 0, 35% 100%, 0 100%, 0 0, 65% 0, 100% 0, 100% 100%, 65% 100%, 65% 0); transform: none; }
.tv-playstate.flash i { animation: psFlash .9s var(--ease); }
@keyframes psFlash { 0% { opacity: 0; transform: scale(.6); } 25% { opacity: 1; transform: scale(1); } 70% { opacity: 1; } 100% { opacity: 0; transform: scale(1.15); } }

.tv-search { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6cqw; background: rgba(4,6,10,.55); }
.tv-search-field { display: flex; align-items: center; gap: 1.4cqw; width: 62%; height: 7cqw; padding: 0 2.4cqw; border-radius: 4cqw; background: rgba(255,255,255,.1); box-shadow: 0 0 0 .25cqw rgba(201,168,255,.6); font-size: 2.6cqw; font-weight: 600; }
.tv-search-ico { width: 2.4cqw; height: 2.4cqw; border: .35cqw solid var(--accent-2); border-radius: 50%; position: relative; flex: none; }
.tv-search-ico::after { content: ""; position: absolute; width: 1cqw; height: .35cqw; background: var(--accent-2); right: -1cqw; bottom: -.5cqw; transform: rotate(45deg); }
.tv-search-hint { font-size: 1.6cqw; color: var(--accent-2); }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--accent-2); animation: blink 1s steps(1) infinite; margin-left: 1px; }
@keyframes blink { 50% { opacity: 0; } }

.tv-cast-photo { position: absolute; inset: 0; background-size: cover; animation: kenburns 10s ease-in-out infinite alternate; }
.tv-cast-chip { position: absolute; left: 3cqw; top: 3cqw; display: flex; align-items: center; gap: 1cqw; padding: .9cqw 1.8cqw; border-radius: 3cqw; font-size: 1.6cqw; font-weight: 650; background: rgba(0,0,0,.5); backdrop-filter: blur(8px); }
.tv-cast-chip i { width: 1.2cqw; height: 1.2cqw; border-radius: 50%; background: var(--green); box-shadow: 0 0 1cqw var(--green); }

.tv-volume { position: absolute; right: 3cqw; top: 50%; transform: translate(150%, -50%); display: flex; flex-direction: column; align-items: center; gap: 1.2cqw; padding: 2cqw 1.4cqw; border-radius: 3cqw; background: rgba(15,19,26,.8); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset; transition: transform .5s var(--ease); z-index: 5; }
.tv-volume.show { transform: translate(0, -50%); }
.vol-track { width: .9cqw; height: 18cqw; border-radius: 1cqw; background: rgba(255,255,255,.15); position: relative; overflow: hidden; }
.vol-fill { position: absolute; left: 0; right: 0; bottom: 0; height: 24%; background: linear-gradient(0deg, var(--accent), var(--accent-2)); transition: height .3s var(--ease); }
.vol-num { font-size: 1.6cqw; font-weight: 700; }
.vol-ico { width: 2.4cqw; height: 2.4cqw; background: #fff; clip-path: polygon(0 32%, 30% 32%, 65% 0, 65% 100%, 30% 68%, 0 68%); }

.tv-toast { position: absolute; left: 50%; bottom: 4cqw; transform: translate(-50%, 200%); padding: 1cqw 2.2cqw; border-radius: 3cqw; font-size: 1.7cqw; font-weight: 650; background: rgba(15,19,26,.85); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset; transition: transform .5s var(--ease); white-space: nowrap; z-index: 6; }
.tv-toast.show { transform: translate(-50%, 0); }

.tv-off { position: absolute; inset: 0; background: #000; z-index: 9; pointer-events: none; opacity: 0; }
.tv-screen.off .tv-off { animation: crtOff .55s var(--ease) forwards; }
.tv-screen.on-anim .tv-off { animation: crtOn .7s var(--ease) forwards; }
@keyframes crtOff { 0% { opacity: 0; clip-path: inset(0 0 0 0); } 40% { opacity: 1; clip-path: inset(49.5% 0 49.5% 0); background: #fff; } 70% { clip-path: inset(49.5% 49% 49.5% 49%); background: #fff; } 100% { opacity: 1; clip-path: inset(0); background: #000; } }
@keyframes crtOn { 0% { opacity: 1; background: #000; } 30% { opacity: 1; background: #fff; clip-path: inset(49.5% 0 49.5% 0); } 100% { opacity: 0; clip-path: inset(0); background: #fff; } }
.tv-glare { position: absolute; inset: 0; pointer-events: none; z-index: 8; background: linear-gradient(115deg, rgba(255,255,255,.08) 0%, transparent 30%, transparent 70%, rgba(255,255,255,.03)); }

/* Phone */
.phone { position: relative; }
.phone-frame {
  position: relative; padding: 3.2%; border-radius: 15% / 7%;
  background: linear-gradient(145deg, #3a3f48, #121418 30%, #23262c 60%, #0b0c0e);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 0 0 2px #050608, 0 60px 100px -30px rgba(0,0,0,.95), 0 30px 60px -20px rgba(80,2,149,.6);
}
.phone-screen {
  position: relative; border-radius: 12.4% / 5.7%; overflow: hidden; background: #08090b;
  aspect-ratio: 1320 / 2868; container-type: inline-size;
}
.phone-screen > img { width: 100%; height: 100%; object-fit: cover; }
.phone-island { position: absolute; top: 4.6%; left: 50%; width: 30%; height: 3.3%; transform: translateX(-50%); background: #000; border-radius: 99px; }
.hero-phone {
  position: absolute; right: 2%; top: 0; width: 34%;
  transform: translateZ(60px) translateY(var(--phY, 0px)) rotate(4deg);
  animation: phoneFloat 7s ease-in-out infinite;
}
@keyframes phoneFloat { 50% { translate: 0 -12px; } }
.phone-pill {
  position: absolute; left: 19.4%; top: 8.5%; width: 61.4%; height: 5.3%;
  display: flex; align-items: center; gap: 3.4cqw; padding-left: 5cqw;
  border-radius: 99px; background: #07080a; font-size: 5.1cqw; font-weight: 750; color: #efe8fb; letter-spacing: -.01em;
}
.phone-pill i { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: var(--green); box-shadow: 0 0 2cqw var(--green); flex: none; }
.phone-pill span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hotspots { position: absolute; inset: 0; }
.hs {
  position: absolute; transform: translate(-50%, -50%);
  border: 0; padding: 0; background: transparent; border-radius: 50%; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.hs::after {
  content: ""; position: absolute; inset: -10%; border-radius: inherit;
  background: radial-gradient(circle, rgba(201,168,255,.55), rgba(157,92,255,.15) 55%, transparent 70%);
  opacity: 0; transform: scale(.6);
}
.hs.press::after { animation: hsPress .55s var(--ease); }
@keyframes hsPress { 0% { opacity: 1; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.35); } }
.hs:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.phone-waves { position: absolute; left: -2%; top: 8%; width: 30%; aspect-ratio: 1; pointer-events: none; }
.phone-waves span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(201,168,255,.45); clip-path: polygon(0 0, 50% 50%, 0 100%); animation: wave 2.4s var(--ease) infinite; opacity: 0; }
.phone-waves span:nth-child(2) { animation-delay: .8s; }
.phone-waves span:nth-child(3) { animation-delay: 1.6s; }
@keyframes wave { 0% { transform: scale(.3); opacity: 0; } 20% { opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

.packets { position: absolute; inset: 0; pointer-events: none; transform: translateZ(30px); }
.packet { position: absolute; left: 0; top: 0; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff, 0 0 24px var(--accent), 0 0 40px var(--accent); }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border-radius: 99px; box-shadow: 0 0 0 1.5px var(--line-2) inset; }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--accent-2); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee-wrap { position: relative; padding: 34px 0; border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(80,2,149,.08), transparent); overflow: hidden; display: grid; gap: 14px; }
.marquee { mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); overflow: hidden; }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marq 48s linear infinite; }
.marquee[data-dir="right"] .marquee-track { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { flex: none; padding: 12px 22px; border-radius: 999px; font-size: 17px; font-weight: 650; color: var(--muted); letter-spacing: -.01em; background: rgba(255,255,255,.025); box-shadow: 0 0 0 1px var(--line) inset; transition: color .3s, box-shadow .3s, background .3s; }
.marquee-track span:hover { color: #fff; background: rgba(157,92,255,.12); box-shadow: 0 0 0 1px rgba(157,92,255,.5) inset; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Discovery ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.radar-wrap { display: grid; place-items: center; }
.radar { position: relative; width: min(500px, 100%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(80,2,149,.35), transparent 70%); }
.radar-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(201,168,255,.16); }
.radar-ring.r1 { inset: 0; } .radar-ring.r2 { inset: 17%; } .radar-ring.r3 { inset: 34%; }
.radar-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 72%, rgba(157,92,255,.08) 80%, rgba(157,92,255,.55) 99.6%, transparent 100%); animation: spin 4s linear infinite; mask-image: radial-gradient(circle, #000 69%, transparent 70%); -webkit-mask-image: radial-gradient(circle, #000 69%, transparent 70%); }
@keyframes spin { to { transform: rotate(360deg); } }
.radar-pulse { position: absolute; inset: 40%; border-radius: 50%; border: 2px solid rgba(201,168,255,.5); animation: rpulse 3s var(--ease) infinite; }
.radar-pulse.p2 { animation-delay: 1.5s; }
@keyframes rpulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(5); opacity: 0; } }
.radar-core { position: absolute; inset: 41%; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, #b07aff, #6a1fd0); box-shadow: 0 0 0 8px rgba(157,92,255,.15), 0 0 60px rgba(157,92,255,.7); color: #fff; }
.radar-core svg { width: 46%; }
.blip { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%) scale(0); opacity: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: transform .8s var(--spring), opacity .5s; transition-delay: var(--d); }
.in .blip, .radar-wrap.in .blip { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.blip i { width: 14px; height: 14px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(61,220,132,.6), 0 0 18px var(--green); animation: livePulse 2s infinite; }
.blip span { font-size: 12.5px; font-weight: 650; padding: 4px 10px; border-radius: 99px; background: rgba(10,12,17,.8); box-shadow: 0 0 0 1px var(--line-2) inset; white-space: nowrap; }
.found-list { list-style: none; padding: 0; margin: 34px 0 28px; display: grid; gap: 10px; max-width: 480px; }
.found { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 18px; background: rgba(255,255,255,.03); box-shadow: 0 0 0 1px var(--line) inset; opacity: 0; transform: translateX(-30px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: var(--d); }
.found-list.in .found { opacity: 1; transform: none; }
.found div { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.found b { font-size: 16px; }
.found small { color: var(--dim); font-size: 13.5px; }
.tv-ico { width: 38px; height: 28px; border-radius: 6px; border: 2px solid var(--accent-2); position: relative; flex: none; }
.tv-ico::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: -7px; height: 2px; background: var(--accent-2); border-radius: 2px; }
.pill-ok { font-style: normal; font-size: 13px; font-weight: 650; color: var(--accent-2); padding: 5px 12px; border-radius: 99px; background: rgba(157,92,255,.12); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span, .route-chips span { font-size: 13.5px; font-weight: 600; color: var(--muted); padding: 7px 14px; border-radius: 99px; background: rgba(255,255,255,.04); box-shadow: 0 0 0 1px var(--line) inset; }

/* ---------- Scrollytelling ---------- */
.scrolly { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); }
.scrolly-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; }
.scrolly-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(157,92,255,.35), transparent 65%); filter: blur(40px); transition: background 1s; }
.scrolly-phone { width: min(330px, 80%); }
.scrolly-dots { position: absolute; right: 0; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; }
.scrolly-dots i { width: 6px; height: 6px; border-radius: 99px; background: var(--line-2); transition: height .5s var(--ease), background .5s; }
.scrolly-dots i.on { height: 26px; background: var(--accent); }
.chapters { padding: 22vh 0 30vh; }
.chapter { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .18; transition: opacity .6s var(--ease); }
.chapter.active { opacity: 1; }
.chapter-phone { display: none; }
.chapter-num { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 14px; }
.chapter h3 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; }
.chapter p { color: var(--muted); font-size: clamp(17px, 1.5vw, 19px); margin-top: 18px; max-width: 480px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: #e3dcef; font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: rgba(157,92,255,.18); box-shadow: 0 0 0 1px rgba(157,92,255,.4) inset; }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 5px; height: 8px; border: solid var(--accent-2); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.route-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }

/* Mock screens (shared by sticky phone + mobile clones) */
.mock { background: radial-gradient(120% 40% at 50% 0%, rgba(80,2,149,.7), transparent 70%), #08090b; }
.scr { position: absolute; inset: 0; padding: 16cqw 7cqw 8cqw; display: flex; flex-direction: column; align-items: center; opacity: 0; transform: scale(.94) translateY(4cqw); filter: blur(6px); transition: opacity .6s var(--ease), transform .8s var(--ease), filter .6s var(--ease); pointer-events: none; }
.scr.active { opacity: 1; transform: none; filter: none; }
.mock-top { width: 100%; display: flex; justify-content: center; }
.mock-pill { display: flex; align-items: center; gap: 2.6cqw; padding: 3cqw 6cqw; border-radius: 99px; background: #050608; font-size: 4.4cqw; font-weight: 700; box-shadow: 0 0 0 1px rgba(255,255,255,.05) inset; }
.mock-pill i { width: 2.4cqw; height: 2.4cqw; border-radius: 50%; background: var(--green); box-shadow: 0 0 2cqw var(--green); }
.mock-title { align-self: flex-start; font-size: 7cqw; font-weight: 800; letter-spacing: -.02em; margin-bottom: 4cqw; }

/* D-pad morph */
.dp { position: relative; width: 76cqw; aspect-ratio: 1; margin-top: 14cqw; }
.dp-ring, .dp-pad, .dp-ok { background: linear-gradient(180deg, #2a2a2a, #1d1d1d 50%, #161616); box-shadow: 0 0 0 1px rgba(255,255,255,.07) inset, 0 3cqw 6cqw rgba(0,0,0,.6), 0 -1px 0 rgba(255,255,255,.08) inset; }
.dp-ring { position: absolute; inset: 0; border-radius: 50%; transition: all .8s var(--ease); }
.dp-arm { position: absolute; inset: 0; transform: rotate(var(--r)); pointer-events: none; }
.dp-pad { position: absolute; left: 50%; top: 3%; width: 26%; height: 26%; transform: translateX(-50%); border-radius: 30%; display: grid; place-items: center; background: transparent; box-shadow: none; transition: all .8s var(--ease); }
.dp-pad svg { width: 52%; fill: none; stroke: #f2f4f8; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .8s var(--ease); }
.dp-ok { position: absolute; inset: 32%; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 7cqw; box-shadow: 0 0 0 2.4cqw #0d0d0d, 0 0 0 1px rgba(255,255,255,.07) inset, 0 2cqw 4cqw rgba(0,0,0,.6); transition: all .8s var(--ease); }
.dp[data-style="square"] .dp-ring { border-radius: 22%; }
.dp[data-style="square"] .dp-ok { border-radius: 24%; }
.dp[data-style="cross"] .dp-ring { opacity: 0; transform: scale(.7); }
.dp[data-style="cross"] .dp-pad { top: 0; width: 34%; height: 36%; border-radius: 18% 18% 8% 8%; background: linear-gradient(180deg, #2a2a2a, #191919); box-shadow: 0 0 0 1px rgba(255,255,255,.07) inset, 0 2cqw 4cqw rgba(0,0,0,.5); }
.dp[data-style="cross"] .dp-ok { inset: 33%; border-radius: 14%; box-shadow: 0 0 0 1px rgba(255,255,255,.07) inset; }
.dp[data-style="petals"] .dp-ring { opacity: 0; transform: scale(.7) rotate(45deg); }
.dp[data-style="petals"] .dp-pad { top: 2%; width: 40%; height: 32%; border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%; background: linear-gradient(180deg, #2c2c2c, #191919); box-shadow: 0 0 0 1px rgba(255,255,255,.07) inset, 0 2cqw 4cqw rgba(0,0,0,.5); }
.dp[data-style="buttons"] .dp-ring { opacity: 0; transform: scale(.7); }
.dp[data-style="buttons"] .dp-pad { top: 1%; width: 28%; height: 28%; border-radius: 50%; background: linear-gradient(180deg, #2a2a2a, #191919); box-shadow: 0 0 0 1px rgba(255,255,255,.07) inset, 0 2cqw 4cqw rgba(0,0,0,.5); }
.dp[data-style="buttons"] .dp-ok { inset: 34%; }
.dp[data-style="diamond"] .dp-ring { border-radius: 16%; transform: rotate(45deg) scale(.8); }
.dp[data-style="diamond"] .dp-pad { top: 6%; }
.dp[data-style="diamond"] .dp-ok { border-radius: 20%; transform: rotate(45deg) scale(.86); }
.dp[data-style="arrows"] .dp-ring { opacity: 0; transform: scale(1.1); }
.dp[data-style="arrows"] .dp-pad svg { transform: scale(1.4); }
.dp[data-style="arrows"] .dp-ok { inset: 36%; }
.dp-pad.tap { animation: padTap .45s var(--ease); }
@keyframes padTap { 30% { background: rgba(201,168,255,.25); box-shadow: 0 0 6cqw rgba(157,92,255,.6); } }
.dp-styles { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6cqw; margin-top: 12cqw; }
.dp-styles span { font-size: 3.4cqw; font-weight: 650; padding: 1.4cqw 3cqw; border-radius: 99px; color: var(--dim); background: rgba(255,255,255,.04); transition: all .4s var(--ease); }
.dp-styles span.on { color: #fff; background: var(--accent); box-shadow: 0 0 4cqw rgba(157,92,255,.6); }
.haptic-row { margin-top: auto; display: flex; align-items: center; gap: 2cqw; font-size: 3.8cqw; color: var(--muted); }
.haptic-row b { color: #fff; }
.hap-ico { width: 5cqw; height: 5cqw; border-radius: 1.2cqw; border: .6cqw solid var(--accent-2); animation: buzz .9s infinite; }
@keyframes buzz { 0%, 50%, 100% { transform: none; } 10%, 30% { transform: translateX(-.6cqw) rotate(-4deg); } 20%, 40% { transform: translateX(.6cqw) rotate(4deg); } }

/* Touchpad */
.touch-area { position: relative; flex: 1; width: 100%; margin-top: 6cqw; border-radius: 8cqw; background: linear-gradient(180deg, #121417, #0c0d10); box-shadow: 0 0 0 1px rgba(255,255,255,.05) inset; overflow: hidden; }
.touch-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.touch-label { position: absolute; left: 0; right: 0; bottom: 6cqw; text-align: center; font-size: 3.6cqw; color: var(--dim); }

/* Keyboard */
.kb-field { width: 100%; display: flex; align-items: center; min-height: 13cqw; padding: 0 4cqw; border-radius: 4cqw; background: #14171d; box-shadow: 0 0 0 1px rgba(201,168,255,.35) inset; font-size: 4.6cqw; font-weight: 600; }
.kb-send { align-self: flex-end; margin-top: 3cqw; font-size: 3.8cqw; font-weight: 700; padding: 2.4cqw 5cqw; border-radius: 99px; background: rgba(157,92,255,.15); color: var(--accent-2); transition: all .3s; }
.kb-send.go { background: var(--accent); color: #fff; box-shadow: 0 0 5cqw rgba(157,92,255,.7); transform: scale(1.06); }
.kb-keys { margin-top: auto; width: calc(100% + 14cqw); margin-inline: -7cqw; margin-bottom: -8cqw; padding: 3cqw 1.6cqw 4cqw; background: #1b1d22; border-radius: 4cqw 4cqw 0 0; display: grid; gap: 2.4cqw; }
.kb-row { display: flex; justify-content: center; gap: 1.6cqw; }
.kb-row span { flex: 0 0 8cqw; height: 11cqw; border-radius: 1.6cqw; background: #3a3d44; display: grid; place-items: center; font-size: 4.4cqw; transition: background .15s, transform .15s; box-shadow: 0 .5cqw 0 #121316; }
.kb-row span.wide { flex-basis: 50cqw; font-size: 3.4cqw; color: #bbb; }
.kb-row span.hit { background: #8a8f9a; transform: translateY(-1.6cqw) scale(1.25); }

/* Apps */
.apps-search { width: 100%; padding: 3cqw 4cqw; border-radius: 3.4cqw; background: #14171d; font-size: 3.8cqw; color: var(--dim); }
.apps-label { align-self: flex-start; font-size: 3.6cqw; font-weight: 700; color: var(--muted); margin: 5cqw 0 3cqw; }
.apps-grid { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 3.4cqw; }
.app-tile { display: flex; flex-direction: column; align-items: center; gap: 1.6cqw; font-size: 2.8cqw; color: var(--muted); opacity: 0; transform: scale(.6); transition: opacity .5s var(--ease), transform .6s var(--spring); transition-delay: calc(var(--i) * 45ms); }
.scr.active .app-tile { opacity: 1; transform: none; }
.app-tile i { width: 100%; aspect-ratio: 1; border-radius: 26%; display: grid; place-items: center; box-shadow: 0 2cqw 4cqw rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.08) inset; transition: transform .3s var(--spring), box-shadow .3s; }
.app-tile i svg { width: 48%; fill: #fff; }
.app-tile.launch i { transform: scale(.86); box-shadow: 0 0 0 1cqw rgba(201,168,255,.7), 0 0 8cqw rgba(157,92,255,.7); }
.apps-toast { position: absolute; left: 50%; bottom: 7cqw; transform: translate(-50%, 30cqw); padding: 2.6cqw 5cqw; border-radius: 99px; background: #1c222c; font-size: 3.5cqw; font-weight: 650; white-space: nowrap; box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 4cqw 8cqw rgba(0,0,0,.5); transition: transform .5s var(--ease); }
.apps-toast.show { transform: translate(-50%, 0); }

/* Voice */
.scr-voice { justify-content: center; gap: 6cqw; background: radial-gradient(80% 50% at 50% 70%, rgba(157,92,255,.22), transparent 70%); }
.voice-head { font-size: 8cqw; font-weight: 800; letter-spacing: -.02em; }
.voice-transcript { min-height: 12cqw; font-size: 5cqw; color: var(--accent-2); text-align: center; font-weight: 600; }
.voice-wave { display: flex; align-items: center; gap: 1.4cqw; height: 22cqw; }
.voice-wave i { width: 1.6cqw; height: 20%; border-radius: 2cqw; background: linear-gradient(180deg, var(--accent-2), var(--accent)); animation: bar 1s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -97ms); animation-duration: calc(.5s + var(--j) * .5s); }
@keyframes bar { to { height: 100%; } }
.voice-mic { position: relative; width: 26cqw; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #b07aff, #6a1fd0); box-shadow: 0 0 10cqw rgba(157,92,255,.7); }
.voice-mic svg { width: 42%; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.voice-mic svg rect { fill: #fff; stroke: none; }
.mic-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(201,168,255,.6); animation: rpulse 2s var(--ease) infinite; }
.mic-ring.r2 { animation-delay: 1s; }
.voice-foot { font-size: 3.8cqw; color: var(--dim); }

/* Cast */
.cast-grid { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; }
.cast-grid i { position: relative; aspect-ratio: 1; border-radius: 3cqw; background-size: cover; transition: transform .4s var(--spring); }
.cast-grid i::after { content: ""; position: absolute; right: 2cqw; top: 2cqw; width: 5.4cqw; height: 5.4cqw; border-radius: 50%; border: .5cqw solid #fff; background: rgba(0,0,0,.2); transition: all .3s var(--spring); }
.cast-grid i.sel { transform: scale(.92); }
.cast-grid i.sel::after { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; border-color: var(--accent); transform: scale(1.15); }
.cast-btn { margin-top: 6cqw; width: 100%; text-align: center; padding: 4cqw; border-radius: 99px; background: var(--accent); font-weight: 750; font-size: 4.4cqw; box-shadow: 0 3cqw 8cqw rgba(157,92,255,.5); transition: transform .3s; }
.cast-btn.tap { transform: scale(.95); }
.cast-sheet { position: absolute; left: 0; right: 0; bottom: 0; padding: 4cqw 6cqw 10cqw; border-radius: 8cqw 8cqw 0 0; background: #11151c; box-shadow: 0 -1px 0 rgba(255,255,255,.08), 0 -10cqw 20cqw rgba(0,0,0,.6); transform: translateY(105%); transition: transform .7s var(--ease); }
.cast-sheet.show { transform: none; }
.sheet-handle { width: 12cqw; height: 1.2cqw; border-radius: 9px; background: #555; margin: 0 auto 4cqw; }
.sheet-title { font-size: 5cqw; font-weight: 800; margin-bottom: 3cqw; }
.rx { display: flex; align-items: center; gap: 3.6cqw; padding: 3.4cqw; border-radius: 4cqw; transition: background .3s, box-shadow .3s; }
.rx div { display: flex; flex-direction: column; line-height: 1.25; }
.rx b { font-size: 4.2cqw; }
.rx small { font-size: 3.2cqw; color: var(--dim); }
.rx-ico { width: 10cqw; height: 7cqw; border-radius: 1.4cqw; border: .6cqw solid var(--accent-2); flex: none; }
.rx.pick { background: rgba(157,92,255,.15); box-shadow: 0 0 0 1px rgba(157,92,255,.5) inset; }
.cast-status { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.6); opacity: 0; display: flex; align-items: center; gap: 2.4cqw; padding: 4cqw 7cqw; border-radius: 99px; background: rgba(12,16,22,.92); box-shadow: 0 0 0 1px rgba(61,220,132,.4) inset, 0 0 12cqw rgba(61,220,132,.3); font-weight: 750; font-size: 4.6cqw; transition: all .6s var(--spring); }
.cast-status i { width: 3cqw; height: 3cqw; border-radius: 50%; background: var(--green); box-shadow: 0 0 3cqw var(--green); }
.cast-status.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.card {
  position: relative; grid-column: span 2; padding: 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  box-shadow: 0 0 0 1px var(--line) inset;
  overflow: hidden; isolation: isolate;
  transition: transform .6s var(--ease), box-shadow .4s;
}
.card h3 { font-size: 21px; letter-spacing: -.02em; font-weight: 750; }
.card p { color: var(--muted); font-size: 15.5px; margin-top: 8px; }
.card-art { position: relative; height: 200px; margin: -6px -6px 22px; border-radius: 20px; background: radial-gradient(80% 90% at 50% 100%, rgba(80,2,149,.55), transparent 70%), rgba(0,0,0,.2); display: grid; place-items: center; overflow: hidden; }
.c-widget { grid-column: span 3; }
.c-share { grid-column: span 3; }
.c-wake, .c-recon, .c-ipad { grid-column: span 2; }
.c-pin { grid-column: span 2; }
.c-diag { grid-column: span 2; }
.c-a11y { grid-column: span 2; }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -200%), rgba(157,92,255,.16), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, -200%), rgba(201,168,255,.7), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .4s;
}
.spot:hover::before, .spot:hover::after { opacity: 1; }

/* widget art */
.widget-art { display: flex; gap: 22px; align-items: center; justify-content: center; }
.ios-widget { border-radius: 26px; background: linear-gradient(160deg, #1a1e26, #0c0e12); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 20px 40px rgba(0,0,0,.5); padding: 14px; transition: transform .6s var(--ease); }
.c-widget:hover .ios-widget.small { transform: rotate(-6deg) translateY(-6px); }
.c-widget:hover .ios-widget.medium { transform: rotate(3deg) translateY(-4px); }
.ios-widget.small { width: 140px; height: 140px; display: grid; place-items: center; }
.ios-widget.medium { width: 270px; height: 140px; }
.w-dpad { position: relative; width: 104px; height: 104px; border-radius: 50%; background: linear-gradient(180deg, #2a2a2a, #161616); box-shadow: 0 0 0 1px rgba(255,255,255,.07) inset; }
.w-dpad b { position: absolute; inset: 32%; border-radius: 50%; background: #1f1f1f; box-shadow: 0 0 0 5px #0d0d0d, 0 0 0 1px rgba(255,255,255,.08) inset; }
.w-dpad i { position: absolute; width: 9px; height: 9px; border: solid #eee; border-width: 2.5px 2.5px 0 0; }
.w-dpad .u { left: 50%; top: 10px; transform: translateX(-50%) rotate(-45deg); }
.w-dpad .d { left: 50%; bottom: 10px; transform: translateX(-50%) rotate(135deg); }
.w-dpad .l { top: 50%; left: 10px; transform: translateY(-50%) rotate(-135deg); }
.w-dpad .r { top: 50%; right: 10px; transform: translateY(-50%) rotate(45deg); }
.w-dpad .u { animation: wtap 3.2s infinite; }
@keyframes wtap { 0%, 20%, 100% { border-color: #eee; filter: none; } 10% { border-color: var(--accent-2); filter: drop-shadow(0 0 6px var(--accent)); } }
.w-head { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.w-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.w-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.w-btns i { height: 34px; border-radius: 12px; background: linear-gradient(180deg, #2a2a2a, #191919); box-shadow: 0 0 0 1px rgba(255,255,255,.07) inset; }
.w-btns i.power { background: linear-gradient(180deg, #3a1d1d, #241212); }
.w-btns i:nth-child(3) { animation: wbtn 3.2s 1.2s infinite; }
@keyframes wbtn { 0%, 15%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,.07) inset; } 7% { box-shadow: 0 0 0 1px var(--accent-2) inset, 0 0 16px var(--accent); } }

/* share art */
.share-art { display: flex; align-items: center; justify-content: center; gap: 20px; }
.share-sheet { display: flex; gap: 10px; padding: 14px; border-radius: 22px; background: #151920; box-shadow: 0 0 0 1px rgba(255,255,255,.07) inset; }
.sa { width: 46px; height: 46px; border-radius: 12px; background: #262b35; }
.sa.me { background: #500096; overflow: hidden; box-shadow: 0 0 0 0 rgba(157,92,255,.7); animation: meGlow 2.6s infinite; }
.sa.me img { width: 100%; }
@keyframes meGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(157,92,255,0); transform: none; } 30% { box-shadow: 0 0 0 4px rgba(157,92,255,.7), 0 0 24px var(--accent); transform: scale(1.1); } }
.share-arrow { width: 70px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent-2)); position: relative; overflow: hidden; }
.share-arrow::after { content: ""; position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px var(--accent); animation: shot 2.6s .4s infinite; }
@keyframes shot { 0% { left: -10px; } 40%, 100% { left: 80px; } }
.share-tv { width: 120px; height: 76px; border-radius: 8px; border: 3px solid #2b313c; overflow: hidden; position: relative; background: #000; }
.share-tv span { position: absolute; inset: 0; background: linear-gradient(160deg, #ff9a62, #e0466e 50%, #3b1f6e); animation: tvIn 2.6s .4s infinite; }
@keyframes tvIn { 0%, 38% { opacity: 0; transform: scale(1.3); } 50%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* pin art */
.pin { display: flex; gap: 10px; }
.pin span { width: 46px; height: 58px; border-radius: 12px; display: grid; place-items: center; font-size: 26px; font-weight: 750; background: #151920; box-shadow: 0 0 0 1px var(--line-2) inset; opacity: 0; transform: translateY(10px); }
.in .pin span { animation: pinIn 4s infinite; }
.pin span:nth-child(2) { animation-delay: .3s !important; } .pin span:nth-child(3) { animation-delay: .6s !important; } .pin span:nth-child(4) { animation-delay: .9s !important; }
@keyframes pinIn { 0% { opacity: 0; transform: translateY(10px); } 8%, 80% { opacity: 1; transform: none; box-shadow: 0 0 0 1px rgba(157,92,255,.6) inset; } 100% { opacity: 0; } }
.pin-art { flex-direction: column; gap: 18px; display: flex; }
.lock { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(61,220,132,.12); }
.lock svg { width: 24px; fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; }
.in .lock { animation: lockPop 4s infinite; }
@keyframes lockPop { 0%, 30% { transform: scale(.8); opacity: .4; } 38% { transform: scale(1.2); opacity: 1; } 45%, 85% { transform: none; opacity: 1; } 100% { opacity: .4; } }

/* wake art */
.power-btn { position: relative; z-index: 2; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #2a2a2a, #161616); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 16px 30px rgba(0,0,0,.5); animation: pwr 3s infinite; }
.power-btn svg { width: 36px; fill: none; stroke: var(--red); stroke-width: 2.4; stroke-linecap: round; transition: stroke .3s; }
@keyframes pwr { 0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 16px 30px rgba(0,0,0,.5); } 15% { box-shadow: 0 0 0 1px rgba(255,93,93,.5) inset, 0 0 40px rgba(255,93,93,.5); transform: scale(.94); } 30% { transform: none; } }
.wake-ring { position: absolute; width: 88px; height: 88px; border-radius: 50%; border: 2px solid rgba(255,93,93,.5); animation: rpulse 3s var(--ease) infinite; }
.wake-ring.w2 { animation-delay: .4s; }

/* reconnect */
.status-pill { position: relative; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px 0 20px; border-radius: 99px; background: #0b0d11; box-shadow: 0 0 0 1px rgba(255,255,255,.07) inset, 0 16px 30px rgba(0,0,0,.5); font-weight: 700; font-size: 17px; min-width: 220px; }
.status-pill i { width: 10px; height: 10px; border-radius: 50%; flex: none; animation: stDot 6s infinite; }
.status-pill .st { position: absolute; left: 44px; opacity: 0; animation: st 6s infinite; }
.status-pill .st2 { animation-delay: 2s; } .status-pill .st3 { animation-delay: 4s; }
@keyframes st { 0% { opacity: 0; transform: translateY(8px); } 5%, 30% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes stDot { 0%, 30% { background: var(--dim); box-shadow: none; } 34%, 63% { background: var(--warn); box-shadow: 0 0 12px var(--warn); } 67%, 97% { background: var(--green); box-shadow: 0 0 12px var(--green); } }

/* ipad art */
.ipad { width: 230px; height: 160px; border-radius: 16px; border: 6px solid #22262e; background: #08090b; display: flex; gap: 8px; padding: 8px; box-shadow: 0 16px 30px rgba(0,0,0,.5); transition: transform .8s var(--ease); }
.c-ipad:hover .ipad { transform: perspective(600px) rotateY(-14deg) rotateX(6deg); }
.ipad-side { width: 30%; display: flex; flex-direction: column; gap: 6px; }
.ipad-side i { height: 18px; border-radius: 6px; background: #1a1e26; }
.ipad-side i:first-child { background: rgba(157,92,255,.35); }
.ipad-main { flex: 1; display: grid; place-items: center; border-radius: 8px; background: radial-gradient(circle at 50% 0, rgba(80,2,149,.6), transparent 70%); }
.ipad-dpad { width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(180deg, #2a2a2a, #161616); box-shadow: 0 0 0 4px #0d0d0d inset, 0 0 0 22px #1d1d1d inset; }

/* diag */
.term { width: 88%; font-family: var(--mono); font-size: 12.5px; line-height: 1.9; color: #c7d3e6; padding: 16px 18px; border-radius: 14px; background: #07090c; box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset; }
.term p { opacity: 0; transform: translateX(-8px); white-space: nowrap; }
.in .term p { animation: line .5s var(--ease) forwards; }
.term p:nth-child(2) { animation-delay: .5s !important; } .term p:nth-child(3) { animation-delay: 1s !important; } .term p:nth-child(4) { animation-delay: 1.5s !important; }
@keyframes line { to { opacity: 1; transform: none; } }
.term em { font-style: normal; color: var(--dim); margin-right: 6px; }
.redact { color: var(--green); letter-spacing: 1px; }

/* a11y */
.a11y-art { position: relative; }
.a11y-focus { width: 110px; height: 56px; border-radius: 16px; background: linear-gradient(180deg, #2a2a2a, #161616); box-shadow: 0 0 0 3px #000, 0 0 0 6px #fff, 0 0 30px rgba(255,255,255,.3); animation: a11yMove 4s var(--ease-in-out) infinite; }
@keyframes a11yMove { 0%, 40% { transform: translateX(-40px); } 50%, 90% { transform: translateX(40px); } 100% { transform: translateX(-40px); } }
.a11y-bubble { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); padding: 8px 16px; border-radius: 12px; font-size: 14px; font-weight: 650; background: #1c222c; box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset; white-space: nowrap; }

/* ---------- Privacy ---------- */
.privacy { background: radial-gradient(60% 50% at 70% 50%, rgba(80,2,149,.3), transparent 70%); }
.two-col.rev { grid-template-columns: 1.05fr .95fr; }
.zero-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; max-width: 560px; }
.zero { padding: 20px; border-radius: 20px; background: rgba(255,255,255,.03); box-shadow: 0 0 0 1px var(--line) inset; }
.zero b { display: block; font-size: 44px; font-weight: 850; letter-spacing: -.04em; line-height: 1; background: linear-gradient(180deg, #fff, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.zero span { display: block; font-size: 13.5px; color: var(--dim); margin-top: 8px; }
.home-svg { width: 100%; max-width: 520px; margin-inline: auto; overflow: visible; }
.home-svg .house { stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 2.4s var(--ease); }
.privacy-art.in .house { stroke-dashoffset: 0; }
.cross-line { stroke-dasharray: 80; stroke-dashoffset: 80; transition: stroke-dashoffset .8s 1.4s var(--ease); }
.privacy-art.in .cross-line { stroke-dashoffset: 0; }
.cloud-x { animation: cloudBob 5s ease-in-out infinite; }
@keyframes cloudBob { 50% { transform: translateY(-6px); } }
.svg-cap { fill: var(--dim); font-size: 14px; font-family: var(--font); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Brands ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.brand-card { position: relative; padding: 22px 18px; border-radius: 20px; background: rgba(255,255,255,.025); box-shadow: 0 0 0 1px var(--line) inset; display: flex; flex-direction: column; gap: 4px; overflow: hidden; isolation: isolate; transition: transform .5s var(--ease); }
.brand-card:hover { transform: translateY(-4px); }
.brand-card b { font-size: 18px; letter-spacing: -.02em; }
.brand-card small { color: var(--dim); font-size: 13px; }

/* ---------- Steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps-line { position: absolute; left: 16.6%; right: 16.6%; top: 28px; width: 66.8%; height: 20px; overflow: visible; }
.steps-line path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 1000; stroke-dashoffset: calc(1000 - var(--p, 0) * 1000); vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px var(--accent)); }
.step { position: relative; text-align: center; padding: 0 10px; }
.step-n { position: relative; z-index: 1; display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 22px; border-radius: 50%; font-weight: 800; font-size: 22px; background: linear-gradient(145deg, #b07aff, #6a1fd0); box-shadow: 0 0 0 8px var(--bg), 0 0 0 9px var(--line-2), 0 0 40px rgba(157,92,255,.5); }
.step h3 { font-size: 22px; letter-spacing: -.02em; }
.step p { color: var(--muted); margin-top: 8px; font-size: 15.5px; max-width: 300px; margin-inline: auto; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
details { border-radius: 20px; background: rgba(255,255,255,.03); box-shadow: 0 0 0 1px var(--line) inset; transition: background .3s; }
details[open] { background: rgba(157,92,255,.06); }
summary { list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 650; font-size: 18px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 12px; height: 12px; border: solid var(--accent-2); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-3px); transition: transform .4s var(--ease); }
details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 26px 24px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { overflow: hidden; }
.cta-glow { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); background: conic-gradient(from 0deg, rgba(157,92,255,.0), rgba(157,92,255,.35), rgba(214,92,255,.25), rgba(157,92,255,0), rgba(201,168,255,.25), rgba(157,92,255,0)); border-radius: 50%; filter: blur(80px); animation: spin 18s linear infinite; z-index: -1; }
.cta-icon { margin: 0 auto 36px; border-radius: 26px; box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 30px 80px -10px rgba(157,92,255,.7); animation: iconFloat 5s ease-in-out infinite; }
@keyframes iconFloat { 50% { translate: 0 -10px; rotate: -3deg; } }
.fine { margin-top: 22px; font-size: 14px; color: var(--dim); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0 50px; }
.foot { display: grid; grid-template-columns: auto 1fr; gap: 18px 40px; align-items: center; }
.foot nav { display: flex; gap: 22px; justify-content: flex-end; color: var(--muted); font-size: 15px; }
.foot nav a:hover { color: #fff; }
.disclaimer { grid-column: 1 / -1; font-size: 13px; color: var(--dim); max-width: 780px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta, .hero-stats { justify-content: center; }
  .stage { width: min(720px, 100%); margin: 30px auto 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card, .c-widget, .c-share, .c-wake, .c-recon, .c-ipad, .c-pin, .c-diag, .c-a11y { grid-column: span 1; }
  .c-widget { grid-column: span 2; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .two-col, .two-col.rev { grid-template-columns: 1fr; }
  .discover-copy, .privacy-copy { text-align: center; }
  .discover-copy .lead, .privacy-copy .lead, .found-list, .zero-grid { margin-inline: auto; }
  .chips { justify-content: center; }
  .privacy-copy { order: 1; } .privacy-art { order: 2; }
  .scrolly { grid-template-columns: 1fr; }
  .scrolly-sticky { display: none; }
  .chapters { padding: 0; }
  .chapter { min-height: 0; opacity: 1; padding: 40px 0 70px; align-items: center; text-align: center; }
  .chapter p { margin-inline: auto; }
  .ticks { text-align: left; }
  .route-chips { justify-content: center; }
  .chapter-phone { display: block; width: min(280px, 72%); margin: 0 auto 36px; }
  .steps { grid-template-columns: 1fr; gap: 50px; }
  .steps-line { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 36px); }
  .hero { padding-top: 110px; }
  .hero-stats { gap: 22px; }
  .hero-stats b { font-size: 28px; }
  .try-hint .kbd { display: none; }
  .bento { grid-template-columns: 1fr; }
  .card, .c-widget { grid-column: span 1; }
  .ios-widget.medium { display: none; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .zero-grid { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .zero { padding: 14px 10px; }
  .zero b { font-size: 32px; }
  .foot { grid-template-columns: 1fr; }
  .foot nav { justify-content: flex-start; }
  .nav .btn { --h: 36px; padding: 0 14px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal, .split .w > span { opacity: 1; transform: none; filter: none; }
}

/* =========================================================
   Waiting list
   ========================================================= */
/* --- shared form --- */
.wl-form { position: relative; margin-top: 34px; max-width: 540px; }
.wl-field {
  display: flex; gap: 6px; padding: 6px; border-radius: 999px;
  background: rgba(255,255,255,.05);
  box-shadow: 0 0 0 1px var(--line-2) inset, 0 24px 60px -24px rgba(0,0,0,.7);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: box-shadow .35s var(--ease), background .35s;
}
.wl-field:focus-within { background: rgba(255,255,255,.07); box-shadow: 0 0 0 1px rgba(201,168,255,.75) inset, 0 0 0 6px rgba(157,92,255,.14), 0 24px 60px -24px rgba(157,92,255,.5); }
.wl-field input {
  flex: 1; min-width: 0; height: 52px; padding: 0 18px;
  background: transparent; border: 0; outline: 0; color: var(--text);
  font: inherit; font-size: 17px;
}
.wl-form input::placeholder { color: var(--dim); opacity: 1; }
.wl-field .btn { --h: 52px; flex: none; }
.wl-submit { min-width: 214px; }
.wl-spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite; }
.btn-light .wl-spin { border-color: rgba(10,12,17,.2); border-top-color: #0a0c11; }
.wl-form.loading .wl-spin { display: block; }
.wl-form.loading .wl-label { display: none; }
.wl-form.loading .wl-submit { pointer-events: none; }
.wl-msg { margin-top: 12px; font-size: 14.5px; font-weight: 550; color: #ff8f8f; }
.wl-msg:empty { display: none; }
.wl-note { display: flex; align-items: center; gap: 9px; margin-top: 16px; font-size: 14px; color: var(--dim); }
.wl-form.err .wl-field, .wl-form.err .wl-float { box-shadow: 0 0 0 1px rgba(255,93,93,.85) inset, 0 0 0 6px rgba(255,93,93,.12); animation: shake .45s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }

/* success */
.wl-form.done > :not(.wl-success) { display: none; }
.wl-success {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 22px 12px 12px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(61,220,132,.12), rgba(61,220,132,.04));
  box-shadow: 0 0 0 1px rgba(61,220,132,.4) inset, 0 20px 60px -24px rgba(61,220,132,.45);
  animation: popIn .7s var(--spring) both;
  text-align: left;
}
@keyframes popIn { from { opacity: 0; transform: scale(.85) translateY(10px); filter: blur(6px); } }
.wl-check { flex: none; width: 48px; height: 48px; }
.wl-check svg { width: 100%; height: 100%; fill: none; stroke: var(--green); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.wl-check circle { stroke-dasharray: 126; stroke-dashoffset: 126; animation: draw .7s .1s var(--ease) forwards; opacity: .5; }
.wl-check path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .45s .55s var(--ease) forwards; }
.wl-success-text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.wl-success-text b { font-size: 17px; }
.wl-success-text span { font-size: 14px; color: var(--muted); }
.wl-success-text em { font-style: normal; color: #fff; font-weight: 600; word-break: break-all; }
.wl-reset { margin-top: 4px; padding: 0; border: 0; background: none; color: var(--accent-2); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; text-align: left; }
.wl-reset:hover { text-decoration: underline; }

.confetti { position: fixed; left: 0; top: 0; width: 8px; height: 8px; border-radius: 2px; pointer-events: none; z-index: 45; }

/* --- section --- */
.waitlist .section-head .cta-icon { margin-bottom: 30px; }
.wl-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; text-align: left; }
.wl-card {
  position: relative; border-radius: 32px; padding: clamp(26px, 3.2vw, 44px);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
  box-shadow: 0 0 0 1px var(--line) inset;
  overflow: hidden; isolation: isolate;
}
.wl-eyebrow { display: block; font-size: 17px; font-weight: 700; color: var(--accent-2); letter-spacing: -.01em; }
.wl-h { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; margin: 10px 0 14px; }
.wl-h.big { font-size: clamp(40px, 4.8vw, 66px); margin-top: 0; }
.wl-p { color: var(--muted); font-size: clamp(16.5px, 1.4vw, 18.5px); margin-top: 12px; }
.wl-p.muted { color: var(--dim); }
.wl-strong { margin-top: 22px; font-size: clamp(17px, 1.5vw, 20px); font-weight: 750; letter-spacing: -.01em; color: #fff; }
.hl { color: var(--accent-2); }

.wl-project {
  grid-column: span 7;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 34px; align-items: center;
  background: radial-gradient(90% 90% at 100% 100%, rgba(80,2,149,.55), transparent 65%), linear-gradient(180deg, #110d18, #090b10);
  box-shadow: 0 0 0 1px rgba(201,168,255,.18) inset, 0 40px 100px -50px rgba(157,92,255,.6);
}
.wl-cta { margin-top: 28px; }
.lottery-wrap { display: flex; flex-direction: column; align-items: center; }
.lottery { width: 100%; max-width: 260px; aspect-ratio: 1; display: grid; grid-template-columns: repeat(10, 1fr); gap: 6%; padding: 4px; }
.lottery i { border-radius: 50%; background: rgba(201,168,255,.13); transition: background .5s var(--ease), transform .7s var(--spring), box-shadow .5s; }
.lottery i.pick { background: var(--accent-2); transform: scale(1.35); box-shadow: 0 0 0 3px rgba(157,92,255,.25), 0 0 14px var(--accent); }
.lottery-cap { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; color: var(--dim); white-space: nowrap; }
.lottery-cap b { color: #fff; }

.wl-slow { grid-column: span 5; background: linear-gradient(180deg, rgba(201,168,255,.09), rgba(201,168,255,.025)); }

.wl-value { grid-column: span 3; padding: 28px; transition: transform .6s var(--ease); }
.wl-value:hover { transform: translateY(-6px); }
.wl-ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: rgba(157,92,255,.12); box-shadow: 0 0 0 1px rgba(157,92,255,.3) inset; transition: transform .6s var(--spring); }
.wl-value:hover .wl-ico { transform: rotate(-8deg) scale(1.1); }
.wl-ico svg { width: 25px; fill: none; stroke: var(--accent-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wl-value h4 { margin: 22px 0 8px; font-size: 22px; letter-spacing: -.025em; line-height: 1.15; }
.wl-value p { color: var(--muted); font-size: 15.5px; }

.wl-perk { grid-column: span 5; background: radial-gradient(80% 60% at 50% 45%, rgba(157,92,255,.16), transparent 70%), linear-gradient(180deg, #110d18, #090b10); box-shadow: 0 0 0 1px rgba(201,168,255,.18) inset; }
.tickets { position: relative; height: 176px; margin: 22px 0 34px; }
.tickets span {
  position: absolute; left: 50%; bottom: 0; width: 92px; height: 126px; margin-left: -46px;
  display: flex; flex-direction: column; justify-content: space-between; padding: 12px 12px 10px;
  border-radius: 14px; color: #fff;
  background: linear-gradient(160deg, #b07aff, #6a1fd0 70%);
  box-shadow: 0 16px 30px -10px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.18) inset;
  -webkit-mask: radial-gradient(circle 7px at 0 64%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 7px at 100% 64%, #0000 97%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 7px at 0 64%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 7px at 100% 64%, #0000 97%, #000) right / 51% 100% no-repeat;
  transform-origin: 50% 135%;
  transform: rotate(0deg) translateY(30px);
  opacity: 0;
  transition: transform 1s var(--spring), opacity .5s;
  transition-delay: calc(var(--t) * 80ms + .2s);
}
.tickets span:nth-child(2n) { background: linear-gradient(160deg, #c9a8ff, #500295 70%); }
.tickets span::after { content: ""; position: absolute; left: 12px; right: 12px; top: 64%; border-top: 1.5px dashed rgba(255,255,255,.45); }
.tickets i { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.tickets b { font-size: 26px; font-weight: 850; letter-spacing: -.03em; align-self: flex-end; }
.wl-perk.in .tickets span { opacity: 1; transform: rotate(calc((var(--t) - 2) * 13deg)) translateY(0); }
.wl-perk:hover .tickets span { transform: rotate(calc((var(--t) - 2) * 19deg)) translateY(-8px); transition-delay: calc(var(--t) * 30ms); }

.wl-join {
  grid-column: span 7; display: flex; align-items: center;
  box-shadow: 0 40px 120px -40px rgba(157,92,255,.55);
  background: transparent;
}
.wl-join::before { content: ""; position: absolute; inset: -60%; z-index: -2; background: conic-gradient(from 0deg, rgba(201,168,255,.0) 0 62%, rgba(201,168,255,.9) 80%, rgba(157,92,255,.0) 92%); animation: spin 6s linear infinite; }
.wl-join::after { content: ""; position: absolute; inset: 1.5px; z-index: -1; border-radius: 30.5px; background: radial-gradient(110% 80% at 100% 0%, rgba(157,92,255,.26), transparent 60%), radial-gradient(80% 60% at 0% 100%, rgba(214,92,255,.14), transparent 60%), #0b0e14; }
.wl-join-inner { width: 100%; }
.wl-block { max-width: none; margin-top: 28px; }
.wl-float { display: block; padding: 14px 20px 12px; border-radius: 20px; background: rgba(255,255,255,.06); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset; transition: box-shadow .35s var(--ease), background .35s; cursor: text; }
.wl-float:focus-within { background: rgba(255,255,255,.08); box-shadow: 0 0 0 1px rgba(201,168,255,.75) inset, 0 0 0 6px rgba(157,92,255,.14); }
.wl-float span { display: block; font-size: 13.5px; font-weight: 600; color: var(--dim); }
.wl-float input { width: 100%; padding: 4px 0 2px; background: transparent; border: 0; outline: 0; color: #fff; font: inherit; font-size: 20px; }
.btn-light { color: #0a0c11; background: #fff; box-shadow: 0 14px 40px -12px rgba(255,255,255,.35); }
.btn-light:hover { box-shadow: 0 18px 50px -10px rgba(201,168,255,.6), 0 0 0 6px rgba(255,255,255,.08); transform: translateY(-1px); }
.wl-block .wl-submit { width: 100%; margin-top: 14px; }
.wl-fine { margin-top: 16px; text-align: center; font-size: 14px; color: var(--dim); }
.wl-block .wl-success { flex-direction: column; text-align: center; padding: 30px 24px; border-radius: 24px; gap: 12px; }
.wl-block .wl-check { width: 64px; height: 64px; }
.wl-block .wl-success-text b { font-size: 22px; }
.wl-block .wl-success-text span { font-size: 15.5px; margin-top: 4px; }
.wl-block .wl-reset { text-align: center; margin-top: 6px; }

@media (max-width: 1100px) {
  .hero-copy .wl-form { margin-inline: auto; }
  .hero-copy .wl-note { justify-content: center; }
  .wl-project, .wl-slow, .wl-perk, .wl-join { grid-column: span 12; }
  .wl-value { grid-column: span 6; }
}
@media (max-width: 640px) {
  /* stacked card: input well + full-width button, nested radii (20 - 8 = 12) */
  .wl-form { margin-top: 28px; }
  .wl-field { flex-direction: column; gap: 8px; padding: 8px; border-radius: 20px; background: rgba(255,255,255,.04); box-shadow: 0 0 0 1px var(--line-2) inset, 0 18px 44px -22px rgba(0,0,0,.8); }
  .wl-field:focus-within { box-shadow: 0 0 0 1px rgba(201,168,255,.6) inset, 0 0 0 4px rgba(157,92,255,.14); }
  .wl-field input {
    flex: none; height: 52px; padding: 0 16px 0 46px; border-radius: 12px; text-align: left; font-size: 16px;
    background: rgba(0,0,0,.28) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c7394' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E") no-repeat 16px 50% / 20px;
    box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset;
  }
  .wl-field .btn { --h: 52px; width: 100%; min-width: 0; border-radius: 12px; font-size: 16px; box-shadow: 0 0 0 1px rgba(255,255,255,.16) inset, 0 8px 22px -10px rgba(157,92,255,.75); }
  .wl-note { justify-content: center; margin-top: 14px; font-size: 13px; }
  .wl-msg { text-align: center; }
  .wl-success { border-radius: 22px; padding-right: 16px; }
  .wl-project { grid-template-columns: 1fr; gap: 28px; }
  .lottery { max-width: 220px; }
  .wl-grid { gap: 12px; }
  .wl-card { border-radius: 26px; }
  .wl-join::after { border-radius: 24.5px; }
  .wl-value { padding: 20px 18px; }
  .wl-value h4 { font-size: 19px; margin-top: 16px; }
  .wl-value p { font-size: 14.5px; }
  .wl-ico { width: 42px; height: 42px; border-radius: 12px; }
  .wl-ico svg { width: 21px; }
}
