/* TwinFlame Stack — shared design tokens (inherits from Denial OS) */

:root {
  /* Base */
  --bg-base: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #16161f;
  --bg-hover: #1c1c26;

  --border-subtle: rgb(255 255 255 / 0.06);
  --border-default: rgb(255 255 255 / 0.10);
  --border-strong: rgb(255 255 255 / 0.18);

  --text-primary: #f5f5f7;
  --text-secondary: #a1a1aa;
  --text-tertiary: #71717a;
  --text-muted: #52525b;

  /* Five product accents */
  --reimburse: #c1272d;       /* strike-red-medium / firebrick — ReimburseOS */
  --reimburse-soft: rgba(193, 39, 45, 0.14);
  --sentry: #3b82f6;          /* status-info-blue — Sentry OS */
  --sentry-soft: rgba(59, 130, 246, 0.14);
  --denial: #e63b46;          /* strike-red — Denial OS */
  --denial-soft: rgba(230, 59, 70, 0.14);
  --reclaim: #d4a017;         /* win-gold — Reclaim OS */
  --reclaim-soft: rgba(212, 160, 23, 0.14);
  --leverage: #1a2b4a;        /* trust-navy — Leverage OS */
  --leverage-accent: #5b8cff; /* navy stroke companion for legibility on dark */
  --leverage-soft: rgba(91, 140, 255, 0.14);

  --status-success: #10b981;

  /* Typography */
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-serif: 'Source Serif 4', 'Source Serif Pro', ui-serif, Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --font-display: 'Source Serif 4', ui-serif, Georgia, serif;

  /* Motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  /* Radii */
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
}

* {
  box-sizing: border-box;
  border-color: var(--border-subtle);
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--denial);
  color: var(--text-primary);
}

a { color: inherit; text-decoration: none; }

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.serif {
  font-family: var(--font-serif);
}

.display {
  font-family: var(--font-display);
  font-style: italic;
  letter-spacing: -0.015em;
}

/* ── Layout */

.shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  border-top: 1px solid var(--border-subtle);
}

.section:first-of-type { border-top: none; }

@media (max-width: 720px) {
  .section { padding: 64px 0; }
}

/* ── Navigation */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 15, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 16px;
}

.nav-mark .flame {
  width: 22px;
  height: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 180ms;
}

.nav-links a:hover { color: var(--text-primary); }

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  background: linear-gradient(180deg, var(--denial) 0%, #b21f2c 100%);
  color: white;
  padding: 9px 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 0 14px rgba(220, 47, 61, 0.32);
  transition: transform 180ms, box-shadow 180ms;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(220, 47, 61, 0.55);
}

.nav-mobile-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  cursor: pointer;
}
.nav-mobile-toggle .icon-open,
.nav-mobile-toggle .icon-close { width: 20px; height: 20px; }
.nav-mobile-toggle .icon-close { display: none; }
.nav-mobile-toggle.open .icon-open { display: none; }
.nav-mobile-toggle.open .icon-close { display: block; }

.nav-mobile-drawer {
  display: none;
  border-top: 1px solid var(--border-subtle);
  background: rgba(10, 10, 15, 0.96);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
}
.nav-mobile-drawer.open { display: flex; }
.nav-mobile-drawer {
  flex-direction: column;
  padding: 12px 24px 20px;
  gap: 2px;
}
.nav-mobile-drawer a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  color: var(--text-secondary);
  font-size: 16px;
  border-radius: var(--radius-md);
}
.nav-mobile-drawer a:hover { background: var(--bg-hover); color: var(--text-primary); }
.nav-mobile-drawer .nav-mobile-cta {
  margin-top: 12px;
  background: linear-gradient(180deg, var(--denial) 0%, #b21f2c 100%);
  color: white;
  font-weight: 600;
  justify-content: center;
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta-desktop { display: none; }
  .nav-mobile-toggle { display: inline-flex; }
}

/* ── Hero */

.hero {
  position: relative;
  padding: 112px 0 64px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 460px at 18% 12%, rgba(230, 59, 70, 0.10), transparent 60%),
    radial-gradient(800px 420px at 82% 36%, rgba(212, 160, 23, 0.08), transparent 60%),
    radial-gradient(900px 540px at 50% 110%, rgba(91, 140, 255, 0.10), transparent 60%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-tertiary);
  padding: 6px 12px;
  border: 1px solid var(--border-default);
  border-radius: 999px;
  background: rgba(22, 22, 31, 0.6);
}

.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--denial);
  box-shadow: 0 0 10px var(--denial);
}

.hero h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(48px, 7.5vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 24px 0 20px;
  max-width: 980px;
}

.hero-sub {
  max-width: 720px;
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--text-secondary);
  line-height: 1.5;
}

.hero-sub strong {
  color: var(--text-primary);
  font-weight: 500;
}

.hero-ctas {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  transition: transform 180ms var(--ease-out-expo), box-shadow 180ms;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(180deg, var(--denial) 0%, #b21f2c 100%);
  color: white;
  box-shadow: 0 0 14px rgba(220, 47, 61, 0.32);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(220, 47, 61, 0.55);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
  border-color: var(--border-strong);
}

/* ── Pipeline diagram */

.pipeline-wrap {
  margin-top: 56px;
  position: relative;
}

.pipeline-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Animate the pipeline current */
.pipeline-flow {
  stroke-dasharray: 6 8;
  animation: dash 8s linear infinite;
}

@keyframes dash {
  to { stroke-dashoffset: -140; }
}

.pulse {
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

/* ── Section heads */

.kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-tertiary);
  margin-bottom: 14px;
}

.section h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 20px;
  max-width: 880px;
}

.section h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.15;
  margin: 0 0 12px;
}

.lead {
  max-width: 720px;
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ── 5-card grid (one card per product) */

.product-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
}

.product-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 220ms var(--ease-out-expo), border-color 220ms, box-shadow 220ms;
  overflow: hidden;
  min-height: 280px;
}

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

.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 220px at 100% 0%, var(--accent-soft), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 280ms;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}

.product-card:hover::after { opacity: 1; }

.product-card .num-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-tertiary);
}

.product-card h4 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.product-card .verb {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 15px;
  color: var(--accent-text, var(--accent));
}

.product-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
  flex: 1;
}

.product-card .visit {
  font-size: 13px;
  color: var(--text-tertiary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
}

.product-card:hover .visit { color: var(--accent-text, var(--accent)); }

/* per-product accent variables — high-contrast text variants for darkbg */
.pc-reimburse { --accent: var(--reimburse); --accent-soft: var(--reimburse-soft); --accent-text: #ff7079; }
.pc-sentry    { --accent: var(--sentry);    --accent-soft: var(--sentry-soft);    --accent-text: #6aa1ff; }
.pc-denial    { --accent: var(--denial);    --accent-soft: var(--denial-soft);    --accent-text: #ff8089; }
.pc-reclaim   { --accent: var(--reclaim);   --accent-soft: var(--reclaim-soft);   --accent-text: #facc4a; }
.pc-leverage  { --accent: var(--leverage-accent); --accent-soft: var(--leverage-soft); --accent-text: #8fb1ff; }

/* ── Single-claim story (Rube-Goldberg of recovery) */

.claim-story {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

@media (max-width: 1080px) {
  .claim-story { grid-template-columns: 1fr; gap: 8px; }
}

.claim-step {
  padding: 24px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  position: relative;
  border-radius: 0;
}

.claim-step:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.claim-step:last-child  { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }

@media (max-width: 1080px) {
  .claim-step { border-radius: var(--radius-lg) !important; }
}

.claim-step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
}

.claim-step .stage {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.claim-step .product-line {
  margin-top: 8px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--accent-text, var(--accent));
}

.claim-step .verb-line {
  margin-top: 4px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--text-primary);
}

.claim-step .effect {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.claim-step .amount {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--accent-text, var(--accent));
  font-weight: 500;
}

.claim-stages-bar {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-tertiary);
}

/* ── Math at scale */

.math-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
@media (max-width: 1080px) {
  .math-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .math-grid { grid-template-columns: 1fr; }
}

.math-card {
  padding: 28px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.math-card .label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-tertiary);
  text-transform: uppercase;
}

.math-card .product {
  margin-top: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--accent-text, var(--accent));
}

.math-card .figure {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.math-card .desc {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.math-total {
  margin-top: 28px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.08), rgba(212, 160, 23, 0.02));
  border: 1px solid rgba(212, 160, 23, 0.32);
  border-radius: var(--radius-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 16px 32px;
}

.math-total .total-label {
  font-size: 14px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.math-total .total-figure {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(36px, 5vw, 64px);
  color: var(--reclaim);
  line-height: 1;
  letter-spacing: -0.02em;
}

.math-total .total-context {
  font-size: 14px;
  color: var(--text-tertiary);
  flex-basis: 100%;
}

/* ── Pricing snapshot */

.pricing-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
@media (max-width: 1080px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  padding: 24px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--accent);
}

.price-card h5 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.price-card .tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-text, var(--accent));
}

.price-card .amt {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--text-primary);
  font-weight: 500;
}

.price-card .amt small {
  font-size: 13px;
  color: var(--text-tertiary);
  font-weight: 400;
}

.price-card .pricing-note {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.45;
}

.bundle-banner {
  margin-top: 24px;
  padding: 20px 24px;
  border: 1px solid rgba(91, 140, 255, 0.3);
  background: linear-gradient(135deg, rgba(91, 140, 255, 0.08), rgba(91, 140, 255, 0.02));
  border-radius: var(--radius-lg);
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--text-primary);
}

.bundle-banner strong { color: #8fb1ff; }

/* ── Founding why */

.founding-quote {
  max-width: 880px;
  margin: 0 auto;
  padding: 64px 24px;
  text-align: center;
}

.founding-quote .mark {
  font-family: var(--font-display);
  font-size: 100px;
  line-height: 1;
  color: var(--denial);
  opacity: 0.5;
}

.founding-quote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.4;
  color: var(--text-primary);
  margin: 0 0 24px;
  letter-spacing: -0.005em;
}

.founding-quote cite {
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* ── Closing CTA */

.closing-cta {
  text-align: center;
  padding: 96px 24px;
  border-top: 1px solid var(--border-subtle);
}

.closing-cta .display {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
  margin: 0 0 24px;
  font-weight: 500;
}

.closing-cta p {
  font-size: 18px;
  color: var(--text-secondary);
  margin: 0 auto 32px;
  max-width: 640px;
}

/* ── Footer */

.footer {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
  padding: 56px 24px 32px;
  font-size: 14px;
  color: var(--text-tertiary);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}

@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr 1fr; } }

.footer h6 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  margin: 0 0 12px;
  font-weight: 600;
}

.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }

.footer a { transition: color 180ms; }
.footer a:hover { color: var(--text-primary); }

.footer .legal {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Long-form pages */

.page-hero {
  padding: 96px 0 48px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 16px 0 20px;
  max-width: 920px;
}

.page-hero .lead {
  max-width: 760px;
  font-size: 19px;
  color: var(--text-secondary);
}

.prose {
  max-width: 760px;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-primary);
}

.prose h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  margin-top: 48px;
  margin-bottom: 16px;
  font-size: 28px;
  letter-spacing: -0.01em;
}

.prose p { margin: 0 0 20px; }

.prose strong { color: var(--text-primary); font-weight: 600; }

.prose ul {
  margin: 0 0 24px;
  padding-left: 22px;
}

.prose li { margin-bottom: 8px; color: var(--text-secondary); }

/* Product deep-dive */

.product-deep {
  margin-top: 32px;
  padding: 36px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
}

.product-deep .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent-text, var(--accent));
  text-transform: uppercase;
}

.product-deep h3 {
  margin: 8px 0 6px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.product-deep .verb {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent-text, var(--accent));
  font-size: 16px;
  margin-bottom: 14px;
  display: block;
}

.product-deep p {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 0 16px;
}

.product-deep .synergy {
  margin-top: 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  line-height: 1.55;
}

.product-deep .synergy strong { color: var(--text-secondary); font-weight: 500; }

.product-deep a.visit-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-text, var(--accent));
  margin-top: 12px;
}

/* Comparison table */

.compare {
  margin-top: 28px;
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.compare th, .compare td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

.compare thead th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-tertiary);
  font-weight: 600;
}

.compare td.us { color: var(--reclaim); font-weight: 500; }

/* Stack callout */

.stack-callout {
  margin-top: 32px;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(230, 59, 70, 0.06), rgba(212, 160, 23, 0.04));
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
}

.stack-callout strong { color: var(--text-primary); }

/* ── Cinematic intro overlay (HUB only) */

#intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
}

#intro-overlay.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 700ms ease-out;
}

#intro-overlay .progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--denial);
  width: 0%;
  box-shadow: 0 0 8px rgba(220, 47, 61, 0.6);
  transition: width 80ms linear;
}

#intro-overlay .skip {
  position: absolute;
  top: 22px;
  right: 22px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--text-tertiary);
  border: 1px solid var(--border-default);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  letter-spacing: 0.04em;
}

#intro-overlay .skip:hover { color: var(--text-primary); }

#intro-overlay .scene {
  text-align: center;
  max-width: 920px;
  padding: 0 32px;
  opacity: 0;
  transition: opacity 600ms var(--ease-out-expo);
}

#intro-overlay .scene.active { opacity: 1; }

.intro-line {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(36px, 6vw, 80px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.intro-num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(56px, 12vw, 160px);
  letter-spacing: -0.02em;
  line-height: 1;
}

.intro-sub {
  margin-top: 20px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text-tertiary);
}

.intro-products {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.intro-product-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-default);
  background: var(--bg-card);
  color: var(--text-secondary);
}

.intro-pill-r { color: #ff7079; border-color: rgba(193, 39, 45, 0.4); }
.intro-pill-s { color: #6aa1ff; border-color: rgba(59, 130, 246, 0.4); }
.intro-pill-d { color: #ff8089; border-color: rgba(230, 59, 70, 0.4); }
.intro-pill-c { color: #facc4a; border-color: rgba(212, 160, 23, 0.4); }
.intro-pill-l { color: #8fb1ff; border-color: rgba(91, 140, 255, 0.4); }

.intro-mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}

.intro-mark .slash { color: var(--denial); }
.intro-mark .slash.gold { color: var(--reclaim); }

/* fade-in helper for staggered intro reveals */
.fade-in { animation: fadeIn 700ms var(--ease-out-expo) forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  #intro-overlay { display: none; }
  .pipeline-flow { animation: none; }
  .pulse { animation: none; }
}
