/* ============================================================
   AZIMUTH — Shared Site Design System
   Navy / Teal / Slate · Sora + IBM Plex Sans + IBM Plex Mono
   ============================================================ */

:root {
  --navy: #0A192F;
  --navy-deep: #060F1F;
  --teal: #00BFA5;
  --teal-dim: #009E89;
  --slate: #4A5568;
  --cloud: #E6ECF2;
  --white: #FFFFFF;
  --success: #0F7A5C;
  --warning: #A96A00;

  --font-heading: 'Sora', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --grid-line: rgba(0, 191, 165, 0.07);
  --grid-line-strong: rgba(0, 191, 165, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ---- Technical grid background ---- */
.grid-bg {
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* ---- Section divider lines ---- */
.rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cloud), transparent);
}

.rule-teal {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0.3;
}

/* ---- Navigation ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cloud);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--navy); }

.nav-cta {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  background: var(--teal);
  padding: 8px 20px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--teal-dim); }

.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  margin: 4px 0;
  transition: 0.2s;
}

/* ---- Hero ---- */
.hero {
  padding: 160px 24px 120px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 191, 165, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 191, 165, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.hero-inner.hero-single {
  grid-template-columns: 1fr;
  max-width: 820px;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--teal);
}

.hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal);
}

.hero-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  background: var(--teal);
  padding: 14px 28px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s;
}

.btn-primary:hover { background: var(--teal-dim); }

.btn-outline {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 13px 28px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: all 0.2s;
}

.btn-outline:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-dark {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  border: 1px solid rgba(10, 25, 47, 0.25);
  padding: 13px 28px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: all 0.2s;
}

.btn-outline-dark:hover { border-color: var(--navy); }

/* ---- Sections ---- */
.section {
  padding: 96px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--teal);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--teal);
}

.section h2 {
  font-size: clamp(26px, 3vw, 40px);
  margin-bottom: 20px;
}

.section-desc {
  font-size: 17px;
  max-width: 640px;
  color: var(--slate);
  line-height: 1.7;
}

/* ---- Audience strip ---- */
.audience-strip {
  background: var(--navy-deep);
  padding: 32px 24px;
}

.audience-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.audience-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---- Benefit / pillar cards (light) ---- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--cloud);
  margin-top: 64px;
}

.pillars.cols-2 { grid-template-columns: repeat(2, 1fr); }
.pillars.cols-4 { grid-template-columns: repeat(4, 1fr); }

.pillar {
  background: var(--white);
  padding: 48px 40px;
  position: relative;
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 500;
  color: var(--cloud);
  position: absolute;
  top: 24px;
  right: 32px;
  line-height: 1;
}

.pillar h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-right: 40px;
}

.pillar p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--slate);
}

/* ---- Lifecycle / modules grid ---- */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 64px;
  border: 1px solid var(--cloud);
}

.module {
  padding: 40px 24px;
  border-right: 1px solid var(--cloud);
  position: relative;
}

.module:last-child { border-right: none; }

.module::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--teal);
  margin-bottom: 24px;
}

.module h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
}

.module p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate);
}

.module-step {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ---- Dark capability section ---- */
.capabilities-section {
  background: var(--navy);
  padding: 96px 24px;
  position: relative;
  overflow: hidden;
}

.capabilities-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 191, 165, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 191, 165, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
}

.capabilities-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin-top: 64px;
}

.capability {
  padding: 48px 40px;
  background: var(--navy);
  position: relative;
}

.capability-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--teal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.capability-num::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--teal);
}

.capability h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.capability p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}

.capability .tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--teal);
  border: 1px solid rgba(0, 191, 165, 0.25);
  padding: 4px 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 16px;
}

/* ---- Program router cards ---- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.program-card {
  border: 1px solid var(--cloud);
  padding: 36px 32px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
  background: var(--white);
}

.program-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}

.program-card-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--teal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.program-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.35;
}

.program-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate);
  flex-grow: 1;
}

.program-card-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal);
  letter-spacing: 0.04em;
  margin-top: 24px;
}

/* ---- Partner split cards ---- */
.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin-top: 64px;
}

.partner-card {
  background: var(--navy);
  padding: 56px 48px;
}

.partner-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.partner-card p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
}

.partner-points {
  list-style: none;
  margin-bottom: 32px;
}

.partner-points li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.partner-points li::before {
  content: '→';
  color: var(--teal);
  font-family: var(--font-mono);
  font-size: 13px;
  flex-shrink: 0;
}

/* ---- CTA microcopy ---- */
.cta-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 16px;
}

/* ---- Guide gate (email capture) ---- */
.guide-gate,
.guide-gate-done {
  border: 1px solid rgba(0, 191, 165, 0.18);
  background: rgba(0, 191, 165, 0.05);
  padding: 24px;
  margin: 40px auto 0;
  max-width: 520px;
  text-align: center;
}

.guide-gate-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}

.guide-gate-row {
  display: flex;
  gap: 10px;
}

.guide-gate-row .form-input { flex: 1; }

.guide-gate-row .btn-download {
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.guide-gate-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 12px;
}

/* ---- Direct email lines ---- */
.email-line {
  margin-top: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.email-line a {
  color: var(--teal);
  text-decoration: none;
}

.strategic-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.email-line-link {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.email-line-link:hover { color: var(--teal); }

/* ---- Trust row ---- */
.trust-row {
  background: var(--white);
  border-top: 1px solid var(--cloud);
  border-bottom: 1px solid var(--cloud);
  padding: 28px 24px;
}

.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px 40px;
  flex-wrap: wrap;
}

.trust-item {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.trust-item::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--teal);
  flex-shrink: 0;
}

/* ---- Strategic block (quiet) ---- */
.strategic-bar {
  background: var(--navy-deep);
  padding: 48px 24px;
}

.strategic-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.strategic-text {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  max-width: 780px;
}

.strategic-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--teal);
  border: 1px solid rgba(0, 191, 165, 0.3);
  padding: 6px 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}

.strategic-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
}

.strategic-link {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--teal);
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.strategic-link:hover { color: var(--white); }

/* ---- Proof line callout ---- */
.proof-line {
  border-left: 2px solid var(--teal);
  padding: 8px 0 8px 32px;
  margin-top: 56px;
  max-width: 720px;
}

.proof-line p {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
}

/* ---- Sub-CTA strip (vertical pages) ---- */
.subcta-strip {
  background: var(--cloud);
  padding: 24px;
  text-align: center;
}

.subcta-strip p {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--navy);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   STYLIZED PRODUCT MOCKUPS (illustrative UI)
   ============================================================ */

.mock {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mock-dots { display: flex; gap: 6px; }

.mock-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.mock-title {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mock-body { padding: 24px; }

/* Assay read rows */
.assay-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.assay-row:last-child { border-bottom: none; }

.assay-name {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  width: 44px;
  flex-shrink: 0;
  letter-spacing: 0.06em;
}

.assay-bar {
  flex-grow: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.07);
  position: relative;
  overflow: hidden;
}

.assay-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--fill, 80%);
  background: rgba(0, 191, 165, 0.55);
}

.assay-check {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--teal);
  flex-shrink: 0;
}

/* Result chip */
.result-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 18px;
  margin-top: 20px;
}

.result-chip.negative {
  color: #4ADE80;
  border: 1px solid rgba(74, 222, 128, 0.35);
  background: rgba(74, 222, 128, 0.06);
}

.result-chip.flagged {
  color: #FBBF24;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.06);
}

.result-chip::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.mock-microcopy {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.06em;
  margin-top: 14px;
  text-transform: uppercase;
}

/* Dark-mock text rows (vertical-page hero panels) */
.mock-row-dark {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
}

.mock-row-dark:last-of-type { border-bottom: none; }

.mock-row-dark .val {
  color: var(--teal);
  white-space: nowrap;
}

/* Cup illustration + scan line */
.mock-read {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  align-items: center;
}

.cup {
  position: relative;
  width: 96px;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px 6px 10px 10px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.cup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.cup-strips {
  position: absolute;
  inset: 22px 14px 12px;
  display: flex;
  gap: 7px;
  justify-content: center;
}

.cup-strip {
  width: 9px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
}

.cup-strip::before,
.cup-strip::after {
  content: '';
  position: absolute;
  left: 1px;
  right: 1px;
  height: 3px;
  background: rgba(0, 191, 165, 0.6);
}

.cup-strip::before { top: 14px; }
.cup-strip::after { top: 32px; opacity: 0.75; }

.cup-strip.faint::after { opacity: 0.2; }

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  animation: scan 3.2s ease-in-out infinite;
  opacity: 0.85;
}

@keyframes scan {
  0%, 100% { top: 16%; }
  50% { top: 84%; }
}

@media (prefers-reduced-motion: reduce) {
  .scan-line { animation: none; top: 50%; }
}

/* Light-mode mock (dashboard on white sections) */
.mock-light {
  border: 1px solid var(--cloud);
  background: var(--white);
  box-shadow: 0 16px 48px rgba(10, 25, 47, 0.08);
}

.mock-light .mock-titlebar { border-bottom: 1px solid var(--cloud); }
.mock-light .mock-dots span { background: var(--cloud); }
.mock-light .mock-title { color: rgba(10, 25, 47, 0.35); }

.stat-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--cloud);
  border-bottom: 1px solid var(--cloud);
}

.stat-tile {
  background: var(--white);
  padding: 18px 16px;
}

.stat-tile .stat-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--slate);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.stat-tile .stat-value {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}

.stat-tile .stat-note {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--teal);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

.queue-rows { padding: 8px 0; }

.queue-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 20px;
  border-bottom: 1px solid var(--cloud);
  font-size: 12px;
}

.queue-row:last-child { border-bottom: none; }

.queue-ref {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--navy);
  letter-spacing: 0.02em;
  width: 96px;
  flex-shrink: 0;
}

.queue-desc { color: var(--slate); flex-grow: 1; }

.queue-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  flex-shrink: 0;
}

.queue-badge.ok { color: var(--success); background: rgba(15, 122, 92, 0.09); }
.queue-badge.warn { color: var(--warning); background: rgba(169, 106, 0, 0.09); }
.queue-badge.info { color: var(--navy); background: rgba(10, 25, 47, 0.07); }

/* ============================================================
   FINAL CTA + FORM
   ============================================================ */

.final-cta {
  background: var(--navy);
  padding: 120px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 191, 165, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 191, 165, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.final-cta h2 {
  color: var(--white);
  font-size: clamp(26px, 3vw, 40px);
  margin-bottom: 20px;
}

.final-cta p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 40px;
  line-height: 1.7;
}

.final-cta .hero-actions { justify-content: center; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.form-grid .full-width { grid-column: 1 / -1; }

.form-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.form-input::placeholder { color: rgba(255, 255, 255, 0.45); }
.form-input:focus { border-color: var(--teal); }

.form-select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2300BFA5' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form-select option {
  background: var(--navy);
  color: var(--white);
}

.form-submit {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  background: var(--teal);
  padding: 14px 40px;
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.2s;
  width: 100%;
  margin-top: 8px;
}

.form-submit:hover { background: var(--teal-dim); }

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ---- Thank you state ---- */
.thank-you {
  display: none;
  text-align: center;
}

.thank-you.active { display: block; }

.thank-you-check {
  width: 64px;
  height: 64px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.thank-you-check svg {
  width: 28px;
  height: 28px;
}

.resource-card {
  background: rgba(0, 191, 165, 0.06);
  border: 1px solid rgba(0, 191, 165, 0.15);
  padding: 32px;
  margin: 40px auto 0;
  max-width: 480px;
  text-align: center;
}

.resource-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.resource-card h3 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 16px;
}

.resource-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin-bottom: 20px;
}

.btn-download {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  background: var(--teal);
  padding: 12px 28px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s;
}

.btn-download:hover { background: var(--teal-dim); }

.next-steps {
  margin-top: 40px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.next-step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.next-step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal);
  flex-shrink: 0;
  width: 24px;
}

.next-step-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---- Footer ---- */
.footer {
  background: var(--navy-deep);
  padding: 48px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo img {
  height: 24px;
  width: auto;
  opacity: 0.85;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.06em;
}

.footer-right {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
}

.footer-nav {
  max-width: 1200px;
  margin: 0 auto 32px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-nav a {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-nav a:hover { color: var(--teal); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .module:nth-child(2n) { border-right: none; }
  .module:nth-child(n+3) { border-top: 1px solid var(--cloud); }

  .capabilities-grid { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars.cols-4 { grid-template-columns: repeat(2, 1fr); }
}

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

  .nav-links.mobile-open {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--cloud);
    padding: 16px 24px 20px;
  }

  .nav-links.mobile-open a {
    display: block;
    padding: 10px 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero { padding: 120px 24px 80px; }

  .pillars, .pillars.cols-2 { grid-template-columns: 1fr; }
  .modules-grid { grid-template-columns: 1fr; }
  .module { border-right: none; border-bottom: 1px solid var(--cloud); }
  .module:last-child { border-bottom: none; }

  .programs-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }

  .strategic-inner { flex-direction: column; align-items: flex-start; }
  .strategic-text { flex-direction: column; gap: 16px; }
  .strategic-actions { align-items: flex-start; }

  .stat-tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .audience-inner { gap: 24px; }
  .hero-actions { flex-direction: column; }

  .btn-primary, .btn-outline, .btn-outline-dark {
    text-align: center;
    width: 100%;
  }

  .mock-read { grid-template-columns: 1fr; }
  .cup { margin: 0 auto; }
  .guide-gate-row { flex-direction: column; }
}

/* ============================================================
   VERTICAL HUE SYSTEM
   Each program page carries a body class (v-dot, v-workplace, …)
   that retunes the accent hue. Navy stays the base, teal stays
   the CTA colour (brand-locked); the hue tints labels, rules,
   mock values, chips, the hero glow, and the program cards.
   --v      : accent on dark surfaces
   --v-ink  : accent as text on white (WCAG AA for small labels)
   --v-rgb  : the accent as an rgb triplet for alpha tints
   ============================================================ */

:root {
  --v: var(--teal);
  --v-ink: #007A6A; /* teal ink: 5.3:1 on white (WCAG AA small text) */
  --v-rgb: 0, 191, 165;
}

.v-dot        { --v: #FBBF24; --v-ink: #B45309; --v-rgb: 251, 191, 36; }
.v-workplace  { --v: #60A5FA; --v-ink: #1D4ED8; --v-rgb: 96, 165, 250; }
.v-cj         { --v: #A78BFA; --v-ink: #6D28D9; --v-rgb: 167, 139, 250; }
.v-clinical   { --v: #4ADE80; --v-ink: #0F7A5C; --v-rgb: 74, 222, 128; }
.v-treatment  { --v: #FB7185; --v-ink: #BE123C; --v-rgb: 251, 113, 133; }
.v-child      { --v: #7DD3FC; --v-ink: #0369A1; --v-rgb: 125, 211, 252; }

/* Hue-aware retunes (identical to the teal defaults on the homepage) */
.hero-label { color: var(--v); }
.hero-label::before { background: var(--v); }
.hero h1 em { color: var(--v); }

.section-label { color: var(--v-ink); }
.section-label::before { background: var(--v-ink); }
.capabilities-section .section-label,
.final-cta .section-label { color: var(--v); }
.capabilities-section .section-label::before,
.final-cta .section-label::before { background: var(--v); }

.module::before { background: var(--v-ink); }
.module-step { color: var(--v-ink); }
.proof-line { border-left-color: var(--v-ink); }
.trust-item::before { background: var(--v-ink); }
.capability-num { color: var(--v); }
.capability-num::before { background: var(--v); }
.capability .tag { color: var(--v); border-color: rgba(var(--v-rgb), 0.25); }

.mock-row-dark .val { color: var(--v); }
.assay-check { color: var(--v); }
.assay-bar::after { background: rgba(var(--v-rgb), 0.55); }
.cup-strip::before,
.cup-strip::after { background: rgba(var(--v-rgb), 0.6); }
.scan-line { background: linear-gradient(90deg, transparent, var(--v), transparent); }
.mock-microcopy { color: rgba(255, 255, 255, 0.25); }

.result-chip.v {
  color: var(--v);
  border: 1px solid rgba(var(--v-rgb), 0.35);
  background: rgba(var(--v-rgb), 0.06);
}

.subcta-strip { background: rgba(var(--v-rgb), 0.12); }

/* Hero glow: only on program pages */
body[class*="v-"] .hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 70% at 80% 30%, rgba(var(--v-rgb), 0.18), transparent 70%);
  pointer-events: none;
}

/* ---- Program router cards: hue stripe + persona line ---- */
.program-card { border-top: 3px solid var(--v); }
.program-card:hover { border-color: var(--v-ink); border-top-color: var(--v); }
.program-card-label { color: var(--v-ink); }
.program-card-cta { color: var(--v-ink); }

.program-card-for {
  font-size: 12px;
  color: var(--slate);
  margin-bottom: 14px;
  line-height: 1.5;
}

.program-card-for strong {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--v-ink);
  margin-right: 6px;
}

.programs-note {
  margin-top: 32px;
  font-size: 14px;
  color: var(--slate);
}

.programs-note a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--teal);
}

.programs-note a:hover { color: var(--teal-dim); }

/* ---- Workflow steps (3-up variant of the modules grid) ---- */
.modules-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

@media (min-width: 1025px) {
  .modules-grid.cols-3 .module:nth-child(3n) { border-right: none; }
  .modules-grid.cols-3 .module:nth-child(n+4) { border-top: 1px solid var(--cloud); }
}

/* ---- Persona cards (dark section) ---- */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin-top: 64px;
}

.persona {
  background: var(--navy);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
}

.persona-role {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--v);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.persona-role::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--v);
  flex-shrink: 0;
}

.persona h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.3;
}

.persona p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  flex-grow: 1;
}

.persona-proof {
  list-style: none;
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.persona-proof li {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--v);
  border: 1px solid rgba(var(--v-rgb), 0.25);
  padding: 4px 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---- FAQ ---- */
.faq {
  margin-top: 48px;
  max-width: 820px;
  border-top: 1px solid var(--cloud);
}

.faq details { border-bottom: 1px solid var(--cloud); }

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 44px 22px 0;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  line-height: 1.4;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 18px;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 500;
  color: var(--v-ink);
  line-height: 1;
}

.faq details[open] summary::after { content: '−'; }

.faq details p {
  padding: 0 44px 24px 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--slate);
}

/* ---- Other-programs strip ---- */
.programs-strip {
  background: var(--white);
  border-top: 1px solid var(--cloud);
  padding: 32px 24px;
}

.programs-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px 14px;
  flex-wrap: wrap;
}

.programs-strip-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--slate);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-right: 12px;
}

.pchip {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--navy);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--cloud);
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: border-color 0.2s;
}

.pchip::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--v-ink);
  flex-shrink: 0;
}

.pchip:hover { border-color: var(--v-ink); }

/* ---- Responsive additions ---- */
@media (max-width: 1024px) {
  .modules-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .persona-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .modules-grid.cols-3 { grid-template-columns: 1fr; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--teal);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  text-decoration: none;
}

.skip-link:focus { left: 0; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Dark-section headings: same breathing room as light sections */
.capabilities-section h2 { margin-bottom: 20px; }

/* Contact form stacks on phones */
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* Headline <br>s are desktop line-break tuning; let phones wrap naturally
   so no forced break strands a single word on its own line. */
@media (max-width: 768px) {
  h1 br,
  h2 br { display: none; }

  /* A headline marked .stacked keeps its line structure at every width */
  h1.stacked br { display: inline; }

  /* The label's dash sits awkwardly beside a wrapped label on phones */
  .hero-label::before { display: none; }
}

/* ===== COMPANY: founder row ===== */
.company-row { display: flex; align-items: flex-start; gap: 40px; }
.company-founder { flex: 0 0 180px; display: flex; flex-direction: column; gap: 12px; }
.company-link { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--v-ink); text-decoration: none; border-bottom: 1px solid rgba(var(--v-rgb), 0.35); align-self: flex-start; padding-bottom: 2px; }
.company-link:hover { border-bottom-color: var(--v-ink); }
.company-photo { flex: 0 0 180px; width: 180px; height: 180px; border-radius: 12px; object-fit: cover; border: 1px solid var(--cloud); box-shadow: 0 8px 24px rgba(10, 25, 47, 0.10); }
@media (max-width: 720px) {
  .company-row { flex-direction: column; gap: 24px; }
  .company-photo { width: 140px; height: 140px; flex-basis: auto; }
  .company-founder { flex-basis: auto; }
}
