/* RoutChain deck — light, bright, animated. 1600×900 stage scaled to the screen. */
:root {
  --bg: #F5F6FA; --ink: #0B1324; --ink-2: #333B50; --muted: #687087; --line: #E5E7EF; --card: #fff;
  --brand: #4F46E5; --brand-2: #06B6D4;
  --s1: #4F46E5; --s2: #0891B2; --s3: #F97316; --s4: #C026D3; --s5: #059669;
  --ok: #16A34A; --bad: #E5484D; --warn: #F59E0B;
  --sh: 0 1px 2px rgba(16,24,40,.05), 0 12px 32px -12px rgba(16,24,40,.18);
  --sh-lg: 0 30px 80px -24px rgba(16,24,40,.35);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #E9EBF2; overflow: hidden; font-family: var(--font); color: var(--ink); -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }

/* ---------- stage ---------- */
#viewport { position: fixed; inset: 0; display: grid; place-items: center; }
#stage { position: absolute; left: 0; top: 0; width: 1600px; height: 900px; transform-origin: 0 0; background: var(--bg); overflow: hidden; border-radius: 0; box-shadow: 0 30px 80px -30px rgba(16,24,40,.35); }
.slide { position: absolute; inset: 0; padding: 96px 110px 90px; opacity: 0; visibility: hidden; transform: translateY(26px) scale(.985); filter: blur(6px); transition: opacity .6s var(--ease), transform .8s var(--ease), filter .6s var(--ease), visibility 0s .8s; }
.slide.active { opacity: 1; visibility: visible; transform: none; filter: none; transition: opacity .6s var(--ease) .12s, transform .9s var(--ease) .12s, filter .6s var(--ease) .12s, visibility 0s; z-index: 2; }
.slide.past { transform: translateY(-26px) scale(.985); }
.slide .notes { display: none; }

/* background decor */
.bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.bg::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(16,24,40,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(16,24,40,.045) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: float 14s ease-in-out infinite alternate; }
@keyframes float { to { transform: translate(40px, -30px) scale(1.08); } }
.slide > *:not(.bg):not(.notes) { position: relative; z-index: 1; }

/* chrome */
.chrome { position: absolute; top: 34px; left: 110px; right: 110px; display: flex; align-items: center; justify-content: space-between; z-index: 10; pointer-events: none; transition: opacity .4s; }
.chrome .mark { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
.chrome .mark svg { width: 28px; height: 28px; }
.chrome .section { color: var(--muted); font-weight: 600; margin-left: 10px; padding-left: 12px; border-left: 1.5px solid var(--line); }
.spk { display: flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; background: #fff; border-radius: 99px; box-shadow: var(--sh); font-weight: 700; font-size: 15px; }
.spk i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 13px; background: var(--c); }
.spk small { color: var(--muted); font-weight: 600; }
.bar-bottom { position: absolute; left: 110px; right: 110px; bottom: 30px; height: 26px; display: flex; align-items: center; gap: 14px; z-index: 10; transition: opacity .4s; }
.segs { flex: 1; display: flex; gap: 6px; height: 5px; }
.segs div { position: relative; flex: var(--w); background: #E1E4EC; border-radius: 99px; overflow: hidden; }
.segs div i { position: absolute; inset: 0; width: 0; background: var(--c); border-radius: 99px; transition: width .6s var(--ease); }
.timer { font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--muted); min-width: 120px; text-align: right; }
.timer.late { color: var(--bad); }
.pageno { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.stage-demo .chrome, .stage-demo .bar-bottom { opacity: 0; }
.stage-cover .chrome .mark, .stage-cover .bar-bottom { opacity: 0; }

/* typography */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: .12em; text-transform: uppercase; color: var(--c, var(--brand)); }
.kicker::before { content: ''; width: 28px; height: 3px; border-radius: 3px; background: currentColor; }
h1, h2 { margin: 0; font-weight: 800; letter-spacing: -.045em; line-height: .98; }
h1 { font-size: 150px; }
h2 { font-size: 74px; margin-top: 18px; max-width: 1250px; }
h2.sm { font-size: 60px; }
em.s { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.grad { background: linear-gradient(100deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-warm { background: linear-gradient(100deg, #E5484D, #F97316); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-green { background: linear-gradient(100deg, #059669, #06B6D4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 27px; line-height: 1.42; color: var(--ink-2); max-width: 1050px; margin: 22px 0 0; font-weight: 450; }
.lead b { color: var(--ink); }
#stage .slide > .src, #stage .slide > .pfoot { position: absolute; }
.src { position: absolute; left: 110px; bottom: 70px; font-size: 13.5px; color: var(--muted); max-width: 1380px; line-height: 1.4; }
.src b { color: var(--ink-2); font-weight: 600; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; font-size: 14px; font-weight: 700; background: #EEF0FF; color: var(--brand); }
.tag.assume { background: #FFF6DB; color: #8A5A00; }
.card { background: #fff; border-radius: 26px; box-shadow: var(--sh); border: 1px solid rgba(16,24,40,.04); }

/* ---------- enter animations ---------- */
[data-a] { opacity: 0; transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease); transition-delay: calc(var(--i, 0) * 110ms + 250ms); }
[data-a="up"] { transform: translateY(34px); }
[data-a="down"] { transform: translateY(-24px); }
[data-a="left"] { transform: translateX(-46px); }
[data-a="right"] { transform: translateX(46px); }
[data-a="scale"] { transform: scale(.86); }
[data-a="blur"] { filter: blur(14px); transform: scale(1.04); }
.slide.in [data-a] { opacity: 1; transform: none; filter: none; }
.draw { stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000); }
.slide.in .draw { animation: draw var(--dur, 2.2s) var(--ease) forwards; animation-delay: var(--del, .4s); }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- COVER ---------- */
.cover { display: grid; grid-template-columns: 1fr 640px; gap: 40px; height: 100%; align-items: center; padding-top: 0; }
.cover h1 { font-size: 168px; letter-spacing: -.06em; margin-top: 14px; }
.cover .lead { font-size: 30px; max-width: 760px; }
.cover-team { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 46px; }
.cover-team span { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 99px; padding: 6px 14px 6px 6px; font-weight: 600; font-size: 16px; box-shadow: var(--sh); }
.cover-team span i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 12px; font-weight: 800; }
.cover-meta { margin-top: 18px; color: var(--muted); font-size: 16px; font-weight: 500; }
.hero-map { position: relative; width: 640px; height: 640px; }
.hero-map svg { width: 100%; height: 100%; overflow: visible; }
.hero-map .land { fill: #fff; stroke: #CBD5E6; stroke-width: 2.5; filter: drop-shadow(0 30px 40px rgba(30,64,120,.18)); }
.hero-badge { position: absolute; background: #fff; border-radius: 18px; padding: 12px 16px; box-shadow: var(--sh-lg); font-weight: 700; font-size: 17px; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.hero-badge small { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.hero-badge .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 21px; }
.lockswap { position: relative; width: 40px; height: 40px; }
.lockswap span { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 12px; font-size: 21px; transition: opacity .4s, transform .4s; }
.lockswap .l { background: #EEF0FF; }
.lockswap .k { background: #E3F7EA; opacity: 0; transform: scale(.6); }
.slide.in .lockswap .l { animation: lockOut .4s 3.4s forwards; }
.slide.in .lockswap .k { animation: keyIn .5s 3.5s forwards; }
@keyframes lockOut { to { opacity: 0; transform: scale(.6); } }
@keyframes keyIn { to { opacity: 1; transform: scale(1); } }

/* ---------- timeline (cash) ---------- */
.cashline { position: relative; margin-top: 34px; height: 236px; }
.cashline .axis { position: absolute; left: 0; right: 0; top: 118px; height: 10px; border-radius: 99px; background: #E6E8F0; }
.cashline .fill { position: absolute; left: 0; top: 118px; height: 10px; border-radius: 99px; width: 0; background: linear-gradient(90deg, #F97316, #E5484D); }
.slide.in .cashline .fill { animation: grow 3.2s var(--ease) .7s forwards; }
@keyframes grow { to { width: 100%; } }
.cashline .truckdot { position: absolute; top: 96px; left: 0; font-size: 46px; transform: translateX(-50%) scaleX(-1); }
.slide.in .cashline .truckdot { animation: drive 3.2s var(--ease) .7s forwards; }
@keyframes drive { to { left: 100%; } }
.mk { position: absolute; top: 0; transform: translateX(-50%); text-align: center; width: 300px; }
.mk .d { font-size: 15px; font-weight: 800; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.mk .t { font-size: 22px; font-weight: 700; margin-top: 4px; line-height: 1.2; }
.mk .pin { position: absolute; left: 50%; top: 106px; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%; border: 4px solid #fff; box-shadow: var(--sh); }
.mk.bot { top: 160px; }
.mk.bot .pin { top: -54px; }
.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 6px; }
.stat { padding: 26px 28px; }
.stat b { display: block; font-size: 62px; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat p { margin: 10px 0 0; font-size: 19px; color: var(--ink-2); line-height: 1.35; }
.stat small { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); }

/* ---------- back office ---------- */
.bo { display: grid; grid-template-columns: 1fr 430px; gap: 50px; margin-top: 46px; align-items: start; }
.tasks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.task { display: flex; align-items: center; gap: 16px; padding: 16px 18px; font-size: 21px; font-weight: 600; }
.task .ti { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 26px; background: #F3F4F8; flex: none; }
.task small { display: block; font-size: 15px; color: var(--muted); font-weight: 500; }
.task .min { margin-left: auto; font-family: var(--mono); font-size: 16px; color: var(--muted); }
.task.total { grid-column: 1 / -1; background: var(--ink); color: #fff; }
.task.total .ti { background: rgba(255,255,255,.12); }
.task.total .min { color: #fff; font-size: 22px; font-weight: 700; }
.donut-card { padding: 30px; text-align: center; }
.donut-card svg { width: 300px; height: 300px; }
.donut-card .big { font-size: 64px; font-weight: 800; letter-spacing: -.04em; }
.donut-card p { font-size: 19px; color: var(--ink-2); margin: 8px 0 0; line-height: 1.35; }

/* ---------- why now ---------- */
.law { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 60px; position: relative; }
.law::before { content: ''; position: absolute; left: 30px; right: 30px; top: 38px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--s1), var(--s2), var(--s5)); opacity: .35; }
.law .card { padding: 22px 24px 26px; }
.law .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; margin-bottom: 18px; box-shadow: 0 0 0 7px #F5F6FA; position: relative; font-size: 15px; }
.law .when { font-size: 15px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.law h4 { margin: 6px 0 8px; font-size: 27px; letter-spacing: -.025em; line-height: 1.12; }
.law p { margin: 0; font-size: 17.5px; line-height: 1.42; color: var(--ink-2); }
.punch { margin-top: 34px; font-size: 32px; font-weight: 700; letter-spacing: -.02em; }

/* ---------- triangle ---------- */
.tri-wrap { display: grid; grid-template-columns: 820px 1fr; gap: 30px; margin-top: 10px; align-items: center; }
.tri svg { width: 820px; height: 640px; overflow: visible; }
.tri .edge { fill: none; stroke: #D5D9E5; stroke-width: 3; stroke-dasharray: 8 10; }
.tri .edge-lbl { font-size: 17px; font-weight: 700; fill: var(--muted); }
.tri-node { position: absolute; width: 250px; text-align: center; transform: translate(-50%, -50%); }
.tri-node .orb { width: 150px; height: 150px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; font-size: 62px; background: #fff; box-shadow: 0 0 0 10px color-mix(in srgb, var(--c) 18%, transparent), var(--sh-lg); position: relative; }
.tri-node .orb::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 3px solid var(--c); opacity: .5; animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { from { transform: scale(.9); opacity: .6; } to { transform: scale(1.35); opacity: 0; } }
.tri-node b { display: block; font-size: 27px; letter-spacing: -.02em; }
.tri-node span { display: block; font-size: 17px; color: var(--muted); font-weight: 600; margin-top: 3px; }
.tri-center { position: absolute; left: 410px; top: 388px; transform: translate(-50%, -50%); text-align: center; width: 230px; }
.tri-center b { font-size: 46px; letter-spacing: -.04em; display: block; }
.tri-center small { font-size: 16px; color: var(--muted); font-weight: 600; }
.tri-side .row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.tri-side .row i { width: 48px; height: 48px; border-radius: 14px; flex: none; display: grid; place-items: center; font-style: normal; font-size: 24px; background: color-mix(in srgb, var(--c) 14%, #fff); }
.tri-side .row b { display: block; font-size: 24px; letter-spacing: -.02em; }
.tri-side .row p { margin: 4px 0 0; font-size: 18px; line-height: 1.42; color: var(--ink-2); }

/* ---------- loop / pipeline ---------- */
.loop { position: relative; margin-top: 70px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.loop::before { content: ''; position: absolute; left: 4%; right: 4%; top: 56px; height: 4px; background: repeating-linear-gradient(90deg, #CBD2E1 0 10px, transparent 10px 18px); }
.loop .runner { position: absolute; top: 34px; left: 4%; font-size: 40px; transform: translateX(-50%); }
.slide.in .loop .runner { animation: run 7s linear .8s infinite; }
@keyframes run { 0% { left: 4%; opacity: 0; } 4% { opacity: 1; } 92% { opacity: 1; } 100% { left: 96%; opacity: 0; } }
.step { text-align: center; position: relative; }
.step .ic { width: 112px; height: 112px; margin: 0 auto; border-radius: 30px; background: #fff; display: grid; place-items: center; font-size: 48px; box-shadow: var(--sh); border: 2.5px solid color-mix(in srgb, var(--c) 40%, #fff); }
.step .n { position: absolute; top: -12px; left: calc(50% + 36px); width: 30px; height: 30px; border-radius: 50%; background: var(--c); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; box-shadow: 0 0 0 4px #F5F6FA; }
.step b { display: block; font-size: 21px; margin-top: 18px; letter-spacing: -.02em; line-height: 1.15; }
.step p { margin: 8px 0 0; font-size: 16px; color: var(--muted); line-height: 1.38; }
.step .who { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: color-mix(in srgb, var(--c) 13%, #fff); color: color-mix(in srgb, var(--c) 75%, #000); }
.loop-foot { margin-top: 56px; display: flex; gap: 18px; }
.loop-foot .card { flex: 1; padding: 20px 24px; display: flex; gap: 16px; align-items: center; font-size: 20px; line-height: 1.35; }
.loop-foot .card i { font-style: normal; font-size: 34px; }

/* ---------- architecture ---------- */
.arch { display: grid; grid-template-columns: 1fr 360px; gap: 28px; margin-top: 34px; }
.layers { display: flex; flex-direction: column; gap: 12px; }
.layer { display: grid; grid-template-columns: 210px 1fr; align-items: stretch; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--sh); }
.layer .lh { padding: 18px 20px; background: color-mix(in srgb, var(--c) 12%, #fff); border-right: 1px solid color-mix(in srgb, var(--c) 22%, #fff); }
.layer .lh b { display: block; font-size: 22px; letter-spacing: -.02em; color: color-mix(in srgb, var(--c) 80%, #000); }
.layer .lh small { font-size: 14px; color: var(--muted); font-weight: 600; }
.layer .lb { display: flex; flex-wrap: wrap; gap: 9px; padding: 16px 18px; align-content: center; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 12px; background: #F4F5F9; font-size: 16px; font-weight: 600; }
.chip.hl { background: color-mix(in srgb, var(--c) 14%, #fff); color: color-mix(in srgb, var(--c) 80%, #000); }
.rules .card { padding: 22px 24px; margin-bottom: 14px; }
.rules b { display: block; font-size: 21px; letter-spacing: -.02em; }
.rules p { margin: 6px 0 0; font-size: 16.5px; color: var(--ink-2); line-height: 1.42; }

/* ---------- vote ---------- */
.vote { display: grid; grid-template-columns: 420px 1fr; gap: 60px; margin-top: 44px; align-items: start; }
.qr-card { padding: 26px; text-align: center; }
.qr-card .qr { width: 340px; height: 340px; margin: 0 auto; }
.qr-card .qr svg { width: 100%; height: 100%; }
.qr-card b { display: block; font-size: 22px; margin-top: 14px; }
.qr-card small { display: block; color: var(--muted); font-size: 15px; margin-top: 4px; font-family: var(--mono); word-break: break-all; }
.qr-warn { margin-top: 10px; font-size: 13px; color: #8A5A00; background: #FFF6DB; border-radius: 10px; padding: 6px 10px; }
.vbars { display: flex; flex-direction: column; gap: 18px; }
.vbar { position: relative; padding: 20px 24px; display: grid; grid-template-columns: 56px 1fr 110px; align-items: center; gap: 18px; overflow: hidden; }
.vbar .fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: color-mix(in srgb, var(--c) 16%, #fff); transition: width .9s var(--ease); border-radius: 26px 4px 4px 26px; }
.vbar > *:not(.fill) { position: relative; }
.vbar .lt { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-weight: 800; font-size: 24px; color: #fff; background: var(--c); }
.vbar b { font-size: 25px; letter-spacing: -.02em; }
.vbar small { display: block; font-size: 15px; color: var(--muted); font-weight: 500; margin-top: 2px; }
.vbar .pct { text-align: right; font-size: 34px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.vbar .pct small { font-size: 14px; }
.vbar.top { box-shadow: 0 0 0 3px var(--c), var(--sh); }
.vote-total { margin-top: 18px; font-size: 18px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 10px; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); animation: live 1.6s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.6); } 70% { box-shadow: 0 0 0 12px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }

/* ---------- demo intro ---------- */
.try { display: grid; grid-template-columns: 1fr 430px; gap: 60px; margin-top: 40px; align-items: center; }
.try ol { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.try li { display: flex; gap: 18px; align-items: center; font-size: 26px; font-weight: 600; padding: 18px 22px; }
.try li i { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-style: normal; font-size: 27px; background: #F3F4F8; flex: none; }
.try li small { display: block; font-size: 17px; color: var(--muted); font-weight: 500; }

/* ---------- demo ---------- */
.demo-holder { position: absolute; left: 32px; right: 32px; top: 70px; bottom: 26px; border-radius: 22px; overflow: hidden; box-shadow: var(--sh-lg); background: #fff; z-index: 5; opacity: 0; pointer-events: none; transform: scale(.97); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.stage-demo .demo-holder { opacity: 1; pointer-events: auto; transform: none; }
.demo-holder iframe { width: 100%; height: 100%; border: 0; display: block; }
.demo-bar { position: absolute; left: 32px; right: 32px; top: 20px; height: 40px; display: flex; align-items: center; justify-content: space-between; z-index: 6; opacity: 0; transition: opacity .4s; pointer-events: none; }
.stage-demo .demo-bar { opacity: 1; }
.demo-bar .live { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .1em; font-size: 15px; color: #E5484D; text-transform: uppercase; }
.demo-bar .live::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #E5484D; animation: live 1.4s infinite; }
.demo-bar .t { font-weight: 700; font-size: 17px; }
.demo-bar .spk { box-shadow: none; padding: 4px 12px 4px 4px; font-size: 14px; }
.demo-bar .spk i { width: 22px; height: 22px; font-size: 11px; }
.demo-placeholder { display: grid; place-items: center; height: 100%; text-align: center; color: var(--muted); font-size: 22px; }

/* ---------- results ---------- */
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.results .stat b { font-size: 70px; }
.results .stat .ico { font-size: 30px; }

/* ---------- trust ---------- */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.trust .card { padding: 24px 28px; display: grid; grid-template-columns: 62px 1fr; gap: 18px; transition: box-shadow .4s, transform .4s; }
.trust .card.top { box-shadow: 0 0 0 4px var(--c), var(--sh-lg); transform: scale(1.02); }
.trust .card i { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; font-style: normal; font-size: 30px; background: color-mix(in srgb, var(--c) 14%, #fff); }
.trust .fear { font-size: 15px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--c); }
.trust .fear span { color: var(--muted); }
.trust b { display: block; font-size: 25px; letter-spacing: -.02em; margin-top: 4px; }
.trust p { margin: 6px 0 0; font-size: 17.5px; line-height: 1.45; color: var(--ink-2); }

/* ---------- market ---------- */
.market { display: grid; grid-template-columns: 560px 1fr; gap: 50px; margin-top: 30px; }
.tam { position: relative; height: 520px; }
.tam .c { position: absolute; border-radius: 50%; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; text-align: center; }
.tam .c b { font-size: 36px; letter-spacing: -.03em; }
.tam .c small { font-size: 15px; font-weight: 600; color: var(--ink-2); max-width: 240px; line-height: 1.3; }
.tam .c1 { width: 520px; height: 520px; top: 0; background: #EEF0FF; padding-top: 44px; }
.tam .c2 { width: 340px; height: 340px; bottom: 0; background: #DDE1FF; padding-top: 40px; }
.tam .c3 { width: 170px; height: 170px; bottom: 0; background: var(--brand); color: #fff; justify-content: center; }
.tam .c3 small { color: #E0E7FF; }
.tam .c3 b { font-size: 30px; }
.pos { position: relative; height: 520px; }
.pos .plane { position: absolute; inset: 0 0 40px 40px; border-left: 2px solid #CBD2E1; border-bottom: 2px solid #CBD2E1; background: linear-gradient(135deg, transparent 60%, rgba(79,70,229,.06)); border-radius: 0 0 0 4px; }
.pos .ax { position: absolute; font-size: 15px; font-weight: 700; color: var(--muted); }
.pos .ax.x { left: 40px; right: 0; bottom: 6px; display: flex; justify-content: space-between; }
.pos .ax.y { left: -6px; top: 0; bottom: 40px; display: flex; flex-direction: column-reverse; justify-content: space-between; writing-mode: vertical-rl; transform: rotate(180deg); }
.pos .co { position: absolute; transform: translate(-50%, 50%); background: #fff; border-radius: 16px; padding: 10px 14px; box-shadow: var(--sh); font-size: 16px; font-weight: 700; white-space: nowrap; }
.pos .co small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }
.pos .co.us { background: var(--brand); color: #fff; font-size: 20px; padding: 14px 18px; box-shadow: 0 20px 40px -10px rgba(79,70,229,.6); }
.pos .co.us small { color: #E0E7FF; }

/* ---------- ROI ---------- */
.roi { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 36px; }
.price-card { padding: 30px 34px; }
.price-card .pr { font-size: 84px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.price-card .pr small { font-size: 24px; color: var(--muted); letter-spacing: -.01em; font-weight: 600; }
.price-card ul { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 12px; }
.price-card li { display: flex; gap: 12px; font-size: 20px; align-items: baseline; }
.price-card li b { min-width: 120px; font-size: 22px; }
.bars { padding: 30px 34px; }
.bars h4 { margin: 0 0 18px; font-size: 22px; letter-spacing: -.02em; }
.hb { margin-bottom: 18px; }
.hb .lab { display: flex; justify-content: space-between; font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.hb .lab span { color: var(--muted); font-weight: 500; }
.hb .track { height: 42px; border-radius: 4px 12px 12px 4px; background: #F1F2F7; overflow: hidden; }
.hb .track i { display: block; height: 100%; width: 0; border-radius: 4px 12px 12px 4px; transition: width 1.4s var(--ease); transition-delay: .6s; }
.slide.in .hb .track i { width: var(--w); }
.save { margin-top: 22px; display: flex; gap: 16px; }
.save div { flex: 1; background: #ECFDF3; border-radius: 18px; padding: 16px 18px; }
.save b { display: block; font-size: 40px; letter-spacing: -.04em; color: #067647; }
.save small { font-size: 15.5px; color: var(--ink-2); line-height: 1.35; display: block; }

/* ---------- waterfall ---------- */
.wf { display: grid; grid-template-columns: 1fr 420px; gap: 40px; margin-top: 30px; }
.wf-chart { padding: 26px 30px 22px; }
.wf-bars { position: relative; height: 380px; display: flex; align-items: flex-end; gap: 16px; border-bottom: 2px solid #CBD2E1; }
.wf-col { flex: 1; position: relative; height: 100%; }
.wf-col .blk { position: absolute; left: 0; right: 0; border-radius: 6px; transform: scaleY(0); transform-origin: bottom; transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 140ms + 500ms); }
.slide.in .wf-col .blk { transform: scaleY(1); }
.wf-col .val { position: absolute; left: 0; right: 0; text-align: center; font-weight: 800; font-size: 19px; font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .5s; transition-delay: calc(var(--i) * 140ms + 1100ms); }
.slide.in .wf-col .val { opacity: 1; }
.wf-lbls { display: flex; gap: 16px; margin-top: 10px; }
.wf-lbls div { flex: 1; text-align: center; font-size: 14.5px; font-weight: 600; color: var(--ink-2); line-height: 1.25; }
.margin-card { padding: 30px; text-align: center; }
.margin-card .big { font-size: 120px; font-weight: 800; letter-spacing: -.06em; line-height: 1; }
.margin-card p { font-size: 19px; color: var(--ink-2); line-height: 1.4; margin: 10px 0 0; }
.mini { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; text-align: left; }
.mini div { background: #F5F6FA; border-radius: 16px; padding: 12px 14px; }
.mini b { display: block; font-size: 24px; letter-spacing: -.03em; }
.mini small { font-size: 13.5px; color: var(--muted); line-height: 1.3; display: block; }

/* ---------- roadmap ---------- */
.rm { display: grid; grid-template-columns: 1fr 470px; gap: 40px; margin-top: 30px; }
.miles { position: relative; display: flex; flex-direction: column; gap: 14px; }
.miles::before { content: ''; position: absolute; left: 27px; top: 20px; bottom: 20px; width: 3px; background: linear-gradient(var(--s1), var(--s5)); border-radius: 3px; }
.mile { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; }
.mile .q { width: 56px; height: 56px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px var(--c), var(--sh); display: grid; place-items: center; font-weight: 800; font-size: 14px; position: relative; }
.mile .card { padding: 14px 20px; }
.mile b { font-size: 21px; letter-spacing: -.02em; }
.mile p { margin: 4px 0 0; font-size: 16.5px; color: var(--ink-2); line-height: 1.4; }
.ask { padding: 28px 30px; background: var(--ink); color: #fff; }
.ask .k { font-size: 14px; font-weight: 800; letter-spacing: .12em; color: #A5B4FC; text-transform: uppercase; }
.ask .amt { white-space: nowrap; font-size: 78px; font-weight: 800; letter-spacing: -.05em; line-height: 1; margin-top: 8px; }
.ask .amt small { font-size: 24px; color: #A5B4FC; font-weight: 600; letter-spacing: 0; }
.alloc { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.alloc div { display: grid; grid-template-columns: 1fr 60px; gap: 10px; align-items: center; font-size: 16.5px; }
.alloc .t { height: 10px; border-radius: 99px; background: rgba(255,255,255,.12); grid-column: 1 / -1; overflow: hidden; }
.alloc .t i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #818CF8, #22D3EE); transition: width 1.2s var(--ease) .8s; }
.slide.in .alloc .t i { width: var(--w); }
.alloc span { text-align: right; font-weight: 700; }
.risks { margin-top: 14px; font-size: 14.5px; color: #CBD5E1; line-height: 1.5; }
.risks b { color: #fff; }

/* ---------- closing ---------- */
.close { display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: center; height: 100%; }
.close .lines { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
.close .ln { font-size: 54px; font-weight: 800; letter-spacing: -.04em; display: flex; align-items: center; gap: 22px; }
.close .ln s { color: #A0A7B8; text-decoration-thickness: 5px; text-decoration-color: rgba(229,72,77,.65); }
.close .ln .arr { color: var(--muted); font-weight: 500; }

/* ---------- backup ---------- */
.backup-tag { display: inline-block; font-size: 14px; font-weight: 800; letter-spacing: .12em; color: #8A5A00; background: #FFF6DB; padding: 5px 12px; border-radius: 8px; }
.tbl { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 16px; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--sh); }
.tbl th { text-align: left; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 12px 16px; background: #F7F8FB; }
.tbl td { padding: 11px 16px; border-top: 1px solid #EEF0F5; vertical-align: top; line-height: 1.4; }
.tbl td:first-child { font-weight: 700; white-space: nowrap; }
.tbl td.src2 { color: var(--muted); font-size: 14px; }
.sm-grid { display: grid; grid-template-columns: 1fr 560px; gap: 36px; margin-top: 30px; }
.states { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.state { padding: 14px 18px; border-radius: 16px; background: #fff; box-shadow: var(--sh); font-weight: 800; font-size: 19px; font-family: var(--mono); }
.state small { display: block; font-family: var(--font); font-weight: 500; font-size: 14px; color: var(--muted); }
.arrow { color: var(--muted); font-size: 26px; }
.code { background: #0F172A; color: #E2E8F0; border-radius: 20px; padding: 22px 24px; font-family: var(--mono); font-size: 14.5px; line-height: 1.6; white-space: pre; overflow: hidden; }
.code .k { color: #93C5FD; } .code .c { color: #64748B; } .code .s { color: #86EFAC; }

/* ---------- overview / blackout / help ---------- */
#stage.overview .slide { opacity: 1; visibility: visible; filter: none; transition: transform .5s var(--ease); cursor: pointer; }
#stage.overview { background: #E9EBF2; }
#stage.overview .chrome, #stage.overview .bar-bottom, #stage.overview .demo-holder, #stage.overview .demo-bar { display: none; }
#stage.overview .slide [data-a] { opacity: 1; transform: none; filter: none; }
#stage.overview .slide { border-radius: 18px; box-shadow: var(--sh); outline: 3px solid transparent; }
#stage.overview .slide.active { outline-color: var(--brand); }
#blackout { position: fixed; inset: 0; background: #000; z-index: 100; display: none; }
#blackout.on { display: block; }
#help { position: fixed; right: 20px; bottom: 20px; z-index: 90; background: #0B1324; color: #fff; border-radius: 16px; padding: 16px 18px; font-size: 14px; line-height: 1.7; display: none; box-shadow: var(--sh-lg); }
#help.on { display: block; }
#help kbd { font-family: var(--mono); background: rgba(255,255,255,.14); border-radius: 5px; padding: 1px 6px; }
.navbtns { position: fixed; right: 14px; bottom: 14px; display: flex; gap: 6px; z-index: 80; opacity: .0; transition: opacity .3s; }
body:hover .navbtns { opacity: .9; }
.navbtns button { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.9); box-shadow: var(--sh); font-size: 16px; }

/* ---------- presenter view ---------- */
body.presenter { overflow: auto; background: #0B1324; color: #E2E8F0; }
.pv { display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: auto 1fr auto; gap: 16px; padding: 16px; height: 100vh; }
.pv-top { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; }
.pv-timer { font-family: var(--mono); font-size: 56px; font-weight: 700; letter-spacing: -.02em; }
.pv-timer.late { color: #F87171; }
.pv-pace { font-size: 16px; padding: 6px 12px; border-radius: 99px; background: #1E293B; font-weight: 700; }
.pv-pace.ok { color: #4ADE80; } .pv-pace.late { color: #F87171; } .pv-pace.early { color: #FACC15; }
.pv-spk { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; }
.pv-spk i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; color: #fff; background: var(--c); font-size: 15px; }
.pv-btn { background: #1E293B; color: #E2E8F0; padding: 10px 14px; border-radius: 10px; font-weight: 700; font-size: 14px; }
.pv-btn:hover { background: #334155; }
.pv-cur, .pv-next { position: relative; background: #111827; border-radius: 14px; overflow: hidden; }
.pv-frame { position: absolute; left: 0; top: 0; width: 1600px; height: 900px; transform-origin: 0 0; background: var(--bg); color: var(--ink); overflow: hidden; }
.pv-frame .slide { transition: none !important; }
.pv-frame .slide [data-a] { opacity: 1; transform: none; filter: none; transition: none; }
.pv-label { position: absolute; left: 10px; top: 8px; z-index: 5; font-size: 12px; font-weight: 800; letter-spacing: .1em; color: #94A3B8; background: rgba(11,19,36,.7); padding: 3px 8px; border-radius: 6px; }
.pv-side { display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.pv-next { height: 34%; flex: none; }
.pv-notes { flex: 1; overflow-y: auto; background: #111827; border-radius: 14px; padding: 18px 22px; font-size: 20px; line-height: 1.55; }
.pv-notes h4 { margin: 0 0 10px; font-size: 13px; letter-spacing: .12em; color: #94A3B8; text-transform: uppercase; }
.pv-notes b { color: #fff; } .pv-notes em { color: #FACC15; font-style: normal; }
.pv-notes ul { padding-left: 20px; margin: 8px 0; }
.pv-remote { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pv-remote .lbl { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: #94A3B8; margin-right: 6px; }
.pv-remote .pv-btn.hot { background: #4F46E5; }
.pv-remote .pv-btn.red { background: #B42318; }

/* ---------- print / PDF mode (?print=1) ---------- */
.print-only { display: none; }
body.print { overflow: visible; background: #fff; height: auto; }
body.print #viewport { position: static; display: block; }
body.print #stage { position: relative; transform: none !important; height: auto; overflow: visible; box-shadow: none; background: none; }
body.print .slide { position: relative; opacity: 1; visibility: visible; transform: none; filter: none; width: 1600px; height: 900px; overflow: hidden; break-after: page; page-break-after: always; background: var(--bg); transition: none; }
body.print .slide [data-a] { opacity: 1; transform: none; filter: none; transition: none; }
body.print .slide .draw { stroke-dashoffset: 0; animation: none; }
body.print .chrome, body.print .bar-bottom, body.print .demo-holder, body.print .demo-bar, body.print .navbtns, body.print #help { display: none !important; }
body.print .print-only { display: block; }
body.print .hb .track i { width: var(--w); transition: none; }
body.print .alloc .t i { width: var(--w); transition: none; }
body.print .wf-col .blk { transform: none; transition: none; } body.print .wf-col .val { opacity: 1; transition: none; }
body.print .cashline .fill { width: 100%; animation: none; } body.print .cashline .truckdot { left: 100%; animation: none; }
body.print .lockswap .l { opacity: 0; } body.print .lockswap .k { opacity: 1; transform: none; }
.pfoot { position: absolute; left: 110px; right: 110px; bottom: 26px; display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); font-weight: 600; }
.pfoot i { font-style: normal; display: inline-flex; align-items: center; gap: 8px; }
.pfoot i b { width: 22px; height: 22px; border-radius: 50%; color: #fff; display: inline-grid; place-items: center; font-size: 11px; background: var(--c); }
.demo-print { display: grid; grid-template-columns: 1fr 360px; gap: 50px; align-items: center; margin-top: 30px; }
.demo-print img { width: 100%; border-radius: 22px; box-shadow: var(--sh-lg); }
.demo-print ul { margin: 18px 0 0; padding-left: 22px; font-size: 21px; line-height: 1.55; color: var(--ink-2); }
@page { size: 1600px 900px; margin: 0; }

body.print .blob { animation: none; }
body.print *, body.print *::before, body.print *::after { transition: none !important; animation-play-state: paused !important; }

.mk.first { transform: none; text-align: left; width: 300px; }
.mk.first .pin { left: 0; margin-left: -17px; }
.mk.bot.first .pin { left: 40px; }
