:root {
  --bg: #07070b;
  --ink: #ededf2;
  --ink-soft: #b4b4c2;
  --ink-dim: #8b8b9e;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --card: rgba(255, 255, 255, 0.025);
  --accent: #6366f1;
  --accent-2: #8b8cf8;
  --accent-lite: #a5a8f7;
  --accent-pale: #c0c2fa;
  --ok: #34d399;
  --warn: #fbbf24;
  --fill-a: #5b5ef0;
  --fill-b: #4a4ddb;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --pad-x: clamp(1.25rem, 5vw, 5.5rem);
  --gap: clamp(0.8rem, 2.1vh, 1.8rem);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #0d0d16 0%, #08080d 40%, #07070b 100%);
  -webkit-font-smoothing: antialiased;
  font-size: clamp(15px, 1.2vw, 20px);
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
strong { color: var(--ink); font-weight: 600; }

/* ---------- slide frame ---------- */
.slide {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: clamp(3.6rem, 8vh, 5.5rem) var(--pad-x) clamp(2.2rem, 5vh, 4rem);
  overflow: hidden;
  isolation: isolate;
}
.slide + .slide { border-top: 1px solid rgba(255, 255, 255, 0.04); }
.slide::before {               /* the landing's soft indigo glow, placed per slide */
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  width: 70vw; height: 70vh; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(99, 102, 241, 0.16), transparent);
  filter: blur(20px);
  left: var(--gx, 60%); top: var(--gy, -20%);
}
.wrap { width: 100%; min-width: 0; max-width: 1380px; margin: 0 auto; }

/* ---------- type ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-dim); font-weight: 500;
}
.kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
#s1 .kicker .dot { animation: pulse 2.4s infinite; }
.kicker .bar { width: 18px; height: 1px; background: var(--accent-lite); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); } 70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
h1, h2 { font-weight: 700; letter-spacing: -0.035em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, min(6.6vw, 11vh), 6.4rem); line-height: 1; }
h1 .lead { display: block; font-size: 0.5em; font-weight: 500; letter-spacing: -0.02em; color: var(--ink-soft); margin-bottom: 0.25em; }
h2 { font-size: clamp(1.8rem, min(3.7vw, 6.2vh), 3.7rem); line-height: 1.04; margin-top: 0.6rem; }
.grad { color: var(--accent-pale); }
.muted { color: var(--ink-dim); }
.soft { color: var(--ink-soft); }
.sub { color: var(--ink-soft); font-size: clamp(1rem, 1.35vw, 1.2rem); max-width: 40ch; margin-top: var(--gap); }
.note { color: var(--ink-dim); font-size: 0.8rem; margin-top: var(--gap); max-width: 90ch; line-height: 1.5; }
.mono { font-family: var(--mono); }

/* ---------- layouts ---------- */
.split { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2rem, 4.5vw, 4.5rem); align-items: center; }
.split.flip { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.cols { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-top: calc(var(--gap) * 1.4); }
.cols > * { background: #0b0b12; padding: clamp(0.85rem, 2.2vh, 1.6rem) clamp(1rem, 1.8vw, 1.6rem); }
.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols h3 { font-size: clamp(1.02rem, 1.3vw, 1.2rem); font-weight: 600; letter-spacing: -0.01em; margin: 0.55rem 0 0.35rem; }
.cols p { color: var(--ink-dim); font-size: 0.9rem; }
.num { font-family: var(--mono); font-size: 0.72rem; color: var(--accent-lite); letter-spacing: 0.08em; }

.stat { font-family: var(--mono); font-weight: 500; font-size: clamp(1.8rem, min(3.4vw, 5.6vh), 3rem); letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.stat small { font-size: 0.42em; color: var(--ink-dim); letter-spacing: 0; margin-left: 0.15em; }
.stat.ok { color: var(--ok); }
.stat.warn { color: var(--warn); }
.statlabel { color: var(--ink-soft); font-size: 0.92rem; margin-top: 0.7rem; font-weight: 500; }
.statsub { color: var(--ink-dim); font-size: 0.8rem; margin-top: 0.25rem; }

ul.ticks { list-style: none; display: grid; gap: clamp(0.5rem, 1.6vh, 0.9rem); margin-top: calc(var(--gap) * 1.2); }
ul.ticks li { position: relative; padding-left: 1.6rem; color: var(--ink-soft); }
ul.ticks li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 0.55rem; height: 0.55rem; border-radius: 2px; background: var(--accent-lite); }

/* ---------- product window ---------- */
.shot { position: relative; }
.shot::before { content: ''; position: absolute; inset: -12% -8%; z-index: -1; background: radial-gradient(closest-side, rgba(99, 102, 241, 0.28), transparent); filter: blur(30px); }
.win {
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #0b0b12;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(99, 102, 241, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.win .bar { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.win .bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.win .bar span { margin-left: 10px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-dim); }
.win img { width: 100%; height: auto; }
.win.crop { height: var(--h, 62vh); }
.win.crop img { height: calc(100% - 30px); object-fit: cover; object-position: var(--pos, top left); }
.caption { font-size: 0.78rem; color: var(--ink-dim); margin-top: 0.8rem; text-align: center; }
.tilt { transform: perspective(1800px) rotateY(-7deg) rotateX(3deg); transform-origin: left center; }

/* ---------- problem bars ---------- */
.hours { display: grid; gap: 0.9rem; margin-top: calc(var(--gap) * 1.3); }
.hrow { display: grid; grid-template-columns: 8.5rem 1fr; align-items: center; gap: 1rem; }
.hrow .lbl { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-dim); }
.hbar { height: clamp(2.2rem, 5.2vh, 3rem); border-radius: 10px; display: flex; align-items: center; padding: 0 1.1rem; font-family: var(--mono); font-size: 0.95rem; white-space: nowrap; }
.hbar.heard { width: 14%; min-width: max-content; background: linear-gradient(180deg, var(--fill-a), var(--fill-b)); color: #fff; }
.hbar.dark { width: 100%; border: 1px dashed rgba(255, 255, 255, 0.18); color: var(--ink-dim); }

/* ---------- timeline ---------- */
.tl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: calc(var(--gap) * 1.5); position: relative; }
.tl::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: linear-gradient(90deg, var(--accent), rgba(99, 102, 241, 0.15)); }
.tl > div { position: relative; padding-right: 1rem; }
.tl .pt { width: 15px; height: 15px; border-radius: 50%; background: #0b0b12; border: 2px solid var(--accent-lite); }
.tl .pt.done { background: var(--accent); border-color: var(--accent-pale); }
.tl .pt.next { border-style: dashed; border-color: var(--ink-dim); }
.tl .when { font-family: var(--mono); font-size: 0.72rem; color: var(--accent-lite); margin-top: 0.9rem; letter-spacing: 0.04em; }
.tl h3 { font-size: 1rem; font-weight: 600; margin-top: 0.3rem; }
.tl p { font-size: 0.82rem; color: var(--ink-dim); margin-top: 0.25rem; }

/* ---------- table ---------- */
table.comp { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: calc(var(--gap) * 1.3); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: 0.92rem; }
.comp th, .comp td { padding: 0.95rem 1.2rem; text-align: center; border-bottom: 1px solid var(--line); }
.comp tr:last-child td { border-bottom: 0; }
.comp th { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); font-weight: 500; background: rgba(255, 255, 255, 0.02); }
.comp th small { display: block; letter-spacing: 0; text-transform: none; font-size: 0.78rem; margin-top: 0.2rem; color: var(--ink-dim); }
.comp td:first-child, .comp th:first-child { text-align: left; color: var(--ink); }
.comp td { color: var(--ink-dim); }
.comp .us { background: rgba(99, 102, 241, 0.09); color: var(--accent-pale); font-weight: 600; }
.comp th.us { color: var(--accent-pale); }
.comp .yes { color: var(--ok); font-weight: 700; }

/* ---------- ask ---------- */
.funds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: calc(var(--gap) * 1.3); }
.fund { border-radius: 16px; padding: clamp(0.9rem, 2.4vh, 1.6rem) clamp(1rem, 1.8vw, 1.6rem); border: 1px solid var(--line); background: var(--card); position: relative; overflow: hidden; }
.fund::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(255, 255, 255, 0.06); }
.fund::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--c); transform-origin: left; transform: scaleX(var(--p, 1)); }
.fund .pct { font-family: var(--mono); font-size: clamp(2.2rem, 3.6vw, 3rem); font-weight: 500; letter-spacing: -0.05em; color: var(--c); line-height: 1; }
.fund h3 { font-size: 1.08rem; font-weight: 600; margin-top: 0.8rem; }
.fund p { color: var(--ink-dim); font-size: 0.86rem; margin-top: 0.3rem; }
.cta { margin-top: calc(var(--gap) * 1.5); display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.btn { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.85rem 1.4rem; border-radius: 12px; background: linear-gradient(180deg, var(--fill-a), var(--fill-b)); color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.22); }
.cta .who { color: var(--ink-dim); font-size: 0.9rem; }
.cta .who strong { display: block; color: var(--ink); }

/* ---------- live demo ---------- */
.demo { border-radius: 18px; border: 1px solid var(--line-strong); background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01)); padding: clamp(1rem, 2.6vh, 1.6rem) clamp(1.1rem, 2vw, 1.7rem); box-shadow: 0 40px 90px -30px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.06); }
.demo-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.demo-head h3 { font-size: 1rem; font-weight: 600; }
.demo-head span { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-dim); }
.player { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; margin-top: clamp(0.8rem, 2vh, 1.2rem); padding: 0.75rem 0.9rem; border-radius: 14px; background: rgba(0,0,0,0.35); border: 1px solid var(--line); }
.play { width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: linear-gradient(180deg, var(--fill-a), var(--fill-b)); box-shadow: 0 0 0 0 rgba(99,102,241,0.7), 0 10px 30px -8px rgba(99,102,241,0.9); animation: ring 2.2s infinite; }
.demo.playing .play, .demo.done .play { animation: none; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(99,102,241,0.55), 0 10px 30px -8px rgba(99,102,241,0.9); } 70% { box-shadow: 0 0 0 14px rgba(99,102,241,0), 0 10px 30px -8px rgba(99,102,241,0.9); } 100% { box-shadow: 0 0 0 0 rgba(99,102,241,0), 0 10px 30px -8px rgba(99,102,241,0.9); } }
.play svg { width: 18px; height: 18px; fill: #fff; }
.play .i-pause { display: none; }
.demo.playing .play .i-play { display: none; }
.demo.playing .play .i-pause { display: block; }
.wave { display: flex; align-items: center; gap: 3px; height: 38px; }
.wave i { flex: 1; border-radius: 2px; background: rgba(255,255,255,0.14); transition: background 0.2s; }
.wave i.on { background: var(--accent-lite); }
.clock { font-family: var(--mono); font-size: 0.74rem; color: var(--ink-dim); min-width: 7.5ch; text-align: right; }
.crits { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem 1.2rem; margin-top: clamp(0.8rem, 2vh, 1.2rem); }
.crit { display: flex; align-items: center; gap: 0.65rem; padding: 0.55rem 0.7rem; border-radius: 10px; border: 1px solid var(--line); color: var(--ink-dim); font-size: 0.88rem; transition: all 0.35s ease; }
.crit .ck { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.2); display: grid; place-items: center; flex: none; transition: all 0.35s ease; }
.crit .ck svg { width: 10px; height: 10px; stroke: #07070b; stroke-width: 3; fill: none; opacity: 0; transition: opacity 0.2s; }
.crit .ts { margin-left: auto; font-family: var(--mono); font-size: 0.68rem; color: var(--ok); }
.crit.lit { color: var(--ink); border-color: rgba(52,211,153,0.35); background: rgba(52,211,153,0.07); }
.crit.lit .ck { background: var(--ok); border-color: var(--ok); }
.crit.lit .ck svg { opacity: 1; }
.score { display: flex; align-items: center; justify-content: space-between; margin-top: clamp(0.8rem, 2vh, 1.2rem); padding-top: clamp(0.7rem, 1.8vh, 1rem); border-top: 1px solid var(--line); }
.score span { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-dim); }
.score em { display: block; font-style: normal; font-size: 0.72rem; letter-spacing: 0; text-transform: none; color: var(--ink-dim); margin-top: 0.25rem; }
.score b { white-space: nowrap; font-family: var(--mono); font-weight: 500; font-size: clamp(2rem, 5vh, 2.8rem); letter-spacing: -0.04em; color: var(--ink-dim); transition: color 0.4s; }
.score b::after { content: ' / 100'; font-size: 0.36em; color: var(--ink-dim); letter-spacing: 0; }
.demo.done .score b { color: var(--ok); }
@media (max-width: 720px) { .crits { grid-template-columns: 1fr; } }

/* ---------- chrome ---------- */
.brand { position: fixed; top: 1.1rem; left: var(--pad-x); z-index: 50; display: flex; align-items: center; gap: 0.55rem; font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em; }
.brand img { width: 24px; height: 24px; }
.brand-r { position: fixed; top: 1.05rem; right: var(--pad-x); z-index: 51; display: flex; align-items: center; gap: 1.1rem; font-family: var(--mono); font-size: 0.72rem; color: var(--ink-dim); }
.lang { display: flex; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; }
.lang a { padding: 0.3rem 0.6rem; color: var(--ink-dim); text-decoration: none; letter-spacing: 0.08em; transition: color 0.2s, background 0.2s; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { color: var(--ink); background: rgba(255, 255, 255, 0.07); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent-lite); outline-offset: 3px; border-radius: 6px; }
#progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 60; background: linear-gradient(90deg, var(--accent), var(--accent-pale)); transition: width 0.25s ease; }
.nav-dots { position: fixed; right: 1.1rem; top: 50%; transform: translateY(-50%); z-index: 50; display: grid; gap: 9px; }
.nav-dots a { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); display: block; transition: transform 0.2s, background 0.2s; }
.nav-dots a.active { background: var(--accent-lite); transform: scale(1.5); }
.hint { position: fixed; bottom: 1.1rem; left: 50%; transform: translateX(-50%); z-index: 50; font-family: var(--mono); font-size: 0.7rem; color: var(--ink-dim); letter-spacing: 0.06em; }
.hint kbd { font-family: inherit; border: 1px solid var(--line-strong); border-radius: 4px; padding: 0.05rem 0.35rem; }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.tilt.in { transform: perspective(1800px) rotateY(-7deg) rotateX(3deg); }
.d1 { transition-delay: 0.08s; } .d2 { transition-delay: 0.16s; } .d3 { transition-delay: 0.26s; } .d4 { transition-delay: 0.36s; }
.static .reveal { opacity: 1 !important; transition: none !important; transform: none; }
.static .reveal.tilt { transform: perspective(1800px) rotateY(-7deg) rotateX(3deg); }
.static .hint, .static .nav-dots, .static #progress, .static .lang { display: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .reveal.tilt { transform: none; }
  .kicker .dot { animation: none; }
}

/* ---------- AIRA chat ---------- */
.aira { font-size: 0.86rem; line-height: 1.55; }
.aira .ahead { display: flex; align-items: center; gap: 0.55rem; padding: 0.75rem 1.1rem; border-bottom: 1px solid var(--line); }
.aira .ahead img { width: 18px; height: 18px; }
.aira .ahead span { font-size: 0.72rem; color: var(--accent-pale); background: rgba(99, 102, 241, 0.16); padding: 0.15rem 0.5rem; border-radius: 6px; }
.aira .msg { padding: 0.85rem 1.1rem; }
.aira .msg.you { background: rgba(255, 255, 255, 0.025); border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.aira .msg::before { display: block; font-size: 0.7rem; color: var(--ink-dim); margin-bottom: 0.3rem; }
.aira .msg::before { content: attr(data-who); }
.aira .say + .say { margin-top: 0.7rem; }
.aira .chip { display: inline-block; padding: 0 0.45rem; border-radius: 6px; background: rgba(168, 85, 247, 0.18); color: #d8b4fe; white-space: nowrap; }
.aira .chip.call { background: rgba(99, 102, 241, 0.18); color: var(--accent-pale); }
.aira .chip.call::before { content: '▶ '; font-size: 0.7em; }
.aira table { width: 100%; border-collapse: collapse; font-size: 0.8rem; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.aira th, .aira td { text-align: left; padding: 0.4rem 0.7rem; border-bottom: 1px solid var(--line); }
.aira th { color: var(--ink-dim); font-weight: 500; background: rgba(255, 255, 255, 0.03); }
.aira td.lo { color: #fbbf24; }
.aira .typing { display: none; gap: 4px; padding: 0.3rem 0; }
.aira .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-dim); animation: blink 1s infinite; }
.aira .typing i:nth-child(2) { animation-delay: 0.15s; } .aira .typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
.aira.thinking .typing { display: flex; }
.aira .w { opacity: 0; transition: opacity 0.25s ease; }
.aira .w.on { opacity: 1; }
.aira.pending .msg.you { opacity: 0; transform: translateY(6px); }
.aira .msg.you { transition: opacity 0.4s ease, transform 0.4s ease; }

/* ---------- wide split: the product screen gets the room ---------- */
.split.wide { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); }
.split.wide .win { max-height: 74vh; }
.split.wide .win img { max-height: calc(74vh - 30px); object-fit: cover; object-position: top left; }
.split.wide.flip { grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr); }

/* ---------- solution flow ---------- */
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.4rem, 3vw, 3rem); margin-top: calc(var(--gap) * 1.8); position: relative; }
.flow > div { position: relative; }
.flow > div + div::before { content: '→'; position: absolute; left: calc(clamp(1.4rem, 3vw, 3rem) / -2); top: 1.05rem; transform: translateX(-50%); color: var(--accent-lite); font-family: var(--mono); }
.flow .art { font-family: var(--mono); font-size: 0.76rem; color: var(--ink-soft); border: 1px solid var(--line-strong); background: #0b0b12; border-radius: 10px; padding: 0.75rem 0.95rem; line-height: 1.5; }
.flow .art b { font-weight: 500; color: var(--ok); }
.flow .art i { font-style: normal; color: var(--accent-pale); }
.flow .step { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--accent-lite); margin-top: 1.4rem; }
.flow h3 { font-size: clamp(1.15rem, 1.6vw, 1.5rem); font-weight: 600; letter-spacing: -0.02em; margin-top: 0.4rem; }
.flow p { color: var(--ink-dim); margin-top: 0.5rem; max-width: 34ch; }

/* ---------- choreography: each slide plays once, on arrival ---------- */
.hours .hbar { clip-path: inset(0 100% 0 0 round 10px); transition: clip-path 1.2s var(--ease); }
.hours .hbar.heard { transition-delay: 0.45s; }
.hours .hbar.dark { transition-delay: 0.9s; transition-duration: 1.6s; }
.hours.in .hbar { clip-path: inset(0 0 0 0 round 10px); }
.tl::before { transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) 0.3s; }
.tl.in::before { transform: none; }
.tl > div { opacity: 0; transform: translateY(10px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.tl.in > div { opacity: 1; transform: none; }
.tl > div:nth-child(2) { transition-delay: 0.25s; } .tl > div:nth-child(3) { transition-delay: 0.5s; }
.tl > div:nth-child(4) { transition-delay: 0.75s; } .tl > div:nth-child(5) { transition-delay: 1s; }
.fund::after { transform: scaleX(0); transition: transform 1.3s var(--ease) 0.5s; }
.funds.in .fund::after { transform: scaleX(var(--p, 1)); }
.comp .yes { display: inline-block; }
.comp.reveal .yes { opacity: 0; transition: opacity 0.4s ease; }
.comp.in .yes { opacity: 1; }
.comp.in tr:nth-child(3) .yes { transition-delay: 0.15s; } .comp.in tr:nth-child(4) .yes { transition-delay: 0.3s; }
.comp.in tr:nth-child(5) .yes { transition-delay: 0.45s; } .comp.in tr:nth-child(6) .yes { transition-delay: 0.6s; }
.static .hours .hbar, .static .tl::before, .static .tl > div, .static .fund::after, .static .comp .yes { clip-path: none; opacity: 1; transform: none; transition: none; }
.static .fund::after { transform: scaleX(var(--p, 1)); }
@media (prefers-reduced-motion: reduce) {
  .hours .hbar, .tl::before, .tl > div, .comp .yes { clip-path: none; opacity: 1; transform: none; transition: none; }
  .fund::after { transform: scaleX(var(--p, 1)); transition: none; }
}

/* ---------- small screens ---------- */
@media (max-width: 980px) {
  .split, .split.flip { grid-template-columns: minmax(0, 1fr); }
  .split.flip > .shot { order: 2; }
  .split.wide, .split.wide.flip { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow > div + div::before { content: '↓'; left: 1rem; top: -1.25rem; }
  .c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tilt, .reveal.tilt.in { transform: none; }
  .win.crop { height: 52vh; }
}
@media (max-width: 720px) {
  .c3, .c4, .funds { grid-template-columns: minmax(0, 1fr); }
  .kicker { letter-spacing: 0.12em; }
  .win .bar span { display: none; }
  table.comp { display: block; overflow-x: auto; }
  .tl { grid-template-columns: 1fr; gap: 1.1rem; }
  .tl::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .tl > div { padding-left: 2rem; }
  .tl .pt { position: absolute; left: 0; top: 0.1rem; }
  .tl .when { margin-top: 0; }
  .hrow { grid-template-columns: minmax(0, 1fr); gap: 0.35rem; }
  .hbar { white-space: normal; height: auto; min-height: 2.6rem; padding: 0.5rem 0.9rem; }
  .comp th, .comp td { padding: 0.7rem 0.55rem; font-size: 0.78rem; }
  .comp th:nth-child(3), .comp td:nth-child(3) { display: none; }
  .comp th { letter-spacing: 0.06em; }
  .nav-dots, .hint, .brand-r .when { display: none; }
  .brand-r { top: 0.62rem; }
  .brand { top: 0; left: 0; right: 0; padding: 0.85rem var(--pad-x); background: rgba(7, 7, 11, 0.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
  .slide { min-height: auto; padding-top: 4.2rem; padding-bottom: 3.5rem; }
  .slide#s1 { min-height: 100svh; }
}
@media print {
  @page { size: 1600px 900px; margin: 0; }
  html, body { background: #07070b; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .slide { height: 900px; min-height: 900px; page-break-after: always; break-after: page; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .reveal.tilt { transform: perspective(1800px) rotateY(-7deg) rotateX(3deg) !important; }
  .nav-dots, .hint, #progress, .lang { display: none; }
  .brand, .brand-r { position: absolute; }
  .hours .hbar, .tl::before, .tl > div, .comp .yes { clip-path: none !important; opacity: 1 !important; transform: none !important; }
  .fund::after { transform: scaleX(var(--p, 1)) !important; }
}
