/* ============================================================================
   הופה × HYP - Deck styles
   מערכת עיצוב מחולצת מאתר הופה (OKLCH hue 275, ink #0a0812, Noto/Ploni/Fredoka,
   ease-out-expo, liquid-glass). דק כהה קולנועי, RTL.
   ============================================================================ */

/* Fonts: @font-face rules live in fonts.css (base64-embedded woff2) so they
   load even via file:// double-click. Loaded before this file in index.html. */

/* ------------------------------- Tokens ----------------------------------- */
:root {
  /* Indigo brand spine (hue 275) */
  --indigo-50: oklch(97% 0.02 275);
  --indigo-100: oklch(94% 0.04 275);
  --indigo-300: oklch(78% 0.12 275);
  --indigo-500: oklch(58% 0.22 275);
  --indigo-600: oklch(52% 0.23 275);
  --indigo-700: oklch(42% 0.18 275);
  --indigo-900: oklch(28% 0.14 275);

  /* Ink + dark-deck surfaces */
  --ink: oklch(14% 0.015 275);          /* #0a0812 - main bg */
  --ink-2: oklch(17% 0.02 275);
  --ink-3: oklch(21% 0.03 275);

  /* Accents (sparingly) */
  --cyan: oklch(82% 0.14 220);
  --lime: oklch(88% 0.22 130);
  --amber: oklch(82% 0.14 75);

  /* Text on dark (contrast-tuned for AA on ink + glass) */
  --text: oklch(99% 0.003 275);         /* zinc-50 */
  --text-soft: oklch(80% 0.012 275);
  --text-faint: oklch(68% 0.014 275);   /* ~AA on ink + light glass */
  --text-dim: oklch(58% 0.014 275);     /* hints/placeholder - raised from 48% (was ~3:1) */

  /* Lines / glass */
  --hairline: oklch(100% 0 0 / 0.10);
  --hairline-strong: oklch(100% 0 0 / 0.18);
  --glass-fill: oklch(100% 0 0 / 0.05);
  --glass-fill-2: oklch(100% 0 0 / 0.08);
  --wet-rim: linear-gradient(to right, transparent, oklch(100% 0 0 / 0.6), transparent);

  /* Gradients */
  --grad-accent: linear-gradient(110deg, var(--indigo-300), var(--cyan));
  --grad-cta: linear-gradient(135deg, var(--indigo-500), var(--indigo-700) 88%);
  --grad-core: linear-gradient(150deg, oklch(40% 0.18 275), oklch(24% 0.1 275));

  /* Radii */
  --r-xs: 6px; --r-sm: 10px; --r-md: 14px; --r-lg: 22px; --r-xl: 30px; --r-2xl: 40px;

  /* Shadows */
  --shadow-card: 0 1px 2px oklch(0% 0 0 / 0.3), 0 24px 60px -24px oklch(0% 0 0 / 0.6);
  --shadow-glow: 0 0 0 1px oklch(58% 0.22 275 / 0.25), 0 30px 80px -28px oklch(58% 0.22 275 / 0.5);
  --shadow-cta: 0 1px 0 oklch(100% 0 0 / 0.25) inset, 0 14px 34px -12px oklch(58% 0.22 275 / 0.7);

  /* Motion */
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-quart: cubic-bezier(0.76, 0, 0.24, 1);
  --t-micro: 200ms;
  --t-reveal: 680ms;

  --font-display: "Secular One", "Noto Sans Hebrew", system-ui, sans-serif;
  --font-sans: "Noto Sans Hebrew", system-ui, -apple-system, "Segoe UI", "Heebo", sans-serif;
  --font-mono: "Noto Sans Hebrew", ui-monospace, SFMono-Regular, Menlo, monospace;

  --content-max: 1180px;
  --pad-x: clamp(20px, 5vw, 84px);
  --pad-y: clamp(16px, 3.6vh, 44px);
}

/* ------------------------------- Reset ------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
html { background: var(--ink); }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow: hidden;
  line-height: 1.55;
}
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0; font-weight: 700; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--indigo-300); outline-offset: 3px; border-radius: var(--r-xs); }
::selection { background: oklch(58% 0.22 275 / 0.35); color: var(--text); }

/* Latin/number runs inside RTL */
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.num { direction: ltr; unicode-bidi: isolate; font-family: var(--font-mono); font-feature-settings: "tnum" 1; }

/* ------------------------- Reduced-motion killswitch ---------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================ Ambient backdrop ============================= */
.bg-aurora {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background: var(--ink);
}
.bg-aurora::before {
  content: ""; position: absolute; inset: -20%;
  background:
    radial-gradient(45% 45% at 18% 12%, oklch(58% 0.22 275 / 0.28), transparent 70%),
    radial-gradient(40% 40% at 85% 18%, oklch(82% 0.14 220 / 0.16), transparent 70%),
    radial-gradient(50% 50% at 75% 88%, oklch(42% 0.18 275 / 0.30), transparent 72%),
    radial-gradient(35% 35% at 12% 85%, oklch(58% 0.22 275 / 0.14), transparent 70%);
  filter: saturate(1.1);
  animation: aurora-drift 24s var(--ease-quart) infinite alternate;
}
.bg-aurora::after { /* grid mesh, edge-faded */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, oklch(100% 0 0 / 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(100% 0 0 / 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(120% 110% at 50% 40%, #000 35%, transparent 78%);
  mask-image: radial-gradient(120% 110% at 50% 40%, #000 35%, transparent 78%);
}
@keyframes aurora-drift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1.02); }
  to   { transform: translate3d(2%, 1.5%, 0) scale(1.06); }
}

/* ============================ Password gate =============================== */
.gate {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center; padding: var(--pad-x);
  background: radial-gradient(80% 80% at 50% 30%, oklch(20% 0.04 275), var(--ink) 75%);
  transition: opacity 600ms var(--ease-expo), visibility 600ms;
}
.gate.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.gate__card {
  width: min(440px, 92vw); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.gate__lockup { display: flex; align-items: center; gap: 18px; justify-content: center; margin-bottom: 4px; }
.gate__lockup .hopa { height: 42px; }
.gate__lockup img.hyp { height: 34px; width: auto; }
.gate__x { font-family: var(--font-mono); font-size: 1.4rem; color: var(--indigo-300); opacity: 0.7; }
.gate__kicker { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.32em; color: var(--indigo-300); }
.gate__title { font-size: clamp(2rem, 6vw, 2.8rem); letter-spacing: -0.02em; }
.gate__subtitle { color: var(--text-soft); font-size: 1.05rem; margin-top: -8px; }
.gate__form { display: flex; gap: 10px; width: 100%; margin-top: 6px; }
.gate__input {
  flex: 1; padding: 14px 18px; border-radius: 999px; text-align: center;
  background: var(--glass-fill-2); border: 1px solid var(--hairline-strong); color: var(--text);
  font-size: 1.05rem; letter-spacing: 0.1em; transition: border-color var(--t-micro);
}
.gate__input::placeholder { color: var(--text-dim); letter-spacing: normal; }
.gate__input:focus { border-color: var(--indigo-500); }
.gate__submit {
  padding: 14px 26px; border-radius: 999px; background-image: var(--grad-cta);
  color: #fff; font-weight: 600; box-shadow: var(--shadow-cta);
  transition: filter var(--t-micro), transform var(--t-micro);
}
.gate__submit:hover { filter: brightness(1.08); }
.gate__submit:active { transform: translateY(1px); }
.gate__hint { font-size: 0.85rem; color: var(--text-dim); display: flex; align-items: center; gap: 8px; }
.gate__hint::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); }
.gate.is-error .gate__input { border-color: oklch(62% 0.2 27); animation: shake 0.35s; }
.gate__err { color: oklch(72% 0.16 27); font-size: 0.85rem; min-height: 1.2em; }
@keyframes shake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-8px)} 75%{transform:translateX(8px)} }

/* ============================ Deck shell ================================== */
.deck {
  position: fixed; inset: 0; z-index: 1;
  opacity: 0; transition: opacity 700ms var(--ease-expo) 120ms;
}
.deck.is-ready { opacity: 1; }

.slide {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  padding: var(--pad-y) var(--pad-x);
  opacity: 0; transform: translateX(0) scale(0.985);
  transition: opacity 560ms var(--ease-expo), transform 720ms var(--ease-expo);
  pointer-events: none;
  overflow: hidden;
}
.slide.is-before { transform: translateX(64px) scale(0.985); }  /* RTL: prev sits to the right */
.slide.is-after  { transform: translateX(-64px) scale(0.985); }
.slide.is-active { opacity: 1; transform: translateX(0) scale(1); pointer-events: auto; }
.slide:not(.is-active) { visibility: hidden; }
.slide.is-active, .slide.is-leaving { visibility: visible; }

.slide__inner {
  width: 100%; max-width: var(--content-max); min-width: 0;
  max-height: 100%;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(12px, 2vh, 24px);
}
/* allow flex/grid children to shrink below content min-size (prevents wide
   children like the logo marquee from forcing the inner past the viewport) */
.slide__inner > *, .proof-grid, .product-grid, .tam, .platform, .vs, .split,
.deal-cols, .prize-grid, .logos-row, .marquee, .comps-wrap { min-width: 0; }

/* watermark hopa mark per slide (very subtle) */
.slide__wm {
  position: absolute; inset-block-start: var(--pad-y); inset-inline-start: var(--pad-x);
  height: 20px; opacity: 0.55; pointer-events: none;
}
.slide__num {
  position: absolute; inset-block-end: var(--pad-y); inset-inline-start: var(--pad-x);
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-dim); letter-spacing: 0.1em;
}

/* ---------------------------- Reveal system ------------------------------- */
[data-reveal] {
  opacity: 0; transform: translateY(18px); filter: blur(6px);
  transition: opacity var(--t-reveal) var(--ease-expo), transform var(--t-reveal) var(--ease-expo), filter var(--t-reveal) var(--ease-expo);
  transition-delay: calc(var(--i, 0) * 90ms + 120ms);
}
.slide.is-active [data-reveal] { opacity: 1; transform: none; filter: none; }

/* ---------------------------- Typography bits ----------------------------- */
.kicker {
  font-family: var(--font-mono); font-size: clamp(0.72rem, 1.1vw, 0.85rem);
  letter-spacing: 0.26em; color: var(--indigo-300); text-transform: none;
  display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--indigo-300); opacity: 0.6; }
.slide-title { font-size: clamp(1.9rem, 4.1vw, 3.25rem); letter-spacing: -0.025em; }
.slide-title .accent {
  background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1.05rem, 1.7vw, 1.35rem); color: var(--text-soft); max-width: 60ch; }
.punch {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  letter-spacing: -0.02em; color: var(--text);
}
.punch .hl { color: var(--cyan); }

/* ------------------------------- Glass card ------------------------------- */
.glass {
  position: relative; background: var(--glass-fill); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: var(--shadow-card);
  padding: clamp(14px, 1.8vw, 24px); overflow: hidden;
}
.glass::before { /* wet top rim */
  content: ""; position: absolute; inset-inline: 16%; inset-block-start: 0; height: 1px; background: var(--wet-rim);
}
.glass--lift { transition: transform var(--t-micro) var(--ease-expo), box-shadow var(--t-micro), border-color var(--t-micro); }
.glass--lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); border-color: oklch(58% 0.22 275 / 0.3); }

.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: var(--glass-fill-2); border: 1px solid var(--hairline); font-size: 0.85rem; color: var(--text-soft);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }

/* ============================ Navigation UI =============================== */
.progress {
  position: fixed; inset-block-start: 0; inset-inline: 0; height: 3px; z-index: 40; background: oklch(100% 0 0 / 0.06);
}
.progress__bar { height: 100%; width: 0; background-image: var(--grad-accent); transition: width 560ms var(--ease-expo); }

.hud {
  position: fixed; inset-block-end: clamp(14px, 3vh, 26px); inset-inline-end: var(--pad-x); z-index: 40;
  display: flex; align-items: center; gap: 12px;
}
.hud__counter { font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-faint); letter-spacing: 0.08em; min-width: 56px; text-align: center; }
.hud__counter b { color: var(--text); }
.navbtn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--glass-fill-2); border: 1px solid var(--hairline); color: var(--text);
  transition: background var(--t-micro), border-color var(--t-micro), transform var(--t-micro), opacity var(--t-micro);
}
.navbtn:hover { background: oklch(58% 0.22 275 / 0.25); border-color: var(--indigo-500); }
.navbtn:active { transform: scale(0.94); }
.navbtn:disabled { opacity: 0.3; pointer-events: none; }
.navbtn svg { width: 18px; height: 18px; }

.toolbar { position: fixed; inset-block-end: clamp(14px, 3vh, 26px); inset-inline-start: var(--pad-x); z-index: 40; display: flex; gap: 10px; }
.tool {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--glass-fill); border: 1px solid var(--hairline); color: var(--text-soft);
  transition: background var(--t-micro), color var(--t-micro), border-color var(--t-micro);
}
.tool:hover { background: var(--glass-fill-2); color: var(--text); border-color: var(--hairline-strong); }
.tool svg { width: 18px; height: 18px; }

/* dot rail (slide jump) */
.rail { position: fixed; inset-block: 0; inset-inline-end: 14px; z-index: 40; display: flex; flex-direction: column; gap: 9px; justify-content: center; align-items: center; }
.rail button { width: 8px; height: 8px; border-radius: 50%; background: oklch(100% 0 0 / 0.2); transition: all var(--t-micro); }
.rail button:hover { background: var(--text-soft); }
.rail button.is-on { background: var(--indigo-300); height: 22px; border-radius: 999px; box-shadow: 0 0 10px oklch(78% 0.12 275 / 0.6); }

/* =============================================================== *
 *  SLIDE-SPECIFIC LAYOUTS
 * =============================================================== */

/* ---- Slide 1: Hook ---- */
.hook { text-align: center; align-items: center; }
.hook__lockup { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 34px); margin-bottom: 10px; }
.hook__lockup .hopa { height: clamp(38px, 5.5vw, 64px); filter: drop-shadow(0 6px 26px oklch(58% 0.22 275 / 0.4)); }
.hook__lockup img.hyp { height: clamp(26px, 4vw, 46px); width: auto; }
.hook__x { font-family: var(--font-mono); font-size: clamp(1.4rem, 3vw, 2.4rem); color: var(--indigo-300); opacity: 0.8; }
.hook__title { font-size: clamp(2.2rem, 6vw, 5rem); letter-spacing: -0.035em; line-height: 1.04; }
.hook__sub { font-size: clamp(1.1rem, 2.2vw, 1.6rem); color: var(--text-soft); margin-top: 6px; }
.hook__foot { margin-top: 12px; }
.hook__chips { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hook__chips img {
  position: absolute; width: clamp(90px, 12vw, 168px); border-radius: 50%;
  box-shadow: 0 20px 60px -16px oklch(0% 0 0 / 0.7), 0 0 0 1px oklch(100% 0 0 / 0.08);
  opacity: 0; filter: saturate(1.05);
  animation: chip-float 14s var(--ease-quart) infinite alternate;
}
.slide.is-active .hook__chips img { opacity: 0.5; transition: opacity 1.2s var(--ease-expo) 0.5s; }
.hook__chips img:nth-child(1) { inset-block-start: 12%; inset-inline-start: 6%; animation-delay: 0s; }
.hook__chips img:nth-child(2) { inset-block-start: 58%; inset-inline-start: 10%; animation-delay: -4s; width: clamp(70px, 9vw, 128px); }
.hook__chips img:nth-child(3) { inset-block-start: 16%; inset-inline-end: 7%; animation-delay: -7s; }
.hook__chips img:nth-child(4) { inset-block-end: 12%; inset-inline-end: 11%; animation-delay: -2s; width: clamp(70px, 9vw, 128px); }
@keyframes chip-float { from { transform: translateY(0) rotate(-3deg); } to { transform: translateY(-22px) rotate(3deg); } }

/* ---- Generic header block ---- */
.head { display: flex; flex-direction: column; gap: 14px; }
.head .slide-title { max-width: 22ch; }

/* ---- Slide 2: stats grid ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.stat { text-align: center; padding: clamp(16px, 2vw, 28px) 14px; }
.stat__value { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.6rem); letter-spacing: -0.03em; line-height: 1; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { margin-top: 10px; font-weight: 600; font-size: 0.98rem; }
.stat__sub { margin-top: 3px; font-size: 0.82rem; color: var(--text-faint); }
.vision { display: flex; gap: 16px; align-items: flex-start; border-inline-start: 2px solid var(--indigo-500); padding-inline-start: 18px; }
.vision__label { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.18em; color: var(--cyan); white-space: nowrap; padding-top: 3px; }
.vision__text { color: var(--text-soft); font-size: clamp(0.95rem, 1.3vw, 1.08rem); }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(20px, 3vw, 48px); align-items: center; }

/* ---- Slide 3: proof (chart + badges + logos) ---- */
.proof-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(16px, 2.4vw, 34px); align-items: stretch; }
.chart { display: flex; flex-direction: column; gap: 10px; }
.chart__label { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.14em; color: var(--text-faint); }
.bars { display: flex; align-items: flex-end; gap: clamp(12px, 2.2vw, 32px); height: clamp(120px, 16vh, 178px); padding-top: 8px; }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; }
.bar__col {
  width: 100%; max-width: 80px; border-radius: 12px 12px 4px 4px;
  background: linear-gradient(to top, var(--indigo-700), var(--indigo-500));
  box-shadow: 0 -2px 30px -6px oklch(58% 0.22 275 / 0.6); position: relative;
  height: 0; transition: height 1100ms var(--ease-expo);
}
.bar:last-child .bar__col { background: linear-gradient(to top, var(--indigo-600), var(--cyan)); box-shadow: 0 -2px 36px -4px oklch(82% 0.14 220 / 0.5); }
.bar__val { font-family: var(--font-mono); font-weight: 600; font-size: clamp(0.85rem, 1.3vw, 1.05rem); color: var(--text); }
.bar__year { font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-faint); }
.bar__note { font-size: 0.74rem; color: var(--cyan); font-weight: 600; }
.chart__cap { font-size: 0.82rem; color: var(--text-faint); }
.badges { display: flex; flex-direction: column; gap: 14px; }
.badge { display: flex; flex-direction: column; gap: 2px; }
.badge__value { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.02em; color: var(--cyan); }
.badge__label { font-weight: 600; }
.badge__sub { font-size: 0.82rem; color: var(--text-faint); }
.badge__note { font-size: 0.8rem; color: var(--text-faint); line-height: 1.5; margin-top: 6px; }
.logos-row { display: flex; flex-direction: column; gap: 10px; margin-top: 2px; }
.logos-title { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.2em; color: var(--text-faint); }
.logos-flag { display: flex; flex-wrap: wrap; gap: 8px; }
.logo-tile {
  width: clamp(52px, 6.4vw, 70px); height: clamp(52px, 6.4vw, 70px); flex: 0 0 auto;
  border-radius: 13px; background: oklch(100% 0 0 / 0.92); display: grid; place-items: center;
  padding: 7px; border: 1px solid var(--hairline); overflow: hidden;
}
.logo-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }
/* marquee */
.marquee { overflow: hidden; width: 100%; min-width: 0; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 12px; width: max-content; will-change: transform; }
.marquee__track.is-anim { animation: marquee var(--marq-dur, 60s) linear infinite; }
.marquee:hover .marquee__track.is-anim { animation-play-state: paused; }
.marquee .logo-tile { width: clamp(44px, 5vw, 56px); height: clamp(44px, 5vw, 56px); border-radius: 11px; padding: 6px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }

/* ---- Slide 4: platform diagram ---- */
.platform { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.core {
  width: clamp(150px, 18vw, 230px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: var(--grad-core); box-shadow: var(--shadow-glow), inset 0 1px 0 oklch(100% 0 0 / 0.2); position: relative;
}
.core::before, .core::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px solid oklch(58% 0.22 275 / 0.3); animation: ripple 3.6s ease-out infinite; }
.core::after { animation-delay: 1.8s; }
@keyframes ripple { from { transform: scale(0.9); opacity: 0.7; } to { transform: scale(1.5); opacity: 0; } }
.core__label { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.5rem); }
.core__sub { font-size: 0.8rem; color: var(--text-soft); margin-top: 4px; }
.branches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.branch {
  padding: 16px 18px; border-radius: var(--r-md); background: var(--glass-fill); border: 1px solid var(--hairline);
  display: flex; flex-direction: column; gap: 8px; transition: all var(--t-micro) var(--ease-expo); cursor: default;
}
.branch:hover { background: var(--glass-fill-2); border-color: var(--indigo-500); transform: translateY(-3px); }
.branch.is-primary { background: oklch(58% 0.22 275 / 0.16); border-color: var(--indigo-500); box-shadow: var(--shadow-glow); }
.branch__name { font-weight: 600; font-size: 0.98rem; }
.branch__status { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; display: inline-flex; align-items: center; gap: 6px; }
.branch__status.live { color: var(--lime); }
.branch__status.dev { color: var(--text-faint); }
.branch__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---- Slide 5 & 8: ladder / vs columns ---- */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 30px); align-items: stretch; }
.vs__col { display: flex; flex-direction: column; gap: 14px; padding: clamp(18px, 2.4vw, 30px); border-radius: var(--r-lg); }
.vs__col--dim { background: oklch(100% 0 0 / 0.03); border: 1px solid var(--hairline); color: var(--text-faint); }
.vs__col--glow { background: linear-gradient(160deg, oklch(58% 0.22 275 / 0.18), oklch(82% 0.14 220 / 0.06)); border: 1px solid oklch(58% 0.22 275 / 0.4); box-shadow: var(--shadow-glow); }
.vs__label { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.5rem); }
.vs__col--glow .vs__label { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vs__tag { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.16em; color: var(--text-faint); }
.vs__col--glow .vs__tag { color: var(--cyan); }
.vs__list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.vs__list li { display: flex; gap: 10px; align-items: flex-start; font-size: clamp(0.92rem, 1.3vw, 1.05rem); }
.vs__list li::before { content: ""; flex: 0 0 auto; width: 8px; height: 8px; margin-top: 8px; border-radius: 2px; background: currentColor; opacity: 0.5; }
.vs__col--glow .vs__list li { color: var(--text); }
.vs__col--glow .vs__list li::before { background: var(--cyan); opacity: 1; box-shadow: 0 0 10px var(--cyan); }
.vs__note { font-size: 0.85rem; color: var(--text-faint); margin-top: auto; padding-top: 8px; }

/* ---- Slide 6: before/after toggle ---- */
.toggle-wrap { display: flex; flex-direction: column; gap: 22px; align-items: center; }
.toggle { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--glass-fill-2); border: 1px solid var(--hairline); gap: 4px; }
.toggle button { padding: 10px 24px; border-radius: 999px; font-weight: 600; color: var(--text-faint); transition: all var(--t-micro); }
.toggle button.is-on { color: #fff; background-image: var(--grad-cta); box-shadow: var(--shadow-cta); }
.toggle button:first-child.is-on { background: oklch(100% 0 0 / 0.12); color: var(--text); box-shadow: none; }
.toggle-card {
  width: min(720px, 100%); border-radius: var(--r-xl); padding: clamp(24px, 3.4vw, 44px); text-align: center;
  display: flex; flex-direction: column; gap: 16px; align-items: center;
  transition: background 420ms var(--ease-expo), border-color 420ms, box-shadow 420ms, filter 420ms;
}
.toggle-card[data-state="before"] { background: oklch(100% 0 0 / 0.03); border: 1px solid var(--hairline); filter: grayscale(0.6); }
.toggle-card[data-state="after"] { background: linear-gradient(160deg, oklch(58% 0.22 275 / 0.2), oklch(82% 0.14 220 / 0.07)); border: 1px solid oklch(58% 0.22 275 / 0.45); box-shadow: var(--shadow-glow); filter: none; }
.toggle-card__tag { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.18em; }
.toggle-card[data-state="before"] .toggle-card__tag { color: var(--text-faint); }
.toggle-card[data-state="after"] .toggle-card__tag { color: var(--cyan); }
.toggle-card__label { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3.4vw, 2.6rem); letter-spacing: -0.02em; }
.toggle-card[data-state="after"] .toggle-card__label { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.toggle-card__points { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.toggle-cap { color: var(--text-soft); font-size: 1.05rem; }

/* ---- Slide 7: model split ---- */
.split { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.split__col { display: flex; flex-direction: column; gap: 12px; }
.split__head { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.9rem); text-align: center; padding-bottom: 6px; }
.split__col--hyp .split__head { color: var(--text); }
.split__col--hopa .split__head { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.split__item { padding: 13px 16px; border-radius: var(--r-md); background: var(--glass-fill); border: 1px solid var(--hairline); font-size: 0.98rem; }
.split__col--hopa .split__item { background: oklch(58% 0.22 275 / 0.12); border-color: oklch(58% 0.22 275 / 0.3); }
.split__plus { display: grid; place-items: center; font-size: 1.6rem; color: var(--indigo-300); font-family: var(--font-mono); }

/* ---- Slide 9: product ---- */
.product-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(20px, 3vw, 44px); align-items: center; }
.prod-col { display: flex; flex-direction: column; gap: 16px; }
.prod-block__label { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.16em; margin-bottom: 8px; }
.prod-block--ops .prod-block__label { color: var(--text-faint); }
.prod-block--win .prod-block__label { color: var(--cyan); }
.ops-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.win-list { display: flex; flex-direction: column; gap: 7px; }
.win-item { padding: 9px 14px; border-radius: var(--r-md); background: linear-gradient(120deg, oklch(58% 0.22 275 / 0.14), transparent); border: 1px solid var(--hairline); }
.win-item b { color: var(--text); display: block; margin-bottom: 1px; font-size: 0.96rem; }
.win-item span { font-size: 0.82rem; color: var(--text-faint); line-height: 1.4; }
.win-item.is-key { border-color: oklch(58% 0.22 275 / 0.4); box-shadow: 0 0 30px -10px oklch(58% 0.22 275 / 0.5); }
/* AI demo */
.demo { display: flex; flex-direction: column; gap: 14px; }
.demo__label { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.16em; color: var(--cyan); }
/* before/after slider - isolated LTR so geometry is unambiguous in RTL deck */
.ba {
  position: relative; direction: ltr; width: 100%; aspect-ratio: 16 / 10; max-height: clamp(190px, 34vh, 300px);
  border-radius: var(--r-lg); overflow: hidden; --pct: 50%;
  border: 1px solid var(--hairline-strong); box-shadow: var(--shadow-card); user-select: none; touch-action: none; cursor: ew-resize;
}
.ba__base { position: absolute; inset: 0; }
.ba__base img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 17%; filter: saturate(1.16) contrast(1.07) brightness(1.05); }
.ba__clip { position: absolute; left: 0; top: 0; bottom: 0; width: var(--pct); overflow: hidden; }
.ba__clip img { position: absolute; left: 0; top: 0; width: var(--ba-w, 100%); height: 100%; object-fit: cover; object-position: 50% 17%; filter: grayscale(0.95) brightness(0.5) contrast(0.85) blur(0.4px); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pct); width: 3px; background: #fff; box-shadow: 0 0 18px oklch(100% 0 0 / 0.7); transform: translateX(-50%); }
.ba__grip { position: absolute; top: 50%; left: var(--pct); transform: translate(-50%, -50%); width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px oklch(0% 0 0 / 0.5); color: var(--ink); font-weight: 700; }
.ba__tag { position: absolute; bottom: 12px; padding: 5px 12px; border-radius: 999px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; backdrop-filter: blur(8px); }
.ba__tag--before { left: 12px; background: oklch(0% 0 0 / 0.5); color: var(--text-soft); }
.ba__tag--after { right: 12px; background: oklch(58% 0.22 275 / 0.5); color: #fff; }
/* campaign button + generated ad */
.campaign { display: flex; flex-direction: column; gap: 12px; }
.campaign__btn {
  align-self: flex-start; padding: 13px 24px; border-radius: 999px; background-image: var(--grad-cta); color: #fff;
  font-weight: 600; box-shadow: var(--shadow-cta); display: inline-flex; align-items: center; gap: 10px;
  transition: filter var(--t-micro), transform var(--t-micro);
}
.campaign__btn:hover { filter: brightness(1.08); }
.campaign__btn:active { transform: translateY(1px); }
.campaign__btn[disabled] { opacity: 0.75; pointer-events: none; }
.campaign__btn .spin { width: 16px; height: 16px; border: 2px solid oklch(100% 0 0 / 0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ad-card {
  display: flex; gap: 12px; padding: 10px; max-width: 420px;
  border-radius: var(--r-md); border: 1px solid var(--hairline-strong);
  background: linear-gradient(140deg, oklch(20% 0.03 275), #0a0812);
  box-shadow: var(--shadow-glow);
  opacity: 0; transform: translateY(12px) scale(0.97); transition: opacity 480ms var(--ease-expo), transform 480ms var(--ease-expo);
}
.ad-card[hidden] { display: none; }
.ad-card.is-in { opacity: 1; transform: none; }
.ad-card__media { position: relative; width: 92px; height: 92px; flex: 0 0 auto; border-radius: 10px; overflow: hidden; }
.ad-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 17%; filter: saturate(1.15) brightness(1.05); }
.ad-card__badge { position: absolute; inset-block-start: 6px; inset-inline-start: 6px; padding: 3px 7px; border-radius: 999px; background: oklch(0% 0 0 / 0.6); backdrop-filter: blur(6px); font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.06em; color: #fff; }
.ad-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ad-card__h { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; line-height: 1.2; }
.ad-card__s { font-size: 0.82rem; color: var(--text-soft); margin-top: 2px; }
.ad-card__cta { margin-top: auto; padding: 7px 10px; border-radius: 9px; text-align: center; background-image: var(--grad-cta); color: #fff; font-weight: 600; font-size: 0.82rem; }
.demo__disclaimer { font-size: 0.74rem; color: var(--text-dim); }

/* ---- Slide 10: retention curve ---- */
.curve-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 48px); align-items: center; }
.curve { width: 100%; aspect-ratio: 16/10; max-height: 44vh; }
.curve svg { width: 100%; height: 100%; overflow: visible; }
.curve .path { fill: none; stroke: url(#curveGrad); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.slide.is-active .curve .path { animation: draw 1600ms var(--ease-expo) 0.3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.curve .area { fill: url(#areaGrad); opacity: 0; }
.slide.is-active .curve .area { animation: fadein 1000ms ease 1.2s forwards; }
@keyframes fadein { to { opacity: 1; } }

/* ---- Slide 11: speed compare ---- */
.speed { display: flex; flex-direction: column; gap: clamp(14px, 2vw, 22px); }
.accel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.accel__item { padding: 14px 16px; border-radius: var(--r-md); background: var(--glass-fill); border: 1px solid var(--hairline); display: flex; gap: 12px; align-items: flex-start; }
.accel__n { font-family: var(--font-mono); font-weight: 700; color: var(--indigo-300); font-size: 1.1rem; }
.race { display: flex; flex-direction: column; gap: 14px; }
.race__row { display: grid; grid-template-columns: 90px 1fr auto; gap: 14px; align-items: center; }
.race__name { font-weight: 600; }
.race__track { height: 30px; border-radius: 999px; background: oklch(100% 0 0 / 0.05); position: relative; overflow: hidden; }
.race__fill { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; border-radius: 999px; transition: width 1400ms var(--ease-expo); }
.race__row--tabit .race__fill { background: oklch(100% 0 0 / 0.18); }
.race__row--hopa .race__fill { background-image: linear-gradient(90deg, var(--indigo-500), var(--cyan)); box-shadow: 0 0 24px -4px oklch(82% 0.14 220 / 0.6); }
.race__cost { font-family: var(--font-mono); font-weight: 600; font-size: 0.92rem; white-space: nowrap; }
.race__row--hopa .race__cost { color: var(--cyan); }
.verdict { align-self: center; margin-top: 4px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 2.4vw, 1.8rem); background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- Slide 12: TAM calculator ---- */
.tam { display: grid; grid-template-columns: 1fr 0.9fr; gap: clamp(22px, 3.5vw, 52px); align-items: center; }
.calc { display: flex; flex-direction: column; gap: 20px; }
.calc__field { display: flex; flex-direction: column; gap: 8px; }
.calc__top { display: flex; justify-content: space-between; align-items: baseline; }
.calc__name { font-weight: 600; }
.calc__val { font-family: var(--font-mono); font-weight: 700; color: var(--cyan); font-size: 1.05rem; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: oklch(100% 0 0 / 0.12); outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px oklch(0% 0 0 / 0.5), 0 0 0 5px oklch(58% 0.22 275 / 0.3); cursor: pointer; transition: box-shadow var(--t-micro); }
.range::-webkit-slider-thumb:hover { box-shadow: 0 2px 10px oklch(0% 0 0 / 0.5), 0 0 0 8px oklch(58% 0.22 275 / 0.4); }
.range::-moz-range-thumb { width: 22px; height: 22px; border: none; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px oklch(58% 0.22 275 / 0.3); cursor: pointer; }
.captures { display: flex; gap: 8px; }
.cap-btn { flex: 1; padding: 10px; border-radius: var(--r-md); background: var(--glass-fill); border: 1px solid var(--hairline); font-family: var(--font-mono); font-weight: 600; color: var(--text-soft); transition: all var(--t-micro); }
.cap-btn.is-on { background: oklch(58% 0.22 275 / 0.2); border-color: var(--indigo-500); color: #fff; }
.tam-result { text-align: center; display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 3vw, 40px); }
.tam-result__label { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.14em; color: var(--text-faint); }
.tam-result__value { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -0.03em; line-height: 1; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tam-result__plus { font-size: 0.86rem; color: var(--cyan); }
.tam-result__foot { font-size: 0.82rem; color: var(--text-faint); margin-top: 4px; }

/* ---- Slide 13: comps table ---- */
.comps { width: 100%; border-collapse: separate; border-spacing: 0 8px; font-size: clamp(0.78rem, 1.15vw, 0.95rem); }
.comps th { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--text-faint); text-align: start; padding: 0 14px 4px; font-weight: 500; }
.comps td { padding: 14px; background: var(--glass-fill); border-block: 1px solid var(--hairline); vertical-align: middle; }
.comps td:first-child { border-radius: 0 var(--r-md) var(--r-md) 0; border-inline-start: 1px solid var(--hairline); }
.comps td:last-child { border-radius: var(--r-md) 0 0 var(--r-md); border-inline-end: 1px solid var(--hairline); }
.comps tr.is-highlight td { background: oklch(100% 0 0 / 0.07); border-color: var(--hairline-strong); }
.comps tr.is-us td { background: linear-gradient(120deg, oklch(58% 0.22 275 / 0.18), oklch(82% 0.14 220 / 0.05)); border-color: oklch(58% 0.22 275 / 0.4); }
.comps .c-company { font-weight: 700; font-size: 1.02em; }
.comps tr.is-us .c-company { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.comps .c-tag { font-family: var(--font-mono); font-size: 0.66rem; padding: 2px 8px; border-radius: 999px; background: oklch(100% 0 0 / 0.1); margin-inline-start: 8px; color: var(--text-faint); }
.comps-note { font-size: 0.84rem; color: var(--text-faint); margin-top: 8px; border-inline-start: 2px solid var(--cyan); padding-inline-start: 14px; }

/* ---- Slide 14: prize blocks ---- */
.prize-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 1.8vw, 20px); }
.prize { padding: clamp(18px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 8px; }
.prize__n { font-family: var(--font-mono); font-weight: 700; font-size: 1.6rem; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.prize__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 1.9vw, 1.4rem); }
.prize__desc { color: var(--text-soft); font-size: 0.95rem; }

/* ---- Slide 15: deal ---- */
.deal-roof { text-align: center; margin-bottom: 6px; }
.deal-roof__pill { display: inline-flex; align-items: center; gap: 10px; padding: 9px 22px; border-radius: 999px; background: oklch(58% 0.22 275 / 0.16); border: 1px solid oklch(58% 0.22 275 / 0.4); font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.deal-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 28px); }
.deal-col { display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 2.6vw, 32px); }
.deal-col--equity { background: linear-gradient(160deg, oklch(58% 0.22 275 / 0.18), transparent); border: 1px solid oklch(58% 0.22 275 / 0.4); box-shadow: var(--shadow-glow); }
.deal-col__label { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.16em; color: var(--cyan); }
.deal-col__headline { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.6rem); letter-spacing: -0.02em; }
.deal-col--equity .deal-col__headline { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.deal-col__val { color: var(--text-soft); font-size: 0.95rem; }
.deal-list { display: flex; flex-direction: column; gap: 9px; margin: 0; padding: 0; list-style: none; }
.deal-list li { display: flex; gap: 10px; align-items: flex-start; font-size: clamp(0.88rem, 1.2vw, 1rem); color: var(--text-soft); }
.deal-list li::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--indigo-300); }

/* ---- Slide 16: close ---- */
.close { text-align: center; align-items: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 22px); width: 100%; max-width: 760px; margin: 0 auto; }
.step { padding: 20px; text-align: center; position: relative; }
.step__n { font-family: var(--font-mono); font-weight: 700; color: var(--indigo-300); font-size: 1.1rem; }
.step__title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin-top: 6px; }
.step__desc { font-size: 0.86rem; color: var(--text-faint); margin-top: 4px; }
.close__spine { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 1.9vw, 1.35rem); color: var(--text-soft); max-width: 60ch; margin: 4px auto 0; line-height: 1.5; }
.close__spine .hl { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.qr-block { display: inline-flex; align-items: center; gap: 18px; padding: 16px 22px; border-radius: var(--r-lg); }
.qr-block img, .qr-block svg { width: 110px; height: 110px; background: #fff; border-radius: 12px; padding: 8px; }
.qr-block__text { text-align: start; }
.qr-block__label { font-weight: 600; }
.qr-block__sub { font-family: var(--font-mono); font-size: 0.82rem; color: var(--cyan); margin-top: 2px; }
.qr-block.is-hidden { display: none; }

/* =============================================================== *
 *  RESPONSIVE
 * =============================================================== */
@media (max-width: 1024px) {
  .proof-grid, .product-grid, .tam, .curve-wrap, .two-col { grid-template-columns: 1fr; }
  .platform { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .branches { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  :root { --pad-y: 64px; }
  .slide { place-items: start center; overflow-y: auto; }
  .slide__inner { justify-content: flex-start; padding-block: 8px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .vs, .deal-cols, .prize-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split__plus { display: none; }
  .accel { grid-template-columns: 1fr; }
  .logos-flag { grid-template-columns: repeat(4, 1fr); }
  .branches { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .race__row { grid-template-columns: 64px 1fr; }
  .race__cost { grid-column: 2; justify-self: end; }
  .rail { display: none; }
  .comps thead { display: none; }
  .comps, .comps tbody, .comps tr, .comps td { display: block; width: 100%; }
  .comps tr { margin-bottom: 12px; border-radius: var(--r-md); overflow: hidden; }
  .comps td { border: none !important; border-radius: 0 !important; padding: 8px 14px; }
  .comps td::before { content: attr(data-th) ": "; color: var(--text-faint); font-family: var(--font-mono); font-size: 0.7rem; }
  .comps .c-company::before { display: none; }
  .qr-block { flex-direction: column; text-align: center; }
  .qr-block__text { text-align: center; }
  .hook__chips img:nth-child(2), .hook__chips img:nth-child(4) { display: none; }
  .toolbar { inset-inline-start: 12px; }
  .hud { inset-inline-end: 12px; }
}
@media (max-height: 560px) and (min-width: 760px) {
  .slide { place-items: center; }
  .slide__inner { gap: 12px; }
}

/* =============================================================== *
 *  PRINT  (leave-behind: light, clean A4, no animation) + Term Sheet
 * =============================================================== */
.print-only { display: none; }
@media print {
  @page { size: A4; margin: 16mm; }
  html, body { background: #fff !important; color: #15131f !important; overflow: visible !important; height: auto !important; }
  .bg-aurora, .gate, .progress, .hud, .toolbar, .rail, .deck { display: none !important; }
  .print-only { display: block !important; }

  .print-doc { color: #15131f; font-family: var(--font-sans); }
  .print-lockup { display: flex; align-items: center; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid #46418b; margin-bottom: 22px; }
  .print-lockup img.hopa { height: 38px; }
  .print-lockup img.hyp { height: 26px; }
  .print-lockup .x { color: #46418b; font-size: 1.2rem; }
  .print-doc h1 { font-family: var(--font-display); color: #2d2748; font-size: 1.7rem; margin-bottom: 2px; }
  .print-doc .ts-sub { color: #6b6680; font-size: 1rem; margin-bottom: 20px; }
  .ts-clause { margin-bottom: 14px; break-inside: avoid; }
  .ts-clause h3 { font-family: var(--font-sans); font-weight: 700; font-size: 1.05rem; color: #46418b; margin-bottom: 4px; }
  .ts-clause h3 .n { display: inline-block; min-width: 1.6em; }
  .ts-clause p { font-size: 0.95rem; line-height: 1.6; color: #2d2748; }
  .ts-footer { margin-top: 26px; padding-top: 12px; border-top: 1px solid #ddd; font-size: 0.8rem; color: #8a8699; }
  .print-page-break { break-before: page; }

  /* cover page */
  .print-cover { color: #15131f; font-family: var(--font-sans); padding-top: 6mm; }
  .print-cover .print-lockup { border-bottom: 2px solid #46418b; }
  .pc-kicker { font-family: var(--font-sans); letter-spacing: 0.22em; color: #46418b; font-size: 0.8rem; margin-top: 18px; }
  .pc-title { font-family: var(--font-display); font-size: 2.1rem; line-height: 1.12; color: #1a1730; margin: 8px 0; max-width: 18ch; }
  .pc-sub { font-size: 1.1rem; color: #5b5670; margin-bottom: 22px; }
  .pc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 26px; }
  .pc-stat { border: 1px solid #e6e4ee; border-radius: 12px; padding: 12px; text-align: center; }
  .pc-stat b { display: block; font-family: var(--font-display); font-size: 1.35rem; color: #46418b; }
  .pc-stat span { font-size: 0.74rem; color: #6b6680; }
  .pc-spine { font-family: var(--font-sans); font-weight: 700; font-size: 1.15rem; line-height: 1.5; color: #2d2748; border-inline-start: 3px solid #46418b; padding-inline-start: 16px; }
  .pc-foot { margin-top: 24px; font-family: var(--font-sans); color: #46418b; font-size: 0.95rem; }
}
