/* ============================================================
   TyHealth — Marketing Site Stylesheet
   White + blue · warm clinical
============================================================ */

:root {
  --blue-900: #0a1f5c;
  --blue-800: #122d7a;
  --blue-700: #1a3fa3;
  --blue-600: #2454c7;
  --blue-500: #3a6bdb;
  --blue-400: #6c8ce5;
  --blue-300: #93b1ee;
  --blue-200: #c5d4f5;
  --blue-100: #e6edfb;
  --blue-50:  #f4f7fd;

  --ink:      #0a1f5c;
  --ink-2:    #2c3e6f;
  --ink-3:    #5a6a90;
  --ink-4:    #8a98b8;

  --paper:    #ffffff;
  --paper-2:  #fafbfe;
  --line:     #d8e0f2;
  --line-2:   #ecf0fa;

  --green:    #1f9d6b;
  --warm:     #f7f5ef;     /* warm off-white background accent */
  --warm-2:   #fbf8f1;

  --radius:   16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --container: 1240px;

  --shadow-sm: 0 4px 12px -4px rgba(10, 31, 92, 0.08);
  --shadow:    0 16px 40px -16px rgba(10, 31, 92, 0.18);
  --shadow-lg: 0 32px 80px -32px rgba(10, 31, 92, 0.28);

  --t-fast: 160ms ease;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ===================== LAYOUT ===================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.section {
  padding: 96px 0;
}
.section.tight { padding: 64px 0; }
.section.warm { background: var(--warm); }
.section.softblue { background: var(--blue-50); }

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue-600);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.h-display {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--blue-900);
  margin: 16px 0 0;
  text-wrap: balance;
}
.h-display em { font-style: normal; color: var(--blue-600); }

.h-section {
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--blue-900);
  margin: 14px 0 0;
  text-wrap: balance;
}
.h-section em { font-style: normal; color: var(--blue-600); }

.lede {
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 20px 0 0;
  max-width: 640px;
}
.section-intro {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-intro .lede { margin-left: auto; margin-right: auto; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn.primary {
  background: var(--blue-700);
  color: white;
  box-shadow: 0 6px 16px -8px rgba(26, 63, 163, 0.5);
}
.btn.primary:hover { background: var(--blue-800); transform: translateY(-1px); }
.btn.ghost {
  background: transparent;
  color: var(--blue-800);
  border: 1.5px solid var(--line);
}
.btn.ghost:hover { border-color: var(--blue-300); background: var(--blue-50); }
.btn.lg { padding: 14px 24px; font-size: 16px; }

/* ===================== NAV ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}
.brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--blue-700);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue-900);
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color var(--t-fast);
}
.nav-links a:hover { color: var(--blue-700); }
.nav-links a.active { color: var(--blue-800); font-weight: 600; }
.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}
.nav-cta .btn { padding: 9px 16px; font-size: 14px; }

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

/* ===================== HERO ===================== */
.hero {
  position: relative;
  padding: 88px 0 64px;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, var(--blue-50) 0%, transparent 60%),
    var(--paper);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
}
.hero-copy { max-width: 580px; }
.hero h1 { margin-top: 16px; }
.hero .lede { margin-top: 24px; font-size: 22px; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hero-meta .item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-meta .num {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue-700);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-meta .lbl {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

.hero-visual {
  position: relative;
  height: 560px;
  display: grid;
  place-items: center;
}

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { height: 480px; }
  .hero-actions { justify-content: center; }
}

/* ===================== LOGO BAR ===================== */
.logo-bar {
  padding: 48px 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  background: var(--paper-2);
}
.logo-bar-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.logo-bar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.logo-item {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-3);
  opacity: 0.75;
  transition: opacity var(--t-fast);
  white-space: nowrap;
}
.logo-item:hover { opacity: 1; color: var(--blue-700); }
.logo-item .dot { color: var(--blue-300); }

/* ===================== FEATURE SPOTLIGHTS ===================== */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.spotlight + .spotlight { margin-top: 120px; }
.spotlight.flip { direction: rtl; }
.spotlight.flip > * { direction: ltr; }

.spotlight-copy { max-width: 540px; }
.spotlight-copy .h-section { margin-top: 14px; }
.spotlight-copy .lede { margin-top: 20px; }
.spotlight-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.spotlight-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-2);
}
.spotlight-list li strong { color: var(--blue-900); font-weight: 700; }
.spotlight-list .check {
  width: 24px; height: 24px;
  border-radius: 7px;
  background: var(--blue-100);
  color: var(--blue-700);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.spotlight-list .check svg { width: 14px; height: 14px; stroke-width: 3; }
.spotlight-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue-700);
  transition: gap var(--t-fast);
}
.spotlight-cta:hover { gap: 10px; color: var(--blue-800); }

@media (max-width: 1000px) {
  .spotlight, .spotlight.flip { grid-template-columns: 1fr; gap: 48px; direction: ltr; }
}

/* ===================== MEDIA SLOT (video / gif) ===================== */
.media-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--blue-50);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}
.media-slot.tall { aspect-ratio: 3 / 4; }
.media-slot.wide { aspect-ratio: 16 / 9; }
.media-slot video,
.media-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--blue-700);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.media-placeholder .play-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: white;
  border: 1.5px solid var(--blue-200);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}
.media-placeholder .play-circle svg { width: 24px; height: 24px; fill: var(--blue-700); }
.media-placeholder .filename {
  background: white;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--blue-100);
  color: var(--blue-700);
}
.media-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(10, 31, 92, 0.92);
  backdrop-filter: blur(10px);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.media-caption .dur {
  font-family: 'JetBrains Mono', monospace;
  color: var(--blue-200);
}

/* Poster thumbnail that opens the video lightbox */
.video-trigger {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: block;
}
.video-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-trigger .play-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid var(--blue-200);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  transition: transform var(--t-fast), background var(--t-fast);
}
.video-trigger:hover .play-circle {
  transform: translate(-50%, -50%) scale(1.07);
  background: #fff;
}
.video-trigger .play-circle svg {
  width: 26px;
  height: 26px;
  fill: var(--blue-700);
  margin-left: 3px;
}

/* Fullscreen-ish video lightbox */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 31, 92, 0.78);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  padding: 4vh 4vw;
}
.video-lightbox[hidden] {
  display: none;
}
.video-lightbox-inner {
  width: min(1280px, 92vw);
  aspect-ratio: 16 / 9;
  max-height: 92vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
}
.video-lightbox-inner video {
  width: 100%;
  height: 100%;
  display: block;
}
.video-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
}
.video-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.26);
}

/* ===================== CARE PROTOCOL ENGINE ===================== */
.engine {
  background: white;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px;
  transition: box-shadow var(--t-fast);
}
.engine:hover { box-shadow: var(--shadow-lg); }

/* title row */
.engine-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.engine-brand { display: flex; align-items: center; gap: 14px; }
.engine-name {
  font-size: 19px; font-weight: 800;
  color: var(--blue-900); letter-spacing: -0.02em;
}
.engine-sub { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.engine-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-700);
  background: var(--blue-50);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
}
.engine-status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue-600); flex: none;
}

/* accent bar */
.engine-bar {
  display: flex; align-items: center; gap: 12px;
  margin: 22px 0;
  background: var(--blue-100);
  color: var(--blue-700);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px; font-weight: 600; letter-spacing: -0.005em;
}
.engine-bar-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--blue-600); flex: none;
  box-shadow: 0 0 0 4px rgba(36, 84, 199, 0.16);
}

/* layout: inputs | center card | outputs, with an SVG connector overlay */
.engine-layout {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.7fr 0.95fr;
  gap: 76px;
  align-items: center;
  margin-top: 56px;
}
.engine-layout > .engine,
.engine-layout > .engine-io { position: relative; z-index: 1; }
.engine-links {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}
.engine-links path { fill: none; }
.engine-links .cx-wires path { stroke: var(--blue-200); stroke-width: 1.5; }
/* glowing dots that GSAP MotionPath drives along the wires (shared by both sections) */
.cx-dot { fill: #3a6bdb; filter: drop-shadow(0 0 6px rgba(58, 107, 219, 0.7)); }
.engine-io { display: flex; flex-direction: column; gap: 14px; }
.engine-io-label,
.engine-core-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--blue-600);
  margin-bottom: 2px;
}
.engine-chip {
  position: relative;
  display: flex; align-items: flex-start; gap: 12px;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.engine-chip:hover {
  border-color: var(--blue-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.engine-chip-icon {
  width: 34px; height: 34px; flex: none;
  border-radius: 9px;
  background: var(--blue-100); color: var(--blue-700);
  display: grid; place-items: center;
}
.engine-chip-icon svg { width: 18px; height: 18px; }
.engine-chip-t { font-size: 14px; font-weight: 700; color: var(--blue-900); letter-spacing: -0.01em; }
.engine-chip-d { font-size: 12px; color: var(--ink-3); margin-top: 3px; line-height: 1.4; }

/* engine I/O connectors are drawn as converging/diverging SVG paths in
   .engine-links (built from element positions by the script in index.html) */

/* CORE: edge case library */
.engine-core {
  background: var(--blue-50);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.engine-core-label { margin-bottom: 14px; }
.engine-lib {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.engine-tile {
  display: flex; flex-direction: column; gap: 8px;
  background: white;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  font-size: 12px; font-weight: 600; color: var(--blue-900);
  letter-spacing: -0.005em;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.engine-tile:hover { border-color: var(--blue-300); transform: translateY(-1px); }
.engine-tile-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--blue-100); color: var(--blue-700);
  display: grid; place-items: center;
}
.engine-tile-icon svg { width: 16px; height: 16px; }

@media (max-width: 1000px) {
  .engine { padding: 24px; }
  .engine-layout { grid-template-columns: 1fr; gap: 40px; }  /* vertical flow spine */
  .engine-lib { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 580px) {
  .engine { padding: 18px; }
  .engine-lib { grid-template-columns: repeat(2, 1fr); }
}

/* ===================== CARE JOURNEY (sticky-left capability grid) ===================== */
.journey {
  display: grid;
  grid-template-columns: minmax(340px, 1fr) 1.5fr;
  gap: 72px;
  align-items: start;
}
/* LEFT — sticky title + CTA. top offset = 72px nav + ~32px breathing room */
.journey-aside {
  position: sticky;
  top: 104px;
  align-self: start;
}
.journey-aside-inner { max-width: 420px; }
.journey-aside .h-section { margin-top: 14px; }
.journey-aside .lede { margin-top: 20px; max-width: 420px; }
.journey-aside .spotlight-cta { margin-top: 28px; }
.journey-aside .spotlight-cta svg { width: 16px; height: 16px; }

/* RIGHT — 2-col masonry of capability cards (each card hugs its own content) */
.journey-list {
  list-style: none;
  margin: 0;
  padding: 0;
  column-count: 2;
  column-gap: 14px;
}
.journey-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  break-inside: avoid;
  margin-bottom: 14px;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.journey-item:hover {
  border-color: var(--blue-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.journey-ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--blue-100);
  color: var(--blue-700);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  align-self: start;
  transition: background var(--t-fast), color var(--t-fast);
}
.journey-ico svg { width: 20px; height: 20px; }
.journey-item:hover .journey-ico {
  background: var(--blue-700);
  color: #fff;
}
.journey-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.journey-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-900);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.journey-desc {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-3);
}
.journey-sub {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-700);
  letter-spacing: -0.005em;
  line-height: 1.7;
}
.journey-sub li::before {
  content: "·";
  color: var(--blue-300);
  font-weight: 700;
  margin-right: 9px;
}

@media (max-width: 1000px) {
  .journey { grid-template-columns: 1fr; gap: 40px; }
  .journey-aside { position: static; top: auto; }
  .journey-aside-inner,
  .journey-aside .lede { max-width: 640px; }
}
@media (max-width: 580px) {
  .journey-list { column-count: 1; }
}

/* ===================== BROADER SURFACE GRID ===================== */
.surface-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.surface-card {
  background: white;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 238px;
  transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.surface-card:hover {
  border-color: var(--blue-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.surface-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.surface-card h3 {
  font-size: 18px;
  line-height: 1.25;
  color: var(--blue-900);
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.surface-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-3);
  margin: 0;
}
@media (max-width: 1100px) { .surface-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px)  { .surface-grid { grid-template-columns: 1fr; } }

/* ===================== INTEGRATIONS ===================== */
.integration-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.integration {
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all var(--t-fast);
}
.integration:hover { border-color: var(--blue-300); }
.integration-logo {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--blue-50);
  display: grid;
  place-items: center;
  color: var(--blue-700);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.integration-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-900);
}
.integration-cat {
  font-size: 11px;
  color: var(--ink-4);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (max-width: 1000px) { .integration-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 580px)  { .integration-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===================== INTEGRATIONS CONSTELLATION ===================== */
.constellation { display: block; margin-top: 48px; }

/* desktop: wrapper is transparent so tiles position absolutely via .pos-*; phones: grid */
.constellation-tiles { display: contents; }
/* mobile-only connector layer (hub → tiles) */
.constellation-mlinks {
  display: none;
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; overflow: visible;
}
.constellation-mlinks .cx-wires path { stroke: var(--blue-200); stroke-width: 1.5; fill: none; }

.constellation-stage {
  position: relative;
  width: 600px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

/* static decorative connector lines, behind tiles + hub */
.constellation-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
/* faint static wires (also the GSAP motion paths) */
.constellation-svg .cx-wires path { stroke: var(--blue-200); stroke-width: 1.5; fill: none; }

/* central hub — echoes .brand-mark (blue-700 rounded square) at a larger scale */
.constellation-hub {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 96px; height: 96px;
  border-radius: var(--radius-lg);
  background: var(--blue-700);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow), 0 0 0 10px rgba(36, 84, 199, 0.06);
  z-index: 2;
}
.constellation-hub-label { font-weight: 800; font-size: 32px; letter-spacing: -0.03em; }

/* orbiting tiles ride above the connector lines; solid bg hides the lines beneath */
.constellation-stage .integration {
  position: absolute;
  width: 150px;
  z-index: 1;
  background: #fff;
}
/* keep the site's quiet integration-tile convention: border-color only on hover */
.constellation-stage .integration:hover { border-color: var(--blue-300); }

/* ring placement — tile centers map to the SVG line endpoints (600x600 viewBox) */
.constellation-stage .pos-1 { top: 13%; left: 50%; transform: translate(-50%, -50%); }
.constellation-stage .pos-2 { top: 25%; left: 82%; transform: translate(-50%, -50%); }
.constellation-stage .pos-3 { top: 50%; left: 87%; transform: translate(-50%, -50%); }
.constellation-stage .pos-4 { top: 75%; left: 82%; transform: translate(-50%, -50%); }
.constellation-stage .pos-5 { top: 87%; left: 50%; transform: translate(-50%, -50%); }
.constellation-stage .pos-6 { top: 75%; left: 18%; transform: translate(-50%, -50%); }
.constellation-stage .pos-7 { top: 50%; left: 13%; transform: translate(-50%, -50%); }
.constellation-stage .pos-8 { top: 25%; left: 18%; transform: translate(-50%, -50%); }

/* phones: orbit → hub-on-top named grid with a flowing connector spine (names stay readable) */
@media (max-width: 600px) {
  .constellation-stage {
    width: 100%;
    max-width: 460px;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
  }
  .constellation-svg { display: none; }       /* hide the orbit spokes */
  .constellation-mlinks { display: block; }    /* show the mobile hub→tile connectors */
  .constellation-hub {
    position: relative; inset: auto; z-index: 1; transform: none;
    width: 64px; height: 64px; border-radius: 16px;
  }
  .constellation-hub-label { font-size: 22px; }
  .constellation-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 26px;
    row-gap: 12px;
    width: 100%;
  }
  .constellation-stage .integration {
    position: relative; inset: auto; z-index: 1; transform: none; width: auto;
  }
  .constellation-stage .integration:hover { transform: none; }
}

/* ===================== HOW IT WORKS ===================== */
.flow {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.flow-step {
  background: white;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px 24px;
  position: relative;
}
.flow-step .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-400);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.flow-step h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--blue-900);
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.flow-step p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-3);
  margin: 0;
}
.flow-step .arrow {
  position: absolute;
  top: 50%;
  right: -16px;
  width: 32px;
  height: 32px;
  background: var(--blue-50);
  border: 1.5px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue-600);
  transform: translateY(-50%);
  z-index: 2;
}
.flow-step:last-child .arrow { display: none; }
.flow-step .arrow svg { width: 14px; height: 14px; stroke-width: 2.5; }
@media (max-width: 1000px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .flow-step:nth-child(2) .arrow { display: none; }
}
@media (max-width: 580px) {
  .flow { grid-template-columns: 1fr; }
  .flow-step .arrow { display: none; }
}

/* ===================== VERTICALS ===================== */
.verticals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 48px;
}
.vertical {
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  transition: all var(--t-fast);
}
.vertical:hover { border-color: var(--blue-300); background: var(--blue-50); }
.vertical-icon {
  width: 36px; height: 36px;
  margin: 0 auto 10px;
  color: var(--blue-700);
  display: grid;
  place-items: center;
}
.vertical-icon svg { width: 24px; height: 24px; }
.vertical-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-900);
  letter-spacing: -0.005em;
}
@media (max-width: 760px) { .verticals-grid { grid-template-columns: repeat(2, 1fr); } }

/* ===================== SECURITY ===================== */
.security {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.security-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
}
.badge-card {
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.badge-card .b-ico {
  width: 40px; height: 40px;
  background: var(--blue-100);
  color: var(--blue-700);
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.badge-card .b-ico svg { width: 20px; height: 20px; }
.badge-card .b-text { display: flex; flex-direction: column; gap: 2px; }
.badge-card .b-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-900);
  letter-spacing: -0.005em;
}
.badge-card .b-meta {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 500;
}
@media (max-width: 1000px) { .security { grid-template-columns: 1fr; gap: 48px; } }

/* ===================== FAQ ===================== */
.faq {
  max-width: 820px;
  margin: 56px auto 0;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--blue-900);
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  width: 12px; height: 12px;
  border-right: 2px solid var(--blue-600);
  border-bottom: 2px solid var(--blue-600);
  transform: rotate(45deg);
  transition: transform var(--t-fast);
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 22px;
  max-width: 700px;
}

/* ===================== CTA ===================== */
.big-cta {
  background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-700) 100%);
  border-radius: var(--radius-lg);
  padding: 72px 64px;
  color: white;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.big-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 100% 0%, rgba(147,177,238,0.18), transparent 50%);
  pointer-events: none;
}
.big-cta h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  color: white;
}
.big-cta p {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
  margin: 18px 0 0;
}
.big-cta .actions {
  display: flex;
  gap: 12px;
  flex-direction: column;
  align-items: stretch;
}
.big-cta .btn.primary {
  background: white;
  color: var(--blue-800);
  justify-content: center;
}
.big-cta .btn.primary:hover { background: var(--blue-50); }
.big-cta .btn.ghost {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.3);
  justify-content: center;
}
.big-cta .btn.ghost:hover { border-color: white; background: rgba(255,255,255,0.08); }
@media (max-width: 900px) {
  .big-cta { padding: 56px 36px; grid-template-columns: 1fr; }
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--blue-900);
  color: rgba(255,255,255,0.75);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand .brand-mark { background: white; color: var(--blue-800); }
.footer-brand .brand-name { color: white; }
.footer-brand p {
  font-size: 14px;
  line-height: 1.55;
  margin: 18px 0 0;
  max-width: 280px;
  color: rgba(255,255,255,0.65);
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 8px 0 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color var(--t-fast);
}
.footer-col a:hover { color: white; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .footer-brand { grid-column: span 2; }
}

/* ===================== MOCKUPS (slide reuse) ===================== */
/* Phone (used in hero + check-in spotlight) */
.phone-shell {
  width: 320px;
  height: 640px;
  background: var(--blue-900);
  border-radius: 48px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 38px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone-statusbar {
  height: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px 0 28px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
}
.phone-statusbar svg { width: 14px; height: 14px; }
.status-icons { display: flex; gap: 6px; align-items: center; color: var(--ink); }

/* Hero phone — voice call */
.call-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 20px 28px;
  background: linear-gradient(180deg, var(--blue-50) 0%, white 60%);
}
.caller-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-600);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.caller-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--blue-900);
  letter-spacing: -0.02em;
}
.caller-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 2px;
}
.call-timer {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(31,157,107,0.18);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(31,157,107,0.18); }
  50%      { box-shadow: 0 0 0 7px rgba(31,157,107,0.05); }
}
.agent-orb {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--blue-400) 0%, var(--blue-700) 70%);
  margin: 22px 0 14px;
  position: relative;
  box-shadow: 0 16px 40px -12px rgba(26,63,163,0.6);
  animation: orb 3s ease-in-out infinite;
}
@keyframes orb {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
.agent-orb::before, .agent-orb::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid var(--blue-300);
  opacity: 0.5;
}
.agent-orb::after { inset: -18px; opacity: 0.25; }
.agent-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-700);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.call-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}
.call-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: white;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--blue-700);
}
.call-btn.end { background: #d93838; border-color: #d93838; color: white; }
.call-btn svg { width: 18px; height: 18px; }

/* Floating transcript */
.hero-transcript-float {
  position: absolute;
  left: -180px;
  top: 80px;
  z-index: 5;
}
.float-transcript {
  position: relative;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: var(--shadow-lg);
  width: 280px;
  z-index: 5;
}
@media (max-width: 1000px) {
  .hero-transcript-float {
    left: 50%;
    top: 52%;
    transform: translateX(-50%);
  }
  .float-transcript {
    width: min(280px, calc(100vw - 40px));
  }
}
.float-transcript .ft-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-2);
}
.float-transcript .ft-title {
  font-size: 12px; font-weight: 700; color: var(--blue-900);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.float-transcript .ft-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 600;
  color: var(--green);
  background: rgba(31,157,107,0.1);
  padding: 3px 6px; border-radius: 5px;
  letter-spacing: 0.04em;
}
.float-transcript .ft-turn { padding: 6px 0; font-size: 12px; line-height: 1.45; color: var(--ink); }
.float-transcript .ft-who {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 3px;
}
.float-transcript .ft-turn.agent .ft-who { color: var(--blue-600); }
.float-transcript .pill {
  display: inline-block;
  background: var(--blue-100);
  color: var(--blue-800);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
}

/* Check-in screen */
.checkin-screen {
  width: 100%;
  height: 100%;
  background: var(--blue-50);
  border-radius: 38px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.checkin-header {
  padding: 38px 20px 16px;
  background: white;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.checkin-h1 {
  font-size: 19px;
  font-weight: 800;
  color: var(--blue-900);
  letter-spacing: -0.02em;
  margin: 8px 0 4px;
}
.checkin-sub { font-size: 12px; color: var(--ink-3); font-weight: 500; }
.progress {
  margin-top: 14px;
  height: 5px; background: var(--blue-100);
  border-radius: 3px; overflow: hidden;
}
.progress-fill { width: 60%; height: 100%; background: var(--blue-600); border-radius: 3px; }
.progress-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 600;
  color: var(--blue-600); margin-top: 6px;
  letter-spacing: 0.04em;
}
.step-list {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.step {
  background: white;
  border-radius: 12px;
  padding: 11px 12px;
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1.5px solid transparent;
}
.step.active { border-color: var(--blue-600); box-shadow: 0 6px 16px -8px rgba(36,84,199,0.4); }
.step-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--blue-100);
  color: var(--blue-700);
  display: grid; place-items: center;
}
.step.done .step-icon { background: var(--green); color: white; }
.step.active .step-icon { background: var(--blue-600); color: white; }
.step-icon svg { width: 16px; height: 16px; stroke-width: 2.4; }
.step-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-900);
  letter-spacing: -0.005em;
}
.step-meta { font-size: 10px; color: var(--ink-3); font-weight: 500; margin-top: 1px; }
.step-status {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 5px;
}
.step.done .step-status { background: rgba(31,157,107,0.12); color: var(--green); }
.step.active .step-status { background: var(--blue-600); color: white; }
.step.upcoming .step-status { background: var(--blue-100); color: var(--blue-600); }
.checkin-cta {
  margin: 8px 12px 16px;
  padding: 12px;
  background: var(--blue-700);
  border-radius: 12px;
  color: white;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

/* Scribe window */
.scribe-window {
  width: 100%;
  background: white;
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.scribe-titlebar {
  height: 36px;
  background: var(--blue-50);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 8px;
}
.tl-dot { width: 10px; height: 10px; border-radius: 50%; }
.tl-dot:nth-child(1) { background: #ff6058; }
.tl-dot:nth-child(2) { background: #ffbd2e; }
.tl-dot:nth-child(3) { background: #28c941; }
.tl-title {
  margin-left: 12px;
  font-size: 12px; font-weight: 600;
  color: var(--ink-3);
}
.scribe-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.scribe-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px; border-bottom: 1px solid var(--line-2);
}
.scribe-patient { display: flex; align-items: center; gap: 10px; }
.pt-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-700);
  display: grid; place-items: center;
  font-weight: 700; font-size: 12px;
}
.pt-name { font-size: 13px; font-weight: 700; color: var(--blue-900); }
.pt-meta { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--ink-3); margin-top: 1px; }
.scribe-status {
  display: flex; align-items: center; gap: 7px;
  font-size: 10px; font-weight: 700; color: var(--green);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.rec-pulse {
  width: 8px; height: 8px;
  border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 4px rgba(31,157,107,0.18);
  animation: pulse 1.6s infinite;
}
.audio-row {
  display: grid;
  grid-template-columns: 30px 1fr 70px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: var(--blue-50);
  border-radius: 10px;
}
.play-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--blue-700);
  color: white;
  display: grid; place-items: center;
}
.play-btn svg { width: 12px; height: 12px; }
.waveform {
  display: flex; align-items: center; gap: 2px; height: 26px;
}
.waveform span {
  flex: 1;
  background: var(--blue-300);
  border-radius: 2px;
  min-width: 2px;
}
.waveform span.played { background: var(--blue-700); }
.audio-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 600;
  color: var(--blue-800); text-align: right;
}
.scribe-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.scribe-col {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.col-head {
  padding: 8px 12px;
  background: var(--blue-50);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.col-title {
  font-size: 10px; font-weight: 700; color: var(--blue-900);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.col-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; font-weight: 600;
  color: var(--blue-600);
}
.col-body { padding: 11px; font-size: 11px; line-height: 1.45; color: var(--ink-2); }
.col-body .hl {
  background: var(--blue-100);
  color: var(--blue-900);
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: 600;
}
.extracted { display: flex; flex-direction: column; gap: 8px; padding: 11px; }
.ext-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 8px;
  align-items: start;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}
.ext-row:last-child { border-bottom: none; padding-bottom: 0; }
.ext-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; font-weight: 600;
  color: var(--blue-600); padding-top: 2px;
  letter-spacing: 0.04em;
}
.ext-vals { display: flex; flex-wrap: wrap; gap: 4px; }
.ext-pill {
  background: var(--blue-100);
  color: var(--blue-900);
  font-size: 10px; font-weight: 600;
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid var(--blue-200);
}
.ext-pill .code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px; color: var(--blue-600);
  margin-left: 4px; font-weight: 500;
}

/* ===================== PRICING ===================== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.price-card {
  background: white;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: white;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.price-card.featured::before {
  content: 'Most popular';
  position: absolute;
  top: -12px; left: 28px;
  background: var(--blue-900);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
}
.price-tier {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-600);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.price-card.featured .price-tier { color: var(--blue-200); }
.price-name {
  font-size: 26px;
  font-weight: 800;
  color: var(--blue-900);
  letter-spacing: -0.02em;
  margin: 6px 0 4px;
}
.price-card.featured .price-name { color: white; }
.price-amount {
  font-size: 44px;
  font-weight: 800;
  color: var(--blue-900);
  letter-spacing: -0.03em;
  margin: 16px 0 4px;
  display: flex; align-items: baseline; gap: 8px;
}
.price-card.featured .price-amount { color: white; }
.price-amount .per {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
}
.price-card.featured .price-amount .per { color: var(--blue-200); }
.price-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-3);
  margin-bottom: 24px;
  min-height: 60px;
}
.price-card.featured .price-desc { color: rgba(255,255,255,0.8); }
.price-card .btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 28px;
}
.price-card.featured .btn.primary { background: white; color: var(--blue-800); }
.price-card.featured .btn.primary:hover { background: var(--blue-50); }
.price-card .btn.ghost { border-color: var(--line); }
.price-features {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 12px;
}
.price-features li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-2);
}
.price-card.featured .price-features li { color: rgba(255,255,255,0.92); }
.price-features li svg {
  width: 18px; height: 18px;
  color: var(--blue-600);
  flex-shrink: 0;
  margin-top: 2px;
}
.price-card.featured .price-features li svg { color: var(--blue-200); }
.price-features li strong { font-weight: 700; color: var(--blue-900); }
.price-card.featured .price-features li strong { color: white; }
@media (max-width: 1000px) { .price-grid { grid-template-columns: 1fr; } }

/* ===================== ABOUT ===================== */
.about-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.story-card {
  background: white;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.story-card .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--blue-400);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  font-weight: 600;
}
.story-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue-900);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.story-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.team-card {
  background: white;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.team-photo {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-700);
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.team-card .name {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-900);
  letter-spacing: -0.01em;
}
.team-card .role {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 4px;
  font-weight: 500;
}
@media (max-width: 1000px) {
  .about-hero { grid-template-columns: 1fr; gap: 48px; }
  .story-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===================== TWEAKS PANEL (mini) ===================== */
.tweaks {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 280px;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  padding: 18px;
  display: none;
  font-family: 'Inter', sans-serif;
}
.tweaks.open { display: block; }
.tweaks-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-2);
}
.tweaks-title {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue-900);
}
.tweaks-close {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border-radius: 6px;
  color: var(--ink-3);
}
.tweaks-close:hover { background: var(--blue-50); color: var(--blue-700); }
.tweak-row {
  display: flex; flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.tweak-row .lbl {
  font-size: 11px; font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.swatch-row { display: flex; gap: 8px; }
.swatch {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 2px solid var(--line);
  cursor: pointer;
  transition: all var(--t-fast);
}
.swatch.active { border-color: var(--blue-900); transform: scale(1.06); }
.seg {
  display: flex;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.seg button {
  flex: 1;
  padding: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  background: white;
}
.seg button.active { background: var(--blue-700); color: white; }

/* ===================== DENSITY MODES ===================== */
body.dense .section { padding: 72px 0; }
body.airy .section { padding: 120px 0; }


/* ============================================================
   PRODUCT PAGE
============================================================ */
.product-switcher {
  position: sticky;
  top: 70px;
  z-index: 40;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.switcher-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
}
.switcher-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  border: 1.5px solid transparent;
  transition: all var(--t-fast);
}
.switcher-tab .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--blue-500);
  font-weight: 600;
}
.switcher-tab:hover {
  background: var(--blue-50);
  color: var(--blue-900);
}
.switcher-tab.active {
  background: var(--blue-700);
  color: white;
  border-color: var(--blue-700);
}
.switcher-tab.active .num { color: var(--blue-200); }

.product-section {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 130px;
}
.product-section:nth-of-type(even) { background: var(--warm-2); }
.product-section:last-of-type { border-bottom: none; }

.product-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1.5px solid var(--line);
}
.product-head .eyebrow { margin-bottom: 14px; }
.product-head h2 {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--blue-900);
  margin: 0;
  max-width: 760px;
}
.product-head h2 em { font-style: normal; color: var(--blue-600); }
.product-head .lede { margin-top: 16px; max-width: 640px; }
.product-head-stats {
  display: flex;
  gap: 36px;
  padding-bottom: 4px;
}
.phs-item { display: flex; flex-direction: column; gap: 4px; min-width: 100px; }
.phs-num {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue-700);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.phs-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Capability table */
.cap-table {
  margin-top: 64px;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.cap-row {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 32px;
  align-items: start;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line-2);
}
.cap-row:last-child { border-bottom: none; }
.cap-row:hover { background: var(--blue-50); }
.cap-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-900);
  letter-spacing: -0.005em;
}
.cap-desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
  font-weight: 400;
}
.cap-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-700);
  background: var(--blue-100);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  align-self: center;
}

/* How it works mini-flow */
.mini-flow {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.mini-step {
  background: white;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 22px;
  position: relative;
}
.mini-step .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.mini-step h4 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--blue-900);
  margin: 0 0 8px;
}
.mini-step p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
}
.mini-step::after {
  content: '→';
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-600);
  z-index: 2;
}
.mini-step:last-child::after { display: none; }

/* Demo block — large media + side panels */
.demo-block {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.demo-block .media-slot { height: 100%; min-height: 480px; }
.demo-side {
  display: grid;
  gap: 16px;
}
.demo-card {
  background: white;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.demo-card .eyebrow { margin-bottom: 8px; }
.demo-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue-900);
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.demo-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
}
.demo-card .quote {
  font-size: 16px;
  font-style: italic;
  color: var(--blue-900);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.4;
  margin: 0 0 12px;
}
.demo-card .attr {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Related grid */
.related {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.related-card {
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.related-card:hover { border-color: var(--blue-600); transform: translateY(-2px); }
.related-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.related-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-900);
  letter-spacing: -0.005em;
}
.related-desc {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.4;
}

/* Section subhead */
.subhead {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-top: 64px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.subhead::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--blue-600);
}

@media (max-width: 980px) {
  .product-head { grid-template-columns: 1fr; }
  .product-head h2 { font-size: 40px; }
  .demo-block { grid-template-columns: 1fr; }
  .demo-block .media-slot { min-height: 280px; }
  .mini-flow { grid-template-columns: 1fr 1fr; }
  .mini-step::after { display: none; }
  .cap-row { grid-template-columns: 1fr; gap: 8px; }
  .related { grid-template-columns: 1fr; }
}


/* ============================================================
   CUSTOMERS PAGE
============================================================ */
.customer-hero {
  padding: 80px 0 56px;
  text-align: center;
}
.customer-hero h1 { max-width: 880px; margin: 0 auto; }
.customer-hero .lede { max-width: 720px; margin: 24px auto 0; }

/* Logo wall */
.logo-wall {
  margin: 64px 0 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: white;
  overflow: hidden;
}
.logo-cell {
  aspect-ratio: 16/9;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  padding: 22px;
  color: var(--blue-700);
  font-weight: 700;
  letter-spacing: -0.015em;
  font-size: 18px;
  text-align: center;
  line-height: 1.2;
  transition: background var(--t-fast);
}
.logo-cell:hover { background: var(--blue-50); }
.logo-cell:nth-child(6n) { border-right: none; }
.logo-cell.last-row { border-bottom: none; }
.logo-cell .lc-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.logo-cell .lc-glyph {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--blue-700);
  color: white;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}
.logo-cell .lc-glyph.alt {
  background: white;
  color: var(--blue-700);
  border: 2px solid var(--blue-700);
}
.logo-cell .lc-glyph.warm { background: #c47a17; color: white; }
.logo-cell .lc-glyph.green { background: var(--green); color: white; }
.logo-cell .lc-glyph.dark { background: var(--blue-900); color: white; }

/* Featured case */
.featured-case {
  margin-top: 96px;
  background: var(--blue-700);
  color: white;
  border-radius: var(--radius-lg);
  padding: 56px 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  position: relative;
  overflow: hidden;
}
.featured-case::after {
  content: '';
  position: absolute;
  right: -200px;
  top: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-500), transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}
.featured-case .fc-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-200);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.featured-case h2 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 20px;
  color: white;
}
.featured-case .fc-quote {
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
  font-weight: 400;
  margin: 0 0 28px;
  max-width: 540px;
}
.featured-case .fc-attr {
  display: flex;
  align-items: center;
  gap: 14px;
}
.fc-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
}
.fc-attr-text { display: flex; flex-direction: column; gap: 2px; }
.fc-name { font-size: 14px; font-weight: 700; color: white; }
.fc-title { font-size: 13px; color: rgba(255,255,255,0.7); font-weight: 500; }

.fc-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: center;
  position: relative;
  z-index: 2;
}
.fc-stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 24px 22px;
  backdrop-filter: blur(6px);
}
.fc-stat-num {
  font-size: 44px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.fc-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  line-height: 1.35;
}

/* Vertical filter */
.vertical-filter {
  margin: 96px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.vf-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
}
.vf-head h2 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--blue-900);
  margin: 0;
  max-width: 720px;
  line-height: 1.05;
}
.vf-head h2 em { font-style: normal; color: var(--blue-600); }
.vf-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.vf-chip {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: white;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: all var(--t-fast);
  font-family: inherit;
}
.vf-chip:hover { border-color: var(--blue-300); color: var(--blue-700); }
.vf-chip.active {
  background: var(--blue-700);
  color: white;
  border-color: var(--blue-700);
}
.vf-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  margin-left: 6px;
  opacity: 0.7;
}

/* Story grid */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.story-card {
  background: white;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.story-card:hover {
  border-color: var(--blue-600);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.sc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-2);
}
.sc-org {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-900);
  letter-spacing: -0.005em;
}
.sc-glyph {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--blue-100);
  color: var(--blue-700);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}
.sc-vertical {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  color: var(--blue-700);
  background: var(--blue-50);
  padding: 4px 8px;
  border-radius: 5px;
  letter-spacing: 0.04em;
}
.sc-headline {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue-900);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 0;
}
.sc-summary {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
  flex: 1;
}
.sc-metric {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
}
.sc-metric-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--blue-700);
  letter-spacing: -0.025em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.sc-metric-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  line-height: 1.3;
}
.sc-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-600);
}
.sc-foot .arrow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-700);
  display: grid;
  place-items: center;
  font-size: 12px;
}
.story-card.hidden { display: none; }

/* Outcomes by vertical */
.outcomes-section {
  margin-top: 120px;
}
.outcomes-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.outcome-card {
  background: white;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 32px 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
}
.outcome-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--blue-100);
  color: var(--blue-700);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.outcome-icon svg { width: 26px; height: 26px; stroke-width: 1.6; }
.outcome-body { display: flex; flex-direction: column; gap: 14px; }
.outcome-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.outcome-vertical {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--blue-900);
}
.outcome-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 4px 10px;
  border-radius: 5px;
  white-space: nowrap;
}
.outcome-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.os-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.os-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--blue-700);
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.os-label {
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 500;
  line-height: 1.3;
}

@media (max-width: 980px) {
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .logo-cell:nth-child(6n) { border-right: 1px solid var(--line-2); }
  .logo-cell:nth-child(3n) { border-right: none; }
  .featured-case { grid-template-columns: 1fr; padding: 36px 28px; gap: 32px; }
  .featured-case h2 { font-size: 32px; }
  .vf-head { flex-direction: column; align-items: flex-start; }
  .story-grid { grid-template-columns: 1fr; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .outcome-card { grid-template-columns: 1fr; }
  .outcome-stats { grid-template-columns: repeat(3, 1fr); }
}
