/* Investor deck — self-contained (no dive.css dependency). Peel dark theme.
   Human view: slides stacked in a viewer. PDF view: ?slide=N renders one
   slide at exactly 1280x720 for the native PDF exporter (scripts/webdeckpdf). */
:root {
  --bg: #080b12; --panel: #0e1721; --line: #26303e; --line-2: #1c2431;
  --ink: #f5f5f7; --muted: #c4ccd6; --dim: #9aa6b2; --faint: #66707c;
  --teal: #82decf; --blue: #75b7ff; --violet: #b4a3ff;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { overflow-x: clip; }
@supports not (overflow: clip) { html, body.deck { overflow-x: hidden; } }
body.deck { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: var(--blue); }

.deck-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 18px;
  padding: 12px 22px; background: rgba(8, 11, 18, .9); -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-2); }
.deck-top .brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px;
  letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.deck-top .brand .mk { color: var(--teal); font-size: 21px; }
.deck-top .sub { color: var(--dim); font-size: 13px; }
.deck-top .sp { flex: 1; }
.deck-top a.lt { color: var(--dim); font-size: 13px; border: 1px solid var(--line); border-radius: 7px;
  padding: 5px 10px; text-decoration: none; }
.deck-top a.lt:hover { color: var(--ink); }
.deck-dl { background: var(--teal); color: #081915; font-weight: 700; border-radius: 9px;
  padding: 9px 17px; font-size: 14px; text-decoration: none; white-space: nowrap; }
.deck-dl:hover { background: #a2ecdf; }

.deck-viewer { max-width: 1180px; margin: 0 auto; padding: 26px 20px 64px; display: flex;
  flex-direction: column; gap: 24px; }
.slide { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  border: 1px solid var(--line); border-radius: 18px; padding: 62px 66px 78px;
  display: flex; flex-direction: column; justify-content: center;
  background: radial-gradient(120% 130% at 82% 12%, rgba(88, 150, 189, .14), transparent 60%), #0b111b; }
.slide.cover { background: radial-gradient(110% 120% at 78% 20%, rgba(130, 222, 207, .16), transparent 62%), #0a0f18; }
.slide-eyebrow { color: var(--teal); font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  margin-bottom: 22px; }
.slide h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 4.6vw, 60px);
  line-height: 1.05; letter-spacing: -.02em; margin: 0 0 22px; text-wrap: balance; }
.slide.cover h2 { font-size: clamp(38px, 5.6vw, 74px); }
.grad { background-image: linear-gradient(110deg, #8fe9da 5%, #84bfff 62%, #b4a3ff);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.slide-lede { font-size: clamp(16px, 1.75vw, 23px); line-height: 1.62; color: var(--muted); max-width: 940px; }
.slide-lede.big { font-size: clamp(18px, 2vw, 26px); color: #dbe1e9; }

.deck-bullets { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 15px; }
.deck-bullets li { position: relative; padding-left: 28px; font-size: clamp(15px, 1.55vw, 21px);
  line-height: 1.5; color: var(--muted); }
.deck-bullets li::before { content: "◆"; position: absolute; left: 0; top: .28em; color: var(--teal); font-size: 12px; }
.deck-bullets b { color: var(--ink); font-weight: 600; }

.deck-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 4px; }
.deck-stats strong { display: block; font-family: var(--serif); font-weight: 550;
  font-size: clamp(30px, 4.2vw, 54px); letter-spacing: -.03em; color: var(--ink); }
.deck-stats span { display: block; margin-top: 6px; color: var(--dim); font-size: 14px; line-height: 1.4; }

.deck-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.deck-flow > div { position: relative; border: 1px solid var(--line); border-radius: 13px;
  padding: 22px; background: var(--panel); }
.deck-flow > div:not(:last-child)::after { content: "→"; position: absolute; right: -13px; top: 50%;
  transform: translateY(-50%); color: var(--teal); z-index: 1; }
.deck-flow b { display: block; margin-bottom: 9px; color: var(--teal); font-size: 13px; letter-spacing: .04em; }
.deck-flow p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.slide-foot { position: absolute; left: 66px; right: 66px; bottom: 32px; display: flex;
  justify-content: space-between; align-items: center; color: var(--faint); font-size: 12px; }
.slide-foot .fm { color: var(--dim); }
.slide-cta { margin-top: 26px; display: inline-flex; align-items: center; gap: 10px;
  color: var(--teal); font-size: clamp(15px, 1.5vw, 19px); font-weight: 600; }

.site-footer { padding: 26px 22px; border-top: 1px solid var(--line-2); background: #06090f;
  color: var(--faint); font-size: 12px; text-align: center; }
.site-footer a { color: var(--dim); }

/* PDF/solo render mode: one slide, 1280x720, no chrome. */
.deck-solo { background: var(--bg); }
.deck-solo .deck-top, .deck-solo .site-footer { display: none; }
.deck-solo .deck-viewer { max-width: none; margin: 0; padding: 0; gap: 0; }
.deck-solo .deck-viewer > .slide:not(.solo) { display: none; }
.deck-solo .slide.solo { display: flex; width: 1280px; height: 720px; aspect-ratio: auto;
  border: 0; border-radius: 0; margin: 0; }

@media (max-width: 720px) {
  .slide { padding: 30px 26px 60px; aspect-ratio: auto; min-height: 78vw; }
  .slide-foot { left: 26px; right: 26px; bottom: 20px; }
  .deck-stats, .deck-flow { grid-template-columns: repeat(2, 1fr); }
  .deck-flow > div::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
