/* Clarity Search AI — Pitch Deck (V2 brand) */

@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans-Variable.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/PlayfairDisplay-Variable.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/PlayfairDisplay-Italic-Variable.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Now Display';
  src: local('Helvetica Now Display Black'), local('HelveticaNowDisplay-Black');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #08090A;
  --bg-deep: #050608;
  --surface: #111214;
  --surface-2: #161819;
  --fg: #F1F5F9;
  --fg-2: #94A3B8;
  --fg-muted: #475569;

  --silver-700: #475569;
  --silver-500: #94A3B8;
  --silver-400: #CBD5E1;
  --silver-300: #E2E8F0;
  --silver-200: #F1F5F9;
  --silver-100: #F8FAFC;
  --silver-grad: linear-gradient(135deg, #64748B 0%, #94A3B8 50%, #E2E8F0 100%);
  --silver-light-grad: linear-gradient(180deg, #FFFFFF 0%, #E2E8F0 100%);

  --violet-700: #4F46E5;
  --violet-600: #6366F1;
  --violet-500: #8B5CF6;
  --violet-400: #A78BFA;
  --violet-300: #C4B5FD;
  --violet-grad: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #A855F7 100%);

  --border: rgba(148, 163, 184, 0.10);
  --border-strong: rgba(148, 163, 184, 0.20);

  --success: #22C55E;
  --danger: #EF4444;
  --amber: #F59E0B;

  --font-display: 'Helvetica Now Display', 'Inter', 'DM Sans', system-ui, sans-serif;
  --font-editorial: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'DM Sans', system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

deck-stage section {
  position: relative;
  width: 1920px;
  height: 1080px;
  overflow: hidden;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
}

/* ── Backgrounds ── */
.bg-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(203,213,225,0.06), transparent 50%),
    radial-gradient(ellipse at 80% 90%, rgba(148,163,184,0.05), transparent 55%),
    var(--bg);
  z-index: 0;
}
.bg-deep {
  position: absolute; inset: 0;
  background: var(--bg-deep);
  z-index: 0;
}
.dot-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(148, 163, 184, 0.07) 1.4px, transparent 1.4px);
  background-size: 32px 32px;
  z-index: 1;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 50%, transparent 100%);
}
.aurora-violet, .aurora-silver {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 1;
}
.aurora-violet {
  background: radial-gradient(circle, rgba(139,92,246,0.18), transparent 60%);
  opacity: 0.20;
}
.aurora-silver {
  background: radial-gradient(circle, rgba(203,213,225,0.22), transparent 60%);
  opacity: 0.55;
}

/* Animated drift on active slide so the surface feels alive */
section[data-deck-active] .aurora-violet {
  animation: aurora-drift-a 18s ease-in-out infinite alternate;
}
section[data-deck-active] .aurora-silver {
  animation: aurora-drift-b 22s ease-in-out infinite alternate;
}
@keyframes aurora-drift-a {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0.55; }
  100% { transform: translate3d(40px, -30px, 0) scale(1.08); opacity: 0.7; }
}
@keyframes aurora-drift-b {
  0%   { transform: translate3d(0, 0, 0) scale(1); opacity: 0.45; }
  100% { transform: translate3d(-50px, 40px, 0) scale(1.06); opacity: 0.6; }
}

/* ── Frame ── */
.frame {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100%;
  padding: 80px 110px 110px;
  display: flex;
  flex-direction: column;
}

/* ── Footer ── */
.deck-footer {
  position: absolute;
  left: 110px;
  right: 110px;
  bottom: 38px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--silver-500);
  text-transform: uppercase;
}
.deck-footer img { height: 24px; opacity: 0.85; }
.deck-footer .url { color: var(--silver-500); }

/* ── Tags & Pills ── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--silver-300);
  padding: 10px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  width: max-content;
  background: rgba(255,255,255,0.02);
}
.section-tag::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--silver-300);
  box-shadow: 0 0 12px rgba(226,232,240,0.55);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 12px rgba(226,232,240,0.55); }
  50%      { box-shadow: 0 0 22px rgba(226,232,240,0.85); }
}

.tag {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 500;
}
.tag--silver { color: var(--silver-300); background: rgba(148,163,184,0.10); border: 1px solid var(--border); }
.tag--violet { color: var(--silver-200); background: rgba(203,213,225,0.10); border: 1px solid var(--border-strong); }
.tag--success { color: var(--success); background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.25); }
.tag--amber  { color: var(--amber); background: rgba(245,158,11,0.10); border: 1px solid rgba(245,158,11,0.25); }

.pill {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 24px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  background: rgba(255,255,255,0.02);
  color: var(--fg);
}
.pill .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--silver-grad);
  box-shadow: 0 0 12px rgba(203,213,225,0.4);
}

/* ── Title styles ── */
.title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 96px;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0;
  color: var(--fg);
}
.title em {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--fg);
}

.subtitle {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--fg);
}

.small {
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1.55;
  color: var(--fg);
}

.meta {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* ── Helpers ── */
.text-silver {
  background: var(--silver-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-violet {
  background: var(--violet-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Cards ── */
.card {
  position: relative;
  background: linear-gradient(180deg, #1A1B1E 0%, #121315 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px 32px;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), border-color 0.3s ease;
}

.card--violet {
  border-color: rgba(148,163,184,0.22);
  background: linear-gradient(180deg, #1F2024 0%, #14161A 100%);
  box-shadow: 0 0 60px rgba(148,163,184,0.10);
}

/* Light silver card (used for team — so brand logos render correctly) */
.card--silver-light {
  background: linear-gradient(180deg, #FFFFFF 0%, #E2E8F0 100%);
  border: 1px solid #CBD5E1;
  color: #0F172A;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.7),
    0 30px 60px -30px rgba(0,0,0,0.45),
    0 0 0 1px rgba(255,255,255,0.05);
}
.card--silver-light .meta { color: #475569; }
.card--silver-light .name { color: #0F172A; }
.card--silver-light .role { color: #475569; }
.card--silver-light .small { color: #334155; }
.card--silver-light .label { color: #64748B; }

/* ── KPI ── */
.kpi { padding-right: 24px; }
.kpi__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 144px;
  line-height: 1;
  letter-spacing: -0.05em;
}
.kpi__label {
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1.5;
  color: var(--fg-2);
  margin-top: 18px;
  max-width: 440px;
}

/* ── Button ── */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 20px 32px;
  background: var(--silver-grad);
  color: #0F172A;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
  border-radius: 14px;
  box-shadow: 0 0 30px rgba(203,213,225,0.25);
}
.btn::after {
  content: '→';
  font-size: 22px;
}
.btn--violet {
  background: var(--silver-grad);
  color: #0F172A;
  box-shadow: 0 0 40px rgba(203,213,225,0.30);
}

/* ── Avatar ── */
.avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--silver-grad);
  color: #0F172A;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.02em;
  overflow: hidden;
}
.avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.avatar--lg { width: 96px; height: 96px; font-size: 36px; }
.avatar--xl { width: 128px; height: 128px; font-size: 48px; }

/* Team-specific photo frame, large circular portrait inside silver card */
.team-photo {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--silver-grad);
  box-shadow:
    inset 0 0 0 4px #FFFFFF,
    0 16px 32px -16px rgba(15,23,42,0.5);
  flex-shrink: 0;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-photo--zoom img { transform: scale(1.18); transform-origin: center; }
.team-photo--top img { object-position: top center; transform: scale(1.05); transform-origin: top center; }

/* Logo strip — for previous companies / education on team cards */
.logo-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.logo-chip {
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 10px;
  padding: 0 16px;
}
.logo-chip img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: saturate(0.88);
}
.logo-chip--text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: #0F172A;
  padding: 0 16px;
}

/* Education logos render about 2x experience size */
.logo-strip--edu .logo-chip { height: 100px; padding: 0 22px; }
.logo-strip--edu .logo-chip img { height: 64px; }

/* ── Browser mock ── */
.mock {
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
}
.mock__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  background: rgba(0,0,0,0.4);
  border-bottom: 1px solid var(--border);
}
.mock__dot {
  width: 12px; height: 12px; border-radius: 50%;
}
.mock__dot.r { background: #FF5F56; }
.mock__dot.y { background: #FFBD2E; }
.mock__dot.g { background: #27C93F; }
.mock__url {
  margin-left: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-muted);
}

/* Demo-blank placeholder */
.demo-blank {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed rgba(148,163,184,0.25);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(139,92,246,0.06), transparent 65%),
    repeating-linear-gradient(135deg, rgba(148,163,184,0.025) 0 1px, transparent 1px 22px);
  position: relative;
  overflow: hidden;
}
.demo-blank::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(203,213,225,0.10), transparent 50%);
  filter: blur(40px);
  animation: demo-pulse 4s ease-in-out infinite;
}
@keyframes demo-pulse {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 0.8; }
}
.demo-blank__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

/* ── Bars (use of funds) ── */
.bar {
  height: 14px;
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
  overflow: hidden;
}
.bar__fill {
  height: 100%;
  border-radius: 999px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.9s cubic-bezier(.22,.85,.25,1) 0.25s;
}
.bar__fill.silver { background: var(--silver-grad); box-shadow: 0 0 16px rgba(203,213,225,0.3); }
.bar__fill.violet { background: var(--violet-grad); box-shadow: 0 0 16px rgba(139,92,246,0.4); }
.bar__fill.muted { background: rgba(148,163,184,0.3); }
section[data-deck-active] .bar__fill { transform: scaleX(1); }

/* ── Donut chart (use of funds) ── */
.donut {
  width: 360px;
  height: 360px;
  position: relative;
  display: block;
}
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); display: block; }
.donut__seg {
  fill: none;
  stroke-width: 18;
  stroke-linecap: butt;
  stroke-dasharray: 0 251.33;
  transition: stroke-dasharray 1.1s cubic-bezier(.22,.85,.25,1);
}
section[data-deck-active] .donut__seg { stroke-dasharray: var(--seg-dash) 251.33; }
.donut__bg { fill: none; stroke: rgba(148,163,184,0.08); stroke-width: 18; }
.donut__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}
.donut-legend {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.donut-legend__row {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  align-items: center;
  gap: 16px;
}
.donut-legend__swatch {
  width: 14px; height: 14px; border-radius: 4px;
}
.donut-legend__swatch.silver { background: var(--silver-grad); box-shadow: 0 0 10px rgba(203,213,225,0.35); }
.donut-legend__swatch.violet { background: var(--violet-grad); box-shadow: 0 0 10px rgba(139,92,246,0.45); }
.donut-legend__swatch.muted { background: rgba(148,163,184,0.5); }
.donut-legend__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.donut-legend__pct {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.donut-legend__sub {
  grid-column: 2 / -1;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--fg-2);
  margin-top: 2px;
  line-height: 1.4;
}

/* ── Pricing tier card (business model) ── */
.tier {
  position: relative;
  padding: 32px 30px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, #1A1B1E 0%, #121315 100%);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.tier--featured {
  border-color: rgba(148,163,184,0.22);
  background: linear-gradient(180deg, #1F2024 0%, #14161A 100%);
  box-shadow: 0 0 60px rgba(148,163,184,0.10);
}
.tier__badge {
  position: absolute;
  top: -12px; left: 24px;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0F172A;
  background: var(--silver-grad);
  border-radius: 999px;
  box-shadow: 0 8px 24px -8px rgba(148,163,184,0.5);
}
.tier__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.tier__price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.04em;
}
.tier__price small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  color: var(--fg-2);
  letter-spacing: 0;
  margin-left: 4px;
}
.tier__features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tier__features li {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.4;
  color: var(--fg);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.tier__features li::before {
  content: '✓';
  color: var(--silver-300);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Path / road-to chart ── */
.path-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  padding: 24px 0;
}
.path-track::before {
  content: '';
  position: absolute;
  left: 6%;
  right: 6%;
  top: 56px;
  height: 2px;
  background: linear-gradient(90deg, rgba(148,163,184,0.18) 0%, rgba(226,232,240,0.55) 100%);
  z-index: 0;
}
.path-step {
  position: relative;
  padding: 0 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 1;
}
.path-step__node {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--silver-300);
  box-shadow: 0 0 0 6px rgba(148,163,184,0.10);
  margin-bottom: 24px;
  margin-top: 24px;
}
.path-step--key .path-step__node {
  background: var(--silver-300);
  box-shadow: 0 0 0 8px rgba(203,213,225,0.18), 0 0 24px rgba(226,232,240,0.6);
}
.path-step__date {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver-500);
  margin-bottom: 12px;
}
.path-step__metric {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.path-step--key .path-step__metric { color: var(--silver-200); }
.path-step__sub {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--fg-2);
  margin-top: 8px;
  line-height: 1.4;
  max-width: 180px;
}

/* ── GTM channel card ── */
.channel {
  padding: 28px 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, #1A1B1E 0%, #121315 100%);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.channel__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--silver-400);
  text-transform: uppercase;
}
.channel__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.channel__body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--fg-2);
}

/* ── Competition matrix ── */
.compete {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr) 1fr;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #1A1B1E 0%, #121315 100%);
}
.compete > div {
  padding: 22px 24px;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.compete > div:nth-child(5n) { border-right: none; }
.compete > div:nth-child(-n+5) { border-top: none; }
.compete .head {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver-500);
  background: #1F2024;
  font-weight: 500;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.25;
}
.compete .head .company { display: block; }
.compete .head .category {
  display: block;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
  color: var(--fg-muted);
}
.compete .feature {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.compete .clarity-col {
  background: linear-gradient(135deg, rgba(203,213,225,0.08), transparent);
  color: var(--silver-200);
}
.compete .clarity-col.head { color: var(--silver-200); }
.compete .check {
  color: var(--success);
  font-size: 22px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.compete .check::before { content: '✓'; }
.compete .x {
  color: var(--danger);
  font-size: 20px;
  font-weight: 600;
  opacity: 0.7;
}
.compete .x::before { content: '–'; }
.compete .partial {
  color: var(--amber);
  font-size: 18px;
  font-weight: 600;
}

/* Profound: visually prominent as our main competitor */
.compete .profound-col {
  background: linear-gradient(135deg, rgba(245,158,11,0.10), rgba(245,158,11,0.02));
  color: var(--amber);
}
.compete .profound-col.head { color: var(--amber); }

/* Combined Product slide demo placeholder (right 2/3 column) */
.demo-pane {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050608;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}
.demo-pane::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(203,213,225,0.08), transparent 55%),
    repeating-linear-gradient(135deg, rgba(148,163,184,0.025) 0 1px, transparent 1px 22px);
  filter: blur(10px);
  opacity: 0.6;
  animation: demo-pulse 5s ease-in-out infinite;
}
.demo-pane__label {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* Path step: emphasis on customer count over date */
.path-step__count {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--silver-300);
  margin-top: 8px;
}
.path-step--key .path-step__count { color: var(--silver-200); }

/* Final slide contact card */
.contact-card {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 28px 18px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
}
.contact-card__photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--silver-grad);
  flex-shrink: 0;
}
.contact-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.contact-card__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.contact-card__role { color: var(--silver-400); font-size: 13px; font-family: var(--font-mono); letter-spacing: 0.18em; text-transform: uppercase; margin-top: 4px; }
.contact-card__email {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--silver-300);
  letter-spacing: 0.02em;
  margin-left: 16px;
  padding-left: 22px;
  border-left: 1px solid var(--border-strong);
}

/* ── TAM / Market viz ── */
.tam-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 0;
  padding: 18px 28px;
  align-items: center;
  border-top: 1px solid var(--border);
}
.tam-row:first-child { border-top: none; }
.tam-row .icp {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.tam-row .icp small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  color: var(--fg-2);
  margin-top: 3px;
  letter-spacing: 0;
  line-height: 1.35;
}
.tam-row .num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.tam-row .num small { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--silver-500); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 2px; font-weight: 400; }
.tam-row .num--violet { color: var(--silver-200); }
.tam-row.tam-row--total {
  border-top: 2px solid rgba(148,163,184,0.30);
  background: linear-gradient(135deg, rgba(203,213,225,0.06), transparent);
}
.tam-row.tam-row--total .num { font-size: 32px; }

/* ── Animations: per-active slide ── */
@keyframes slide-up-in {
  0%   { opacity: 0; transform: translate3d(0, 28px, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fade-in {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes scale-in {
  0%   { opacity: 0; transform: scale(0.94); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes letter-spacing-in {
  0%   { opacity: 0; letter-spacing: 0.4em; }
  100% { opacity: 1; letter-spacing: 0.18em; }
}

section[data-deck-active] .title,
section[data-deck-active] .hero-title {
  animation: slide-up-in 0.85s cubic-bezier(.22,.85,.25,1) 0.1s both;
}
section[data-deck-active] .lede {
  animation: slide-up-in 0.85s cubic-bezier(.22,.85,.25,1) 0.25s both;
}
section[data-deck-active] .stagger > * {
  animation: slide-up-in 0.7s cubic-bezier(.22,.85,.25,1) both;
}
section[data-deck-active] .stagger > *:nth-child(1) { animation-delay: 0.30s; }
section[data-deck-active] .stagger > *:nth-child(2) { animation-delay: 0.40s; }
section[data-deck-active] .stagger > *:nth-child(3) { animation-delay: 0.50s; }
section[data-deck-active] .stagger > *:nth-child(4) { animation-delay: 0.60s; }
section[data-deck-active] .stagger > *:nth-child(5) { animation-delay: 0.70s; }
section[data-deck-active] .stagger > *:nth-child(6) { animation-delay: 0.80s; }

section[data-deck-active] .kpi__num {
  animation: scale-in 0.8s cubic-bezier(.22,.85,.25,1) 0.3s both;
}
section[data-deck-active] .pulse-dot {
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  section[data-deck-active] *,
  section[data-deck-active] *::before,
  section[data-deck-active] *::after { animation: none !important; transition: none !important; }
  .bar__fill { transform: scaleX(1) !important; }
}

/* ── Live-pulse dot for traction-style highlights ── */
.live-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 14px var(--success);
  display: inline-block;
}
.live-dot--violet {
  background: var(--silver-300);
  box-shadow: 0 0 14px rgba(203,213,225,0.45);
}

/* ── Responsive: keep design legible at any viewport ── */
@media (max-width: 768px) {
  .deck-footer { left: 24px; right: 24px; bottom: 18px; font-size: 11px; }
  .deck-footer img { height: 18px; }
}
