/* Sandra Zenamy · home page. Dark, cinematic frames with living product scenes.
   Motion uses transform, opacity and filter only. Every loop has a static state for reduced motion. */
.home {
  --paper: #000;
  --ink: #f5f5f7;
  --quiet: #a1a1a6;
  --line: #2a2a2e;
  --card: #111113;
  --card-2: #18181b;
  --accent: #5ea0ff;
  --gold: #ffcf70;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.4, .5, 1);
  color-scheme: dark;
  background: #000;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;
  font-optical-sizing: auto;
  overflow-x: clip;
}
.home .light { --ink: #1d1d1f; --quiet: #55555a; --line: #d2d2d7; --card: #fff; color-scheme: light; background: #f5f5f7; color: var(--ink); }
.home .wrap { width: min(1180px, calc(100% - clamp(36px, 8vw, 120px))); margin-inline: auto; }
.home .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.home section { position: relative; }

/* type */
.home .eyebrow { margin: 0 0 14px; color: var(--accent); font-size: clamp(15px, 1.3vw, 19px); font-weight: 650; letter-spacing: .005em; }
.home .light .eyebrow { color: #0a58d0; }
.home .big { margin: 0; font-size: clamp(40px, 6.4vw, 88px); line-height: 1.02; letter-spacing: -.035em; font-weight: 720; text-wrap: balance; }
.home .lede { max-width: 620px; margin: 22px 0 0; color: var(--quiet); font-size: clamp(18px, 1.7vw, 23px); line-height: 1.4; letter-spacing: -.012em; text-wrap: pretty; }

/* reveal: materialize (blur + scale), not a plain fade */
.js .home .rv { opacity: 0; transform: translateY(26px) scale(.985); filter: blur(10px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .home .rv.in { opacity: 1; transform: none; filter: none; }

/* nav: translucent chrome, content scrolls under */
.gnav { position: sticky; top: 0; z-index: 50; background: #000000b8; -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid #ffffff14; }
.gnav-in { width: min(1180px, calc(100% - 36px)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 52px; }
.gnav-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 680; font-size: 16px; letter-spacing: -.015em; white-space: nowrap; }
.gnav-brand .brand-mark { width: 26px; height: 26px; border-radius: 8px; font-size: 14px; background: #fff; color: #000; display: grid; place-items: center; font-weight: 800; }
.gnav-links { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 34px); font-size: 13.5px; color: #d6d6db; }
.gnav-links a { transition: color .2s; }
.gnav-links a:hover { color: #fff; }
.gnav-cta { padding: 6px 14px; border-radius: 100px; background: var(--blue); color: #fff !important; font-weight: 650; transition: transform .1s ease-out; }
.gnav-cta:active, .home .primary-button:active { transform: scale(.97); }

/* ── Frame 1 · hero ── */
.stage-hero { padding: clamp(26px, 5vh, 64px) 0 0; text-align: center; overflow: clip; }
.hero-glow { position: absolute; inset: 18% -10% -10%; background: radial-gradient(48% 46% at 50% 62%, #2d5bff55, transparent 70%), radial-gradient(30% 30% at 32% 70%, #ff5c8a30, transparent 70%), radial-gradient(30% 30% at 70% 74%, #ffb34725, transparent 70%); filter: blur(30px); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; width: min(900px, calc(100% - 36px)); margin-inline: auto; transform: translateY(calc(var(--hp, 0) * -40px)); opacity: calc(1 - var(--hp, 0) * 1.25); }
.stage-hero h1 { margin: 0; font-size: clamp(52px, 9vw, 128px); line-height: .95; letter-spacing: -.045em; font-weight: 740; background: linear-gradient(180deg, #fff 30%, #b9c4e6); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.hero-sub { max-width: 560px; margin: clamp(14px, 2vh, 24px) auto 0; color: var(--quiet); font-size: clamp(17px, 1.75vw, 23px); line-height: 1.38; letter-spacing: -.012em; text-wrap: balance; }
.home .hero-actions { margin-top: clamp(18px, 2.6vh, 30px); }
.home .text-link { color: var(--accent); font-weight: 600; }
.hero-stage { position: relative; z-index: 1; width: min(1180px, 100%); margin: clamp(26px, 5vh, 56px) auto 0; display: grid; justify-items: center; padding-bottom: clamp(40px, 8vh, 90px); }
.hero-stage > .phone { transform: translateY(calc(var(--hp, 0) * -30px)) scale(calc(1 + var(--hp, 0) * .08)); transform-origin: 50% 20%; will-change: transform; }

/* floating glass cards around the phone */
.float-card { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 16px; background: #ffffff14; border: 1px solid #ffffff22; -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 18px 50px #0008; font-size: 15px; font-weight: 560; color: #fff; white-space: nowrap; animation: floaty 7s ease-in-out infinite; }
.float-card b { font-weight: 720; }
.fc-1 { left: 11%; top: 16%; animation-delay: -1s; }
.fc-2 { right: 10%; top: 9%; animation-delay: -3s; }
.fc-3 { left: 15%; top: 58%; animation-delay: -5s; }
.fc-4 { right: 13%; top: 52%; animation-delay: -2s; }
.fc-av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #0b1020; background: #9abaf8; }
.fc-plus { color: #7dffb0; font-weight: 800; font-variant-numeric: tabular-nums; }
.fc-gift { color: var(--gold); font-size: 18px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ── phone with the live overlay ── */
.phone { --pw: clamp(232px, 25vw, 330px); width: var(--pw); aspect-ratio: 9 / 17.6; padding: 9px; border-radius: calc(var(--pw) * .16); background: linear-gradient(145deg, #3a3a40, #101012 30%, #1c1c20 70%, #45454c); box-shadow: 0 0 0 1px #000, 0 50px 110px -20px #000, 0 30px 80px -10px #2d5bff40; }
.phone-screen { position: relative; height: 100%; overflow: hidden; border-radius: calc(var(--pw) * .13); container-type: inline-size; background: linear-gradient(180deg, #0000 40%, #000c 96%), url("./studio-camera.webp") 37% 50% / cover #1a1420; text-align: left; color: #fff; }
.phone-top { position: absolute; z-index: 3; top: 5cqw; left: 5cqw; right: 5cqw; display: flex; justify-content: space-between; align-items: center; font-size: 3.4cqw; font-weight: 750; }
.live-pill { display: inline-flex; align-items: center; gap: 1.4cqw; padding: 1.2cqw 2.6cqw; border-radius: 100px; background: #ff2d55; letter-spacing: .04em; }
.live-pill i { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: #fff; animation: blink 1.6s ease-in-out infinite; }
.sim-pill { padding: 1.2cqw 2.6cqw; border-radius: 100px; background: #0009; font-weight: 600; color: #e6e6ea; }
@keyframes blink { 50% { opacity: .25; } }

.ov { position: absolute; z-index: 2; left: 5cqw; right: 5cqw; top: 15cqw; padding: 4.4cqw; border-radius: 5.5cqw; background: #101320c9; border: 1px solid #ffffff24; -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%); opacity: 0; transform: translateY(5cqw) scale(.94); filter: blur(8px); transition: opacity .55s var(--ease), transform .7s var(--ease), filter .55s var(--ease); pointer-events: none; }
.phone[data-act="trivia"] .ov-trivia, .phone[data-act="race"] .ov-race { opacity: 1; transform: none; filter: none; }
.ov-row { display: flex; justify-content: space-between; align-items: center; gap: 2cqw; }
.ov-tag { padding: 1.2cqw 3cqw; border-radius: 100px; background: #1751e8; font-size: 3.5cqw; font-weight: 750; }
.ov-score { font-size: 3.5cqw; color: #dcdde8; font-variant-numeric: tabular-nums; }
.ov-score b { color: #fff; font-size: 1.15em; }
.ov-q { margin: 3.6cqw 0 3cqw; font-size: 5.3cqw; line-height: 1.16; font-weight: 720; letter-spacing: -.02em; }
.ov-answers { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.8cqw; }
.ov-answers li { display: flex; align-items: center; gap: 2.6cqw; padding: 2.5cqw 3cqw; border-radius: 3.4cqw; background: #ffffff14; font-size: 4.1cqw; font-weight: 600; transition: background .4s, opacity .4s, transform .5s var(--spring); }
.ov-answers li b { width: 6.4cqw; height: 6.4cqw; border-radius: 50%; display: grid; place-items: center; background: #ffffff24; font-size: 3.4cqw; }
.ov-answers li.hit { background: #19a05a; transform: scale(1.035); }
.ov-answers li.dim { opacity: .45; }
.ov-answers li.tick { animation: tick .35s var(--ease); }
@keyframes tick { 40% { background: #ffffff38; transform: scale(1.02); } }
.ov-win { margin: 3cqw 0 0; text-align: center; font-size: 4.2cqw; font-weight: 650; color: #7dffb0; opacity: 0; transform: translateY(2cqw); transition: opacity .4s, transform .5s var(--spring); }
.ov-win.on { opacity: 1; transform: none; }
.ov-lane { display: grid; grid-template-columns: 8cqw 1fr; align-items: center; gap: 2cqw; margin-top: 3.4cqw; font-size: 6cqw; }
.ov-lane i { height: 3.6cqw; border-radius: 100px; background: #ffffff1f; overflow: hidden; }
.ov-lane b { display: block; height: 100%; width: 100%; border-radius: 100px; background: linear-gradient(90deg, #5ea0ff, #b18cff); transform-origin: 0 50%; transform: scaleX(var(--v, 0)); transition: transform .5s var(--spring); }

.ov-alert { top: 30cqw; background: none; border: 0; padding: 0; -webkit-backdrop-filter: none; backdrop-filter: none; opacity: 1; transform: none; filter: none; }
.alert-card { display: flex; align-items: center; gap: 3cqw; padding: 4cqw; border-radius: 5.5cqw; background: linear-gradient(135deg, #3a1d52f0, #7a2a4af0); border: 1px solid #ffffff3a; box-shadow: 0 6cqw 14cqw #0009; opacity: 0; transform: scale(.6) translateY(8cqw); filter: blur(8px); transition: opacity .35s, transform .6s var(--spring), filter .35s; }
.alert-card b { display: block; font-size: 4.4cqw; }
.alert-card small { font-size: 3.3cqw; color: #f3d6e4; }
.alert-card em { margin-left: auto; font-style: normal; font-weight: 800; font-size: 7cqw; color: var(--gold); font-variant-numeric: tabular-nums; }
.alert-card em.pop { animation: pop .3s var(--spring); }
.alert-ic { font-size: 8cqw; color: var(--gold); }
.phone[data-act="alert"] .alert-card { opacity: 1; transform: none; filter: none; }
@keyframes pop { 40% { transform: scale(1.45); } }
.burst { position: absolute; left: 50%; top: 50%; }
.burst i { position: absolute; width: 2.4cqw; height: 2.4cqw; border-radius: 50%; background: var(--gold); opacity: 0; }
.burst i:nth-child(odd) { background: #ff7eb0; }
.phone[data-act="alert"] .burst i { animation: burst .9s var(--ease) .15s both; }
.burst i:nth-child(1) { --bx: -34cqw; --by: -22cqw; } .burst i:nth-child(2) { --bx: 32cqw; --by: -26cqw; }
.burst i:nth-child(3) { --bx: -40cqw; --by: 6cqw; } .burst i:nth-child(4) { --bx: 40cqw; --by: 2cqw; }
.burst i:nth-child(5) { --bx: -22cqw; --by: 26cqw; } .burst i:nth-child(6) { --bx: 24cqw; --by: 28cqw; }
.burst i:nth-child(7) { --bx: 0cqw; --by: -34cqw; } .burst i:nth-child(8) { --bx: 4cqw; --by: 34cqw; }
@keyframes burst { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translate(var(--bx), var(--by)) scale(.3); } }

.phone-chat { position: absolute; z-index: 3; left: 5cqw; right: 22cqw; bottom: 6cqw; display: grid; gap: 1.6cqw; align-content: end; }
.phone-chat p { margin: 0; justify-self: start; max-width: 100%; padding: 1.7cqw 3.2cqw; border-radius: 4cqw; background: #000000a6; font-size: 3.8cqw; line-height: 1.25; animation: chat-in .45s var(--spring) both; }
.phone-chat p b { color: #a9c7ff; font-weight: 650; margin-right: 1.4cqw; }
.phone-chat p.out { animation: chat-out .3s ease-in both; }
@keyframes chat-in { from { opacity: 0; transform: translateY(4cqw) scale(.9); } }
@keyframes chat-out { to { opacity: 0; transform: translateY(-3cqw); } }

/* ── Frame 2 · strip ── */
.strip { padding: clamp(30px, 6vh, 70px) 0 clamp(70px, 12vh, 140px); overflow: clip; text-align: center; }
.strip-row { -webkit-mask-image: linear-gradient(90deg, #0000, #000 14%, #000 86%, #0000); mask-image: linear-gradient(90deg, #0000, #000 14%, #000 86%, #0000); }
.strip-track { display: flex; gap: 12px; width: max-content; animation: slide 46s linear infinite; }
.strip-track span { padding: 11px 20px; border-radius: 100px; background: var(--card-2); border: 1px solid #ffffff12; color: #dedee3; font-size: 16px; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }
.strip-line { margin: clamp(46px, 9vh, 96px) auto 0; width: min(900px, calc(100% - 36px)); font-size: clamp(32px, 5.4vw, 72px); line-height: 1.04; letter-spacing: -.035em; font-weight: 720; text-wrap: balance; }

/* ── Frame 3 · pinned phone, three acts ── */
.acts { width: min(1180px, calc(100% - clamp(36px, 8vw, 120px))); margin-inline: auto; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 100px); align-items: start; }
.acts-pin { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; }
.acts-pin .phone { --pw: clamp(236px, min(26vw, 42svh), 340px); }
.act-step { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; opacity: .22; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.act-step.on { opacity: 1; transform: none; }
.act-step h3 { margin: 0; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -.035em; font-weight: 720; }
.act-step > p:last-child { max-width: 470px; margin: 22px 0 0; color: var(--quiet); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; }

/* ── Frame 4 · living tiles ── */
.tiles { padding: clamp(80px, 13vh, 170px) 0; }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: clamp(36px, 6vh, 64px); }
.tile { grid-column: span 2; display: flex; flex-direction: column; align-items: flex-start; padding: 22px 24px 26px; border-radius: 28px; background: var(--card); border: 1px solid #ffffff10; overflow: hidden; }
.t-gift { grid-column: span 4; } .t-rule, .t-test { grid-column: span 3; }
.tile h3 { margin: 12px 0 6px; font-size: 22px; letter-spacing: -.02em; }
.tile > p { margin: 0; color: var(--quiet); font-size: 15.5px; line-height: 1.45; }
.tile .tag { margin-top: 20px; }
.tile-vis { position: relative; align-self: stretch; height: 190px; margin: -22px -24px 0; display: grid; place-items: center; overflow: hidden; background: radial-gradient(80% 90% at 50% 40%, #1d2340, #0c0c10 75%); }
.t-events .tile-vis { background: radial-gradient(80% 90% at 50% 40%, #142f2b, #0c0c10 75%); }
.t-rule .tile-vis { background: radial-gradient(80% 90% at 50% 40%, #2b1d40, #0c0c10 75%); }
.t-test .tile-vis { background: radial-gradient(80% 90% at 50% 40%, #33240f, #0c0c10 75%); }
/* loops run only while the tile is on screen */
[data-loop] *, [data-loop] *::before, [data-loop] *::after { animation-play-state: paused; }
[data-loop].play *, [data-loop].play *::before, [data-loop].play *::after { animation-play-state: running; }

.g-card { display: flex; align-items: center; gap: 14px; min-width: min(330px, 80%); padding: 16px 18px; border-radius: 20px; background: linear-gradient(135deg, #3a1d52, #7a2a4a); border: 1px solid #ffffff3a; box-shadow: 0 20px 50px #0009; animation: g-card 5s var(--ease) infinite; }
.g-card b { display: block; font-size: 17px; } .g-card small { color: #f3d6e4; font-size: 13px; }
.g-ic { font-size: 30px; color: var(--gold); }
.g-card em { position: relative; margin-left: auto; width: 46px; height: 34px; font-style: normal; font-weight: 800; font-size: 28px; color: var(--gold); }
.g-card em i { position: absolute; inset: 0; font-style: normal; text-align: right; opacity: 0; animation: g-num 5s linear infinite; }
.g-card em i:nth-child(1) { animation-delay: 0s; } .g-card em i:nth-child(2) { animation-delay: .5s; } .g-card em i:nth-child(3) { animation-delay: 1s; } .g-card em i:nth-child(4) { animation-delay: 1.5s; }
.g-card em i:nth-child(5) { animation-name: g-last; animation-delay: 2s; }
@keyframes g-card { 0% { opacity: 0; transform: scale(.7) translateY(30px); filter: blur(8px); } 9%, 86% { opacity: 1; transform: none; filter: none; } 96%, 100% { opacity: 0; transform: scale(.96) translateY(-14px); filter: blur(6px); } }
@keyframes g-num { 0% { opacity: 0; transform: scale(.4); } 2%, 9% { opacity: 1; transform: scale(1); } 10%, 100% { opacity: 0; } }
@keyframes g-last { 0% { opacity: 0; transform: scale(.4); } 3% { opacity: 1; transform: scale(1.3); } 6%, 52% { opacity: 1; transform: scale(1); } 60%, 100% { opacity: 0; } }
.g-spark { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); opacity: 0; animation: g-spark 5s var(--ease) infinite; }
.s1 { --sx: -190px; --sy: -70px; } .s2 { --sx: 200px; --sy: -60px; background: #ff7eb0; } .s3 { --sx: -150px; --sy: 70px; background: #ff7eb0; } .s4 { --sx: 170px; --sy: 74px; } .s5 { --sx: 0px; --sy: -90px; }
@keyframes g-spark { 0%, 5% { opacity: 0; transform: none; } 7% { opacity: 1; } 24%, 100% { opacity: 0; transform: translate(var(--sx), var(--sy)) scale(.3); } }

.t-events .tile-vis { display: flex; flex-direction: column; justify-content: center; gap: 9px; }
.e-chip { padding: 9px 16px; border-radius: 100px; background: #ffffff16; border: 1px solid #ffffff20; font-size: 15px; font-weight: 600; animation: e-chip 6s var(--ease) infinite; }
.e2 { animation-delay: 1.2s; } .e3 { animation-delay: 2.4s; } .e4 { animation-delay: 3.6s; }
@keyframes e-chip { 0%, 4% { opacity: .35; transform: scale(.96); background: #ffffff16; } 8%, 22% { opacity: 1; transform: scale(1.08); background: #1aa884; } 30%, 100% { opacity: .35; transform: scale(.96); background: #ffffff16; } }

.t-rule .tile-vis { display: flex; gap: 0; padding-inline: 18px; }
.r-box { padding: 12px 16px; border-radius: 14px; background: #ffffff14; border: 1px solid #ffffff22; font-size: 15px; white-space: nowrap; }
.r-box b { color: #d9b8ff; }
.r-then { animation: r-then 4s var(--ease) infinite; }
.r-wire { position: relative; flex: 0 1 110px; min-width: 40px; height: 2px; background: #ffffff2a; }
.r-wire i { position: absolute; left: 0; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: #c79bff; box-shadow: 0 0 16px #c79bff; animation: r-dot 4s var(--ease) infinite; }
@keyframes r-dot { 0%, 12% { left: 0; opacity: 0; } 18% { opacity: 1; } 46% { left: calc(100% - 10px); opacity: 1; } 52%, 100% { left: calc(100% - 10px); opacity: 0; } }
@keyframes r-then { 0%, 46% { transform: none; background: #ffffff14; } 54% { transform: scale(1.1); background: #6d3fd0; } 80%, 100% { transform: none; background: #ffffff14; } }

.t-test .tile-vis { display: flex; gap: 26px; }
.x-btn { padding: 11px 24px; border-radius: 100px; background: #ffb340; color: #2a1800; font-weight: 750; animation: x-btn 3.6s var(--ease) infinite; }
.x-screen { position: relative; width: 74px; height: 130px; border-radius: 14px; border: 2px solid #ffffff3a; background: #0006; overflow: hidden; }
.x-screen i { position: absolute; left: 8px; right: 8px; top: 34px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, #ffb340, #ff6f61); animation: x-pop 3.6s var(--spring) infinite; }
@keyframes x-btn { 0%, 18% { transform: none; } 24% { transform: scale(.9); } 32%, 100% { transform: none; } }
@keyframes x-pop { 0%, 26% { opacity: 0; transform: scale(.4); } 36%, 76% { opacity: 1; transform: none; } 86%, 100% { opacity: 0; transform: translateY(-12px); } }

.b-bar { width: 74%; height: 18px; border-radius: 100px; background: #ff5c7a; overflow: hidden; }
.b-bar i { display: block; height: 100%; width: 100%; background: #4d8dff; transform-origin: 0 50%; animation: b-pull 6s ease-in-out infinite; }
.t-battle .tile-vis { align-content: center; gap: 12px; }
.b-names { width: 74%; display: flex; justify-content: space-between; font-size: 13px; font-weight: 650; color: #cfd2de; }
@keyframes b-pull { 0%, 100% { transform: scaleX(.5); } 25% { transform: scaleX(.66); } 55% { transform: scaleX(.38); } 80% { transform: scaleX(.58); } }

.c-ring { width: 108px; height: 108px; transform: rotate(-90deg); }
.c-ring circle { fill: none; stroke: #ffffff1c; stroke-width: 6; }
.c-ring .c-prog { stroke: #5ea0ff; stroke-linecap: round; stroke-dasharray: 201; animation: c-ring 3s linear infinite; }
.c-num { position: absolute; inset: 0; display: grid; place-items: center; font-size: 40px; font-weight: 760; font-variant-numeric: tabular-nums; }
.c-num i { grid-area: 1 / 1; font-style: normal; opacity: 0; animation: c-num 3s linear infinite; }
.c-num i:nth-child(1) { opacity: 1; } .c-num i:nth-child(2) { animation-delay: 1s; } .c-num i:nth-child(3) { animation-delay: 2s; }
@keyframes c-ring { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 201; } }
@keyframes c-num { 0% { opacity: 0; transform: scale(1.5); } 6%, 30% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; } }

.h-word { display: flex; gap: 8px; }
.h-word i { width: 34px; height: 46px; display: grid; place-items: center; border-bottom: 3px solid #ffffff55; font-style: normal; font-size: 28px; font-weight: 760; color: #fff; animation: h-let 7s var(--spring) infinite; }
.h-word i:nth-child(2) { animation-delay: .7s; } .h-word i:nth-child(3) { animation-delay: 2.1s; } .h-word i:nth-child(4) { animation-delay: 1.4s; } .h-word i:nth-child(5) { animation-delay: 2.8s; } .h-word i:nth-child(6) { animation-delay: 3.5s; }
@keyframes h-let { 0%, 3% { color: #fff0; transform: translateY(8px); } 9%, 74% { color: #fff; transform: none; } 80%, 100% { color: #fff0; transform: none; } }


/* ── Frame 4b · the whole toolkit ── */
.kit { padding: 0 0 clamp(80px, 13vh, 170px); }
.bento-3 .tile { grid-column: span 2; }
.t-sound .tile-vis { background: radial-gradient(80% 90% at 50% 40%, #3a1830, #0c0c10 75%); }
.t-tts .tile-vis { background: radial-gradient(80% 90% at 50% 40%, #12303c, #0c0c10 75%); align-content: center; gap: 14px; }
.t-goal .tile-vis { background: radial-gradient(80% 90% at 50% 40%, #33240f, #0c0c10 75%); }
.q-eq { display: flex; align-items: center; gap: 7px; height: 96px; }
.q-eq i { width: 9px; height: 100%; border-radius: 100px; background: linear-gradient(#ff7eb0, #b18cff); transform: scaleY(.25); animation: q-eq 1.1s ease-in-out infinite alternate; }
.q-eq i:nth-child(2) { animation-delay: -.2s; } .q-eq i:nth-child(3) { animation-delay: -.55s; } .q-eq i:nth-child(4) { animation-delay: -.9s; } .q-eq i:nth-child(5) { animation-delay: -.35s; } .q-eq i:nth-child(6) { animation-delay: -.75s; } .q-eq i:nth-child(7) { animation-delay: -.1s; } .q-eq i:nth-child(8) { animation-delay: -.6s; } .q-eq i:nth-child(9) { animation-delay: -.45s; }
@keyframes q-eq { to { transform: scaleY(1); } }
.v-bubble { padding: 10px 16px; border-radius: 16px 16px 16px 4px; background: #ffffff18; border: 1px solid #ffffff24; font-size: 15px; animation: v-bubble 4.4s var(--spring) infinite; }
.v-wave { display: flex; align-items: center; gap: 5px; height: 34px; }
.v-wave i { width: 5px; height: 100%; border-radius: 100px; background: #5fd4f0; transform: scaleY(.15); animation: v-wave 4.4s ease-in-out infinite; }
.v-wave i:nth-child(2) { animation-delay: .08s; } .v-wave i:nth-child(3) { animation-delay: .16s; } .v-wave i:nth-child(4) { animation-delay: .24s; } .v-wave i:nth-child(5) { animation-delay: .32s; } .v-wave i:nth-child(6) { animation-delay: .4s; }
@keyframes v-bubble { 0% { opacity: 0; transform: scale(.7) translateY(10px); } 8%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; } }
@keyframes v-wave { 0%, 18% { transform: scaleY(.15); } 26% { transform: scaleY(1); } 34% { transform: scaleY(.4); } 44% { transform: scaleY(.9); } 54% { transform: scaleY(.3); } 64% { transform: scaleY(.8); } 74%, 100% { transform: scaleY(.15); } }
.o-goal { width: 76%; }
.o-top { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14px; font-weight: 650; }
.o-num { position: relative; width: 50px; height: 18px; font-variant-numeric: tabular-nums; color: var(--gold); }
.o-num i { position: absolute; right: 0; font-style: normal; opacity: 0; animation: o-num 6s linear infinite; }
.o-num i:nth-child(2) { animation-delay: 1.5s; } .o-num i:nth-child(3) { animation-delay: 3s; } .o-num i:nth-child(4) { animation-delay: 4.5s; }
.o-bar { height: 16px; border-radius: 100px; background: #ffffff1c; overflow: hidden; }
.o-bar i { display: block; height: 100%; border-radius: 100px; background: linear-gradient(90deg, #ffb340, #ff6f61); transform-origin: 0 50%; transform: scaleX(1); animation: o-bar 6s var(--ease) infinite; }
@keyframes o-num { 0% { opacity: 0; } 2%, 24% { opacity: 1; } 25%, 100% { opacity: 0; } }
@keyframes o-bar { 0% { transform: scaleX(.1); } 22% { transform: scaleX(.25); } 28%, 47% { transform: scaleX(.5); } 53%, 72% { transform: scaleX(.75); } 78%, 96% { transform: scaleX(1); } 100% { transform: scaleX(.1); } }
.p-rows, .l-poll { width: 76%; display: grid; gap: 10px; }
.p-rows span, .l-poll span { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 10px; font-size: 14px; }
.p-rows i, .l-poll i { height: 14px; border-radius: 100px; background: linear-gradient(90deg, #5ea0ff, #b18cff); transform-origin: 0 50%; }
.p1 i { transform: scaleX(1); animation: p-a 7s ease-in-out infinite; } .p2 i { transform: scaleX(.7); animation: p-b 7s ease-in-out infinite; } .p3 i { transform: scaleX(.4); animation: p-c 7s ease-in-out infinite; }
@keyframes p-a { 0% { transform: scaleX(.2); } 40%, 100% { transform: scaleX(1); } }
@keyframes p-b { 0% { transform: scaleX(.3); } 60%, 100% { transform: scaleX(.7); } }
@keyframes p-c { 0% { transform: scaleX(.1); } 80%, 100% { transform: scaleX(.4); } }
.l-poll i { background: linear-gradient(90deg, #35d39a, #5fd4f0); }
.l1 { transform: scaleX(.62); animation: l-a 6s ease-in-out infinite alternate; } .l2 { transform: scaleX(.38); animation: l-b 6s ease-in-out infinite alternate; }
@keyframes l-a { 0% { transform: scaleX(.3); } 100% { transform: scaleX(.62); } }
@keyframes l-b { 0% { transform: scaleX(.7); } 100% { transform: scaleX(.38); } }
.k-chat { display: grid; gap: 8px; justify-items: start; width: 78%; }
.k-chat span { padding: 8px 14px; border-radius: 14px; background: #000000a6; border: 1px solid #ffffff1c; font-size: 14px; animation: k-in 6s var(--spring) infinite; }
.k-chat span:nth-child(2) { animation-delay: 1s; } .k-chat span:nth-child(3) { animation-delay: 2s; }
.k-chat b { color: #a9c7ff; margin-right: 6px; }
@keyframes k-in { 0% { opacity: 0; transform: translateY(14px) scale(.9); } 6%, 60% { opacity: 1; transform: none; } 70%, 100% { opacity: 0; transform: translateY(-8px); } }
.catalog { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px 28px; margin-top: clamp(40px, 7vh, 72px); padding-top: 34px; border-top: 1px solid var(--line); }
.catalog h3 { margin: 0 0 12px; font-size: 15px; color: var(--accent); font-weight: 650; }
.catalog ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; color: #d6d6db; font-size: 15px; }
@media (max-width: 900px) { .bento-3 .tile { grid-column: span 1; } .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .k-chat span, .v-bubble { opacity: 1; } .q-eq i { transform: scaleY(.6); } }

/* ── Frame 5 · one link (light) ── */
.one-link { padding: clamp(90px, 14vh, 180px) 0; }
.link-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.link-vis { display: flex; align-items: center; justify-content: center; }
.lv-studio { flex: 0 1 290px; padding: 14px; border-radius: 22px; background: #fff; box-shadow: 0 30px 70px -20px #0000003a, 0 0 0 1px #0000000f; }
.lv-bar { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.lv-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d2d2d7; }
.lv-bar span { margin-left: 8px; font-size: 13px; font-weight: 650; color: #55555a; }
.lv-tabs { display: grid; gap: 7px; }
.lv-tabs span { padding: 11px 14px; border-radius: 12px; background: #f0f0f3; font-size: 15px; font-weight: 620; animation: lv-tab 9s var(--ease) infinite; }
.lt2 { animation-delay: 3s !important; } .lt3 { animation-delay: 6s !important; }
@keyframes lv-tab { 0%, 2% { background: #f0f0f3; color: #1d1d1f; transform: none; } 5% { transform: scale(.97); } 8%, 31% { background: #164cff; color: #fff; transform: none; } 35%, 100% { background: #f0f0f3; color: #1d1d1f; } }
.lv-url { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; padding: 10px 12px; border-radius: 12px; border: 1px dashed #c4c4cc; font-size: 12.5px; color: #55555a; }
.lv-url b { color: #1d1d1f; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 600; }
.lv-wire { position: relative; flex: 0 1 90px; min-width: 26px; height: 2px; background: #c9c9d1; }
.lv-wire i { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: #164cff; animation: lv-dot 3s var(--ease) infinite; }
@keyframes lv-dot { 0%, 6% { left: 0; opacity: 0; } 10% { opacity: 1; } 30% { left: calc(100% - 10px); opacity: 1; } 36%, 100% { left: calc(100% - 10px); opacity: 0; } }
.lv-device { flex: 0 0 auto; display: grid; justify-items: center; gap: 10px; }
.lv-device small { font-size: 12.5px; color: #55555a; }
.lv-screen { position: relative; width: clamp(96px, 11vw, 132px); aspect-ratio: 9 / 16; border-radius: 18px; border: 6px solid #1d1d1f; background: linear-gradient(160deg, #2a2f4a, #121320); overflow: hidden; box-shadow: 0 30px 60px -20px #0000004d; }
.ls { position: absolute; left: 8px; right: 8px; top: 16px; padding: 8px 6px; border-radius: 10px; text-align: center; font-size: 12px; font-weight: 700; color: #fff; background: #1751e8; opacity: 0; animation: lv-scene 9s var(--ease) infinite; }
.ls1 { opacity: 1; animation-delay: .9s; } .ls2 { background: #7a4be0; animation-delay: 3.9s; } .ls3 { background: #b03468; animation-delay: 6.9s; }
@keyframes lv-scene { 0% { opacity: 0; transform: scale(.8) translateY(10px); filter: blur(4px); } 5%, 30% { opacity: 1; transform: none; filter: none; } 35%, 100% { opacity: 0; transform: scale(.95); } }

/* ── Frame 6 · hands-on demo ── */
.try { padding: clamp(90px, 14vh, 180px) 0 clamp(60px, 9vh, 110px); text-align: center; }
.try .lede { margin-inline: auto; }
.try .showcase { margin-top: clamp(34px, 6vh, 60px); text-align: left; }
.try .broadcast { box-shadow: 0 0 0 1px #ffffff1c, 0 60px 140px -40px #2d5bff66; }

/* ── Frame 7 · set up ── */
.steps { padding: clamp(60px, 10vh, 130px) 0; }
.home .setup-intro > p:not(.eyebrow) { max-width: 520px; margin: 22px 0 28px; color: var(--quiet); font-size: clamp(17px, 1.7vw, 22px); line-height: 1.45; }
.step-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(36px, 6vh, 60px); }
.step-cards article { padding: 26px; border-radius: 28px; background: var(--card); border: 1px solid #ffffff10; }
.step-cards article:nth-child(2) { --d: 90ms; } .step-cards article:nth-child(3) { --d: 180ms; }
.step-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #ffffff14; font-weight: 720; }
.step-cards h3 { margin: 18px 0 8px; font-size: 24px; letter-spacing: -.02em; }
.step-cards p { margin: 0; color: var(--quiet); font-size: 15.5px; line-height: 1.55; }
.step-cards a { color: var(--accent); }
.step-cards strong { color: var(--ink); font-weight: 620; }

/* ── Frame 8 · proof ── */
.proof { padding: clamp(60px, 10vh, 130px) 0 clamp(80px, 12vh, 150px); }
.home .tested-list .how { color: var(--quiet); }

.foot { border-top: 1px solid var(--line); padding: 26px 0 34px; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.foot p { max-width: 640px; margin: 0; color: var(--quiet); font-size: 12.5px; line-height: 1.5; }

/* ── smaller screens ── */
@media (max-width: 900px) {
  .fc-1 { left: 3%; } .fc-2 { right: 2%; } .fc-3 { left: 4%; } .fc-4 { right: 3%; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .t-rule, .t-test { grid-column: span 1; } .t-gift { grid-column: span 2; }
  .link-grid { grid-template-columns: 1fr; }
  .step-cards { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .gnav-links a:not(.gnav-cta):not([href="#toolkit"]) { display: none; }
  .float-card { display: none; }
  .phone { --pw: clamp(210px, 60vw, 270px); }
  .acts { grid-template-columns: 1fr; gap: 0; }
  .acts-pin { top: 52px; z-index: 3; height: auto; padding: 14px 0 26px; background: linear-gradient(#000 88%, #0000); }
  .acts-pin .phone { --pw: min(46vw, 25svh, 200px); }
  .act-step { min-height: 62svh; justify-content: flex-start; padding-top: 6svh; text-align: center; align-items: center; }
  .bento { grid-template-columns: 1fr; }
  .tile, .t-gift, .t-rule, .t-test { grid-column: span 1; }
  .g-card { min-width: 0; width: 86%; }
  .r-box { padding: 10px 11px; font-size: 13.5px; }
  .link-vis { transform: scale(.92); }
  .lv-studio { flex-basis: 190px; }
  .lv-url span { display: none; }
  .foot-in { flex-direction: column; align-items: flex-start; }
}

/* ── accessibility ── */
@media (prefers-reduced-motion: reduce) {
  .js .home .rv { opacity: 1; transform: none; filter: none; }
  .home [data-loop] *, .home .float-card, .home .strip-track, .home .live-pill i, .home .phone *, .home .phone-chat p { animation: none !important; }
  .hero-copy, .hero-stage > .phone { transform: none; opacity: 1; }
  .act-step { opacity: 1; transform: none; }
  .g-card em i:nth-child(5), .o-num i:nth-child(4), .c-num i:nth-child(1), .ls1 { opacity: 1; }
  .h-word i { color: #fff; }
}
@media (prefers-reduced-transparency: reduce) {
  .gnav { background: #000; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .float-card, .ov { background: #14161f; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .home { --quiet: #d0d0d5; --line: #6a6a70; }
  .tile, .step-cards article { border-color: #6a6a70; }
  .gnav { background: #000; }
}
