/* THE POOL — sunny paddling-pool meme, plastic blue/pink/yellow, no deep end */
:root {
  --sky: #cdf5ff;
  --water: #17c3e6;
  --water-deep: #0e88a8;
  --bg: #eafcff;
  --ink: #073042;
  --ink-dim: #4c7a8a;
  --line: rgba(7, 48, 66, 0.1);
  --panel: rgba(255, 255, 255, 0.72);
  --pink: #ff6fae;
  --pink-hi: #ff9dc7;
  --yellow: #ffd23f;
  --up: #17a672;
  --down: #ff5470;
  --white: #ffffff;
  --grey: #6d8f9c;
  --radius: 22px;
  --max: 1140px;
  --font: 'Helvetica Neue', Inter, system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', var(--font);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font); background: var(--bg); color: var(--ink);
  line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--font-display); }

/* ── sunny pool-water ambient layers ────────────────────── */
#caustics { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -3; opacity: 0.5; }
body::before {
  content: ''; position: fixed; inset: 0; z-index: -6;
  background:
    radial-gradient(120% 70% at 50% -15%, rgba(255, 255, 255, 0.9), transparent 55%),
    radial-gradient(80% 60% at 85% 10%, rgba(255, 210, 63, 0.28), transparent 55%),
    radial-gradient(70% 55% at 8% 8%, rgba(255, 111, 174, 0.16), transparent 55%),
    linear-gradient(180deg, #f2fdff 0%, #dff6fb 18%, #bdeef8 42%, #8fe0f0 68%, #5fcde8 100%);
}
.sunspot {
  position: fixed; top: -10%; left: 50%; width: 60vw; height: 60vw; max-width: 640px; max-height: 640px;
  transform: translateX(-50%); z-index: -5; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,255,255,0.85), rgba(255,235,150,0.18) 55%, transparent 75%);
  filter: blur(6px); animation: sunpulse 7s ease-in-out infinite;
}
@keyframes sunpulse { 0%,100% { opacity: 0.8; } 50% { opacity: 1; } }
.grain {
  position: fixed; inset: -200%; z-index: -1; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 5s steps(7) infinite;
}
@keyframes grain {
  0%,100%{transform:translate(0,0)} 10%{transform:translate(-4%,-4%)}
  30%{transform:translate(3%,-2%)} 50%{transform:translate(-2%,3%)}
  70%{transform:translate(4%,2%)} 90%{transform:translate(-3%,-3%)}
}

/* ── scroll-reveal system ─────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }
.stats .reveal:nth-child(1) { transition-delay: 0s; }
.stats .reveal:nth-child(2) { transition-delay: .08s; }
.stats .reveal:nth-child(3) { transition-delay: .16s; }
.stats .reveal:nth-child(4) { transition-delay: .24s; }
.timeline .tl-step:nth-child(2) { transition-delay: .1s; }
.timeline .tl-step:nth-child(3) { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ── nav ────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 18px clamp(20px, 5vw, 52px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
}
.nav-side { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); min-width: 0; overflow: hidden; }
.nav-left { justify-self: start; }
.nav-right { justify-self: end; }
.nav-side > a:not(.price-chip):not(.x-link) {
  color: var(--ink); text-decoration: none; font-size: 13.5px; font-weight: 700;
  font-family: var(--font-display); letter-spacing: 0.03em; text-transform: uppercase; transition: color .2s;
}
.nav-side > a:not(.price-chip):not(.x-link):hover { color: var(--pink); }
.nav-side > a.active { color: var(--pink); }
.brand { display: flex; align-items: center; text-decoration: none; justify-self: center; }
.brand-word {
  font-family: var(--font-display); color: var(--ink); font-weight: 700; font-size: 21px;
  letter-spacing: -0.01em; text-transform: uppercase; transition: opacity .2s;
}
.brand-word em { color: var(--pink); font-style: normal; }
.brand:hover .brand-word { opacity: 0.75; }
.duck-badge { width: 34px; height: 29px; object-fit: contain; transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.duck-badge:hover { transform: rotate(-16deg) scale(1.12); }
.x-link { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink-dim); transition: color .2s, border-color .2s; background: rgba(255,255,255,0.5); }
.x-link svg { width: 15px; height: 15px; fill: currentColor; }
.x-link:hover { color: var(--water-deep); border-color: var(--water); }
.price-chip {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  padding: 8px 15px; border: 1px solid var(--line); border-radius: 100px;
  color: var(--ink); font-size: 13.5px; background: rgba(255,255,255,0.6);
  font-variant-numeric: tabular-nums;
}
.price-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 10px var(--up); animation: blink 2s ease-in-out infinite; }
.price-chip .chip-k { font-style: normal; font-size: 10px; letter-spacing: 0.1em; color: var(--grey); text-transform: uppercase; }
.price-chip b { font-weight: 700; }
.price-chip i { font-style: normal; font-size: 12px; color: var(--ink-dim); }
.price-chip i.up { color: var(--up); } .price-chip i.down { color: var(--down); }
@keyframes blink { 50% { opacity: .3; } }

/* ── layout ─────────────────────────────────────────────── */
main { max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 5vw, 32px); position: relative; z-index: 1; }
section { padding: clamp(60px, 9vw, 120px) 0; border-bottom: 1px solid var(--line); position: relative; }
.section-head { display: flex; align-items: center; gap: 18px; margin-bottom: 46px; }
.section-head .orn { width: 40px; height: 34px; flex: none; }
.section-head h2 { font-size: clamp(28px, 4.4vw, 44px); font-weight: 700; letter-spacing: -0.03em; display: flex; align-items: center; gap: 14px; color: var(--ink); }
.section-head p { color: var(--ink-dim); margin-top: 6px; font-size: 16.5px; }
.eyebrow { font-size: 12.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--water-deep); font-weight: 700; }
.lede { color: var(--ink-dim); font-size: clamp(15px, 1.8vw, 17px); }
.cta { display: flex; gap: 14px; justify-content: flex-start; margin-top: 22px; flex-wrap: wrap; }
.btn { position: relative; overflow: hidden; padding: 14px 30px; border-radius: 100px; text-decoration: none; font-size: 15px; font-weight: 700; font-family: var(--font-display); background: var(--water-deep); color: var(--white); border: 1px solid var(--water-deep); transition: transform .15s, box-shadow .3s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(23, 195, 230, 0.45); }
.btn.ghost { background: rgba(255,255,255,0.6); color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--water); color: var(--water-deep); box-shadow: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── hero: pure Spline 3D scene, full-bleed, no overlay ──── */
.hero {
  position: relative; padding: 0; border-bottom: none; overflow: hidden;
  min-height: clamp(520px, 80vh, 760px); display: flex; align-items: stretch; background: #dff6fb;
  width: 100vw; margin-left: calc(50% - 50vw);
}
.hero-water { position: absolute; inset: 0; z-index: 0; }
.hero-water spline-viewer { position: absolute; inset: 0; width: 100%; height: 100%; }
.scroll-cue {
  position: absolute; left: 50%; bottom: clamp(18px, 3vw, 30px); transform: translateX(-50%); z-index: 2;
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.85); border-radius: 100px;
  display: flex; justify-content: center; padding-top: 8px;
}
.scroll-cue span { width: 4px; height: 8px; border-radius: 2px; background: #fff; animation: scrollcue 1.6s ease-in-out infinite; }
@keyframes scrollcue { 0% { opacity: 1; transform: translateY(0); } 70% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }

/* ── intro: the pitch, now living below the hero ─────────── */
.intro { background: linear-gradient(180deg, #eafcff, #ffffff); }
.intro-grid {
  max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 5vw, 32px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center;
}
.intro-h { font-size: clamp(32px, 4.6vw, 54px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.04; color: var(--ink); margin-top: 14px; }
.intro-body .cta { margin-top: 28px; }

/* ── logo marquee ───────────────────────────────────────── */
.marquee { width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.4); padding: 20px 0; }
.mq-track { display: flex; align-items: center; gap: 42px; width: max-content; animation: marquee 34s linear infinite; }
.mq-track:hover { animation-play-state: paused; }
.mq-item { display: inline-flex; align-items: center; gap: 42px; color: var(--water-deep); font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; white-space: nowrap; }
.mq-item img { width: 24px; height: 20px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── headline stats: bento grid ──────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(150px, auto); gap: 16px; }
.stat-card {
  position: relative; padding: 28px 26px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--panel); overflow: hidden;
  transition: border-color .3s, transform .3s; box-shadow: 0 10px 30px rgba(14,136,168,0.06);
  display: flex; flex-direction: column; justify-content: center;
}
.stat-card::before { content: ''; position: absolute; top: 0; left: 22px; right: 22px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--pink), var(--yellow), var(--water)); opacity: 0; transition: opacity .3s; }
.stat-card:hover { transform: translateY(-3px); border-color: rgba(23,195,230,0.4); }
.stat-card:hover::before { opacity: 1; }
.stat-card.feature { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, rgba(255,210,63,0.2), rgba(23,195,230,0.08)); border-color: rgba(23,195,230,0.35); justify-content: flex-end; }
.stat-card.wide { grid-column: span 2; }
.card-wm { position: absolute; right: -14px; bottom: -18px; width: 130px; opacity: 0.14; pointer-events: none; }
.stat-card label { display: block; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); font-weight: 700; margin-bottom: 14px; }
.stat-card b { font-family: var(--font-display); font-size: clamp(25px, 3.4vw, 44px); font-weight: 700; letter-spacing: -0.03em; display: block; font-variant-numeric: tabular-nums; color: var(--ink); }
.stat-card.feature b { font-size: clamp(32px, 5vw, 56px); }
.stat-card .sub { display: block; margin-top: 8px; font-size: 13px; color: var(--ink-dim); }
.delta { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 700; }
.delta.up { color: var(--up); } .delta.down { color: var(--down); }

/* ── how it works — a vertical timeline that fills as you scroll ── */
.timeline { position: relative; display: grid; gap: clamp(28px, 5vw, 44px); padding-left: clamp(40px, 6vw, 64px); }
.timeline-track { position: absolute; left: 8px; top: 6px; bottom: 6px; width: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.timeline-fill { position: absolute; left: 0; top: 0; width: 100%; height: 0%; background: linear-gradient(180deg, var(--pink), var(--water), var(--water-deep)); border-radius: 4px; transition: height .1s linear; }
.tl-step { position: relative; }
.tl-num {
  position: absolute; left: clamp(-40px, -6vw, -64px); top: -4px; width: 34px; height: 34px; border-radius: 50%;
  background: #fff; border: 2px solid var(--water); color: var(--water-deep); font-family: var(--font-display); font-weight: 700;
  font-size: 13px; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(14,136,168,0.18);
}
.tl-body {
  padding: 28px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel);
  box-shadow: 0 10px 30px rgba(14,136,168,0.06); transition: transform .3s, border-color .3s;
}
.tl-step:hover .tl-body { transform: translateX(6px); border-color: rgba(23,195,230,0.4); }
.tl-body h3 { font-size: 24px; font-weight: 700; margin-bottom: 10px; color: var(--ink); }
.hl { color: var(--pink); font-weight: 700; }
.tl-body p { color: var(--ink-dim); font-size: 15px; }

/* ── growth: dark glass card ──────────────────────────────── */
.growth-card {
  background: linear-gradient(160deg, #062430, #0a3a4a 55%, #0e6a8a 130%);
  border-radius: 32px; padding: clamp(30px, 5vw, 56px); color: #eafcff;
  box-shadow: 0 30px 70px rgba(6,36,48,0.3);
}
.growth-card .section-head h2 { color: #f4fdff; }
.growth-card .section-head p { color: rgba(234,252,255,0.65); }
.growth-card .eyebrow { color: #7fe7ff; }
.chart-wrap { position: relative; border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius); background: rgba(255,255,255,0.05); padding: 20px; overflow: visible; }
.chart { width: 100%; height: clamp(220px, 34vw, 320px); display: block; overflow: visible; }
.chart .grid { stroke: rgba(255,255,255,0.08); stroke-width: 1; }
.chart .area { fill: url(#chartfill); }
.chart .line { fill: none; stroke: url(#chartstroke); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .pt { fill: #062430; stroke: #7fe7ff; stroke-width: 2; transition: r .12s; }
.chart .pt.last { fill: var(--pink); r: 5; }
.chart .hit { fill: transparent; cursor: pointer; }
.chart .yl, .chart .xl { fill: rgba(234,252,255,0.55); font-size: 13px; font-family: ui-monospace, monospace; }
.chart-empty { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(234,252,255,0.6); font-size: 14px; padding: 20px; text-align: center; }
.chart-tip { position: absolute; z-index: 6; pointer-events: none; background: rgba(6,24,32,0.98); border: 1px solid rgba(127,231,255,0.5); border-radius: 10px; padding: 9px 13px; box-shadow: 0 10px 34px rgba(0,0,0,0.4); opacity: 0; transform: translate(-50%, calc(-100% - 12px)); transition: opacity .12s; white-space: nowrap; display: flex; flex-direction: column; gap: 2px; }
.chart-tip.show { opacity: 1; }
.chart-tip b { font-family: var(--font-display); color: #7fe7ff; font-size: 16px; font-weight: 700; }
.chart-tip span { color: rgba(234,252,255,0.7); font-size: 12px; }
.chart-tip i { color: rgba(234,252,255,0.5); font-style: normal; font-size: 11px; font-family: ui-monospace, monospace; }
.chart-tip em { color: rgba(234,252,255,0.5); font-style: normal; font-size: 11px; }

/* ── the pool: ticket stub ────────────────────────────────── */
.ticket { display: flex; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 14px 34px rgba(14,136,168,0.08); overflow: hidden; }
.ticket-main { flex: 1.4; display: grid; grid-template-columns: 1fr 1fr; }
.ticket-stub { flex: 1; display: grid; grid-template-columns: 1fr 1fr; background: linear-gradient(160deg, rgba(23,195,230,0.08), rgba(255,111,174,0.06)); }
.ticket-perf { width: 0; border-left: 2px dashed var(--line); position: relative; flex: none; }
.ticket-perf::before, .ticket-perf::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--bg); }
.ticket-perf::before { top: -13px; } .ticket-perf::after { bottom: -13px; }
.pcell { padding: 26px 24px; }
.ticket-main .pcell:first-child, .ticket-stub .pcell:first-child { border-right: 1px solid var(--line); }
.pcell label { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); font-weight: 700; margin-bottom: 10px; }
.pcell b { font-family: var(--font-display); font-size: 22px; font-weight: 700; word-break: break-word; font-variant-numeric: tabular-nums; color: var(--ink); }
.pcell b.mono, .mono { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 14px; font-weight: 400; }
.pcell b.up { color: var(--up); } .pcell b.down { color: var(--down); }
.hint { margin-top: 18px; color: var(--ink-dim); font-size: 14px; }
.hint code, code { font-family: ui-monospace, monospace; color: var(--water-deep); font-size: 0.92em; }

/* ── transparency / verify: terminal window ──────────────── */
.terminal { background: #0a1a22; border-radius: 22px; overflow: hidden; box-shadow: 0 14px 34px rgba(14,136,168,0.12); }
.terminal-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #0e242d; }
.terminal-bar span { width: 11px; height: 11px; border-radius: 50%; background: #3a4d55; }
.terminal-bar span:nth-child(1) { background: #ff5f57; }
.terminal-bar span:nth-child(2) { background: #ffbd2e; }
.terminal-bar span:nth-child(3) { background: #28c840; }
.terminal-bar i { margin-left: 10px; font-style: normal; color: #6d8f9c; font-family: ui-monospace, monospace; font-size: 12.5px; }
.terminal .verify-grid { background: transparent; border: none; border-radius: 0; }
.terminal .vrow { background: transparent; border-bottom: 1px solid rgba(255,255,255,0.07); }
.terminal .vrow .vk { color: #6d8f9c; }
.terminal .vrow .vv { color: #eafcff; }
.terminal .vrow .vv a { color: #5fd9ff; }
.terminal .vrow .copy { border-color: rgba(255,255,255,0.15); color: #6d8f9c; }
.terminal .vrow .copy:hover { color: #eafcff; border-color: #5fd9ff; }
.verify-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; }
.vrow { padding: 18px 22px; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.vrow .vk { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); font-weight: 700; }
.vrow .vv { display: flex; align-items: center; gap: 10px; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 13.5px; color: var(--ink); min-width: 0; }
.vrow .vv a { color: var(--water-deep); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vrow .vv a:hover { text-decoration: underline; }
.vrow .copy { flex: none; cursor: pointer; color: var(--grey); border: 1px solid var(--line); background: transparent; border-radius: 7px; font-size: 11px; padding: 3px 8px; transition: color .15s, border-color .15s; }
.vnote { margin-top: 16px; color: var(--ink-dim); font-size: 14px; }
.vnote b { color: var(--up); font-weight: 700; }

/* ── live feed ──────────────────────────────────────────── */
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--up); box-shadow: 0 0 12px var(--up); animation: blink 1.6s ease-in-out infinite; display: inline-block; }
.feed { list-style: none; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feed li { display: flex; align-items: center; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); background: #ffffff; font-size: 14.5px; transition: background .2s; }
.feed li:hover { background: #f2fcff; }
.feed li:last-child { border-bottom: none; }
.feed .badge { flex: none; padding: 4px 11px; border-radius: 100px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.badge.claim { background: rgba(255,210,63,0.3); color: #8a6400; }
.badge.compound { background: rgba(23,195,230,0.18); color: var(--water-deep); }
.badge.err { background: rgba(255, 84, 112, 0.15); color: var(--down); }
.feed .detail { flex: 1; color: var(--ink); }
.feed .detail .sim { color: var(--ink-dim); font-size: 12px; margin-left: 8px; }
.feed .when { flex: none; color: var(--grey); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.feed .tx { color: var(--water-deep); text-decoration: none; font-family: ui-monospace, monospace; font-size: 12px; white-space: nowrap; transition: color .15s; }
.feed .tx:hover { color: var(--pink); text-decoration: underline; }
.feed-empty { color: var(--ink-dim); justify-content: center; gap: 12px; }
.feed-empty img { width: 22px; height: 18px; }

/* ── footer ─────────────────────────────────────────────── */
footer { max-width: var(--max); margin: 0 auto; padding: 64px clamp(20px, 5vw, 32px) 90px; text-align: center; }
.foot-word {
  font-family: var(--font-display); font-size: clamp(40px, 9vw, 96px); font-weight: 700; letter-spacing: -0.03em;
  background: linear-gradient(100deg, var(--pink), var(--yellow) 45%, var(--water) 75%, var(--water-deep));
  background-size: 220% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: sheen 6s ease-in-out infinite;
}
@keyframes sheen { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.foot-sub { margin-top: 12px; color: var(--grey); font-size: 13px; }

/* ── cannonball celebration ──────────────────────────────── */
.ripple {
  position: fixed; left: 50%; top: 46%; width: 22px; height: 22px; margin: -11px 0 0 -11px;
  border-radius: 50%; border: 3px solid rgba(23,195,230,0.9); pointer-events: none; z-index: 40;
  box-shadow: 0 0 34px rgba(23,195,230,0.6);
  animation: ripple 1.6s cubic-bezier(.2,.7,.3,1) forwards;
}
@keyframes ripple { 0% { transform: scale(0.2); opacity: 0; } 12% { opacity: 1; } 100% { transform: scale(30); opacity: 0; } }
.feed li.flash { animation: rowflash 1.5s ease; }
@keyframes rowflash { 0%, 100% { background: #ffffff; } 22% { background: rgba(23,195,230,0.16); } }
.confetti-piece { animation: confettiFly 1.4s cubic-bezier(.15,.7,.35,1) forwards; filter: drop-shadow(0 6px 10px rgba(14,136,168,0.3)); }
@keyframes confettiFly {
  0%   { transform: translate(0, 0) rotate(0deg) scale(0.4); opacity: 0; }
  12%  { opacity: 1; transform: translate(calc(var(--dx) * 0.25), calc(var(--dy) * 0.25)) rotate(calc(var(--spin) * 0.25)) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx), calc(var(--dy) + 160px)) rotate(var(--spin)) scale(0.8); }
}
.splash { position: fixed; inset: 0; z-index: 45; display: grid; place-content: center; justify-items: center; gap: 4px; pointer-events: none; text-align: center; background: radial-gradient(120% 100% at 50% 45%, rgba(255,255,255,0.85), rgba(190,240,250,0.92)); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: splash 3.6s cubic-bezier(.2,.7,.3,1) forwards; }
.splash-amt { font-family: var(--font-display); font-size: clamp(58px, 13vw, 150px); font-weight: 700; line-height: 1; letter-spacing: -0.045em; background: linear-gradient(120deg, var(--pink), var(--yellow) 45%, var(--water) 80%, var(--water-deep)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.splash-sub { font-size: clamp(15px, 3vw, 26px); letter-spacing: 0.3em; text-transform: uppercase; color: var(--water-deep); font-weight: 700; }
.splash-detail { margin-top: 10px; font-size: 14px; color: var(--ink-dim); font-family: ui-monospace, monospace; }
@keyframes splash { 0% { opacity: 0; transform: scale(0.92); } 9% { opacity: 1; transform: scale(1); } 78% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .splash { animation: splashstatic 3s ease forwards; } }
@keyframes splashstatic { 0%,88% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ripple { display: none; } }

/* ── ambient sound toggle ───────────────────────────────── */
.sound-btn { position: fixed; bottom: 20px; right: 20px; z-index: 15; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,0.7); backdrop-filter: blur(10px); color: var(--grey); display: grid; place-items: center; cursor: pointer; transition: color .2s, border-color .2s, box-shadow .3s; }
.sound-btn:hover { color: var(--ink); }
.sound-btn svg { width: 20px; height: 20px; fill: currentColor; }
.sound-btn .w1, .sound-btn .w2 { opacity: 0; transition: opacity .3s; }
.sound-btn.on { color: var(--water-deep); border-color: var(--water); box-shadow: 0 0 18px rgba(23,195,230,0.35); }
.sound-btn.on .w1 { opacity: 1; } .sound-btn.on .w2 { opacity: 0.7; }

/* ── responsive ─────────────────────────────────────────── */
@media (max-width: 940px) {
  .intro-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat-card.feature { grid-column: span 2; grid-row: span 1; }
  .stat-card.wide { grid-column: span 2; }
  .verify-grid { grid-template-columns: 1fr; }
  .ticket { flex-direction: column; }
  .ticket-perf { display: none; }
}
@media (max-width: 720px) {
  .nav-side > a:not(.price-chip):not(.x-link) { display: none; }
  .duck-badge { display: none; }
  .section-head .orn { width: 32px; height: 27px; }
  .feed li { flex-wrap: wrap; gap: 8px; }
  .feed .when { width: 100%; }
  .timeline { padding-left: 46px; }
  .tl-num { left: -46px; }
}
@media (max-width: 560px) {
  main { padding-left: 16px; padding-right: 16px; }
  .nav { padding: 14px 16px; }
  .nav-side { gap: 8px; }
  .x-link { display: none; }
  .brand-word { font-size: 16px; }
  .eyebrow { letter-spacing: 0.1em; font-size: 10.5px; }
  .lede { font-size: 15.5px; }
  .section-head { gap: 12px; margin-bottom: 32px; }
  .section-head h2 { font-size: clamp(24px, 7.5vw, 34px); }
  .stat-card b { font-size: clamp(22px, 8.5vw, 30px); }
  .stats { gap: 12px; }
  .ticket-main, .ticket-stub { grid-template-columns: 1fr; }
  .ticket-main .pcell:first-child, .ticket-stub .pcell:first-child { border-right: none; border-bottom: 1px solid var(--line); }
  .sound-btn { bottom: 16px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .mq-track, .link::after, .sunspot, .scroll-cue span, .foot-word { animation: none !important; }
}
