/* RoutChain — visual deck (light, vivid, one idea per slide) */
:root {
  --bg: #F6F7FB; --card: #fff; --ink: #0B1220; --ink2: #344054; --muted: #667085; --faint: #98A2B3; --line: #E4E7EC;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  --sh: 0 1px 2px rgba(16, 24, 40, .05), 0 18px 40px -18px rgba(16, 24, 40, .22);
  --sh-s: 0 1px 2px rgba(16, 24, 40, .06), 0 6px 16px -8px rgba(16, 24, 40, .18);
  --logo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%234F46E5'/%3E%3Cstop offset='1' stop-color='%2306B6D4'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='64' height='64' rx='16' fill='url(%23g)'/%3E%3Cpath d='M17 41c0-8 6-11 15-11s15-4 15-12' stroke='white' stroke-width='6' fill='none' stroke-linecap='round'/%3E%3Ccircle cx='17' cy='44' r='5' fill='white'/%3E%3Ccircle cx='47' cy='17' r='5' fill='white'/%3E%3C/svg%3E");
}
* { 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-family: inherit; }
#viewport { position: fixed; inset: 0; overflow: hidden; }
#stage { position: absolute; left: 0; top: 0; width: 1600px; height: 900px; transform-origin: 0 0; overflow: hidden;
  background: radial-gradient(1100px 560px at 92% -12%, #EEF0FF 0%, rgba(238, 240, 255, 0) 62%), radial-gradient(900px 520px at -8% 112%, #FFF1F5 0%, rgba(255, 241, 245, 0) 60%), var(--bg); }
#stage::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(#D5DAE5 1.1px, transparent 1.2px); background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.15) 60%, rgba(0,0,0,0)); mask-image: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.15) 60%, rgba(0,0,0,0)); }
.logo { display: inline-block; width: 18px; height: 18px; background: var(--logo) center / contain no-repeat; vertical-align: middle; }

/* ---------- slides ---------- */
.slide { position: absolute; inset: 0; padding: 54px 72px 0; display: none; }
.slide.active { display: block; }
.slide > aside.notes { display: none; }
.kick { display: inline-flex; align-items: center; gap: 12px; font: 700 15px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--c); }
.kick b { display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px; border-radius: 11px; background: var(--c); color: #fff; letter-spacing: 0; font-size: 14px; box-shadow: 0 8px 18px -8px var(--c); }
h1.t { font-size: 68px; line-height: 1.02; letter-spacing: -.045em; font-weight: 800; margin: 16px 0 0; }
h1.t em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--c); font-size: 1.08em; }
.src { position: absolute; left: 72px; right: 72px; bottom: 56px; font-size: 12.5px; line-height: 1.45; color: var(--faint); }

/* entrance animations: base style = final state, .play replays them */
.slide.play .a-up { animation: aUp .75s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--d, 0) * 1s); }
.slide.play .a-fade { animation: aFade .9s ease both; animation-delay: calc(var(--d, 0) * 1s); }
.slide.play .a-pop { animation: aPop .65s cubic-bezier(.2, 1.4, .4, 1) both; animation-delay: calc(var(--d, 0) * 1s); }
.slide.play .a-right { animation: aRight .85s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--d, 0) * 1s); }
@keyframes aUp { from { opacity: 0; transform: translateY(26px); } }
@keyframes aFade { from { opacity: 0; } }
@keyframes aPop { from { opacity: 0; transform: scale(.86); } }
@keyframes aRight { from { opacity: 0; transform: translateX(46px); } }
@keyframes dash { to { stroke-dashoffset: -44; } }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes blink { 50% { opacity: .35; } }

/* ============ 00 · cover ============ */
.cv-left { position: absolute; left: 96px; top: 150px; width: 800px; }
.cv-kick { display: flex; align-items: center; gap: 12px; font: 700 15px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #4F46E5; }
.cv-kick i { width: 6px; height: 6px; border-radius: 50%; background: #A5B4FC; }
.cv-brand { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.cv-brand .logo { width: 116px; height: 116px; filter: drop-shadow(0 18px 30px rgba(79, 70, 229, .35)); }
.cv-brand h1 { margin: 0; font-size: 138px; line-height: .9; font-weight: 900; letter-spacing: -.065em; }
.cv-tag { margin-top: 34px; font-size: 48px; line-height: 1.08; font-weight: 700; letter-spacing: -.035em; color: var(--ink2); }
.cv-tag em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: #4F46E5; font-size: 1.12em; }
.cv-pills { display: flex; gap: 12px; margin-top: 38px; flex-wrap: wrap; }
.cv-pills span { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 19px; padding: 12px 18px; border-radius: 999px; color: var(--k); background: color-mix(in srgb, var(--k) 9%, #fff); border: 2px solid color-mix(in srgb, var(--k) 28%, #fff); }
.cv-team { position: absolute; left: 96px; bottom: 112px; display: flex; gap: 16px; align-items: center; }
.cv-team .tm { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.cv-team .tm i { width: 38px; height: 38px; border-radius: 12px; background: var(--sc); color: #fff; font-style: normal; display: grid; place-items: center; font-size: 19px; box-shadow: 0 10px 20px -10px var(--sc); }
.cv-meta { position: absolute; left: 96px; bottom: 66px; font: 600 14px var(--mono); color: var(--faint); letter-spacing: .04em; }
.cv-route { position: absolute; left: 870px; top: 100px; width: 680px; height: 680px; }
.cv-route::before { content: ''; position: absolute; inset: 40px; border-radius: 50%; background: radial-gradient(circle, rgba(8, 145, 178, .10), rgba(8, 145, 178, 0) 68%); }
.cv-route svg { position: absolute; inset: 0; width: 680px; height: 680px; overflow: visible; }
.cv-road { fill: none; stroke: #E4E7EC; stroke-width: 38; stroke-linecap: round; }
.cv-done { fill: none; stroke: url(#cv-g); stroke-width: 38; stroke-linecap: round; opacity: .28; }
.cv-lane { fill: none; stroke: #fff; stroke-width: 4; stroke-dasharray: 16 18; }
.cv-pin text { font: 800 22px var(--font); fill: var(--ink); }
.cv-card { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--sh); border: 2px solid color-mix(in srgb, var(--k) 25%, #fff); white-space: nowrap; transform: translate(-50%, -50%) scale(.85); opacity: 0; transition: opacity .35s, transform .45s cubic-bezier(.2, 1.5, .4, 1); }
.cv-card.on { opacity: 1; transform: translate(-50%, -50%); }
.cv-card i { font-style: normal; font-size: 24px; }
.cv-card b { font-size: 18px; color: var(--k); letter-spacing: -.01em; }
.cv-pay { position: absolute; left: 610px; top: 168px; transform: translate(-50%, 0) scale(.8); background: #059669; color: #fff; font-weight: 800; font-size: 22px; padding: 10px 16px; border-radius: 999px; box-shadow: 0 14px 28px -12px #059669; white-space: nowrap; opacity: 0; transition: all .45s cubic-bezier(.2, 1.5, .4, 1); }
.cv-pay.on { opacity: 1; transform: translate(-50%, 0); }

/* ============ 01 · solution overview ============ */
.loop { position: absolute; left: 52px; top: 168px; width: 620px; height: 620px; }
.loop .ring { position: absolute; inset: 0; width: 620px; height: 620px; }
.loop .rb { fill: none; stroke: #EEF0F5; stroke-width: 16; }
.loop .rf { fill: none; stroke: url(#ring-g); stroke-width: 4; stroke-dasharray: 3 13; stroke-linecap: round; }
.slide.play .loop .rf { animation: dash 1.2s linear infinite; }
.orbit { position: absolute; inset: 0; }
.orbit i { position: absolute; left: 299px; top: 71px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px #4F46E5, 0 0 26px 8px rgba(79, 70, 229, .45); }
.slide.play .orbit { animation: spin 7.5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ln { position: absolute; width: 178px; transform: translate(-50%, -50%); background: #fff; border-radius: 20px; box-shadow: var(--sh); border-top: 5px solid var(--k); padding: 12px 12px 14px; text-align: center; z-index: 1; }
.ln i { font-style: normal; font-size: 30px; display: block; }
.ln b { display: block; font-size: 18px; letter-spacing: -.02em; margin-top: 2px; }
.ln small { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.slide.play .ln { animation: lnGlow 7.5s infinite; animation-delay: calc(var(--n) * 1.5s); }
@keyframes lnGlow {
  0%, 14% { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 0 7px color-mix(in srgb, var(--k) 22%, transparent), var(--sh); }
  22%, 100% { transform: translate(-50%, -50%) scale(1); box-shadow: var(--sh); }
}
.lc { position: absolute; left: 310px; top: 310px; transform: translate(-50%, -50%); width: 250px; text-align: center; }
.lc .logo { width: 74px; height: 74px; filter: drop-shadow(0 14px 24px rgba(79, 70, 229, .35)); }
.lc b { display: block; font-size: 32px; font-weight: 900; letter-spacing: -.045em; margin-top: 8px; }
.lc small { display: block; font-size: 14px; color: var(--muted); font-weight: 600; }
.lc .ceo { display: inline-block; margin-top: 10px; background: #FFFBEB; color: #B45309; border: 1.5px solid #FCD34D; font-weight: 800; font-size: 14px; padding: 7px 12px; border-radius: 999px; }
.pillars { position: absolute; left: 760px; right: 72px; top: 236px; display: flex; flex-direction: column; gap: 16px; }
.pl { display: flex; align-items: center; gap: 20px; background: #fff; border-radius: 24px; box-shadow: var(--sh); padding: 20px 24px; border-left: 6px solid var(--k); }
.pl > i { font-style: normal; font-size: 34px; width: 70px; height: 70px; border-radius: 20px; background: color-mix(in srgb, var(--k) 12%, #fff); display: grid; place-items: center; flex: none; }
.pl b { display: block; font-size: 27px; letter-spacing: -.025em; font-weight: 800; }
.pl small { font-size: 17px; color: var(--muted); font-weight: 600; }
.pl > em { margin-left: auto; font-style: normal; font: 700 13px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--k); background: color-mix(in srgb, var(--k) 10%, #fff); padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.forwho { position: absolute; left: 760px; right: 72px; top: 656px; display: flex; gap: 14px; }
.fw { flex: 1; display: flex; align-items: center; gap: 14px; background: #F8FAFC; border: 1.5px dashed #D0D5DD; border-radius: 20px; padding: 16px 20px; }
.fw > span { font-size: 30px; }
.fw b { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.fw small { font-size: 14.5px; color: var(--muted); font-weight: 600; }

/* ============ 01 · trigger ============ */
.tl { position: absolute; left: 72px; right: 72px; top: 196px; display: grid; grid-template-columns: 1fr 44px 1fr 44px 1fr; align-items: start; }
.tl .rail { position: absolute; left: 12%; right: 12%; top: 20px; height: 4px; border-radius: 9px; background: var(--line); overflow: visible; }
.tl .rail i { position: absolute; inset: 0; border-radius: 9px; background: linear-gradient(90deg, #E11D48, #4F46E5 50%, #7C3AED); transform-origin: 0 50%; }
.slide.play .tl .rail i { animation: railGo 2.2s .3s cubic-bezier(.4, 0, .2, 1) both; }
@keyframes railGo { from { transform: scaleX(0); } }
.tl .rail .pulse { position: absolute; top: -6px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px #7C3AED, 0 0 22px 4px rgba(124, 58, 237, .5); opacity: 0; }
.slide.play .tl .rail .pulse { animation: pulseRun 3.4s 2.6s linear infinite; }
@keyframes pulseRun { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.tcol { position: relative; text-align: center; }
.when { display: inline-block; position: relative; z-index: 1; background: var(--k); color: #fff; font: 700 15px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 13px 20px; border-radius: 999px; box-shadow: 0 0 0 7px var(--bg), 0 10px 22px -10px var(--k); }
.tcard { margin-top: 26px; height: 506px; background: #fff; border-radius: 30px; box-shadow: var(--sh); padding: 32px 34px 30px; text-align: left; display: flex; flex-direction: column; border-top: 6px solid var(--k); }
.tcard > :first-child { height: 190px; }
.tl .arrow { align-self: center; margin-top: 60px; text-align: center; font-size: 30px; color: #C9CFDA; }
.tcard .big { display: flex; align-items: flex-end; min-height: 112px; margin-top: 22px; font-weight: 800; font-size: 116px; line-height: .9; letter-spacing: -.06em; color: var(--k); font-variant-numeric: tabular-nums; }
.tcard .big small { font-size: 34px; letter-spacing: -.02em; margin: 0 0 10px 10px; font-weight: 800; }
.tcard .big.word { font-size: 62px; letter-spacing: -.045em; padding-bottom: 12px; }
.tcard .lbl { font-size: 24px; font-weight: 600; color: var(--ink2); margin-top: 10px; }
.tcard .tags { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.tcard .tags span { font-weight: 700; font-size: 15px; padding: 9px 13px; border-radius: 999px; color: var(--k); background: color-mix(in srgb, var(--k) 9%, #fff); }
.days { display: grid; grid-template-columns: repeat(9, 30px); grid-auto-rows: 30px; gap: 7px; align-content: start; }
.days i { border-radius: 8px; background: #FDA4AF; }
.days i.late { background: #E11D48; }
.slide.play .days i { animation: dayIn .3s cubic-bezier(.2, 1.4, .4, 1) both; animation-delay: calc(.55s + var(--i) * .032s); }
@keyframes dayIn { from { background: #EEF0F5; transform: scale(.5); } }
.days .leg { grid-column: 1 / -1; display: flex; gap: 16px; align-items: center; font: 600 12.5px var(--mono); color: var(--faint); margin-top: 2px; }
.days .leg em { display: inline-block; width: 12px; height: 12px; border-radius: 4px; background: #FDA4AF; margin-right: 6px; vertical-align: -1px; }
.days .leg em.l { background: #E11D48; }
.einv { display: flex; align-items: center; justify-content: center; gap: 22px; }
.einv svg { width: 124px; height: 155px; filter: drop-shadow(0 10px 16px rgba(16, 24, 40, .12)); }
.einv .paper { transform: rotate(-6deg); opacity: .8; }
.einv .to { font-size: 30px; color: #A5B4FC; }
.slide.play .einv .paper { animation: paperOut 1s 1.6s ease both; }
.slide.play .einv .digital { animation: aPop .7s 2s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes paperOut { from { transform: rotate(0); opacity: 1; } }
.gapbars { display: flex; flex-direction: column; justify-content: center; gap: 26px; padding-right: 6px; }
.gb { display: grid; grid-template-columns: 1fr 64px; grid-template-rows: auto 22px; column-gap: 14px; row-gap: 8px; align-items: center; }
.gb span { grid-column: 1 / -1; font-size: 16px; font-weight: 700; color: var(--muted); }
.gb .track { height: 22px; border-radius: 99px; background: #F2F4F7; overflow: hidden; }
.gb .track i { display: block; height: 100%; width: var(--w); border-radius: 99px; background: #C4CBD8; }
.gb b { font-size: 22px; font-weight: 800; color: var(--muted); text-align: right; }
.gb.hl span, .gb.hl b { color: #7C3AED; }
.gb.hl .track i { background: linear-gradient(90deg, #A78BFA, #7C3AED); }
.slide.play .gb .track i { animation: barW 1.1s cubic-bezier(.2, .8, .2, 1) both; animation-delay: 2.3s; }
.slide.play .gb.hl .track i { animation-delay: 2.6s; }
@keyframes barW { from { width: 0; } }

/* ============ 02 · org chart ============ */
.s-org .hint { position: absolute; right: 72px; top: 78px; font-weight: 700; font-size: 16px; color: var(--muted); background: #fff; padding: 10px 16px; border-radius: 999px; box-shadow: var(--sh-s); }
.org { position: absolute; left: 72px; top: 176px; width: 1456px; height: 640px; }
.org-lines { position: absolute; inset: 0; width: 1456px; height: 640px; overflow: visible; }
.org-lines path { fill: none; stroke: #D0D5DD; stroke-width: 3; stroke-dasharray: 7 9; animation: dash 1.4s linear infinite; }
.org-lines path.ceo-l { stroke: #F5C451; }
.org-lines path.hl { stroke: var(--pc); stroke-width: 4.5; stroke-dasharray: none; }
.node { position: absolute; left: calc(50% - 175px); width: 350px; height: 78px; display: flex; align-items: center; gap: 14px; padding: 0 20px; background: #fff; border-radius: 22px; box-shadow: var(--sh); border: 2px solid transparent; z-index: 1; }
.node i { font-style: normal; font-size: 32px; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; flex: none; }
.node b { display: block; font-size: 22px; letter-spacing: -.02em; }
.node span { font-size: 15px; color: var(--muted); font-weight: 600; }
.node.ceo { top: 0; border-color: #FCD34D; background: linear-gradient(180deg, #FFFBEB, #fff); }
.node.ceo i { background: #FEF3C7; }
.node.ceo .gate { color: #B45309; font-weight: 800; }
.node.coo { top: 128px; border-color: #C7D2FE; }
.node.coo i { background: #EEF2FF; }
.org .esc { position: absolute; left: calc(50% + 16px); top: 92px; font: 700 12px var(--mono); color: #B45309; letter-spacing: .04em; }
#org-poles { position: absolute; left: 0; right: 0; top: 262px; height: 204px; }
.pole { position: absolute; top: 0; height: 204px; border-radius: 26px; padding: 40px 14px 14px; background: color-mix(in srgb, var(--pc) 6%, #fff); border: 1.5px solid color-mix(in srgb, var(--pc) 24%, #fff); }
.pole .ph { position: absolute; left: 18px; top: 13px; font: 700 12px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--pc); }
.pole .ags { display: flex; gap: 12px; height: 100%; }
.ag { flex: 1; min-width: 0; background: #fff; border-radius: 18px; box-shadow: var(--sh-s); border: 2px solid transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; transition: transform .25s, box-shadow .25s, border-color .25s; font-family: inherit; color: inherit; padding: 6px; }
.ag:hover { transform: translateY(-3px); }
.ag i { font-style: normal; font-size: 32px; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--pc) 12%, #fff); }
.ag b { font-size: 18px; letter-spacing: -.01em; }
.ag small { font-size: 12.5px; color: var(--muted); text-align: center; line-height: 1.25; }
.ag.sel { border-color: var(--pc); transform: translateY(-5px); box-shadow: 0 0 0 7px color-mix(in srgb, var(--pc) 16%, transparent), var(--sh); }
.slide.play .ag { animation: aPop .55s cubic-bezier(.2, 1.4, .4, 1) both; animation-delay: calc(.9s + var(--j) * .08s); }
.wfp { position: absolute; left: 0; right: 0; top: 484px; height: 156px; background: #fff; border-radius: 26px; box-shadow: var(--sh); padding: 18px 24px; display: flex; align-items: center; gap: 22px; }
.wf-who { width: 238px; flex: none; display: flex; align-items: center; gap: 14px; }
.wf-who i { font-style: normal; font-size: 32px; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--pc) 13%, #fff); box-shadow: 0 0 0 3px var(--pc); flex: none; }
.wf-who b { display: block; font-size: 22px; letter-spacing: -.02em; }
.wf-who small { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.wf-steps { flex: 1; display: flex; align-items: stretch; min-width: 0; height: 100%; }
.wst { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; padding: 10px 12px; border-radius: 16px; background: color-mix(in srgb, var(--k) 8%, #fff); border: 1.5px solid color-mix(in srgb, var(--k) 24%, #fff); animation: aUp .45s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--j) * .07s); }
.wst i { font-style: normal; font-size: 22px; }
.wst b { font-size: 14px; line-height: 1.22; font-weight: 700; }
.wst small { margin-top: auto; font: 700 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--k); }
.wsa { width: 22px; flex: none; display: grid; place-items: center; color: #B0B7C3; font-weight: 800; }

/* ============ 03 · pipeline ============ */
.stopwatch { position: absolute; right: 72px; top: 66px; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 9px 10px 9px 20px; box-shadow: var(--sh-s); }
.stopwatch .sw-ico { font-size: 22px; }
.stopwatch b { font: 700 30px var(--mono); min-width: 62px; text-align: right; color: #5B21B6; }
.stopwatch small { font: 600 16px var(--mono); color: var(--muted); }
.replay { border: 0; background: #F2F4F7; border-radius: 50%; width: 38px; height: 38px; font-size: 19px; cursor: pointer; margin-left: 8px; color: var(--ink2); }
.replay:hover { background: #E9D5FF; }
.pipe { position: absolute; left: 72px; top: 198px; width: 1456px; height: 560px; }
.pipes { position: absolute; inset: 0; width: 1456px; height: 560px; overflow: visible; }
.pipes .p { fill: none; stroke: #E4E7EC; stroke-width: 7; stroke-linecap: round; transition: stroke .3s; }
.pipes .p.on { stroke: #A78BFA; stroke-dasharray: 12 10; animation: dash .7s linear infinite; }
.col { position: absolute; top: 0; }
.col-in { left: 0; width: 440px; }
.col-brain { left: 520px; width: 416px; }
.col-out { left: 1016px; width: 440px; }
.colh { font: 700 13px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin: 0 0 12px 4px; }
.mail { background: #fff; border-radius: 24px; box-shadow: var(--sh); padding: 22px 24px; }
.mh { display: flex; gap: 12px; align-items: center; }
.mh .av { width: 42px; height: 42px; border-radius: 50%; background: #FCE7F3; color: #BE185D; font-weight: 800; display: grid; place-items: center; font-size: 18px; flex: none; }
.mh b { font-size: 17px; }
.mh small { display: block; font-size: 13px; color: var(--muted); font-family: var(--mono); }
.mail .subj { font-weight: 800; font-size: 21px; margin: 16px 0 8px; letter-spacing: -.01em; }
.mail p { font-size: 19px; line-height: 1.6; color: var(--ink2); margin: 0; }
mark.k { background: transparent; color: inherit; border-radius: 6px; padding: 1px 3px; transition: background .3s, box-shadow .3s; }
mark.k.on { background: color-mix(in srgb, var(--kc) 16%, #fff); box-shadow: inset 0 -3px 0 var(--kc); }
.k1, .c1 { --kc: #0891B2; } .k2, .c2 { --kc: #D97706; } .k3, .c3 { --kc: #7C3AED; } .k4, .c4 { --kc: #4F46E5; }
.chips { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-weight: 700; font-size: 16px; padding: 9px 14px; border-radius: 999px; background: #fff; box-shadow: var(--sh-s); border: 2px solid var(--kc); color: var(--kc); opacity: 0; transform: translateY(12px) scale(.9); transition: opacity .35s, transform .45s cubic-bezier(.2, 1.4, .4, 1); }
.chip.on { opacity: 1; transform: none; }
.brain { position: relative; background: #fff; border-radius: 28px; box-shadow: 0 0 0 2px #DDD6FE, var(--sh); padding: 20px 22px 22px; transition: box-shadow .4s; }
.brain.on { box-shadow: 0 0 0 3px #A78BFA, 0 0 0 12px rgba(167, 139, 250, .16), var(--sh); }
.llm { display: flex; align-items: center; gap: 12px; background: linear-gradient(135deg, #F5F3FF, #EEF2FF); border-radius: 18px; padding: 13px 16px; }
.llm span { font-size: 30px; }
.llm b { font-size: 20px; letter-spacing: -.01em; }
.llm small { margin-left: auto; font: 700 12px var(--mono); color: #7C3AED; text-transform: uppercase; letter-spacing: .08em; }
.flow { display: flex; align-items: center; margin-top: 20px; }
.fn { width: 76px; height: 78px; flex: none; border-radius: 18px; background: #F2F4F7; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-weight: 700; font-size: 14px; color: var(--faint); border: 2px solid transparent; transition: all .3s; }
.fn i { font-style: normal; font-size: 24px; filter: grayscale(1); opacity: .45; transition: all .3s; }
.fn.on { background: #F5F3FF; color: #5B21B6; border-color: #A78BFA; box-shadow: 0 0 0 5px rgba(167, 139, 250, .18); }
.fn.on i { filter: none; opacity: 1; }
.fl { flex: 1; height: 4px; border-radius: 9px; background: #E4E7EC; margin: 0 3px; transition: background .3s; }
.fl.on { background: #A78BFA; }
.flowtag { font: 600 12px var(--mono); color: var(--faint); margin-top: 8px; text-align: right; }
.rules { margin-top: 14px; background: #F8FAFC; border: 1.5px solid #E4E7EC; border-radius: 16px; padding: 13px 16px; transition: all .35s; }
.rules.on { border-color: #F59E0B; background: #FFFBEB; box-shadow: 0 0 0 5px rgba(245, 158, 11, .14); }
.rules .rf { font: 700 14px var(--mono); color: #B45309; margin-bottom: 6px; }
.rules pre { margin: 0; font: 500 15px/1.6 var(--mono); color: var(--ink2); }
.rules pre span { color: #4F46E5; }
.rules pre b { color: #B45309; }
.motto { margin-top: 16px; text-align: center; font-weight: 800; font-size: 20px; color: #5B21B6; background: #F5F3FF; border-radius: 14px; padding: 12px; letter-spacing: -.01em; }
.doc { background: #fff; border-radius: 24px; box-shadow: var(--sh); padding: 18px 22px; opacity: .16; transform: translateX(26px); transition: opacity .45s, transform .55s cubic-bezier(.2, .8, .2, 1); position: relative; }
.doc.on { opacity: 1; transform: none; }
.doc.inv { margin-top: 20px; }
.dh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.dh b { font: 800 15px var(--mono); letter-spacing: .14em; color: #059669; }
.dh span { font: 600 13px var(--mono); color: var(--muted); }
.doc .row { display: flex; justify-content: space-between; font-size: 17px; color: var(--ink2); padding: 7px 0; border-bottom: 1px dashed #E4E7EC; }
.doc .total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; }
.doc .total > span { font-weight: 700; font-size: 18px; }
.doc .total b { font-size: 46px; font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.paybtn { margin-top: 6px; display: inline-block; background: #4F46E5; color: #fff; font-weight: 700; font-size: 15px; padding: 9px 14px; border-radius: 12px; }
.inv pre { font: 500 13px/1.55 var(--mono); color: #475467; background: #F8FAFC; border-radius: 12px; padding: 12px 14px; margin: 0; }
.stamp { position: absolute; right: 18px; bottom: 14px; transform: rotate(-7deg) scale(1.7); opacity: 0; border: 3px solid #059669; color: #059669; font: 800 14px var(--mono); padding: 6px 10px; border-radius: 10px; background: #ECFDF5; transition: all .4s cubic-bezier(.2, 1.6, .4, 1); }
.stamp.on { opacity: 1; transform: rotate(-7deg) scale(1); }

/* ============ 04 · IoT truck ============ */
.truck-wrap { position: absolute; left: 36px; top: 160px; width: 900px; height: 620px; }
.truck-wrap canvas { position: absolute; inset: 0; width: 900px; height: 620px; cursor: grab; touch-action: none; }
.truck-wrap canvas:active { cursor: grabbing; }
.hot { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 12px; border: 0; background: none; padding: 0; cursor: pointer; transform: translate(-12px, -12px); z-index: 2; }
.hot > i { position: relative; width: 24px; height: 24px; border-radius: 50%; background: var(--k); box-shadow: 0 0 0 5px #fff, 0 0 0 7px var(--k); flex: none; }
.hot > i::after { content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 3px solid var(--k); animation: ping 1.8s ease-out infinite; }
.hot > span { background: #fff; border-radius: 14px; padding: 8px 13px; box-shadow: var(--sh); font-size: 13px; color: var(--muted); text-align: left; white-space: nowrap; border: 2px solid transparent; transition: border-color .2s; }
.hot > span b { display: block; font-size: 16px; color: var(--k); }
.hot.sel > span { border-color: var(--k); }
.hot.l { flex-direction: row-reverse; transform: translate(calc(-100% + 12px), -12px); }
.hot.l > span { text-align: right; }
.drag { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); font: 600 13px var(--mono); color: var(--faint); }
.flows { position: absolute; left: 0; top: 0; width: 1600px; height: 900px; pointer-events: none; overflow: visible; }
.flows path { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 10; opacity: .75; }
.flows path.hl { stroke-width: 5; opacity: 1; }
.saas { position: absolute; left: 978px; top: 168px; width: 550px; background: #fff; border-radius: 26px; box-shadow: var(--sh); overflow: hidden; }
.sbar { height: 44px; background: #F8FAFC; border-bottom: 1px solid #EAECF0; display: flex; align-items: center; gap: 7px; padding: 0 16px; }
.sbar i { width: 11px; height: 11px; border-radius: 50%; background: #FCA5A5; }
.sbar i:nth-child(2) { background: #FCD34D; } .sbar i:nth-child(3) { background: #86EFAC; }
.sbar b { margin-left: 10px; font-size: 14px; color: #475467; }
.struck { padding: 14px 20px; display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--ink2); border-bottom: 1px solid #F2F4F7; }
.struck .tdot { width: 10px; height: 10px; border-radius: 50%; background: #4F46E5; }
.struck .live { margin-left: auto; color: #E11D48; font: 700 12px var(--mono); letter-spacing: .08em; animation: blink 1.4s infinite; }
.srow { margin: 12px 16px; padding: 14px 16px; border-radius: 18px; background: #F9FAFB; border: 2px solid transparent; transition: all .3s; display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; align-items: center; }
.srow .sl { font-weight: 700; font-size: 15px; color: #475467; }
.srow .sv { display: flex; align-items: baseline; }
.srow .sv b { font-size: 36px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.srow .sv small { font-size: 15px; color: var(--muted); margin-left: 5px; font-weight: 600; }
.srow .ok { margin-left: 12px; font-size: 13px; font-weight: 700; color: #059669; background: #ECFDF5; padding: 4px 9px; border-radius: 999px; }
.route { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 6px; }
.route .rt { flex: 1; height: 8px; border-radius: 99px; background: #E4E7EC; position: relative; }
.route .rt i { position: absolute; left: 0; top: 0; bottom: 0; width: 40%; border-radius: 99px; background: linear-gradient(90deg, #A5B4FC, #4F46E5); }
.route .rt em { position: absolute; top: -17px; left: 40%; font-style: normal; font-size: 24px; transform: translateX(-50%) scaleX(-1); }
.srow .coords { grid-column: 1 / -1; font: 500 13px var(--mono); color: var(--muted); }
.srow .spark { grid-column: 1 / -1; width: 100%; height: 56px; display: block; }
.srow.hl { border-color: var(--hk); background: color-mix(in srgb, var(--hk) 6%, #fff); }
.r-gps { --hk: #4F46E5; } .r-cargo { --hk: #0891B2; }
.r-esc .esc-state b { font-size: 19px; color: #059669; }
.r-esc .esc-state small { display: block; color: var(--muted); font-size: 13px; }
.kw { position: absolute; left: 72px; bottom: 62px; display: flex; gap: 12px; }
.kw span { background: #fff; border-radius: 999px; padding: 12px 18px; font-weight: 700; font-size: 17px; box-shadow: var(--sh-s); }

/* ============ 05 · vault ============ */
.sm { position: absolute; left: 72px; top: 186px; width: 1456px; height: 600px; }
.sm-lines { position: absolute; inset: 0; width: 1456px; height: 600px; overflow: visible; }
.sm-lines .ln { fill: none; stroke: #E4E7EC; stroke-width: 6; stroke-linecap: round; transition: stroke .3s; }
.sm-lines .ln.on { stroke: #059669; stroke-dasharray: 14 12; animation: dash .8s linear infinite; }
.sm-lines .l3 { stroke-dasharray: 8 10; stroke-width: 5; }
.sm-lines .l3.on { stroke: #E11D48; stroke-dasharray: 10 10; }
.fn-tag { position: absolute; font: 700 14px var(--mono); background: #fff; padding: 7px 11px; border-radius: 10px; box-shadow: var(--sh-s); color: #047857; }
.fn-tag.t1 { left: 400px; top: 132px; } .fn-tag.t2 { left: 920px; top: 132px; }
.fn-tag.t3 { left: 884px; top: 296px; color: #BE123C; }
.s-vault .src { right: 800px; }
.st { position: absolute; top: 80px; width: 320px; margin-left: -160px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.st1 { left: 200px; } .st2 { left: 728px; } .st3 { left: 1256px; }
.st .disc { position: relative; width: 220px; height: 220px; margin-top: -110px; border-radius: 50%; background: #fff; box-shadow: var(--sh); display: grid; place-items: center; transition: box-shadow .4s, background .4s; }
.st { top: 190px; }
.st .disc svg { width: 128px; height: 128px; position: relative; z-index: 1; }
.st .sn { position: absolute; top: -104px; left: calc(50% + 62px); width: 40px; height: 40px; border-radius: 50%; background: var(--c); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 5px var(--bg); z-index: 2; }
.st b { margin-top: 24px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.st small { font-size: 17px; color: var(--muted); margin-top: 4px; font-weight: 500; }
.badge { margin-top: 14px; font-weight: 800; font-size: 17px; padding: 9px 15px; border-radius: 999px; opacity: 0; transform: translateY(10px) scale(.9); transition: opacity .3s, transform .45s cubic-bezier(.2, 1.5, .4, 1); }
.badge.on { opacity: 1; transform: none; }
.b1 { background: #EEF2FF; color: #4338CA; } .b2 { background: #ECFDF5; color: #047857; }
.b3 { background: #059669; color: #fff; font-size: 22px; box-shadow: 0 12px 24px -10px #059669; }
.vault .wheel { transform-origin: 60px 60px; transition: transform 1.1s cubic-bezier(.5, 0, .2, 1); }
.vault.locked { box-shadow: 0 0 0 9px rgba(5, 150, 105, .16), var(--sh); }
.vault.locked .wheel { transform: rotate(225deg); }
.vault .snow { opacity: 0; transition: opacity .4s; }
.vault circle, .vault path { transition: fill .4s, stroke .4s; }
.vault.frozen { background: #F0F9FF; box-shadow: 0 0 0 10px rgba(14, 165, 233, .2), var(--sh); }
.vault.frozen > svg > circle:first-child { fill: #E0F2FE; stroke: #0284C7; }
.vault.frozen .wheel path { stroke: #7DD3FC; }
.vault.frozen .wheel circle { fill: #7DD3FC; }
.vault.frozen .snow { opacity: 1; }
.gps .ring { position: absolute; inset: 34px; border-radius: 50%; border: 3px solid #F97316; opacity: 0; }
.gps.ping .ring { animation: ping 1.3s ease-out 3; }
.gps.ping .ring.r2 { animation-delay: .45s; }
.gps.paid { background: #ECFDF5; box-shadow: 0 0 0 10px rgba(5, 150, 105, .16), var(--sh); }
.anom { position: absolute; left: 846px; top: 450px; width: 610px; background: #fff; border-radius: 24px; box-shadow: var(--sh-s); border: 2px dashed #FECDD3; padding: 16px 18px 18px; opacity: .5; filter: grayscale(.8); transition: all .45s; }
.anom.on { opacity: 1; filter: none; border-style: solid; border-color: #FDA4AF; box-shadow: 0 0 0 9px #FFE4E6, var(--sh); }
.ah { display: flex; align-items: center; gap: 12px; }
.ah > span { font-size: 28px; }
.ah b { font-size: 21px; color: #BE123C; }
.ah small { display: block; font-size: 14px; color: var(--muted); }
.ab { display: flex; gap: 10px; margin-top: 10px; }
.aa { flex: 1; background: #FFF1F2; border-radius: 16px; padding: 10px 12px 8px; display: flex; flex-direction: column; gap: 2px; transition: all .35s; }
.anom.on .aa { opacity: .35; }
.anom.on .aa.on { opacity: 1; box-shadow: 0 0 0 2px #FDA4AF; }
.aa i { font-style: normal; font-size: 24px; }
.aa b { font-size: 15.5px; }
.aa small { font-size: 12.5px; color: var(--muted); }
.aa .tchart { width: 100%; height: 20px; margin-top: 2px; }
.coin { position: absolute; left: 200px; top: 190px; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FEF3C7, #FBBF24 45%, #D97706 100%); color: #78350F; font: 900 30px var(--font); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(217, 119, 6, .45), inset 0 -3px 0 rgba(0, 0, 0, .15); opacity: 0; transition: opacity .3s; z-index: 3; pointer-events: none; }
.coin.on { opacity: 1; }
.anom-btn { position: absolute; left: 40px; top: 470px; background: #fff; border: 2px solid #FECDD3; color: #BE123C; font-weight: 800; font-size: 18px; padding: 15px 22px; border-radius: 16px; cursor: pointer; box-shadow: var(--sh-s); transition: background .2s; }
.anom-btn:hover { background: #FFF1F2; }

/* ============ 06 · demo ============ */
.qrbig { position: absolute; left: 96px; top: 96px; width: 600px; height: 700px; background: #fff; border-radius: 38px; box-shadow: var(--sh); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.qrbig::before { content: ''; position: absolute; inset: -12px; border-radius: 48px; border: 3px dashed #FDBA74; z-index: -1; }
.qrbig .qr svg { width: 520px; height: 520px; display: block; }
.qrcap { text-align: center; }
.qrcap b { font: 700 24px var(--mono); color: var(--ink); }
.qrcap span { display: block; font-size: 18px; color: var(--muted); margin-top: 6px; font-weight: 600; }
.demo-right { position: absolute; left: 790px; top: 120px; right: 72px; }
.demo-right h1.t { font-size: 84px; }
.playbtn { position: relative; margin-top: 44px; display: inline-flex; align-items: center; gap: 18px; background: linear-gradient(135deg, #FB923C, #F97316 55%, #EA580C); color: #fff; border: 0; border-radius: 26px; padding: 24px 40px 24px 26px; font: 800 30px var(--font); letter-spacing: -.02em; cursor: pointer; box-shadow: 0 22px 44px -16px rgba(249, 115, 22, .75); transition: transform .2s; }
.playbtn:hover { transform: translateY(-2px); }
.playbtn span { width: 58px; height: 58px; border-radius: 50%; background: rgba(255, 255, 255, .22); display: grid; place-items: center; font-size: 24px; }
.playbtn::after { content: ''; position: absolute; inset: -8px; border-radius: 32px; border: 3px solid #FDBA74; animation: playRing 2s ease-out infinite; pointer-events: none; }
@keyframes playRing { 0% { opacity: .9; transform: scale(.96); } 100% { opacity: 0; transform: scale(1.08); } }
.chapters { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ch { display: flex; align-items: center; gap: 12px; background: #fff; border: 2px solid #FFEDD5; border-radius: 18px; padding: 17px 18px; cursor: pointer; text-align: left; box-shadow: var(--sh-s); transition: border-color .2s, transform .2s; color: var(--ink); }
.ch:hover { border-color: #FDBA74; transform: translateY(-2px); }
.ch i { font-style: normal; width: 32px; height: 32px; border-radius: 10px; background: #F97316; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; flex: none; }
.ch span { font-size: 26px; }
.ch b { font-size: 19px; letter-spacing: -.01em; }
#demo-layer { position: absolute; left: 0; top: 0; width: 1600px; height: 856px; z-index: 50; background: #fff; display: none; flex-direction: column; }
#demo-layer.show { display: flex; }
.dtop { height: 56px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #FFF7ED; border-bottom: 1px solid #FED7AA; }
.dlive { font: 700 13px var(--mono); color: #E11D48; margin-right: 10px; letter-spacing: .1em; animation: blink 1.6s infinite; }
.dtop button { background: #fff; color: var(--ink); border: 1.5px solid #FED7AA; border-radius: 11px; padding: 8px 13px; font: 700 14px var(--font); cursor: pointer; display: flex; align-items: center; gap: 8px; }
.dtop button.on { background: #F97316; border-color: #F97316; color: #fff; }
.dtop button i { font-style: normal; background: #F97316; color: #fff; border-radius: 6px; width: 21px; height: 21px; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.dtop button.on i { background: #fff; color: #F97316; }
.dtop .sp { flex: 1; }
.dframe { flex: 1; position: relative; }
.dframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ============ 07 · impact ============ */
.proj { position: absolute; right: 72px; top: 78px; background: #FDF4FF; color: #A21CAF; font-weight: 700; font-size: 15px; padding: 10px 16px; border-radius: 999px; border: 1.5px dashed #F0ABFC; }
.gauges { position: absolute; left: 72px; right: 72px; top: 200px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.gcard { background: #fff; border-radius: 30px; box-shadow: var(--sh); padding: 26px 28px 24px; height: 448px; display: flex; flex-direction: column; align-items: center; }
.gl { align-self: flex-start; font-weight: 800; font-size: 23px; letter-spacing: -.02em; }
.gauge { width: 340px; height: 202px; margin-top: 22px; overflow: visible; }
.gauge .gt { fill: none; stroke: #F2F4F7; stroke-width: 28; stroke-linecap: round; }
.gauge .gv { fill: none; stroke: #059669; stroke-width: 28; stroke-linecap: round; }
.gnum { margin-top: -96px; display: flex; align-items: baseline; gap: 8px; height: 90px; }
.gn { font-weight: 800; font-size: 80px; letter-spacing: -.055em; font-variant-numeric: tabular-nums; line-height: 1; }
.gu { font-size: 22px; color: var(--muted); font-weight: 700; }
.gfoot { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.gfoot s { color: var(--faint); font-size: 18px; font-weight: 600; }
.gtag { background: #ECFDF5; color: #047857; font-weight: 800; font-size: 17px; padding: 8px 14px; border-radius: 999px; }
.livestrip { position: absolute; left: 72px; right: 72px; top: 676px; height: 62px; background: #fff; border-radius: 18px; box-shadow: var(--sh-s); display: flex; align-items: center; gap: 10px; padding: 0 24px; font-size: 16px; color: var(--muted); font-weight: 600; }
.livestrip.none { display: none; }
.livestrip .ld { width: 10px; height: 10px; border-radius: 50%; background: #E11D48; animation: blink 1.2s infinite; }
.livestrip b { font-size: 23px; color: var(--ink); font-weight: 800; margin-left: 18px; letter-spacing: -.02em; }
.livestrip em { font-style: normal; }

/* ============ 08 · business ============ */
.biz { position: absolute; left: 72px; right: 72px; top: 184px; height: 548px; display: grid; grid-template-columns: 700px 1fr; gap: 32px; }
.duel { background: #fff; border-radius: 30px; box-shadow: var(--sh); padding: 28px 34px 26px; display: grid; grid-template-columns: 1fr 74px 1fr; grid-template-rows: 1fr auto; }
.dcol { display: flex; flex-direction: column; align-items: center; }
.dbar { height: 292px; width: 190px; display: flex; align-items: flex-end; background: #F9FAFB; border-radius: 22px; overflow: hidden; }
.fill { width: 100%; height: var(--h); border-radius: 22px; display: flex; flex-direction: column; align-items: center; padding-top: 16px; color: #fff; }
.fill.hire { background: linear-gradient(180deg, #A0A8B8, #667085); }
.fill.rc { background: linear-gradient(180deg, #34D399, #059669); box-shadow: 0 -10px 30px -10px #10B981; }
.fill b { font-size: 36px; font-weight: 800; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.fill small { font-size: 14px; opacity: .9; font-weight: 600; }
.slide.play .fill { animation: growH 1.2s cubic-bezier(.2, .8, .2, 1) both; animation-delay: .4s; }
.slide.play .fill.rc { animation-delay: .7s; }
@keyframes growH { from { height: 0; } }
.dl { margin-top: 14px; text-align: center; }
.dl > span { font-size: 28px; }
.dl .logo { width: 30px; height: 30px; }
.dl b { display: block; font-size: 20px; font-weight: 800; margin-top: 4px; letter-spacing: -.02em; }
.dl small { font-size: 14px; color: var(--muted); font-weight: 600; }
.vs { align-self: center; justify-self: center; width: 60px; height: 60px; border-radius: 50%; background: #F2F4F7; display: grid; place-items: center; font-weight: 900; font-size: 18px; color: var(--muted); margin-top: -70px; }
.kpis { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.kpi { background: #F0FDF4; border-radius: 18px; padding: 14px 10px; text-align: center; }
.kpi b { display: block; font-size: 33px; font-weight: 800; color: #047857; letter-spacing: -.03em; }
.kpi small { font-size: 14px; color: #475467; font-weight: 600; }
.road { background: #fff; border-radius: 30px; box-shadow: var(--sh); padding: 28px 32px; }
.rh { font: 700 13px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.rh.sh { margin-top: 30px; }
.rline { position: relative; height: 5px; border-radius: 99px; background: #E4E7EC; margin: 56px calc(100% / 6) 0; }
.rline i { position: absolute; inset: 0; border-radius: 99px; background: linear-gradient(90deg, #059669, #4F46E5, #7C3AED); transform-origin: 0 50%; }
.slide.play .rline i { animation: railGo 1.8s .8s cubic-bezier(.4, 0, .2, 1) both; }
.rtruck { position: absolute; top: -62px; left: 100%; font-size: 32px; transform: translateX(-50%) scaleX(-1); }
.slide.play .rtruck { animation: truckGo 1.8s .8s cubic-bezier(.4, 0, .2, 1) both; }
@keyframes truckGo { from { left: 0; } }
.rnodes { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: -22px; text-align: center; }
.rn i { font-style: normal; display: grid; place-items: center; margin: 0 auto; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px #fff, 0 0 0 6px #D0D5DD; font-size: 20px; position: relative; }
.rn b { display: block; margin-top: 12px; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.rn small { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.shields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.shd { background: #F8FAFC; border: 1.5px solid #E4E7EC; border-radius: 18px; padding: 18px 10px 16px; text-align: center; }
.shd i { font-style: normal; font-size: 30px; display: grid; place-items: center; width: 50px; height: 50px; margin: 0 auto; border-radius: 14px; background: #fff; box-shadow: var(--sh-s); font-weight: 900; color: #2563EB; }
.shd b { display: block; font-size: 16px; margin-top: 10px; font-weight: 800; line-height: 1.25; }
.mkt { margin-top: 22px; display: flex; align-items: center; gap: 14px; background: #EFF6FF; border-radius: 18px; padding: 14px 18px; }
.mkt i { font-style: normal; font-size: 26px; }
.mkt b { font-size: 24px; font-weight: 800; color: #1D4ED8; letter-spacing: -.02em; }
.mkt span { font-size: 15px; color: #475467; font-weight: 600; }
.mkt em { margin-left: auto; font-style: normal; font-weight: 800; font-size: 20px; color: #1D4ED8; }
.s-biz .close { position: absolute; left: 72px; right: 72px; top: 756px; text-align: center; font-size: 25px; font-weight: 700; color: var(--ink2); letter-spacing: -.01em; }
.s-biz .close em { font-family: var(--serif); font-style: italic; font-weight: 400; color: #059669; font-size: 32px; }
.s-biz .src { bottom: 52px; }

/* ============ backup ============ */
.bk { position: absolute; left: 72px; right: 72px; top: 118px; display: grid; grid-template-columns: 1fr 390px; gap: 30px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--sh-s); }
.tbl th { text-align: left; background: #F8FAFC; padding: 11px 14px; font: 700 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tbl td { padding: 9px 14px; border-top: 1px solid #F2F4F7; vertical-align: top; line-height: 1.35; }
.tbl td:first-child { font-weight: 700; white-space: nowrap; }
.tbl td:last-child { color: var(--muted); font-size: 13.5px; }
.plan { background: #fff; border-radius: 20px; box-shadow: var(--sh-s); padding: 22px 24px; align-self: start; }
.plh { font-weight: 800; font-size: 20px; margin-bottom: 10px; }
.pr { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; padding: 9px 0; border-bottom: 1px solid #F2F4F7; font-size: 15px; }
.pr b { text-align: right; }
.pr span { color: var(--muted); font-weight: 600; }
.ask { margin-top: 18px; background: #F0FDF4; border-radius: 16px; padding: 16px 18px; display: flex; gap: 16px; align-items: center; }
.ask b { font-size: 38px; color: #047857; font-weight: 900; letter-spacing: -.03em; }
.ask span { font-size: 14px; color: #475467; font-weight: 600; }

/* ---------- bottom bar ---------- */
#bar { position: absolute; left: 0; right: 0; bottom: 0; height: 44px; display: flex; align-items: center; gap: 24px; padding: 0 24px; font-size: 13px; color: var(--faint); opacity: .7; transition: opacity .2s; z-index: 60; }
#bar:hover { opacity: 1; }
#bar .bl { display: flex; align-items: center; gap: 8px; }
#bar .bl b { color: #475467; font-weight: 800; letter-spacing: -.01em; }
#bar-no { font: 600 12px var(--mono); margin-left: 6px; }
.segs { flex: 1; display: flex; gap: 5px; height: 5px; }
.segs > div { flex: var(--w); background: #E4E7EC; border-radius: 99px; overflow: hidden; cursor: pointer; }
.segs > div i { display: block; height: 100%; width: 0; background: var(--c); transition: width .4s; }
.segs > div.cur i { animation: blink 1.8s infinite; }
#bar .br { display: flex; align-items: center; gap: 16px; }
.spk { display: flex; align-items: center; gap: 7px; color: #475467; font-weight: 700; }
.spk i { width: 21px; height: 21px; border-radius: 7px; background: var(--sc, #4F46E5); color: #fff; font-style: normal; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.timer { font: 600 12px var(--mono); min-width: 106px; text-align: right; }
#bar .keys { font: 600 11.5px var(--mono); letter-spacing: .04em; }

/* ---------- panels, toast, black ---------- */
.panel { position: absolute; z-index: 80; left: 50%; top: 46%; transform: translate(-50%, -50%); width: 1240px; background: #fff; border-radius: 28px; box-shadow: 0 40px 90px -24px rgba(16, 24, 40, .4), 0 0 0 1px #EAECF0; padding: 24px 28px 26px; display: none; }
.panel.show { display: block; }
.pn-h { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pn-h b { font-size: 24px; letter-spacing: -.02em; }
.pn-h span { color: var(--muted); font-size: 14px; flex: 1; }
.pn-h button { border: 1px solid #E4E7EC; background: #fff; border-radius: 10px; padding: 7px 13px; cursor: pointer; font-weight: 600; }
.sr { display: grid; grid-template-columns: 300px repeat(6, 1fr); gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid #F2F4F7; }
.sr .stl { font-weight: 700; font-size: 15px; }
.sr .stl small { color: var(--faint); font: 600 12px var(--mono); margin-left: 8px; }
.sr button { border: 2px solid #EAECF0; background: #fff; border-radius: 12px; padding: 8px; font-weight: 700; cursor: pointer; color: var(--muted); font-size: 14px; }
.sr button.on { background: var(--sc); border-color: var(--sc); color: #fff; }
#spk-tot { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 16px; }
.tt { background: #F9FAFB; border-radius: 14px; padding: 11px 14px; }
.tt span { display: block; font-size: 13px; color: var(--sc); font-weight: 800; }
.tt b { font: 700 20px var(--mono); }
.tt .bar { height: 6px; background: #EAECF0; border-radius: 99px; margin-top: 6px; overflow: hidden; }
.tt .bar i { display: block; height: 100%; width: var(--w); background: var(--sc); border-radius: 99px; }
#help { width: 820px; }
.keys-grid { display: grid; grid-template-columns: 120px 1fr 120px 1fr; gap: 12px 14px; font-size: 15px; align-items: center; }
.keys-grid kbd { font: 600 13px var(--mono); background: #F2F4F7; border-radius: 8px; padding: 6px 8px; text-align: center; border: 1px solid #E4E7EC; }
#toast { position: absolute; bottom: 70px; left: 50%; transform: translate(-50%, 16px); background: #0B1220; color: #fff; padding: 13px 20px; border-radius: 14px; font-weight: 600; font-size: 16px; opacity: 0; transition: all .3s; z-index: 90; pointer-events: none; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#black { position: fixed; inset: 0; background: #000; z-index: 999; display: none; }
#black.show { display: block; }

/* ---------- overview (O) ---------- */
body.overview #deck .slide { display: block; transform-origin: 0 0; transform: translate(var(--ox), var(--oy)) scale(var(--os, .29)); border-radius: 34px; box-shadow: 0 30px 60px -20px rgba(16, 24, 40, .35), 0 0 0 3px #E4E7EC; cursor: pointer; overflow: hidden; background: var(--bg); }
body.overview #deck .slide * { pointer-events: none !important; }
body.overview #deck .slide.ov-cur { box-shadow: 0 30px 60px -20px rgba(16, 24, 40, .35), 0 0 0 14px #4F46E5; }
body.overview #deck .slide::after { content: attr(data-ovl); position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 36px; background: rgba(255, 255, 255, .94); font: 800 58px var(--font); letter-spacing: -.02em; color: var(--ink); }
body.overview #bar, body.overview #demo-layer { display: none; }

/* ---------- print (?print=1 → PDF) ---------- */
body.print, body.print html { overflow: visible; height: auto; background: #fff; }
body.print #viewport { position: static; overflow: visible; }
body.print #stage { position: relative; transform: none !important; height: auto; overflow: visible; background: none; }
body.print #stage::before { display: none; }
body.print #deck .slide { display: block; position: relative; width: 1600px; height: 900px; overflow: hidden; page-break-after: always;
  background: radial-gradient(1100px 560px at 92% -12%, #EEF0FF 0%, rgba(238, 240, 255, 0) 62%), radial-gradient(900px 520px at -8% 112%, #FFF1F5 0%, rgba(255, 241, 245, 0) 60%), var(--bg); }
body.print #bar, body.print #demo-layer, body.print .panel, body.print #toast, body.print .replay, body.print .hint, body.print .drag, body.print .anom-btn, body.print .livestrip.none { display: none !important; }
body.print *, body.print *::before, body.print *::after, body.still *, body.still *::before, body.still *::after { animation: none !important; transition: none !important; }
.pfoot { position: absolute; left: 0; right: 0; bottom: 0; height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 24px; font-size: 13px; color: var(--faint); }
.pfoot b { color: #475467; }
.pfoot span { font: 600 12px var(--mono); }
.pfoot i { margin-left: auto; font-style: normal; font-weight: 700; color: var(--sc); }
@page { size: 1600px 900px; margin: 0; }

/* ---------- presenter window (?presenter=1) ---------- */
#presenter { display: none; }
body.presenter { background: #F4F5F9; }
body.presenter #viewport { display: none; }
body.presenter #presenter { position: fixed; inset: 0; display: flex; flex-direction: column; }
.pv-h { height: 86px; flex: none; display: flex; align-items: center; gap: 22px; padding: 0 26px; background: #fff; border-bottom: 1px solid #EAECF0; }
.pv-timer b { font: 700 46px var(--mono); letter-spacing: -.02em; }
#pv-delta { margin-left: 12px; font-weight: 700; font-size: 15px; padding: 5px 11px; border-radius: 999px; background: #F2F4F7; color: var(--muted); vertical-align: 12px; }
#pv-delta.ahead { background: #ECFDF5; color: #047857; }
#pv-delta.behind { background: #FEF2F2; color: #B91C1C; }
.pv-tc { display: flex; gap: 8px; }
.pv-tc button, .pv-nav button, .pv-ctx button { font: 700 15px var(--font); padding: 10px 16px; border-radius: 12px; border: 1px solid #E4E7EC; background: #fff; cursor: pointer; color: var(--ink); }
#pv-start { background: #4F46E5; color: #fff; border-color: #4F46E5; }
.pv-where { flex: 1; min-width: 0; }
#pv-no { font: 600 15px var(--mono); color: var(--muted); margin-right: 10px; }
#pv-title { font-size: 22px; letter-spacing: -.01em; }
.pv-spk { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; }
.pv-spk i { width: 40px; height: 40px; border-radius: 12px; background: var(--sc); color: #fff; font-style: normal; display: grid; place-items: center; }
.pv-spk small { font: 600 14px var(--mono); color: var(--muted); }
.pv-main { flex: 1; display: grid; grid-template-columns: 46% 1fr; gap: 20px; padding: 20px; min-height: 0; }
.pv-left { display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.pv-vp { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; box-shadow: var(--sh); background: #fff; flex: none; }
.pv-ctx { display: flex; gap: 8px; flex-wrap: wrap; }
.pv-ctx button { background: #FFF7ED; border-color: #FED7AA; }
.pv-next { background: #fff; border-radius: 16px; padding: 14px 18px; font-size: 17px; display: flex; align-items: center; gap: 10px; box-shadow: var(--sh-s); }
.pv-next span { font: 700 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.pv-next em { margin-left: auto; font-style: normal; font-weight: 800; color: var(--sc); }
.pv-nav { display: flex; gap: 10px; margin-top: auto; }
.pv-nav button { flex: 1; padding: 18px; font-size: 18px; }
.pv-notes { background: #fff; border-radius: 22px; padding: 26px 34px; overflow: auto; font-size: 24px; line-height: 1.55; color: #1D2939; box-shadow: var(--sh-s); }
.pv-notes h3 { margin: 0 0 16px; font: 700 14px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.pv-notes p { margin: 0 0 16px; }
.pv-notes ul { margin: 0 0 16px; padding-left: 26px; }
.pv-notes li { margin-bottom: 8px; }
.pv-notes i { font-style: normal; font-weight: 700; color: #7C3AED; font-size: .78em; }
.pv-notes b { color: #0B1220; background: linear-gradient(transparent 62%, #FEF08A 62%); }
.handover { display: inline-block; margin-top: 6px; background: color-mix(in srgb, var(--sc) 12%, #fff); color: var(--sc); font-weight: 800; font-size: 19px; padding: 9px 15px; border-radius: 12px; }
body.presenter #stage { position: absolute; }

/* agents slide, clicker version: one line + small workflow */
.wf-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.wf-line { font-size: 27px; font-weight: 800; letter-spacing: -.025em; line-height: 1.15; animation: aUp .45s cubic-bezier(.2, .8, .2, 1) both; }
.wf-main .wf-steps { height: auto; flex: none; }
.wf-main .wst { padding: 6px 9px; gap: 2px; border-radius: 12px; opacity: .9; }
.wf-main .wst i { font-size: 15px; }
.wf-main .wst b { font-size: 12px; line-height: 1.2; font-weight: 600; }
.wf-main .wst small { font-size: 9.5px; }
.wf-main .wsa { width: 16px; font-size: 12px; }
.wf-dots { position: absolute; right: 22px; top: 14px; display: flex; gap: 6px; }
.wf-dots i { width: 8px; height: 8px; border-radius: 50%; background: #E4E7EC; }
.wf-dots i.on { background: var(--pc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pc) 22%, transparent); }
.node.coo.sel { border-color: #4F46E5; box-shadow: 0 0 0 7px rgba(79, 70, 229, .16), var(--sh); }
.drag, .anom-btn { display: none; }

/* ============ today's reality (4 bottlenecks) ============ */
.rstat { position: absolute; right: 72px; top: 64px; display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 22px; box-shadow: var(--sh); padding: 14px 24px; }
.rstat b { font-size: 60px; font-weight: 900; color: #E11D48; letter-spacing: -.05em; line-height: 1; }
.rstat > span { font-size: 16px; font-weight: 600; color: var(--ink2); line-height: 1.3; }
.bn { position: absolute; left: 72px; right: 72px; top: 252px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.bnl { position: absolute; left: 4%; right: 4%; top: -20px; height: 4px; background: repeating-linear-gradient(90deg, #FDA4AF 0 14px, transparent 14px 24px); transform-origin: 0 50%; }
.slide.play .bnl { animation: railGo 1.8s .5s cubic-bezier(.4, 0, .2, 1) both; }
.bk4 { position: relative; background: #fff; border-radius: 28px; box-shadow: var(--sh); padding: 30px 26px 26px; height: 460px; display: flex; flex-direction: column; border-top: 6px solid var(--k); }
.bno { position: absolute; top: -20px; left: 26px; width: 40px; height: 40px; border-radius: 50%; background: var(--k); color: #fff; font-weight: 800; font-size: 18px; display: grid; place-items: center; box-shadow: 0 0 0 7px var(--bg); }
.bic { font-size: 62px; width: 112px; height: 112px; border-radius: 30px; background: color-mix(in srgb, var(--k) 10%, #fff); display: grid; place-items: center; margin-top: 10px; }
.slide.play .bic { animation: bicShake .7s both; animation-delay: calc(var(--d) * 1s + .45s); }
@keyframes bicShake { 0% { transform: scale(.6) rotate(-12deg); opacity: 0; } 60% { transform: scale(1.08) rotate(4deg); opacity: 1; } 100% { transform: none; } }
.bk4 b { font-size: 29px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin-top: 26px; }
.bk4 small { font-size: 18px; color: var(--muted); font-weight: 600; margin-top: 10px; }
.bk4 em { margin-top: auto; font-style: normal; font-weight: 800; font-size: 17px; color: var(--k); background: color-mix(in srgb, var(--k) 10%, #fff); padding: 11px 14px; border-radius: 14px; }
/* why now: countdown */
.cd { display: flex; align-items: center; gap: 20px; }
.cd svg { width: 150px; height: 150px; transform: rotate(-90deg); flex: none; }
.cdb { fill: none; stroke: #ECFEFF; stroke-width: 14; }
.cdf { fill: none; stroke: var(--k); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 414.7; stroke-dashoffset: 69; }
.slide.play .cdf { animation: cdGo 1.4s 1.4s cubic-bezier(.4, 0, .2, 1) both; }
@keyframes cdGo { from { stroke-dashoffset: 414.7; } }
.cd b { font-size: 70px; font-weight: 900; color: var(--k); letter-spacing: -.05em; line-height: 1; }
.cd small { display: block; font-size: 17px; color: var(--muted); font-weight: 700; }
