/* Parrot Landing — site styles
   Design tokens live in colors_and_type.css (loaded first in index.html).
   Diagrams live in pillar-diagrams.css (do not edit; consumes legacy tokens). */

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-optical-sizing: auto;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

/* Faint warm grain over the page (~3.5%) */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.10 0 0 0 0 0.09 0 0 0 0 0.08 0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============== NAV ============== */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(253, 251, 248, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.nav.scrolled { border-bottom-color: var(--hairline); }
/* Hero variant — transparent over the dark photo */
.nav.over-hero {
  background: transparent;
  backdrop-filter: none;
}
.nav.over-hero .brand { color: var(--text-on-dark); }
.nav.over-hero .nav-links a { color: rgba(255,255,255,0.72); }
.nav.over-hero .nav-links a:hover { color: var(--text-on-dark); }

.nav-row {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.022em;
  color: var(--text);
  text-decoration: none;
  transition: color var(--dur-base) var(--ease-out);
}
.brand-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--accent);
  transform: translateY(-2px);
  margin-left: 1px;
}
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  margin-right: 8px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-links a:hover { color: var(--text); }

.btn-nav {
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
  white-space: nowrap;
}

/* Nav CTA: hi-vis amber against the dark hero — same treatment as base btn-primary. */
.nav.over-hero .btn-primary {
  background: var(--accent);
  color: var(--accent-foreground);
}

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ============== HERO (FULL-BLEED CINEMATIC VIDEO) ============== */
.hero-v2 {
  position: relative;
  /* Hero dimensions are fixed — they do NOT depend on the video. */
  height: 1200px;
  min-height: 1200px;
  margin-top: calc(var(--nav-h) * -1); /* slide under the nav */
  padding: calc(var(--nav-h) + 128px) 0 280px;
  color: var(--text-on-dark);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  background: var(--surface-overlay);
}
/* Background video — fills the hero, zoomed (object-fit: cover) so it conforms
   to the section, never the other way around. */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  pointer-events: none;
  /* Slight warming + reduced brightness so the type pops */
  filter: brightness(0.78) saturate(0.95) contrast(1.05);
}
/* Dark gradient overlay for text contrast (left-weighted).
   Bottom band darker than top to land the hero into the page below; no chromatic tint —
   the page is already dark, the warmth comes from the type, not from a colored wash. */
.hero-overlay {
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.48) 38%, rgba(0,0,0,0.18) 70%, rgba(0,0,0,0.36) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, transparent 22%, transparent 60%, rgba(0,0,0,0.85) 100%);
}
.hero-v2 .container {
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero-v2-copy {
  max-width: 760px;
}
.yc-badge {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 11px;
  margin: 0 0 22px 0;
  text-decoration: none;
}
.yc-badge-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: block;
}
.yc-badge-text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.88);
}
.hero-eyebrow-light {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin: 0 0 24px 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow-light::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent);
}
.hero-v2-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 1.0;
  letter-spacing: -0.040em;
  color: var(--text-on-dark);
  margin: 0 0 28px 0;
  text-wrap: balance;
}
.hero-v2-title .line { display: block; }
.hero-v2-title .muted { color: rgba(255,255,255,0.62); }
.hero-v2-sub {
  font-size: 19px;
  line-height: 1.5;
  color: rgba(255,255,255,0.82);
  margin: 0 0 36px 0;
  max-width: 56ch;
}

/* Ghost button — hairline-outlined, used over the dark hero where a filled
   amber CTA would compete with the cinematic video. Reads as a quiet next-step
   after the primary CTA, not as a competing primary. */
.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 26px;
  border-radius: 10px;
  background: transparent;
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(255, 250, 244, 0.22);
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.btn-light:hover { background: rgba(255, 250, 244, 0.06); border-color: rgba(255, 250, 244, 0.36); }
.btn-light:active { transform: scale(0.98); }

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* ============== TRUST BAND ============== */
/* Sits over the bottom of the hero video as a translucent dark band. */
.trust-band {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 36px 0;
  border-top: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(180deg, rgba(10,8,7,0.55) 0%, rgba(10,8,7,0.82) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.trust-band-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  text-align: left;
}
.trust-band-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-on-dark-soft);
  line-height: 1.4;
  flex-shrink: 0;
}
.trust-band-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 48px;
}
.trust-logo {
  display: inline-flex;
  align-items: center;
  opacity: 0.85;
  /* Color logos against the dark hero overlay: desaturate + lift toward near-white. */
  filter: grayscale(1) brightness(1.2) contrast(1.1);
  transition: opacity var(--dur-base) var(--ease-out);
}
.trust-logo:hover { opacity: 1; }
.trust-logo .logo-svg {
  height: 28px;
  width: auto;
  display: block;
}
.trust-logo .logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}
/* CCC logo art is set smaller within its bounding box — scale it up to match */
.trust-logo .logo-img[alt="CCC ONE"] { height: 56px; }
@media (max-width: 820px) {
  .trust-band {
    padding: 24px 0;
  }
  .trust-band-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .trust-band-logos {
    justify-content: flex-start;
    gap: 28px;
  }
  .trust-logo .logo-svg { height: 22px; }
  .trust-logo .logo-img { height: 28px; }
  .trust-logo .logo-img[alt="CCC ONE"] { height: 42px; }
}

/* ============== SECTION + INTRO PATTERN ============== */
/* Per-section padding varies so the page has rhythm; no blanket 112px everywhere. */
section { padding: 96px 0; }
.howitworks { padding: 96px 0; }
.numbers    { padding: 88px 0; }
.feature    { padding: 112px 0; }
.final      { padding: 120px 0; }
.section-warm { background: var(--surface-alt); }

.intro-block {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.intro-block.left { text-align: left; margin: 0; align-items: flex-start; }
.intro-eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 22px 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.intro-eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent);
}
.intro-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.030em;
  color: var(--text);
  margin: 0 0 22px 0;
  text-wrap: balance;
}
.intro-heading .line { display: block; }
.intro-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-soft);
  margin: 0;
  max-width: 60ch;
  text-wrap: pretty;
}

/* ============== PROBLEM ============== */
.problem {
  background: var(--surface-alt);
}
.problem-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.problem-card {
  background: var(--surface);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 240px;
}
.problem-card .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-soft);
  margin: 0 0 14px 0;
  text-transform: uppercase;
}
.problem-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.020em;
  line-height: 1.18;
  margin: 0 0 6px 0;
  color: var(--text);
}
.problem-card p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-soft);
  margin: 0;
}
@media (max-width: 980px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .problem-grid { grid-template-columns: 1fr; }
}

/* ============== FEATURE SECTIONS (Vapi alternating) ============== */
.feature {
  padding: 112px 0;
  overflow: hidden; /* mockup bleeds off the edge */
}
/* Feature row — copy + stats on top in two columns, mockup full-width below. */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "copy stats"
    "mock mock";
  column-gap: 64px;
  row-gap: 56px;
  align-items: start;
}
.feature-copy  { grid-area: copy; }
.feature-row > .impact-stack {
  grid-area: stats;
  /* Offset to align stat card 1's top with the heading (not the icon above it).
     Matches .feature-icon height (44px) + its margin-bottom (22px). */
  margin-top: 66px;
}
.feature-mock  { grid-area: mock; }

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  margin-bottom: 22px;
}
.feature-headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 3.3vw, 44px);
  line-height: 1.06;
  letter-spacing: -0.026em;
  color: var(--text);
  margin: 0 0 18px 0;
  text-wrap: balance;
  max-width: 22ch;
}
.feature-body {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-soft);
  margin: 0 0 22px 0;
  max-width: 42ch;
}
.feature-metric {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.feature-metric::before {
  content: "";
  width: 20px; height: 1px;
  background: var(--accent);
}

/* ============== IMPACT CARDS (in pillar copy column) ============== */
.impact-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 0;
  max-width: 480px;
  justify-self: end;
  width: 100%;
}
.impact-card {
  background: var(--surface-alt);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  box-shadow: var(--shadow-1);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.impact-card.accent {
  /* Soft amber wash on light — the single accent card per feature earns its
     chromatic weight without breaking the Restrained ≤10% accent rule. */
  background: var(--accent-soft);
  border-color: oklch(70% 0.12 50 / 0.6);
}
.impact-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 52px;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: baseline;
  gap: 6px 10px;
  flex-wrap: wrap;
}
.impact-num .before { color: var(--text-soft); opacity: 0.5; }
.impact-num .arrow {
  color: var(--text-soft);
  opacity: 0.55;
  font-size: 0.52em;
  font-weight: 500;
  align-self: center;
}
.impact-card.accent .impact-num .before { color: var(--accent); opacity: 0.42; }
.impact-card.accent .impact-num .arrow  { color: var(--accent); opacity: 0.5; }
.impact-num .unit {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-left: 4px;
  color: inherit;
  opacity: 0.78;
}
.impact-card.accent .impact-num { color: var(--accent); }
.impact-label {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--text-soft);
  letter-spacing: 0;
}
.impact-label .qualifier {
  font-style: italic;
  color: var(--text-soft);
  opacity: 0.82;
}
@media (max-width: 720px) {
  .impact-num { font-size: 44px; }
  .impact-num .unit { font-size: 22px; }
}

/* Feature mockup wrap — surface-elevated frame containing each pillar diagram.
   On dark, hairline border + top-edge highlight + cinematic anchor shadow,
   no decorative glow (the diagrams inside are the visual interest). */
.feature-mock {
  position: relative;
  isolation: isolate;
  background: var(--surface-elevated);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 56px 10%;
  box-shadow:
    var(--shadow-1),
    var(--shadow-2);
}
.feature-mock .glow {
  display: none;
}

.feature-row .feature-mock { width: 100%; max-width: 100%; margin: 0; }

@media (max-width: 980px) {
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "stats"
      "mock";
    row-gap: 36px;
  }
  .feature-row > .impact-stack { max-width: 100%; margin-top: 0; }
  .feature-mock { padding: 28px 20px; }
  .feature-row .feature-mock,
  .feature-row.reverse .feature-mock { margin: 0; }
}

/* ============== DARK MOCKUP CARDS ============== */
.mock-card {
  background: linear-gradient(180deg, #18130e 0%, #100c08 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 30px 80px -30px rgba(0,0,0,0.55),
    0 12px 32px -16px rgba(0,0,0,0.4);
  color: rgba(255,255,255,0.92);
  font-family: var(--font-mono);
  position: relative;
  overflow: hidden;
}
/* Subtle scan-line texture */
.mock-card::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 4px);
  opacity: 0.6;
}
/* Fine grid */
.mock-card::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px) 0 0 / 32px 100%,
    linear-gradient(180deg, rgba(255,255,255,0.025) 1px, transparent 1px) 0 0 / 100% 32px;
  opacity: 0.5;
}
.mock-header {
  position: relative; z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
}
.mock-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.92);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.mock-title .glyph {
  width: 18px; height: 18px;
  border-radius: 5px;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 10px;
  flex-shrink: 0;
}
.mock-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5ad48a;
}
.mock-live::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 999px;
  background: #5ad48a;
  box-shadow: 0 0 0 4px rgba(90,212,138,0.18);
  animation: pulse-green 1.6s infinite var(--ease-out);
}
@keyframes pulse-green {
  0%   { box-shadow: 0 0 0 0 rgba(90,212,138,0.45); }
  70%  { box-shadow: 0 0 0 10px rgba(90,212,138,0); }
  100% { box-shadow: 0 0 0 0 rgba(90,212,138,0); }
}
.mock-body {
  position: relative; z-index: 1;
  padding: 20px 22px 22px;
}
.mock-foot {
  position: relative; z-index: 1;
  padding: 14px 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.02));
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.mock-foot > span { white-space: nowrap; }
.mock-foot .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-family: var(--font-body);
  white-space: nowrap;
  border-radius: 999px;
  background: rgba(90,212,138,0.12);
  color: #5ad48a;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.mock-foot .chip.orange { background: rgba(228,100,37,0.15); color: #ff8c4a; }
.mock-foot .chip.slate  { background: rgba(228,100,37,0.15); color: #ff8c4a; }
.mock-foot .chip.green  { background: rgba(80,200,130,0.15); color: #7ee2a5; }

.mock-live.slate { color: #ff8c4a; }
.mock-live.slate::before { background: #ff8c4a; box-shadow: 0 0 8px rgba(228,100,37,0.7); }

/* --- Parts procurement log (mock A) --- */
.log-line {
  display: grid;
  grid-template-columns: 76px auto 1fr;
  gap: 10px;
  align-items: baseline;
  padding: 6px 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
}
.log-line + .log-line { border-top: 1px solid rgba(255,255,255,0.04); }
.log-time {
  color: rgba(255,255,255,0.42);
  font-size: 11px;
  letter-spacing: 0.02em;
}
.log-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(228,100,37,0.18);
  color: #ffa168;
  border: 1px solid rgba(228,100,37,0.32);
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.log-tag.vendor {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.88);
  border-color: rgba(255,255,255,0.12);
}
.log-tag.ok {
  background: rgba(90,212,138,0.15);
  color: #7ee2a5;
  border-color: rgba(90,212,138,0.32);
}
.log-text {
  color: rgba(255,255,255,0.82);
}
.log-text .muted-mono { color: rgba(255,255,255,0.5); }
.log-text strong { color: var(--text); font-weight: 600; }

/* --- Inbound call transcript (mock B) --- */
.transcript-row {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  padding: 10px 0;
  align-items: baseline;
  font-size: 13px;
  line-height: 1.5;
}
.transcript-row + .transcript-row { border-top: 1px solid rgba(255,255,255,0.04); }
.speaker {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.speaker.agent { color: #ffa168; }
.utterance {
  color: rgba(255,255,255,0.86);
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.5;
}
.transcript-side {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  font-family: var(--font-body);
  font-size: 12px;
}
.transcript-side .k {
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 10.5px;
}
.transcript-side .v { color: rgba(255,255,255,0.92); }
.transcript-side .v.ok { color: #7ee2a5; }

/* --- Insurance dashboard (mock C) --- */
.ins-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.ins-card {
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  background: rgba(255,255,255,0.025);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ins-card .carrier {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text);
}
.ins-card .ro {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.55);
}
.ins-card .status {
  font-family: var(--font-body);
  font-size: 11.5px;
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ins-card .status.ok { color: #7ee2a5; }
.ins-card .status.waiting { color: #ffce6e; }
.ins-card .status.done { color: #7ee2a5; }
.ins-card .status::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: currentColor;
}
.ins-chart {
  position: relative;
  padding: 14px 14px 8px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
}
.ins-chart .label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin: 0 0 10px 0;
}
.ins-chart svg { display: block; width: 100%; height: 88px; }
.ins-chart .axis-from, .ins-chart .axis-to {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
}
.ins-chart .axis-to { color: #7ee2a5; }

/* ============== CUSTOMER STORY ============== */
.story {
  background: var(--surface);
  padding: 96px 0;
}
.story-card {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.story-photo {
  background:
    linear-gradient(135deg, rgba(228,100,37,0.08), rgba(26,23,20,0.05)),
    repeating-linear-gradient(45deg, var(--surface-alt) 0 14px, var(--surface-elevated) 14px 28px);
  border-right: 1px solid var(--hairline);
  min-height: 380px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 28px;
}
.story-photo .placeholder {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-soft);
  letter-spacing: 0.04em;
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: 6px 10px;
  border-radius: 6px;
  max-width: 32ch;
  line-height: 1.4;
}
.story-body {
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.story-metric {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.04em;
}
.story-quote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
  text-wrap: balance;
}
.story-body p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-soft);
  margin: 0;
}
.story-attrib {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
}
.story-attrib .who { font-weight: 600; font-size: 14.5px; color: var(--text); }
.story-attrib .where { font-size: 13px; color: var(--text-soft); font-family: var(--font-mono); margin-top: 2px; }
@media (max-width: 980px) {
  .story-card { grid-template-columns: 1fr; }
  .story-photo { min-height: 240px; border-right: none; border-bottom: 1px solid var(--hairline); }
  .story-body { padding: 32px 28px; }
}

/* ============== THE NUMBERS ============== */
.numbers {
  background: var(--surface-alt);
}

/* Anchor metric: one outsized before→after pair, centered, no card. */
.numbers-anchor {
  margin-top: 72px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.numbers-anchor-val {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(64px, 9vw, 130px);
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
}
.numbers-anchor-val .before { color: var(--text-soft); opacity: 0.55; }
.numbers-anchor-val .arrow {
  color: var(--accent);
  font-size: 0.45em;
  font-weight: 500;
  letter-spacing: 0;
  align-self: center;
}
.numbers-anchor-val .after { color: var(--text); }
.numbers-anchor-cap {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.5;
  color: var(--text-soft);
  max-width: 52ch;
  margin: 0;
}

/* Supporting metrics: three smaller before→after pairs in a row,
   separated from the anchor with a hairline above. No cards. */
.numbers-supporting {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 56px;
  row-gap: 36px;
  max-width: 1100px;
  margin-inline: auto;
}
.number-support {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.number-support-val {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.030em;
  line-height: 1.0;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.number-support-val .before { color: var(--text-soft); opacity: 0.55; }
.number-support-val .arrow {
  color: var(--accent);
  font-size: 0.55em;
  font-weight: 500;
  letter-spacing: 0;
  align-self: center;
}
.number-support-val .after { color: var(--text); }
.number-support-cap {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-soft);
  max-width: 38ch;
  margin: 0;
}
/* Mobile: stack supporting metrics, scale anchor down. */
@media (max-width: 720px) {
  .numbers-supporting {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 32px;
  }
  .numbers-anchor-val {
    gap: 6px 14px;
  }
}

/* ============== HOW IT WORKS ============== */
.howitworks {
  background: var(--surface);
}
.howitworks .intro-block {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.hiw-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.hiw-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}
.hiw-step {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 168px;
  letter-spacing: -0.06em;
  line-height: 0.82;
  color: var(--text);
  opacity: 0.16;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0 0 -54px 6px;
  position: relative;
  z-index: 0;
  align-self: flex-start;
  pointer-events: none;
  user-select: none;
  font-variant-numeric: tabular-nums;
}
.hiw-diagram {
  aspect-ratio: 1 / 1;
  background: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: var(--shadow-1);
  /* Container query lets the inner box scale uniformly with width */
  container-type: inline-size;
}
/* Inner box is a fixed design size; transform scales it (and all content)
   to match the diagram's actual width. Square + 1:1 aspect-ratio on parent
   means height matches width too. */
.hiw-diagram-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 360px;
  height: 360px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  box-sizing: border-box;
  transform: scale(calc(100cqi / 360px));
  transform-origin: top left;
}
.hiw-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.020em;
  color: var(--text);
  line-height: 1.2;
  margin: 26px 0 0 0;
}
.hiw-body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-soft);
  margin: 8px 0 0 0;
}

/* iMessage-style bubbles (cards 1 & 3) */
.msg {
  display: flex;
  width: 100%;
}
.msg-owner { justify-content: flex-end; }
.msg-parrot  { justify-content: flex-start; }
.bubble {
  max-width: 86%;
  padding: 10px 13px;
  border-radius: 16px;
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.45;
  letter-spacing: 0;
}
.bubble-owner {
  background: var(--accent);
  color: var(--accent-foreground);
  border-bottom-right-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 11px 11px;
}
.bubble-parrot {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--hairline);
  border-bottom-left-radius: 5px;
}
/* Parrot reply bubble on white diagram: tint with Paper Warm so it reads */
.hiw-diagram .bubble-parrot {
  background: var(--surface-alt);
}
.bubble-caption {
  color: var(--accent-foreground);
  font-size: 12px;
  padding: 0 4px;
}
/* PDF chip inside owner bubble */
.pdf-chip {
  background: rgba(255,255,255,0.14);
  border-radius: 8px;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.pdf-chip .pdf-icon {
  width: 26px; height: 30px;
  background: #fff;
  color: var(--accent);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.pdf-chip .pdf-name {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-foreground);
  line-height: 1.3;
}

/* Network diagram (card 2) — full-bleed inside its square */
.diagram-network .hiw-diagram-inner {
  padding: 0;
  display: block;
}
.network-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.network-lines path {
  stroke: rgba(26, 23, 20, 0.22);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.node {
  position: absolute;
  width: 17%;
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  transform: translate(-50%, -50%);
  z-index: 2;
  box-shadow: 0 1px 3px rgba(26, 23, 20, 0.04);
}
.node svg { width: 50%; height: 50%; }
.node-logo img {
  max-width: 72%;
  max-height: 56%;
  object-fit: contain;
  /* incoming logos are white-on-transparent; invert so they render dark on white node */
  filter: invert(1) brightness(0.35);
}
.parrot-mark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 18%;
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 22%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2.6vw, 26px);
  color: var(--text);
  z-index: 3;
  box-shadow: 0 2px 8px rgba(26, 23, 20, 0.08);
}
.parrot-mark .dot {
  position: absolute;
  top: 6%; right: 6%;
  width: 22%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-sizing: border-box;
}

/* Approve card (card 3) */
/* The Approve summary card now sits on white diagram, so give it a Paper Warm bg to differentiate */
.approve-card {
  background: var(--surface-alt);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 12px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 2px;
}
.approve-card .row-skel { background: #fff; border: 1px solid var(--hairline); }
.approve-summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
/* iMessage style on white diagram (skeleton rows / approve card also adapt) */
.row-skel {
  height: 7px;
  background: var(--surface-alt);
  border-radius: 4px;
  display: block;
}
.row-skel:nth-child(1) { width: 78%; }
.row-skel:nth-child(2) { width: 56%; }
.approve-actions {
  display: flex;
  gap: 8px;
}
.approve-actions .btn-approve,
.approve-actions .btn-feedback {
  flex: 1;
  padding: 8px 10px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
}
.btn-approve {
  background: var(--accent);
  color: var(--accent-foreground);
  border-color: var(--accent);
}
.btn-feedback {
  background: #fff;
  color: var(--text);
  border-color: var(--hairline);
}

/* ============== HOW IT WORKS — DIAGRAM ANIMATIONS ============== */

/* Stagger container — three diagrams start out of phase via animation-delay */
.hiw-diagram.is-paused *,
.hiw-diagram.is-paused {
  animation-play-state: paused !important;
}

/* ---------- Diagram 1: iMessage scene (Tell Parrot) ---------- */
[data-diagram="1"] .bubble-owner,
[data-diagram="1"] .d1-reply-stack > * {
  opacity: 0;
  animation-duration: 7s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-fill-mode: both;
  will-change: opacity, transform;
}
[data-diagram="1"] .bubble-owner {
  animation-name: d1-owner;
}
[data-diagram="1"] .typing-bubble {
  animation-name: d1-typing;
}
[data-diagram="1"] .reply-bubble {
  animation-name: d1-reply;
}

@keyframes d1-owner {
  0%   { opacity: 0; transform: translateX(14px) scale(0.94); }
  6%   { opacity: 1; transform: translateX(0)    scale(1);    }
  77%  { opacity: 1; transform: translateX(0)    scale(1);    }
  94%  { opacity: 0; transform: translateY(-5px);             }
  100% { opacity: 0; transform: translateY(-5px);             }
}
@keyframes d1-typing {
  0%, 17% { opacity: 0; transform: translateX(-14px) scale(0.94); }
  23%     { opacity: 1; transform: translateX(0)     scale(1);    }
  37%     { opacity: 1; }
  44%     { opacity: 0; }
  77%     { opacity: 0; }
  94%, 100% { opacity: 0; transform: translateY(-5px); }
}
@keyframes d1-reply {
  0%, 37% { opacity: 0; }
  44%     { opacity: 1; }
  77%     { opacity: 1; transform: translateY(0); }
  94%     { opacity: 0; transform: translateY(-5px); }
  100%    { opacity: 0; }
}

/* The typing/reply pair stack in the same grid cell so they overlap cleanly */
.d1-reply-stack {
  display: grid;
  grid-template-columns: minmax(0, max-content);
  justify-items: start;
  align-items: start;
  width: 100%;
}
.d1-reply-stack > * {
  grid-column: 1;
  grid-row: 1;
}

/* Typing dots (sub-animation, runs continuously) */
.typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 2px;
}
.typing-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-soft);
  opacity: 0.38;
  animation: typing-dot-pulse 1.2s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.18s; }
.typing-dots span:nth-child(3) { animation-delay: 0.36s; }
@keyframes typing-dot-pulse {
  0%, 70%, 100% { opacity: 0.30; transform: translateY(0); }
  35% { opacity: 1; transform: translateY(-1px); }
}

/* ---------- Diagram 2: Network — bulbs of light ---------- */
.bulb,
.bulb-halo {
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease;
}
.bulb {
  fill: var(--accent);
}
.bulb-halo {
  fill: var(--accent);
  filter: blur(1.6px);
}
.parrot-mark.pulse-arrived {
  animation: parrot-arrived 320ms ease-out;
}
@keyframes parrot-arrived {
  0%   { transform: translate(-50%, -50%) scale(1); }
  50%  { transform: translate(-50%, -50%) scale(1.06); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

/* ---------- Diagram 3: Approve scene ---------- */
[data-diagram="3"] .bubble-parrot,
[data-diagram="3"] .approve-card,
[data-diagram="3"] .btn-approve {
  animation-duration: 7s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-fill-mode: both;
  will-change: opacity, transform;
}
[data-diagram="3"] .bubble-parrot {
  opacity: 0;
  animation-name: d3-bubble;
  animation-delay: 1.2s;
}
[data-diagram="3"] .approve-card {
  opacity: 0;
  animation-name: d3-summary;
  animation-delay: 1.2s;
}
[data-diagram="3"] .btn-approve {
  animation-name: d3-pulse;
  animation-delay: 1.2s;
  transform-origin: center;
}

@keyframes d3-bubble {
  0%   { opacity: 0; transform: translateX(-14px) scale(0.94); }
  11%  { opacity: 1; transform: translateX(0)     scale(1);    }
  77%  { opacity: 1; transform: translateX(0)     scale(1);    }
  94%  { opacity: 0; transform: translateY(-5px);              }
  100% { opacity: 0; transform: translateY(-5px);              }
}
@keyframes d3-summary {
  0%, 23% { opacity: 0; transform: translateY(8px) scale(0.96); }
  34%     { opacity: 1; transform: translateY(0)   scale(1);    }
  77%     { opacity: 1; transform: translateY(0)   scale(1);    }
  94%     { opacity: 0; transform: translateY(-5px);            }
  100%    { opacity: 0; transform: translateY(-5px);            }
}
@keyframes d3-pulse {
  0%, 34%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(228,100,37,0); }
  40%           { transform: scale(1.04); box-shadow: 0 0 0 6px rgba(228,100,37,0.18); }
  46%           { transform: scale(1);    box-shadow: 0 0 0 0 rgba(228,100,37,0); }
}

/* Reduced motion — show final state, no movement */
@media (prefers-reduced-motion: reduce) {
  [data-diagram="1"] .bubble-owner,
  [data-diagram="1"] .reply-bubble,
  [data-diagram="3"] .bubble-parrot,
  [data-diagram="3"] .approve-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  [data-diagram="1"] .typing-bubble,
  [data-diagram="1"] .d1-reply-stack > .typing-bubble {
    display: none !important;
  }
  [data-diagram="3"] .btn-approve {
    animation: none !important;
  }
  .typing-dots span { animation: none !important; opacity: 0.4 !important; transform: none !important; }
}

@media (max-width: 1023px) {
  .hiw-grid { grid-template-columns: 1fr; gap: 56px; }
  .hiw-heading { font-size: 22px; }

  /* Stacked layout = desktop layout, one per row.
     Each step is centered to ~80% of the viewport. Number sits above and
     slightly left of the square, with the desktop's negative margin keeping
     its bottom edge tucked behind the square's top-left corner. */
  .hiw-card {
    width: 80%;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
  .hiw-step {
    font-size: clamp(180px, 28vw, 280px);
    margin: 0 0 calc(clamp(180px, 28vw, 280px) * -0.34) 6px;
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .hiw-card { width: 88%; }
  .hiw-step {
    font-size: clamp(140px, 34vw, 220px);
    margin-bottom: calc(clamp(140px, 34vw, 220px) * -0.34);
  }
}

/* ============== VISION ============== */
.vision {
  background: var(--surface);
}
.vision-body {
  margin: 56px auto 0;
  max-width: 640px;
  text-align: center;
}
.vision-body p {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--text-soft);
  margin: 0 0 22px 0;
  text-wrap: pretty;
}
.vision-body p:last-child { margin-bottom: 0; }
.vision-body strong { color: var(--text); font-weight: 600; }
.vision-closing {
  margin: 72px auto 0;
  max-width: 26ch;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text);
  text-wrap: balance;
}

/* ============== INLINE MID-PAGE CTA ============== */
/* A quiet sentence + button after Feature A, where the parts-savings story
   has just landed. Gives a reader who decides mid-page a direct path. */
.inline-cta {
  background: var(--surface-alt);
  padding: 56px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.inline-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.inline-cta-copy {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: -0.020em;
  line-height: 1.25;
  color: var(--text);
  margin: 0;
  max-width: 36ch;
}
.inline-cta-btn {
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .inline-cta { padding: 44px 0; }
  .inline-cta-row { flex-direction: column; align-items: stretch; gap: 22px; }
  .inline-cta-copy { max-width: 100%; }
  .inline-cta-btn { width: 100%; justify-content: center; }
}

/* ============== FINAL CTA ============== */
/* End-of-piece signature: soft amber wash so the close reads as Parrot's color
   reaching forward — a single chromatic section in an otherwise restrained
   light page. */
.final {
  background: var(--accent-soft);
  padding: 120px 0;
}
.final-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: center;
}
.final-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.030em;
  color: var(--text);
  margin: 0 0 22px 0;
  text-wrap: balance;
  max-width: 14ch;
}
.final-body {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
  opacity: 0.78;
  margin: 0;
  max-width: 44ch;
}
@media (max-width: 980px) {
  .final-wrap { grid-template-columns: 1fr; }
}

/* ── Final CTA: bullets + host badge ───────────────────────────── */
.final-left { max-width: 48ch; }

.final-bullets {
  list-style: none;
  padding: 0;
  margin: 28px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.final-bullets li {
  position: relative;
  padding-left: 28px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  opacity: 0.82;
}
/* Hairline tick — reads like a Linear/Stripe spec row, not a marketing disc. */
.final-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 16px;
  height: 1px;
  background: var(--accent);
  opacity: 0.85;
}

.final-host {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}
.final-host-avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid var(--hairline-strong);
  background: var(--surface);
  flex-shrink: 0;
}
.final-host-text { display: flex; flex-direction: column; gap: 2px; }
.final-host-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  color: var(--text);
}
.final-host-subtitle {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-soft);
}

@media (max-width: 980px) {
  .final-left { max-width: none; }
  .final-host { margin-top: 28px; }
}

/* ============== DUAL DEMO CARD (used in Final CTA) ============== */
.demo-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  padding: 28px;
  position: relative;
}
.demo-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: stretch;
}
.demo-pane { padding: 16px 6px; }
.demo-pane-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 10px 0;
}
.demo-pane-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.015em;
  margin: 0 0 8px 0;
  color: var(--text);
}
.demo-pane-copy {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-soft);
  margin: 0 0 16px 0;
}
.phone-number {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 8px 0 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 8px 12px;
  margin-left: -12px;
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast) var(--ease-out);
}
.phone-number:hover { background: var(--surface-alt); }
.phone-number svg { color: var(--accent); }
.phone-foot {
  font-size: 12.5px;
  color: var(--text-soft);
  margin: 4px 0 0;
}
.demo-or {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 36px;
  position: relative;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 500;
}
.demo-or::before, .demo-or::after {
  content: "";
  flex: 1;
  width: 1px;
  background: var(--hairline);
}
.demo-or span { padding: 8px 0; background: var(--surface); }
.demo-form { display: flex; flex-direction: column; gap: 10px; }
.demo-form .input {
  width: 100%;
  height: 46px;
  font-family: var(--font-mono);
  font-size: 15px;
}
.input {
  height: 44px;
  padding: 0 14px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
}
.input::placeholder { color: var(--fg-3); }
.input:focus { outline: none; border-color: var(--text-soft); box-shadow: var(--shadow-focus); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform 80ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: var(--accent-foreground); }
.btn-primary:hover { background: var(--accent-deep); color: var(--accent-foreground); }
.demo-form .btn-primary {
  width: 100%;
  height: 46px;
  font-size: 14.5px;
}
.demo-form-microcopy {
  font-size: 12px;
  color: var(--text-soft);
  margin: 4px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.live-call {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--surface-alt);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  margin-top: 8px;
}
.live-dot {
  width: 10px; height: 10px;
  border-radius: 999px;
  background: var(--signal-green);
  animation: pulse 1.4s infinite var(--ease-out);
  flex-shrink: 0;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(47,125,79,0.55); }
  70%  { box-shadow: 0 0 0 12px rgba(47,125,79,0); }
  100% { box-shadow: 0 0 0 0 rgba(47,125,79,0); }
}
.live-text { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.live-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal-green);
}
.live-line { font-family: var(--font-mono); font-weight: 500; font-size: 13.5px; color: var(--text); }
.waveform { display: inline-flex; align-items: center; gap: 3px; height: 24px; }
.waveform span {
  display: inline-block;
  width: 3px;
  background: var(--signal-green);
  border-radius: 2px;
  animation: wave 0.9s infinite ease-in-out;
}
.waveform span:nth-child(1) { animation-delay: 0.0s; height: 30%; }
.waveform span:nth-child(2) { animation-delay: 0.1s; height: 65%; }
.waveform span:nth-child(3) { animation-delay: 0.2s; height: 90%; }
.waveform span:nth-child(4) { animation-delay: 0.3s; height: 55%; }
.waveform span:nth-child(5) { animation-delay: 0.4s; height: 75%; }
.waveform span:nth-child(6) { animation-delay: 0.5s; height: 40%; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.5); }
  50%      { transform: scaleY(1.2); }
}
@media (max-width: 720px) {
  .demo-split { grid-template-columns: 1fr; }
  .demo-or { width: 100%; flex-direction: row; height: 24px; }
  .demo-or::before, .demo-or::after { height: 1px; width: auto; }
}

/* ============== FOOTER ============== */
.footer {
  background: var(--surface);
  padding: 56px 0 36px;
  border-top: 1px solid var(--hairline);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-soft);
  margin: 6px 0 0 0;
}
.footer-cols { display: flex; gap: 56px; }
.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 12px 0;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 6px;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-soft);
  gap: 16px;
  flex-wrap: wrap;
}
@media (max-width: 720px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { flex-wrap: wrap; gap: 28px; }
}

/* ============== MOCK SUB-HEADER (used in all three v2 mocks) ============== */
.mock-sub {
  position: relative; z-index: 1;
  padding: 14px 22px 0;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.62);
}
.mock-sub strong { color: var(--text); font-weight: 600; }
.mock-sub .muted-mono { color: rgba(255,255,255,0.45); font-family: var(--font-mono); font-size: 12px; }
.mock-sub-second {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}

/* ============== PARTS SUPPLEMENT (mock A v3) ============== */
.parts-supplement {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}
.part-row {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.part-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.part-name {
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.part-line {
  color: rgba(255,255,255,0.45);
  font-weight: 600;
  margin-right: 8px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.part-no {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
}
.pick-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(228,100,37,0.4);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(228,100,37,0.10), rgba(228,100,37,0.02));
  align-items: center;
}
.pick-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: rgba(255,255,255,0.78);
}
.pick-thumb svg { width: 44px; height: 36px; display: block; }
.pick-thumb.photo {
  background: linear-gradient(135deg, #3a2a1c 0%, #2a2018 100%);
  border-color: rgba(126,226,165,0.35);
}
.pick-thumb .photo-tag {
  position: absolute;
  bottom: 3px; left: 3px; right: 3px;
  font-family: var(--font-body);
  font-size: 7.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  background: rgba(0,0,0,0.55);
  color: #7ee2a5;
  padding: 1px 0;
  border-radius: 3px;
}
.pick-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.pick-label {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff8c4a;
}
.pick-label .vendor {
  color: var(--text);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 700;
  margin-left: 6px;
}
.pick-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  align-items: baseline;
}
.pick-meta .price {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.pick-meta .delivery {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.88);
  font-weight: 600;
  white-space: nowrap;
}
.pick-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.01em;
}
.pick-foot > span { white-space: nowrap; }
.pick-foot .diag.ok   { color: #7ee2a5; }
.pick-foot .diag.warn { color: #ffce6e; }

.backup-card {
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background: rgba(255,255,255,0.025);
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}
.backup-label {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}
.backup-vendor { color: var(--text); font-weight: 600; }
.backup-price  { color: var(--text); font-weight: 700; }
.backup-meta   { color: rgba(255,255,255,0.55); }

.call-notes {
  font-family: var(--font-body);
  font-size: 11.5px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: flex-start;
}
.call-notes::before {
  content: "›";
  color: rgba(255,255,255,0.35);
  margin-right: 2px;
}
.call-notes:hover { color: rgba(255,255,255,0.7); }

.parts-more {
  text-align: center;
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  padding: 6px 0;
  letter-spacing: 0.01em;
}
.parts-more a {
  color: #ffa168;
  text-decoration: none;
  margin-left: 6px;
}
.parts-more a:hover { color: var(--text); }

.supplement-summary {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(228,100,37,0.32);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(228,100,37,0.10), rgba(228,100,37,0.02));
  align-items: end;
}
.supplement-summary .sum-cell { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.supplement-summary .k {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.supplement-summary .v {
  font-family: var(--font-body);
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.supplement-summary .v.accent { color: #ff8c4a; }
.supplement-summary .sub {
  font-family: var(--font-body);
  font-size: 10.5px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

.parts-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.btn-action {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 13px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.9);
  cursor: pointer;
  white-space: nowrap;
}
.btn-action.primary {
  background: #ff8c4a;
  border-color: #ff8c4a;
  color: #1A1714;
  flex: 1 1 240px;
  font-size: 14px;
}
.btn-action.primary:hover { background: #ffa168; }

/* ============== PARTS VENDOR CARDS (mock A v2) ============== */
.parts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
  padding-top: 14px;
}
.parts-card {
  position: relative;
  padding: 16px 14px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background: rgba(255,255,255,0.025);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.parts-card .vendor {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--text);
  letter-spacing: 0.01em;
}
.parts-card .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-body);
}
.parts-card .row .k {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
}
.parts-card .row .v {
  font-size: 15.5px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.parts-card .row .v.muted { color: rgba(255,255,255,0.28); font-weight: 500; }
.parts-card .diagram {
  font-family: var(--font-body);
  font-size: 10.5px;
  color: #7ee2a5;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.parts-card .pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.parts-card .pill.ok  { background: rgba(90,212,138,0.15); color: #7ee2a5; border: 1px solid rgba(90,212,138,0.28); }
.parts-card .pill.out { background: rgba(220,80,80,0.13);  color: #f08585; border: 1px solid rgba(220,80,80,0.28); }
.parts-card.is-winner {
  border-color: rgba(228,100,37,0.55);
  background: linear-gradient(180deg, rgba(228,100,37,0.10), rgba(228,100,37,0.03));
  box-shadow: 0 12px 30px -16px rgba(228,100,37,0.45);
}
.parts-card .winner-badge {
  position: absolute;
  top: -10px; left: 12px;
  padding: 3px 9px;
  background: #ff8c4a;
  color: #1A1714;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.parrots-pick {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(228,100,37,0.32);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(228,100,37,0.10), rgba(228,100,37,0.04));
  flex-wrap: wrap;
}
.parrots-pick .text {
  flex: 1 1 220px;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: rgba(255,255,255,0.92);
  line-height: 1.45;
}
.parrots-pick .text strong { color: var(--text); }
.parrots-pick .text .savings { color: #ff8c4a; font-weight: 700; }
.parrots-pick .actions { display: flex; gap: 8px; }
.parrots-pick .btn-mini {
  padding: 8px 14px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.88);
  cursor: pointer;
  white-space: nowrap;
}
.parrots-pick .btn-mini.primary {
  background: #ff8c4a;
  border-color: #ff8c4a;
  color: #1A1714;
}

/* ============== INSURANCE CLAIM CARDS (mock B v2) ============== */
.claim-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}
.claim-card {
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  background: rgba(255,255,255,0.025);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.claim-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.claim-head .who {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex: 0 0 auto;
  white-space: nowrap;
}
.claim-carrier {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--text);
  letter-spacing: 0.01em;
}
.claim-ro {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(255,255,255,0.5);
}
.claim-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex: 0 0 auto;
}
.claim-pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: currentColor;
}
.claim-pill.ok      { color: #7ee2a5; background: rgba(90,212,138,0.13);  border: 1px solid rgba(90,212,138,0.25); }
.claim-pill.waiting { color: #ffce6e; background: rgba(255,206,110,0.13); border: 1px solid rgba(255,206,110,0.25); }
.claim-pill.warn    { color: #f4a06a; background: rgba(244,160,106,0.13); border: 1px solid rgba(244,160,106,0.28); }
.claim-next {
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255,255,255,0.72);
  display: block;
}
.claim-next .arrow {
  color: #ff8c4a;
  font-weight: 700;
  margin-right: 4px;
}
.claim-next strong { color: var(--text); font-weight: 600; }

/* ============== INSURANCE SWIMLANES (mock B v3) ============== */
.claims-board {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}
.carrier-lane {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.carrier-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 2px 6px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.carrier-name {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.carrier-stats {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.stat-dot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.stat-dot::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 999px;
  background: currentColor;
  flex-shrink: 0;
}
.stat-dot.open    { color: #ff8c4a; }
.stat-dot.flight  { color: #ffce6e; }
.lane-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.lane-row.two { grid-template-columns: repeat(2, 1fr); }
.claim-tile {
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  background: rgba(255,255,255,0.025);
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.claim-tile .top-line {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 6px;
}
.claim-tile .vehicle {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0;
  min-width: 0;
  line-height: 1.25;
}
.claim-tile .ro {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
}
.claim-tile .adjuster {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.88);
  font-weight: 600;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.claim-tile .adjuster .lbl {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.claim-tile .status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  align-self: flex-start;
  line-height: 1.3;
  white-space: nowrap;
}
.claim-tile .status::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 999px;
  background: currentColor;
  flex-shrink: 0;
}
.claim-tile .status.ok   { color: #7ee2a5; background: rgba(90,212,138,0.13);  border: 1px solid rgba(90,212,138,0.22); }
.claim-tile .status.wait { color: #ffce6e; background: rgba(255,206,110,0.13); border: 1px solid rgba(255,206,110,0.22); }
.claim-tile .status.warn { color: #f4a06a; background: rgba(244,160,106,0.13); border: 1px solid rgba(244,160,106,0.28); }
.claim-tile .next {
  font-family: var(--font-body);
  font-size: 11.5px;
  line-height: 1.4;
  color: rgba(255,255,255,0.72);
}
.claim-tile .next .arrow {
  color: #ff8c4a;
  font-weight: 700;
  margin-right: 3px;
}
.claim-tile .next strong { color: var(--text); font-weight: 600; }
.lane-more {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  padding: 2px 4px;
}
.lane-more a { color: #ff8c4a; text-decoration: none; margin-left: 4px; }

.insurance-summary {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(228,100,37,0.28);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(228,100,37,0.10), rgba(228,100,37,0.02));
  align-items: end;
  margin-top: 4px;
}
.insurance-summary .sum-cell { display: flex; flex-direction: column; gap: 4px; }
.insurance-summary .k {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.insurance-summary .approvals-line {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
}
.insurance-summary .approvals-line strong { color: var(--text); font-weight: 700; }
.insurance-summary .approvals-line .accent { color: #7ee2a5; font-weight: 700; }
.insurance-summary .v.big {
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 800;
  color: #ff8c4a;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.insurance-summary .sub {
  font-family: var(--font-body);
  font-size: 10.5px;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 900px) {
  .lane-row, .lane-row.two { grid-template-columns: 1fr; }
  .insurance-summary { grid-template-columns: 1fr; }
}

/* ============== SCROLLABLE PARTS LIST (mock A v4) ============== */
.parts-scroll-area {
  max-height: 380px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 8px;
  margin-right: -4px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: rgba(228,100,37,0.5) rgba(255,255,255,0.04);
}
.parts-scroll-area::-webkit-scrollbar { width: 7px; }
.parts-scroll-area::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
}
.parts-scroll-area::-webkit-scrollbar-thumb {
  background: rgba(228,100,37,0.5);
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.2);
}
.parts-scroll-area::-webkit-scrollbar-thumb:hover { background: rgba(228,100,37,0.78); }

/* Prevent flex children of scroll areas from compressing to fit max-height */
.parts-scroll-area > *,
.carriers-scroll-area > * { flex-shrink: 0; }

/* ============== CALL NOTES PANEL ============== */
.call-notes-toggle {
  font-family: var(--font-body);
  font-size: 11.5px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: flex-start;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 2px 0;
  letter-spacing: 0.01em;
}
.call-notes-toggle::before {
  content: "›";
  color: rgba(255,255,255,0.35);
  margin-right: 2px;
  transition: transform 200ms ease;
}
.part-row.notes-open .call-notes-toggle::before { transform: rotate(90deg); }
.call-notes-toggle:hover { color: rgba(255,255,255,0.85); }
.call-notes-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 280ms ease;
  margin-top: 0;
}
.part-row.notes-open .call-notes-panel {
  max-height: 460px;
  margin-top: 8px;
}
@media (prefers-reduced-motion: reduce) {
  .call-notes-panel { transition: none; }
  .call-notes-toggle::before { transition: none; }
}
.cn-card {
  background: #0c0805;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cn-header {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff8c4a;
  padding-bottom: 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cn-line {
  display: grid;
  grid-template-columns: 58px auto 1fr;
  gap: 8px 10px;
  align-items: baseline;
  padding: 2px 0;
}
.cn-time {
  color: rgba(255,255,255,0.42);
  font-family: var(--font-mono);
  font-size: 10.5px;
}
.cn-actor {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffa168;
  white-space: nowrap;
}
.cn-actor.vendor { color: rgba(255,255,255,0.78); }
.cn-actor.sys { color: #7ee2a5; }
.cn-text {
  color: rgba(255,255,255,0.8);
  font-family: var(--font-body);
  font-size: 11.5px;
  line-height: 1.5;
}
.cn-text .ok { color: #7ee2a5; font-weight: 600; }
.cn-text .mono { font-family: var(--font-mono); font-size: 10.5px; color: rgba(255,255,255,0.65); }

/* ============== INSURANCE ACCORDION (mock B v4) ============== */
.carriers-scroll-area {
  height: 440px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 8px;
  margin-right: -4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(228,100,37,0.55) rgba(255,255,255,0.04);
}
.carriers-scroll-area::-webkit-scrollbar { width: 7px; }
.carriers-scroll-area::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
}
.carriers-scroll-area::-webkit-scrollbar-thumb {
  background: rgba(228,100,37,0.5);
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.2);
}
.carriers-scroll-area::-webkit-scrollbar-thumb:hover { background: rgba(228,100,37,0.78); }

.carriers-scroll-area .carrier-lane {
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  background: rgba(255,255,255,0.015);
  overflow: hidden;
  display: block;
  gap: 0;
  flex-shrink: 0;
}
.carriers-scroll-area .carrier-head {
  cursor: pointer;
  border: 0;
  background: transparent;
  width: 100%;
  display: grid;
  grid-template-columns: 14px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid transparent;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: background 200ms ease, border-color 200ms ease;
}
.carriers-scroll-area .carrier-head:hover { background: rgba(255,255,255,0.025); }
.carriers-scroll-area .carrier-lane.expanded .carrier-head {
  background: rgba(228,100,37,0.06);
  border-bottom-color: rgba(255,255,255,0.06);
}
.chevron {
  display: inline-flex;
  width: 14px; height: 14px;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: transform 300ms ease-out, color 200ms ease;
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 10px;
}
.carrier-lane.expanded .chevron {
  transform: rotate(90deg);
  color: #ff8c4a;
}
@media (prefers-reduced-motion: reduce) {
  .chevron { transition: none; }
}
.lane-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms ease-out;
}
.carrier-lane.expanded .lane-content {
  max-height: 800px;
}
@media (prefers-reduced-motion: reduce) {
  .lane-content { transition: none; }
}
.lane-content-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px 12px;
}

/* Full-width claim tile for accordion */
.claim-tile.full {
  padding: 13px 14px 12px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  background: rgba(255,255,255,0.025);
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.claim-tile.full .top-line {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 10px;
}
.claim-tile.full .vehicle {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}
.claim-tile.full .ro {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}
.claim-tile.full .adjuster {
  font-size: 12.5px;
  color: rgba(255,255,255,0.88);
  font-weight: 600;
}
.claim-tile.full .adjuster .lbl {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-right: 8px;
}
.claim-tile.full .adjuster .phone {
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  font-family: var(--font-mono);
  font-size: 11.5px;
  margin-left: 6px;
}
.claim-tile.full .status {
  font-size: 11.5px;
  padding: 5px 11px;
  white-space: nowrap;
}
.claim-tile.full .next {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
}
.claim-tile.full .next .arrow { color: #ff8c4a; font-weight: 700; margin-right: 4px; }
.claim-tile.full .next strong { color: var(--text); font-weight: 600; }

/* ============== CUSTOMER PIPELINE (mock C v2) ============== */
.pipeline-scroll-area {
  height: 440px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 8px;
  margin-right: -4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(126,226,165,0.55) rgba(255,255,255,0.04);
}
.pipeline-scroll-area > * { flex-shrink: 0; }
.pipeline-scroll-area::-webkit-scrollbar { width: 7px; }
.pipeline-scroll-area::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
}
.pipeline-scroll-area::-webkit-scrollbar-thumb {
  background: rgba(126,226,165,0.5);
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.2);
}
.pipeline-scroll-area::-webkit-scrollbar-thumb:hover { background: rgba(126,226,165,0.78); }

.pipeline-scroll-area .stage-lane {
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  background: rgba(255,255,255,0.015);
  overflow: hidden;
  display: block;
}
.pipeline-scroll-area .stage-head {
  cursor: pointer;
  border: 0;
  background: transparent;
  width: 100%;
  display: grid;
  grid-template-columns: 14px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid transparent;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: background 200ms ease, border-color 200ms ease;
}
.pipeline-scroll-area .stage-head:hover { background: rgba(255,255,255,0.025); }
.pipeline-scroll-area .stage-lane.expanded .stage-head {
  background: rgba(126,226,165,0.06);
  border-bottom-color: rgba(255,255,255,0.06);
}
.stage-name {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.stage-dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: currentColor;
  flex-shrink: 0;
  display: inline-block;
}
.stage-lane[data-stage="inbound"]     .stage-dot { color: #7ee2a5; }  /* green   */
.stage-lane[data-stage="follow-up"]   .stage-dot { color: #ffce6e; }  /* amber   */
.stage-lane[data-stage="active"]      .stage-dot { color: #ff8c4a; }  /* orange  */
.stage-lane[data-stage="post-repair"] .stage-dot { color: #ff8c4a; }  /* slate   */
.stage-stats {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
}
.stage-lane.expanded .chevron {
  transform: rotate(90deg);
  color: #7ee2a5;
}
.stage-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 320ms ease-out;
}
.stage-lane.expanded .stage-content {
  max-height: 900px;
}
@media (prefers-reduced-motion: reduce) {
  .stage-content { transition: none; }
}
.stage-content-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px 12px;
}
.stage-more {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
  padding: 4px 4px 2px;
  text-align: center;
}
.stage-more a { color: #7ee2a5; text-decoration: none; margin-left: 4px; }

/* Customer cards */
.customer-card {
  padding: 13px 14px 12px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  background: rgba(255,255,255,0.025);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.customer-card .name-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.customer-card .name {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0;
  line-height: 1.25;
}
.customer-card .name-line .sep { color: rgba(255,255,255,0.3); }
.customer-card .vehicle {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}
.customer-card .meta-line {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}
.customer-card .meta-line .lbl {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-right: 8px;
}
.customer-card .reason {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: rgba(255,255,255,0.82);
  line-height: 1.4;
}
.customer-card .status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  align-self: flex-start;
  white-space: nowrap;
}
.customer-card .status::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 999px;
  background: currentColor;
  flex-shrink: 0;
}
.customer-card .status.ok   { color: #7ee2a5; background: rgba(90,212,138,0.13); border: 1px solid rgba(90,212,138,0.22); }
.customer-card .status.wait { color: #ffce6e; background: rgba(255,206,110,0.13); border: 1px solid rgba(255,206,110,0.22); }
.customer-card .action {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
}
.customer-card .action .arrow { color: #7ee2a5; font-weight: 700; margin-right: 4px; }
.customer-card .action strong { color: var(--text); font-weight: 600; }
.customer-card .rental {
  font-family: var(--font-body);
  font-size: 11.5px;
  color: rgba(255,255,255,0.6);
}
.customer-card .rental .lbl {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-right: 6px;
}
.customer-card .quote {
  padding: 8px 12px;
  border-left: 2px solid rgba(126,226,165,0.45);
  background: rgba(126,226,165,0.05);
  border-radius: 0 6px 6px 0;
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
}
.customer-card .quote .quote-lbl {
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7ee2a5;
  margin-bottom: 3px;
}
.customer-card .quote em {
  font-style: italic;
  color: var(--text);
  font-weight: 500;
}

/* Customer summary band */
.customer-summary {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(126,226,165,0.28);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(126,226,165,0.10), rgba(126,226,165,0.02));
  margin-top: 4px;
  align-items: end;
}
.customer-summary .sum-cell { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.customer-summary .k {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.customer-summary .v {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.05;
}
.customer-summary .v.accent { color: #7ee2a5; }

@media (max-width: 900px) {
  .customer-summary { grid-template-columns: 1fr; }
}

/* ============== FRONT DESK SPLIT (mock C v2) ============== */
.fd-split {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
  margin-top: 6px;
}
.fd-transcript {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fd-line {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.88);
}
.fd-line .who {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 3px;
}
.fd-line.agent .who { color: #7ee2a5; }
.fd-receipt {
  padding: 16px;
  border: 1px solid rgba(90,212,138,0.25);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(90,212,138,0.06), rgba(90,212,138,0.01));
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fd-receipt .receipt-title {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7ee2a5;
  border-bottom: 1px dashed rgba(90,212,138,0.25);
  padding-bottom: 10px;
}
.fd-receipt .rrow {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fd-receipt .k {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.fd-receipt .v {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text);
  font-weight: 500;
}
.fd-receipt .v.big {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.fd-receipt .v.ok::before {
  content: "✓ ";
  color: #7ee2a5;
  font-weight: 700;
}
.today-stats {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  font-family: var(--font-body);
  flex-wrap: wrap;
}
.today-stats .label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.today-stats .stat {
  font-size: 13px;
  color: rgba(255,255,255,0.82);
  white-space: nowrap;
}
.today-stats .stat strong {
  color: var(--text);
  font-weight: 800;
  font-size: 20px;
  margin-right: 5px;
  letter-spacing: -0.01em;
}
.today-stats .sep {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.1);
}

@media (max-width: 900px) {
  .parts-grid { grid-template-columns: 1fr; }
  .fd-split { grid-template-columns: 1fr; }
}

/* ============== VOICE DEMO (hero CTA) ============== */
.voice-error {
  margin: 14px 0 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #ffb59a;
  max-width: 52ch;
}

/* Split-button pill: two flush halves with a thin divider, no outer chrome. */
.demo-bar {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  margin-top: 8px;
  max-width: 100%;
}

.demo-bar-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: rgba(20, 18, 16, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: none;
  outline: none;
  box-shadow: none;
  border-radius: 12px 0 0 12px;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.005em;
  line-height: 1.4;
  height: 56px;
  padding: 0 40px 0 18px;
  min-width: 280px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.7)' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: background-color var(--dur-fast) var(--ease-out);
}
.demo-bar-select:hover { background-color: rgba(30, 26, 22, 0.65); }
.demo-bar-select::-ms-expand { display: none; }
.demo-bar-select:focus { outline: none; }
.demo-bar-select:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.55);
  border-radius: 12px 0 0 12px;
}
.demo-bar-select option,
.demo-bar-select optgroup {
  background: var(--ink);
  color: #fff;
}

.demo-bar-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 22px;
  border-radius: 0 12px 12px 0;
  background: rgba(20, 18, 16, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  border: none;
  border-left: 1px solid rgba(255,255,255,0.10);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.demo-bar-cta:hover { background: rgba(30, 26, 22, 0.65); }
.demo-bar-cta:active { transform: scale(0.985); }
.demo-bar-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.demo-bar-cta-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
}
.demo-bar-cta-icon .cta-ic { display: none; }
.demo-bar-cta-icon .cta-ic svg, .demo-bar-cta-icon svg { fill: currentColor; }

/* Icon visibility per state */
.demo-bar-cta[data-state="idle"]       .cta-ic-play,
.demo-bar-cta[data-state="error"]      .cta-ic-play { display: block; }
.demo-bar-cta[data-state="connecting"] .cta-ic-orb,
.demo-bar-cta[data-state="listening"]  .cta-ic-orb,
.demo-bar-cta[data-state="speaking"]   .cta-ic-orb  { display: grid; }

/* Orb */
.cta-ic-orb {
  position: relative;
  width: 16px;
  height: 16px;
  place-items: center;
}
.cta-ic-orb-core {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  transform: scale(calc(1 + var(--vol, 0) * 0.9));
  transition: transform 80ms linear, background var(--dur-base) var(--ease-out);
}
.cta-ic-orb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.55);
  animation: demo-bar-pulse 2.0s ease-out infinite;
}
@keyframes demo-bar-pulse {
  0%   { transform: scale(0.55); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* In-call tints */
.demo-bar-cta[data-state="connecting"] { background: rgba(255,255,255,0.16); }
.demo-bar-cta[data-state="connecting"] .cta-ic-orb::after { animation-duration: 0.9s; }

.demo-bar-cta[data-state="listening"] { background: rgba(47,143,94,0.30); }
.demo-bar-cta[data-state="listening"] .cta-ic-orb-core { background: var(--signal-green); }
.demo-bar-cta[data-state="listening"] .cta-ic-orb::after { border-color: rgba(47,143,94,0.65); }

.demo-bar-cta[data-state="speaking"] { background: rgba(228,100,37,0.42); }
.demo-bar-cta[data-state="speaking"] .cta-ic-orb-core { background: var(--parrot-orange); }
.demo-bar-cta[data-state="speaking"] .cta-ic-orb::after {
  border-color: rgba(228,100,37,0.7);
  animation-duration: 1.3s;
}

.demo-bar-cta[data-state="error"] { background: rgba(177,61,26,0.35); }

@media (max-width: 600px) {
  .demo-bar { width: 100%; }
  .demo-bar-select { flex: 1; min-width: 0; }
  .demo-bar-cta-label { display: none; }
  .demo-bar-cta { padding: 0 14px; }
}
/* ===========================================================
   POLISH — focus rings, skip link, hover micro-states,
   mobile fixes, edge cases. Added in the polish phase.
   =========================================================== */

/* ── Skip-to-content link (visually hidden until focused). */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  background: var(--surface);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--hairline-strong);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform var(--dur-base) var(--ease-out);
}
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ── Focus rings — visible on keyboard navigation only. */
.btn-primary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.btn-light:focus-visible {
  outline: 2px solid var(--text-on-dark);
  outline-offset: 3px;
}
.brand:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}
.nav-links a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 2px;
}
.footer-col a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.pc-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.trust-logo:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ── Hover micro-state — 1px lift on the primary CTA. */
.btn-primary:hover {
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

/* ── Customer-board card title — prevent text overflow on unusually long names. */
.pc-card-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Hero responsive — fix the fixed 1200px height on small viewports. */
@media (max-width: 980px) {
  .hero-v2 {
    height: auto;
    min-height: 100svh;
    padding: calc(var(--nav-h) + 96px) 0 200px;
  }
}
@media (max-width: 720px) {
  .hero-v2 {
    min-height: 88svh;
    padding: calc(var(--nav-h) + 64px) 0 160px;
  }
  .hero-v2-title { font-size: clamp(36px, 8vw, 52px); }
  .hero-v2-sub { font-size: 17px; }
}

/* ── HIW stack on narrow viewports — single column. */
@media (max-width: 980px) {
  .hiw-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }
}

/* ============== LEGAL PAGES (terms, privacy) ============== */
.legal-page {
  padding: 88px 0 120px;
}
.legal-header {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 0 32px;
  border-bottom: 1px solid var(--hairline);
}
.legal-eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 22px 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.legal-eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent);
}
.legal-h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.030em;
  color: var(--text);
  margin: 0 0 24px;
  text-wrap: balance;
}
.legal-lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-soft);
  margin: 0 0 32px;
  max-width: 62ch;
  text-wrap: pretty;
}
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0;
}
.legal-meta span strong {
  color: var(--text);
  font-weight: 500;
  margin-left: 8px;
}
.legal-body {
  max-width: 860px;
  margin: 0 auto;
  padding-top: 32px;
}
.legal-body p,
.legal-body li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  max-width: 74ch;
}
.legal-body p { margin: 0 0 18px; }
.legal-body ul,
.legal-body ol {
  margin: 0 0 22px;
  padding-left: 22px;
}
.legal-body li { margin: 0 0 8px; }
.legal-body strong { font-weight: 600; color: var(--text); }
.legal-body a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--hairline-strong);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.legal-body a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}
.legal-section {
  margin: 0;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.legal-section:last-child { margin-bottom: 0; }
.legal-h2 {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  color: var(--text);
  margin: 0 0 18px;
}
.legal-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-soft);
  margin-right: 10px;
}
.legal-h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0;
  color: var(--text);
  margin: 0 0 18px;
}
@media (max-width: 640px) {
  .legal-page { padding: 56px 0 88px; }
  .legal-header { padding-bottom: 24px; }
  .legal-body { padding-top: 24px; }
  .legal-meta { gap: 16px 28px; }
}

/* ── Print: hide the hero video, overlay, and nav for clean printed copy. */
@media print {
  .nav, .hero-video, .hero-overlay, .body::before { display: none !important; }
  .hero-v2 { background: white; color: black; min-height: auto; padding: 32px 0; }
  .hero-v2-title, .hero-v2-sub { color: black; }
  section { padding: 16px 0 !important; }
}

/* ============== CAPABILITIES — tabbed showcase (Every.io pattern) ==============
   Left: a vertical list of clickable capabilities. The active item runs a
   left-to-right "loading" fill; when it completes the panel auto-advances to
   the next. Right: a media stage where each panel crossfades; the description
   overlays the image in a frosted caption bar. Auto-advance pauses on hover,
   when offscreen, when the tab is hidden, and under reduced-motion. */
.capabilities {
  padding: 112px 0;
  background: var(--surface);
}
.cap-heading { max-width: 16ch; }
.cap-heading-muted { color: var(--text-muted); }

.cap-layout {
  --cap-dwell: 6s;          /* time each capability stays active before advancing */
  display: grid;
  grid-template-columns: minmax(220px, 290px) 1fr;
  gap: 28px;
  margin-top: 56px;
  align-items: start;
}

/* ── LEFT rail ───────────────────────────────────────────── */
.cap-list-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 18px 16px;
}
.cap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cap-item {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  color: var(--text-soft);
  -webkit-tap-highlight-color: transparent;
  transition: background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.cap-item:hover { color: var(--text); background: var(--surface-alt); }
.cap-item:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cap-item.is-active {
  color: var(--text);
  background: var(--surface);
  border-color: var(--hairline);
  box-shadow: var(--shadow-1);
}

/* the sweeping progress "fill" — sits behind the label.
   Animated with transform: scaleX (GPU-composited) so it stays smooth. */
.cap-item-fill {
  position: absolute;
  inset: 0;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
  background: var(--accent-soft);
  opacity: 0;
  pointer-events: none;
}
.cap-item.is-active .cap-item-fill { opacity: 1; }

.cap-item-inner {
  position: relative;     /* above the fill */
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
}
.cap-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--surface-alt);
  color: var(--text-soft);
  transition: background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out);
}
.cap-item-icon svg { width: 18px; height: 18px; }
.cap-item.is-active .cap-item-icon {
  background: var(--accent);
  color: var(--accent-foreground);
}
.cap-item-label {
  flex: 1 1 auto;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.cap-item-chevron {
  display: inline-flex;
  flex: none;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}
.cap-item.is-active .cap-item-chevron { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .cap-item.is-active .cap-item-fill {
    /* ease-in-out: starts slow, speeds up through the middle, eases out at the end */
    animation: capFill var(--cap-dwell) cubic-bezier(0.65, 0, 0.35, 1) forwards;
  }
  /* pause the fill (and therefore auto-advance) in these states */
  .cap-layout.is-paused   .cap-item.is-active .cap-item-fill,
  .cap-layout.is-offscreen .cap-item.is-active .cap-item-fill,
  .cap-layout.is-hidden   .cap-item.is-active .cap-item-fill {
    animation-play-state: paused;
  }
}
@keyframes capFill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ── RIGHT stage ─────────────────────────────────────────── */
.cap-stage { position: relative; }
.cap-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.992);
  pointer-events: none;
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out),
              visibility 0s linear var(--dur-slow);
}
.cap-panel.is-active {
  position: relative;     /* in flow → gives the stage its height */
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
}

.cap-media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-xl);
  overflow: hidden;
  isolation: isolate;
  background-color: var(--surface-overlay);
  background-image:
    radial-gradient(130% 90% at 50% -10%, rgba(255, 255, 255, 0.07), transparent 55%),
    radial-gradient(90% 70% at 85% 110%, rgba(255, 88, 0, 0.12), transparent 70%);
  box-shadow: var(--shadow-2);
}
/* When a real image is dropped in (<img> inside .cap-media) it fills the frame */
.cap-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cap-media-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.30);
}
.cap-media-placeholder span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* description overlaid on the image */
/* single combined block: description on the left, stats on the right */
.cap-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  background: rgba(18, 17, 16, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  backdrop-filter: blur(14px) saturate(1.25);
}
.cap-caption-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
/* the two stats live on the right, inside the same block */
.cap-stats {
  flex: none;
  display: flex;
  gap: 28px;
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.cap-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cap-stat + .cap-stat {
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}
.cap-stat-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: nowrap;
}
.cap-stat-label {
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.78);
  max-width: 20ch;
}
.cap-caption-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(19px, 1.9vw, 24px);
  letter-spacing: -0.02em;
  color: #fff;
}
.cap-caption-desc {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  max-width: 60ch;
  text-wrap: pretty;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .cap-layout { grid-template-columns: 1fr; gap: 24px; }
  .cap-media { aspect-ratio: 4 / 3; }
}
@media (max-width: 760px) {
  /* stack description over stats so they don't get cramped */
  .cap-caption { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cap-stats { border-left: none; padding-left: 0; }
}
@media (max-width: 560px) {
  .capabilities { padding: 72px 0; }
  .cap-caption { left: 10px; right: 10px; bottom: 10px; padding: 14px 16px; gap: 12px; }
  .cap-caption-desc { font-size: 14px; }
  .cap-stats { gap: 18px; }
  .cap-stat + .cap-stat { padding-left: 18px; }
  .cap-stat-num { font-size: 20px; }
  .cap-stat-label { font-size: 11.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .cap-panel, .cap-item, .cap-item-icon, .cap-item-chevron { transition: none; }
}
