/* ───────────────────────────────────────────────────────────────
   vidor — processor underwriting deck
   Design system recreated from the existing deck slides:
   white paper, near-black ink, brand purple #e8643c, brand
   orange #c2410c (the wordmark dot), gold highlights on purple
   statement slides, small-caps eyebrows, light card rows.
   Slides are authored at a fixed 1280×720 design space and the
   whole stage is scaled to the viewport (transform only — layout
   math inside slides stays in design units).
   ─────────────────────────────────────────────────────────────── */

:root {
  --purple: #e8643c;
  --purple-deep: #9a3a1c;
  --purple-soft: #f7b267;
  --purple-pale: #fdeee5;
  --orange: #c2410c;
  --gold: #f7b267;
  --ink: #0e0e11;
  --ink-soft: #3a3a41;
  --gray: #66666e;
  --gray-light: #9c9ca4;
  --line: #e8e8ec;
  --card: #f7f7f9;
  --paper: #ffffff;
  --room: #0c0c0f;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; }

body {
  background: var(--room);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* faint presentation-room glow behind the stage */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(55% 70% at 50% 12%, rgba(232, 100, 60, 0.10), transparent 65%),
    radial-gradient(40% 50% at 85% 95%, rgba(194, 65, 12, 0.05), transparent 70%);
  pointer-events: none;
}

/* ── stage ───────────────────────────────────────────────────── */

#stage {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 1280px;
  height: 720px;
  transform: translate(-50%, -50%) scale(var(--s, 1));
}

.slide {
  position: absolute;
  inset: 0;
  background: var(--paper);
  border-radius: 10px;
  overflow: hidden;
  padding: 56px 64px 64px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s var(--ease);
  z-index: 2;
}

/* staggered entrance for elements marked .rv (JS assigns --i) */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.slide .rv { opacity: 0; }
.slide.is-active .rv {
  animation: rise 0.6s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 70ms);
}

@media (prefers-reduced-motion: reduce) {
  .slide .rv { opacity: 1; }
  .slide.is-active .rv { animation: none; }
  .slide { transition: none; }
}

/* ── shared primitives ───────────────────────────────────────── */

.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  flex: none;
}
.eyebrow.plain { color: var(--gray); }
.eyebrow.plain::before { display: none; }

h1.headline {
  font-size: 44px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.022em;
  margin-bottom: 18px;
}

.sub {
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 780px;
}
.sub strong { font-weight: 700; color: var(--ink); }
.sub .pp { color: var(--purple); font-weight: 600; }

p.memo {
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 1090px;
}
p.memo + p.memo { margin-top: 14px; }
p.memo strong { color: var(--ink); }

.footnote {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--gray-light);
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.tbd {
  display: inline-block;
  vertical-align: 2px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 7px;
  margin-left: 6px;
  border-radius: 5px;
  background: #fff3d4;
  color: #8a5d00;
  border: 1px solid #f0d48a;
}

/* slide footer (injected by deck.js) */
.slide-footer {
  position: absolute;
  left: 64px;
  right: 64px;
  bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.slide-footer .wm { height: 15px; width: auto; display: block; color: var(--ink); }
.slide-footer .conf {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--gray-light);
}
.slide--purple .slide-footer .conf { color: rgba(255, 255, 255, 0.62); }
.slide--purple .slide-footer .wm { color: #fff; }

/* ── card rows (fraud / conduct slides) ──────────────────────── */

.rows { display: flex; flex-direction: column; gap: 12px; }
.rows.tight { gap: 9px; }
.rows.tight .row { padding: 10px 22px 10px 14px; }
.row {
  display: grid;
  grid-template-columns: 44px 178px 1fr;
  align-items: center;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 15px 22px 15px 16px;
}
.row .ic {
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--ink);
  border-radius: 11px;
  display: grid;
  place-items: center;
}
.row .ic svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.row .lbl { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.row .dsc { font-size: 13.5px; line-height: 1.5; color: var(--gray); }
.row .dsc b { color: var(--ink-soft); font-weight: 600; }

.darkpill {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 13px;
  padding: 15px 22px;
  font-size: 13px;
  line-height: 1.5;
}
.darkpill .spark { color: var(--gold); flex: none; width: 18px; height: 18px; }
.darkpill b { color: var(--gold); font-weight: 700; }

/* ── purple statement slide ──────────────────────────────────── */

.slide--purple { background: var(--purple); }
.slide--purple .mini-caps {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(14, 14, 17, 0.75);
  margin-bottom: 22px;
}
.slide--purple .eyebrow { color: rgba(14, 14, 17, 0.75); }
.slide--purple .eyebrow::before { background: var(--gold); }
.statement {
  font-size: 64px;
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 1080px;
}
.statement .hl { color: #fff; }
.pills { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.pill {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  padding: 9px 18px;
}

/* ── cover ───────────────────────────────────────────────────── */

#cover .wordmark { width: 440px; height: auto; color: var(--ink); display: block; margin: 158px 0 0 2px; }
@keyframes dotIn { from { r: 0; } to { r: 7; } }
#cover .wordmark circle { animation: dotIn 0.55s var(--ease) 0.65s backwards; }
/* pulse echo on the dot, ported from vidor.link's hero logo */
#cover .wordmark .echo {
  animation: dotIn 0.55s var(--ease) 0.65s backwards, dotPulse 2s ease-in-out 1.4s infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
@media (prefers-reduced-motion: reduce) {
  #cover .wordmark .echo { animation: none; }
}
#cover .coverrow {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-top: 96px;
}
#cover .tagline {
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.25;
  max-width: 620px;
}
#cover .tagline .pp { color: var(--purple); }
#cover .covernote {
  font-size: 13px;
  color: var(--ink-soft);
  text-align: right;
  padding-bottom: 7px; /* optically sit on the tagline's last baseline */
}

/* ── split layouts ───────────────────────────────────────────── */

.cols { display: grid; gap: 48px; align-items: start; }
.cols-2 { grid-template-columns: 1fr 1fr; }
.cols-38-62 { grid-template-columns: 38fr 58fr; }
.cols-44-56 { grid-template-columns: 44fr 52fr; }
.cols-55-45 { grid-template-columns: 55fr 41fr; }

/* ── steps (how-it-works) ────────────────────────────────────── */

.steps { display: flex; flex-direction: column; gap: 13px; counter-reset: step; }
.step { display: grid; grid-template-columns: 30px 1fr; gap: 14px; }
.step .n {
  counter-increment: step;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--purple-pale);
  color: var(--purple-deep);
  font-size: 12.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.step .n::before { content: counter(step); }
.step h3 { font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 2px; }
.step p { font-size: 12.5px; line-height: 1.5; color: var(--gray); }
.step p b { color: var(--ink-soft); font-weight: 600; }

/* ── device frames + embeds ──────────────────────────────────── */

.demo-wrap { position: relative; }
.demo-caption {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gray-light);
  text-align: center;
  margin-top: 12px;
}
.device {
  position: relative;
  background: #0a0a0c;
  overflow: hidden;
  margin: 0 auto;
}
.device .embed-slot { position: absolute; overflow: hidden; background: #fafaf9; }

/* fan demo renders its own iOS bezel — bare slot at the device's
   native 390×844, scaled, no extra frame */
.embed-slot.bare-phone {
  position: relative;
  width: 235px;
  height: 508px;
  margin: 0 auto;
  border-radius: 32px;
  overflow: hidden;
  background: #fafaf9;
  box-shadow: 0 18px 44px rgba(14, 14, 17, 0.20);
}
.device.laptop {
  /* inner slot 624×416 — exactly 3:2, the demo's native aspect,
     so the scaled iframe fills it with no letterboxing */
  width: 640px;
  height: 442px;
  border-radius: 16px;
  border: 8px solid #161619;
  border-bottom-width: 18px;
  box-shadow: 0 22px 54px rgba(14, 14, 17, 0.25);
}
.device.laptop .embed-slot { inset: 0; border-radius: 8px; background: #000; }
.embed-slot .loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gray-light);
  background:
    linear-gradient(100deg, transparent 35%, rgba(232, 100, 60, 0.06) 50%, transparent 65%) 0 0 / 200% 100%,
    #f8f4f2;
  animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0, 0 0; } }
.embed-slot.loaded .loading { display: none; }
.embed-slot iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; background: transparent; }

/* ── quote wall ──────────────────────────────────────────────── */

.quotes-head { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: end; margin-bottom: 26px; }
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; align-items: start; }
.qcol { display: flex; flex-direction: column; gap: 13px; }
.quote {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 16px 18px;
}
.quote p { font-size: 12.8px; line-height: 1.5; color: var(--ink-soft); font-weight: 500; }
.quote .who { display: block; margin-top: 9px; font-size: 11px; font-weight: 700; letter-spacing: 0.02em; color: var(--gray-light); }
.quote.feature { background: var(--purple); border-color: var(--purple); }
.quote.feature p { color: #fff; font-weight: 600; }
.quote.feature .who { color: rgba(255, 255, 255, 0.75); }

/* ── pie + ramp chart slides ─────────────────────────────────── */

.chart-num { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.chart-lab { font-size: 12.5px; font-weight: 500; fill: var(--gray); }

.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--purple-deep);
  background: var(--purple-pale);
  border-radius: 999px;
  padding: 8px 15px;
}

table.ramp { width: 100%; border-collapse: collapse; }
table.ramp th {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-light);
  text-align: right;
  padding: 0 8px 9px;
  border-bottom: 1px solid var(--line);
}
table.ramp th:first-child { text-align: left; padding-left: 2px; }
table.ramp td {
  font-size: 14px;
  padding: 9.5px 8px;
  text-align: right;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
table.ramp td:first-child { text-align: left; color: var(--gray-light); font-weight: 600; padding-left: 2px; }
table.ramp tr.now td { color: var(--purple); font-weight: 700; }

/* slide 15: GMV ramp (chart + table left, stat cards right) */
#ramp .ramp-grid { display: grid; grid-template-columns: 1fr; margin-top: 8px; }
#ramp .ramp-left { display: flex; flex-direction: column; }
#ramp #rampSvg { display: block; }
#ramp .ramp-legend { display: flex; gap: 26px; margin: 4px 0 14px; font-size: 12px; color: var(--gray); }
#ramp .rl-item { display: inline-flex; align-items: center; gap: 8px; }
#ramp .rl-line { width: 22px; height: 3px; border-radius: 2px; background: var(--purple); }
#ramp .rl-dash { width: 22px; height: 0; border-top: 2px dashed var(--purple-soft); }

#ramp .gmv-tbl { width: 100%; border-collapse: collapse; }
#ramp .gmv-tbl th { font-size: 11.5px; font-weight: 700; color: var(--ink-soft); text-align: center; padding: 7px 4px; border-bottom: 1px solid var(--line); }
#ramp .gmv-tbl th:first-child { text-align: left; }
#ramp .gmv-tbl td { font-size: 13px; text-align: center; padding: 7px 4px; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
#ramp .gmv-tbl td.rh { text-align: left; font-weight: 700; color: var(--ink); white-space: nowrap; padding-right: 12px; }
#ramp .gmv-tbl tr.gmv td { font-weight: 700; color: var(--purple); }
#ramp .gmv-tbl tr.gmv td.rh { color: var(--ink); }
#ramp .gmv-tbl tr:last-child td { border-bottom: 0; }
#ramp .gmv-tbl .hl { background: var(--purple-pale); }

#ramp .ramp-foot { margin-top: 14px; font-size: 11px; line-height: 1.5; color: var(--gray-light); font-style: italic; max-width: none; }

#ramp .ramp-right { display: flex; flex-direction: column; gap: 14px; }
#ramp .rstat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
#ramp .rstat-fig { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; color: var(--purple); line-height: 1; }
#ramp .rstat-lab { font-size: 13.5px; font-weight: 700; color: var(--ink); margin-top: 10px; }
#ramp .rstat-sub { font-size: 12.5px; line-height: 1.45; color: var(--gray); margin-top: 4px; }
#ramp .rnote { margin-top: 4px; padding-top: 2px; }
#ramp .rnote-head { font-size: 15px; font-weight: 700; color: var(--purple); letter-spacing: -0.01em; }
#ramp .rnote-body { font-size: 12.8px; line-height: 1.5; color: var(--ink-soft); margin-top: 6px; }

/* ── why-now v3 (slide 02: two labeled evidence cards) ───────── */

.wn-band { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; margin-top: 24px; }
.wn-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 20px 24px 16px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.wn-kicker {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gray);
}
.wn-cap {
  margin-top: auto;
  padding-top: 12px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 600;
}
.wn-cap.dim { color: var(--ink-soft); font-weight: 600; font-size: 11.5px; }

/* left card — OnlyFans non-sub share, stacked bars */
.wn-key { display: flex; align-items: center; gap: 16px; font-size: 11.5px; color: var(--gray); margin: 10px 0 4px; }
.wn-key span { display: inline-flex; align-items: center; gap: 6px; }
.wn-key i { width: 11px; height: 11px; border-radius: 3.5px; }
.wn-key i.ns { background: var(--purple); }
.wn-key i.tot { background: #fff; border: 1px solid #d9d9e0; }
.wn-key .kr { margin-left: auto; }
.wn-key .kr b { color: var(--ink); font-weight: 700; }
.ofshare { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 6px; }
.ofcol { display: flex; flex-direction: column; align-items: center; }
.ofcol .barzone { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 222px; }
.ofcol .pct { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.ofcol.now .pct { font-size: 24px; color: var(--purple); letter-spacing: -0.02em; }
.ofcol .trk { width: 68px; background: #fff; border: 1px solid #e0e0e7; border-radius: 8px; position: relative; }
.ofcol .trk i { position: absolute; left: 3px; right: 3px; bottom: 3px; border-radius: 5px; background: var(--purple-soft); }
.ofcol.now .trk i { background: var(--purple); }
.ofcol .fy { margin-top: 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--gray-light); }
.ofcol .nsv { margin-top: 5px; font-size: 13.5px; font-weight: 700; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.ofcol .ttv { margin-top: 1px; font-size: 12px; color: var(--gray-light); font-variant-numeric: tabular-nums; }
.ofcol.now .nsv { color: var(--purple); }

/* right card — revenue-mix donut + legend */
.wn-mix { display: flex; align-items: center; gap: 32px; margin-top: 20px; }
.wn-mix svg { flex: none; }
.mixlegend { flex: 1; min-width: 0; }
.mlrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}
.mlrow:last-child { border-bottom: 0; }
.mlrow i { width: 12px; height: 12px; border-radius: 4px; flex: none; transition: transform 0.15s var(--ease); }
.mlrow b { margin-left: auto; font-size: 15px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
/* hover link between donut segments and legend rows */
.mlrow { cursor: default; transition: color 0.15s var(--ease); }
.mlrow.on { color: var(--ink); }
.mlrow.on i { transform: scale(1.3); }
#pieSvg path { cursor: pointer; transition: opacity 0.18s var(--ease), transform 0.18s var(--ease); transform-origin: 130px 130px; }
#pieSvg.hot path { opacity: 0.3; }
#pieSvg.hot path.on { opacity: 1; transform: scale(1.05); }
#pieSvg .mix-pct { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; }
#pieSvg .mix-lab { font-size: 13px; font-weight: 600; fill: var(--gray); }
#pieSvg .mix-pct, #pieSvg .mix-lab { opacity: 0; transition: opacity 0.18s var(--ease); pointer-events: none; }
#pieSvg.hot .mix-pct, #pieSvg.hot .mix-lab { opacity: 1; }

/* ── dispute waterfall ───────────────────────────────────────── */

.fall { display: flex; flex-direction: column; gap: 11px; }
.fall .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
  border-radius: 11px;
  padding: 13px 18px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.fall .bar small { font-weight: 500; font-size: 11.5px; opacity: 0.82; letter-spacing: 0; white-space: nowrap; }
.fall .b1 { width: 100%; background: var(--purple-deep); }
.fall .b2 { width: 86%;  background: var(--purple); }
.fall .b3 { width: 71%;  background: #ef8a4f; }
.fall .b4 { width: 57%;  background: var(--purple-soft); color: var(--ink); }
.fall .b4 small { opacity: 0.6; }
.fall .b5 { width: 42%;  background: #e9e9ee; color: var(--gray); }
.bigstat { font-size: 52px; font-weight: 700; letter-spacing: -0.03em; color: var(--purple); line-height: 1; margin-bottom: 12px; }

.statcard {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}
.statcard .k { font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-light); display: block; margin-bottom: 3px; }
.statcard .v { font-size: 16px; font-weight: 700; letter-spacing: 0.04em; }

/* ── numbered blocks (structurally low-risk) ─────────────────── */

.blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
}
.block .bn { font-size: 13px; font-weight: 700; color: var(--purple); display: block; margin-bottom: 10px; }
.block h3 { font-size: 16.5px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 7px; }
.block p { font-size: 12.8px; line-height: 1.52; color: var(--gray); }
.block p b { color: var(--ink-soft); font-weight: 600; }
.block.accent { background: var(--purple-pale); border-color: var(--purple-soft); }

/* ── verify cards (compliance identity) ──────────────────────── */

.vcard { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px; }
.vcard h3 { font-size: 12px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--purple-deep); margin-bottom: 16px; }
.vlist { display: flex; flex-direction: column; gap: 12px; }
.vitem { display: grid; grid-template-columns: 22px 1fr; gap: 11px; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }
.vitem b { font-weight: 700; color: var(--ink); }
.vitem .ck {
  width: 18px; height: 18px; margin-top: 1px;
  border-radius: 6px;
  background: var(--purple);
  display: grid; place-items: center;
}
.vitem .ck svg { width: 10px; height: 10px; stroke: #fff; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ── swap-stack carousel (Calendly-style depth swap) ─────────── */

.swap-stack {
  position: relative;
  width: 600px;
  height: 484px;
  cursor: pointer;
}
.swap-card {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 536px;
  height: 424px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(14, 14, 17, 0.16);
  transition: transform 0.75s var(--ease), opacity 0.55s var(--ease);
  will-change: transform;
}
/* p = distance from the front of the stack; front card sits flat,
   the next two peek up-right Calendly-style, the rest hide */
.swap-card[data-p="0"] { transform: none; z-index: 5; opacity: 1; }
.swap-card[data-p="1"] { transform: translate(32px, -30px) scale(0.965); z-index: 4; opacity: 1; }
.swap-card[data-p="2"] { transform: translate(58px, -54px) scale(0.93); z-index: 3; opacity: 0.9; }
.swap-card[data-p="3"],
.swap-card[data-p="4"],
.swap-card[data-p="5"] { transform: translate(58px, -54px) scale(0.93); z-index: 2; opacity: 0; }

.swap-card .embed-slot { position: absolute; inset: 0; background: #fff; }

/* placeholder innards until the real HTML files land */
.swap-card .ph { padding: 28px 30px; }
.swap-card .ph .ph-step {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.13em;
  text-transform: uppercase; color: var(--purple); margin-bottom: 10px;
}
.swap-card .ph .ph-title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 18px; }
.swap-card .ph .ph-bar { height: 13px; border-radius: 7px; background: var(--card); border: 1px solid var(--line); margin-bottom: 10px; }

/* ── money flow ──────────────────────────────────────────────── */

.flow { display: grid; grid-template-columns: 1fr 26px 1fr 26px 1fr 26px 1fr; align-items: stretch; gap: 8px; }
.fnode { background: var(--card); border: 1px solid var(--line); border-radius: 13px; padding: 16px 16px 14px; }
.fnode h4 { font-size: 13.5px; font-weight: 700; margin-bottom: 5px; letter-spacing: -0.01em; }
.fnode p { font-size: 11.5px; line-height: 1.45; color: var(--gray); }
.fnode.hot { background: var(--purple-pale); border-color: var(--purple-soft); }
.farrow { display: grid; place-items: center; color: var(--purple); font-size: 17px; font-weight: 700; }

.minicards { display: flex; flex-direction: column; gap: 12px; }
.minicard { border: 1px solid var(--line); border-radius: 13px; padding: 14px 18px; }
.minicard h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--purple-deep); margin-bottom: 5px; }
.minicard p { font-size: 12.5px; line-height: 1.5; color: var(--gray); }
.minicard p b { color: var(--ink-soft); font-weight: 600; }

/* ── team ────────────────────────────────────────────────────── */

.tcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tcard { background: var(--card); border: 1px solid var(--line); border-radius: 13px; padding: 20px; display: flex; gap: 16px; align-items: flex-start; }
.tcard .ava {
  width: 52px; height: 52px; flex: none;
  border-radius: 16px;
  background: var(--purple);
  color: #fff;
  font-size: 17px; font-weight: 700;
  display: grid; place-items: center;
}
.tcard.ghost .ava { background: var(--purple-pale); color: var(--purple-deep); }
.tcard h3 { font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em; }
.tcard .role { font-size: 11.5px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--purple); margin: 2px 0 7px; }
.tcard p { font-size: 12.3px; line-height: 1.5; color: var(--gray); }

/* ── ask slide ───────────────────────────────────────────────── */

.asklist { display: flex; flex-direction: column; }
.askrow {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 12.5px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 13.8px;
  line-height: 1.45;
}
.askrow:first-child { border-top: 1px solid var(--line); }
.askrow .k { font-weight: 700; letter-spacing: -0.01em; }
.askrow .v { color: var(--gray); }
.askrow .v b { color: var(--ink-soft); font-weight: 600; }
.askrow.contact .v { color: var(--ink); font-weight: 600; }
.askrow.contact .v a { color: var(--purple); text-decoration: none; }

/* ── HUD / chrome ────────────────────────────────────────────── */

#bar {
  position: fixed;
  left: 0; top: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--purple), var(--orange));
  z-index: 50;
  transition: width 0.45s var(--ease);
}

#hud {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(18, 18, 22, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 6px 10px;
  z-index: 60;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
#hud.hidden { opacity: 0; transform: translateX(-50%) translateY(8px); pointer-events: none; }
#hud button {
  appearance: none;
  background: none;
  border: 0;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s;
}
#hud button:hover { background: rgba(255, 255, 255, 0.12); }
#hud button svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#hud #cnt {
  color: rgba(255, 255, 255, 0.85);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0 10px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

#hint {
  position: fixed;
  left: 50%;
  bottom: 76px;
  transform: translateX(-50%);
  background: rgba(18, 18, 22, 0.88);
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  border-radius: 999px;
  padding: 7px 15px;
  z-index: 60;
  opacity: 0;
  animation: hintIn 5s var(--ease) 1.2s;
  pointer-events: none;
}
@keyframes hintIn { 0%, 100% { opacity: 0; } 12%, 80% { opacity: 1; } }

/* ── v2: partner logos, side-by-side demos, 3-up team, email mock ── */

.plogo { position: absolute; top: 52px; right: 64px; display: flex; align-items: center; }
.plogo img { display: block; width: auto; }

.embed-slot.bare-phone.sm { width: 177px; height: 380px; border-radius: 24px; }
.device.laptop.sm { width: 594px; height: 396px; } /* 3:2, shares height with the phone card */

/* every embedded demo is an exhibit, not a widget: block all
   interaction so the browser's autofill UI (saved cards, addresses)
   can never anchor to inputs inside them — and clicks pass through
   to the deck (e.g. the carousel's click-to-advance) */
.embed-slot iframe { pointer-events: none; }

/* ── slide 5 (solution): balanced demo pair with a numbered flow ── */
#solution .eyebrow { margin-bottom: 14px; }
#solution .sol-row { display: flex; align-items: flex-start; justify-content: center; gap: 40px; margin-top: 12px; }
#solution .sol-step { display: flex; flex-direction: column; }
#solution .sol-stage { width: 213px; height: 396px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; display: grid; place-items: center; }
#solution .sol-chevron { color: var(--orange); font-size: 50px; font-weight: 800; line-height: 1; margin-top: 173px; }
#solution .sol-cap { margin-top: 14px; }
#solution .sol-step:first-child .sol-cap { max-width: 213px; }
#solution .sol-step:last-child .sol-cap { max-width: 594px; }
#solution .sol-cap-head { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
#solution .sol-num { width: 20px; height: 20px; border-radius: 50%; background: var(--purple); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; letter-spacing: 0; flex: none; }
#solution .sol-cap-sub { font-size: 12.5px; line-height: 1.5; color: var(--gray); margin-top: 6px; }
#solution .live-pill { position: absolute; top: 8px; left: 8px; z-index: 3; display: flex; align-items: center; gap: 5px; background: var(--purple-pale); color: var(--purple-deep); font-size: 9.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; padding: 3px 8px 3px 6px; border-radius: 999px; }
#solution .live-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex: none; }
#solution.is-active .live-pill i { animation: livePulse 1.6s ease-in-out infinite; }
@keyframes livePulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(1.4); } }
@media (prefers-reduced-motion: reduce) { #solution .live-pill i { animation: none; } }

/* ── intro trio (market / problem / solution) ── */
/* solution: bold full-bleed purple statement, vertically centered,
   with a faint orbit ring + orange dot bleeding off the bottom-right */
#solution-intro { display: flex; flex-direction: column; overflow: hidden;
  background: radial-gradient(135% 120% at 16% 6%, #ef8a4f 0%, var(--purple) 46%, #9a3a1c 100%); }
#solution-intro .stmt-block { margin-top: auto; margin-bottom: auto; }
#solution-intro .stmt-kicker { font-size: 26px; font-weight: 600; letter-spacing: -0.01em; color: rgba(14, 14, 17, 0.7); margin-bottom: 14px; }
#solution-intro .statement { max-width: 940px; }
#solution-intro .statement .dot { color: var(--orange); }
#solution-intro .orbit { position: absolute; right: -46px; bottom: -52px; width: 384px; height: 384px; pointer-events: none; }

/* problem: personas left, competitor panel right */
#problem { display: flex; flex-direction: column; }
#problem .prob-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; margin-top: 22px; }
#problem .prob-personas { display: flex; flex-direction: column; gap: 24px; }
#problem .persona { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--purple); border-radius: 18px; padding: 28px 30px; flex: 1 1 0; display: flex; flex-direction: column; }
#problem .persona:last-child { border-left-color: var(--purple-soft); }
#problem .p-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--purple-pale); display: grid; place-items: center; margin-bottom: 16px; }
#problem .p-ic svg { width: 22px; height: 22px; stroke: var(--purple); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#problem .persona h3 { font-size: 22px; font-weight: 700; color: var(--purple); letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 8px; }
#problem .persona p { font-size: 16px; line-height: 1.45; color: var(--ink-soft); }
#problem .prob-panel { background: #fbf5f2; border: 1px solid var(--line); border-radius: 18px; padding: 36px 38px; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-start; }
#problem .pp-head { font-size: 24px; font-weight: 700; color: var(--purple); letter-spacing: -0.018em; line-height: 1.2; }
#problem .pp-sub { font-size: 16px; line-height: 1.5; color: var(--ink-soft); margin-top: 12px; max-width: 470px; }
/* logo wall: fill the remaining panel height and vertically center the two
   rows so the grid stops floating orphaned in the lower panel (spec step 6/7);
   uniform cells with generous whitespace read as a calm "existing landscape"
   rather than out-shouting the personas. Logos kept in color per the later
   7-logo addition (grayscale turned the Fanfix square into a dark blob). */
#problem .logo-grid { display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: 16px; margin-top: 24px; flex: 1; }
#problem .lg-cell { background: #fff; border: 1px solid var(--line); border-radius: 14px; width: 100px; height: 84px; display: grid; place-items: center; padding: 0 14px; }
#problem .lg-cell img { max-width: 76px; max-height: 26px; width: auto; height: auto; object-fit: contain; }
#problem .lg-cell img[alt="Fanfix"] { max-height: 36px; max-width: 36px; }
#problem .lg-cell img[alt="Patreon"] { max-height: 32px; max-width: 32px; }

/* market: title + paragraph + hero stat at top, weighted drifting
   interest-cloud underneath (size + weight + opacity all encode reach) */
#market { display: flex; flex-direction: column; }
#market .mkt-stat { margin-top: 22px; }
#market .ms-fig { font-size: 46px; font-weight: 600; letter-spacing: -0.025em; line-height: 1; }
#market .ms-fig .a { color: var(--ink); }
#market .ms-fig .arw { color: var(--gray); margin: 0 12px; font-weight: 500; }
#market .ms-fig .b { color: var(--purple); }
#market .ms-cap { font-size: 13px; font-weight: 500; color: var(--gray); margin-top: 10px; }
#market .pill-cloud { position: relative; flex: 1; margin-top: 22px; }

#market .mp { position: absolute; display: inline-flex; align-items: center; border-radius: 999px; white-space: nowrap; letter-spacing: -0.01em;
  font-size: 16px; font-weight: 500; padding: 10px 19px; opacity: 0.92;
  background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 8px 20px rgba(14, 14, 17, 0.06); }
#market .mp.lg { font-size: 22px; font-weight: 600; padding: 13px 24px; opacity: 1;
  background: var(--purple); color: #fff; border: none; box-shadow: 0 12px 28px rgba(232, 100, 60, 0.30); }
#market .mp.sm { font-size: 13px; font-weight: 500; padding: 7px 14px; opacity: 0.55; box-shadow: none; border-color: #eef0f2; }
/* gentle out-of-sync drift (left-right + a little up-down) so the cloud floats */
@keyframes mpFloat {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(var(--dx, 5px), calc(-1 * var(--amp, 6px))); }
  50%  { transform: translate(0, 0); }
  75%  { transform: translate(calc(-1 * var(--dx, 5px)), var(--amp, 6px)); }
  100% { transform: translate(0, 0); }
}
#market.is-active .mp { animation-name: mpFloat; animation-timing-function: ease-in-out; animation-iteration-count: infinite; }
@media (prefers-reduced-motion: reduce) { #market.is-active .mp { animation: none; } }
/* solution-intro: two value cards (sibling to #problem personas) */
#solution-intro .vstack { display: flex; flex-direction: column; gap: 16px; }
#solution-intro .vcard {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--purple);
  border-radius: 16px;
  padding: 20px 22px;
}
#solution-intro .vcard:last-child { border-left-color: var(--purple-soft); }
#solution-intro .v-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--purple-pale); display: grid; place-items: center; flex: none; }
#solution-intro .v-ic svg { width: 22px; height: 22px; stroke: var(--purple); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
#solution-intro .v-lead { font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--ink); letter-spacing: -0.01em; }
#solution-intro .v-sub { font-size: 14px; line-height: 1.5; color: var(--gray); margin-top: 5px; }

.ccard { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; box-shadow: 0 14px 40px rgba(14, 14, 17, 0.08); }
.ccard-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.ccard-ava { width: 54px; height: 54px; border-radius: 16px; background: var(--purple); color: #fff; font-size: 18px; font-weight: 700; display: grid; place-items: center; flex: none; }
.ccard-name { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.ccard-role { font-size: 12.5px; color: var(--gray); margin-top: 2px; }
.ccard-cta { display: block; text-align: center; background: var(--purple); color: #fff; font-size: 14.5px; font-weight: 700; padding: 12px; border-radius: 11px; margin-bottom: 14px; }
.ccard-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--gray); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ccard-meta b { color: var(--ink); font-weight: 700; }
.ccard-quote { font-size: 13px; line-height: 1.5; color: var(--ink-soft); margin-top: 14px; font-style: italic; }

/* ── slide 11 (compliance): controls spec grid ── */
#compliance-conduct .cgrid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 44px; row-gap: 52px; margin-top: 52px; }
#compliance-conduct .citem { border-top: 1px solid var(--line); padding-top: 18px; }
#compliance-conduct .citem h3 { font-size: 15.5px; font-weight: 700; letter-spacing: -0.012em; color: var(--ink); margin-bottom: 7px; }
#compliance-conduct .citem p { font-size: 12.8px; line-height: 1.52; color: var(--gray); }

.tcards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.tcards3 .tcard { flex-direction: column; gap: 14px; padding: 26px 28px; align-items: stretch; }
.tcards3 .tcard h3 { font-size: 16.5px; }
.tcards3 .tcard p { font-size: 12.4px; }
.tcard .clients { margin-top: 10px; } /* same color/size as the bio paragraphs above it */
.tcard img.ava { width: 72px; height: 72px; object-fit: cover; border-radius: 18px; background: var(--purple-pale); padding: 0; }

/* booking-confirmation email replica (slide: after the fact) */
.email-card {
  width: 432px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 26px 60px rgba(14, 14, 17, 0.14);
  padding: 22px 28px 18px;
}
.email-card .em-wm { height: 13px; width: auto; color: var(--ink); display: block; margin-bottom: 13px; }
.email-card .em-rule { height: 1px; background: var(--line); margin-bottom: 14px; }
.email-card .em-title { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; color: var(--purple); }
.email-card .em-ref { font-size: 9px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-light); margin: 4px 0 12px; }
.email-card table { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.email-card th { font-size: 9px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); text-align: left; padding: 7px 8px; background: var(--card); }
.email-card th:last-child, .email-card td:last-child { text-align: right; }
.email-card td { font-size: 12px; padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.email-card td small { display: block; color: var(--gray); font-size: 10.5px; margin-top: 2px; font-weight: 400; }
.email-card .em-paid td { border-bottom: 0; font-weight: 700; padding: 7px 8px 0; }
.email-card .em-paid td:first-child { text-align: right; color: var(--gray); font-weight: 600; font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 10px; }
.email-card .em-greet { font-size: 11.5px; color: var(--ink); margin-bottom: 5px; }
.email-card .em-lead { font-size: 11.5px; line-height: 1.5; color: var(--ink); margin-bottom: 11px; }
.email-card .em-lead b { font-weight: 600; }
.email-card .em-ctawrap { text-align: center; margin: 2px 0 7px; }
.email-card .em-cta { display: inline-block; background: #09090b; color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: 0.01em; padding: 8px 18px; border-radius: 8px; }
.email-card .em-cap { font-size: 9.5px; line-height: 1.45; color: var(--gray-light); text-align: center; margin-bottom: 12px; }
.email-card .em-sign { font-size: 11.5px; line-height: 1.5; color: var(--ink); margin-bottom: 12px; }
.email-card .em-sign b { font-weight: 600; }
.email-card .em-sec { font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); margin-bottom: 4px; }
.email-card .em-note { font-size: 11.5px; line-height: 1.5; color: var(--ink-soft); margin-bottom: 13px; }
.email-card .em-foot { font-size: 10.5px; line-height: 1.55; text-align: center; color: var(--gray); border-top: 1px solid var(--line); padding-top: 11px; }

.email-card .em-foot b { color: var(--ink-soft); }
.email-card .em-legal { font-size: 9px; text-align: center; color: var(--gray-light); margin-top: 7px; }

/* slide 11 — receipt callouts (labels beside the card, dotted leaders pointing at it) */
#fraud-after .rc-card { position: absolute; top: 150px; left: 480px; }
#fraud-after .rc-co { position: absolute; left: 150px; right: 852px; text-align: left; white-space: nowrap; }
#fraud-after .rc-co.right { left: 892px; right: 64px; text-align: left; }
#fraud-after .rc-l { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
#fraud-after .rc-s { font-size: 12px; line-height: 1.45; color: var(--gray); margin-top: 3px; }
#fraud-after .rc-s b { font-weight: 600; color: var(--ink-soft); }
#fraud-after .rc-leads { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#fraud-after .rc-leads polyline {
  fill: none;
  stroke: var(--purple-soft);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 0.1 5;
}
#fraud-after .rc-leads circle { fill: var(--purple); }
#fraud-after .rc-lead { opacity: 0; }
#fraud-after.is-active .rc-lead {
  animation: rcLeadIn 0.7s var(--ease) both;
  animation-delay: calc(0.4s + var(--i, 0) * 90ms);
}
@keyframes rcLeadIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  #fraud-after .rc-lead { opacity: 1; }
  #fraud-after.is-active .rc-lead { animation: none; }
}

/* ── layout balance pass (fill the dead band above the footer) ─ */

/* 03 · asked — quote wall scaled up so the grid fills the frame */
#asked .quotes-grid, #asked .qcol { gap: 16px; }
#asked .quote { padding: 19px 22px; }
#asked .quote p { font-size: 14px; }
#asked .quote .who { font-size: 11.5px; margin-top: 10px; }

/* 06 · creator-kyc — spread the checklist down the left column */
#creator-kyc .vlist { gap: 15px; }

/* 08 · checkout — open the 4-row rhythm so the pill lands level
   with the platform slide's (its 5-row sibling) */
#fraud-checkout .rows { gap: 16px; }
#fraud-checkout .row { padding-top: 18px; padding-bottom: 18px; }

/* 11 · compliance — same treatment as checkout */
#compliance-conduct .rows { gap: 16px; }
#compliance-conduct .row { padding-top: 20px; padding-bottom: 20px; }

/* ── print → PDF fallback ────────────────────────────────────── */

@page { size: 1280px 720px; margin: 0; }
@media print {
  body { background: #fff; overflow: visible; }
  body::before, #hud, #bar, #hint { display: none !important; }
  #stage { position: static; width: auto; height: auto; transform: none; }
  .slide {
    position: relative;
    inset: auto;
    width: 1280px;
    height: 720px;
    opacity: 1 !important;
    visibility: visible !important;
    border-radius: 0;
    box-shadow: none;
    page-break-after: always;
    break-after: page;
  }
  .slide .rv { opacity: 1 !important; animation: none !important; transform: none !important; }
  .embed-slot iframe { display: none; }
  .embed-slot .loading { animation: none; }
  .embed-slot .loading::after { content: " — interactive demo available in the live deck"; }
}

/* ════════ RISK CONTROLS REWORK (slides 9-11) ════════ */

/* ── slide 9: control tower hub-and-spoke ── */
#control-tower { display: flex; flex-direction: column; }
.ct-toplogos { position: absolute; top: 52px; right: 64px; display: flex; align-items: center; gap: 26px; }
.ct-toplogos img { display: block; width: auto; height: 26px; }
.ct-toplogos img[alt="Cloudflare"] { height: 28px; }
.ct-toplogos img[alt="Chargebacks911"] { height: 21px; }
.ct-toplogos img[alt="Persona"] { height: 22px; }
.ct-toplogos img[alt="Sightengine"] { height: 20px; }

.ct-stage { position: relative; height: 460px; margin-top: 12px; border: 1px solid var(--line); border-radius: 22px; background: #fbfbfd; padding: 22px 26px; }
.ct-wires { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.ct-grid {
  position: relative; z-index: 1; height: 100%;
  display: grid;
  grid-template-columns: 1fr 1.16fr 1fr;
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "g1 g3 g4"
    ".  cc ."
    "g2 g6 g5";
  gap: 10px 30px;
  align-items: start;
}
.ct-gate { display: grid; grid-template-columns: 34px 1fr; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 13px 15px; box-shadow: 0 6px 18px rgba(14,14,17,0.04); align-self: start; }
.ct-gate.ct-wide { max-width: 430px; }
.ct-gate[style*="g3"], .ct-gate[style*="g6"] { justify-self: center; }
.ct-num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 700; }
.ct-num.n-purple { background: var(--purple); }
.ct-num.n-orange { background: var(--orange); }
.ct-num.n-black { background: var(--ink); }
.ct-h { font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); display: flex; align-items: center; gap: 8px; margin-bottom: 3px; }
.ct-vlogo { height: 15px; width: auto; }
.ct-vlogo[alt="Chargebacks911"] { height: 13px; }
.ct-body p { font-size: 11.8px; line-height: 1.42; color: var(--gray); }

.ct-center { grid-area: cc; align-self: center; justify-self: center; display: flex; flex-direction: column; align-items: center; }
.ct-tower { width: 150px; height: auto; display: block; }
.ct-base { margin-top: -6px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 9px 20px; border-radius: 8px; }

/* ── slide 10: before money moves ── */
#before-money { display: flex; flex-direction: column; }
.bm-grid { display: grid; grid-template-columns: 420px 1fr; gap: 36px; margin-top: 16px; align-items: start; }

.clearance-board { background: var(--ink); border-radius: 18px; padding: 24px 26px; }
.cb-title { font-size: 11px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.cb-rows { display: flex; flex-direction: column; }
.cb-row { display: grid; grid-template-columns: 12px 116px 1fr auto; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.cb-row:last-child { border-bottom: 0; }
.cb-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 3px rgba(61,220,132,0.16); }
.cb-lbl { font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.cb-val { font-size: 12.5px; color: #9a9aa6; }
.cb-clear { font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #3ddc84; }

.bm-gates { display: flex; flex-direction: column; }
.bm-gates-h { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 12px; }
.gate-rows { display: flex; flex-direction: column; gap: 8px; }
.gate-row { display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 14px; min-height: 62px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 18px; }
.gate-chk { width: 38px; height: 38px; display: grid; place-items: center; }
.gate-chk svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.6; }
.gate-lbl { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 2px; }
.gate-dsc { font-size: 12.5px; line-height: 1.45; color: var(--gray); }

/* ── slide 11: checkout lane ── */
#checkout-lane { display: flex; flex-direction: column; }
.cl-panel { border: 1px solid var(--line); border-radius: 22px; background: #fbfbfd; padding: 24px 28px; display: flex; flex-direction: column; }
.cl-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.cl-fp { height: 22px; width: auto; }
.cl-head-b { font-size: 14px; font-weight: 700; color: var(--ink); }
.cl-head-n { font-size: 13px; color: var(--gray); }

.cl-flow { display: flex; align-items: stretch; gap: 8px; }
.cl-step { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 10px 14px; text-align: center; }
.cl-circ { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 12px; color: #fff; font-size: 16px; font-weight: 700; }
.cl-circ.c-orange { background: var(--orange); }
.cl-circ.c-purple { background: var(--purple); }
.cl-circ.c-black { background: var(--ink); }
.cl-s-lbl { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.cl-s-sub { font-size: 11px; color: var(--gray-light); margin-top: 4px; }
.cl-arrow { align-self: center; color: var(--gray-light); font-size: 26px; font-weight: 700; line-height: 1; }

.cl-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.cl-card { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.cl-c-lbl { font-size: 13.5px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.cl-c-dsc { font-size: 12px; line-height: 1.45; color: var(--gray); }

/* ── slide: in the call (the call creates evidence) ── */
#call-evidence .ce-shot { position: absolute; top: 206px; left: 360px; width: 560px; height: auto; border-radius: 14px; box-shadow: 0 24px 64px rgba(14,14,17,0.20); }
#call-evidence .ce-co { position: absolute; width: 232px; left: 88px; text-align: left; }
#call-evidence .ce-co.right { left: 980px; }
#call-evidence .ce-l { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 5px; }
#call-evidence .ce-s { font-size: 13.5px; line-height: 1.5; color: var(--gray); }
#call-evidence .ce-leads { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#call-evidence .ce-leads polyline { fill: none; stroke: var(--purple-soft); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 0.1 5; }
#call-evidence .ce-leads circle { fill: var(--purple); }
#call-evidence .ce-lead { opacity: 0; }
#call-evidence.is-active .ce-lead { animation: rcLeadIn 0.7s var(--ease) both; animation-delay: calc(0.4s + var(--i, 0) * 90ms); }
@media (prefers-reduced-motion: reduce) { #call-evidence .ce-lead { opacity: 1; } #call-evidence.is-active .ce-lead { animation: none; } }

/* ── slide 14: post-call evidence envelope + pre-dispute lane ── */
#disputes { display: flex; flex-direction: column; }
#disputes .pd-grid { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: 30px; margin-top: 16px; align-items: start; }

/* left: evidence envelope, narrowed to hug its content */
.env-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 24px 20px; width: fit-content; max-width: 440px; }
.env-head { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--purple); margin-bottom: 8px; }
.env-head svg { width: 18px; height: 18px; stroke: var(--purple); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.env-rows { display: flex; flex-direction: column; }
.env-row { display: grid; grid-template-columns: 88px max-content; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.env-row:last-child { border-bottom: 0; }
.env-k { font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink); }
.env-v { font-size: 12.5px; line-height: 1.4; color: var(--gray); }

/* right: pre-dispute lane is the hero; resolution trio recedes to a caption */
.pd-right { display: flex; flex-direction: column; gap: 14px; }
.pd-lane { background: #fff8f4; border: 1.5px solid var(--purple-soft); border-radius: 16px; padding: 20px 22px; }
.pd-lane-head { font-size: 15px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--purple-deep); margin-bottom: 14px; }
.pd-steps { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 9px 8px; counter-reset: lane; }
.pd-step { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 9px; background: #fff; border: 1px solid var(--purple-soft); border-radius: 9px; font-size: 13px; font-weight: 600; line-height: 1.2; color: var(--ink); counter-increment: lane; }
.pd-step::before { content: counter(lane); width: 19px; height: 19px; border-radius: 50%; background: var(--purple); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }

.pd-res { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 2px; }
.pd-res-row { display: flex; flex-direction: column; gap: 3px; border-top: 2px solid var(--purple-soft); padding-top: 8px; }
.pd-res-l { font-size: 12px; font-weight: 600; color: var(--gray); letter-spacing: normal; }
.pd-res-s { font-size: 11.5px; line-height: 1.45; color: var(--gray-light); }

/* why now: Pew yearly-consultation bars (jask) */
.pew-bars { display: flex; flex-direction: column; gap: 14px; margin: 18px 0 14px; }
.pb-row { display: grid; grid-template-columns: 130px 1fr 44px; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-soft); }
.pb-row b { text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.pb-t { height: 14px; background: #fff; border: 1px solid #e0e0e7; border-radius: 5px; position: relative; overflow: hidden; }
.pb-t i { position: absolute; left: 2px; top: 2px; bottom: 2px; border-radius: 3px; background: var(--purple); max-width: calc(100% - 4px); }
.pb-row.sub { color: var(--gray); }
.pb-row.sub .pb-t i { background: var(--purple-soft); }
#asked .qhead { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--purple); padding: 0 4px; }
#asked .quote p { font-size: 13.5px; }
#asked .quote { padding: 16px 20px; }
#problem .lg-cell img[alt="TikTok"] { max-height: 30px; max-width: 30px; }
#asked .quotes-grid, #asked .qcol { gap: 12px; }

/* thank-you slide: business details for underwriting */
#thanks .biz-info { display: grid; grid-template-columns: repeat(5, auto); justify-content: start; gap: 0 44px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 1100px; }
#thanks .biz-info > div { display: flex; flex-direction: column; gap: 6px; }
#thanks .bi-k { font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-light); }
#thanks .bi-v { font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--ink); }
#thanks .bi-v a { color: var(--purple); text-decoration: none; }
