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

:root {
  --bg: #09090b;
  --surface: #111113;
  --surface2: #18181c;
  --border: #1f1f26;
  --border2: #2a2a35;
  --text: #ededf0;
  --text-2: #a1a1b0;
  --text-3: #62627a;
  --accent: #379BFF;
  --accent-glow: rgba(55,155,255,0.2);
  --green: #22c55e;
  --green-bg: rgba(34,197,94,0.08);
  --amber: #f59e0b;
  --red: #ef4444;
  --slack-purple: #4a154b;
  --slack-bg: #1a1d21;
  --slack-sidebar: #19171d;
  --slack-border: #2d2d35;
  --slack-green: #007a5a;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Geist', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.wrapper {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 80px 32px 120px;
}

/* ── HEADER ── */
.header {
  text-align: center;
  margin-bottom: 72px;
  animation: fadeUp 0.7s ease both;
}

.launch-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(55,155,255,0.07);
  border: 1px solid rgba(55,155,255,0.18);
  color: #7bbfff;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 28px;
}
.launch-tag .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 2s ease infinite;
}

h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(38px, 5.5vw, 58px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
h1 em { font-style: italic; color: #7bbfff; }

.subhead {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 500px;
  margin: 0 auto 44px;
  font-weight: 300;
}

.stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border2);
  border-radius: 10px;
  overflow: hidden;
  display: inline-flex;
  background: var(--surface);
}
.stat {
  padding: 18px 32px;
  text-align: center;
  border-right: 1px solid var(--border2);
}
.stat:last-child { border-right: none; }
.stat-n {
  font-family: 'Instrument Serif', serif;
  font-size: 30px;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-l {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.07em;
  color: var(--text-3);
  text-transform: uppercase;
}

.header-logo {
  width: 140px;
  height: auto;
  margin: 0 auto 24px;
  display: block;
  opacity: 0.95;
}

.cta-wordmark {
  width: 110px;
  height: auto;
  flex-shrink: 0;
}

.cta-brand-name { display: none; }

.header-cta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.header-cta-sub {
  font-size: 13px;
  color: var(--text-3);
  font-weight: 300;
}

/* ── SECTION DIVIDER ── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
  animation: fadeUp 0.6s ease 0.3s both;
}
.section-divider span {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
}
.section-divider::after {
  content: ''; flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── FLOW STEPS ── */
.flow { display: flex; flex-direction: column; }

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0 20px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.step.in { opacity: 1; transform: none; }

.spine {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.node {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  color: var(--text-3);
  position: relative;
  z-index: 1;
  transition: border-color 0.3s, color 0.3s;
}
.step.in .node {
  border-color: var(--accent);
  color: #7bbfff;
}
.vline {
  width: 1px; flex: 1; min-height: 36px;
  background: linear-gradient(to bottom, var(--border2) 0%, transparent 100%);
}
.step:last-child .vline { display: none; }

.step-body { padding-bottom: 52px; }
.step:last-child .step-body { padding-bottom: 0; }

.step-header {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.surface-badge {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid var(--border2);
  background: var(--surface);
  padding: 3px 9px;
  border-radius: 3px;
}
.step-title {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 7px;
  color: var(--text);
}
.step-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 20px;
  max-width: 600px;
}

/* ── UI CARDS ── */
.ui-card {
  border-radius: 10px;
  border: 1px solid var(--border2);
  overflow: hidden;
  background: var(--surface);
  font-size: 13px;
}

/* ===== STEP 1: HINDSIGHT DEAL PAGE ===== */
.hs-shell {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 320px;
}

.hs-sidebar {
  padding: 16px 0;
}

.hs-sidebar-top {
  padding: 0 12px 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

.hs-breadcrumb {
  font-size: 11px;
  color: var(--text-3);
  font-family: 'DM Mono', monospace;
  margin-bottom: 8px;
}
.hs-breadcrumb span { color: var(--text-2); }

.hs-deal-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
}

.hs-prop { display: flex; justify-content: space-between; margin-bottom: 5px; }
.hs-prop-label { font-size: 11px; color: var(--text-3); }
.hs-prop-val { font-size: 11px; color: var(--text-2); font-family: 'DM Mono', monospace; }
.pill-lost { background: rgba(239,68,68,0.1); color: #f87171; border-radius: 3px; padding: 1px 6px; font-size: 10px; }
.pill-won { background: rgba(34,197,94,0.1); color: #4ade80; border-radius: 3px; padding: 1px 6px; font-size: 10px; }

.hs-nav-item {
  padding: 6px 12px;
  font-size: 11px;
  color: var(--text-3);
  cursor: pointer;
  border-radius: 4px;
  margin: 1px 6px;
  display: flex; align-items: center; gap: 6px;
}
.hs-nav-item.active {
  background: rgba(55,155,255,0.1);
  color: #7bbfff;
}
.hs-nav-item::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0.5; }

.hs-main {
  padding: 16px;
}

.hs-session-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.hs-session-title {
  font-size: 12px;
  font-weight: 500;
  display: flex; align-items: center; gap: 6px;
}
.hs-session-title::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: blink 2s ease infinite;
}

.hs-run-btn {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 5px;
  font-family: 'DM Mono', monospace;
}

.hs-event {
  border-radius: 7px;
  padding: 10px 12px;
  margin-bottom: 8px;
  animation: slideIn 0.4s ease both;
}

.hs-event-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 4px;
}

.hs-event-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px;
  flex-shrink: 0;
}

.hs-event-label {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}

.hs-event-sub {
  font-size: 11px;
  line-height: 1.5;
  padding-left: 28px;
}

.hs-contact-found {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 8px;
}
.hs-contact-found-text { font-size: 11px; }

.hs-followup {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 11px;
}
.hs-followup-icon { font-size: 13px; }

/* ===== STEP 1 LIGHT THEME ===== */
.hs-shell {
  --hs-bg: #ffffff;
  --hs-sidebar-bg: #f7f7f8;
  --hs-sidebar-border: #e8e8ec;
  --hs-text: #111113;
  --hs-text-2: #555566;
  --hs-text-3: #9999aa;
  --hs-border: #e8e8ec;
  --hs-border2: #d8d8e2;
  --hs-surface2: #f2f2f5;
  --hs-green: #16a34a;
  background: var(--hs-bg);
}

.hs-sidebar {
  background: var(--hs-sidebar-bg) !important;
  border-right: 1px solid var(--hs-sidebar-border) !important;
}

.hs-sidebar-top {
  border-bottom: 1px solid var(--hs-sidebar-border) !important;
}

.hs-breadcrumb { color: var(--hs-text-3) !important; }
.hs-breadcrumb span { color: var(--hs-text-2) !important; }
.hs-deal-name { color: var(--hs-text) !important; }
.hs-prop-label { color: var(--hs-text-3) !important; }
.hs-prop-val { color: var(--hs-text-2) !important; }

.hs-shell .pill-lost { background: rgba(239,68,68,0.08); color: #dc2626; }
.hs-shell .pill-won { background: rgba(22,163,74,0.08); color: #16a34a; }

.hs-nav-item { color: var(--hs-text-3) !important; }
.hs-nav-item.active { background: rgba(55,155,255,0.07) !important; color: #2b8ee8 !important; }

.hs-main { background: var(--hs-bg) !important; }

.hs-session-title { color: var(--hs-text-2) !important; }
.hs-session-title::before { background: #16a34a !important; }

.hs-run-btn {
  background: var(--hs-surface2) !important;
  border: 1px solid var(--hs-border2) !important;
  color: var(--hs-text-2) !important;
}

.hs-event {
  background: var(--hs-surface2) !important;
  border: 1px solid var(--hs-border) !important;
}

.hs-event-icon {
  background: #fff !important;
  border: 1px solid var(--hs-border2) !important;
}

.hs-event-label { color: var(--hs-text-2) !important; }
.hs-event-sub { color: var(--hs-text-3) !important; }

.hs-contact-found {
  background: rgba(22,163,74,0.05) !important;
  border: 1px solid rgba(22,163,74,0.18) !important;
}
.hs-contact-found-text { color: var(--hs-text-2) !important; }
.hs-contact-found-text strong { color: var(--hs-green) !important; }

.hs-followup {
  background: var(--hs-surface2) !important;
  border: 1px solid var(--hs-border) !important;
  color: var(--hs-text-3) !important;
}

/* ===== STEP 2: SLACK APPROVAL ===== */
.slack-shell {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 340px;
  background: var(--slack-bg);
}

.slack-sidebar {
  background: var(--slack-sidebar);
  border-right: 1px solid var(--slack-border);
  padding: 12px 0;
}

.slack-workspace {
  padding: 8px 12px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.slack-workspace-icon {
  width: 22px; height: 22px;
  background: #4a154b;
  border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
}

.slack-section-label {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  padding: 4px 12px;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.slack-ch {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  border-radius: 4px;
  margin: 1px 6px;
}
.slack-ch.active {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.slack-ch-prefix { font-size: 11px; opacity: 0.6; }

.slack-dm-section { margin-top: 8px; }

.slack-dm {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  margin: 1px 6px;
}
.slack-dm.active { color: #fff; }
.slack-dm-av {
  width: 16px; height: 16px;
  border-radius: 3px;
  background: rgba(255,255,255,0.15);
  font-size: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
}

.slack-main {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
}

.slack-msg {
  display: flex;
  gap: 10px;
  padding: 8px 0;
}

.slack-av {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: #0f0f14;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  overflow: hidden;
}
.slack-av img, .slack-thread-av img, .slack-dm-av img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.slack-av.hs-bot, .slack-thread-av.hs-bot {
  background: #0d1117;
  padding: 4px;
}
.slack-dm-av.hs-bot {
  background: #0d1117;
  padding: 2px;
}

.slack-msg-body { flex: 1; }
.slack-msg-sender {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.slack-sender-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.slack-app-badge {
  font-size: 9px;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  padding: 1px 5px;
  border-radius: 2px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.slack-ts {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
}

.slack-approval-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 12px 14px;
  margin-top: 4px;
}

.slack-approval-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.slack-field {
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 12px;
  line-height: 1.5;
}
.slack-field-label {
  color: rgba(255,255,255,0.4);
  font-weight: 600;
  flex-shrink: 0;
}
.slack-field-val { color: rgba(255,255,255,0.8); }

.slack-variant-row {
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.slack-variant-label { font-size: 11px; color: rgba(255,255,255,0.4); }
.slack-variant-val {
  font-size: 11px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  padding: 2px 8px;
  border-radius: 3px;
  font-family: 'DM Mono', monospace;
}

.slack-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 5px;
  padding: 8px 10px;
  margin-top: 8px;
}
.slack-contact-info { }
.slack-contact-name { font-size: 12px; font-weight: 600; color: #fff; }
.slack-contact-email { font-size: 11px; color: rgba(255,255,255,0.35); font-family: 'DM Mono', monospace; }

.slack-approve-btn {
  background: #007a5a;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  animation: pulseBtn 2.5s ease 1.5s infinite;
}
.slack-approve-btn:hover { background: #00a878; }

.slack-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 4px;
  cursor: pointer;
}

/* ===== STEP 3: SLACK SELLER INTERVIEW ===== */
.slack-thread-panel {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid var(--slack-border);
}

.slack-thread-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--slack-border);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.slack-thread-msgs {
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slack-thread-msg {
  display: flex;
  gap: 8px;
  animation: fadeUp 0.4s ease both;
}

.slack-thread-av {
  width: 28px; height: 28px;
  border-radius: 5px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}
.av-hs { background: #0d1117; padding: 3px; }
.av-user { background: #2d5a3d; font-size: 10px; color: rgba(255,255,255,0.8); }

.slack-thread-content { flex: 1; }
.slack-thread-name { font-size: 12px; font-weight: 600; color: #fff; margin-bottom: 3px; }
.slack-thread-text { font-size: 12px; color: rgba(255,255,255,0.7); line-height: 1.5; }
.slack-thread-text.question { color: rgba(255,255,255,0.85); }

.audio-bubble {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 8px 12px;
  margin-top: 4px;
  width: fit-content;
}
.audio-play {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 8px;
  color: #fff;
  cursor: pointer;
}
.audio-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 20px;
}
.wave-bar {
  width: 3px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  animation: wave 1.2s ease infinite;
}
.wave-bar:nth-child(2) { animation-delay: 0.1s; height: 12px; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; height: 16px; }
.wave-bar:nth-child(4) { animation-delay: 0.3s; height: 10px; }
.wave-bar:nth-child(5) { animation-delay: 0.4s; height: 14px; }
.wave-bar:nth-child(6) { animation-delay: 0.2s; height: 8px; }
.wave-bar:nth-child(7) { animation-delay: 0.1s; height: 12px; }
.audio-dur { font-size: 11px; color: rgba(255,255,255,0.4); font-family: 'DM Mono', monospace; }

.transcript-label {
  font-size: 11px;
  color: var(--accent);
  margin-top: 6px;
  cursor: pointer;
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.04em;
}

.transcript-text {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
  margin-top: 4px;
  font-style: italic;
  border-left: 2px solid var(--border2);
  padding-left: 8px;
}

/* ===== STEP 4: EMAIL ===== */
.email-shell {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  color: #1a1a1a;
}

.email-chrome {
  background: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.email-dots { display: flex; gap: 5px; }
.email-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.email-dot.r { background: #ff5f57; }
.email-dot.y { background: #ffbd2e; }
.email-dot.g { background: #28c840; }

.email-url {
  flex: 1;
  background: #fff;
  border-radius: 5px;
  border: 1px solid #ddd;
  padding: 4px 10px;
  font-size: 11px;
  color: #888;
  font-family: 'DM Mono', monospace;
}

.email-toolbar {
  background: #f8f8f8;
  border-bottom: 1px solid #e8e8e8;
  padding: 8px 16px;
  display: flex;
  gap: 12px;
}
.email-toolbar-btn {
  font-size: 11px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.email-header-row {
  padding: 16px 20px 12px;
  border-bottom: 1px solid #f0f0f0;
}

.email-subject {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
  font-family: 'Geist', sans-serif;
}
.email-subject mark {
  background: #fff3cd;
  color: #1a1a1a;
  border-radius: 2px;
  padding: 0 2px;
}

.email-from-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.email-from {
  display: flex;
  align-items: center;
  gap: 8px;
}
.email-from-av {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #379BFF, #81DBFD);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  color: #fff;
  font-weight: 600;
  font-family: 'Geist', sans-serif;
}
.email-from-name { font-size: 13px; font-weight: 600; color: #1a1a1a; }
.email-from-addr { font-size: 11px; color: #888; font-family: 'DM Mono', monospace; }
.email-date { font-size: 11px; color: #888; }

.email-body {
  padding: 20px 20px 24px;
  font-size: 14px;
  color: #333;
  line-height: 1.7;
  font-family: Georgia, serif;
}
.email-body p { margin-bottom: 14px; }
.email-body p:last-child { margin-bottom: 0; }
.email-link {
  color: #1a56db;
  text-decoration: underline;
  cursor: pointer;
}

.email-actions {
  padding: 10px 20px 16px;
  display: flex;
  gap: 8px;
}
.email-action-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #ddd;
  background: #fff;
  color: #555;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 18px;
  cursor: pointer;
  font-family: 'Geist', sans-serif;
}

/* ===== STEP 5: AI INTERVIEW ===== */
.interview-shell {
  background: #0f0f14;
  border-radius: 10px;
  overflow: hidden;
}

.interview-topbar {
  background: #111118;
  border-bottom: 1px solid #1e1e2a;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.interview-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.interview-brand-logo {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #379BFF, #81DBFD);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  color: #fff;
  font-weight: 700;
  font-family: 'Geist', sans-serif;
}
.interview-brand-name { font-size: 14px; font-weight: 600; color: #fff; }
.interview-brand-sub { font-size: 10px; color: var(--text-3); }

.interview-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}
.interview-ctrl-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.03em;
}
.ctrl-voice {
  background: rgba(55,155,255,0.12);
  border: 1px solid rgba(55,155,255,0.25);
  color: #7bbfff;
}
.ctrl-voice::before { content: '◉'; font-size: 9px; color: var(--green); animation: blink 2s ease infinite; }
.ctrl-end {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.25);
  color: #f87171;
}

.interview-body {
  display: grid;
  grid-template-columns: 1fr 1fr 320px;
  gap: 0;
  min-height: 280px;
}

.interview-videos {
  grid-column: 1 / 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

.video-tile {
  background: #0a0a10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  position: relative;
  min-height: 200px;
}

.video-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  position: relative;
}
.av-paige {
  background: linear-gradient(135deg, #379BFF 0%, #8b5cf6 100%);
  box-shadow: 0 0 30px rgba(55,155,255,0.4);
  animation: auraBreath 3s ease infinite;
}
.av-kane {
  background: #2a3a4a;
  font-size: 18px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  font-family: 'Geist', sans-serif;
}

.speaking-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--green);
  animation: speakRing 1.5s ease infinite;
}

.video-name {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}
.video-name strong { color: rgba(255,255,255,0.8); }

.interview-chat {
  background: #0d0d12;
  border-left: 1px solid #1e1e2a;
  display: flex;
  flex-direction: column;
  max-height: 280px;
  overflow: hidden;
}

.chat-msgs {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.chat-bubble {
  max-width: 90%;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.55;
  animation: fadeUp 0.4s ease both;
}
.bubble-ai {
  background: rgba(55,155,255,0.1);
  border: 1px solid rgba(55,155,255,0.15);
  color: rgba(255,255,255,0.8);
  align-self: flex-start;
  border-radius: 8px 8px 8px 2px;
}
.bubble-user {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.65);
  align-self: flex-end;
  border-radius: 8px 8px 2px 8px;
}

.chat-input-row {
  padding: 8px 12px;
  border-top: 1px solid #1e1e2a;
  display: flex;
  align-items: center;
  gap: 8px;
}
.chat-input-fake {
  flex: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 11px;
  color: var(--text-3);
  font-family: 'Geist', sans-serif;
}

/* ── ANALYTICS PANEL ── */
.analytics-panel {
  background: var(--surface);
  border: 1px solid var(--border2);
}

.analytics-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px 12px;
  border-bottom: 1px solid var(--border);
}

.analytics-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.analytics-sub {
  font-size: 12px;
  color: var(--text-3);
  flex: 1;
}

.analytics-badge {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(55,155,255,0.08);
  border: 1px solid rgba(55,155,255,0.2);
  color: #7bbfff;
  padding: 3px 8px;
  border-radius: 3px;
}

.analytics-body {
  display: flex;
  gap: 0;
  padding: 16px;
  align-items: flex-start;
}

.analytics-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  margin: 0 20px;
  flex-shrink: 0;
}

.chart-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chart-label {
  font-size: 11px;
  color: var(--text-3);
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chart-area {
  position: relative;
}

.sparkline {
  width: 100%;
  height: 70px;
  display: block;
}

.chart-x-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
}
.chart-x-labels span {
  font-size: 10px;
  color: var(--text-3);
  font-family: 'DM Mono', monospace;
}

.chart-stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 4px;
}
.chart-stat-n {
  font-family: 'Instrument Serif', serif;
  font-size: 28px;
  color: var(--text);
  line-height: 1;
}
.chart-stat-l {
  font-size: 11px;
  color: var(--text-3);
  font-family: 'DM Mono', monospace;
}

/* Variant bars */
.variant-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.variant-row {}

.variant-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 5px;
}

.variant-name {
  font-size: 12px;
  color: var(--text-2);
}

.variant-pct {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  font-weight: 500;
}

.variant-bar-track {
  height: 5px;
  background: rgba(255,255,255,0.05);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 4px;
}

.variant-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  width: 0 !important;
}

.variant-bar-fill.animate {
  width: var(--target-width) !important;
}

.variant-trend {
  font-size: 10px;
  color: var(--text-3);
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.03em;
}

/* ── CTA FOOTER ── */
.cta-footer {
  margin-top: 48px;
  border: 1px solid var(--border2);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(55,155,255,0.06) 0%, rgba(139,92,246,0.04) 100%);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.cta-footer.in { opacity: 1; transform: none; }

.cta-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
}

.cta-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cta-logo {
  width: 32px;
  height: 32px;
}

.cta-brand-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  font-family: 'Geist', sans-serif;
}

.cta-text {
  flex: 1;
}

.cta-headline {
  font-family: 'Instrument Serif', serif;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 4px;
}

.cta-sub {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.5;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 11px 22px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-family: 'Geist', sans-serif;
}
.cta-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.result {
  margin-top: 60px;
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 10px;
  background: var(--green-bg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.result.in { opacity: 1; transform: none; }
.result-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.result-copy strong { display: block; font-size: 16px; font-weight: 500; color: var(--green); margin-bottom: 4px; }
.result-copy span { font-size: 14px; color: var(--text-2); font-weight: 300; }
.result-num { margin-left: auto; text-align: right; flex-shrink: 0; }
.result-num strong { display: block; font-family: 'Instrument Serif', serif; font-size: 40px; line-height: 1; color: var(--text); }
.result-num span { font-size: 11px; color: var(--text-3); font-family: 'DM Mono', monospace; letter-spacing: 0.06em; text-transform: uppercase; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
@keyframes wave {
  0%, 100% { height: 6px; }
  50% { height: 16px; }
}
@keyframes auraBreath {
  0%, 100% { box-shadow: 0 0 20px rgba(55,155,255,0.3); }
  50% { box-shadow: 0 0 40px rgba(55,155,255,0.6), 0 0 80px rgba(55,155,255,0.2); }
}
@keyframes speakRing {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.3); opacity: 0; }
}
@keyframes pulseBtn {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,122,90,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(0,122,90,0); }
}

/* ── LOGO CLOUD ── */
.logo-cloud {
  margin-bottom: 56px;
  animation: fadeUp 0.6s ease 0.2s both;
}
.logo-cloud-label {
  text-align: center;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 20px;
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}
.logo-cell {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  min-height: 60px;
}
.logo-cell:hover img {
  opacity: 0.9 !important;
}

/* ── RESPONSIVE / MOBILE ── */
@media (max-width: 640px) {

  .wrapper {
    padding: 48px 16px 80px;
  }

  .header {
    margin-bottom: 48px;
  }

  .header-logo {
    width: 110px;
  }

  .subhead {
    font-size: 14px;
  }

  .stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }

  .stat {
    padding: 14px 10px;
  }

  .stat-n {
    font-size: 22px;
  }

  .header-cta .cta-btn {
    width: 100%;
    justify-content: center;
  }

  /* Logo cloud */
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Flow steps */
  .step {
    grid-template-columns: 36px 1fr;
    gap: 0 12px;
  }

  .node {
    width: 36px;
    height: 36px;
    font-size: 11px;
  }

  .step-body {
    padding-bottom: 36px;
  }

  .step-title {
    font-size: 16px;
  }

  .step-desc {
    font-size: 13px;
  }

  /* Step 1: HS shell — hide sidebar */
  .hs-shell {
    grid-template-columns: 1fr;
  }

  .hs-sidebar {
    display: none;
  }

  /* Step 2/3: Slack shell — hide sidebar */
  .slack-shell {
    grid-template-columns: 1fr;
  }

  .slack-sidebar {
    display: none;
  }

  .slack-approval-card {
    padding: 10px 12px;
  }

  /* Step 4: Email */
  .email-subject {
    font-size: 15px;
  }

  .email-body {
    font-size: 13px;
    padding: 16px;
  }

  .email-toolbar {
    display: none;
  }

  .email-actions {
    flex-wrap: wrap;
  }

  /* Step 5: Interview */
  .interview-body {
    grid-template-columns: 1fr;
  }

  .interview-videos {
    grid-column: 1;
    grid-template-columns: 1fr 1fr;
  }

  .video-tile {
    min-height: 130px;
    padding: 14px 10px;
  }

  .video-avatar {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .interview-chat {
    border-left: none;
    border-top: 1px solid #1e1e2a;
    max-height: 180px;
  }

  .interview-controls {
    gap: 5px;
  }

  .interview-ctrl-btn {
    font-size: 10px;
    padding: 4px 8px;
  }

  /* Analytics panel */
  .analytics-body {
    flex-direction: column;
    gap: 20px;
  }

  .analytics-divider {
    width: 100%;
    height: 1px;
    margin: 0;
  }

  /* Result block */
  .result {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 24px 20px;
  }

  .result-num {
    margin-left: 0;
    text-align: center;
  }

  /* CTA footer */
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 20px;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
  }

  .cta-wordmark {
    width: 90px;
  }

  .section-divider {
    margin-bottom: 32px;
  }
}
