/* ============================================================
   NEW SECTIONS — WhereToStart (doors), TwoTracks (gantt),
   QuoteSlot placeholders, Tracks explainer cards
   ============================================================ */

/* ===== Quote slot placeholder ===== */
.quote-slot {
  margin: 32px auto;
  max-width: 760px;
  padding: 20px 24px;
  border: 1.5px dashed hsl(var(--border));
  border-radius: 10px;
  background: hsl(var(--muted) / .35);
  color: hsl(var(--muted-foreground));
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--font-mono);
}
.quote-slot::before {
  content: '\201C \201D';
  font-family: var(--font-sans);
  font-size: 28px;
  line-height: 0.4;
  color: hsl(var(--primary));
  opacity: .35;
  letter-spacing: .15em;
  margin-bottom: 4px;
}
.quote-slot-tag {
  font-size: 11px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: hsl(var(--primary));
}
.quote-slot-purpose {
  font-size: 13px;
  line-height: 1.55;
  font-family: var(--font-sans);
  color: hsl(var(--muted-foreground));
}

/* ===== Featured quote rotator (Slot A) ===== */
.fquote {
  margin: 36px auto 8px;
  max-width: 940px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 44px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  box-shadow: 0 1px 0 hsl(var(--border)), 0 24px 48px -32px rgb(15 23 42 / .2);
  position: relative;
}
.fquote-aside {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 36px;
  border-right: 1px solid hsl(var(--border));
}
.fquote-stat {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
  color: hsl(142 65% 32%);
  font-variant-numeric: tabular-nums;
}
.fquote-stat-label {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: hsl(var(--muted-foreground));
}
.fquote-chip {
  margin-top: 10px;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  background: hsl(var(--muted) / .7);
  border: 1px solid hsl(var(--border));
  padding: 5px 10px;
  border-radius: 999px;
}
/* When a quote has no metric, the chip leads — give it more presence */
.fquote-chip-lead {
  margin-top: 0;
  font-size: 15px;
  font-weight: 700;
  color: hsl(142 65% 28%);
  background: hsl(142 55% 95%);
  border-color: hsl(142 45% 80%);
  padding: 7px 13px;
}

/* Standalone testimonial section — its own full-width light band,
   forced light in every theme so it reads as a distinct container
   below the dark platform section. */
.split-quote-section { background: hsl(220 24% 97%); }
body.style-remix .split-quote-section,
body.style-contrast .split-quote-section { background: hsl(220 24% 97%); }
.split-quote-section .split-quote {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  border-top: none;
}
/* Force light card + dark text regardless of theme */
.split-quote-section .split-quote-h,
body.style-remix .split-quote-section .split-quote-h,
body.style-contrast .split-quote-section .split-quote-h { color: hsl(222 47% 12%); }
.split-quote-section .split-quote-card,
body.style-remix .split-quote-section .split-quote-card,
body.style-contrast .split-quote-section .split-quote-card {
  background: #fff;
  border-color: hsl(220 16% 90%);
  box-shadow: 0 1px 0 hsl(220 16% 90%), 0 24px 48px -34px rgb(15 23 42 / .26);
}
.split-quote-section .split-quote-text,
body.style-remix .split-quote-section .split-quote-text,
body.style-contrast .split-quote-section .split-quote-text { color: hsl(222 28% 16%); }
.split-quote-section .rq-name,
body.style-remix .split-quote-section .rq-name,
body.style-contrast .split-quote-section .rq-name { color: hsl(222 47% 12%); }
.split-quote-section .rq-role,
.split-quote-section .split-quote-stat-label,
body.style-remix .split-quote-section .rq-role,
body.style-remix .split-quote-section .split-quote-stat-label,
body.style-contrast .split-quote-section .rq-role,
body.style-contrast .split-quote-section .split-quote-stat-label { color: hsl(220 9% 42%); }
.split-quote-section .rq-arrow,
body.style-remix .split-quote-section .rq-arrow,
body.style-contrast .split-quote-section .rq-arrow {
  background: #fff;
  color: hsl(222 28% 22%);
  border-color: hsl(220 16% 88%);
}
.split-quote-section .rq-arrow:hover {
  background: hsl(142 60% 32%);
  color: #fff;
  border-color: hsl(142 60% 32%);
}
.split-quote-section .rq-logo,
body.style-remix .split-quote-section .rq-logo,
body.style-contrast .split-quote-section .rq-logo {
  background: hsl(220 20% 96%);
  border-color: hsl(220 16% 88%);
}

/* Black-left / white-card SPLIT variant. Desktop: left half of the
   strip is black (headline in white), right half light (white card).
   The column gap absorbs the 50% seam. Mobile: whole strip black.
   Selectors include theme variants to beat .split-quote-section bg. */
.split-quote-split,
body.style-remix .split-quote-split,
body.style-contrast .split-quote-split { background: hsl(220 22% 95%); }
@media (min-width: 861px) {
  .split-quote-split,
  body.style-remix .split-quote-split,
  body.style-contrast .split-quote-split {
    background: linear-gradient(to right, #0b0e14 0 50%, hsl(220 22% 95%) 50% 100%);
  }
}
@media (max-width: 860px) {
  .split-quote-split,
  body.style-remix .split-quote-split,
  body.style-contrast .split-quote-split { background: hsl(220 22% 95%); }
  /* Headline gets its own black block; testimonial stays on the light bg below */
  .split-quote-split .split-quote-headline {
    background: #0b0e14;
    padding: 32px 24px;
    border-radius: 16px;
  }
  .split-quote-split .split-quote-card { padding-top: 8px; padding-bottom: 8px; }
}
/* Headline sits on black → white text, in every theme */
.split-quote-split .split-quote-h,
body.style-remix .split-quote-split .split-quote-h,
body.style-contrast .split-quote-split .split-quote-h { color: #fff; }
.split-quote-split .split-quote-headline { justify-content: center; }

/* Boxless testimonial on the light half — no card, content breathes
   and is centered (matches the full-bleed two-color reference). */
.split-quote-split .split-quote-card,
body.style-remix .split-quote-split .split-quote-card,
body.style-contrast .split-quote-split .split-quote-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 8px clamp(8px, 3vw, 48px);
  align-items: center;
  text-align: center;
}
.split-quote-split .split-quote-body { align-items: center; text-align: center; }
.split-quote-split .split-quote-stat-row { justify-content: center; }
.split-quote-split .fquote-chip-lead { align-self: center !important; }
.split-quote-split .split-quote-meta { justify-content: center; }
/* Quote is the hero — larger, accent-free, breathing */
.split-quote-split .split-quote-text,
body.style-remix .split-quote-split .split-quote-text,
body.style-contrast .split-quote-split .split-quote-text {
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.42;
  font-weight: 500;
  max-width: 30ch;
  color: hsl(222 28% 16%);
}
/* Subtle, borderless arrows for the boxless look */
.split-quote-split .split-quote-arrow,
body.style-remix .split-quote-split .split-quote-arrow,
body.style-contrast .split-quote-split .split-quote-arrow {
  position: static;
  transform: none;
  width: 34px; height: 34px;
  background: transparent;
  border-color: hsl(220 16% 82%);
  color: hsl(222 28% 30%);
}
.split-quote-split .split-quote-arrow:hover {
  background: hsl(142 60% 32%);
  border-color: hsl(142 60% 32%);
  color: #fff;
}
/* The split variant renders the quote at a LARGER font (clamp 22–30px) than
   the base card (21px), so the longest quote overflows the base 500px
   reserve and the bottom-pinned arrows shift as you navigate. Reserve enough
   height for the tallest quote in the deck; the body stays vertically
   centered (flex:1 + justify-content:center) and the nav is margin-top:auto,
   so prev/next sit at a FIXED y on every slide. */
@media (min-width: 861px) {
  .split-quote-split .split-quote-card.has-nav { min-height: 560px; }
}

/* Banded variant — wraps the split testimonial in its own elevated
   surface, clearly separated from the sections above and below.
   Doubled class to win over the base .split-quote rules below. */
.split-quote.split-quote-band {
  border-top: none;
  padding: clamp(36px, 4vw, 56px);
  margin-top: 56px;
  margin-bottom: 56px;
  border-radius: 24px;
  background: hsl(220 24% 97%);
  box-shadow: inset 0 0 0 1px hsl(var(--border));
}
body.style-remix .split-quote.split-quote-band,
body.style-contrast .split-quote.split-quote-band {
  background: hsl(222 20% 13%);
  box-shadow: inset 0 0 0 1px hsl(222 22% 22%);
}

/* ===== Split testimonial: big headline | testimonial card ===== */
.split-quote {
  margin: 0 auto;
  margin-top: 88px;
  margin-bottom: 88px;
  padding-top: 72px;
  border-top: 1px solid hsl(var(--border));
  max-width: 1080px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-quote-headline { display: flex; flex-direction: column; gap: 16px; }
.split-quote-h {
  margin: 0;
  text-wrap: balance;
}
.split-quote-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 36px 36px 32px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 18px;
  box-shadow: 0 1px 0 hsl(var(--border)), 0 24px 48px -34px rgb(15 23 42 / .26);
}
/* Default (non-split) rotating card keeps a stable min-height */
.split-quote-card.has-nav { min-height: 360px; }
@media (min-width: 861px) {
  /* Locked tall enough for the longest quote in the deck so the whole
     section doesn't grow/shrink as you navigate between testimonials. */
  .split-quote-card.has-nav { min-height: 500px; }
}
.split-quote-stat-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.split-quote-stat {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
  color: hsl(142 65% 32%);
  font-variant-numeric: tabular-nums;
}
.split-quote-stat-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: hsl(var(--muted-foreground));
}
.split-quote-text {
  margin: 0;
  font-size: 21px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -.011em;
  color: hsl(var(--foreground));
  text-wrap: pretty;
}
.split-quote-text::before { content: '\201C'; }
.split-quote-text::after { content: '\201D'; }
.split-quote-meta { display: flex; align-items: center; gap: 13px; }

/* Rotating card: stable height + fade + bottom nav row */
.split-quote-card { min-height: 332px; }
.split-quote-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  flex: 1;
  width: 100%;
  justify-content: center;
  animation: fquote-fade .45s cubic-bezier(.22,.61,.36,1);
}
/* Nav row — prev · dots · next, centered, pinned to the bottom so it
   stays put regardless of quote length */
.split-quote-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  margin-top: auto;
  padding-top: 24px;
}
.split-quote-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

@media (max-width: 860px) {
  .split-quote { grid-template-columns: 1fr; gap: 28px; margin-top: 56px; padding-top: 48px; }
  .split-quote-card { padding: 28px 24px 26px; }
  .split-quote-stat { font-size: 34px; }
  .split-quote-text { font-size: 19px; }
}

/* Dark themes */
body.style-remix .split-quote-card,
body.style-contrast .split-quote-card {
  background: hsl(var(--card));
  border-color: hsl(var(--border));
}
.fquote-main {
  min-width: 0;
  animation: fquote-fade .5s cubic-bezier(.22,.61,.36,1);
}
@keyframes fquote-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.fquote-text {
  margin: 0 0 24px;
  font-size: 21px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -.011em;
  color: hsl(var(--foreground));
  text-wrap: pretty;
}
.fquote-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.fquote-avatar {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 9999px;
  background: hsl(var(--primary));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
  letter-spacing: .02em;
}
.fquote-avatar.is-anon {
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
}
/* Real headshot fills the circular avatar — sized up so the face reads clearly.
   !important + explicit size so it beats the 46px base .rq-avatar/.fquote-avatar
   rules that appear later in source order. */
.fquote-avatar-photo,
.rq-avatar-photo {
  background: hsl(var(--muted));
  overflow: hidden;
  padding: 0;
  width: 84px !important; height: 84px !important;
}
.fquote-avatar-photo img,
.rq-avatar-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.fquote-logo {
  width: 56px; height: 46px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 4px 8px;
  background: hsl(var(--muted) / .5);
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
}
.fquote-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.fquote-name { font-size: 17px; font-weight: 600; color: hsl(var(--foreground)); }
.fquote-role { font-size: 14px; color: hsl(var(--muted-foreground)); margin-top: 3px; }

/* Manual navigation: prev/next arrows + tappable dots */
.fquote-nav {
  position: absolute;
  right: 24px; bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.fquote-arrow {
  width: 36px; height: 36px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  cursor: pointer;
  padding: 0;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.fquote-arrow:hover {
  background: hsl(142 60% 32%);
  border-color: hsl(142 60% 32%);
  color: #fff;
}
.fquote-dots {
  display: flex;
  gap: 2px;
  margin: 0 4px;
}
/* Each dot is a generous tap target with a small visible dot inside */
.fquote-dot {
  width: 24px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.fquote-dot-hit {
  width: 9px; height: 9px;
  border-radius: 9999px;
  background: hsl(var(--border));
  transition: background .18s ease, transform .18s ease, width .18s ease;
}
.fquote-dot:hover .fquote-dot-hit { background: hsl(var(--muted-foreground)); }
.fquote-dot.is-active .fquote-dot-hit {
  background: hsl(142 65% 32%);
  width: 22px;
}

/* ===== Redesigned rotator (.rq) — quote-forward, editorial ===== */
.rq {
  position: relative;
  max-width: 860px;
  min-height: 500px;
  margin: 40px auto 8px;
  padding: 52px 96px 40px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 20px;
  box-shadow: 0 1px 0 hsl(var(--border)), 0 30px 60px -40px rgb(15 23 42 / .28);
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/* Body fills the space and centers its content vertically, so the
   side arrows (pinned to 50% of the fixed-height card) stay put
   regardless of how long each quote is. */
.rq-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fquote-fade .45s cubic-bezier(.22,.61,.36,1);
}
.rq-mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 90px;
  line-height: .8;
  height: 44px;
  color: hsl(142 50% 40% / .22);
  user-select: none;
}
.rq-kicker {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-bottom: 22px;
}
.rq-kicker-stat {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.015em;
  color: hsl(142 65% 32%);
  font-variant-numeric: tabular-nums;
}
.rq-kicker-chip { font-size: 19px; }
.rq-kicker-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: hsl(var(--muted-foreground));
}
.rq-quote {
  margin: 0 auto 30px;
  max-width: 640px;
  font-size: 25px;
  line-height: 1.46;
  font-weight: 500;
  letter-spacing: -.011em;
  color: hsl(var(--foreground));
  text-wrap: pretty;
}
.rq-quote::before { content: '\201C'; }
.rq-quote::after { content: '\201D'; }
.rq-attrib {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-align: left;
}
.rq-logo {
  width: 54px; height: 44px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 4px 8px;
  background: hsl(var(--muted) / .5);
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
}
.rq-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.rq-avatar {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 9999px;
  background: hsl(var(--primary));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
}
.rq-avatar.is-anon { background: hsl(var(--muted)); color: hsl(var(--muted-foreground)); }
.rq-name { font-size: 17px; font-weight: 600; color: hsl(var(--foreground)); }
.rq-role { font-size: 14px; color: hsl(var(--muted-foreground)); margin-top: 3px; }
.rq-attrib-chip {
  margin-left: 6px;
  align-self: center;
  font-size: 12px;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  background: hsl(var(--muted) / .7);
  border: 1px solid hsl(var(--border));
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Side arrows */
.rq-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  cursor: pointer;
  padding: 0;
  z-index: 2;
  transition: background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.rq-arrow:hover {
  background: hsl(142 60% 32%);
  border-color: hsl(142 60% 32%);
  color: #fff;
  box-shadow: 0 6px 16px -6px hsl(142 60% 32% / .6);
}
.rq-arrow-prev { left: 24px; }
.rq-arrow-next { right: 24px; }

/* Dots + count */
.rq-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-top: 28px;
}
.rq-dot {
  width: 22px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border: none; background: transparent; padding: 0; cursor: pointer;
}
.rq-dot-hit {
  width: 8px; height: 8px;
  border-radius: 9999px;
  background: hsl(var(--border));
  transition: background .18s ease, width .18s ease;
}
.rq-dot:hover .rq-dot-hit { background: hsl(var(--muted-foreground)); }
.rq-dot.is-active .rq-dot-hit { background: hsl(142 65% 32%); width: 20px; }
.rq-count {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: hsl(var(--muted-foreground));
  font-variant-numeric: tabular-nums;
}

@media (max-width: 760px) {
  .rq { padding: 40px 20px 72px; min-height: 0; }
  .rq-quote { font-size: 20px; }
  .rq-arrow { top: auto; bottom: 24px; transform: none; width: 40px; height: 40px; }
  .rq-arrow-prev { left: 16px; }
  .rq-arrow-next { right: 16px; }
  .rq-attrib { flex-wrap: wrap; justify-content: center; }
  .rq-attrib-chip { margin-left: 0; }
}

/* ===== Layout B: three-up cards (all visible) ===== */
.fq-cards {
  margin: 36px auto 8px;
  max-width: 1080px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.fq-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 26px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 14px;
  box-shadow: 0 1px 0 hsl(var(--border)), 0 18px 36px -30px rgb(15 23 42 / .22);
}
.fq-card-top {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid hsl(var(--border));
}
.fq-card-stat { font-size: 34px; }
.fq-card-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: hsl(var(--foreground));
  text-wrap: pretty;
  flex: 1;
}
.fq-card .fquote-meta { margin-top: 4px; }
@media (max-width: 920px) {
  .fq-cards { grid-template-columns: 1fr; max-width: 620px; }
  .fq-card { flex-direction: column; }
}

/* ===== Layout C: editorial stacked list (all visible) ===== */
.fq-list {
  margin: 36px auto 8px;
  max-width: 880px;
  display: flex;
  flex-direction: column;
}
.fq-list-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 44px;
  padding: 36px 0;
  border-top: 1px solid hsl(var(--border));
}
.fq-list-row:first-child { border-top: none; padding-top: 8px; }
.fq-list-row:last-child { padding-bottom: 8px; }
.fq-list-aside { display: flex; flex-direction: column; gap: 6px; }
.fq-list-stat { font-size: 40px; }
.fq-list-text {
  margin: 0 0 20px;
  font-size: 19px;
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: -.008em;
  color: hsl(var(--foreground));
  text-wrap: pretty;
}
@media (max-width: 780px) {
  .fq-list-row { grid-template-columns: 1fr; gap: 18px; padding: 28px 0; }
  .fq-list-aside { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
  .fq-list-stat { font-size: 32px; }
  .fq-list-text { font-size: 17px; }
}

@media (max-width: 940px) {
  /* Below the card's max-width, the absolute nav would slide into the
     attribution text. Drop it into flow as a full-width row instead. */
  .fquote-nav {
    position: static;
    right: auto; bottom: auto;
    grid-column: 1 / -1;
    justify-content: flex-end;
    margin-top: 14px;
  }
}

@media (max-width: 820px) {
  .fquote {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 28px;
  }
  .fquote-aside {
    flex-direction: row;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 14px;
    padding-right: 0;
    padding-bottom: 22px;
    border-right: none;
    border-bottom: 1px solid hsl(var(--border));
  }
  .fquote-stat { font-size: 38px; }
  .fquote-chip { margin-top: 0; }
  .fquote-text { font-size: 18px; }
  .fquote-nav { position: static; margin-top: 20px; justify-content: flex-start; right: auto; bottom: auto; }
}

/* Inside a dark Door 2 */
.door-program .quote-slot {
  margin: 24px 0 0;
  background: hsl(var(--card));
  border-color: hsl(var(--primary) / .3);
}

/* ===== WhereToStart — Doors ===== */
.doors {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  margin-top: 64px;
  align-items: stretch;
}
.doors-3 {
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 24px;
}
@media (max-width: 1100px) {
  .doors-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .doors { grid-template-columns: 1fr; gap: 24px; }
  .doors-3 { grid-template-columns: 1fr; gap: 24px; }
}

/* All 3 doors share their grid rows via subgrid so the header, title,
   body, price, CTA, and reassurance all line up at the same Y across
   the columns. 6 rows: header · title · body(1fr) · price · cta · reassure. */
.doors-3 {
  grid-template-rows: auto auto 1fr auto auto auto;
}
@media (max-width: 980px) {
  .doors-3 { grid-template-rows: none; }
}

.door {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  padding: 40px;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 6;
  row-gap: 20px;
  position: relative;
}
@media (max-width: 980px) {
  .door {
    display: flex; flex-direction: column; gap: 20px;
    grid-template-rows: none;
    grid-row: auto;
  }
}
.door-featured {
  border: 1.5px solid hsl(var(--primary));
  box-shadow: 0 0 0 4px hsl(var(--primary) / .06), 0 24px 48px -24px hsl(var(--primary) / .25);
  background: linear-gradient(180deg, hsl(var(--primary) / .03), transparent 30%), hsl(var(--card));
}
.door-badge {
  position: absolute; top: -12px; left: 40px;
  padding: 5px 14px; border-radius: 9999px;
  background: hsl(var(--primary)); color: hsl(var(--primary-foreground));
  font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.door-header {
  display: flex; align-items: baseline; justify-content: space-between;
  border-bottom: 1px solid hsl(var(--border));
  padding-bottom: 16px;
}
.door-tier {
  font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: hsl(var(--primary));
  font-family: var(--font-mono);
}

/* Reassurance line — sits above the price block on Door 2 so the
   price+CTA footer has the same shape in both doors and aligns. */
.door-reassure {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 16px;
  border-radius: 8px;
  background: hsl(var(--muted) / .5);
  font-size: 16px;
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
  /* Reserve enough height for ~3 lines so both doors' boxes match,
     keeping the price+CTA above at the same vertical position */
  min-height: 86px;
}
.door-reassure strong {
  color: hsl(var(--foreground));
  font-weight: 600;
}
.door-reassure-check {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 9999px;
  background: hsl(var(--success) / .15);
  color: hsl(var(--success));
  margin-top: 1px;
}
.door-title {
  font-size: 28px; font-weight: 700; letter-spacing: -.018em;
  line-height: 1.15;
  margin: 0;
  color: hsl(var(--foreground));
}
.door-body {
  font-size: 16px; line-height: 1.65;
  color: hsl(var(--foreground));
  margin: 0;
}
.door-body-muted {
  font-style: italic;
  font-size: 14px;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

.door-callout {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 18px;
  border-radius: 8px;
  background: hsl(var(--muted) / .5);
  font-size: 16px;
  line-height: 1.6;
}
.door-callout-icon {
  flex-shrink: 0;
  margin-top: 2px;
}
.door-callout-warn .door-callout-icon { color: hsl(35 90% 33%); }
.door-callout-warn { background: hsl(35 92% 95%); }
.door-callout-warn .door-callout-body { color: hsl(28 60% 22%); font-style: italic; }
.door-callout-body { font-size: 16px; line-height: 1.6; }

.door-footer {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  row-gap: 16px;
  padding-top: 24px;
  border-top: 1px solid hsl(var(--border));
}
.door-price-row {
  display: flex; flex-direction: column; gap: 2px;
  min-height: 92px;
}
.door-price {
  font-size: 36px; font-weight: 700; letter-spacing: -.02em;
  line-height: 1.1;
}
.door-price-suffix {
  font-size: 16px; font-weight: 500;
  color: hsl(var(--muted-foreground));
  margin-left: 6px;
}
.door-price-meta {
  font-size: 16px;
  color: hsl(var(--muted-foreground));
}
.door-cta { align-self: stretch; justify-content: center; }

/* ===== TwoTracks — Gantt ===== */
.gantt {
  margin-top: 56px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  padding: 32px 40px;
  display: flex; flex-direction: column; gap: 24px;
  position: relative;
}
@media (max-width: 720px) {
  .gantt { padding: 24px 20px; }
}

.gantt-toolbar {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 2;
}
.gantt-replay {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 12px;
  border-radius: 6px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  color: hsl(var(--muted-foreground));
  font-size: 11px; font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: .04em;
  cursor: pointer;
  transition: color .12s ease, border-color .12s ease, background .12s ease;
}
.gantt-replay:hover {
  color: hsl(var(--foreground));
  border-color: hsl(var(--primary));
  background: hsl(var(--primary) / .04);
}

/* === Bars: continuous looping CSS animation === */
.gantt-bar {
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  animation-name: gantt-bar-loop;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(.2, .6, .2, 1);
  animation-fill-mode: both;
}
/* Each bar gets:
   - animation-duration: the full cycle length (sweep + hold + reset)
   - animation-delay: positive, equal to (start_day / 90) * sweepMs
   With iteration-count: infinite, iteration 1 waits for delay; iteration 2+
   loops immediately. Bars stay phase-shifted relative to each other throughout. */
@keyframes gantt-bar-loop {
  0%   { transform: scaleX(0); opacity: 0; }
  3%   { opacity: 1; }
  11%  { transform: scaleX(1); opacity: 1; }   /* finished drawing (~700ms / 6500ms) */
  85%  { transform: scaleX(1); opacity: 1; }   /* hold */
  100% { transform: scaleX(0); opacity: 0; }   /* reset */
}

/* === Playhead: continuous looping sweep === */
.gantt-playhead {
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent 0%,
    hsl(var(--primary) / .35) 12%,
    hsl(var(--primary) / .55) 50%,
    hsl(var(--primary) / .35) 88%,
    transparent 100%
  );
  left: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  animation-name: gantt-playhead-loop;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
.gantt-playhead::after {
  content: '';
  position: absolute;
  top: 50%; left: -3px;
  width: 7px; height: 7px;
  border-radius: 9999px;
  background: hsl(var(--primary));
  transform: translateY(-50%);
  box-shadow: 0 0 12px hsl(var(--primary) / .6);
}
@keyframes gantt-playhead-loop {
  0%   { left: 0;    opacity: 0; }
  2%   { opacity: 1; }
  /* Playhead sweeps for the first ~37% of the cycle (the bar-draw window),
     then disappears during the hold + reset phases. */
  37%  { left: 100%; opacity: 1; }
  40%  { opacity: 0; }
  100% { left: 0;    opacity: 0; }
}

.gantt-axis {
  display: grid; grid-template-columns: 200px 1fr; gap: 24px;
  align-items: end;
}
@media (max-width: 720px) { .gantt-axis { grid-template-columns: 100px 1fr; gap: 12px; } }

.gantt-axis-spacer {}
.gantt-axis-scale {
  position: relative;
  height: 24px;
  border-bottom: 1px solid hsl(var(--border));
}
.gantt-tick {
  position: absolute;
  bottom: 0;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
}
.gantt-tick-line { width: 1px; height: 8px; background: hsl(var(--border)); }
.gantt-tick-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: hsl(var(--muted-foreground));
  margin-bottom: 4px;
  white-space: nowrap;
}

.gantt-track {
  display: grid; grid-template-columns: 200px 1fr; gap: 24px;
  align-items: stretch;
}
@media (max-width: 720px) { .gantt-track { grid-template-columns: 100px 1fr; gap: 12px; } }

.gantt-track-label {
  padding: 8px 0;
  display: flex; flex-direction: column; gap: 2px;
}
.gantt-track-tag {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: hsl(var(--primary));
}
.gantt-track-1 .gantt-track-tag { color: hsl(var(--primary)); }
.gantt-track-2 .gantt-track-tag { color: hsl(var(--warning)); }
.gantt-track-name {
  font-size: 16px; font-weight: 700; letter-spacing: -.008em;
}
.gantt-track-meta {
  font-size: 11px;
  color: hsl(var(--muted-foreground));
  line-height: 1.4;
}

.gantt-track-canvas {
  position: relative;
  height: 48px;
  border-radius: 4px;
}
.gantt-track-canvas-tall {
  height: 232px; /* 8 rows * 28px + buffer */
}

.gantt-grid {
  position: absolute; top: 0; bottom: 0;
  width: 1px;
  background: hsl(var(--border) / .6);
}

.gantt-bar {
  position: absolute;
  height: 22px;
  border-radius: 4px;
  display: flex; align-items: center;
  padding: 0 8px;
  font-size: 10px; font-weight: 600;
  color: #fff;
  overflow: visible;
  white-space: nowrap;
  top: 12px;
}
.gantt-track-canvas-tall .gantt-bar { top: 0; }

.gantt-bar-primary {
  background: hsl(var(--primary));
}
.gantt-bar-amber {
  background: hsl(35 92% 50%);
  color: hsl(28 80% 18%);
}
.gantt-bar-green {
  background: hsl(var(--success));
}
.gantt-bar-milestone {
  border-radius: 9999px;
  height: 22px;
  min-width: 22px;
  justify-content: center;
  box-shadow: 0 0 0 3px hsl(var(--success) / .15);
}
.gantt-bar-label {
  font-family: var(--font-sans);
}
/* If bar is too narrow for label, allow it to overflow to right side */
.gantt-bar[style*="width: 1"]:not([style*="width: 10"]),
.gantt-bar[style*="width: 2"]:not([style*="width: 20"]),
.gantt-bar[style*="width: 3"]:not([style*="width: 30"]),
.gantt-bar[style*="width: 4"]:not([style*="width: 40"]),
.gantt-bar[style*="width: 5"]:not([style*="width: 50"]),
.gantt-bar[style*="width: 6"]:not([style*="width: 60"]) {
  /* small bars: just keep text inside, but use ellipsis */
}
.gantt-bar .gantt-bar-label {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Tracks explainer cards ===== */
.tracks-explain {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
@media (max-width: 980px) { .tracks-explain { grid-template-columns: 1fr; } }

.tracks-card {
  padding: 24px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 10px;
  display: flex; flex-direction: column; gap: 10px;
}
.tracks-card-outcome {
  background: linear-gradient(180deg, hsl(var(--success) / .04), transparent), hsl(var(--card));
  border-color: hsl(var(--success) / .35);
}
.tracks-card-tag {
  display: inline-flex; width: fit-content;
  padding: 3px 10px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
}
.tracks-card-tag-primary { background: hsl(var(--primary) / .1); color: hsl(var(--primary)); }
.tracks-card-tag-amber { background: hsl(35 92% 92%); color: hsl(28 80% 35%); }
.tracks-card-tag-green { background: hsl(var(--success) / .1); color: hsl(var(--success)); }
.tracks-card-title {
  font-size: 17px; font-weight: 700; letter-spacing: -.008em;
  line-height: 1.25;
  margin: 0;
}
.tracks-card-body {
  font-size: 14px; line-height: 1.6;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

/* ============================================================
   DARK STYLE OVERRIDES (remix + contrast)
   ============================================================ */
body.style-remix .door,
body.style-contrast .door {
  background: hsl(28 8% 11%);
  border-color: hsl(28 6% 20%);
  color: hsl(220 14% 96%);
}
body.style-remix .door-featured,
body.style-contrast .door-featured {
  background: linear-gradient(180deg, hsl(218 80% 62% / .08), transparent 30%), hsl(28 8% 11%);
  border-color: hsl(218 80% 62%);
  box-shadow: 0 0 0 4px hsl(218 80% 62% / .12), 0 24px 48px -24px hsl(218 80% 62% / .35);
}
body.style-remix .door-featured { border-color: hsl(12 88% 60%); box-shadow: 0 0 0 4px hsl(12 88% 60% / .12), 0 24px 48px -24px hsl(12 88% 60% / .35); background: linear-gradient(180deg, hsl(12 88% 60% / .06), transparent 30%), hsl(28 8% 11%); }
body.style-remix .door-badge { background: hsl(12 88% 60%); color: #fff; }
body.style-remix .door-header,
body.style-contrast .door-header { border-bottom-color: hsl(28 6% 20%); }
body.style-remix .door-title,
body.style-contrast .door-title { color: #fff; }
body.style-remix .door-body,
body.style-contrast .door-body { color: hsl(220 14% 92%); }
body.style-remix .door-body-muted,
body.style-contrast .door-body-muted { color: hsl(220 9% 72%); }

/* Tier label color matches the style accent on dark */
body.style-remix .door-tier { color: hsl(12 88% 65%); }
body.style-contrast .door-tier { color: hsl(218 80% 72%); }

/* Door reassure line on dark */
body.style-remix .door-reassure,
body.style-contrast .door-reassure {
  background: hsl(28 8% 8%);
  color: hsl(220 9% 80%);
}
body.style-remix .door-reassure strong,
body.style-contrast .door-reassure strong { color: hsl(220 14% 96%); }
body.style-remix .door-reassure-check,
body.style-contrast .door-reassure-check {
  background: hsl(142 30% 18%);
  color: hsl(142 60% 65%);
}

.door-reassure-warn .door-reassure-warnicon {
  background: hsl(35 92% 92%);
  color: hsl(35 90% 32%);
}

body.style-remix .door-reassure-warn .door-reassure-warnicon,
body.style-contrast .door-reassure-warn .door-reassure-warnicon {
  background: hsl(35 30% 18%);
  color: hsl(35 80% 65%);
}

body.style-remix .door-footer,
body.style-contrast .door-footer { border-top-color: hsl(28 6% 20%); }
body.style-remix .door-price-meta,
body.style-contrast .door-price-meta { color: hsl(220 9% 65%); }
body.style-remix .door-price-suffix,
body.style-contrast .door-price-suffix { color: hsl(220 9% 65%); }

/* Quote slot in dark */
body.style-remix .quote-slot,
body.style-contrast .quote-slot {
  background: hsl(28 8% 11%);
  border-color: hsl(28 6% 22%);
  color: hsl(220 9% 70%);
}
body.style-remix .door-program .quote-slot,
body.style-contrast .door-program .quote-slot {
  background: hsl(28 8% 8%);
}

/* Featured quote rotator — stays a LIGHT card in every theme so it
   reads as a clean panel on the band below the hero (not a second
   dark slab). Only adjust the logo chip backing for dark themes. */
body.style-remix .fquote,
body.style-contrast .fquote {
  background: hsl(var(--card));
  border-color: hsl(var(--border));
}

/* Gantt in dark */
body.style-remix .gantt,
body.style-contrast .gantt {
  background: hsl(28 8% 11%);
  border-color: hsl(28 6% 20%);
}
body.style-remix .gantt-axis-scale,
body.style-contrast .gantt-axis-scale { border-bottom-color: hsl(28 6% 20%); }
body.style-remix .gantt-tick-line,
body.style-contrast .gantt-tick-line { background: hsl(28 6% 30%); }
body.style-remix .gantt-grid,
body.style-contrast .gantt-grid { background: hsl(28 6% 18%); }
body.style-remix .gantt-track-name,
body.style-contrast .gantt-track-name { color: #fff; }
body.style-remix .gantt-bar-amber,
body.style-contrast .gantt-bar-amber {
  background: hsl(35 92% 55%);
  color: hsl(28 80% 12%);
}

/* Tracks explainer cards in dark */
body.style-remix .tracks-card,
body.style-contrast .tracks-card {
  background: hsl(28 8% 11%);
  border-color: hsl(28 6% 20%);
  color: hsl(220 14% 96%);
}
body.style-remix .tracks-card-title,
body.style-contrast .tracks-card-title { color: #fff; }
body.style-remix .tracks-card-body,
body.style-contrast .tracks-card-body { color: hsl(220 9% 65%); }
body.style-remix .tracks-card-outcome,
body.style-contrast .tracks-card-outcome {
  background: linear-gradient(180deg, hsl(142 60% 45% / .08), transparent), hsl(28 8% 11%);
  border-color: hsl(142 60% 45% / .4);
}

/* Backgrounds on remix/contrast for the two-tracks section */
body.style-remix .section#tracks,
body.style-contrast .section#tracks {
  background: hsl(28 8% 8%) !important;
  color: hsl(220 14% 96%);
}
body.style-remix .section#tracks .lede,
body.style-contrast .section#tracks .lede { color: hsl(220 9% 65%); }
body.style-remix .section#tracks .eyebrow,
body.style-contrast .section#tracks .eyebrow { color: hsl(218 80% 70%); }
body.style-remix .section#tracks .eyebrow { color: hsl(12 88% 65%); }

/* ============================================================
   WHAT YOU ACTUALLY GET — platform + pod duality cards
   ============================================================ */
.duality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 16px;
}
@media (max-width: 880px) { .duality-grid { grid-template-columns: 1fr; } }

.duality-card {
  padding: 36px 32px 32px;
  border: 1px solid hsl(var(--border));
  border-radius: 14px;
  background: hsl(var(--background));
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.duality-card.duality-platform { border-top: 3px solid hsl(218 80% 55%); }
.duality-card.duality-pod      { border-top: 3px solid hsl(12 88% 60%); }

.duality-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  font-family: var(--font-mono);
}
.duality-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: hsl(218 80% 55%);
}
.duality-pod .duality-dot { background: hsl(12 88% 60%); }

.duality-title {
  font-family: var(--font-display, var(--font-sans));
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.05;
  letter-spacing: -.018em;
  font-weight: 600;
  margin: 0;
  color: hsl(var(--foreground));
}
.duality-body {
  font-size: 16px;
  line-height: 1.55;
  color: hsl(var(--muted-foreground));
  margin: 0;
}

.duality-together {
  margin-top: 40px;
  padding: 24px 28px;
  border-radius: 12px;
  background: hsl(var(--muted) / .5);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: baseline;
}
@media (max-width: 720px) { .duality-together { grid-template-columns: 1fr; gap: 8px; } }
.duality-amp {
  font-family: var(--font-display, var(--font-sans));
  font-size: 28px;
  font-style: italic;
  font-weight: 500;
  color: hsl(var(--foreground));
  letter-spacing: -.012em;
}
.duality-together p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: hsl(var(--muted-foreground));
}

/* Dark-mode treatment */
body.style-remix .duality-card,
body.style-contrast .duality-card {
  background: hsl(28 8% 11%);
  border-color: hsl(28 6% 20%);
  color: hsl(220 14% 96%);
}
body.style-remix .duality-title,
body.style-contrast .duality-title { color: #fff; }
body.style-remix .duality-body,
body.style-contrast .duality-body { color: hsl(220 9% 65%); }
body.style-remix .duality-together,
body.style-contrast .duality-together {
  background: hsl(28 8% 13%);
  border: 1px solid hsl(28 6% 20%);
}
body.style-remix .duality-amp,
body.style-contrast .duality-amp { color: #fff; }
body.style-remix .duality-together p,
body.style-contrast .duality-together p { color: hsl(220 9% 70%); }

/* ============================================================
   THE PLATFORM — capability rows
   ============================================================ */
.platform-grid {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
  border-top: 1px solid hsl(var(--border));
}
.platform-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 32px 8px;
  border-bottom: 1px solid hsl(var(--border));
  align-items: start;
}
@media (max-width: 720px) { .platform-row { grid-template-columns: 1fr; gap: 12px; } }
.platform-row-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: hsl(218 80% 55% / .1);
  color: hsl(218 80% 50%);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.platform-row-body {
  display: flex; flex-direction: column; gap: 8px;
}
.platform-row-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  font-family: var(--font-mono);
}
.platform-row-flag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: hsl(35 92% 55% / .15);
  color: hsl(35 70% 33%);
  letter-spacing: .08em;
}
.platform-row-title {
  font-family: var(--font-display, var(--font-sans));
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.15;
  letter-spacing: -.014em;
  font-weight: 600;
  margin: 0;
  color: hsl(var(--foreground));
}
.platform-row-text {
  font-size: 16px;
  line-height: 1.55;
  color: hsl(var(--muted-foreground));
  margin: 0;
  max-width: 720px;
}

body.style-remix .platform-row-icon,
body.style-contrast .platform-row-icon {
  background: hsl(218 80% 55% / .15);
  color: hsl(218 80% 70%);
}
body.style-remix .platform-row,
body.style-contrast .platform-row { border-color: hsl(28 6% 20%); }
body.style-remix .platform-grid,
body.style-contrast .platform-grid { border-top-color: hsl(28 6% 20%); }
body.style-remix .platform-row-title,
body.style-contrast .platform-row-title { color: #fff; }
body.style-remix .platform-row-text,
body.style-contrast .platform-row-text { color: hsl(220 9% 65%); }
body.style-remix .platform-row-flag,
body.style-contrast .platform-row-flag {
  background: hsl(35 92% 55% / .18);
  color: hsl(35 92% 70%);
}

/* Dark background for #platform section in remix/contrast */
body.style-remix .section#platform,
body.style-contrast .section#platform {
  background: hsl(28 8% 8%) !important;
  color: hsl(220 14% 96%);
}
body.style-remix .section#platform .lede,
body.style-contrast .section#platform .lede { color: hsl(220 9% 65%); }
body.style-remix .section#platform .eyebrow,
body.style-contrast .section#platform .eyebrow { color: hsl(218 80% 70%); }
body.style-remix .section#platform .h-section,
body.style-contrast .section#platform .h-section { color: #fff; }

/* ============================================================
   HERO — SHOWCASE variant (Spiralyze-inspired)
   Full-bleed dark navy band, oversized angled product mock.
   ============================================================ */
.hero-showcase {
  background: hsl(218 60% 10%);
  color: hsl(220 14% 96%);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
.hero-showcase-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 600px at 85% 35%, hsl(218 80% 35% / .35), transparent 65%),
    radial-gradient(700px 500px at 10% 10%, hsl(218 80% 50% / .15), transparent 60%);
  z-index: 0;
}
.hero-showcase > .container-wide { position: relative; z-index: 1; }

.hero-showcase-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(540px, 1.25fr);
  gap: 72px;
  align-items: center;
  min-height: 560px;
  padding-bottom: 64px;
}
@media (max-width: 1080px) {
  .hero-showcase-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-bottom: 32px;
  }
}

.hero-showcase-left {
  padding: 24px 0;
}
.hero-eyebrow-pill-dark {
  background: hsl(220 25% 100% / .08) !important;
  color: hsl(220 14% 90%) !important;
  border: 1px solid hsl(220 25% 100% / .12);
}
.hero-eyebrow-pill-dark .dot {
  background: hsl(142 70% 55%) !important;
}

.hero-showcase-h1 {
  font-family: var(--font-display, var(--font-sans));
  font-size: clamp(44px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -.028em;
  font-weight: 600;
  margin: 24px 0 28px;
  color: #fff;
  text-wrap: balance;
}
.hero-showcase-accent {
  color: hsl(35 95% 62%);
  font-style: italic;
  font-weight: 500;
}

.hero-showcase-lede {
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.45;
  color: hsl(220 14% 78%);
  max-width: 480px;
  margin: 0 0 36px;
}

/* Right column — oversized product mock with subtle rotation + glow */
.hero-showcase-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-showcase-frame-glow {
  position: absolute;
  inset: 5% -10% 5% -10%;
  background: radial-gradient(60% 50% at 50% 50%, hsl(218 95% 55% / .45), transparent 70%);
  filter: blur(40px);
  z-index: 0;
}
.hero-showcase-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  transform: perspective(1800px) rotateY(-6deg) rotateX(2deg) rotateZ(-1deg);
  transform-origin: center center;
  filter: drop-shadow(0 60px 80px rgba(0, 0, 0, 0.5)) drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
  transition: transform 0.5s ease;
}
.hero-showcase-frame:hover {
  transform: perspective(1800px) rotateY(-3deg) rotateX(1deg) rotateZ(0deg);
}
.hero-showcase-frame .hero-frame {
  box-shadow: 0 0 0 1px hsl(220 25% 100% / .08), 0 30px 60px -20px rgb(0 0 0 / .5);
}
@media (max-width: 1080px) {
  .hero-showcase-frame {
    transform: none;
    max-width: 100%;
  }
}

/* Quiet trust rail across the bottom of the dark band */
.hero-showcase-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 24px 0;
  border-top: 1px solid hsl(220 25% 100% / .1);
}
@media (max-width: 720px) {
  .hero-showcase-rail { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
}
.hero-showcase-rail-item {
  padding: 8px 24px;
  border-right: 1px solid hsl(220 25% 100% / .08);
}
.hero-showcase-rail-item:first-child { padding-left: 0; }
.hero-showcase-rail-item:last-child { border-right: none; }
@media (max-width: 720px) {
  .hero-showcase-rail-item { border-right: none; padding-left: 0; }
}
.hero-showcase-rail-num {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.012em;
  color: #fff;
  font-family: var(--font-display, var(--font-sans));
}
.hero-showcase-rail-lbl {
  font-size: 12px;
  color: hsl(220 14% 65%);
  margin-top: 4px;
  letter-spacing: .01em;
}

/* Ghost button variant for dark backgrounds */
.btn-ghost-on-dark {
  background: transparent;
  color: hsl(220 14% 96%);
  border: 1px solid hsl(220 25% 100% / .25);
}
.btn-ghost-on-dark:hover {
  background: hsl(220 25% 100% / .08);
  border-color: hsl(220 25% 100% / .4);
}

/* ============================================================
   PLATFORM section — full-bleed brand color treatment
   Activated via body.platform-bleed
   ============================================================ */
body.platform-bleed .section#platform {
  background: hsl(218 64% 28%) !important;
  color: #fff;
  position: relative;
  overflow: hidden;
  padding-top: 96px;
  padding-bottom: 96px;
}
body.platform-bleed .section#platform::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, hsl(218 80% 60% / .4), transparent 60%);
  pointer-events: none;
}
body.platform-bleed .section#platform::after {
  content: '';
  position: absolute;
  bottom: -250px;
  left: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, hsl(218 90% 70% / .25), transparent 65%);
  pointer-events: none;
}
body.platform-bleed .section#platform .container,
body.platform-bleed .section#platform .container-wide { position: relative; z-index: 1; }

body.platform-bleed .section#platform .eyebrow {
  color: hsl(35 95% 75%);
}
body.platform-bleed .section#platform .h-section {
  color: #fff;
}
body.platform-bleed .section#platform .lede {
  color: hsl(220 35% 88%);
}

/* Platform rows become white "floating" cards */
body.platform-bleed .platform-grid {
  border-top: none;
  gap: 16px;
  display: grid;
  grid-template-columns: 1fr;
}
body.platform-bleed .platform-row {
  background: #fff;
  color: hsl(var(--foreground));
  border: none;
  border-radius: 12px;
  padding: 28px 32px;
  box-shadow: 0 20px 40px -20px rgb(0 0 0 / .35);
}
body.platform-bleed .platform-row-icon {
  background: hsl(218 64% 33% / .1);
  color: hsl(218 64% 33%);
}
body.platform-bleed .platform-row-label {
  color: hsl(218 30% 45%);
}
body.platform-bleed .platform-row-title {
  color: hsl(var(--foreground));
}
body.platform-bleed .platform-row-text {
  color: hsl(var(--muted-foreground));
}
body.platform-bleed .platform-row-flag {
  background: hsl(35 92% 55% / .18);
  color: hsl(35 92% 70%);
}
/* Quote slot needs to be legible against the blue */
body.platform-bleed .section#platform .quote-slot {
  background: hsl(220 25% 100% / .08);
  border-color: hsl(220 25% 100% / .25);
  color: hsl(220 35% 90%);
}

/* When both dark style AND platform-bleed are on, brand bleed wins */
body.style-remix.platform-bleed .section#platform,
body.style-contrast.platform-bleed .section#platform {
  background: hsl(218 64% 28%) !important;
}
