/* =========================================================================
   TurnipCare — site stylesheet
   Editorial-institutional register, Abridge-inspired.
   Pure black + crimson on white. Inter throughout.
   Hairline rules + signature ↘ arrow carry brand.
   All brand tokens live in :root.
   ========================================================================= */

:root {
  /* ---- Brand ---- */
  --brand-primary:   #0A0A0A;   /* near-black; ink, nav, dark sections */
  --brand-primary-h: #000000;   /* pure black hover */
  --brand-accent:    #C8302E;   /* crimson — arrows, eyebrows, accent marks */
  --brand-accent-h:  #A82624;

  /* ---- Surfaces (Pivotal-style sectional color blocks across white / cream / slate / clay) ---- */
  --surface:       #FFFFFF;     /* page background — pure white */
  --surface-band:  #F4EFE2;     /* warm cream — lighter than card cream (#F2EBE0) so cream cards stay visible against it */
  --surface-deep:  #EDE5D2;     /* deeper warm cream — for emphasis sections */
  --surface-slate: #D5DCE3;     /* dusty slate blue — cool institutional, for technical sections */
  --surface-clay:  #E2CDBA;     /* warm terracotta — distinct from cream, for outcome/payoff sections */

  /* ---- Text ---- */
  --text-primary:   #0A0A0A;
  --text-secondary: #3F3F3F;
  --text-muted:     #737373;

  /* ---- Rules ---- */
  --rule:      #E5E5E5;
  --rule-soft: #EFEFEF;

  /* ---- Accent surfaces / status (redesign hybrid) ---- */
  --accent-live:  #1F8A5B;   /* green — live / online status dots */
  --accent-coral: #E06B62;   /* lighter crimson — accents on dark bands */
  --surface-ink:  #161519;   /* soft charcoal — new dark contrast bands */
  --rule-ink:     #34333A;   /* hairline on ink surfaces */
  --ink-text:     #B6B5BB;   /* body text on ink */
  --ink-heading:  #F4F3F0;   /* headings on ink */

  /* ---- Type ---- */
  --font-sans:  "Neue Montreal", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", Georgia, serif;  /* editorial italic accent (about/contact + shared brand mark) */
  --font-accent: "Newsreader", Georgia, "Times New Roman", serif;        /* home editorial italic accent (redesign) */
  --font-mono:  "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --fs-display: clamp(2.25rem, 4vw + 0.5rem, 3.75rem);
  --fs-h2:      clamp(1.625rem, 1.8vw + 0.8rem, 2.5rem);
  --fs-h3:      1.1875rem;
  --fs-metric:  clamp(3rem, 6vw + 0.5rem, 5rem);
  --fs-body:    1.0625rem;        /* 17px */
  --fs-lede:    1.1875rem;        /* 19px */
  --fs-small:   0.9375rem;        /* 15px */
  --fs-eyebrow: 0.75rem;          /* 12px */

  --lh-tight: 1.1;
  --lh-snug:  1.35;
  --lh-body:  1.6;

  /* ---- Layout ---- */
  --container-max:    1180px;
  --container-narrow: 820px;
  --gutter:    clamp(1.25rem, 3vw, 2.25rem);
  --section-y: clamp(4.5rem, 7vw, 7rem);

  /* ---- Radii (kept small — editorial, not pill-y) ---- */
  --r-sm: 4px;
  --r-md: 8px;

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-primary);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; display: block; }
a { color: var(--brand-primary); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--brand-primary);
  line-height: var(--lh-tight);
  letter-spacing: -0.018em;
  margin: 0 0 1rem;
  text-wrap: balance;
}
h1 {
  font-size: var(--fs-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  max-width: 20ch;
  line-height: 1.02;
}
/* Hero H1 — one declarative line at editorial scale, italic-serif accent on the verb */
.hero__h1 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(3rem, 6.5vw + 1rem, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.034em;
  color: var(--brand-primary);
  max-width: 18ch;
  margin: 0;
}
.hero__accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  color: var(--brand-accent);
  letter-spacing: -0.02em;
  /* Slightly larger optical size to balance the serif against the bold sans */
  font-size: 1.04em;
  vertical-align: -0.015em;
  /* Smooth crossfade as JS rotator swaps the text */
  transition: opacity 0.38s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero__accent.is-fading {
  opacity: 0;
  transform: translateY(0.25em);
}
@media (prefers-reduced-motion: reduce) {
  .hero__accent { transition: none; }
  .hero__accent.is-fading { opacity: 1; transform: none; }
}

/* ---- Scroll progress indicator — thin crimson line at top of viewport ---- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--brand-accent);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: 0 50%;
  z-index: 200;
  pointer-events: none;
  will-change: transform;
}

/* ---- Live pulse indicator (e.g. before operator label) ---- */
.pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-accent);
  margin-right: 0.625em;
  transform: translateY(-1px);
  position: relative;
}
.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--brand-accent);
  animation: pulse-ring 2.2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  opacity: 0.6;
}
@keyframes pulse-ring {
  0%   { transform: scale(1);   opacity: 0.55; }
  70%  { transform: scale(2.4); opacity: 0;    }
  100% { transform: scale(2.4); opacity: 0;    }
}
@media (prefers-reduced-motion: reduce) {
  .pulse::after { animation: none; opacity: 0; }
}

/* ---- Cream-card hover system (applies to all three variants) ---- */
.vertical-card,
.outcome-card {
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.vertical-card:not(.vertical-card--active):hover,
.outcome-card:hover {
  background: #EBE3D5;             /* one notch deeper cream on hover */
  transform: translateY(-2px);
}
.vertical-card__corner,
.outcome-card__corner {
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}
.vertical-card:hover .vertical-card__corner {
  transform: translate(2px, 2px);
  color: var(--brand-accent);
}
.outcome-card:hover .outcome-card__corner {
  transform: translate(2px, -2px);
  opacity: 1;
}
h2 {
  font-size: var(--fs-h2);
  font-weight: 600;
  letter-spacing: -0.018em;
  max-width: 26ch;
}
h3 {
  font-size: var(--fs-h3);
  letter-spacing: -0.008em;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}
p { margin: 0 0 1rem; }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand-primary); color: var(--surface);
  padding: 0.5rem 0.875rem; border-radius: var(--r-sm);
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section--muted { background: var(--surface-band); }
.section--band  { background: var(--surface-deep); }
.section--slate { background: var(--surface-slate); }
.section--clay  { background: var(--surface-clay); }
.section--dark  {
  background: var(--brand-primary);
  color: #DDD9CC;
}
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--surface); }
.section--dark p  { color: rgba(255, 255, 255, 0.78); }
.section--dark .eyebrow { color: #D6B26E; }   /* lighter ochre on dark */

.section-head { margin-bottom: 3rem; max-width: 60ch; }

/* ---------- Eyebrow + lede ---------- */
.eyebrow {
  display: inline-block;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin: 0 0 1rem;
}
.lede,
.section__lede {
  font-size: var(--fs-lede);
  color: var(--text-secondary);
  max-width: 62ch;
  line-height: 1.45;
  margin: 0;
}

/* Ornament removed — the "tc." monogram pill was getting bisected at every
   section boundary where the adjacent backgrounds differ (slate→clay,
   clay→cream, etc.). The section-background changes carry the rhythm now;
   no hairline divider needed between them. */

/* ---------- "In practice" three-styles section ---------- */
.practice-list {
  list-style: none;
  margin: 0;
  padding: 2.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  border-top: 1px solid var(--rule);
}
.practice-item { padding-right: 1rem; }
.practice-item__n {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--brand-accent);
  margin-bottom: 1rem;
}
.practice-item__h {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--brand-primary);
  margin: 0 0 0.75rem;
  line-height: 1.25;
  max-width: 22ch;
}
.practice-item__p {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
  max-width: 38ch;
}
@media (max-width: 880px) {
  .practice-list { grid-template-columns: 1fr; gap: 2rem; }
  .practice-item { padding-right: 0; }
}

/* ---------- Implementation timeline ---------- */
.timeline {
  list-style: none;
  margin: 0;
  padding: 2.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  border-top: 1px solid var(--rule);
  position: relative;
}
/* Subtle horizontal connector line through the dot row */
.timeline::after {
  content: "";
  position: absolute;
  top: 3.5rem;
  left: 0; right: 0;
  height: 1px;
  background: var(--rule);
  z-index: 0;
}
.timeline-step {
  padding-right: 1rem;
  position: relative;
  z-index: 1;
}
.timeline-step::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--brand-accent);
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
}
.timeline-step__n {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 0.75rem;
}
.timeline-step__h {
  font-family: var(--font-sans);
  font-size: 1.625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--brand-primary);
  margin: 0 0 0.625rem;
  line-height: 1.05;
}
.timeline-step__p {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
  max-width: 38ch;
}
@media (max-width: 880px) {
  .timeline { grid-template-columns: 1fr; gap: 2rem; }
  .timeline::after { display: none; }
  .timeline-step { padding-right: 0; }
}

/* ---------- Engagement funnel (inline below the four metric rows) ---------- */
.funnel {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--rule);
}
.funnel__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin-bottom: 1.5rem;
}
.funnel__intro,
.funnel__legend {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
}
.funnel__legend {
  font-weight: 500;
  letter-spacing: 0.08em;
}

/* Bar chart — proportional horizontal bars, widths from --pct CSS var */
.funnel__chart {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
/* Stacked layout: bar (full-width track w/ proportional fill) on row 1,
   label + pct on row 2. Keeps every bar's share legible at any width. */
.funnel__bar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  row-gap: 0.5rem;
  padding: 0.5rem 0;
}
/* Bar fill: row 1 / col 1, width = share of the row */
.funnel__bar-fill {
  grid-column: 1;
  grid-row: 1;
  width: calc(var(--pct) * 1%);
  height: 3.75rem;
  background:
    linear-gradient(90deg,
      var(--brand-primary) 0%,
      var(--brand-primary) calc(100% - 2rem),
      var(--brand-primary-h) 100%);
  border-radius: 4px;
  z-index: 0;
}
/* Number overlays the fill, also row 1 / col 1 */
.funnel__bar-num {
  grid-column: 1;
  grid-row: 1;
  width: calc(var(--pct) * 1%);
  height: 3.75rem;
  display: flex;
  align-items: center;
  padding-left: 1.25rem;
  z-index: 1;
  pointer-events: none;
}
.funnel__bar-num em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.25rem, 2vw + 1.25rem, 3.25rem);
  letter-spacing: -0.04em;
  color: #FFFFFF;
  line-height: 1;
}
/* Label: row 2 / col 1, left-aligned */
.funnel__bar-label {
  grid-column: 1;
  grid-row: 2;
  justify-self: start;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: -0.005em;
  line-height: 1.35;
}
/* Pct: row 2 / col 2, right-aligned in its own column so it never collides */
.funnel__bar-pct {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  align-self: baseline;
  font-family: var(--font-sans);
  font-feature-settings: "tnum" 1;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-accent);
  white-space: nowrap;
}

@media (max-width: 720px) {
  .funnel__bar-num em { font-size: 2rem; }
  .funnel__bar-fill,
  .funnel__bar-num { height: 3rem; }
}

/* ---------- Why now — temporal framing statement ---------- */
.why-now {
  padding: clamp(4rem, 7vw, 7rem) 0;
  /* background inherits from section modifier (e.g. .section--muted) */
}
.why-now__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin: 0 0 1.5rem;
}
.why-now__statement {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(1.25rem, 1.9vw + 0.55rem, 2.25rem);
  line-height: 1.3;
  letter-spacing: -0.018em;
  color: var(--brand-primary);
  margin: 0;
  max-width: 32ch;
  text-wrap: balance;
}
.why-now__statement em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.06em;
  letter-spacing: -0.04em;
  color: var(--brand-accent);
  vertical-align: -0.015em;
  white-space: nowrap;
}

/* ---------- Specialty roadmap (Abridge-inspired card grid) ---------- */
.verticals .section-head { margin-bottom: 3rem; }
.verticals h2 { line-height: 1.0; }

.vertical-cards {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1rem;
}
.vertical-card {
  position: relative;
  background: #F2EBE0;             /* warm cream — single warm tone against pure white */
  padding: 1.75rem 1.75rem 5rem;
  min-height: 22rem;
  display: flex;
  flex-direction: column;
  transition: background 0.2s var(--ease);
}
.vertical-card--active {
  background: var(--surface);
  border: 1px solid var(--rule);
}
.vertical-card__name {
  font-family: var(--font-sans);
  font-size: clamp(1.625rem, 1.4vw + 0.95rem, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--brand-primary);
  margin: 0;
  line-height: 1.05;
}
.vertical-card__detail {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.vertical-card__tag {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin: 0;
}
.vertical-card__body {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}
.vertical-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-accent);
  text-decoration: none;
}
.vertical-card__corner {
  position: absolute;
  bottom: 1.5rem;
  left: 1.75rem;
  font-size: 1.75rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.2);
}
.vertical-card--active .vertical-card__corner { display: none; }

@media (max-width: 1024px) {
  .vertical-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .vertical-cards { grid-template-columns: 1fr; }
  .vertical-card { min-height: 14rem; padding-bottom: 4rem; }
}

.verticals__footnote {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-style: italic;
  color: var(--text-muted);
  max-width: 64ch;
  line-height: 1.55;
}

/* ---------- Outcomes (three-pillar value props) ---------- */
.outcomes .section-head { margin-bottom: 4rem; }

/* Outcomes — cream-card variant: huge italic-serif numerals as centerpiece, all cards equal weight */
.outcome-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.outcome-card {
  position: relative;
  background: #F2EBE0;
  padding: 1.75rem 1.75rem 4.5rem;
  display: flex;
  flex-direction: column;
  min-height: 22rem;
}
.outcome-card__tag {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin: 0 0 1rem;
}
.outcome-card__num {
  line-height: 0.85;
  margin: 0 0 1.5rem;
}
.outcome-card__num em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(5rem, 8vw + 1rem, 8.5rem);
  letter-spacing: -0.045em;
  color: var(--brand-primary);
}
.outcome-card__h {
  font-family: var(--font-sans);
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--brand-primary);
  margin: 0 0 0.75rem;
  line-height: 1.2;
  max-width: 18ch;
}
.outcome-card__p {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  max-width: 38ch;
}
.outcome-card__corner {
  position: absolute;
  bottom: 1.5rem;
  right: 1.75rem;          /* TOP-RIGHT variant from the bottom-left used elsewhere */
  font-size: 1.5rem;
  color: var(--brand-accent);
  opacity: 0.65;
}
.outcomes__footnote {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--text-muted);
  max-width: 64ch;
  line-height: 1.5;
}
@media (max-width: 880px) {
  .outcome-cards { grid-template-columns: 1fr; }
  .outcome-card { min-height: 16rem; padding-bottom: 3.5rem; }
}

/* ---------- Market-scale stats band ---------- */
.market {
  padding: clamp(5rem, 9vw, 9rem) 0;
  /* background inherits from section modifier (e.g. .section--muted) */
}
/* Single editorial statement — sans body type at display scale, italic-serif crimson numerals woven inline */
.market__statement {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(1.75rem, 3.2vw + 0.6rem, 3.75rem);
  line-height: 1.15;
  letter-spacing: -0.024em;
  color: var(--brand-primary);
  margin: 0;
  max-width: 24ch;
  text-wrap: balance;
}
.market__statement em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.18em;
  letter-spacing: -0.045em;
  color: var(--brand-accent);
  vertical-align: -0.025em;
  white-space: nowrap;
}

/* ---------- Product UI mockup (replaces video placeholder in demo section) ---------- */
.mockup {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(15, 31, 61, 0.04),
    0 24px 60px -28px rgba(15, 31, 61, 0.18);
  margin-top: 2.5rem;
}
.mockup__chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--rule-soft);
  background: var(--surface-band);
}
.mockup__dot {
  width: 10px; height: 10px; border-radius: 50%;
  display: inline-block;
  flex: none;
}
.mockup__dot--r { background: #E07B7B; }
.mockup__dot--y { background: #E0C66B; }
.mockup__dot--g { background: #6BA88E; }
.mockup__title {
  margin-left: 0.75rem;
  font-family: var(--font-sans);
  font-feature-settings: "tnum" 1;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.mockup__body {
  padding: clamp(1.75rem, 2vw + 1rem, 2.5rem) clamp(1.75rem, 2vw + 1rem, 2.5rem) clamp(2rem, 3vw + 1rem, 2.75rem);
}
.mockup__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding-bottom: 1.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule);
}
.mockup__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.375rem;
}
.mockup__h {
  font-family: var(--font-sans);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--brand-primary);
  margin: 0;
  line-height: 1.2;
}
.mockup__meta {
  display: flex;
  gap: 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--text-secondary);
}
.mockup__meta span em {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--brand-primary);
  margin-right: 0.25rem;
  letter-spacing: -0.02em;
  vertical-align: -0.05em;
}

.mockup__queue {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mockup__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 2rem;
  align-items: flex-start;
  padding: 1.25rem 1rem;
  margin: 0 -1rem;
  border-bottom: 1px solid var(--rule-soft);
  border-radius: 4px;
  transition: background 0.18s var(--ease), padding-left 0.18s var(--ease);
  position: relative;
}
.mockup__row::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--brand-accent);
  opacity: 0;
  transition: opacity 0.18s var(--ease);
}
.mockup__row:hover {
  background: var(--surface-band);
  padding-left: 1.25rem;
}
.mockup__row:hover::before { opacity: 1; }
.mockup__row:hover .mockup__action { color: var(--brand-accent-h); }
.mockup__row:last-child { border-bottom: 0; }
.mockup__row-main { min-width: 0; }
.mockup__row-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  white-space: nowrap;
}

.mockup__pill {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}
.mockup__pill--insurance {
  background: rgba(10, 10, 10, 0.06);
  color: #0A0A0A;
}
.mockup__pill--provider {
  background: rgba(89, 105, 153, 0.12);
  color: #4A5685;
}
.mockup__pill--clinical {
  background: rgba(224, 123, 123, 0.14);
  color: #B14848;
}
.mockup__name {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin: 0 0 0.25rem;
  letter-spacing: -0.005em;
}
.mockup__name span {
  font-weight: 400;
  color: var(--text-secondary);
}
.mockup__detail {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
  max-width: 58ch;
}
.mockup__time {
  font-family: var(--font-sans);
  font-feature-settings: "tnum" 1;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.mockup__action {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-accent);
  letter-spacing: -0.005em;
}

@media (max-width: 640px) {
  .mockup__head { flex-direction: column; align-items: flex-start; }
  .mockup__row { grid-template-columns: 1fr; }
  .mockup__row-meta { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.005em;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease), transform 0.12s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
a.btn, a.btn:visited { text-decoration: none; }
a.btn:hover { text-decoration: none; }

.btn--primary,
a.btn--primary,
a.btn--primary:visited,
a.btn--primary:link {
  background-color: var(--brand-primary) !important;
  color: #FFFFFF !important;
  border-color: var(--brand-primary) !important;
}
.btn--primary:hover,
a.btn--primary:hover {
  background-color: var(--brand-primary-h) !important;
  color: #FFFFFF !important;
  border-color: var(--brand-primary-h) !important;
}
.btn--primary > *,
a.btn--primary > * { color: #FFFFFF !important; }

.btn--ghost,
a.btn--ghost,
a.btn--ghost:visited {
  background: transparent;
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}
.btn--ghost:hover,
a.btn--ghost:hover {
  background: var(--brand-primary);
  color: #FFFFFF;
  border-color: var(--brand-primary);
}

.btn--on-dark,
a.btn--on-dark,
a.btn--on-dark:visited {
  background: var(--surface);
  color: var(--brand-primary);
  border-color: var(--surface);
}
.btn--on-dark:hover,
a.btn--on-dark:hover {
  background: #FFFFFF;
  color: var(--brand-primary);
  border-color: #FFFFFF;
}

.btn--large { padding: 1rem 1.75rem; font-size: 0.9875rem; }

.btn-row {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin-top: 2.25rem;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--rule-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.9rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--brand-primary);
  text-decoration: none;
}
.nav__brand:hover { text-decoration: none; opacity: 0.75; }
.nav__mark {
  width: 33px;
  height: 33px;
  display: block;
  flex: none;
}
.nav__links {
  display: flex; align-items: center; gap: 0.25rem;
  list-style: none; margin: 0; padding: 0;
}
.nav__links a {
  display: inline-block;
  padding: 0.5rem 0.875rem;
  color: var(--text-primary);
  font-weight: 500;
  font-size: var(--fs-small);
  border-radius: var(--r-sm);
}
.nav__links a:hover { background: var(--surface-band); text-decoration: none; }
.nav__links a.is-current { color: var(--brand-accent); }
.nav__cta { margin-left: 0.5rem; padding: 0.625rem 1.125rem; }

.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  padding: 0.5rem;
  cursor: pointer;
}
.nav__toggle svg { width: 22px; height: 22px; stroke: var(--brand-primary); }

@media (max-width: 760px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--rule);
    padding: 0.5rem var(--gutter) 1rem;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
  }
  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__links a,
  .nav__cta {
    width: 100%;
    text-align: left;
    padding: 0.75rem 0.5rem;
    border-radius: var(--r-sm);
  }
  .nav__cta { margin: 0.5rem 0 0; justify-content: center; text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(3.5rem, 6vw, 6rem) 0 clamp(3rem, 5vw, 4.5rem);
}
.hero h1 {
  margin-top: 0.25rem;
  line-height: 1.04;
}
.hero__lede,
.hero__sub {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-lede);
  color: var(--text-secondary);
  max-width: 56ch;
  margin: 1.5rem 0 0;
  line-height: 1.5;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}
/* ---------- Closing CTA role chips (Sully-style demo gating) ---------- */
.cta-band__chips {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 280px;
}
.cta-band__chip {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.cta-band__chip:hover {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: #FFFFFF;
  text-decoration: none;
}
.cta-band__chip .arrow {
  color: var(--brand-accent);
  transition: color 0.18s ease;
}
.cta-band__chip:hover .arrow {
  color: #FFFFFF;
}
@media (max-width: 760px) {
  .cta-band__chips { min-width: 0; width: 100%; }
}

/* ---------- About-page hero photo (atmospheric, full-bleed) ---------- */
.story-hero {
  margin: 0;
  width: 100%;
  height: clamp(38vh, 52vh, 62vh);
  position: relative;
  overflow: hidden;
  background: #1A1A1A;
}
.story-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.2) contrast(1.04) brightness(0.95);
}
.story-hero__wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.hero--story { padding-top: clamp(4rem, 6vw, 6rem); }

/* ---------- Scroll-triggered reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Signature arrow glyph (Abridge-inspired) ---------- */
.arrow {
  display: inline-block;
  margin-left: 0.4em;
  font-style: normal;
  font-weight: 500;
  transform: translateY(0.05em);
  transition: transform 0.18s var(--ease);
}
a:hover .arrow,
.btn:hover .arrow { transform: translate(0.15em, -0.05em); }

@media (max-width: 880px) {
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card + .problem-card { border-left: none; padding-left: 0; border-top: 0; }
  .problem-card { padding-right: 0; }
}

/* ---------- Capabilities — vertical hairline list (5 features) ---------- */
.cap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.cap-row {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 2rem;
  align-items: baseline;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--rule);
}
.cap-row__n {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.5rem, 2.5vw + 1rem, 4rem);
  letter-spacing: -0.04em;
  color: var(--brand-accent);
  line-height: 0.92;
  text-align: left;
}
.cap-row__body { max-width: 58ch; }
.cap-row__body h3 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--brand-primary);
  margin: 0 0 0.5rem;
  line-height: 1.25;
}
.cap-row__body p {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}
.cap-row__body p em {
  font-style: italic;
  color: var(--brand-primary);
  font-weight: 500;
}
.cap-footnote {
  margin-top: 2.5rem;
  font-family: var(--font-sans);
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 62ch;
  line-height: 1.55;
}
@media (max-width: 640px) {
  .cap-row { grid-template-columns: 1fr; gap: 0.625rem; padding: 1.5rem 0; }
  .cap-row__n { font-size: 1.625rem; }
}

/* ---------- Demo teaser ---------- */
.demo {
  margin: 1rem 0 0;
  padding: 0;
}
.demo__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, #0A0A0A 0%, #1F1F1F 100%);
  overflow: hidden;
  border: 1px solid var(--rule);
}
.demo__tag {
  position: absolute;
  top: 1.25rem; left: 1.25rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}
.demo__tag-dot {
  width: 6px; height: 6px;
  background: var(--brand-accent);
  border-radius: 50%;
}
.demo__runtime {
  position: absolute;
  bottom: 1.25rem; right: 1.25rem;
  font-family: var(--font-sans);
  font-feature-settings: "tnum" 1;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}
.demo__playwrap {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.demo__play {
  width: 72px; height: 72px;
  background: var(--surface);
  color: var(--brand-primary);
  border: 0;
  border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer;
  transition: transform 0.2s var(--ease);
}
.demo__play:hover { transform: scale(1.05); }
.demo__play svg { width: 26px; height: 26px; display: block; margin-left: 4px; }
.demo__cap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: baseline;
  margin: 1.25rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}
.demo__cap-note {
  font-style: italic;
  color: var(--text-muted);
  display: inline-block;
  margin-left: 0.25em;
}
.demo__cap > span {
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 52ch;
}
.demo__cta {
  color: var(--brand-primary);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-small);
  border-bottom: 1px solid var(--brand-primary);
  padding-bottom: 2px;
  white-space: nowrap;
}
.demo__cta:hover { text-decoration: none; color: var(--brand-accent); border-color: var(--brand-accent); }
@media (max-width: 720px) {
  .demo__cap { grid-template-columns: 1fr; gap: 1rem; }
}

/* ---------- Metrics — hairline rows ---------- */
.metric-rows {
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--rule);
}
.metric-rows li {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: baseline;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--rule);
}
.metric-rows__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(4.5rem, 11vw, 9.5rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--brand-primary);
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.metric-rows__num em {
  font-style: normal;
  font-size: 0.55em;
  color: var(--text-muted);
  margin-left: 0.04em;
  font-weight: 400;
}
.metric-rows__label {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
  max-width: 36ch;
}
.metrics__footnote {
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: var(--fs-small);
}
@media (max-width: 720px) {
  .metric-rows li { grid-template-columns: 1fr; gap: 0.5rem; }
}

/* ---------- Founder pull quote ---------- */
.pull {
  padding: clamp(5rem, 9vw, 8rem) 0;
  text-align: center;
  background: var(--surface);
  position: relative;
}
.pull__eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin: 0 0 2.5rem;
}
.pull__quote {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 4vw + 0.5rem, 4.25rem);
  line-height: 1.1;
  color: var(--brand-primary);
  margin: 0 auto;
  max-width: 24ch;
  letter-spacing: -0.03em;
  text-wrap: balance;
  position: relative;
}
.pull__mark {
  font-family: var(--font-sans);
  color: var(--brand-accent);
  font-weight: 500;
  font-size: 1em;
  margin-right: 0.05em;
  vertical-align: -0.02em;
}
.pull__mark--end { margin-left: 0.05em; margin-right: 0; }
.pull__attr {
  margin: 2.25rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.pull__attr em {
  font-style: normal;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---------- Founders ---------- */
/* Founders — cream-card variant: 1 active (Somani) + 1 compact (Shivan) */
.founder-cards {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
.founder-card {
  position: relative;
  background: #F2EBE0;
  padding: 1.75rem 1.75rem 5rem;
  min-height: 24rem;
  display: flex;
  flex-direction: column;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.founder-card--active {
  background: var(--surface);
  border: 1px solid var(--rule);
}
.founder-card:not(.founder-card--active):hover {
  background: #EBE3D5;
  transform: translateY(-2px);
}
.founder-card__tag {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin: 0 0 1rem;
}
.founder-card__name {
  font-family: var(--font-sans);
  font-size: clamp(1.625rem, 1.4vw + 0.95rem, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--brand-primary);
  margin: 0;
  line-height: 1.05;
}
.founder-card__detail {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.founder-card__bio {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0 0 1.5rem;
}
.founder-card__creds {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule-soft);
}
.founder-card__creds span {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}
.founder-card__creds span + span::before {
  content: "·";
  margin: 0 0.625rem;
  color: var(--rule);
}
.founder-card__brief {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.founder-card__corner {
  position: absolute;
  bottom: 1.5rem;
  left: 1.75rem;
  font-size: 1.75rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.2);
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}
.founder-card:hover .founder-card__corner {
  transform: translate(2px, 2px);
  color: var(--brand-accent);
}
.founder-card--active .founder-card__corner { display: none; }
@media (max-width: 880px) {
  .founder-cards { grid-template-columns: 1fr; }
  .founder-card { min-height: 18rem; padding-bottom: 4rem; }
}

/* ---------- Mission (About) ---------- */
.mission {
  font-family: var(--font-sans);
  font-size: clamp(1.375rem, 1.5vw + 0.9rem, 1.75rem);
  line-height: 1.4;
  color: var(--brand-primary);
  letter-spacing: -0.015em;
  max-width: 60ch;
  font-weight: 500;
}

/* ---------- Story (About) ---------- */
.story p {
  font-size: var(--fs-lede);
  color: var(--text-primary);
  max-width: 64ch;
  line-height: 1.5;
}
.story p + p { margin-top: 1rem; }

/* ---------- Closing CTA band — editorial scale w/ italic-serif accent ---------- */
.cta-band { text-align: left; }
.cta-band__row {
  display: grid;
  grid-template-columns: 1.4fr auto;
  align-items: end;
  gap: 3rem 5rem;
}
.cta-band__h {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(2.75rem, 5.5vw + 1rem, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.034em;
  color: var(--surface);
  margin: 1rem 0 1.25rem;
  max-width: 16ch;
}
.cta-band__accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  color: var(--brand-accent);
  letter-spacing: -0.02em;
  font-size: 1.06em;
  vertical-align: -0.015em;
}
.cta-band__p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  max-width: 44ch;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.5;
}
@media (max-width: 760px) {
  .cta-band__row { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 2rem; } }

.form { display: grid; gap: 1.125rem; }
.form__row { display: grid; gap: 0.375rem; }
.form__row label {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--brand-primary);
  letter-spacing: -0.005em;
}
.form input,
.form select,
.form textarea {
  font: inherit;
  width: 100%;
  padding: 0.75rem 0.875rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  color: var(--text-primary);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(181, 133, 61, 0.22);
  outline: none;
}
.form input[aria-invalid="true"],
.form select[aria-invalid="true"],
.form textarea[aria-invalid="true"] {
  border-color: #C13634;
  box-shadow: 0 0 0 3px rgba(193, 54, 52, 0.15);
}
.form__hint {
  font-size: var(--fs-small);
  color: var(--text-muted);
}
.form__error {
  color: #B12B29;
  font-size: var(--fs-small);
  margin-top: 0.25rem;
  display: none;
}
.form__error.is-visible { display: block; }
.form__submit { justify-self: start; margin-top: 0.25rem; }
.form__status {
  margin-top: 0.5rem;
  min-height: 1.25rem;
  font-size: var(--fs-small);
}
.form__status.is-success { color: #15745A; }
.form__status.is-error   { color: #B12B29; }

.contact-aside h3 {
  font-size: 1rem;
  letter-spacing: -0.005em;
  margin-bottom: 0.25rem;
}
.contact-aside > div + div { margin-top: 1.5rem; }
.contact-aside p { color: var(--text-secondary); margin: 0; }
.contact-aside a { color: var(--brand-primary); font-weight: 500; border-bottom: 1px solid var(--brand-primary); padding-bottom: 1px; }
.contact-aside a:hover { color: var(--brand-accent); border-color: var(--brand-accent); text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 2rem 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  background: var(--surface);
  margin-top: 4rem;
}
.footer-row {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
}
.footer-row--trust {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule-soft);
}
.footer__trust {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
  letter-spacing: 0.005em;
}
.footer__brand {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--brand-primary);
  font-size: 1.4rem;
  letter-spacing: -0.015em;
}
.footer__links {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 1.5rem; flex-wrap: wrap;
}
.footer__links a {
  color: var(--text-secondary);
  font-weight: 500;
}
.footer__links a:hover { color: var(--brand-primary); }

/* =========================================================================
   REDESIGN PORT — components from the Claude Design home rebuild,
   recolored to the warm hybrid palette + green live accent + ink dark bands.
   (See plan: my-choice-1-port-scalable-glade.md)
   ========================================================================= */

/* ---- Ink (soft-charcoal) dark band ---- */
.section--ink {
  background: var(--surface-ink);
  color: var(--ink-text);
}
.section--ink h1,
.section--ink h2,
.section--ink h3 { color: var(--ink-heading); }
.section--ink p  { color: var(--ink-text); }
.section--ink .label { color: var(--accent-coral); }

/* ---- Mono label / eyebrow utility (IBM Plex Mono) ---- */
.label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin: 0 0 1rem;
}
.label--coral { color: var(--accent-coral); }
.label--live  { color: var(--accent-live); }

/* ---- Live status dot (green) ---- */
.dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-live);
  flex: none;
}

/* ---- Command card (terminal-style) ---- */
.cmd-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 0.875rem 1rem;
  box-shadow: 0 1px 2px rgba(20, 18, 24, 0.03);
}
.cmd-card--block { padding: 1.25rem 1.375rem; border-radius: 12px; }
.cmd-card__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.625rem;
}
.cmd-card__line {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-primary);
}
.cmd-cursor {
  display: inline-block;
  width: 8px; height: 16px;
  background: var(--brand-accent);
  margin-left: 3px;
  vertical-align: -3px;
  animation: cmd-blink 1.1s steps(1) infinite;
}
@keyframes cmd-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .cmd-cursor { animation: none; opacity: 1; }
}

/* ---- Hero two-column ---- */
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  margin-top: clamp(2rem, 4vw, 3rem);
  align-items: end;
}
.hero__backed {
  margin: 1.75rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-style: italic;
  color: var(--text-muted);
  max-width: 46ch;
  line-height: 1.5;
}
@media (max-width: 820px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.25rem; align-items: start; }
}

/* ---- Market two-stat (on ink) ---- */
.market2__statement {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.8vw + 0.6rem, 2.75rem);
  line-height: 1.22;
  letter-spacing: -0.022em;
  margin: 0;
  max-width: 30ch;
  text-wrap: balance;
}
.market2__statement em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-coral);
  letter-spacing: -0.01em;
}
.stat2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  border-top: 1px solid var(--rule-ink);
}
.stat2__cell { padding: 2.5rem 3rem 0 0; }
.stat2__cell + .stat2__cell {
  padding-left: 3rem;
  padding-right: 0;
  border-left: 1px solid var(--rule-ink);
}
.stat2__num {
  font-family: var(--font-sans);
  font-size: clamp(3rem, 5.4vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink-heading);
}
.stat2__mark { color: var(--accent-coral); }
.stat2__mark--sep { margin: 0 0.1em; }
.stat2__desc {
  margin: 0.875rem 0 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-text);
  max-width: 34ch;
}
@media (max-width: 620px) {
  .stat2 { grid-template-columns: 1fr; }
  .stat2__cell { padding: 1.875rem 0 0; }
  .stat2__cell + .stat2__cell { padding-left: 0; border-left: none; border-top: 1px solid var(--rule-ink); }
}

/* ---- Orchestrator "adapts" two-column ---- */
.adapts__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.adapts__lead h2 {
  font-size: var(--fs-h2);
  letter-spacing: -0.022em;
  line-height: 1.08;
  max-width: 18ch;
}
.adapts__lead h2 em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  color: var(--brand-accent);
}
.adapts__demo { display: flex; flex-direction: column; gap: 0.875rem; }
.adapts__arrow { text-align: center; color: var(--brand-accent); font-size: 1.125rem; line-height: 1; }
.adapts__note { margin: 0.375rem 0 0; font-size: 0.8125rem; color: var(--text-muted); text-align: center; }
@media (max-width: 820px) {
  .adapts__grid { grid-template-columns: 1fr; gap: 2.25rem; }
}

/* ---- Agents: orchestrator card + connector + grid ---- */
.agents__h { font-size: clamp(1.75rem, 3vw + 0.5rem, 2.75rem); max-width: 22ch; margin-bottom: 2.25rem; }
.orch-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  background: var(--surface-ink);
  border: 1px solid var(--rule-ink);
  border-radius: 16px;
  padding: 1.25rem 1.625rem;
  color: var(--ink-heading);
}
.orch-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: #1F1E23;
  border: 1px solid var(--rule-ink);
  display: grid; place-items: center;
  flex: none;
}
.orch-card__body { flex: 1; min-width: 240px; }
.orch-card__body .label { margin-bottom: 0.3rem; }
.orch-card__body p { margin: 0; font-size: 1rem; line-height: 1.45; color: var(--ink-heading); }
.orch-card__status {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: #9A9AA0; flex: none;
}
.agents__connector {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  padding: 0.875rem 0 0.25rem;
}
.agents__connector-line { width: 1px; height: 20px; background: var(--rule); }
.agents__connector .label { margin: 0; color: var(--text-muted); }

.agent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.875rem;
  margin-top: 0.875rem;
}
.agent-card {
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 1.25rem;
  background: var(--surface);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.agent-card:hover { border-color: #C9C9C9; transform: translateY(-2px); }
.agent-card__top { display: flex; align-items: center; justify-content: space-between; }
.agent-card__avatar {
  position: relative;
  width: 50px; height: 50px;
  border-radius: 13px;
  background: var(--surface-band);
  border: 1px solid var(--rule);
  display: grid; place-items: center;
  color: var(--brand-primary);
}
.agent-card__avatar svg { width: 42px; height: 42px; }
.agent-card__online {
  position: absolute; top: -3px; right: -3px;
  width: 11px; height: 11px;
  border: 2px solid var(--surface);
}
.agent-card__n {
  font-family: var(--font-mono);
  font-size: 0.6875rem; letter-spacing: 0.08em;
  color: var(--text-muted);
}
.agent-card h3 { margin: 0.875rem 0 0.5rem; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.012em; }
.agent-card p { margin: 0; font-size: 0.875rem; line-height: 1.5; color: var(--text-secondary); }
@media (max-width: 900px) { .agent-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .agent-grid { grid-template-columns: 1fr; } }

/* ---- Case study cards ---- */
.casestudy__h { font-size: clamp(1.75rem, 3vw + 0.5rem, 2.75rem); max-width: 24ch; }
.casestudy__h em { font-family: var(--font-accent); font-style: italic; font-weight: 400; color: var(--brand-accent); }
.casestudy__sub { margin-top: 1.25rem; }
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.25rem);
}
.case-card { border-left: 2px solid var(--brand-accent); padding: 0.375rem 0 0.375rem 1.5rem; }
.case-card .label { margin-bottom: 0.875rem; color: var(--text-muted); }
.case-card h3 { font-size: 1.3125rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; margin: 0 0 0.875rem; }
.case-card p { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--text-secondary); }
@media (max-width: 820px) { .case-grid { grid-template-columns: 1fr; gap: 1.75rem; } }

/* ---- Exception queue (dark product panel) ---- */
.exq__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
.exq__lead { position: sticky; top: 100px; }
.exq__lead h2 { font-size: clamp(1.75rem, 3vw + 0.5rem, 2.75rem); max-width: 16ch; }
.exq__lead p { max-width: 40ch; }
.exq__cta {
  display: inline-block; margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-heading);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
}
.exq__cta:hover { text-decoration: none; color: #fff; border-color: var(--accent-coral); }

.exq__panel {
  background: #1F1E23;
  border: 1px solid var(--rule-ink);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.exq__chrome {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.375rem;
  border-bottom: 1px solid var(--rule-ink);
}
.exq__chrome-left {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono); font-size: 0.75rem; color: #9A9AA0;
}
.exq__chrome-right { font-family: var(--font-mono); font-size: 0.75rem; color: #9A9AA0; }
.pulse--crimson { background: var(--brand-accent); }
.pulse--crimson::after { background: var(--brand-accent); }

.exq__summary {
  display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap;
  padding: 1.5rem 1.375rem;
  border-bottom: 1px solid var(--rule-ink);
}
.exq__summary-h { font-size: 1.375rem; font-weight: 600; color: #fff; }
.exq__summary-stats { display: flex; gap: 1.375rem; margin-left: auto; }
.exq__summary-stats div { text-align: right; }
.exq__summary-stats strong { display: block; font-size: 1.125rem; font-weight: 600; color: #fff; }
.exq__summary-stats strong.is-exception { color: var(--accent-coral); }
.exq__summary-stats span {
  font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: #7C7B83;
}
.exq__list { list-style: none; margin: 0; padding: 0; }
.exq__row {
  display: flex; gap: 1.125rem; align-items: flex-start;
  padding: 1.375rem;
  border-bottom: 1px solid #2A292F;
  transition: background 0.2s var(--ease);
}
.exq__row:last-child { border-bottom: none; }
.exq__row:hover { background: #26252B; }
.exq__dot { flex: none; margin-top: 5px; width: 7px; height: 7px; border-radius: 50%; }
.exq__row-main { flex: 1; min-width: 0; }
.exq__row-head { display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; }
.exq__tag {
  font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent-coral);
}
.exq__patient { font-size: 0.9375rem; font-weight: 600; color: #fff; }
.exq__context { font-size: 0.8125rem; color: #7C7B83; }
.exq__detail { margin: 0.5rem 0 0; font-size: 0.84rem; line-height: 1.5; color: var(--ink-text); max-width: 60ch; }
.exq__row-meta { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 0.625rem; }
.exq__age { font-family: var(--font-mono); font-size: 0.6875rem; color: #7C7B83; }
.exq__review {
  font-size: 0.8125rem; font-weight: 500; color: #fff;
  border: 1px solid #44434B; padding: 0.375rem 0.875rem; border-radius: 6px;
  white-space: nowrap; transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.exq__row:hover .exq__review { border-color: var(--brand-accent); background: var(--brand-accent); }
.exq__disclaimer { padding: 1rem 1.375rem; font-family: var(--font-mono); font-size: 0.6875rem; color: #7C7B83; }
.exq__foot { margin-top: 1.875rem; font-size: 0.8125rem; color: #7C7B83; max-width: 80ch; }
@media (max-width: 820px) {
  .exq__grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .exq__lead { position: static; }
}
@media (max-width: 620px) {
  .exq__summary-stats { margin-left: 0; }
  .exq__row { flex-wrap: wrap; }
  .exq__row-meta { flex-direction: row; width: 100%; justify-content: space-between; align-items: center; }
}

/* ---- Results stat grid ---- */
.results__h { font-size: clamp(1.75rem, 3vw + 0.5rem, 2.75rem); max-width: 22ch; }
.results-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--rule);
}
.results-cell { padding: 2.25rem 1.5rem 2.25rem 0; border-right: 1px solid var(--rule); }
.results-cell:not(:first-child) { padding-left: 1.5rem; }
.results-cell:last-child { border-right: none; padding-right: 0; }
.results-num {
  font-family: var(--font-sans);
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1;
  color: var(--brand-primary);
  font-feature-settings: "tnum" 1;
}
.results-num em { font-style: normal; color: var(--brand-accent); }
.results-cell p { margin: 1rem 0 0; font-size: 0.9375rem; line-height: 1.5; color: var(--text-secondary); }
.results__foot { margin-top: 1.875rem; font-size: 0.8125rem; color: var(--text-muted); }
@media (max-width: 820px) {
  .results-grid { grid-template-columns: 1fr 1fr; }
  .results-cell { padding: 1.75rem 1.25rem; border-bottom: 1px solid var(--rule); }
  .results-cell:nth-child(2n) { border-right: none; padding-right: 0; }
  .results-cell:nth-child(2n+1) { padding-left: 0; }
}
@media (max-width: 480px) {
  .results-grid { grid-template-columns: 1fr; }
  .results-cell { border-right: none; padding: 1.5rem 0; }
}

/* =========================================================================
   ITERATION 2 — Somani feedback: hero rework, self-learning statement,
   case-study carousel. (See plan: my-choice-1-port-scalable-glade.md)
   ========================================================================= */

/* ---- Hero (single-column: buyer tagline + self-learning lede) ----
   Note: no width cap on .hero__inner — the container stays full-width and
   left-aligned (matching the nav); the H1/lede/tagline self-limit via their
   own max-widths. Capping the container here centers + indents the hero. */
.hero__tagline {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: -0.005em;
  margin: 0 0 1.25rem;
  max-width: 54ch;
}

/* ---- Orchestrator self-learning statement (replaces the demo cards) ---- */
.adapts__learn { display: flex; align-items: center; }
.adapts__learn-statement {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(1.375rem, 1.6vw + 0.8rem, 1.875rem);
  line-height: 1.3;
  letter-spacing: -0.018em;
  color: var(--brand-primary);
  margin: 0;
  max-width: 24ch;
}
.adapts__learn-statement em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  color: var(--brand-accent);
}

/* ---- Case studies carousel ---- */
.cases__head { margin-bottom: clamp(2rem, 4vw, 2.75rem); max-width: 60ch; }
.cases__h { font-size: clamp(1.75rem, 3vw + 0.5rem, 2.75rem); max-width: 20ch; }

.carousel__stage { position: relative; }
.carousel__slide[hidden] { display: none; }

.case-study__head { margin-bottom: 2rem; max-width: 62ch; }
.case-study__status { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.case-study__status .label { margin: 0; }
.case-study__name {
  font-size: clamp(1.5rem, 2.4vw + 0.5rem, 2.25rem);
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.1;
  margin: 0 0 0.75rem;
}
.case-study__sub { font-size: 1.0625rem; line-height: 1.5; color: var(--text-secondary); margin: 0; max-width: 60ch; }
.case-study__results { margin-top: clamp(2rem, 4vw, 2.75rem); }

.carousel__controls {
  display: flex; align-items: center; justify-content: center; gap: 1.25rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}
.carousel__btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--rule); background: var(--surface);
  color: var(--brand-primary); font-size: 1.125rem; line-height: 1;
  cursor: pointer; display: grid; place-items: center;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.carousel__btn:hover { border-color: var(--brand-primary); }
.carousel__dots { display: flex; gap: 0.5rem; }
.carousel__dot {
  width: 9px; height: 9px; border-radius: 50%; padding: 0;
  border: 1px solid var(--text-muted); background: transparent;
  cursor: pointer;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.carousel__dot[aria-current="true"] { background: var(--brand-accent); border-color: var(--brand-accent); transform: scale(1.2); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
/* deploy trigger 1782342853 */

/* ---- Legal one-pagers (/terms, /privacy-policy) ---- */
.legal h1 { margin-bottom: 2rem; }
.legal p a { text-decoration: underline; text-underline-offset: 3px; }
