/* ---------- pitch deck ---------- */
.deck-body { overflow: hidden; height: 100vh; }
.deck { height: 100vh; overflow-y: auto; scroll-snap-type: y mandatory; scroll-behavior: smooth; }
.slide { height: 100vh; scroll-snap-align: start; display: grid; place-items: center; padding: 72px clamp(20px, 6vw, 96px) 56px; }
.slide-in { width: min(1120px, 100%); }
.slide h1 { font-size: clamp(40px, 6.5vw, 84px); max-width: 14ch; margin-top: 36px; }
.slide h2 { font-size: clamp(30px, 4.2vw, 52px); max-width: 22ch; margin-bottom: 28px; }
.slide .eyebrow { margin-bottom: 14px; }
.slide p, .slide li, .slide td { color: var(--muted); font-size: clamp(15px, 1.35vw, 18px); line-height: 1.55; }
.slide b { color: var(--text); }
.s-logo { height: 44px; width: auto; }
.s-lede { margin-top: 22px; max-width: 58ch; font-size: clamp(17px, 1.7vw, 22px) !important; color: var(--text) !important; }
.s-meta { margin-top: 40px; font-size: 14px !important; color: var(--muted-2) !important; font-family: var(--mono); }
.s-note { margin-top: 22px; font-size: 14.5px !important; color: var(--muted-2) !important; max-width: 90ch; }
.s-fine { margin-top: 24px; font-size: 12.5px !important; color: var(--muted-2) !important; max-width: 110ch; }
.s-quote { margin-top: 30px; padding-left: 18px; border-left: 3px solid var(--blue); font-size: clamp(16px, 1.5vw, 20px) !important; color: var(--text) !important; max-width: 70ch; }
.s-contact { margin-top: 28px; font-size: clamp(18px, 2vw, 26px) !important; font-weight: 600; }
.s-contact a { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.cols-2.tight { gap: 28px; margin-top: 22px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cols-3 > div { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.cols-3 b { display: block; font-size: 17px; margin-bottom: 8px; }
.cols-3 p { font-size: 15px !important; }
.s-list { list-style: none; display: grid; gap: 10px; }
.s-list li { position: relative; padding-left: 22px; }
.s-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 9px; height: 9px; border-radius: 50%; background: var(--grad); }

.tiles-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tile { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.tile h3 { font-size: 20px; margin-bottom: 10px; }
.tile b { display: block; font-size: 18px; margin-bottom: 8px; }
.tile p { font-size: 15.5px !important; }
.tile-hi { border-color: rgba(20,91,255,.5); background: linear-gradient(180deg, rgba(20,91,255,.14), rgba(255,255,255,.02)); box-shadow: 0 0 80px -30px rgba(20,91,255,.9); }
.tile-dim p { color: var(--muted-2) !important; }
.team { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }

.steps-row { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: s; }
.steps-row li { counter-increment: s; padding: 18px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); display: grid; gap: 6px; }
.steps-row li::before { content: "0" counter(s); font-family: var(--mono); font-size: 12px; color: #8fa8ff; }
.steps-row b { font-size: 18px; }
.steps-row span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }

.s-table { width: 100%; border-collapse: collapse; }
.s-table th { text-align: left; font-size: 12.5px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .06em; padding: 0 12px 12px 0; border-bottom: 1px solid var(--line-2); }
.s-table td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.s-table td:first-child { color: var(--text); font-weight: 600; }

.price-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.price-row > div { padding: 18px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); display: grid; gap: 4px; }
.price-row > div.hi { border-color: rgba(20,91,255,.55); background: linear-gradient(180deg, rgba(20,91,255,.16), rgba(255,255,255,.02)); }
.price-row b { font-size: 15px; }
.price-row span { font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--text); }
.price-row em { font-style: normal; font-size: 13px; color: var(--muted); font-weight: 500; }
.price-row small { font-size: 12.5px; color: var(--muted); line-height: 1.4; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpis > div { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); display: grid; gap: 4px; }
.kpis b { font-size: clamp(26px, 3vw, 40px); letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kpis span { font-size: 13px; color: var(--muted); }
.kpis.small { grid-template-columns: 1fr 1fr; }
.kpis.small b { font-size: 18px; }

.road { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.road li { padding: 18px 20px 0 0; border-top: 1px solid var(--line); position: relative; }
.road li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--grad); }
.road span { font-size: 13px; color: var(--muted-2); font-family: var(--mono); }
.road b { display: block; font-size: 20px; margin: 6px 0 8px; }
.road p { font-size: 14.5px !important; }

/* chrome */
.deck-chrome { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 14px clamp(16px, 3vw, 32px); background: linear-gradient(180deg, rgba(6,9,26,.9), rgba(6,9,26,0)); }
.deck-home img { height: 22px; width: auto; }
.deck-controls { display: flex; align-items: center; gap: 8px; }
.deck-count { font-family: var(--mono); font-size: 13px; color: var(--muted); margin-right: 8px; }
.deck-count b { color: var(--text); }
.deck-btn { display: inline-grid; place-items: center; min-width: 38px; height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(10,15,36,.7); color: var(--text); font: 600 14px var(--font); cursor: pointer; text-decoration: none; }
.deck-btn:hover { border-color: rgba(255,255,255,.3); }
.deck-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: rgba(255,255,255,.08); }
.deck-progress i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .3s ease; }

@media (max-width: 900px) {
  .deck-body { overflow: auto; height: auto; }
  .deck { height: auto; overflow: visible; scroll-snap-type: none; }
  .slide { height: auto; min-height: 100vh; padding: 88px 20px 48px; }
  .cols-2, .cols-3, .tiles-2, .team, .kpis, .road { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr 1fr; }
  .price-row { grid-template-columns: 1fr 1fr 1fr; }
  .s-table { font-size: 14px; }
  .road li { padding-bottom: 22px; }
  .deck-count { display: none; }
}

@media print {
  @page { size: 1280px 720px; margin: 0; }
  html, body { background: #06091a !important; }
  .deck-body { overflow: visible; height: auto; }
  .deck { height: auto; overflow: visible; scroll-snap-type: none; }
  .bg, .deck-chrome, .nav-wrap { display: none !important; }
  .slide { height: 720px; width: 1280px; padding: 64px 80px; page-break-after: always; break-after: page; box-sizing: border-box; background: #06091a; }
  .slide:last-child { page-break-after: auto; }
  .slide-in { width: 1120px; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* architecture slide */
.arch { display: grid; grid-template-columns: 1fr 60px 1fr; gap: 0; align-items: stretch; margin-bottom: 16px; }
.arch-col { padding: 22px 24px; border: 1px solid rgba(20,91,255,.45); border-radius: 16px; background: linear-gradient(180deg, rgba(20,91,255,.12), rgba(255,255,255,.02)); }
.arch-col b { display: block; font-size: 19px; margin-bottom: 8px; }
.arch-col p { font-size: 15px !important; }
.arch-mid { display: grid; place-items: center; }
.arch-mid span { width: 100%; height: 2px; background: var(--grad); position: relative; }
.arch-mid span::after { content: ""; position: absolute; right: -1px; top: -5px; border: 6px solid transparent; border-left: 8px solid var(--cyan); }
.arch-row > div { padding: 16px 18px; }
.arch-row b { font-size: 15.5px; }
.arch-row p { font-size: 13.5px !important; }
.steps-row.five li { padding: 16px 14px; }
.steps-row.five span { font-size: 12.5px; }
@media (max-width: 900px) { .arch { grid-template-columns: 1fr; } .arch-mid { display: none; } }

/* ---------- figures & motion ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.split .s-list { margin-top: 18px; }
.stack { display: grid; gap: 14px; }
.stack > div { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.stack b { display: block; font-size: 16px; margin-bottom: 4px; }
.stack p { font-size: 14px !important; }
.kpis.two { grid-template-columns: 1fr 1fr; }
.kpis.two b { font-size: 30px; }
.fig { width: 100%; height: auto; display: block; }
.fig.wide { margin: 8px 0 4px; }
.s-title, .s-end { position: relative; overflow: hidden; }
.bg-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .9; }
.s-title .slide-in, .s-end .slide-in { position: relative; z-index: 1; }
.s-title h1, .s-end h2 { text-shadow: 0 10px 60px rgba(6,9,26,.9); }

.net-edges path { animation: dash 3s linear infinite; }
.net-nodes circle { animation: twinkle 4s ease-in-out infinite; }
@keyframes twinkle { 0%,100% { opacity: .35 } 50% { opacity: 1 } }
@keyframes dash { to { stroke-dashoffset: -28 } }
.dash { stroke-dasharray: 6 8; animation: dash 1.6s linear infinite; }
.draw { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 1.6s ease-out forwards; }
.draw.d2 { animation-delay: .35s; }
@keyframes draw { to { stroke-dashoffset: 0 } }
.draw-arc { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.4s ease-out forwards; }
.grow { transform-origin: left center; transform: scaleX(0); animation: grow .9s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes grow { to { transform: scaleX(1) } }
.grow-y { transform-origin: center top; transform: scaleY(.6); opacity: 0; animation: growy .7s ease-out forwards; }
@keyframes growy { to { transform: scaleY(1); opacity: 1 } }
.pulse { animation: pulse-svg 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse-svg { 0%,100% { opacity: .75 } 50% { opacity: 1; filter: drop-shadow(0 0 10px rgba(34,211,238,.9)) } }
.float-node { animation: floaty 6s ease-in-out infinite; }
.spin-slow { transform-origin: center; transform-box: fill-box; animation: spin 60s linear infinite; }
.runner { filter: drop-shadow(0 0 8px #22d3ee); }

@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce), print {
  .net-edges path, .net-nodes circle, .dash, .pulse, .float-node, .spin-slow { animation: none !important; }
  .draw, .draw-arc { stroke-dashoffset: 0 !important; animation: none !important; }
  .grow { transform: none !important; animation: none !important; }
  .grow-y { transform: none !important; opacity: 1 !important; animation: none !important; }
  .runner { display: none; }
}
.split.risk { grid-template-columns: 1.6fr 1fr; }
.split.risk .s-table td { font-size: 13.5px; padding: 11px 10px 11px 0; }

/* particle head */
canvas.head { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.head-static { display: none; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.tilt { transform-origin: 260px 120px; animation: tilt 6s ease-in-out infinite; }
@keyframes tilt { 0%,100% { transform: rotate(-4deg) } 50% { transform: rotate(4deg) } }
@media print { canvas.head { display: none; } .head-static { display: block; } .tilt { animation: none; transform: rotate(-4deg); } }
@media (prefers-reduced-motion: reduce) { .tilt { animation: none; } }
.s-title .slide-in h1 { max-width: 10.5ch; } .s-end .slide-in h2 { max-width: 15ch; }
.s-title .s-lede, .s-end .s-lede { max-width: 44ch; }
