/* RM Neue fallback — if RM Neue is installed locally it will be used, otherwise falls back to a clean geometric sans */
@font-face {
  font-family: 'RM Neue';
  src: local('RM Neue Light'), local('RMNeue-Light');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'RM Neue';
  src: local('RM Neue Bold'), local('RMNeue-Bold');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'RM Neue';
  src: local('RM Neue Bold Italic'), local('RMNeue-BoldItalic');
  font-weight: 700;
  font-style: italic;
}


:root {
  /* ── Light theme colors (matching Nussbaum BidRight) ── */
  --navy: #f9f9f9;
  --navy-mid: #ffffff;
  --navy-light: #f3f4f6;
  --accent: #2832C4;
  --accent-glow: #4f5bd5;
  --accent-gradient: linear-gradient(135deg, #2832C4, #1e28a0);
  --ice: #eff6ff;
  --white: #ffffff;
  --steel: #6b7280;
  --red: #e11d48;
  --green: #059669;
  --yellow: #d97706;
  --cyan: #2563eb;
  --primary-gray: #9ca3af;
  --secondary-gray: #f3f4f6;

  /* ── Text & surface tokens ── */
  --text-primary: #111827;
  --text-body: #374151;
  --border-color: #e5e7eb;
  --card-bg: #ffffff;
  --card-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px -2px rgba(0,0,0,0.06);
  --card-shadow-hover: 0 12px 36px -4px rgba(0,0,0,0.12);

  --slide-transition: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  --font-headline: 'RM Neue', 'Public Sans', system-ui, sans-serif;
  --font-body: 'Public Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* ── Fluid scale (target: original size at ~1600px, scales up for larger) ── */
  --slide-pad-v: clamp(28px, 2.25vw, 52px);
  --slide-pad-h: clamp(36px, 3vw, 72px);

  --gap-xl:  clamp(56px, 5vw, 110px);
  --gap-lg:  clamp(36px, 3vw, 72px);
  --gap-md:  clamp(20px, 1.5vw, 36px);
  --gap-sm:  clamp(14px, 1vw, 22px);
  --gap-xs:  clamp(8px, 0.5vw, 12px);

  --fs-stat-value: clamp(36px, 3.3vw, 80px);
  --fs-card-h3:    clamp(18px, 1.35vw, 32px);
  --fs-body-lg:    clamp(16px, 1.15vw, 26px);
  --fs-body:       clamp(15px, 1.04vw, 24px);
  --fs-body-sm:    clamp(14px, 0.94vw, 22px);
  --fs-label:      clamp(12px, 0.78vw, 18px);
  --fs-label-sm:   clamp(11px, 0.73vw, 17px);
  --fs-section-h3: clamp(18px, 1.35vw, 32px);
  --fs-quote:      clamp(20px, 1.56vw, 36px);
  --fs-nav-btn:    clamp(12px, 0.73vw, 16px);

  --card-pad:      clamp(28px, 2.25vw, 52px);
  --card-pad-sm:   clamp(24px, 2vw, 44px);
  --card-pad-xs:   clamp(18px, 1.25vw, 28px);
  --card-radius:   clamp(12px, 1vw, 22px);
  --icon-size:     clamp(40px, 2.75vw, 60px);
  --fm-sidebar-w:  clamp(300px, 21.25vw, 440px);
}

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

html, body {
  height: 100%;
  overflow: hidden;
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

/* ─── NOISE OVERLAY (subtle on light) ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.015'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 200;
}

/* ─── SLIDE CONTAINER ─── */
#deck {
  position: relative;
  width: 100%;
  height: 100vh;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: opacity var(--slide-transition), transform var(--slide-transition), visibility 0s 0.7s;
  padding: var(--slide-pad-v) var(--slide-pad-h) clamp(56px, 4.5vw, 80px);
  overflow-y: auto;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity var(--slide-transition), transform var(--slide-transition), visibility 0s 0s;
}

/* ─── PERSISTENT LOGOS ─── */
#br-logo {
  position: fixed;
  top: var(--gap-sm);
  left: var(--slide-pad-h);
  z-index: 101;
  height: clamp(40px, 3.25vw, 68px);
  opacity: 0.9;
  transition: opacity 0.3s;
}
#br-logo:hover { opacity: 1; }

#fm-logo {
  position: fixed;
  top: var(--gap-sm);
  right: var(--slide-pad-h);
  z-index: 101;
  height: clamp(52px, 4vw, 84px);
  opacity: 0.9;
  transition: opacity 0.3s;
}
#fm-logo:hover { opacity: 1; }

/* ─── NAVIGATION ─── */
#nav {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--gap-sm) var(--slide-pad-h);
  background: none;
  pointer-events: none;
}

#nav > * {
  pointer-events: auto;
}

#progress-track {
  display: none;
}

#progress-bar {
  height: 100%;
  background: var(--accent-gradient);
  transition: width 0.5s ease;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 12px rgba(40,50,196,0.3);
}

.nav-btn {
  background: rgba(0,0,0,0.04);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: clamp(12px, 0.875vw, 20px) clamp(30px, 2.25vw, 48px);
  border-radius: clamp(8px, 0.625vw, 14px);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--fs-nav-btn);
  font-weight: 600;
  transition: all 0.3s;
  letter-spacing: 0.02em;
}

.nav-btn:hover {
  background: rgba(40,50,196,0.06);
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.05);
}

.nav-btn:disabled {
  opacity: 0.2;
  cursor: default;
  transform: none;
}

#next-btn {
  background: rgba(40,50,196,0.06);
  border-color: rgba(40,50,196,0.25);
  color: var(--accent);
}

#slide-counter {
  font-family: var(--font-mono);
  font-size: clamp(14px, 0.938vw, 20px);
  color: var(--steel);
  letter-spacing: 0.05em;
}

#slide-counter span {
  color: var(--accent);
  font-weight: 500;
}

/* ─── SECTION NAV DOTS ─── */
#section-nav {
  position: fixed;
  right: clamp(20px, 1.75vw, 40px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: clamp(5px, 0.375vw, 9px);
}

.section-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  padding: 0;
  position: relative;
}

.section-dot.active {
  background: var(--accent);
  box-shadow: 0 0 10px rgba(40,50,196,0.4);
  transform: scale(1.3);
}

.section-dot:hover {
  background: var(--accent-glow);
  transform: scale(1.2);
}

.section-dot .tooltip {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--text-primary);
  border: 1px solid rgba(0,0,0,0.1);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.section-dot:hover .tooltip { opacity: 1; }

/* ─── TYPOGRAPHY ─── */
.headline {
  font-family: var(--font-headline);
  font-size: clamp(28px, 3.5vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-align: center;
}

.headline .accent { color: var(--accent); }

.subtitle {
  font-size: clamp(16px, 1.15vw, 24px);
  font-weight: 300;
  color: var(--steel);
  line-height: 1.6;
  max-width: clamp(700px, 50vw, 1100px);
  text-align: center;
}

.section-label {
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  justify-content: center;
  display: flex;
  align-items: center;
  gap: var(--gap-xs);
  margin-bottom: clamp(16px, 1.25vw, 26px);
}

.section-label::before {
  content: '';
  width: clamp(28px, 2vw, 44px);
  height: 2px;
  background: var(--accent);
}

.slide-title {
  font-family: var(--font-headline);
  font-size: clamp(28px, 2.6vw, 56px);
  line-height: 1.15;
  margin-bottom: var(--gap-md);
  letter-spacing: -0.01em;
  text-align: center;
  color: var(--text-primary);
}

/* ─── LAYOUT HELPERS ─── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-xl);
  align-items: center;
  align-content: center;
  width: 100%;
  height: 100%;
  flex: 1;
  max-width: none;
  margin: 0 auto;
}

.center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
  flex: 1;
  max-width: none;
  margin: 0 auto;
}

.full-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  flex: 1;
  max-width: none;
  margin: 0 auto;
}

/* ─── CARDS ─── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: var(--card-pad);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.4s;
}

.card:hover {
  border-color: rgba(40,50,196,0.2);
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

.card:hover::before { opacity: 1; }

.card-icon {
  width: var(--icon-size);
  height: var(--icon-size);
  border-radius: clamp(10px, 0.75vw, 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(18px, 1.25vw, 26px);
  margin-bottom: var(--gap-sm);
}

.card h3 {
  font-size: var(--fs-card-h3);
  font-weight: 600;
  margin-bottom: clamp(6px, 0.5vw, 12px);
  color: var(--text-primary);
}

.card p {
  font-size: var(--fs-body-lg);
  color: var(--steel);
  line-height: 1.55;
}

/* ─── STATS ─── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: var(--card-pad-sm);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.stat-card:hover .value {
  transform: scale(1.05);
}

.stat-card .value {
  font-family: var(--font-mono);
  font-size: var(--fs-stat-value);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
  color: var(--text-primary);
  transition: transform 0.3s ease;
}

.stat-card .label {
  font-size: var(--fs-body-lg);
  color: var(--steel);
  margin-bottom: 6px;
}

.stat-card .sublabel {
  font-family: var(--font-mono);
  font-size: var(--fs-body);
  color: var(--accent);
  opacity: 0.8;
}

.stat-card.loss .value { color: var(--red); }
.stat-card.warning .value { color: var(--yellow); }
.stat-card.ok .value { color: var(--cyan); }
.stat-card.profit .value { color: #34d399; }
.stat-card.profit { border-color: rgba(52,211,153,0.3); }

/* OR tick-down annotation */
.or-recapture {
  font-family: var(--font-headline);
  font-size: clamp(22px, 1.8vw, 38px);
  font-weight: 700;
  color: #34d399;
  text-align: center;
  margin-top: clamp(16px, 1.2vw, 24px);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.or-recapture.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── BULLET ITEMS ─── */
.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
}

.bullet-list li {
  position: relative;
  padding-left: clamp(20px, 1.5vw, 32px);
  font-size: var(--fs-body-sm);
  line-height: 1.5;
  color: var(--text-body);
}

.bullet-list li .dot {
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  min-width: 10px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0;
}

/* ─── FLOW / PROCESS ─── */
.flow-steps {
  display: flex;
  gap: 0;
  align-items: stretch;
  width: 100%;
}

.flow-step {
  flex: 1;
  padding: clamp(24px, 1.75vw, 40px) clamp(20px, 1.5vw, 36px);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  position: relative;
  text-align: center;
  transition: all 0.3s;
  cursor: default;
  box-shadow: var(--card-shadow);
}

.flow-step:first-child { border-radius: 14px 0 0 14px; }
.flow-step:last-child { border-radius: 0 14px 14px 0; }

.flow-step:hover {
  background: rgba(40,50,196,0.03);
  border-color: rgba(40,50,196,0.2);
}

.flow-step .num {
  font-family: var(--font-mono);
  font-size: var(--fs-label-sm);
  color: var(--accent);
  margin-bottom: clamp(8px, 0.625vw, 14px);
  letter-spacing: 0.1em;
}

.flow-step h4 {
  font-size: var(--fs-section-h3);
  font-weight: 600;
  margin-bottom: clamp(4px, 0.375vw, 8px);
  color: var(--text-primary);
}

.flow-step p {
  font-size: clamp(16px, 1.125vw, 24px);
  color: var(--steel);
  line-height: 1.45;
}

.flow-arrow {
  width: var(--gap-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: clamp(16px, 1.125vw, 24px);
  flex-shrink: 0;
}

/* ─── INTERACTIVE TABS ─── */
.tab-group {
  display: flex;
  gap: 4px;
  margin-bottom: clamp(24px, 1.75vw, 40px);
  background: var(--secondary-gray);
  border-radius: clamp(8px, 0.625vw, 14px);
  padding: 4px;
  width: fit-content;
}

.tab-btn {
  padding: clamp(7px, 0.5vw, 14px) clamp(16px, 1.25vw, 30px);
  border: none;
  background: transparent;
  color: var(--steel);
  font-family: var(--font-body);
  font-size: clamp(14px, 0.938vw, 20px);
  font-weight: 500;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.3s;
}

.tab-btn.active {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(40,50,196,0.25);
}

.tab-btn:hover:not(.active) {
  color: var(--text-primary);
  background: rgba(0,0,0,0.04);
}

.tab-panel {
  display: none;
  animation: fadeUp 0.4s ease;
}

.tab-panel.active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── GAUGE / CHART ─── */
.or-bar {
  height: clamp(36px, 2.625vw, 56px);
  border-radius: 8px;
  position: relative;
  margin-bottom: clamp(10px, 0.75vw, 16px);
  overflow: hidden;
  background: rgba(0,0,0,0.04);
}

.or-bar-fill {
  height: 100%;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 var(--gap-sm);
  font-family: var(--font-mono);
  font-size: clamp(13px, 0.875vw, 18px);
  font-weight: 600;
  color: #ffffff;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: fit-content;
}

.or-bar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: clamp(14px, 0.938vw, 20px);
  color: var(--text-primary);
}

.or-bar-label .name { font-weight: 500; }
.or-bar-label .val { font-family: var(--font-mono); color: var(--accent); }

.threshold-line {
  position: absolute;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--green);
  z-index: 2;
}

.threshold-label {
  position: absolute;
  top: -18px;
  font-size: 10px;
  color: var(--green);
  font-family: var(--font-mono);
  transform: translateX(-50%);
}

/* ─── INTERACTIVE CHECKLIST ─── */
.checklist {
  display: flex;
  flex-direction: column;
  gap: clamp(9px, 0.625vw, 14px);
}

.check-item {
  display: flex;
  align-items: center;
  gap: clamp(12px, 0.875vw, 20px);
  padding: clamp(12px, 0.875vw, 20px) clamp(16px, 1.125vw, 24px);
  background: rgba(0,0,0,0.02);
  border: 1px solid var(--border-color);
  border-radius: clamp(8px, 0.625vw, 14px);
  cursor: pointer;
  transition: all 0.3s;
  font-size: var(--fs-body);
  user-select: none;
  color: var(--text-primary);
}

.check-item:hover {
  background: rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.15);
}

.check-item.checked {
  border-color: rgba(5,150,105,0.3);
  background: rgba(5,150,105,0.04);
}

.check-box {
  width: clamp(24px, 1.625vw, 34px);
  height: clamp(24px, 1.625vw, 34px);
  min-width: clamp(24px, 1.625vw, 34px);
  border-radius: clamp(5px, 0.375vw, 8px);
  border: 2px solid rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  font-size: clamp(14px, 0.938vw, 20px);
}

.check-item.checked .check-box {
  background: var(--green);
  border-color: var(--green);
  color: #ffffff;
}

.check-item.checked .check-text {
  text-decoration: line-through;
  opacity: 0.5;
}

/* ─── PIE / DONUT ─── */
.donut-wrap {
  position: relative;
  width: clamp(180px, 12.5vw, 280px);
  height: clamp(180px, 12.5vw, 280px);
}

.donut-wrap svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-label-sm);
  color: var(--steel);
}

.donut-center .big {
  font-family: var(--font-mono);
  font-size: var(--fs-section-h3);
  font-weight: 700;
  color: var(--text-primary);
}

/* ─── SLIDE-SPECIFIC BG ─── */
.slide-hero {
  background: radial-gradient(ellipse at 30% 50%, rgba(40,50,196,0.04), transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(37,99,235,0.03), transparent 50%),
              #ffffff;
}

.slide-dark {
  background: #f9f9f9;
}

.slide-accent {
  background: #ffffff;
}

/* ─── STAGGER ANIMATION ─── */
.slide.active .stagger > * {
  animation: staggerIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.slide.active .stagger > *:nth-child(1) { animation-delay: 0.1s; }
.slide.active .stagger > *:nth-child(2) { animation-delay: 0.2s; }
.slide.active .stagger > *:nth-child(3) { animation-delay: 0.3s; }
.slide.active .stagger > *:nth-child(4) { animation-delay: 0.4s; }
.slide.active .stagger > *:nth-child(5) { animation-delay: 0.5s; }
.slide.active .stagger > *:nth-child(6) { animation-delay: 0.6s; }
.slide.active .stagger > *:nth-child(7) { animation-delay: 0.7s; }

@keyframes staggerIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── MISC ─── */
.tag {
  display: inline-block;
  padding: clamp(3px, 0.208vw, 6px) clamp(10px, 0.625vw, 16px);
  border-radius: 20px;
  font-size: var(--fs-label-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tag-red { background: rgba(225,29,72,0.1); color: var(--red); }
.tag-green { background: rgba(5,150,105,0.1); color: var(--green); }
.tag-yellow { background: rgba(217,119,6,0.1); color: var(--yellow); }
.tag-cyan { background: rgba(37,99,235,0.1); color: var(--cyan); }

.divider-line {
  width: clamp(52px, 3.75vw, 80px);
  height: clamp(2px, 0.188vw, 4px);
  background: var(--accent);
  border-radius: 2px;
  margin: var(--gap-sm) 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-md);
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.042vw, 24px);
}

.insurance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-sm);
  margin-top: clamp(14px, 1.042vw, 24px);
}

.ins-card {
  padding: clamp(14px, 1.042vw, 24px);
  border-radius: clamp(8px, 0.625vw, 16px);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  text-align: center;
}

.ins-card .ins-val {
  font-family: var(--font-mono);
  font-size: clamp(26px, 1.75vw, 38px);
  font-weight: 700;
  color: var(--accent);
}

.ins-card .ins-label {
  font-size: clamp(14px, 0.938vw, 20px);
  color: var(--steel);
  margin-top: 4px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: clamp(5px, 0.375vw, 9px);
  padding: clamp(4px, 0.313vw, 8px) clamp(10px, 0.729vw, 18px);
  border-radius: 20px;
  font-size: var(--fs-label-sm);
  font-weight: 600;
  background: rgba(225,29,72,0.08);
  color: var(--red);
}

.pill .arrow { font-size: 14px; }

/* ─── LUCIDE ICON SIZING ─── */
.card-icon i[data-lucide] {
  width: clamp(20px, 1.375vw, 28px);
  height: clamp(20px, 1.375vw, 28px);
}

.lucide-sm { width: clamp(14px, 1vw, 20px); height: clamp(14px, 1vw, 20px); }
.lucide-xs { width: clamp(12px, 0.875vw, 18px); height: clamp(12px, 0.875vw, 18px); vertical-align: -2px; margin-right: 3px; }
.lucide-check { width: clamp(14px, 1vw, 20px); height: clamp(14px, 1vw, 20px); }
.lucide-inline { width: clamp(20px, 1.375vw, 28px); height: clamp(20px, 1.375vw, 28px); vertical-align: -4px; margin-right: 4px; }

.lucide-hero { margin-bottom: clamp(8px, 0.625vw, 14px); display: flex; justify-content: center; }
.lucide-cta { margin-bottom: clamp(6px, 0.5vw, 12px); display: flex; justify-content: center; color: var(--steel); }

.cycle-icon i[data-lucide] {
  width: clamp(22px, 1.5vw, 32px);
  height: clamp(22px, 1.5vw, 32px);
}

.flow-arrow i[data-lucide] {
  width: clamp(20px, 1.375vw, 28px);
  height: clamp(20px, 1.375vw, 28px);
}

.cycle-arrow i[data-lucide] {
  width: clamp(22px, 1.5vw, 32px);
  height: clamp(22px, 1.5vw, 32px);
}

/* Keyboard hint */
.kb-hint {
  display: none;
}

.kb-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .slide { padding: clamp(24px, 3.906vw, 40px); }
  .split { grid-template-columns: 1fr; gap: clamp(24px, 3.906vw, 40px); }
  .stat-grid { grid-template-columns: 1fr; }
  .three-col { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .insurance-grid { grid-template-columns: 1fr; }
  .flow-steps { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); width: auto; height: 24px; }
  #section-nav { display: none; }
}
#fm-slide .section-label {
  font-size: clamp(13px, 0.875vw, 18px);
  margin-bottom: clamp(8px, 0.5vw, 12px);
}
#fm-slide .slide-title {
  font-size: clamp(28px, 2.5vw, 48px);
  margin-bottom: 4px;
}
#fm-map-container {
  display: grid;
  grid-template-columns: 1fr var(--fm-sidebar-w);
  gap: var(--gap-md);
  height: 100%;
  min-height: 0;
  align-items: stretch;
}
#fm-map {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: var(--card-radius);
  border: 1px solid var(--border-color);
  overflow: hidden;
}
.fm-map-sidebar {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 0.4vw, 10px);
  padding-top: 0;
  overflow-y: auto;
  min-height: 0;
}
.fm-step {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: clamp(8px, 0.5vw, 12px);
  padding: clamp(8px, 0.5vw, 14px) clamp(12px, 0.875vw, 20px);
  cursor: pointer;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.fm-step::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--primary-gray);
  transition: background 0.3s;
}
.fm-step.active {
  background: var(--secondary-gray);
  border-color: rgba(0,0,0,0.12);
}
.fm-step[data-step="core"].active::before { background: var(--accent); }
.fm-step[data-step="inbound"].active::before { background: var(--green); }
.fm-step[data-step="outbound"].active::before { background: var(--cyan); }
.fm-step[data-step="freightmath"].active::before { background: var(--accent); }
.fm-step-title {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(14px, 1vw, 20px);
  margin-bottom: 4px;
  color: var(--text-primary);
}
.fm-step-desc {
  font-size: clamp(12px, 0.75vw, 16px);
  color: var(--steel);
  line-height: 1.4;
}
.fm-step-or {
  font-family: var(--font-mono);
  font-size: clamp(12px, 0.75vw, 16px);
  margin-top: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
}
.fm-legend {
  display: flex;
  gap: clamp(14px, 1.042vw, 24px);
  font-size: clamp(12px, 0.75vw, 16px);
  color: var(--steel);
  margin-top: auto;
  padding: clamp(8px, 0.625vw, 16px) 0;
}
.fm-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.fm-legend-line {
  width: 28px;
  height: 2px;
}
.fm-legend-line.dashed {
  border-top: 2px dashed;
  background: none;
}
.fm-auto-play {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--steel);
  cursor: pointer;
  padding: 8px 0;
}
.fm-auto-play button {
  background: rgba(40,50,196,0.08);
  border: 1px solid rgba(40,50,196,0.2);
  color: var(--accent);
  border-radius: 6px;
  padding: clamp(4px, 0.313vw, 8px) clamp(10px, 0.729vw, 18px);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--fs-label-sm);
  font-weight: 600;
  transition: all 0.3s;
}
.fm-auto-play button:hover {
  background: rgba(40,50,196,0.15);
}
@media (max-width: 1024px) {
  #fm-map-container {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
  }
  #fm-map { min-height: 280px; }
}

/* ─── FLUID OVERRIDES FOR INLINE STYLES ─── */

/* Agenda cards */
.split > .stagger > .card {
  gap: var(--gap-sm) !important;
  padding: clamp(12px, 0.875vw, 20px) clamp(20px, 1.5vw, 32px) !important;
}
.split > .stagger > .card .card-icon {
  width: clamp(32px, 2.25vw, 48px) !important;
  height: clamp(32px, 2.25vw, 48px) !important;
  min-width: clamp(32px, 2.25vw, 48px) !important;
  font-size: var(--fs-body-sm) !important;
}
.split > .stagger > .card h3 {
  font-size: var(--fs-body) !important;
}
.split > .stagger[style*="gap:8px"] {
  gap: clamp(6px, 0.5vw, 12px) !important;
}

/* Inline font-size overrides — fluid scaling centered on the inline value */
.slide p[style*="font-size:40px"] { font-size: clamp(28px, 2.08vw, 44px) !important; }
.slide p[style*="font-size:25px"] { font-size: clamp(18px, 1.3vw, 26px) !important; }
.slide p[style*="font-size:22px"],
.slide div[style*="font-size:22px"],
.slide span[style*="font-size:22px"] { font-size: var(--fs-section-h3) !important; }
.slide p[style*="font-size:20px"],
.slide div[style*="font-size:20px"] { font-size: clamp(16px, 1.04vw, 22px) !important; }
.slide p[style*="font-size:19px"],
.slide div[style*="font-size:19px"] { font-size: var(--fs-body-lg) !important; }
.slide p[style*="font-size:18px"],
.slide div[style*="font-size:18px"] { font-size: clamp(15px, 0.94vw, 20px) !important; }
.slide p[style*="font-size:17px"],
.slide div[style*="font-size:17px"] { font-size: var(--fs-body) !important; }
.slide p[style*="font-size:16px"],
.slide div[style*="font-size:16px"] { font-size: var(--fs-body-sm) !important; }
.slide div[style*="font-size:13px"] { font-size: var(--fs-label) !important; }
.slide div[style*="font-size:11px"] { font-size: var(--fs-label-sm) !important; }
.slide div[style*="font-size:12px"],
.slide span[style*="font-size:12px"] { font-size: clamp(10px, 0.63vw, 14px) !important; }
.slide h3[style*="font-size:22px"] { font-size: var(--fs-section-h3) !important; }
.slide h3[style*="font-size:20px"] { font-size: clamp(16px, 1.04vw, 22px) !important; }
.slide h3[style*="font-size:17px"] { font-size: var(--fs-body) !important; }
.slide div[style*="font-size:24px"],
.slide p[style*="font-size:24px"] { font-size: var(--fs-quote) !important; }
.slide div[style*="font-size:26px"] { font-size: clamp(20px, 1.35vw, 28px) !important; }
.slide div[style*="font-size:34px"] { font-size: clamp(26px, 1.77vw, 38px) !important; }
.stat-card .value[style*="font-size:44px"] { font-size: clamp(32px, 2.3vw, 50px) !important; }
.stat-card .value[style*="font-size:40px"] { font-size: clamp(28px, 2.1vw, 46px) !important; }

/* Inline gap overrides */
.slide .two-col[style*="gap:48px"] { gap: var(--gap-lg) !important; }
.slide .two-col[style*="gap:24px"] { gap: var(--gap-md) !important; }
.slide .three-col[style*="gap:28px"] { gap: clamp(24px, 1.75vw, 38px) !important; }
.slide [style*="gap:16px"] { gap: var(--gap-sm) !important; }
.slide [style*="gap:28px"] { gap: clamp(24px, 1.75vw, 38px) !important; }

/* Inline padding overrides */
.card[style*="padding:28px"] { padding: clamp(24px, 1.75vw, 38px) !important; }
.card[style*="padding:32px"] { padding: var(--card-pad-sm) !important; }
.card[style*="padding:40px"] { padding: var(--card-pad) !important; }

/* Inline max-width overrides */
.flow-steps[style*="max-width:1600px"],
.flow-steps[style*="max-width:1200px"],
.flow-steps[style*="max-width:1400px"] { max-width: none !important; }
.three-col[style*="max-width:1200px"],
.three-col[style*="max-width:1100px"] { max-width: none !important; }
.checklist[style*="max-width:1200px"] { max-width: none !important; }
.slide [style*="max-width:900px"] { max-width: clamp(780px, 56.25vw, 1200px) !important; }
.slide [style*="max-width:1000px"] { max-width: clamp(860px, 62.5vw, 1400px) !important; }
.slide [style*="max-width:1100px"] { max-width: none !important; }

/* Inline margin overrides */
.slide [style*="margin-bottom:24px"] { margin-bottom: var(--gap-md) !important; }
.slide [style*="margin-bottom:20px"] { margin-bottom: clamp(16px, 1.25vw, 26px) !important; }
.slide [style*="margin-bottom:16px"] { margin-bottom: var(--gap-sm) !important; }
.slide [style*="margin-bottom:28px"] { margin-bottom: clamp(24px, 1.75vw, 38px) !important; }
.slide [style*="margin-top:16px"]  { margin-top: var(--gap-sm) !important; }
.slide [style*="margin-top:24px"]  { margin-top: var(--gap-md) !important; }

/* Stat grid inline gap */
.stat-grid[style*="gap"] { gap: clamp(16px, 1.25vw, 28px) !important; }

/* ─── BIDRIGHT: CYCLE DIAGRAM ─── */
.cycle-container {
  width: 100%;
}

.cycle-ring {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(8px, 0.75vw, 16px);
}

.cycle-step {
  flex: 1;
  min-width: 160px;
  max-width: 220px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: clamp(16px, 1.25vw, 28px);
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: var(--card-shadow);
}

.cycle-step:hover {
  border-color: rgba(40,50,196,0.2);
  background: rgba(40,50,196,0.02);
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.cycle-icon {
  width: clamp(44px, 3vw, 64px);
  height: clamp(44px, 3vw, 64px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(20px, 1.5vw, 30px);
  margin: 0 auto clamp(8px, 0.625vw, 14px);
}

.cycle-label {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(18px, 1.25vw, 26px);
  margin-bottom: 4px;
  color: var(--text-primary);
}

.cycle-desc {
  font-size: clamp(13px, 0.875vw, 18px);
  color: var(--steel);
  line-height: 1.4;
}

.cycle-arrow {
  font-size: clamp(20px, 1.5vw, 32px);
  color: var(--accent);
  flex-shrink: 0;
}

/* ─── FLYWHEEL DIAGRAM ─── */
.flywheel-wrap {
  position: relative;
  width: clamp(340px, 50vw, 560px);
  aspect-ratio: 1 / 1;
  margin: clamp(16px, 1.5vw, 28px) auto 0;
}
.flywheel-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
@keyframes fw-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Center hub */
.flywheel-hub {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(100px, 9vw, 140px);
  height: clamp(100px, 9vw, 140px);
  border-radius: 50%;
  background: rgba(40,50,196,0.08);
  border: 2px solid rgba(40,50,196,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  z-index: 2;
}
.flywheel-hub span {
  font-size: clamp(11px, 0.8vw, 14px);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}

/* Nodes */
.flywheel-node {
  position: absolute;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: clamp(10px, 0.9vw, 16px) clamp(12px, 1vw, 20px);
  text-align: center;
  width: clamp(130px, 12vw, 170px);
  box-shadow: var(--card-shadow);
  z-index: 3;
  transition: transform 0.3s, box-shadow 0.3s;
}
.flywheel-node:hover {
  transform: translate(-50%, -50%) scale(1.06) !important;
  box-shadow: var(--card-shadow-hover);
}
.fw-top    { top: 0;   left: 50%; transform: translate(-50%, -20%); }
.fw-right  { top: 50%; right: 0;  transform: translate(20%, -50%); left: auto; }
.fw-bottom { bottom: 0; left: 50%; transform: translate(-50%, 20%); top: auto; }
.fw-left   { top: 50%; left: 0;   transform: translate(-20%, -50%); }

.fw-node-icon {
  width: clamp(40px, 3vw, 54px);
  height: clamp(40px, 3vw, 54px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto clamp(6px, 0.4vw, 10px);
}
.fw-node-label {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(15px, 1.1vw, 20px);
  color: var(--text-primary);
  margin-bottom: 2px;
}
.fw-node-desc {
  font-size: clamp(10px, 0.7vw, 13px);
  color: var(--steel);
  line-height: 1.3;
}

/* Reveal animation */
.fw-reveal {
  opacity: 0;
  transform-origin: center;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fw-reveal.visible {
  opacity: 1;
}
.fw-top.fw-reveal.visible    { transform: translate(-50%, -20%); }
.fw-right.fw-reveal.visible  { transform: translate(20%, -50%); }
.fw-bottom.fw-reveal.visible { transform: translate(-50%, 20%); }
.fw-left.fw-reveal.visible   { transform: translate(-20%, -50%); }
.flywheel-hub.fw-reveal.visible { transform: translate(-50%, -50%); }

/* Responsive */
@media (max-width: 768px) {
  .flywheel-wrap { width: 90vw; max-width: 400px; }
  .flywheel-node { width: clamp(100px, 28vw, 140px); padding: 8px 10px; }
}

/* ─── BIDRIGHT: DEVELOPMENT ROADMAP ─── */
.roadmap {
  width: 100%;
}

.roadmap-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1vw, 20px);
  position: relative;
}

/* Horizontal connector line behind phases */
.roadmap-track::before {
  content: '';
  position: absolute;
  top: clamp(16px, 1.25vw, 24px);
  left: clamp(16px, 1.25vw, 24px);
  right: clamp(16px, 1.25vw, 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--green) 0%, var(--green) 48%, var(--cyan) 48%, var(--cyan) 72%, var(--yellow) 72%, var(--yellow) 100%);
  z-index: 0;
}

.roadmap-phase {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(8px, 0.625vw, 14px);
  position: relative;
  z-index: 1;
}

.roadmap-marker {
  width: clamp(32px, 2.25vw, 44px);
  height: clamp(32px, 2.25vw, 44px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid var(--border-color);
  background: var(--white);
}

.roadmap-phase.completed .roadmap-marker {
  background: rgba(5,150,105,0.1);
  border-color: var(--green);
  color: var(--green);
}

.roadmap-phase.in-progress .roadmap-marker {
  background: rgba(37,99,235,0.1);
  border-color: var(--cyan);
  color: var(--cyan);
  animation: pulse-cyan 2s ease-in-out infinite;
}

.roadmap-phase.design .roadmap-marker {
  background: rgba(217,119,6,0.08);
  border-color: var(--yellow);
  color: var(--yellow);
}

@keyframes pulse-cyan {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,99,235,0.25); }
  50% { box-shadow: 0 0 0 8px rgba(37,99,235,0); }
}

.roadmap-content {
  padding: clamp(12px, 1vw, 20px);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: clamp(8px, 0.625vw, 14px);
  width: 100%;
  box-shadow: var(--card-shadow);
}

.roadmap-content h4 {
  font-size: clamp(15px, 1.063vw, 22px);
  font-weight: 700;
  margin-bottom: 6px;
}

.roadmap-phase.completed .roadmap-content h4 { color: var(--green); }
.roadmap-phase.in-progress .roadmap-content h4 { color: var(--cyan); }
.roadmap-phase.design .roadmap-content h4 { color: var(--yellow); }

.roadmap-status {
  display: inline-block;
}

/* Large roadmap variant — doubled sizes */
.roadmap-track-lg {
  gap: clamp(20px, 1.8vw, 40px);
}

.roadmap-track-lg::before {
  top: clamp(28px, 2.25vw, 44px);
  left: clamp(28px, 2.25vw, 44px);
  right: clamp(28px, 2.25vw, 44px);
  height: 3px;
}

.roadmap-marker-lg {
  width: clamp(52px, 3.8vw, 80px) !important;
  height: clamp(52px, 3.8vw, 80px) !important;
  border-width: 3px;
}

.roadmap-marker-lg i[data-lucide] {
  width: clamp(24px, 1.8vw, 36px) !important;
  height: clamp(24px, 1.8vw, 36px) !important;
}

.roadmap-content-lg {
  padding: clamp(24px, 2vw, 44px) !important;
  border-radius: clamp(14px, 1.1vw, 24px) !important;
}

.roadmap-content-lg h4 {
  font-size: clamp(24px, 2vw, 40px) !important;
  margin-bottom: clamp(8px, 0.7vw, 14px) !important;
}

/* Left-to-right reveal for roadmap phases */
.roadmap-reveal {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.roadmap-reveal.visible {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 1024px) {
  .roadmap-track {
    grid-template-columns: 1fr;
  }
  .roadmap-track::before {
    display: none;
  }
  .roadmap-reveal {
    transform: translateY(30px);
  }
  .roadmap-reveal.visible {
    transform: translateY(0);
  }
}

/* ─── WAYS TO ENGAGE — Large Cards with Left-to-Right Reveal ─── */
.engage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 2.5vw, 56px);
  width: 100%;
  max-width: none;
  align-items: stretch;
}

.engage-card {
  padding: clamp(56px, 4.5vw, 96px) clamp(40px, 3.2vw, 72px) !important;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.engage-card.visible {
  opacity: 1;
  transform: translateX(0);
}

.engage-card h3 {
  font-size: clamp(32px, 2.8vw, 56px) !important;
  margin-bottom: clamp(14px, 1.2vw, 24px) !important;
}

.engage-card p {
  font-size: clamp(24px, 2vw, 40px) !important;
  line-height: 1.5;
}

.engage-cta {
  color: var(--accent) !important;
  font-weight: 700 !important;
  font-size: clamp(24px, 2vw, 40px) !important;
}

@media (max-width: 1024px) {
  .engage-grid { grid-template-columns: 1fr; }
  .engage-card { transform: translateY(40px); }
  .engage-card.visible { transform: translateY(0); }
}

/* ─── BREAKTHROUGH FUEL SLIDE ─── */
.bt-fuel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 1.8vw, 40px);
  width: 100%;
  max-width: none;
}

.bt-fuel-panel {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--card-radius);
  padding: clamp(28px, 2.2vw, 48px);
  box-shadow: var(--card-shadow);
  text-align: left;
}

.bt-fuel-header {
  display: flex;
  align-items: center;
  gap: clamp(8px, 0.7vw, 14px);
  font-family: var(--font-headline);
  font-size: clamp(22px, 1.8vw, 36px);
  font-weight: 700;
  margin-bottom: clamp(16px, 1.4vw, 28px);
}

.bt-fuel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1vw, 22px);
}

.bt-fuel-list li {
  font-size: clamp(18px, 1.4vw, 28px);
  line-height: 1.5;
  color: var(--text-body);
  padding-left: clamp(16px, 1.2vw, 24px);
  position: relative;
}

.bt-fuel-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.bt-fuel-list-green li::before {
  background: var(--green);
}

.bt-fuel-stats {
  display: flex;
  justify-content: center;
  gap: clamp(32px, 3vw, 64px);
  margin-top: clamp(24px, 2vw, 44px);
  padding: clamp(20px, 1.6vw, 36px);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
}

.bt-fuel-stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bt-fuel-stat-val {
  font-family: var(--font-mono);
  font-size: clamp(28px, 2.4vw, 48px);
  font-weight: 700;
}

.bt-fuel-stat-label {
  font-size: clamp(14px, 1.1vw, 22px);
  color: var(--steel);
}

/* Reveal animation */
.bt-fuel-reveal {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.bt-fuel-reveal.visible {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 1024px) {
  .bt-fuel-grid { grid-template-columns: 1fr; }
  .bt-fuel-stats { flex-direction: column; align-items: center; }
}

/* ─── WHY NOW: Large bullets with stagger reveal ─── */
.whynow-list li {
  font-size: clamp(28px, 2.4vw, 48px) !important;
  line-height: 1.45 !important;
  padding-left: clamp(36px, 3vw, 56px) !important;
}

.whynow-list li .dot {
  width: clamp(14px, 1.1vw, 20px);
  height: clamp(14px, 1.1vw, 20px);
  min-width: clamp(14px, 1.1vw, 20px);
  top: 0.5em;
}

.whynow-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.whynow-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── CYCLE DIAGRAM: Left-to-right auto-reveal ─── */
.cycle-reveal {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.cycle-reveal.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ─── LIFECYCLE FLOW: Left-to-right auto-reveal ─── */
.lifecycle-reveal {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.lifecycle-reveal.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ─── ORIGIN STORY: Left-to-right auto-reveal ─── */
.origin-reveal {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.origin-reveal.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ─── BIDRIGHT: CTA CARD HOVER ─── */
.cta-card:hover {
  border-color: rgba(40,50,196,0.25) !important;
  background: rgba(40,50,196,0.03) !important;
}

/* ─── NEWSLETTER — MAILERLITE EMBED ─── */
.newsletter-card .ml-embedded {
  max-width: 460px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .cycle-ring { flex-direction: column; }
  .cycle-step { max-width: 100%; }
  .cycle-arrow { transform: rotate(0); }
}

/* ─── BIDRIGHT: DATA CLEANER (Slide 2) ─── */
#data-cleaner {
  max-width: none !important;
}

.dc-header {
  display: grid;
  grid-template-columns: clamp(36px, 2.75vw, 60px) 1fr clamp(32px, 2.5vw, 56px) 1fr;
  gap: 0;
  padding: clamp(8px, 0.625vw, 16px) clamp(12px, 1vw, 24px);
  font-family: var(--font-mono);
  font-size: clamp(12px, 0.875vw, 20px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--steel);
  border-bottom: 1px solid var(--border-color);
}

.dc-row {
  display: grid;
  grid-template-columns: clamp(36px, 2.75vw, 60px) 1fr clamp(32px, 2.5vw, 56px) 1fr;
  gap: 0;
  padding: clamp(12px, 1vw, 24px) clamp(12px, 1vw, 24px);
  border-bottom: 1px solid var(--border-color);
  cursor: default;
  transition: all 0.4s ease;
  position: relative;
  align-items: center;
}

.dc-row:hover {
  background: rgba(0,0,0,0.02);
}

.dc-row.dc-cleaned {
  cursor: default;
}

.dc-row.dc-cleaned .dc-dirty-data {
  opacity: 0.3;
  text-decoration: line-through;
  text-decoration-color: var(--red);
}

.dc-row.dc-cleaned .dc-clean-data {
  opacity: 1;
  transform: translateX(0);
}

.dc-row.dc-cleaned .dc-arrow-icon {
  color: var(--green);
  opacity: 1;
}

.dc-row.dc-cleaned .dc-badge-dirty {
  display: none;
}

.dc-row.dc-cleaned .dc-badge-clean {
  display: flex;
}

.dc-col-status {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: clamp(2px, 0.2vw, 6px);
}

.dc-col-issue,
.dc-col-clean {
  min-width: 0;
  padding: 0 clamp(4px, 0.375vw, 10px);
}

.dc-col-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dc-arrow-icon {
  font-size: clamp(18px, 1.375vw, 30px);
  color: var(--primary-gray);
  opacity: 0.4;
  transition: all 0.4s;
}

.dc-badge {
  width: clamp(24px, 1.875vw, 40px);
  height: clamp(24px, 1.875vw, 40px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(13px, 1vw, 22px);
}

.dc-badge-dirty {
  background: rgba(225,29,72,0.1);
  color: var(--red);
}

.dc-badge-clean {
  background: rgba(5,150,105,0.1);
  color: var(--green);
  display: none;
}

.dc-dirty-data {
  transition: all 0.5s ease;
}

.dc-clean-data {
  opacity: 0.15;
  transform: translateX(8px);
  transition: all 0.5s ease;
}

.dc-field-label {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(14px, 1vw, 22px);
  margin-bottom: clamp(3px, 0.3vw, 8px);
  color: var(--text-primary);
}

.dc-field-row {
  font-size: clamp(13px, 0.938vw, 20px);
  line-height: 1.7;
  color: var(--text-body);
}

.dc-field-name {
  color: var(--steel);
  font-size: clamp(12px, 0.875vw, 18px);
}

.dc-field-val {
  font-family: var(--font-mono);
  font-size: clamp(13px, 0.938vw, 20px);
}

.dc-error {
  color: var(--red);
  background: rgba(225,29,72,0.06);
  padding: clamp(1px, 0.15vw, 3px) clamp(4px, 0.375vw, 10px);
  border-radius: clamp(3px, 0.25vw, 6px);
}

.dc-fixed {
  color: var(--green);
}

.dc-problem-tag {
  margin-top: clamp(4px, 0.375vw, 10px);
  font-size: clamp(12px, 0.875vw, 18px);
  color: var(--red);
  opacity: 0.8;
  font-style: italic;
}

.dc-fix-tag {
  margin-top: clamp(4px, 0.375vw, 10px);
  font-size: clamp(12px, 0.875vw, 18px);
  color: var(--green);
  opacity: 0.8;
}

/* All-clean state */
#data-cleaner.dc-all-clean {
  border: 1px solid rgba(5,150,105,0.2);
  border-radius: var(--card-radius);
  background: rgba(5,150,105,0.02);
}

/* ─── DATA CLEANER: Compact variant (slide 2) ─── */
.dc-compact .dc-header {
  padding: clamp(5px, 0.4vw, 10px) clamp(10px, 0.8vw, 18px);
}
.dc-compact .dc-row {
  padding: clamp(8px, 0.7vw, 16px) clamp(10px, 0.8vw, 18px);
}
.dc-compact .dc-field-label {
  font-size: clamp(12px, 0.85vw, 18px);
  margin-bottom: clamp(1px, 0.15vw, 4px);
}
.dc-compact .dc-field-row {
  line-height: 1.5;
}
.dc-compact .dc-problem-tag,
.dc-compact .dc-fix-tag {
  margin-top: clamp(2px, 0.2vw, 6px);
}

/* ─── DATA CLEANER: Small screens ─── */
@media (max-width: 1024px) {
  .dc-header,
  .dc-row {
    grid-template-columns: 30px 1fr;
    grid-template-rows: auto auto;
  }
  .dc-col-arrow { display: none; }
  .dc-col-clean {
    grid-column: 1 / -1;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed var(--border-color);
  }
  .dc-header .dc-col-clean { display: none; }
}

/* ─── REVEAL / ADVANCE BUTTON ─── */
.reveal-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: clamp(10px, 0.75vw, 16px) clamp(24px, 1.75vw, 40px);
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: clamp(8px, 0.625vw, 14px);
  font-family: var(--font-body);
  font-size: clamp(14px, 1vw, 20px);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(40,50,196,0.25);
  letter-spacing: 0.02em;
}

.reveal-btn:hover {
  background: var(--accent-glow);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(40,50,196,0.3);
}

.reveal-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(40,50,196,0.2);
}

.reveal-btn i[data-lucide] {
  width: clamp(14px, 1vw, 20px);
  height: clamp(14px, 1vw, 20px);
}

/* ─── NUSSBAUM-STYLE INTERACTIONS ─── */

/* Metric glow on stat card hover */
.stat-card:hover .value {
  text-shadow: 0 0 24px rgba(40,50,196,0.15);
}

/* Product screenshot styling */
.product-screenshot {
  border-radius: var(--card-radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow-hover);
  max-width: 100%;
  height: auto;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-screenshot:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 50px -8px rgba(0,0,0,0.15);
}

/* Shimmer animation for roadmap connector */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.roadmap-phase.in-progress .roadmap-content {
  border-color: rgba(37,99,235,0.2);
}

/* ─── COST ALLOCATION PIPELINE (Slide 4) ─── */
.alloc-pipeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

/* Phase 1: GL Account Pills — scatter, reveal, absorb */
.gl-scatter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(6px, 0.5vw, 10px);
  padding: clamp(12px, 1vw, 20px);
  background: rgba(217,119,6,0.04);
  border: 1px dashed rgba(217,119,6,0.25);
  border-radius: var(--card-radius);
  width: 100%;
  min-height: clamp(48px, 3.5vw, 72px);
}

.gl-acct {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: clamp(4px, 0.35vw, 8px) clamp(10px, 0.75vw, 16px);
  border-radius: 20px;
  font-size: clamp(11px, 0.68vw, 15px);
  font-weight: 600;
  background: var(--pill-color, rgba(0,0,0,0.06));
  color: var(--pill-text, var(--text-primary));
  white-space: nowrap;
  opacity: 0;
  transform: translate(var(--scatter-x, 0), var(--scatter-y, 0)) rotate(var(--scatter-r, 0deg)) scale(0.7);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gl-acct.visible {
  opacity: 1;
  transform: translate(0, 0) rotate(0deg) scale(1);
}

.gl-acct.absorbed {
  opacity: 0;
  transform: translate(0, 40px) rotate(0deg) scale(0.3);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.5, 0, 0.75, 0);
}

/* Phase 2-3: MapLedger Funnel */
.alloc-funnel {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: clamp(400px, 32vw, 600px);
  margin: 0 auto;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.alloc-funnel.visible {
  opacity: 1;
  transform: scale(1);
}

.funnel-body {
  width: 100%;
  height: clamp(80px, 6vw, 120px);
  clip-path: polygon(2% 0%, 98% 0%, 68% 100%, 32% 100%);
  background: linear-gradient(180deg, rgba(40,50,196,0.12) 0%, rgba(40,50,196,0.06) 100%);
  border: none;
  position: relative;
  overflow: hidden;
}

.funnel-body::before {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: polygon(2% 0%, 98% 0%, 68% 100%, 32% 100%);
  border: 2px solid rgba(40,50,196,0.25);
  pointer-events: none;
}

.funnel-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-headline);
  font-size: clamp(14px, 1vw, 22px);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.4s ease;
  white-space: nowrap;
  z-index: 2;
}

.alloc-funnel.processing .funnel-label {
  opacity: 1;
}

.funnel-logo {
  height: clamp(24px, 1.8vw, 40px);
  width: auto;
  object-fit: contain;
  display: block;
}

/* Funnel shimmer sweep */
.funnel-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(40,50,196,0.15) 50%, transparent 100%);
  background-size: 200% 100%;
  background-position: -200% 0;
  opacity: 0;
  z-index: 1;
}

.alloc-funnel.processing .funnel-shimmer {
  opacity: 1;
  animation: funnelShimmer 0.9s ease-in-out 2;
}

@keyframes funnelShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Funnel glow pulse */
.alloc-funnel.processing .funnel-body::after {
  content: '';
  position: absolute;
  inset: -2px;
  clip-path: polygon(2% 0%, 98% 0%, 68% 100%, 32% 100%);
  border: 2px solid var(--accent);
  animation: funnelGlow 1s ease-in-out 2;
  pointer-events: none;
}

@keyframes funnelGlow {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.8; }
}

/* Falling particles inside funnel */
.funnel-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.funnel-dot {
  position: absolute;
  width: clamp(6px, 0.4vw, 10px);
  height: clamp(6px, 0.4vw, 10px);
  border-radius: 50%;
  background: var(--dot-color, var(--accent));
  left: var(--dot-x, 50%);
  top: 5%;
  opacity: 0;
  transform: scale(0);
}

.alloc-funnel.processing .funnel-dot {
  animation: particleFall 1.4s ease-in forwards;
}
.alloc-funnel.processing .funnel-dot:nth-child(1) { animation-delay: 0s; }
.alloc-funnel.processing .funnel-dot:nth-child(2) { animation-delay: 0.2s; }
.alloc-funnel.processing .funnel-dot:nth-child(3) { animation-delay: 0.35s; }
.alloc-funnel.processing .funnel-dot:nth-child(4) { animation-delay: 0.5s; }
.alloc-funnel.processing .funnel-dot:nth-child(5) { animation-delay: 0.65s; }
.alloc-funnel.processing .funnel-dot:nth-child(6) { animation-delay: 0.8s; }

@keyframes particleFall {
  0% { top: 5%; opacity: 0; transform: scale(0); }
  15% { opacity: 1; transform: scale(1.2); }
  50% { opacity: 0.8; transform: scale(1); }
  85% { opacity: 0.4; transform: scale(0.6); }
  100% { top: 92%; opacity: 0; transform: scale(0); }
}

/* Funnel spout */
.funnel-spout {
  width: clamp(40px, 3vw, 60px);
  height: clamp(16px, 1.2vw, 24px);
  background: linear-gradient(180deg, rgba(40,50,196,0.12) 0%, rgba(40,50,196,0.04) 100%);
  border-left: 2px solid rgba(40,50,196,0.2);
  border-right: 2px solid rgba(40,50,196,0.2);
  border-bottom: 2px solid rgba(40,50,196,0.2);
  border-radius: 0 0 6px 6px;
}

/* Generic reveal state for alloc animation */
.alloc-reveal {
  opacity: 0;
  transform: translateY(clamp(10px, 0.8vw, 16px));
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.alloc-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Ensure .gl-acct uses its own transition logic (not generic alloc-reveal) */
.gl-acct.alloc-reveal {
  transform: translate(var(--scatter-x, 0), var(--scatter-y, 0)) rotate(var(--scatter-r, 0deg)) scale(0.7);
}

.gl-acct.alloc-reveal.visible {
  transform: translate(0, 0) rotate(0deg) scale(1);
}

/* Last load box dashed style override */
.load-box.alloc-reveal.visible {
  opacity: 1;
}
.load-box.alloc-reveal[data-delay="900"].visible {
  opacity: 0.5;
}

/* Connector lines */
.alloc-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: clamp(6px, 0.5vw, 12px) 0;
  color: var(--accent);
  font-size: clamp(11px, 0.68vw, 15px);
  font-weight: 600;
  letter-spacing: 0.05em;
  position: relative;
}

.alloc-connector::before {
  content: '';
  width: 2px;
  height: clamp(16px, 1.25vw, 28px);
  background: linear-gradient(180deg, var(--accent), rgba(40,50,196,0.3));
  animation: flowPulse 2s ease-in-out infinite;
}

.alloc-connector i[data-lucide] {
  width: clamp(16px, 1vw, 22px);
  height: clamp(16px, 1vw, 22px);
}

/* Tier 2: CoA Box */
.coa-box {
  width: 100%;
  background: var(--card-bg);
  border: 2px solid rgba(40,50,196,0.2);
  border-radius: var(--card-radius);
  padding: clamp(12px, 1vw, 22px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.coa-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent-gradient);
}

.coa-header {
  font-family: var(--font-headline);
  font-size: clamp(13px, 0.83vw, 18px);
  font-weight: 700;
  color: var(--accent);
  text-align: center;
  margin-bottom: clamp(8px, 0.625vw, 14px);
  letter-spacing: 0.03em;
}

.coa-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(6px, 0.5vw, 10px);
}

.coa-cell {
  padding: clamp(6px, 0.5vw, 12px) clamp(8px, 0.625vw, 14px);
  background: rgba(40,50,196,0.04);
  border: 1px solid rgba(40,50,196,0.12);
  border-radius: 8px;
  font-size: clamp(11px, 0.68vw, 15px);
  font-weight: 500;
  color: var(--text-primary);
  text-align: center;
  transition: all 0.3s;
}

.coa-cell:hover {
  background: rgba(40,50,196,0.08);
  border-color: rgba(40,50,196,0.25);
}

/* Branching connector */
.alloc-branch {
  display: flex;
  justify-content: space-around;
  width: 100%;
  height: clamp(20px, 1.5vw, 32px);
  position: relative;
}

.alloc-branch::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--accent);
  opacity: 0.4;
}

.branch-drop {
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(40,50,196,0.2) 100%);
  position: relative;
}

.branch-drop::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

/* Tier 3: Method Cards */
.method-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(6px, 0.5vw, 12px);
  width: 100%;
}

.method-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: clamp(8px, 0.5vw, 12px);
  padding: clamp(10px, 0.75vw, 18px);
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(4px, 0.35vw, 8px);
}

.method-card:hover {
  border-color: rgba(40,50,196,0.2);
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}

.method-icon {
  width: clamp(32px, 2.25vw, 44px);
  height: clamp(32px, 2.25vw, 44px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.method-icon i[data-lucide] {
  width: clamp(16px, 1vw, 22px);
  height: clamp(16px, 1vw, 22px);
}

.method-card h4 {
  font-size: clamp(11px, 0.73vw, 16px);
  font-weight: 700;
  color: var(--text-primary);
}

.method-card .method-desc {
  font-size: clamp(10px, 0.58vw, 13px);
  color: var(--steel);
  line-height: 1.35;
}

/* Mini-bar visualization */
.mini-bar {
  display: flex;
  width: 100%;
  height: clamp(8px, 0.5vw, 12px);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(0,0,0,0.04);
}

.mini-bar-seg {
  height: 100%;
  transition: width 1s ease;
}

.mini-legend {
  font-family: var(--font-mono);
  font-size: clamp(9px, 0.52vw, 12px);
  color: var(--steel);
  letter-spacing: 0.02em;
}

/* Mini-checklist */
.mini-checks {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  text-align: left;
}

.mini-check-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: clamp(9px, 0.55vw, 12px);
  color: var(--text-body);
}

.mini-check-dot {
  width: clamp(12px, 0.75vw, 16px);
  height: clamp(12px, 0.75vw, 16px);
  border-radius: 50%;
  background: rgba(5,150,105,0.15);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: clamp(8px, 0.45vw, 11px);
}

/* Toll validation pulse */
.toll-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: clamp(3px, 0.25vw, 6px) clamp(8px, 0.5vw, 14px);
  border-radius: 20px;
  background: rgba(5,150,105,0.1);
  color: var(--green);
  font-size: clamp(10px, 0.58vw, 13px);
  font-weight: 600;
  animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(5,150,105,0.25); }
  50% { box-shadow: 0 0 0 6px rgba(5,150,105,0); }
}

/* Trailer pool grid */
.pool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  width: clamp(48px, 3vw, 64px);
  margin: 0 auto;
}

.pool-slot {
  width: clamp(14px, 0.85vw, 18px);
  height: clamp(10px, 0.6vw, 14px);
  border-radius: 3px;
  border: 1px solid;
  transition: all 0.3s;
}

.pool-slot.filled {
  background: var(--slot-color, var(--accent));
  border-color: var(--slot-color, var(--accent));
  opacity: 0.8;
}

.pool-slot.empty {
  background: transparent;
  border-color: rgba(0,0,0,0.15);
}

/* Tier 4: Load output */
.load-row {
  display: flex;
  justify-content: center;
  gap: clamp(6px, 0.5vw, 12px);
  width: 100%;
}

.load-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: clamp(6px, 0.45vw, 10px) clamp(8px, 0.6vw, 14px);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s;
}

.load-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
}

.load-box i[data-lucide] {
  width: clamp(14px, 0.85vw, 20px);
  height: clamp(14px, 0.85vw, 20px);
  color: var(--steel);
}

.load-box .load-label {
  font-family: var(--font-mono);
  font-size: clamp(9px, 0.52vw, 12px);
  color: var(--steel);
  font-weight: 500;
}

.load-cost-bar {
  width: clamp(40px, 2.5vw, 56px);
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  background: linear-gradient(90deg,
    var(--accent) 0% 30%,
    var(--cyan) 30% 50%,
    var(--green) 50% 70%,
    var(--yellow) 70% 85%,
    var(--red) 85% 100%
  );
}

/* Flow pulse animation */
@keyframes flowPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ─── OR MAP VISUALIZATION (Slide 5) ─── */
.or-viz {
  display: flex;
  gap: clamp(10px, 1.2vw, 20px);
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  flex: 1;
  min-height: 0;
}

.or-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 200px;
  max-width: 220px;
  flex-shrink: 0;
}

.fm-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  background: var(--card-bg);
  border: 2px solid rgba(0,0,0,0.06);
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s ease;
  font-family: var(--font-body);
}
.fm-step:hover { border-color: rgba(40,50,196,0.3); background: rgba(40,50,196,0.03); }
.fm-step.active {
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(40,50,196,0.12);
  background: rgba(40,50,196,0.04);
}
.fm-step strong {
  display: block;
  font-size: clamp(12px, 0.8vw, 15px);
  color: var(--text-primary);
}
.step-desc {
  display: block;
  font-size: clamp(10px, 0.65vw, 12px);
  color: var(--steel);
  line-height: 1.4;
  margin-top: 2px;
}
.step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
}

.or-map-wrap {
  flex: 1;
  min-height: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(40,50,196,0.15);
  position: relative;
  display: flex;
  flex-direction: column;
}
#fm-map {
  width: 100%;
  flex: 1;
  min-height: 280px;
}
.map-legend {
  display: flex;
  gap: 16px;
  padding: 6px 14px;
  background: rgba(10,36,99,0.95);
  font-size: 11px;
  color: rgba(255,255,255,0.7);
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.legend-line {
  width: 20px;
  height: 3px;
  border-radius: 2px;
}
.legend-loaded { background: #E26E17; }
.legend-deadhead { background: #EC433D; background-image: repeating-linear-gradient(90deg, transparent, transparent 4px, rgba(10,36,99,0.95) 4px, rgba(10,36,99,0.95) 7px); }
.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* OR Metric Cards */
.or-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 1vw, 16px);
  width: 100%;
  max-width: 1300px;
  margin: clamp(10px, 1vw, 18px) auto 0;
}
.or-card {
  padding: clamp(10px, 0.8vw, 16px);
  background: var(--card-bg);
  border: 2px solid rgba(0,0,0,0.06);
  border-radius: 10px;
  text-align: center;
  opacity: 0.35;
  transition: all 0.35s ease;
}
.or-card.active {
  opacity: 1;
  border-color: var(--or-accent);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--or-accent) 18%, transparent);
}
.or-card-label {
  display: block;
  font-size: clamp(9px, 0.6vw, 11px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--or-accent);
}
.or-card-value {
  display: block;
  font-size: clamp(22px, 1.8vw, 34px);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin: 2px 0;
}
.or-card-sub {
  display: block;
  font-size: clamp(9px, 0.6vw, 11px);
  color: var(--steel);
}

/* ─── VIDEO FRAME ─── */
.video-frame {
  width: 100%;
  max-width: clamp(1120px, 96vw, 1760px);
  margin: clamp(16px, 1.5vw, 32px) auto 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
}
.video-fullscreen-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-fullscreen-btn:hover {
  background: rgba(40,50,196,0.8);
  transform: scale(1.1);
}
.video-frame.is-fullscreen {
  position: fixed !important;
  top: 0; left: 0;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh;
  z-index: 10000;
  border-radius: 0;
  margin: 0;
  background: #000;
}
.video-frame.is-fullscreen .wistia_responsive_padding {
  padding: 0 !important;
  height: 100vh;
}
.video-frame.is-fullscreen .wistia_responsive_wrapper {
  position: relative !important;
}
.video-frame.is-fullscreen iframe {
  border-radius: 0 !important;
}

/* ─── TESTIMONIAL CAROUSEL ─── */
.testimonial-carousel {
  position: relative;
  width: 100%;
  max-width: clamp(1200px, 90vw, 1800px);
  min-height: clamp(460px, 40vw, 700px);
  margin: clamp(12px, 1.2vw, 24px) auto 0;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.testimonial-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

.testimonial-quote-mark {
  font-size: clamp(100px, 8.8vw, 160px);
  line-height: 0.6;
  color: var(--accent);
  opacity: 0.25;
  font-family: Georgia, 'Times New Roman', serif;
  margin-bottom: clamp(2px, 0.3vw, 6px);
  user-select: none;
}

.testimonial-quote {
  font-size: clamp(32px, 2.7vw, 48px);
  line-height: 1.5;
  color: var(--text-primary);
  font-weight: 400;
  font-style: italic;
  max-width: 1400px;
  margin: 0;
  padding: 0;
  border: none;
}

.testimonial-attribution {
  margin-top: clamp(12px, 1.1vw, 22px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.testimonial-name {
  font-size: clamp(26px, 1.9vw, 35px);
  font-weight: 700;
  color: var(--text-primary);
}
.testimonial-title {
  font-size: clamp(21px, 1.4vw, 27px);
  color: var(--steel);
  font-weight: 500;
}

.testimonial-logo {
  margin-top: clamp(12px, 1.1vw, 22px);
  height: clamp(50px, 4.5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.testimonial-logo img {
  max-height: 100%;
  max-width: clamp(140px, 14vw, 220px);
  object-fit: contain;
}

/* Dot indicators */
.testimonial-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: clamp(16px, 1.4vw, 28px);
}
.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}
.testimonial-dot:hover { transform: scale(1.2); }
.testimonial-dot.active {
  background: var(--accent);
}

/* ─── BRIDGE DART ANIMATION ─── */
.bridge-dart {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(28px, 2.5vw, 44px);
  height: clamp(28px, 2.5vw, 44px);
  color: var(--accent);
  opacity: 0;
  transform: translate(200%, -200%) scale(1.6);
  pointer-events: none;
  z-index: 2;
}
.bridge-dart svg {
  width: 100%;
  height: 100%;
}
.bridge-dart.landed {
  animation: dartLand 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.bridge-dart-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(20px, 1.8vw, 32px);
  height: clamp(20px, 1.8vw, 32px);
  border-radius: 50%;
  border: 2px solid var(--accent);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}
.bridge-dart-ring.pulse {
  animation: dartRingPulse 0.6s ease-out forwards;
}

@keyframes dartLand {
  0% {
    opacity: 0;
    transform: translate(200%, -200%) scale(1.6);
  }
  30% {
    opacity: 1;
  }
  85% {
    transform: translate(-94%, -10%) scale(0.95) rotate(-5deg);
  }
  100% {
    opacity: 1;
    transform: translate(-92%, -8%) scale(1) rotate(0deg);
  }
}

@keyframes dartRingPulse {
  0% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(0.5);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(3);
  }
}

/* ─── INTERACTIVE COST MODEL PANEL ─── */
.cost-model {
  width: clamp(220px, 16vw, 280px);
  min-width: clamp(220px, 16vw, 280px);
  padding: clamp(10px, 0.9vw, 16px);
  background: #0f172a;
  border-radius: 12px;
  border: 2px solid rgba(40,50,196,0.2);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #e2e8f0;
  overflow-y: auto;
}

.cost-model-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.cost-model-header i { color: var(--accent); }

.cost-slider-group { display: flex; flex-direction: column; gap: 3px; }
.cost-slider-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.cost-slider-row label {
  font-size: 11px;
  font-weight: 600;
  color: #cbd5e1;
}
.cost-route {
  font-size: 9px;
  color: #64748b;
  font-weight: 400;
  margin-left: 3px;
}
.cost-slider-row output {
  font-size: 13px;
  font-weight: 700;
  color: white;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
}

.cm-slider {
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #334155;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  margin: 2px 0;
}
.cm-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid white;
  cursor: pointer;
}
.cm-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid white;
  cursor: pointer;
}
.cm-slider-loaded::-webkit-slider-thumb { background: #10b981; }
.cm-slider-loaded::-moz-range-thumb { background: #10b981; }
.cm-slider-dead::-webkit-slider-thumb { background: #64748b; }
.cm-slider-dead::-moz-range-thumb { background: #64748b; }
.cm-slider-hours::-webkit-slider-thumb { background: var(--accent); }
.cm-slider-hours::-moz-range-thumb { background: var(--accent); }
.cm-slider-load-time::-webkit-slider-thumb { background: #f59e0b; }
.cm-slider-load-time::-moz-range-thumb { background: #f59e0b; }
.cm-slider-unload-time::-webkit-slider-thumb { background: #f59e0b; }
.cm-slider-unload-time::-moz-range-thumb { background: #f59e0b; }

.cost-breakdown {
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 10px;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cost-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  color: #e2e8f0;
}
.cost-line.cost-sub { color: #94a3b8; font-size: 11px; }
.cost-rate-hint { font-size: 9px; color: #475569; flex: 1; text-align: right; margin-right: 8px; }
.cost-amount { font-family: var(--font-mono, 'JetBrains Mono', monospace); font-weight: 600; white-space: nowrap; }
.cost-divider { border-top: 1px solid rgba(255,255,255,0.1); margin: 2px 0; }
.cost-line.cost-total { font-weight: 700; color: white; font-size: 13px; }

.cost-result {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cost-result-item { text-align: center; }
.cost-result-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  display: block;
  margin-bottom: 2px;
}
.cost-result-val {
  font-size: 18px;
  font-weight: 800;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  color: white;
}
.cost-or-val.profitable { color: #10b981; }
.cost-or-val.unprofitable { color: #ef4444; }

/* Responsive */
@media (max-width: 1024px) {
  .method-grid { grid-template-columns: repeat(3, 1fr); }
  .coa-grid { grid-template-columns: repeat(2, 1fr); }
  .alloc-pipeline { max-width: 100%; }
  .load-row { flex-wrap: wrap; }
  .alloc-branch { display: none; }
  .or-viz { flex-direction: column; }
  .or-steps { flex-direction: row; overflow-x: auto; min-width: 0; max-width: none; }
  .or-steps .fm-step { min-width: 160px; }
  .or-cards { grid-template-columns: repeat(2, 1fr); }
  .cost-model { width: 100%; min-width: 0; }
  .testimonial-carousel { max-width: 100%; }
}

/* ─── SECURITY DIAGRAM — CSS GRID ─── */
.sec-grid {
  display: grid;
  grid-template-columns: auto 24px auto 24px auto 24px 1fr 1fr 24px auto;
  grid-template-rows: auto 20px auto auto auto auto auto auto;
  grid-template-areas:
    ".     .  .    .  .     .     review   review   rev-audit audit"
    ".     .  .    .  .     .     rev-down rev-down .         audit"
    "nuss  c1 wall c2 ntech c3   siloA    siloB    c4        audit"
    ".     .  .    .  .     .     vA       vB       .         ."
    ".     .  .    .  .     .     clientA  clientB  .         ."
    ".     .  .    .  .     .     fmVA     fmVB     .         ."
    ".     .  .    .  .     .     fm       fm       .         ."
    ".     .  .    .  .     perm  perm     perm     .         .";
  gap: 6px 4px;
  align-items: center;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(8px, 1vw, 16px);
}

/* Standard box */
.sec-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: clamp(10px, 1vw, 18px);
  text-align: center;
  min-width: clamp(100px, 10vw, 140px);
}
.sec-box-icon { margin-bottom: 6px; }
.sec-box-title {
  font-weight: 700;
  font-size: clamp(12px, 0.85vw, 15px);
  line-height: 1.3;
}

/* Tags */
.sec-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: clamp(9px, 0.6vw, 11px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 6px;
}
.sec-tag-red    { background: rgba(239,68,68,0.15); color: var(--red); }
.sec-tag-yellow { background: rgba(245,158,11,0.15); color: #f59e0b; }
.sec-tag-blue   { background: rgba(40,50,196,0.12); color: var(--accent); }

/* Blocked box (Nussbaum — dashed red border) */
.sec-blocked {
  border: 2px dashed var(--red);
  opacity: 0.7;
}

/* Horizontal join (connector between boxes) */
.sec-horiz-join {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 2px;
  white-space: nowrap;
}
.sec-line {
  height: 2px;
  flex: 1;
  min-width: 12px;
  background: var(--accent);
}
.sec-line-blocked {
  background: var(--red);
  height: 2px;
}
.sec-line-caution { background: #f59e0b; }
.sec-connector-label {
  font-size: 9px;
  color: #f59e0b;
  font-weight: 600;
}

/* Vertical join */
.sec-vert-join {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 0;
  position: relative;
}
.sec-vert-line {
  width: 2px;
  height: 20px;
  background: var(--accent);
}
.sec-vert-label {
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
}

/* Chinese Wall */
.sec-wall-v2 {
  background: var(--red);
  color: #fff;
  border-radius: 8px;
  padding: clamp(8px, 0.8vw, 14px) clamp(6px, 0.6vw, 10px);
  text-align: center;
  min-width: clamp(80px, 8vw, 110px);
}
.sec-wall-icon  { margin-bottom: 4px; }
.sec-wall-title { font-weight: 800; font-size: clamp(11px, 0.8vw, 14px); margin-bottom: 6px; }
.sec-wall-items { display: flex; flex-direction: column; gap: 3px; }
.sec-wall-items span {
  font-size: clamp(8px, 0.55vw, 10px);
  opacity: 0.9;
  border-top: 1px dashed rgba(255,255,255,0.3);
  padding-top: 3px;
}

/* Data silo cells */
.sec-silo-v2-cell {
  background: rgba(40,50,196,0.08);
  border: 2px solid rgba(40,50,196,0.25);
  border-radius: 10px;
  padding: clamp(10px, 1vw, 16px);
  text-align: center;
  font-size: clamp(11px, 0.75vw, 14px);
  font-weight: 600;
  min-width: clamp(100px, 10vw, 140px);
}
.sec-silo-v2-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 6px;
}

/* 3rd Party Review (purple accent) */
.sec-review-v2 {
  background: rgba(139,92,246,0.1);
  border-color: rgba(139,92,246,0.3);
}

/* Client (Authorized User) boxes */
.sec-client-v2 {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: clamp(8px, 0.8vw, 14px);
  text-align: center;
  font-size: clamp(10px, 0.7vw, 13px);
  min-width: clamp(100px, 10vw, 140px);
}

/* Audit Log — prominent box */
.sec-audit-box {
  background: rgba(139,92,246,0.08);
  border: 2px solid rgba(139,92,246,0.35);
  border-radius: 12px;
  padding: clamp(12px, 1.2vw, 22px);
  min-width: clamp(120px, 12vw, 180px);
}

/* Audit log entries */
.sec-log-entries { margin-top: 8px; text-align: left; }
.sec-log-line {
  font-size: clamp(8px, 0.55vw, 10px);
  color: var(--steel);
  padding: 3px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-family: 'Courier New', monospace;
}

/* FreightMath Intelligence flow */
.sec-fm-flow {
  background: rgba(5,150,105,0.1);
  border: 2px solid rgba(5,150,105,0.3);
  border-radius: 10px;
  padding: clamp(10px, 1vw, 16px);
  text-align: center;
  min-width: clamp(100px, 10vw, 140px);
}
.sec-fm-join {
  display: flex;
  align-items: center;
  gap: 2px;
}
.sec-fm-permission {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: clamp(9px, 0.6vw, 11px);
  color: var(--green);
  font-style: italic;
  padding: 6px 12px;
  background: rgba(5,150,105,0.06);
  border-radius: 6px;
  border: 1px dashed rgba(5,150,105,0.2);
}

/* Staggered reveal animation */
.sec-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.sec-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive — security diagram */
@media (max-width: 1024px) {
  .sec-grid {
    grid-template-columns: auto 16px auto 16px auto 16px 1fr 1fr 16px auto;
    font-size: 11px;
  }
}

/* ─── RESULTS REVEAL ─── */
.results-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.results-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── BEFORE/AFTER REVEAL ─── */
.after-col {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.after-col.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ─── NUSSBAUM CULTURE CORNER ─── */
.nussbaum-corner {
  position: absolute;
  top: 33%;
  right: var(--slide-pad-h);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.nussbaum-corner-logo {
  height: clamp(28px, 2.5vw, 46px);
  object-fit: contain;
}
.nussbaum-culture-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1.5px solid #c8102e;
  border-radius: 6px;
  background: rgba(200, 16, 46, 0.08);
  color: #c8102e;
  font-size: clamp(12px, 0.8vw, 15px);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
}
.nussbaum-culture-btn:hover {
  background: rgba(200, 16, 46, 0.18);
  transform: scale(1.03);
}

/* ─── PARTNER CORNER (reusable top-right button) ─── */
.partner-corner {
  position: absolute;
  top: clamp(70px, 5.5vw, 110px);
  right: var(--slide-pad-h);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.partner-corner-logo {
  height: clamp(28px, 2.5vw, 46px);
  object-fit: contain;
}
.partner-corner-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1.5px solid var(--accent);
  border-radius: 6px;
  background: rgba(40, 50, 196, 0.08);
  color: var(--accent);
  font-size: clamp(11px, 0.75vw, 14px);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
  max-width: 260px;
  text-align: left;
  line-height: 1.3;
}
.partner-corner-btn:hover {
  background: rgba(40, 50, 196, 0.18);
  transform: scale(1.03);
}
.partner-corner-btn-accent {
  border-color: var(--accent);
  background: rgba(40, 50, 196, 0.08);
  color: var(--accent);
}

/* ─── EXCEL POPUP ─── */
.excel-popup-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: auto auto 0;
  padding: 14px 30px;
  border: 2px solid var(--red);
  border-radius: 8px;
  background: rgba(225, 29, 72, 0.08);
  color: var(--red);
  font-size: clamp(18px, 1.3vw, 24px);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
}
.excel-popup-trigger:hover {
  background: rgba(225, 29, 72, 0.18);
  transform: scale(1.03);
}

.excel-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s;
}
.excel-popup-overlay.open {
  display: flex;
  opacity: 1;
}

.excel-popup-window {
  position: relative;
  width: min(95vw, 1460px);
  background: var(--bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  animation: popupZoomIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes popupZoomIn {
  from { transform: scale(0.7); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.excel-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 10;
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 28px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.excel-popup-close:hover { background: var(--red); }

.excel-popup-img-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.excel-popup-img-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

/* Red diagonal slash */
.excel-popup-slash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.excel-popup-slash::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 6px;
  background: var(--red);
  border-radius: 3px;
  transform: translate(-50%, -50%) rotate(-25deg) scaleX(0);
  transform-origin: center;
  box-shadow: 0 0 20px rgba(225, 29, 72, 0.6);
}
.excel-popup-slash.animate::before {
  animation: slashDraw 0.6s 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes slashDraw {
  from { transform: translate(-50%, -50%) rotate(-25deg) scaleX(0); }
  to   { transform: translate(-50%, -50%) rotate(-25deg) scaleX(1); }
}

/* "Say no" message */
.excel-popup-msg {
  text-align: center;
  padding: 20px 24px;
  font-size: clamp(20px, 2vw, 34px);
  font-weight: 800;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0;
  transform: translateY(12px);
}
.excel-popup-msg.show {
  animation: msgFadeUp 0.5s 1s ease-out forwards;
}
@keyframes msgFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ─── PREVIEW BUTTON (reusable) ─── */
.preview-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  padding: 6px 14px;
  border: 1.5px solid var(--accent);
  border-radius: 6px;
  background: rgba(40, 50, 196, 0.08);
  color: var(--accent);
  font-size: clamp(11px, 0.75vw, 14px);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
}
.preview-btn:hover {
  background: rgba(40, 50, 196, 0.18);
  transform: scale(1.05);
}

/* ─── PREVIEW POPUP (reusable across deck) ─── */
.preview-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s;
}
.preview-popup-overlay.open {
  display: flex;
  opacity: 1;
}
.preview-popup-window {
  position: relative;
  width: min(95vw, 1460px);
  background: var(--bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  animation: popupZoomIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.preview-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 10;
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 28px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.preview-popup-close:hover { background: var(--red); }
.preview-popup-title {
  padding: 16px 24px 8px;
  font-size: clamp(18px, 1.4vw, 28px);
  font-weight: 700;
  color: var(--text-primary);
}
.preview-popup-img-wrap {
  width: 100%;
  padding: 0 16px 16px;
}
.preview-popup-img-wrap img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .stat-grid { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .or-cards { grid-template-columns: 1fr 1fr; }
  .bt-fuel-grid { grid-template-columns: 1fr; }
  .engage-grid { grid-template-columns: 1fr; }
  .engage-card { transform: translateY(40px); }
  .engage-card.visible { transform: translateY(0); }
  .roadmap-track { grid-template-columns: 1fr 1fr; }
  .roadmap-track::before { display: none; }
  .testimonial-quote { font-size: clamp(19px, 4vw, 29px); }
  .testimonial-carousel { min-height: clamp(280px, 50vw, 400px); }
  .load-row { justify-content: flex-start; }
}
