@charset "UTF-8";
/* Echo Growth Labs — production styles */

:root {
  --navy: #1F2D3D;
  --navy-2: #2D3748;
  --accent: #C05621;
  --accent-hover: #9A4419;
  --bg: #FEFDF8;
  --bg-2: #F5F2EA;
  --ink: #1A202C;
  --ink-2: #4A5568;
  --rule: #E4DFD3;
  --rule-2: #CFC8B6;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.serif {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
}

a { color: inherit; }

/* ─── Top nav ──────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(254, 253, 248, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
}
.logo-mark {
  width: 10px;
  height: 10px;
  background: var(--accent);
  display: inline-block;
  transform: translateY(-1px);
}
.logo-name {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  color: var(--ink-2);
}
.nav-right a { text-decoration: none; }
.nav-right a:hover { color: var(--accent); }
.nav-phone {
  font-variant-numeric: tabular-nums;
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
}
.nav-phone:hover { color: var(--accent); }

/* Hamburger button (mobile only) */
.nav-hamburger {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin-left: 6px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  -webkit-tap-highlight-color: transparent;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: transform 200ms ease, opacity 150ms ease;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drop-down menu */
.nav-mobile-menu {
  display: block;
  border-top: 1px solid var(--rule);
  background: rgba(254, 253, 248, 0.98);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 4px 28px 12px;
}
.nav-mobile-menu[hidden] { display: none; }
.nav-mobile-menu a {
  display: block;
  padding: 16px 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  letter-spacing: -0.005em;
}
.nav-mobile-menu a:last-child {
  border-bottom: 0;
  font-variant-numeric: tabular-nums;
}
.nav-mobile-menu a:hover,
.nav-mobile-menu a:active { color: var(--accent); }
.nav-mobile-menu .nav-mobile-active { color: var(--accent); }

@media (min-width: 761px) {
  .nav-mobile-menu { display: none !important; }
}
@media (max-width: 760px) {
  .nav-hamburger { display: flex; }
}

/* ─── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  padding: 13px 22px;
  border-radius: 3px;
  font: 500 15px/1 'Inter', sans-serif;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 120ms ease, border-color 120ms ease;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--rule-2);
}
.btn.btn-ghost:hover { background: var(--bg-2); border-color: var(--navy); }

/* ─── Sections ─────────────────────────────────────────────────────────── */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 28px;
}
.section-tight {
  max-width: 860px;
  margin: 0 auto;
  padding: 96px 28px;
}
.section-divider { border-top: 1px solid var(--rule); }

.section-navy {
  background: var(--navy);
  color: #F4F1E8;
}
.section-navy-block {
  padding: 96px 28px;
}
.section-navy-inner {
  max-width: 1180px;
  margin: 0 auto;
}

/* ─── Typography scale ─────────────────────────────────────────────────── */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 600;
  margin: 0 0 22px;
}
.eyebrow-on-navy { color: #9AA4AF; }

h1.hero {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 400;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 28px;
  max-width: 18ch;
}
h2 {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 500;
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 20px;
  max-width: 22ch;
  text-wrap: balance;
}
.h2-on-navy { color: #F4F1E8; }
.section-navy h2 { color: #F4F1E8; }

h3 {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 10px;
}
.section-navy h3 { color: #F4F1E8; }

.lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 60ch;
  margin: 0 0 28px;
}
.lede-on-navy { color: #C4CBD4; font-size: 20px; }
.section-navy .lede { color: #C4CBD4; }

/* ─── Hero ─────────────────────────────────────────────────────────────── */
.hero-wrap {
  padding-top: 96px;
  padding-bottom: 128px;
}
.hero-content {
  max-width: 760px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
}
.hero-sub {
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 38ch;
  margin: 0 0 36px;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.hero-phone {
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  border-bottom: 1px solid var(--rule-2);
  padding-bottom: 2px;
}
.hero-phone:hover { color: var(--accent); border-color: var(--accent); }
.hero-meta {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 42px;
  flex-wrap: wrap;
  color: var(--ink-2);
  font-size: 13px;
}
.hero-meta strong {
  display: block;
  color: var(--navy);
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 2px;
  letter-spacing: 0.02em;
}

/* ─── Cortex map theme — vars consumed by AllRolesMap + Teaser ─────────── */
:root {
  --tt-cream: var(--bg);
  --tt-cream-2: var(--bg-2);
  --tt-paper: #FFFFFF;
  --tt-navy: var(--navy);
  --tt-navy-2: var(--navy-2);
  --tt-orange: var(--accent);
  --tt-orange-2: var(--accent-hover);
  --tt-ink: var(--ink);
  --tt-ink-2: var(--ink-2);
  --tt-muted: #8A8580;
  --tt-rule: var(--rule);
  --tt-rule-2: var(--rule-2);
  --tt-role: #2C5F7A;
  --tt-data: #3F7A5F;
  --tt-customer: #8B4789;
  --tt-extorg: #B8612C;
  --tt-extperson: #C58A2E;
  --tt-sub: #7A5C3A;
  --tt-cortex: var(--accent);
  --tt-font-serif: 'IBM Plex Serif', Georgia, serif;
  --tt-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --tt-font-mono: ui-monospace, 'SF Mono', Menlo, monospace;
}

/* Map mount targets */
.cortex-preview-mount {
  width: 100%;
  min-height: 460px;
  position: relative;
}
.cortex-preview-mount svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 540px;
}

/* Teaser caption (renders below the SVG: NOW SHOWING · 05 · Sales Mgr · persona) */
.teaser-caption {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin: 16px 4px 0;
  padding-top: 14px;
  border-top: 1px dashed var(--rule);
}
.teaser-eyebrow {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 10px;
  color: var(--ink-2);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.teaser-role {
  font-family: 'IBM Plex Serif', serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}
.teaser-role-num {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.18em;
  font-weight: 600;
}
.teaser-tagline {
  font-size: 12px;
  color: var(--ink-2);
  font-style: italic;
  margin-left: auto;
}

/* Role-cycling dots beneath the teaser caption */
.teaser-dots {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 10px 4px 0;
  padding: 0;
}
.teaser-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rule-2);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: background 200ms, transform 200ms;
}
.teaser-dots button:hover { background: var(--accent-hover); }
.teaser-dots button.on {
  background: var(--accent);
  transform: scale(1.3);
}
.cortex-fullmap-mount {
  width: 100%;
}
.map-wrap {
  width: 100%;
  min-height: 600px;
  margin-top: 16px;
}
.map-wrap svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* Role-selection buttons */
.role-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 4px;
}
.role-quick button {
  background: var(--bg);
  border: 1px solid var(--rule-2);
  border-radius: 999px;
  cursor: pointer;
  padding: 7px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: all 150ms ease;
  -webkit-tap-highlight-color: transparent;
}
.role-quick button:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.role-quick button.on {
  background: var(--navy);
  border-color: var(--navy);
  color: #F4F1E8;
}
.role-quick button .code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 9.5px;
  opacity: 0.65;
  margin-right: 6px;
  letter-spacing: 0.18em;
}
.role-quick button.on .code {
  color: var(--accent);
  opacity: 1;
}
.role-quick .clear {
  background: transparent;
  border: 1px dashed var(--rule-2);
  color: var(--ink-2);
}

/* Role detail strip (appears when a role is selected on /cortex) */
.role-strip {
  margin-top: 28px;
  border-top: 1px solid var(--rule);
  padding-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
}
.role-strip h3 {
  font-family: 'IBM Plex Serif', serif;
  font-size: 19px;
  font-weight: 500;
  margin: 8px 0;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.role-strip .num {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.18em;
}
.role-strip p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0 0 10px;
}
.role-strip ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.role-strip ul li {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
  padding: 7px 0 7px 16px;
  position: relative;
  border-top: 1px dashed var(--rule);
}
.role-strip ul li:first-child {
  border-top: 0;
  padding-top: 0;
}
.role-strip ul li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 14px;
}
.role-strip ul li:first-child::before {
  top: 7px;
}
.role-strip .calibration {
  background: var(--bg-2);
  border-radius: 4px;
  padding: 16px 18px;
  border-left: 3px solid #C58A2E;
}
.role-strip .calibration .label {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 10px;
  color: #C58A2E;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.role-strip .calibration p {
  color: var(--ink);
  font-size: 13.5px;
  margin: 0;
}
.role-strip .role-persona {
  color: var(--ink-2);
  font-style: italic;
  font-size: 14px;
  font-weight: 400;
  margin-left: 4px;
}
.role-strip .role-strip-h3 {
  font-size: 16px !important;
}

@media (max-width: 760px) {
  .role-strip { grid-template-columns: 1fr; gap: 24px; }
}

/* ─── Cortex page (/cortex.html) ──────────────────────────────────────── */
.cortex-hero {
  padding-top: 80px;
  padding-bottom: 32px;
}
.cortex-h1 {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 500;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 24px;
  max-width: 22ch;
  text-wrap: balance;
}
.cortex-h1-em {
  font-style: italic;
  color: var(--accent);
}
.cortex-lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 70ch;
  margin: 0;
}

.cortex-map-section {
  padding-top: 40px;
  padding-bottom: 56px;
  max-width: 1400px;
}
.cortex-fullmap-frame {
  background: var(--bg);
  border: 1px solid var(--rule-2);
  border-radius: 8px;
  padding: 28px 32px 32px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 14px 36px rgba(31,45,61,0.04);
}
.cortex-fullmap-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: flex-end;
  margin-bottom: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.cortex-fullmap-num {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 8px;
}
.cortex-fullmap-h2 {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 6px;
  max-width: 40ch;
}
.cortex-fullmap-sub {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
  margin: 0;
  max-width: 56ch;
}
.cortex-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  align-items: center;
  max-width: 360px;
}
.cortex-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.cortex-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.cortex-fullmap-placeholder {
  width: 100%;
  min-height: 600px;
  background:
    repeating-linear-gradient(135deg, var(--bg-2) 0 14px, var(--bg) 14px 28px);
  border: 1px dashed var(--rule-2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  margin-top: 16px;
}

.cortex-explain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px;
}
.cortex-explain-col {
  border-top: 2px solid var(--accent);
  padding-top: 22px;
}
.cortex-explain-col p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.65;
  margin: 12px 0 0;
  max-width: 38ch;
}

.cortex-architecture-prose {
  margin-top: 16px;
  max-width: 70ch;
}
.cortex-architecture-prose p {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 22px;
}
.cortex-architecture-prose p:last-child {
  margin-bottom: 0;
}

.cortex-cta-section .lede {
  margin-bottom: 28px;
}

@media (max-width: 880px) {
  .cortex-fullmap-head {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }
  .cortex-legend {
    max-width: none;
  }
}
@media (max-width: 760px) {
  .cortex-explain-grid { grid-template-columns: 1fr; gap: 36px; }
  .cortex-fullmap-frame { padding: 18px 20px 22px; }
  .cortex-fullmap-placeholder { min-height: 420px; }
  .cortex-hero { padding-top: 56px; padding-bottom: 24px; }
}

/* ─── Cortex intro section ────────────────────────────────────────────── */
.cortex-intro-section {
  background: var(--bg-2);
  padding-top: 96px;
  padding-bottom: 96px;
  max-width: none;
  margin: 0;
}
.cortex-intro-section > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
.cortex-intro-em {
  font-style: italic;
  color: var(--accent);
}
.cortex-intro-section .lede {
  margin-bottom: 56px;
  max-width: 70ch;
}

/* Preview map frame */
.cortex-map-frame {
  margin: 0 auto 16px;
  max-width: 1180px;
  background: var(--bg);
  border: 1px solid var(--rule-2);
  border-radius: 6px;
  padding: 24px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 12px 32px rgba(31,45,61,0.04);
}
.cortex-map-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background:
    repeating-linear-gradient(135deg, var(--bg-2) 0 12px, var(--bg) 12px 24px);
  border: 1px dashed var(--rule-2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.cortex-map-placeholder-inner {
  text-align: center;
  padding: 32px;
}
.cortex-map-placeholder-eyebrow {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin: 0 0 14px;
}
.cortex-map-placeholder-text {
  font-family: 'IBM Plex Serif', serif;
  font-size: 22px;
  color: var(--navy);
  font-weight: 500;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.cortex-map-placeholder-sub {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-2);
  text-transform: uppercase;
  margin: 0;
}
.cortex-map-caption {
  font-size: 13px;
  color: var(--ink-2);
  margin: 0 auto 56px;
  text-align: center;
  max-width: 1180px;
}
.cortex-map-caption a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 150ms ease;
}
.cortex-map-caption a:hover {
  border-color: var(--accent);
}

/* Three-column value prop */
.cortex-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px;
  margin: 0 auto 64px;
}
.cortex-value-col {
  border-top: 2px solid var(--accent);
  padding-top: 22px;
}
.cortex-value-tag {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 12px;
}
.cortex-value-col h3 {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 500;
  font-size: 21px;
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.cortex-value-col p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.cortex-summary-line {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.4;
  color: var(--navy);
  text-align: center;
  margin: 0 auto 48px;
  max-width: 60ch;
  letter-spacing: -0.01em;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.cortex-summary-line em {
  font-style: italic;
  color: var(--accent);
}

.cortex-cta-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
}
.cortex-secondary-link {
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
  font-size: 15px;
  border-bottom: 1px solid var(--rule-2);
  padding-bottom: 2px;
}
.cortex-secondary-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 760px) {
  .cortex-intro-section { padding-top: 64px; padding-bottom: 64px; }
  .cortex-value-grid { grid-template-columns: 1fr; gap: 36px; }
  .cortex-summary-line { font-size: 18px; padding: 20px 0; }
  .cortex-map-frame { padding: 16px; }
  .cortex-map-placeholder { aspect-ratio: 4 / 5; }
}

/* ─── Stats row ────────────────────────────────────────────────────────── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}
.stat-num {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 500;
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 12px;
}
.stat-num .unit {
  color: var(--accent);
  font-size: 0.5em;
  vertical-align: baseline;
  margin-left: 2px;
  letter-spacing: 0;
}
.stat-text {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 28ch;
}
.stat-foot {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 12px;
  color: var(--ink-2);
  font-style: italic;
  line-height: 1.6;
  max-width: 80ch;
}
.stat-mini-eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 600;
  margin: 0 0 10px;
}
.stat-mini-eyebrow-win {
  margin-top: 32px;
  color: var(--accent);
}
.stat-num.stat-num-win {
  color: var(--accent);
}
.stat-num.stat-num-win .unit {
  color: var(--accent);
  opacity: 0.7;
}
.stat-recovery {
  margin: 48px auto 0;
  text-align: center;
  max-width: 760px;
  padding: 36px 28px 40px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stat-recovery .stat-mini-eyebrow {
  margin: 0 0 14px;
}
.stat-recovery .stat-num {
  margin: 0 0 12px;
}
.stat-recovery-text {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0 auto;
  max-width: 56ch;
}

.stat-asterisk {
  font-size: 0.45em;
  color: var(--accent);
  text-decoration: none;
  vertical-align: super;
  margin-left: 2px;
  position: relative;
  top: -0.1em;
  font-weight: 500;
}
.stat-asterisk:hover {
  text-decoration: underline;
}
.stat-num .counter {
  font-variant-numeric: tabular-nums;
}

.stat-math {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px dashed var(--rule);
  font-size: 13px;
  font-style: italic;
  color: var(--ink-2);
  line-height: 1.7;
  letter-spacing: 0;
  max-width: 92ch;
}

/* ─── Pain section (problem → math → recovery) ─────────────────────────── */
.pain-subhead {
  margin: 56px 0 0;
  font-family: 'IBM Plex Serif', serif;
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.pain-math {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}
.pain-math-head,
.pain-recovery-head {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 500;
  font-size: clamp(20px, 2.1vw, 24px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 24px;
}
.pain-calc {
  display: grid;
  grid-template-columns: max-content max-content 1fr;
  gap: 6px 14px;
  align-items: baseline;
  margin: 0 0 24px;
  padding: 24px 28px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--bg-2);
  max-width: 640px;
}
.pain-calc-row {
  display: contents;
}
.pain-calc-op {
  font-family: 'IBM Plex Serif', serif;
  color: var(--ink-2);
  font-size: 18px;
  text-align: center;
}
.pain-calc-row:first-child .pain-calc-op {
  visibility: hidden;
}
.pain-calc-row:first-child .pain-calc-val {
  grid-column: 1 / span 2;
}
.pain-calc-val {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 500;
  font-size: 20px;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.pain-calc-lbl {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
}
.pain-calc-total {
  margin-top: 4px;
  padding-top: 12px;
}
.pain-calc-total .pain-calc-val {
  font-size: 26px;
  color: var(--navy);
}
.pain-calc-total .pain-calc-lbl {
  color: var(--ink);
  font-weight: 500;
}
.pain-calc-row.pain-calc-total .pain-calc-op {
  border-top: 1px solid var(--rule);
  padding-top: 12px;
  margin-top: 4px;
}
.pain-math-foot {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 60ch;
  margin: 0;
}
.pain-recovery {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}
.pain-recovery-body {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.6;
  max-width: 60ch;
  margin: 0 0 20px;
}
.pain-recovery-body strong {
  color: var(--navy);
  font-weight: 600;
}
.pain-recovery-bridge {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 64ch;
  margin: 0;
}
@media (max-width: 760px) {
  .pain-subhead { margin-top: 40px; }
  .pain-math { margin-top: 48px; padding-top: 32px; }
  .pain-recovery { margin-top: 40px; padding-top: 32px; }
  .pain-calc { padding: 20px; }
  .pain-calc-val { font-size: 18px; }
  .pain-calc-total .pain-calc-val { font-size: 22px; }
}

/* ─── Interface section (single SMS mockup, Peterson reroute) ──────────── */
.interface-stage {
  display: flex;
  justify-content: center;
  margin: 56px 0 32px;
}
.interface-stage .phone-frame {
  justify-self: auto;
}
.interface-caption {
  text-align: center;
  font-size: 14px;
  color: var(--ink-2);
  letter-spacing: 0.01em;
  margin: 0 auto;
  max-width: 56ch;
}
@media (max-width: 760px) {
  .interface-stage { margin: 40px 0 24px; }
}

/* ─── Steps ────────────────────────────────────────────────────────────── */
.steps { margin-top: 40px; }
.step {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  padding: 36px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.step:last-child { border-bottom: 1px solid var(--rule); }
.step-tag {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
}
.step-tag-day {
  display: block;
  color: var(--ink-2);
  margin-top: 6px;
  letter-spacing: 0.06em;
}
.step h3 { margin-bottom: 12px; }
.step p { color: var(--ink-2); margin: 0; max-width: 60ch; }
.step p + p { margin-top: 16px; }
.audit-credit-callout {
  color: var(--navy);
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 24px 0 16px;
}

/* ─── Build list (two columns, equal-height rows) ─────────────────────── */
.build-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 64px;
  margin-top: 48px;
  align-items: stretch;
}
.build-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.build-list li {
  padding: 16px 0 16px 22px;
  border-top: 1px solid var(--rule);
  color: var(--ink);
  font-size: 16px;
  position: relative;
  line-height: 1.5;
}
.build-list li:last-child { border-bottom: 1px solid var(--rule); }
.build-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 1px;
  background: var(--accent);
}

/* ─── 5 PM SMS section ─────────────────────────────────────────────────── */
.sms-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 72px;
  align-items: center;
  margin-top: 32px;
}
.phone-frame {
  background: #0B0F14;
  border-radius: 44px;
  padding: 14px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  position: relative;
  width: 340px;
  justify-self: end;
}
.phone-screen {
  background: #000;
  border-radius: 32px;
  overflow: hidden;
  padding-top: 38px;
  padding-bottom: 10px;
  position: relative;
  min-height: 620px;
}
.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 30px;
  background: #000;
  border-radius: 20px;
  z-index: 2;
}
.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 4px 26px 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  position: relative;
  z-index: 1;
}
.phone-status-right { display: flex; gap: 6px; align-items: center; }
.phone-header {
  text-align: center;
  padding: 22px 0 14px;
  border-bottom: 0.5px solid #1C1C1E;
}
.phone-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Serif', serif;
  font-weight: 600;
  font-size: 20px;
  margin: 0 auto 8px;
}
.phone-name { color: #fff; font-size: 13px; font-weight: 500; }
.phone-sub { color: #8E8E93; font-size: 11px; margin-top: 2px; }
.phone-timestamp {
  text-align: center;
  color: #8E8E93;
  font-size: 11px;
  padding: 16px 0 10px;
}
.phone-timestamp b { color: #fff; font-weight: 600; }
.msg {
  max-width: 78%;
  margin: 4px 14px 4px 14px;
  padding: 9px 14px;
  background: #26252A;
  color: #fff;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.35;
  animation: msgIn 500ms ease both;
}
.msg.delay-1 { animation-delay: 200ms; }
.msg.delay-2 { animation-delay: 500ms; }
.msg.delay-3 { animation-delay: 850ms; }
.msg strong {
  display: block;
  color: #fff;
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.msg.flag { background: #2A1F14; border: 1px solid rgba(192, 86, 33, 0.4); }
.msg.flag strong { color: #F0A26D; }
@keyframes msgIn {
  from { opacity: 0; transform: translateY(6px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.sms-note {
  margin-top: 26px;
  font-style: italic;
  color: #9AA4AF;
  font-size: 15px;
  max-width: 38ch;
}

/* Hero SMS mockup variant — slightly tighter */
.hero-phone-frame {
  width: 320px;
  justify-self: end;
  box-shadow: 0 30px 60px -25px rgba(31, 45, 61, 0.35), 0 0 0 1px rgba(0,0,0,0.04);
}
.hero-phone-frame .phone-screen { min-height: 560px; }
.hero-phone-frame .phone-header { padding: 18px 0 10px; }

/* ─── Qualification grid ───────────────────────────────────────────────── */
.qual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  margin-top: 40px;
}
.qual-col h3 {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.qual-col.bad h3 { color: var(--accent); }
.qual-col ul { list-style: none; padding: 0; margin: 0; }
.qual-col li {
  padding: 14px 0 14px 26px;
  border-bottom: 1px dashed var(--rule);
  position: relative;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
}
.qual-col.good li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 12px;
  height: 6px;
  border-left: 1.5px solid var(--navy);
  border-bottom: 1.5px solid var(--navy);
  transform: rotate(-45deg);
}
.qual-col.bad li::before {
  content: "\00d7";
  position: absolute;
  left: 4px;
  top: 12px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 500;
  font-family: 'Inter', system-ui, sans-serif;
}

/* ─── Pricing ──────────────────────────────────────────────────────────── */
.pricing-intro {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 72ch;
  margin: 0 0 16px;
}

.pricing-piece {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--rule);
}
.pricing-piece-compact {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.pricing-piece-compact p {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 72ch;
  margin: 0 0 16px;
}
.pricing-piece-compact p:last-child { margin-bottom: 0; }
.pricing-piece-compact p strong {
  color: var(--navy);
  font-weight: 600;
}
.pricing-range {
  font-size: 14px !important;
  color: var(--ink-2);
  letter-spacing: 0.005em;
}
.pricing-cancel-line {
  font-size: 14px !important;
  color: var(--ink-2);
  padding-top: 14px;
  border-top: 1px dashed var(--rule);
  margin-top: 18px !important;
}
.pricing-piece-heading {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 16px;
  letter-spacing: -0.015em;
}
.pricing-piece-desc {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 72ch;
  margin: 0 0 24px;
}
.pricing-subheading {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.3;
  color: var(--navy);
  margin: 36px 0 14px;
  letter-spacing: -0.005em;
}
.pricing-caption {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
  font-style: italic;
  margin: 24px 0 0;
  max-width: 72ch;
}

/* Pricing tables */
.pricing-table-wrap {
  margin: 18px 0 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
}
.pricing-table thead th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 600;
  padding: 0 14px 12px;
  border-bottom: 1.5px solid var(--rule-2);
  vertical-align: bottom;
}
.pricing-table thead th:first-child { padding-left: 0; }
.pricing-table thead th:last-child { padding-right: 0; }
.pricing-table tbody td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  color: var(--ink);
}
.pricing-table tbody td:first-child { padding-left: 0; }
.pricing-table tbody td:last-child { padding-right: 0; }
.pricing-table tbody tr:last-child td { border-bottom: none; }
.pricing-table tbody td strong {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.005em;
}
.pricing-table tbody td:nth-child(1),
.pricing-table tbody td:nth-child(2) {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 500;
  color: var(--navy);
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.pricing-table tbody td:nth-child(2) { font-size: 17px; }

.profile-table tbody td:nth-child(1) { width: 110px; font-size: 17px; }
.profile-table tbody td:nth-child(2) { width: 110px; }


/* Worked examples — 2x2 cards */
.worked-examples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0 0;
}
.worked-example {
  border: 1px solid var(--rule);
  padding: 18px 20px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.worked-example-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 8px;
}
.worked-example-formula {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
}
.worked-example-total {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* 90 days, free panel */
.pricing-90day {
  background: var(--bg-2);
  padding: 36px 40px;
  margin-top: 64px;
  border-top: none;
  border-left: 3px solid var(--accent);
}
.pricing-90day .pricing-piece-heading {
  margin-bottom: 12px;
}
.pricing-90day .pricing-piece-desc {
  margin-bottom: 0;
  color: var(--ink);
}

/* Availability band — navy */
.availability-band {
  background: var(--navy);
  color: #F4F1E8;
  padding: 44px 40px;
  margin: 64px 0 32px;
  border-left: 3px solid var(--accent);
}
.availability-band .eyebrow-on-navy {
  margin-bottom: 14px;
}
.availability-band-heading {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 500;
  font-size: clamp(22px, 2.5vw, 28px);
  line-height: 1.2;
  color: #F4F1E8;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  max-width: 28ch;
}
.availability-band p {
  font-size: 16px;
  line-height: 1.65;
  color: #C4CBD4;
  margin: 0 0 24px;
  max-width: 70ch;
}
.availability-cta {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.availability-cta:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* Pricing CTA row */
/* ─── Pricing expand (full detail behind <details>) ────────────────────── */
.pricing-expand {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.pricing-expand > summary {
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.005em;
  list-style: none;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule-2);
  transition: color 120ms ease, border-color 120ms ease;
}
.pricing-expand > summary::-webkit-details-marker { display: none; }
.pricing-expand > summary::after {
  content: "+";
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-weight: 500;
  color: var(--accent);
  margin-left: 4px;
  transition: transform 200ms ease;
  display: inline-block;
}
.pricing-expand[open] > summary::after { content: "\2212"; }
.pricing-expand > summary:hover {
  color: var(--accent-hover);
  border-color: var(--accent-hover);
}
.pricing-expand-inner {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px dashed var(--rule);
}
.pricing-expand-inner p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.65;
  max-width: 72ch;
  margin: 0 0 16px;
}
.pricing-expand-inner p strong {
  color: var(--navy);
  font-weight: 600;
}
.pricing-expand-inner .pricing-subheading {
  margin-top: 40px;
}
.pricing-expand-inner .pricing-subheading:first-child { margin-top: 0; }

.pricing-cta-row {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.pricing-cta-caption {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
  font-style: italic;
  margin: 0;
  max-width: 65ch;
}

/* Mobile: stack tables as labeled cards */
@media (max-width: 600px) {
  .pricing-table {
    font-size: 14px;
  }
  .pricing-table thead {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  .pricing-table tbody,
  .pricing-table tr {
    display: block;
  }
  .pricing-table tr {
    border: 1px solid var(--rule);
    padding: 14px 16px;
    margin-bottom: 10px;
    background: var(--bg);
  }
  .pricing-table tr:last-child { margin-bottom: 0; }
  .pricing-table tbody td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0;
    border-bottom: none !important;
    width: auto !important;
    white-space: normal !important;
  }
  .pricing-table tbody td::before {
    content: attr(data-label);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-2);
    font-weight: 600;
    flex-shrink: 0;
    align-self: center;
  }
  .pricing-table tbody td:last-child {
    text-align: right;
  }
  .profile-table tbody td:nth-child(3) {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    text-align: left !important;
  }
  .profile-table tbody td:nth-child(3)::before {
    text-align: left;
  }
}

/* ─── Jaw-drop integrations ────────────────────────────────────────────── */
.jaw-wrap {
  margin-top: 56px;
}
.jaw-heading {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 500;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 14px;
  max-width: 24ch;
  letter-spacing: -0.01em;
}
.jaw-lede {
  color: var(--ink-2);
  font-size: 17px;
  max-width: 60ch;
  margin: 0 0 36px;
}
.jaw-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.jaw-grid.jaw-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.jaw-card {
  border-top: 2px solid var(--accent);
  padding: 20px 0 0;
}
.jaw-tag {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 14px;
}
.jaw-card h4 {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.25;
  color: var(--navy);
  margin: 0 0 10px;
  letter-spacing: -0.005em;
}
.jaw-card p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}
.jaw-foot {
  margin-top: 32px;
  font-size: 14px;
  color: var(--ink-2);
  font-style: italic;
}

/* ─── Floor block (standard automations + trust beat) ──────────────────── */
.floor-block {
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}
.floor-head {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 500;
  font-size: clamp(20px, 2.1vw, 24px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 20px;
}
.floor-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 68ch;
  margin: 0 0 28px;
}
.floor-trust {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 64ch;
  margin: 0;
  padding-top: 24px;
  border-top: 1px dashed var(--rule);
}
@media (max-width: 760px) {
  .floor-block { margin-top: 48px; padding-top: 32px; }
}

/* ─── What's underneath (AgentMarshal governance) ──────────────────────── */
.underneath-closer {
  margin: 56px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  font-style: italic;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 72ch;
}
.underneath-source {
  margin: 20px 0 0;
  font-style: italic;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 72ch;
}
.underneath-source a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--rule-2);
}
.underneath-source a:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent-hover);
}
@media (max-width: 760px) {
  .underneath-closer { margin-top: 40px; padding-top: 24px; font-size: 15px; }
}

/* ─── Role cards (Tuesday before / after, seven seats) ─────────────────── */
.role-cards-stack {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.role-card {
  padding-top: 36px;
  border-top: 2px solid var(--accent);
}
.role-card-head {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 28px;
}
.role-card-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.role-card-col-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 600;
  margin: 0 0 18px;
}
.role-card-col:nth-child(2) .role-card-col-label {
  color: var(--accent);
}
.role-moments {
  list-style: none;
  margin: 0;
  padding: 0;
}
.role-moments li {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 16px;
  padding: 0;
}
.role-moments li:last-child {
  margin-bottom: 0;
}
.role-time {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  display: inline-block;
  min-width: 64px;
  margin-right: 4px;
}
.role-closer {
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
  max-width: 64ch;
}
.role-closer-line {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.35;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}
.role-closer-stanza {
  font-style: italic;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}
@media (max-width: 760px) {
  .role-cards-stack { gap: 44px; margin-top: 40px; }
  .role-card { padding-top: 28px; }
  .role-card-head { margin-bottom: 20px; }
  .role-card-cols { grid-template-columns: 1fr; gap: 28px; }
  .role-closer { margin-top: 48px; padding-top: 32px; }
}

/* ─── About ────────────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 72px;
  align-items: start;
  margin-top: 28px;
}
.about-portrait {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--rule-2);
  background: var(--bg-2);
  overflow: hidden;
  position: relative;
}
.about-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portrait-label {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 10px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  background: var(--bg);
  border: 1px solid var(--rule-2);
  padding: 6px 10px;
  align-self: flex-start;
  line-height: 1.3;
}
.about-bio p {
  color: var(--ink);
  max-width: 58ch;
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 1.6;
}
.about-bio p:last-of-type { color: var(--ink-2); }

/* Manifesto block inside About — Conner's voice */
.manifesto {
  margin: 36px 0 8px;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--accent);
}
.manifesto p {
  color: var(--ink) !important;
  max-width: 56ch;
  font-size: 18px;
  line-height: 1.55;
  font-style: italic;
  margin: 0 0 16px;
  letter-spacing: -0.005em;
}
.manifesto p:last-child {
  margin-bottom: 0;
}
@media (max-width: 760px) {
  .manifesto { padding-left: 18px; margin: 28px 0 4px; }
  .manifesto p { font-size: 16px; }
}

.about-sig {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: 'IBM Plex Serif', serif;
  font-style: italic;
  color: var(--navy);
  font-size: 22px;
}

/* ─── FAQ ──────────────────────────────────────────────────────────────── */
.faq-list { margin-top: 32px; border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 26px 0;
  font: 500 19px/1.35 'IBM Plex Serif', serif;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  letter-spacing: -0.005em;
}
.faq-q:hover { color: var(--accent); }
.faq-sign {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 300;
  color: var(--ink-2);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
  transition: transform 150ms ease;
}
.faq-item.open .faq-sign { transform: rotate(45deg); }
.faq-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 250ms ease;
}
.faq-body-inner {
  padding: 0 48px 28px 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
  max-width: 65ch;
}

/* ─── Booking (Calendly inline) ────────────────────────────────────────── */
.book-section {
  padding-top: 96px;
  padding-bottom: 96px;
}
.book-section .lede {
  max-width: 65ch;
  margin-bottom: 36px;
}
.book-inline-phone {
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  border-bottom: 1px solid var(--rule-2);
  padding-bottom: 1px;
  white-space: nowrap;
}
.book-inline-phone:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.book-section .calendly-inline-widget {
  margin-top: 8px;
  border: 1px solid var(--rule);
  background: var(--bg);
}
.book-fallback {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px dashed var(--rule);
  font-size: 14px;
  color: var(--ink-2);
  text-align: center;
  max-width: none;
  line-height: 1.5;
}
.book-fallback a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.book-fallback a:hover { color: var(--accent-hover); }

.book-alt {
  margin: 12px 0 0;
  padding-top: 12px;
  font-size: 14px;
  color: var(--ink-2);
  font-style: italic;
  text-align: center;
  max-width: none;
  line-height: 1.5;
}
.book-alt-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.book-alt-link:hover { color: var(--accent-hover); }

/* ─── Final CTA (navy) ─────────────────────────────────────────────────── */
.final-cta {
  text-align: left;
  padding: 120px 28px;
}
.final-cta-inner { max-width: 780px; margin: 0 auto; }
.final-cta h2 { color: #F4F1E8; max-width: 20ch; }
.final-cta p {
  color: #C4CBD4;
  font-size: 18px;
  max-width: 60ch;
  margin: 0 0 36px;
}
.final-cta .phone-big {
  display: block;
  margin-top: 24px;
  font-family: 'IBM Plex Serif', serif;
  font-size: 22px;
  color: #F4F1E8;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.final-cta .phone-big:hover { color: var(--accent); }

/* ─── Footer ───────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--rule);
  padding: 32px 28px 36px;
}
.footer-tagline {
  max-width: 1180px;
  margin: 0 auto 24px;
  padding: 0 0 20px;
  font-family: 'IBM Plex Serif', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 17px;
  color: var(--navy);
  letter-spacing: -0.005em;
  text-align: center;
  border-bottom: 1px solid var(--rule);
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink-2);
  font-size: 13px;
  flex-wrap: wrap;
}
.footer-left { display: flex; align-items: center; gap: 10px; }
.footer-phone { text-decoration: none; }
.footer-phone:hover { color: var(--accent); }

/* ─── Story page ───────────────────────────────────────────────────────── */
.story-wrap {
  padding-top: 80px;
  padding-bottom: 96px;
}
.story-headline {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 500;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 48px;
  max-width: 18ch;
  text-wrap: balance;
}
.story-body p {
  color: var(--ink);
  max-width: 60ch;
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.65;
}
.story-photo {
  margin: 0 0 56px;
  padding: 0;
}
.story-photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--rule-2);
  background: var(--bg-2);
}
.story-lede {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 500;
  font-size: 24px !important;
  line-height: 1.4 !important;
  color: var(--navy) !important;
  letter-spacing: -0.01em;
  margin-bottom: 32px !important;
}
.story-pull {
  margin: 64px 0;
  padding: 40px 0 40px 36px;
  border-left: 3px solid var(--accent);
  max-width: 40ch;
}
.story-pull p {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.3;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  text-wrap: balance;
}
.story-pull p:last-child { margin: 0; color: var(--accent); }
.story-sign {
  margin-top: 0;
  font-family: 'IBM Plex Serif', serif;
  font-style: italic;
  color: var(--navy);
  font-size: 22px;
}
.story-cta {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

/* Active nav link state */
.nav-link-active { color: var(--navy); font-weight: 500; }

/* "Read more" link in the home-page About section */
.about-more {
  display: inline-block;
  margin-top: 16px;
  color: var(--accent);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color 120ms ease, border-color 120ms ease;
}
.about-more:hover { color: var(--accent-hover); border-color: var(--accent-hover); }

@media (max-width: 760px) {
  .story-wrap { padding-top: 48px; padding-bottom: 72px; }
  .story-pull { margin: 48px 0; padding: 28px 0 28px 22px; }
  .story-body p { font-size: 17px; }
}

/* ─── Booking modal ────────────────────────────────────────────────────── */
.modal-scrim {
  position: fixed;
  inset: 0;
  background: rgba(26, 32, 44, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 160ms ease;
}
.modal-scrim[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
  background: var(--bg);
  border: 1px solid var(--rule-2);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 36px 32px;
  position: relative;
  animation: slideUp 200ms ease;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--ink-2);
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}
.modal-close:hover { color: var(--accent); }
.modal h3 { font-size: 26px; margin-bottom: 8px; }
.modal-sub { color: var(--ink-2); font-size: 15px; margin: 0 0 28px; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 600;
  margin-bottom: 8px;
}
.field label .opt {
  text-transform: none;
  letter-spacing: 0;
  color: var(--rule-2);
  font-weight: 400;
  margin-left: 6px;
}
.field input,
.field textarea {
  width: 100%;
  font: 400 16px/1.4 'Inter', sans-serif;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--rule-2);
  border-radius: 2px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 120ms ease;
}
.field input:focus,
.field textarea:focus { border-color: var(--navy); }
.field.err input,
.field.err textarea { border-color: var(--accent); }
.field .err-msg { color: var(--accent); font-size: 12px; margin-top: 6px; }
.field .err-msg[hidden] { display: none; }

.modal-cta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
  flex-wrap: wrap;
}
.modal-cta .btn { flex: 1 1 auto; }
.modal-small {
  font-size: 12px;
  color: var(--ink-2);
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  line-height: 1.5;
}

.form-error {
  margin-top: 16px;
  padding: 12px 14px;
  background: rgba(192, 86, 33, 0.08);
  border-left: 3px solid var(--accent);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}
.form-error[hidden] { display: none; }
.form-error a { color: var(--accent); font-weight: 500; text-decoration: underline; }
.form-error a:hover { color: var(--accent-hover); }

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.modal-success { text-align: left; padding: 20px 0; }
.modal-success[hidden] { display: none; }
.modal-success .check {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--navy);
}
.modal-success h3 { margin-bottom: 10px; }
.modal-success p {
  color: var(--ink-2);
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.55;
}
.modal-success p strong { color: var(--ink); }

/* ─── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .jaw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .jaw-grid.jaw-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}
@media (max-width: 880px) {
  .hero-phone-frame { width: 300px; justify-self: center; }
  .section-navy-block { padding: 72px 22px; }
  .jaw-grid.jaw-grid-3 { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .jaw-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .hero-wrap { padding-top: 56px; padding-bottom: 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .section, .section-tight { padding: 72px 22px; }
  .stat-row { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; margin-top: 40px; }
  .step { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .build-list { grid-template-columns: 1fr; gap: 0; }
  .sms-stage { grid-template-columns: 1fr; gap: 48px; }
  .phone-frame { justify-self: center; }
  .qual-grid { grid-template-columns: 1fr; gap: 48px; }
  .worked-examples { grid-template-columns: 1fr; gap: 12px; }
  .pricing-piece { margin-top: 48px; padding-top: 32px; }
  .pricing-piece-heading { font-size: 24px; }
  .pricing-90day { padding: 26px 24px; }
  .availability-band { padding: 32px 24px; margin: 48px 0 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-portrait { max-width: 280px; }
  .nav-right .nav-link-hide { display: none; }
  h1.hero { font-size: 40px; }
  .hero-sub { font-size: 17px; }
  .modal { padding: 28px 22px; }
  .final-cta { padding: 80px 22px; }
}

@media (max-width: 520px) {
  .nav-right .nav-phone-hide { display: none; }
  .nav-inner { padding: 14px 20px; }
  .hero-meta { gap: 24px; }
}
