/* ══════════════════════════════════════════
   HABIT LAYER — CENTRALIZED STYLESHEET
   styles.css
   ══════════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

:root {
  /* Core palette */
  --navy:        #1a2438;
  --navy-mid:    #243050;
  --navy-light:  #2e3d61;
  --slate:       #313E4A;
  --slate-mid:   #3d4e5c;
  --slate-light: #4a5d6e;
  --teal:        #3dbfa0;
  --teal-dim:    #2a9980;
  --teal-bright: #52d4b4;
  --gold:        #e8b84b;
  --gold-dim:    #c49a30;
  --sand:        #c8a87a;
  --sand-light:  #e8d5b8;
  --white:       #f8f6f2;
  --off-white:   #ede9e3;
  --body-text:   #d4cfc8;
  --muted:       #9ba8b8;
  --border:      rgba(255,255,255,0.10);
  --border-light: rgba(255,255,255,0.06);
  --border-input: rgba(255,255,255,0.15);

  /* Section backgrounds */
  --bg-hero:        #1a2438;
  --bg-gap:         #1e2b3e;
  --bg-how:         #222f42;
  --bg-verticals:   #313E4A;
  --bg-specialists: #1e2b3e;
  --bg-cta:         #243050;

  --serif: 'Source Serif 4', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;
  --max:  1120px;
  --pad:  clamp(20px, 5vw, 56px);
}

body {
  background: var(--bg-hero);
  color: var(--body-text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── ACCESSIBILITY ── */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ══════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════ */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad);
  background: rgba(26,36,56,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}

/* Nav logo — majority usage: img at height 60px (contact, gap, assessment use this;
   index uses wordmark approach — kept as separate class below) */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img { height: 60px; width: auto; }

/* Wordmark variant (index.html only) */
.nav-wordmark { display: flex; flex-direction: column; line-height: 1; }
.nav-wordmark .habit { font-weight: 600; font-size: 17px; color: var(--white); letter-spacing: -0.02em; }
.nav-wordmark .layer { font-weight: 400; font-size: 9px; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--teal) !important;
  color: var(--navy) !important;
  font-weight: 600 !important;
  padding: 9px 20px;
  border-radius: 6px;
}
.nav-cta:hover { background: var(--teal-bright) !important; }

/* "Do you have a gap?" link (index + contact) */
.nav-assess { color: var(--teal-bright) !important; font-weight: 500 !important; }

/* Back link (assessment only) */
.nav-back { font-size: 13px; color: var(--muted); text-decoration: none; display: flex; align-items: center; gap: 6px; transition: color 0.2s; }
.nav-back:hover { color: var(--white); }
.nav-back svg { opacity: 0.6; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 210;
}
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-drawer {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy);
  z-index: 190;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  transition: opacity 0.3s;
}
.nav-drawer.open { opacity: 1; }
.nav-drawer a { font-size: 22px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-drawer a:hover { color: var(--white); }
.nav-drawer .drawer-cta { background: var(--teal); color: var(--navy) !important; font-weight: 700 !important; padding: 14px 32px; border-radius: 8px; font-size: 16px !important; }

/* ══════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════ */

.btn-primary {
  background: var(--teal);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--teal-bright); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(61,191,160,0.35); }
.btn-primary svg { transition: transform 0.2s; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  color: var(--body-text);
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
  white-space: nowrap;
}
.btn-ghost:hover { color: var(--white); }

/* ══════════════════════════════════════════
   SHARED SECTION UTILITIES
   ══════════════════════════════════════════ */

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.section-label::before { content: ''; width: 24px; height: 1px; background: var(--muted); }

.section-inner { max-width: var(--max); margin: 0 auto; }

/* Section divider line (top border on most sections) */
.section-divider-top::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

/* Page header eyebrow (contact, gap, assessment) */
.page-eyebrow,
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(61,191,160,0.12);
  border: 1px solid rgba(61,191,160,0.3);
  color: var(--teal-bright);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.page-eyebrow::before,
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--teal-bright);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */

footer {
  background: var(--navy);
  padding: 36px var(--pad);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-name { font-weight: 600; font-size: 15px; color: var(--white); }
.footer-tag { font-size: 12px; color: var(--muted); }
.footer-links { display: flex; list-style: none; gap: 28px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

/* ══════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes barGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes dotPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Scroll reveal */
.reveal { transition: opacity 0.7s ease, transform 0.7s ease; }
.js-ready .reveal { opacity: 0; transform: translateY(20px); }
.js-ready .reveal.visible { opacity: 1; transform: translateY(0); }
/* gap.html uses a slightly different pattern (no js-ready guard) */
.reveal-standalone { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-standalone.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.animate-in       { animation: fadeUp 0.8s ease both; }
.animate-in-delay { animation: fadeUp 0.8s 0.15s ease both; }

/* ══════════════════════════════════════════
   INDEX — HERO
   ══════════════════════════════════════════ */

.hero {
  background: var(--bg-hero);
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px var(--pad) 80px;
  gap: 56px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(61,191,160,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 15% 80%, rgba(232,184,75,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.hero-left { position: relative; z-index: 2; animation: fadeUp 0.9s ease both; margin-top: 24px;}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 8px;
}
.hero h1 em { font-style: italic; color: var(--sand-light); font-weight: 300; }

.hero-sub {
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.7;
  color: var(--body-text);
  margin: 22px 0 36px;
  font-weight: 300;
  max-width: 480px;
}
.hero-sub strong { color: var(--white); font-weight: 500; }

.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.hero-trust {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.trust-item { display: flex; flex-direction: column; gap: 3px; }
.trust-item .num { font-family: var(--serif); font-size: 22px; color: var(--white); line-height: 1; font-weight: 400; }
.trust-item .label { font-size: 11px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.trust-divider { width: 1px; height: 32px; background: var(--border); }

/* Hero visual / card stack */
.hero-right {
  position: relative; z-index: 2;
  animation: fadeUp 0.9s 0.2s ease both;
  display: flex; justify-content: center; align-items: center;
}
.card-stack { position: relative; width: min(360px, 100%); height: 440px; }
.card-bg {
  position: absolute;
  width: 90%; height: 200px;
  background: rgba(49,62,74,0.7);
  border: 1px solid var(--border);
  border-radius: 16px;
  top: 24px; right: -16px;
  transform: rotate(3deg);
}
.card-main {
  position: absolute;
  width: 92%;
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 24px;
  top: 0; left: 0;
  box-shadow: 0 24px 64px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.05);
}
.card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.card-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dim));
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 600; color: var(--navy); flex-shrink: 0;
}
.card-patient-info .name { font-size: 14px; font-weight: 600; color: var(--white); }
.card-patient-info .meta { font-size: 12px; color: var(--muted); }
.card-badge {
  margin-left: auto;
  background: rgba(61,191,160,0.15);
  color: var(--teal-bright);
  font-size: 11px; font-weight: 500;
  padding: 3px 9px;
  border-radius: 100px;
  border: 1px solid rgba(61,191,160,0.25);
}
.card-log {
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.card-log .log-label { font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.card-log .log-text { font-size: 13px; color: var(--body-text); line-height: 1.5; font-style: italic; }
.card-log .log-time { font-size: 11px; color: var(--muted); margin-top: 5px; }
.card-response { display: flex; gap: 10px; align-items: flex-start; }
.response-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--navy); flex-shrink: 0;
}
.response-bubble {
  background: rgba(232,184,75,0.1);
  border: 1px solid rgba(232,184,75,0.22);
  border-radius: 10px 10px 10px 2px;
  padding: 11px 13px; flex: 1;
}
.response-bubble .specialist { font-size: 11px; font-weight: 600; color: var(--gold); margin-bottom: 3px; }
.response-bubble .message { font-size: 13px; color: var(--body-text); line-height: 1.5; }
.response-bubble .response-time { font-size: 11px; color: var(--muted); margin-top: 5px; display: flex; align-items: center; gap: 4px; }
.card-metrics {
  position: absolute;
  width: 200px;
  background: var(--slate);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 18px;
  bottom: 0; right: -8px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  animation: floatCard 4s ease-in-out infinite;
}
.metrics-title { font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.metric-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 9px; }
.metric-row:last-child { margin-bottom: 0; }
.metric-label { font-size: 12px; color: var(--body-text); }
.metric-bar-wrap { flex: 1; margin: 0 8px; height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
.metric-bar { height: 100%; border-radius: 2px; background: var(--teal); animation: barGrow 1.5s ease both; }
.metric-bar.gold { background: var(--gold); }
.metric-bar.sand { background: var(--sand); }
.metric-val { font-size: 12px; font-weight: 600; color: var(--white); min-width: 30px; text-align: right; }

/* ══════════════════════════════════════════
   INDEX — THE GAP SECTION
   ══════════════════════════════════════════ */

.section-gap {
  background: var(--bg-gap);
  padding: clamp(70px, 9vw, 110px) var(--pad);
  position: relative;
}
.section-gap::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}
.gap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.gap-left h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 24px;
}
.gap-left h2 em { font-style: italic; color: var(--sand-light); font-weight: 300; }
.gap-left p { font-size: clamp(14px, 1.4vw, 16px); color: var(--body-text); line-height: 1.8; margin-bottom: 16px; font-weight: 300; }
.gap-left p strong { color: var(--white); font-weight: 500; }
.gap-right { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
.pain-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 22px 22px 26px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}
.pain-card:hover { border-color: rgba(255,255,255,0.16); background: rgba(255,255,255,0.06); }
.pain-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; }
.pain-card.teal::before { background: var(--teal); }
.pain-card.gold::before { background: var(--gold); }
.pain-card.sand::before { background: var(--sand); }
.pain-card h4 { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 7px; }
.pain-card p { font-size: 14px; color: var(--body-text); line-height: 1.65; }

/* ══════════════════════════════════════════
   INDEX — HOW IT WORKS
   ══════════════════════════════════════════ */

.section-how {
  background: var(--bg-how);
  padding: clamp(70px, 9vw, 110px) var(--pad);
  position: relative;
}
.section-how::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}
.how-header { text-align: center; max-width: 600px; margin: 0 auto clamp(48px, 6vw, 72px); }
.how-header h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 14px;
}
.how-header h2 em { font-style: italic; color: var(--sand-light); font-weight: 300; }
.how-header p { font-size: clamp(14px, 1.4vw, 16px); color: var(--body-text); line-height: 1.7; font-weight: 300; }

.how-steps {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  position: relative;
}
.how-steps::after {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.67% + 16px);
  right: calc(16.67% + 16px);
  height: 1px;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--sand));
  opacity: 0.35;
}
.step { padding: 28px 24px; text-align: center; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
  margin: 0 auto 18px;
  position: relative; z-index: 1;
}
.step:nth-child(1) .step-num { background: rgba(61,191,160,0.15); color: var(--teal-bright); border: 1px solid rgba(61,191,160,0.3); }
.step:nth-child(2) .step-num { background: rgba(232,184,75,0.15); color: var(--gold); border: 1px solid rgba(232,184,75,0.3); }
.step:nth-child(3) .step-num { background: rgba(200,168,122,0.15); color: var(--sand); border: 1px solid rgba(200,168,122,0.3); }
.step h4 { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--body-text); line-height: 1.7; }

/* ══════════════════════════════════════════
   INDEX — VERTICALS
   ══════════════════════════════════════════ */

.section-verticals {
  background: var(--bg-verticals);
  padding: clamp(70px, 9vw, 110px) var(--pad);
  position: relative;
}
.section-verticals::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}
.verticals-header { margin-bottom: clamp(40px, 5vw, 64px); }
.verticals-header h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 50px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 14px;
}
.verticals-header h2 em { font-style: italic; color: var(--sand-light); font-weight: 300; }
.verticals-header p { font-size: clamp(14px, 1.4vw, 16px); color: var(--body-text); line-height: 1.7; font-weight: 300; max-width: 560px; }

.verticals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.vertical-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  padding: 32px 26px;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.vertical-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.16); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.25); }
.vertical-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  flex-shrink: 0;
}
.vertical-icon svg { opacity: 0.85; }
.vertical-card:hover .vertical-icon svg { opacity: 1; }
.vertical-card h4 { font-size: 15px; font-weight: 600; color: var(--white); }
.vertical-card p { font-size: 14px; color: var(--body-text); line-height: 1.65; }

/* ══════════════════════════════════════════
   INDEX — CARE SPECIALISTS
   ══════════════════════════════════════════ */

.section-specialists {
  background: var(--bg-specialists);
  padding: clamp(70px, 9vw, 110px) var(--pad);
  position: relative;
}
.section-specialists::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}
.specialists-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  max-width: var(--max);
  margin: 0 auto;
}
.specialists-left h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 3.2vw, 52px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 22px;
}
.specialists-left h2 em { font-style: italic; color: var(--sand-light); font-weight: 300; }
.specialists-left p { font-size: clamp(14px, 1.4vw, 16px); color: var(--body-text); line-height: 1.8; margin-bottom: 16px; font-weight: 300; }
.cred-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.cred-tag {
  background: rgba(232,184,75,0.12);
  border: 1px solid rgba(232,184,75,0.25);
  color: var(--gold);
  font-size: 12px; font-weight: 500;
  padding: 5px 12px;
  border-radius: 100px;
}

.specialists-right { display: flex; flex-direction: column; gap: 0; padding-top: 8px; }
.specialist-feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}
.specialist-feature:last-child { border-bottom: none; }
.sf-icon-wrap {
  width: 44px; height: 44px;
  background: rgba(61,191,160,0.1);
  border: 1px solid rgba(61,191,160,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sf-icon-wrap svg { opacity: 0.9; }
.sf-text h4 { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 5px; }
.sf-text p { font-size: 14px; color: var(--body-text); line-height: 1.65; }

/* ══════════════════════════════════════════
   INDEX — CTA SECTION
   ══════════════════════════════════════════ */

.section-cta {
  background: var(--bg-cta);
  padding: clamp(80px, 10vw, 130px) var(--pad);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.section-cta::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}
.section-cta::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(61,191,160,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
.cta-inner h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.5vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 18px;
}
.cta-inner h2 em { font-style: italic; color: var(--sand-light); font-weight: 300; }
.cta-inner p { font-size: clamp(15px, 1.5vw, 17px); color: var(--body-text); line-height: 1.7; margin-bottom: 40px; font-weight: 300; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }

/* ══════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════ */

.page-header {
  padding: 140px var(--pad) 72px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 80% 30%, rgba(61,191,160,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.page-header::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.header-inner { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; }
.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 16px;
}
.page-header h1 em { font-style: italic; color: var(--sand-light); font-weight: 300; }
.page-header p { font-size: clamp(15px, 1.5vw, 17px); color: var(--body-text); line-height: 1.7; font-weight: 300; max-width: 520px; }

.contact-body { background: var(--slate); position: relative; }
.contact-body::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}
.contact-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.form-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(28px, 4vw, 44px);
}
.form-panel h2 { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); font-weight: 400; color: var(--white); margin-bottom: 6px; letter-spacing: -0.01em; }
.form-panel .form-sub { font-size: 14px; color: var(--body-text); margin-bottom: 28px; line-height: 1.6; }
.field-group { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0.04em; }
.field input,
.field textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-input);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--white);
  width: 100%;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(155,168,184,0.5); }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--teal); background: rgba(61,191,160,0.06); }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.btn-submit {
  width: 100%;
  background: var(--teal);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  margin-top: 4px;
  letter-spacing: 0.01em;
}
.btn-submit:hover { background: var(--teal-bright); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(61,191,160,0.3); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-submit .spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(26,36,56,0.3); border-top-color: var(--navy); border-radius: 50%; animation: spin 0.7s linear infinite; }
.btn-submit.loading .spinner { display: block; }
.btn-submit.loading .btn-text { display: none; }

.form-result { display: none; padding: 14px 16px; border-radius: 8px; font-size: 14px; line-height: 1.5; margin-top: 16px; }
.form-result.success { display: block; background: rgba(61,191,160,0.12); border: 1px solid rgba(61,191,160,0.25); color: var(--teal-bright); }
.form-result.error { display: block; background: rgba(232,100,75,0.1); border: 1px solid rgba(232,100,75,0.25); color: #f5a090; }

.schedule-panel { display: flex; flex-direction: column; gap: 24px; }
.schedule-header h2 { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); font-weight: 400; color: var(--white); margin-bottom: 6px; letter-spacing: -0.01em; }
.schedule-header p { font-size: 14px; color: var(--body-text); line-height: 1.6; }
.calendar-embed { background: transparent; border: 0px solid var(--border); border-radius: 16px; overflow: hidden; min-height: 580px; }

.trust-strip { background: var(--navy-mid); border-top: 1px solid var(--border); padding: 36px var(--pad); }
.trust-strip-inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: clamp(24px, 5vw, 56px); flex-wrap: wrap; }
.trust-point { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.trust-point svg { flex-shrink: 0; opacity: 0.7; }
.trust-point strong { color: var(--body-text); font-weight: 500; }

/* ══════════════════════════════════════════
   GAP PAGE
   ══════════════════════════════════════════ */

/* gap.html uses --max: 780px for prose, --max-wide: 1120px for wide sections */
:root { --max-wide: 1120px; }

.page-hero {
  background: var(--navy);
  padding: 148px var(--pad) 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 20%, rgba(61,191,160,0.05) 0%, transparent 60%),
              radial-gradient(ellipse 40% 40% at 10% 90%, rgba(232,184,75,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.hero-inner { max-width: 780px; margin: 0 auto; position: relative; z-index: 1; animation: fadeUp 0.8s ease both; }

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 28px;
}
.page-hero h1 em { font-style: italic; color: var(--sand-light); font-weight: 300; }
.page-hero .lede {
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.7;
  color: var(--body-text);
  font-weight: 300;
  max-width: 640px;
  border-left: 2px solid rgba(61,191,160,0.3);
  padding-left: 20px;
  margin-bottom: 16px;
}
.hero-meta { font-size: 13px; color: var(--muted); margin-top: 32px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-meta .dot { width: 3px; height: 3px; background: var(--muted); border-radius: 50%; opacity: 0.5; }

/* Stat band */
.stat-band { background: var(--navy-mid); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 40px var(--pad); }
.stat-band-inner { max-width: var(--max-wide); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.stat-item { padding: 24px 28px; text-align: center; border-right: 1px solid var(--border); position: relative; }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: var(--serif); font-size: clamp(36px, 4vw, 56px); font-weight: 400; line-height: 1; margin-bottom: 8px; letter-spacing: -0.02em; }
.stat-num.teal { color: var(--teal-bright); }
.stat-num.gold { color: var(--gold); }
.stat-num.sand { color: var(--sand-light); }
.stat-num.muted-light { color: #c4c9d4; }
.stat-label { font-size: 13px; color: var(--muted); line-height: 1.5; max-width: 160px; margin: 0 auto; }
.stat-source { font-size: 11px; color: rgba(155,168,184,0.5); margin-top: 6px; }

/* Prose sections */
.prose-section { padding: clamp(64px, 8vw, 100px) var(--pad); position: relative; }
.prose-section::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.07), transparent);
}
.prose-section.bg-gap    { background: #1e2b3e; }
.prose-section.bg-how    { background: #222f42; }
.prose-section.bg-slate  { background: var(--slate); }
.prose-section.bg-navy   { background: var(--navy); }

.prose-inner { max-width: 780px; margin: 0 auto; }

.section-kicker { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-bright); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.section-kicker::before { content: ''; width: 24px; height: 1px; background: var(--teal-bright); opacity: 0.5; }

.prose-inner h2 { font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; color: var(--white); margin-bottom: 28px; }
.prose-inner h2 em { font-style: italic; color: var(--sand-light); font-weight: 300; }
.prose-inner p { font-size: clamp(15px, 1.5vw, 17px); line-height: 1.85; color: var(--body-text); font-weight: 300; margin-bottom: 22px; }
.prose-inner p:last-child { margin-bottom: 0; }
.prose-inner p strong { color: var(--white); font-weight: 500; }
.prose-inner p em { font-style: italic; color: var(--sand-light); }

.pull-quote { margin: 36px 0; padding: 24px 28px; border-left: 3px solid var(--teal); background: rgba(61,191,160,0.05); border-radius: 0 8px 8px 0; }
.pull-quote p { font-family: var(--serif); font-size: clamp(17px, 1.8vw, 21px) !important; font-style: italic; color: var(--white) !important; font-weight: 300 !important; line-height: 1.6 !important; margin-bottom: 10px !important; }
.pull-quote cite { font-size: 12px; color: var(--muted); letter-spacing: 0.05em; font-style: normal; }
.pull-quote.gold { border-left-color: var(--gold); background: rgba(232,184,75,0.05); }
.pull-quote.gold p { color: var(--sand-light) !important; }

.timeline { margin: 36px 0; display: flex; flex-direction: column; gap: 0; }
.timeline-item { display: grid; grid-template-columns: 80px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border-light); position: relative; }
.timeline-item:last-child { border-bottom: none; }
.tl-day { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-bright); padding-top: 3px; opacity: 0.8; }
.tl-day.dim { color: var(--muted); opacity: 0.6; }
.tl-day.gold { color: var(--gold); opacity: 0.8; }
.tl-content p { font-size: 15px !important; line-height: 1.7 !important; margin-bottom: 0 !important; }
.tl-content .patient-voice { font-style: italic; color: var(--muted); font-size: 14px !important; margin-top: 6px !important; display: block; }

.data-callout { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 12px; padding: 28px 32px; margin: 36px 0; display: flex; gap: 20px; align-items: flex-start; }
.data-callout-num { font-family: var(--serif); font-size: 48px; font-weight: 400; color: var(--teal-bright); line-height: 1; flex-shrink: 0; letter-spacing: -0.02em; }
.data-callout-text p { font-size: 15px !important; margin-bottom: 6px !important; line-height: 1.65 !important; }
.data-callout-text .source-line { font-size: 11px; color: rgba(155,168,184,0.5); margin-top: 8px !important; }

.gap-visual { margin: 40px 0; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 14px; padding: 32px; overflow: hidden; }
.gap-visual-label { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.gap-timeline-bar { display: flex; align-items: stretch; gap: 4px; height: 48px; margin-bottom: 12px; }
.gtb-visit { background: var(--teal); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; color: var(--navy); padding: 0 12px; white-space: nowrap; flex-shrink: 0; }
.gtb-gap { flex: 1; background: rgba(255,255,255,0.04); border: 1px dashed rgba(255,255,255,0.15); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); letter-spacing: 0.05em; position: relative; min-width: 0; }
.gtb-gap-label { font-size: 13px; color: rgba(155,168,184,0.7); }
.gap-annotations { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.gap-annotation { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--muted); flex: 1; min-width: 160px; }
.gap-annotation::before { content: '↑'; font-size: 14px; color: rgba(232,184,75,0.6); flex-shrink: 0; margin-top: 1px; }

.reason-list { display: flex; flex-direction: column; gap: 12px; margin: 32px 0; }
.reason-card { background: rgba(255,255,255,0.035); border: 1px solid var(--border-light); border-radius: 10px; padding: 18px 22px; display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; transition: background 0.2s, border-color 0.2s; }
.reason-card:hover { background: rgba(255,255,255,0.055); border-color: rgba(255,255,255,0.14); }
.reason-pct { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--gold); line-height: 1; padding-top: 2px; }
.reason-text h4 { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.reason-text p { font-size: 13px; color: var(--body-text); line-height: 1.6; margin: 0; }

.prose-divider { width: 48px; height: 1px; background: rgba(255,255,255,0.15); margin: 40px 0; }

.byline-strip { background: var(--navy-mid); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px var(--pad); }
.byline-inner { max-width: 780px; margin: 0 auto; display: flex; align-items: center; gap: 16px; }
.byline-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--teal-dim), var(--navy-light)); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: var(--white); flex-shrink: 0; border: 1px solid rgba(61,191,160,0.25); }
.byline-text .name { font-size: 14px; font-weight: 500; color: var(--white); }
.byline-text .cred { font-size: 12px; color: var(--muted); }

.booking-section { background: var(--slate); padding: clamp(64px, 8vw, 96px) var(--pad); position: relative; }
.booking-section::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent); }
.booking-inner { max-width: var(--max-wide); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.booking-left h2 { font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); font-weight: 400; line-height: 1.2; letter-spacing: -0.01em; color: var(--white); margin-bottom: 16px; }
.booking-left h2 em { font-style: italic; color: var(--sand-light); font-weight: 300; }
.booking-left p { font-size: 15px; color: var(--body-text); line-height: 1.75; font-weight: 300; margin-bottom: 20px; }
.booking-what { margin: 28px 0; display: flex; flex-direction: column; gap: 12px; }
.booking-what-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--body-text); line-height: 1.5; }
.booking-what-item::before { content: ''; width: 6px; height: 6px; background: var(--teal); border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.booking-alt { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.booking-alt a { color: var(--teal-bright); text-decoration: none; transition: color 0.2s; }
.booking-alt a:hover { color: var(--white); }
.cal-wrap { background: #ffffff; border-radius: 16px; overflow: hidden; min-height: 600px; box-shadow: 0 24px 64px rgba(0,0,0,0.3); }
#my-cal-inline-intro { width: 100%; height: 650px; overflow: scroll; }

/* ══════════════════════════════════════════
   ASSESSMENT PAGE
   ══════════════════════════════════════════ */

.stage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 96px var(--pad) 64px;
  position: relative;
  overflow: hidden;
}
.stage::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 40%, rgba(61,191,160,0.05) 0%, transparent 65%);
  pointer-events: none;
}
.stage::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.assessment-card { width: 100%; max-width: 620px; position: relative; z-index: 1; margin-top: 24px;}

.progress-bar-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 36px; }
.progress-steps { display: flex; gap: 6px; flex: 1; }
.progress-step { height: 3px; flex: 1; background: rgba(255,255,255,0.1); border-radius: 2px; transition: background 0.4s ease; }
.progress-step.active { background: var(--teal); }
.progress-step.done { background: rgba(61,191,160,0.4); }
.progress-label { font-size: 12px; color: var(--muted); white-space: nowrap; letter-spacing: 0.04em; }

.q-screen { display: none; animation: fadeUp 0.5s ease both; }
.q-screen.active { display: block; }
.q-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-bright); margin-bottom: 16px; opacity: 0.8; }
.q-text { font-family: var(--serif); font-size: clamp(22px, 3vw, 32px); font-weight: 400; line-height: 1.25; letter-spacing: -0.01em; color: var(--white); margin-bottom: 8px; }
.q-text em { font-style: italic; color: var(--sand-light); font-weight: 300; }
.q-subtext { font-size: 14px; color: var(--muted); margin-bottom: 32px; line-height: 1.6; }

.options { display: flex; flex-direction: column; gap: 10px; }
.option { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); border-radius: 10px; padding: 16px 20px; cursor: pointer; transition: all 0.2s; display: flex; align-items: flex-start; gap: 14px; text-align: left; width: 100%; font-family: var(--sans); }
.option:hover { background: rgba(61,191,160,0.07); border-color: rgba(61,191,160,0.3); transform: translateY(-1px); }
.option.selected { background: rgba(61,191,160,0.12); border-color: rgba(61,191,160,0.5); }
.option-letter { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; color: var(--muted); flex-shrink: 0; margin-top: 1px; transition: all 0.2s; }
.option.selected .option-letter { background: var(--teal); border-color: var(--teal); color: var(--navy); }
.option-main { font-size: 15px; font-weight: 500; color: var(--white); line-height: 1.4; margin-bottom: 3px; }
.option-real { font-size: 13px; color: var(--muted); line-height: 1.5; font-style: italic; }

.q-footer { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.btn-next { background: var(--teal); color: var(--navy); font-family: var(--sans); font-size: 14px; font-weight: 600; padding: 12px 24px; border-radius: 8px; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s; opacity: 0.4; pointer-events: none; letter-spacing: 0.01em; }
.btn-next.ready { opacity: 1; pointer-events: auto; }
.btn-next.ready:hover { background: var(--teal-bright); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(61,191,160,0.3); }
.btn-next svg { transition: transform 0.2s; }
.btn-next:hover svg { transform: translateX(3px); }
.no-email-note { font-size: 12px; color: var(--muted); opacity: 0.7; display: flex; align-items: center; gap: 6px; }
.no-email-note svg { flex-shrink: 0; opacity: 0.6; }

.loading-screen { display: none; text-align: center; animation: fadeUp 0.5s ease both; }
.loading-screen.active { display: block; }
.loading-orb { width: 64px; height: 64px; border-radius: 50%; border: 2px solid rgba(61,191,160,0.2); border-top-color: var(--teal); animation: spin 0.9s linear infinite; margin: 0 auto 28px; }
.loading-title { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--white); margin-bottom: 10px; }
.loading-sub { font-size: 14px; color: var(--muted); line-height: 1.6; max-width: 360px; margin: 0 auto; }
.loading-dots { display: flex; gap: 6px; justify-content: center; margin-top: 24px; }
.loading-dot { width: 6px; height: 6px; background: var(--teal); border-radius: 50%; animation: dotPulse 1.4s ease infinite; }
.loading-dot:nth-child(2) { animation-delay: 0.2s; }
.loading-dot:nth-child(3) { animation-delay: 0.4s; }

.result-screen { display: none; animation: fadeUp 0.6s ease both; }
.result-screen.active { display: block; }
.result-header { margin-bottom: 28px; }
.result-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-bright); margin-bottom: 14px; opacity: 0.8; }
.result-title { font-family: var(--serif); font-size: clamp(22px, 3vw, 32px); font-weight: 400; line-height: 1.2; color: var(--white); margin-bottom: 8px; letter-spacing: -0.01em; }
.result-title em { font-style: italic; color: var(--sand-light); font-weight: 300; }
.result-body { background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 14px; padding: clamp(20px, 3vw, 32px); margin-bottom: 24px; font-size: 15px; color: var(--body-text); line-height: 1.8; font-weight: 300; min-height: 120px; }
.result-body p { margin-bottom: 16px; }
.result-body p:last-child { margin-bottom: 0; }
.result-body strong { color: var(--white); font-weight: 500; }
.result-body em { font-style: italic; color: var(--sand-light); }
.typing-cursor { display: inline-block; width: 2px; height: 16px; background: var(--teal); margin-left: 2px; animation: blink 0.8s step-end infinite; vertical-align: middle; }

.result-cta { background: rgba(61,191,160,0.07); border: 1px solid rgba(61,191,160,0.2); border-radius: 12px; padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.result-cta-text h4 { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.result-cta-text p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.btn-book { background: var(--teal); color: var(--navy); font-family: var(--sans); font-size: 14px; font-weight: 600; padding: 11px 22px; border-radius: 8px; text-decoration: none; white-space: nowrap; transition: all 0.2s; display: inline-flex; align-items: center; gap: 7px; }
.btn-book:hover { background: var(--teal-bright); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(61,191,160,0.3); }
.result-actions { margin-top: 16px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.result-retry { font-size: 13px; color: var(--muted); cursor: pointer; background: none; border: none; font-family: var(--sans); transition: color 0.2s; display: flex; align-items: center; gap: 5px; }
.result-retry:hover { color: var(--white); }
.result-read-more { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.2s; display: flex; align-items: center; gap: 5px; }
.result-read-more:hover { color: var(--white); }

/* Embed mode (assessment iframe) */
body.embed-mode { background: transparent; min-height: auto; }
body.embed-mode nav { display: none; }
body.embed-mode .stage { min-height: auto; padding: 24px; }
body.embed-mode .stage::before,
body.embed-mode .stage::after { display: none; }

/* ══════════════════════════════════════════
   LEGAL PAGES (privacy.html, terms.html)
   ══════════════════════════════════════════ */

.legal-body {
  background: var(--slate);
  position: relative;
  padding: clamp(56px, 7vw, 96px) var(--pad);
}
.legal-body::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}
.legal-inner {
  max-width: 740px;
  margin: 0 auto;
}
.legal-notice {
  background: rgba(232,184,75,0.08);
  border: 1px solid rgba(232,184,75,0.22);
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: 20px 24px;
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.7;
  margin-bottom: 48px;
}
.legal-notice strong {
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.legal-inner h2 {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 400;
  color: var(--white);
  margin: 48px 0 16px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}
.legal-inner h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.legal-inner h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin: 28px 0 10px;
}
.legal-inner p {
  font-size: 15px;
  color: var(--body-text);
  line-height: 1.8;
  margin-bottom: 16px;
  font-weight: 300;
}
.legal-inner p:last-child { margin-bottom: 0; }
.legal-inner ul {
  margin: 12px 0 20px 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-inner ul li {
  font-size: 15px;
  color: var(--body-text);
  line-height: 1.7;
  font-weight: 300;
  padding-left: 18px;
  position: relative;
}
.legal-inner ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--muted);
}
.legal-inner a {
  color: var(--teal-bright);
  text-decoration: none;
  transition: color 0.2s;
}
.legal-inner a:hover { color: var(--white); }

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */

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

  /* index hero */
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 100px; padding-bottom: 60px; gap: 48px; }
  .hero-right { order: -1; }
  .card-stack { width: min(340px, 100%); height: 400px; }
  .card-metrics { width: 180px; }

  /* index gap */
  .gap-grid { grid-template-columns: 1fr; gap: 40px; }

  /* index how */
  .how-steps { grid-template-columns: 1fr; max-width: 480px; }
  .how-steps::after { display: none; }
  .step { text-align: left; display: flex; gap: 20px; align-items: flex-start; padding: 20px 0; }
  .step-num { margin: 0; flex-shrink: 0; width: 44px; height: 44px; font-size: 16px; }

  /* index verticals */
  .verticals-grid { grid-template-columns: repeat(2, 1fr); }
  .vertical-card:nth-child(5) { grid-column: span 2; }

  /* index specialists */
  .specialists-grid { grid-template-columns: 1fr; gap: 40px; }

  /* contact */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .schedule-panel { order: -1; }

  /* gap */
  .stat-band-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-right: none; border-top: 1px solid var(--border); }
  .booking-inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  /* index hero */
  .hero { padding-top: 88px; gap: 36px; }
  .hero-right { display: none; }
  .hero-trust { gap: 14px; }
  .trust-divider { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 14px; }

  /* index verticals */
  .verticals-grid { grid-template-columns: 1fr; }
  .vertical-card:nth-child(5) { grid-column: span 1; }

  /* index cta */
  .cta-actions { flex-direction: column; align-items: center; gap: 16px; }

  /* contact */
  .page-header { padding-top: 110px; padding-bottom: 48px; }
  .trust-strip-inner { gap: 16px; justify-content: flex-start; }

  /* gap */
  .stat-band-inner { grid-template-columns: 1fr 1fr; gap: 1px; }
  .data-callout { flex-direction: column; gap: 12px; }
  .data-callout-num { font-size: 40px; }
  .timeline-item { grid-template-columns: 60px 1fr; }
  #my-cal-inline-intro { height: 550px; }

  /* assessment */
  .result-cta { flex-direction: column; align-items: flex-start; }
  .q-footer { flex-direction: column; align-items: flex-start; }

  /* shared */
  footer { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-links { gap: 16px; }
  .cred-tags { gap: 6px; }
}

/* =========================================
   TESTIMONIALS SECTION
   ========================================= */
.section-testimonials {
  background: #f0ede8;
  padding: 60px 0;
}
.testimonials-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 36px 28px;
  border-left: 4px solid #3DBFA0;
  box-shadow: 0 2px 16px rgba(27,42,71,0.06);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-quote {
  font-family: 'Source Serif 4', serif;
  font-size: 1.08rem;
  line-height: 1.65;
  color: #1B2A47;
  font-style: italic;
}
.testimonial-attr {
  display: flex;
  align-items: center;
  gap: 10px;
}
.testimonial-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3DBFA0;
  flex-shrink: 0;
}
.testimonial-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: #6b7a8d;
  font-weight: 500;
  letter-spacing: 0.01em;
}
@media (max-width: 640px) {
  .testimonials-inner { grid-template-columns: 1fr; padding: 0 20px; }
}

/* =========================================
   DASHBOARD MOCKUP
   ========================================= */
.dashboard-mockup {
  margin-top: 64px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.mockup-browser {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(27,42,71,0.16), 0 2px 8px rgba(27,42,71,0.08);
  border: 1px solid rgba(27,42,71,0.1);
}
.mockup-bar {
  background: #e8e5e0;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot.red    { background: #ff5f57; }
.mockup-dot.yellow { background: #febc2e; }
.mockup-dot.green  { background: #28c840; }
.mockup-url {
  margin-left: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  color: #8a8a8a;
  background: #f0ede8;
  padding: 3px 12px;
  border-radius: 6px;
}
.mockup-body {
  display: flex;
  background: #f8f7f5;
  min-height: 320px;
}
.mockup-sidebar {
  width: 180px;
  background: #fff;
  border-right: 1px solid #e8e5e0;
  padding: 20px 0;
  flex-shrink: 0;
}
.mockup-logo-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px 20px;
  border-bottom: 1px solid #f0ede8;
  margin-bottom: 8px;
}
.mockup-logo-icon {
  width: 24px;
  height: 24px;
  background: #3DBFA0;
  border-radius: 5px;
}
.mockup-logo-text {
  height: 10px;
  width: 72px;
  background: #d0ccc5;
  border-radius: 4px;
}
.mockup-nav-item {
  padding: 9px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  color: #8a8a8a;
  cursor: default;
}
.mockup-nav-item.active {
  color: #1B2A47;
  font-weight: 600;
  background: #f0f7f5;
  border-left: 3px solid #3DBFA0;
}
.mockup-main {
  flex: 1;
  padding: 20px 24px;
}
.mockup-page-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #1B2A47;
  margin-bottom: 16px;
}
.mockup-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.mockup-stat {
  background: #fff;
  border-radius: 8px;
  padding: 12px 14px;
  border: 1px solid #e8e5e0;
}
.mockup-stat-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  color: #8a8a8a;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mockup-stat-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}
.mockup-stat-num.red  { color: #e05252; }
.mockup-stat-num.gold { color: #C8963E; }
.mockup-stat-num.teal { color: #2E7D6B; }
.mockup-stat-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem;
  color: #aaa;
}
.mockup-table-head {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #1B2A47;
  margin-bottom: 8px;
}
.mockup-table {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e8e5e0;
  overflow: hidden;
}
.mockup-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #f0ede8;
}
.mockup-row:last-child { border-bottom: none; }
.mockup-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}
.mockup-avatar.red-av  { background: #fde8e8; color: #e05252; }
.mockup-avatar.gold-av { background: #fdf0dc; color: #C8963E; }
.mockup-avatar.teal-av { background: #e0f5f0; color: #2E7D6B; }
.mockup-row-info { flex: 1; }
.mockup-row-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #1B2A47;
}
.mockup-row-meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  color: #aaa;
}
.mockup-flag {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}
.mockup-flag.red-flag   { background: #fde8e8; color: #e05252; }
.mockup-flag.gold-flag  { background: #fdf0dc; color: #C8963E; }
.mockup-flag.green-flag { background: #e0f5f0; color: #2E7D6B; }
.mockup-caption {
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: #8a8a8a;
  margin-top: 14px;
  font-style: italic;
}
@media (max-width: 700px) {
  .mockup-stat-row { grid-template-columns: repeat(2, 1fr); }
  .mockup-sidebar { display: none; }
}

/* =========================================
   COMPACT SPECIALTIES
   ========================================= */
.verticals-compact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.compact-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(248,246,242,0.14);
  border-radius: 12px;
  padding: 22px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: background 0.2s;
}
.compact-card:hover {
  background: rgba(255,255,255,0.12);
}
.compact-icon {
  flex-shrink: 0;
  width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2px;
}
.compact-text h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #F8F6F2;
  margin: 0 0 6px;
}
.compact-text p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: rgba(248,246,242,0.65);
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 600px) {
  .verticals-compact { grid-template-columns: 1fr; }
}

/* =========================================
   CTA PRICING NOTE
   ========================================= */
.cta-pricing-note {
  margin-top: 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: rgba(248,246,242,0.5);
  text-align: center;
  letter-spacing: 0.01em;
}
