/* ════════════════════════════════════════════════════════════
   Vital Mosaic Marketing Site — styles.css
   Premium dark-mode health-tech aesthetic
   ════════════════════════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #0a0e1a;
  --bg-card:     #111827;
  --bg-dark:     #060a14;
  --surface:     #1e293b;
  --border:      #64748b; /* Solid Slate-500: 4.08:1 contrast on #0a0e1a (WCAG 2.2 AA SC 1.4.11 compliant >= 3:1) */
  --border-subtle: rgba(148, 163, 184, 0.22);
  --text:        #f1f5f9;
  --text-muted:  #cbd5e1;
  --text-dim:    #94a3b8;
  --text-bright: #ffffff;
  --primary:     #4f46e5;
  --primary-text: #c7d2fe;
  --primary-glow: rgba(79, 70, 229, 0.18);
  --accent:      #38bdf8;
  --teal:        #0f766e;
  --green:       #16a34a;
  --yellow:      #d97706;
  --red:         #dc2626;
  --blue:        #2563eb;
  --purple:      #7c3aed;
  --radius:      12px;
  --radius-lg:   20px;
  --font:        'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-mono:   'JetBrains Mono', monospace;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.bot-card,
article[id],
section[id] {
  scroll-margin-top: 96px;
}

body {
  font-family: var(--font);
  font-size: 1.0625rem; /* Apple HIG 17pt baseline body size */
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

img { max-width: 100%; display: block; }
a { color: var(--primary-text); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--primary-text); outline-offset: 3px; border-radius: 4px; }

code, pre, kbd, samp {
  font-family: var(--font-mono);
  font-size: 0.9em;
}
code {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--primary-text);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  background: #7c3aed;
  color: #ffffff;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}
.inline-touch-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons (Apple HIG >= 44pt / Material >= 48dp Touch Targets) ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  white-space: normal;
}
.btn--primary {
  background: #4f46e5;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.btn--primary:hover {
  background: #4338ca;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  color: #ffffff;
}
.btn--teal {
  background: #0f766e;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.btn--teal:hover {
  background: #115e59;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  color: #ffffff;
}
.btn--glass {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-bright);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
}
.btn--glass:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
  color: #fff;
}
.btn--outline {
  background: transparent;
  color: var(--text-bright);
  border: 2px solid var(--border);
}
.btn--outline:hover {
  border-color: #818cf8;
  color: var(--primary-text);
  background: rgba(124, 58, 237, 0.08);
}
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }
.btn--full { width: 100%; }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: calc(14px + env(safe-area-inset-top, 0px)) env(safe-area-inset-right, 0px) 14px env(safe-area-inset-left, 0px);
  transition: all 0.35s ease;
}
.nav--scrolled {
  background: rgba(10, 14, 26, 0.88);
  backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  padding: calc(10px + env(safe-area-inset-top, 0px)) env(safe-area-inset-right, 0px) 10px env(safe-area-inset-left, 0px);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 44px;
  min-width: 44px;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}
.nav__wordmark {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.nav__vital {
  color: #ffffff;
  font-weight: 800;
}
.nav__mosaic {
  color: #38bdf8;
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 1.05rem;
}
.nav__links {
  display: flex;
  list-style: none;
  gap: clamp(10px, 1.6vw, 24px);
  align-items: center;
}
.nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 6px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav__links a:hover { color: var(--text-bright); }
.nav__cta { font-size: 0.88rem; padding: 10px 22px; flex-shrink: 0; white-space: nowrap; font-weight: 700; }

/* ── Navigation Dropdown for Who We Are ── */
.nav__dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.nav__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: color 0.2s;
}
.nav__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 8px;
  min-width: 210px;
  list-style: none;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.6);
  z-index: 100;
  margin-top: 8px;
}
.nav__dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  display: block;
  animation: navDropdownFade 0.18s ease-out;
}
@keyframes navDropdownFade {
  from { opacity: 0; transform: translate(-50%, -6px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
.nav__dropdown-menu li {
  margin: 0;
  padding: 0;
}
.nav__dropdown-menu a {
  display: flex !important;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  padding: 10px 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-radius: 8px;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.nav__dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-bright) !important;
}
.nav__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  min-width: 48px;
  min-height: 48px;
  padding: 10px;
}
.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 14, 26, 0.65) 0%,
    rgba(10, 14, 26, 0.80) 50%,
    rgba(10, 14, 26, 0.98) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 800px;
  margin: 0 auto;
}
.hero__badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid rgba(124, 58, 237, 0.3);
  background: rgba(124, 58, 237, 0.08);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 28px;
  line-height: 1.4;
}
.hero__title {
  font-size: clamp(2.25rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-bright);
  margin-bottom: 24px;
}
.hero__gradient {
  color: #38bdf8;
  font-weight: 800;
}
.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero__stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
}
.hero__stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ── Sections ── */
.section {
  padding: 100px 0;
}
.section--dark {
  background: var(--bg-dark);
}
.section__header {
  text-align: center;
  margin-bottom: 64px;
}
.section__badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.25);
  color: #c4b5fd;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.section__badge--accent {
  background: rgba(244, 114, 182, 0.1);
  border-color: rgba(244, 114, 182, 0.25);
  color: var(--accent);
}
.section__badge--teal {
  background: rgba(20, 184, 166, 0.1);
  border-color: rgba(20, 184, 166, 0.25);
  color: #2dd4bf;
}
.section__title {
  font-size: clamp(1.85rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-bright);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Feature Mosaic (Bento Grid) ── */
.features__mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mosaic-tile {
  padding: 32px 28px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  height: 100%;
}
.mosaic-tile:hover {
  transform: translateY(-4px);
  z-index: 2;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.mosaic-tile--full {
  grid-column: 1 / -1 !important;
  padding: 36px 32px;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.95) 0%, rgba(30, 27, 75, 0.65) 100%);
  border: 1px solid rgba(139, 92, 246, 0.28);
}
.mosaic-tile--full:hover {
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.15);
}
.feature-card__icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.mosaic-tile h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 10px;
  line-height: 1.3;
  position: relative;
  z-index: 2;
}
.mosaic-tile p {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.65;
  position: relative;
  z-index: 2;
}

/* Care Team Centerpiece Banner inside Bento */
.care-team-banner__header {
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}
.care-team-banner__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.care-team-banner__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(139, 92, 246, 0.35);
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 4px;
}
.care-team-banner__title {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.25;
  margin: 0;
}
.care-team-banner__intro {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 820px;
  margin: 0;
}
.care-team-banner__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0 24px;
  position: relative;
  z-index: 2;
}
.care-team-mini-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  min-height: 48px;
}
.care-team-mini-card:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-2px);
}
.care-team-mini-card__avatar {
  font-size: 1.45rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.care-team-mini-card__content {
  flex: 1;
  min-width: 0;
}
.care-team-mini-card__name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.care-team-mini-card__role {
  font-size: 0.78rem;
  font-weight: 500;
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.12);
  padding: 1px 7px;
  border-radius: 4px;
}
.care-team-mini-card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
.care-team-banner__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
}

/* Mosaic Structural Sizes (Clean Responsive Alignment) */
.mosaic-tile--large,
.mosaic-tile--wide,
.mosaic-tile--tall,
.mosaic-tile--normal {
  grid-column: span 1;
  grid-row: span 1;
}

/* Mosaic Clean Clinical Cards */
.tile-color-primary,
.tile-color-teal,
.tile-color-accent,
.tile-color-yellow,
.tile-color-green,
.tile-color-blue,
.tile-color-purple,
.tile-color-red {
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.tile-color-primary::before,
.tile-color-teal::before,
.tile-color-accent::before,
.tile-color-yellow::before,
.tile-color-green::before,
.tile-color-blue::before,
.tile-color-purple::before,
.tile-color-red::before {
  display: none;
}


/* ── Split Layout (For Patients / For Providers) ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--reverse .split__content { order: 2; }
.split--reverse .split__visual { order: 1; }

.split__content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.split__content strong { color: var(--text-bright); }

.check-list {
  list-style: none;
  margin-bottom: 32px;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ── Glass Cards ── */
.glass-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
}
.glass-card--patient {
  border-color: rgba(244, 114, 182, 0.2);
  box-shadow: 0 8px 40px rgba(244, 114, 182, 0.08);
}
.glass-card--provider {
  border-color: rgba(20, 184, 166, 0.2);
  box-shadow: 0 8px 40px rgba(20, 184, 166, 0.08);
}
.glass-card__header {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.glass-card__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.glass-card__row:last-of-type { border-bottom: none; }
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot--green { background: var(--green); }
.dot--yellow { background: var(--yellow); }
.dot--red { background: var(--red); }
.dot--blue { background: var(--blue); }
.dot--purple { background: var(--purple); }
.glass-card__footer {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.glass-card__badge {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.14);
  border: 1px solid rgba(167, 139, 250, 0.35);
  color: var(--primary-text);
}
.glass-card__badge--ai {
  background: rgba(244, 114, 182, 0.1);
  border-color: rgba(244, 114, 182, 0.2);
  color: var(--accent);
}
.glass-card__badge--teal {
  background: rgba(20, 184, 166, 0.12);
  border-color: rgba(20, 184, 166, 0.25);
  color: #2dd4bf;
}

/* ── Pricing Cards ── */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.pricing-card--featured {
  border-color: rgba(79, 70, 229, 0.6);
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  transform: scale(1.02);
  padding-top: 46px;
}
.pricing-card--featured:hover {
  transform: scale(1.02) translateY(-4px);
}
.pricing-card__popular {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: 999px;
  background: #4f46e5;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
  max-width: calc(100% - 24px);
  overflow: hidden;
  text-overflow: ellipsis;
}
.pricing-card__name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 8px;
}
.pricing-card__price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-bright);
  margin-bottom: 24px;
}
.pricing-card__price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}
.pricing-card__features {
  list-style: none;
  margin-bottom: 28px;
  text-align: left;
}
.pricing-card__features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-left: 24px;
  position: relative;
}
.pricing-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.pricing__disclaimer {
  text-align: center;
  margin-top: 40px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 24px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.pricing__disclaimer p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ── About ── */
.about__content {
  max-width: 720px;
  margin: 0 auto;
}
.about__content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.about__content strong { color: var(--text-bright); }
.about__quote {
  margin: 36px 0;
  padding: 28px 32px;
  border-left: 4px solid var(--primary);
  background: rgba(124, 58, 237, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.8;
}
.about__quote cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-text);
}

/* ── Team Section ── */
.team__header {
  text-align: center;
  margin-top: 140px;
  margin-bottom: 64px;
}
.team__title {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 20px;
}
.team__subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.65;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 96px;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s;
}
.team-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
}
.team-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top;
  border-bottom: 1px solid var(--border);
}
.team-card__content {
  padding: 28px;
}
.team-card__name {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  margin-bottom: 8px;
  color: var(--text-bright);
}
.team-card__role {
  font-size: 1.0625rem;
  color: #c4b5fd;
  font-weight: 600;
  margin-bottom: 16px;
}
.team-card__quote {
  font-style: italic;
  color: var(--accent);
  margin-bottom: 20px;
  border-left: 2px solid var(--accent);
  padding-left: 16px;
  font-size: 1.05rem;
  line-height: 1.6;
}
.team-card__bio p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.68;
}
.team-card__bio p:last-child {
  margin-bottom: 0;
}

/* ── Contact ── */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact__item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}
.contact__icon { font-size: 1.5rem; }
.contact__item strong {
  display: block;
  color: var(--text-bright);
  margin-bottom: 4px;
}
.contact__item p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.contact__item a { color: #c4b5fd; }
.contact__form {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-bright);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem; /* >=16px prevents iOS Safari forced viewport zoom */
  line-height: 1.5;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary-text);
  outline-offset: 2px;
  border-color: var(--primary-text);
  box-shadow: 0 0 0 3px rgba(199, 210, 254, 0.25);
}
.form-group textarea { resize: vertical; }
.form-group select { cursor: pointer; }

/* ── Form Status Containers (ARIA Live Regions) ── */
.form-status {
  margin-top: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  line-height: 1.5;
}
.form-status:not(:empty) {
  padding: 12px 16px;
}
.form-status--info {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid #0284c7;
}
.form-status--success {
  background: rgba(22, 163, 74, 0.15);
  color: #4ade80;
  border: 1px solid #16a34a;
}
.form-status--error {
  background: rgba(220, 38, 38, 0.15);
  color: #fca5a5;
  border: 1px solid #dc2626;
}

/* ── Accessible Audio Transcripts (WCAG 2.2 AA SC 1.2.1) ── */
.audio-transcript {
  margin-top: 12px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.88rem;
  overflow: hidden;
  text-align: left;
}
.audio-transcript summary {
  padding: 10px 14px;
  cursor: pointer;
  color: var(--text-muted);
  font-weight: 700;
  min-height: 44px;
  display: flex;
  align-items: center;
  user-select: none;
  transition: color 0.2s;
}
.audio-transcript summary:hover {
  color: var(--primary-text);
}
.audio-transcript summary:focus-visible {
  outline: 2px solid var(--primary-text);
  outline-offset: -2px;
}
.audio-transcript__body {
  padding: 12px 16px 16px;
  border-top: 1px solid var(--border);
  color: var(--text);
  line-height: 1.6;
}
.audio-transcript__body p {
  margin: 0;
}

/* ── Footer ── */
.footer {
  padding: 60px 0 calc(32px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border);
}
.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 40px;
}
.footer__tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 8px;
}
.footer__links {
  display: flex;
  gap: 48px;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__col h3,
.footer__col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-bright);
  margin-bottom: 6px;
}
.footer__col a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.footer__col a:hover { color: var(--text-bright); }
.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer__bottom p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  line-height: 1.6;
}
.footer__bottom p a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 8px;
}

/* Universal Apple HIG (>=44pt) and Material Design (>=48dp) touch targets (Rule #17) */
.bot-nav-pill,
.filter-chip,
.chapter-btn,
.cas-chip,
.cas-clear-btn,
.btn-ping,
.sub-bar-pill {
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Care Hero Glow Viewport Containment */
.care-hero__glow {
  max-width: 100vw;
  width: clamp(280px, 90vw, 800px);
  overflow: hidden;
}

/* Ensure hero sections never zero out container horizontal margins */
.care-hero,
.journal-header,
.sr-header,
.clinic-hero,
.gift-hero,
.demo-hero {
  padding-left: env(safe-area-inset-left, 18px);
  padding-right: env(safe-area-inset-right, 18px);
  overflow-x: hidden;
}

/* ── Scroll Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Apple HIG, Material Design 3 & WCAG 2.2 AA Responsive Mobile System (Rule #17) ── */
@media (max-width: 1040px) {
  .nav {
    padding-top: calc(10px + env(safe-area-inset-top, 0px));
  }
  .nav__links { display: none; }
  .nav__links--open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px 24px calc(28px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
    border-bottom: 1px solid var(--border);
  }
  .nav__links--open > li > a {
    display: flex;
    align-items: center;
    min-height: 48px;
    font-size: 1.0625rem !important;
    padding: 8px 4px;
  }
  .nav__dropdown {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .nav__dropdown-menu {
    position: static;
    transform: none;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
    border: none;
    border-left: 2px solid rgba(20, 184, 166, 0.5);
    border-radius: 0;
    padding: 6px 0 6px 14px;
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
  }
  .nav__dropdown-menu a {
    min-height: 44px;
    font-size: 1rem !important;
    white-space: normal;
  }
  .nav__toggle { display: flex; }
  .nav__cta {
    font-size: 0.88rem;
    min-height: 44px;
    padding: 8px 16px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .features__mosaic { 
    grid-template-columns: repeat(2, 1fr); 
    grid-auto-rows: auto;
  }
  .care-team-banner__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mosaic-tile--large,
  .mosaic-tile--wide,
  .mosaic-tile--tall,
  .mosaic-tile--normal {
    grid-column: span 1;
    grid-row: span 1;
  }
  .mosaic-tile--full {
    grid-column: 1 / -1 !important;
  }
  
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__content { order: 1; }
  .split--reverse .split__visual { order: 2; }
  .pricing__grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .pricing-card--featured { transform: none; }
  .pricing-card--featured:hover { transform: translateY(-4px); }
  .contact__grid { grid-template-columns: 1fr; }

  .hero__stats { gap: 28px; }

  .footer__top { flex-direction: column; gap: 32px; }
  .footer__links { gap: 36px; flex-wrap: wrap; }
  .footer__col a { min-height: 48px; font-size: 1rem; }
}

@media (max-width: 480px) {
  .nav__inner {
    padding: 0 12px;
    gap: 8px;
  }
  .nav__wordmark {
    font-size: 1.05rem;
  }
  .nav__cta {
    font-size: 0.82rem;
    min-height: 44px;
    padding: 8px 12px;
  }
}

@media (max-width: 380px) {
  .nav__inner {
    padding: 0 8px;
    gap: 6px;
  }
  .nav__wordmark {
    font-size: 0.95rem;
  }
  .nav__cta {
    font-size: 0.78rem;
    min-height: 44px;
    padding: 8px 10px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }

  /* Safe Hero Spacing: Ensure hero sections preserve horizontal padding on mobile */
  .care-hero,
  .journal-header,
  .sr-header,
  .clinic-hero,
  .gift-hero,
  .demo-hero {
    padding-top: 100px !important;
    padding-bottom: 36px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  /* Universal Mobile Card Padding Reduction to 22px 16px */
  .journal-card,
  .rule-card,
  .clinic-card,
  .inquiry-section,
  .gift-form-container,
  .legal-container,
  .glass-card,
  .cas-card,
  .service-card,
  .solution-card,
  .hero-banner,
  .north-star-box,
  .mission-callout,
  .bot-card {
    padding: 22px 16px !important;
  }

  /* Apple HIG 17pt (1.0625rem) body copy & comfortable line heights on mobile */
  body,
  p,
  li {
    font-size: 1.0625rem;
    line-height: 1.65;
  }
  .hero__content {
    padding: 112px 16px 56px;
  }
  h1,
  .hero__title,
  .team__title,
  .journal-header__title,
  .sr-header__title,
  .clinic-hero h1,
  .gift-hero h1,
  .demo-hero h1,
  .coming-soon h1 {
    font-size: clamp(1.75rem, 6.5vw, 2.35rem) !important;
    line-height: 1.2 !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
  }
  .hero__subtitle {
    font-size: clamp(0.95rem, 3.6vw, 1.0625rem) !important;
    line-height: 1.65 !important;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero__actions .btn {
    width: 100%;
    min-height: 50px;
    font-size: 1.05rem;
  }
  .section {
    padding: 64px 0;
  }
  .section__header {
    margin-bottom: 40px;
  }
  h2,
  .section__title {
    font-size: clamp(1.35rem, 5vw, 1.8rem) !important;
    line-height: 1.25 !important;
    overflow-wrap: break-word !important;
  }
  .section__subtitle,
  .hero__lead-quote,
  .hero__lead-subtext,
  .team__subtitle {
    font-size: clamp(0.95rem, 3.6vw, 1.0625rem) !important;
    line-height: 1.6 !important;
  }

  /* Avatar Sizing & Gap Optimization (prevents title crushing) */
  .bot-avatar-group {
    gap: 14px !important;
  }
  .bot-avatar {
    width: 64px !important;
    height: 64px !important;
    border-radius: 18px !important;
    flex-shrink: 0 !important;
  }
  .bot-title-area h2 {
    font-size: clamp(1.35rem, 5vw, 1.65rem) !important;
    line-height: 1.2 !important;
  }

  .features__mosaic {
    grid-template-columns: 1fr !important;
  }
  .care-team-banner__grid {
    grid-template-columns: 1fr !important;
  }
  .care-team-banner__footer {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .care-team-banner__meta {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  .care-team-mini-card {
    padding: 14px !important;
  }
  .mosaic-tile {
    padding: 24px 20px;
  }
  .mosaic-tile h3,
  .mosaic-tile--large h3 {
    font-size: 1.3rem !important;
    line-height: 1.3 !important;
  }
  .mosaic-tile p,
  .mosaic-tile--large p {
    font-size: 1.0625rem !important;
    line-height: 1.65 !important;
  }
  .solutions-grid {
    grid-template-columns: 1fr !important;
  }
  .solution-card {
    padding: 22px 16px !important;
  }
  .team__header {
    margin-top: 112px;
    margin-bottom: 40px;
  }
  .team-card__content {
    padding: 22px 18px;
  }
  .contact__form {
    padding: 24px 18px;
  }
}

@media (max-width: 480px) {
  .nav__inner {
    gap: 8px;
  }
  .nav__wordmark {
    font-size: 1.05rem;
  }
  .nav__cta {
    font-size: 0.82rem !important;
    min-height: 44px !important;
    padding: 8px 12px !important;
  }
}

/* Clinical Disclaimer Badges */
.clinical-disclaimer-badge {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin: 14px 0 16px;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #cbd5e1;
}
.clinical-disclaimer-badge--sam {
  border-left: 3px solid #f59e0b;
  background: rgba(245, 158, 11, 0.08);
}
.clinical-disclaimer-badge--rai {
  border-left: 3px solid #8b5cf6;
  background: rgba(139, 92, 246, 0.08);
}
.clinical-disclaimer-badge strong {
  color: #fff;
}
.clinical-disclaimer-badge .disclaimer-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
  line-height: 1.2;
}

/* Privacy & Sovereignty Manifesto Section */
.manifesto-section {
  background: linear-gradient(180deg, rgba(10, 14, 26, 0.85) 0%, rgba(17, 24, 39, 0.98) 100%);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 56px 40px;
  margin: 64px 0;
  position: relative;
}
.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.manifesto-item {
  padding: 24px;
  background: rgba(30, 41, 59, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.manifesto-item:hover {
  transform: translateY(-2px);
  border-color: rgba(168, 85, 247, 0.3);
}
.manifesto-item h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.manifesto-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 768px) {
  .manifesto-section {
    padding: 36px 20px;
    border-radius: 20px;
    margin: 40px 0;
  }
  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ── Cognitive Ergonomics & Guided Mode Support (Rule #4 & Rule #17) ── */
body.guided-mode,
.guided-mode {
  font-size: 1.125rem !important; /* 18px baseline body typography */
  line-height: 1.75 !important;
  letter-spacing: 0.015em;
}

body.guided-mode p,
body.guided-mode li,
body.guided-mode a:not(.btn),
body.guided-mode span:not(.btn span),
.guided-mode p,
.guided-mode li {
  font-size: 1.125rem !important; /* 18px minimum */
  line-height: 1.75 !important;
}

body.guided-mode h1,
.guided-mode h1 {
  font-size: clamp(2rem, 5vw, 2.75rem) !important;
  line-height: 1.3 !important;
}

body.guided-mode h2,
.guided-mode h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem) !important;
  line-height: 1.35 !important;
}

body.guided-mode h3,
.guided-mode h3 {
  font-size: clamp(1.3rem, 3vw, 1.6rem) !important;
  line-height: 1.4 !important;
}

body.guided-mode .btn,
.guided-mode .btn {
  min-height: 52px !important;
  font-size: 1.125rem !important;
  padding: 14px 28px !important;
}

/* ════════════════════════════════════════════════════════════
   Vital Mosaic Timeline Page System (Rule #17 HIG & WCAG AA)
   ════════════════════════════════════════════════════════════ */

.timeline-hero {
  padding: 140px 24px 48px;
  text-align: center;
  position: relative;
}

.timeline-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 20px;
  background: rgba(79, 70, 229, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.35);
  border-radius: 9999px;
  color: #c7d2fe;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.timeline-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--text-bright);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.timeline-hero__lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* Beta Status Callout Card */
.beta-callout-card {
  background: radial-gradient(circle at 10% 10%, rgba(79, 70, 229, 0.15) 0%, rgba(17, 24, 39, 0.95) 100%);
  border: 1px solid rgba(129, 140, 248, 0.35);
  border-radius: 20px;
  padding: 32px 28px;
  max-width: 880px;
  margin: 0 auto;
  text-align: left;
}

.beta-callout-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.beta-badge {
  font-size: 0.92rem;
  font-weight: 700;
  color: #c7d2fe;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.beta-tag {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 10px;
  border-radius: 9999px;
}

.beta-callout-card__body {
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 16px;
}

.beta-callout-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-dim);
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Timeline Section Layout */
.timeline-section {
  position: relative;
  padding: 64px 0;
}

.timeline-section--darker {
  background: rgba(6, 10, 20, 0.5);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 28px;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.timeline-card:hover {
  transform: translateY(-3px);
  border-color: rgba(148, 163, 184, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.timeline-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.timeline-track-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 9999px;
}

.track-genesis {
  background: rgba(236, 72, 153, 0.15);
  border: 1px solid rgba(236, 72, 153, 0.4);
  color: #f472b6;
}

.track-validation {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.track-cloud {
  background: rgba(45, 212, 191, 0.15);
  border: 1px solid rgba(45, 212, 191, 0.4);
  color: #2dd4bf;
}

.timeline-card__title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-bright);
  line-height: 1.3;
  margin-bottom: 12px;
}

.timeline-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}

.timeline-card p:last-child {
  margin-bottom: 0;
}

/* ── Four Architectural Tracks Grid ── */
.tracks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.track-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.track-card:hover {
  transform: translateY(-3px);
  border-color: rgba(148, 163, 184, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.track-card__icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.track-card__tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a78bfa;
  margin-bottom: 8px;
}

.track-card__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-bright);
  margin-bottom: 12px;
  line-height: 1.3;
}

.track-card p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.track-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}

.track-card__list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.55;
}

.track-card__list li::before {
  content: "•";
  position: absolute;
  left: 6px;
  color: #38bdf8;
  font-size: 1.2rem;
  line-height: 1;
}

/* ── Chronological Feature Timeline ── */
.feature-timeline {
  list-style: none;
  padding: 0;
  margin: 40px auto 0;
  max-width: 900px;
  position: relative;
}

.feature-timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 24px;
  left: 20px;
  width: 2px;
  background: linear-gradient(180deg, #4f46e5 0%, #38bdf8 50%, #10b981 100%);
  opacity: 0.4;
}

.feature-timeline__item {
  position: relative;
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}

.feature-timeline__item:last-child {
  margin-bottom: 0;
}

.feature-timeline__marker {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-bright);
  flex-shrink: 0;
  z-index: 2;
  box-shadow: 0 0 12px rgba(79, 70, 229, 0.35);
}

.feature-timeline__content {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 24px;
  transition: all 0.25s ease;
}

.feature-timeline__content:hover {
  border-color: rgba(148, 163, 184, 0.35);
  transform: translateX(4px);
}

.feature-timeline__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.feature-timeline__header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-bright);
  margin: 0;
}

.feature-timeline__badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 3px 9px;
  border-radius: 9999px;
}

.feature-timeline__content p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ── Roadmap Grid ── */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.roadmap-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 22px;
  transition: all 0.25s ease;
}

.roadmap-card:hover {
  border-color: rgba(148, 163, 184, 0.35);
  transform: translateY(-2px);
}

.roadmap-card__tag {
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #fbbf24;
  margin-bottom: 8px;
}

.roadmap-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 10px;
  line-height: 1.3;
}

.roadmap-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── Closing Call To Action Card ── */
.timeline-cta-section {
  padding: 80px 0 96px;
}

.timeline-cta-card {
  background: radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.25) 0%, rgba(17, 24, 39, 0.98) 75%);
  border: 1px solid rgba(129, 140, 248, 0.4);
  border-radius: 24px;
  padding: 56px 32px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.timeline-cta-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a78bfa;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 4px 14px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.timeline-cta-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--text-bright);
  line-height: 1.2;
  margin-bottom: 14px;
}

.timeline-cta-text {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.timeline-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.timeline-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 28px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
}

@media (max-width: 640px) {
  .feature-timeline::before {
    left: 16px;
  }
  .feature-timeline__marker {
    width: 34px;
    height: 34px;
    font-size: 0.82rem;
  }
  .feature-timeline__item {
    gap: 16px;
  }
  .feature-timeline__content {
    padding: 18px 16px;
  }
  .timeline-cta-card {
    padding: 40px 20px;
  }
  .timeline-cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .timeline-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
  }
  .care-hero__glow,
  .hero__overlay,
  .glow,
  [class*="glow"] {
    animation: none !important;
    filter: none !important;
    opacity: 0.25 !important;
  }
}

/* ════════════════════════════════════════════════════════════
   Color scheme: dark only.
   A light theme was removed (Nov 2026) because many sections use inline
   dark backgrounds / light text that the light variables could not reach,
   which made headings and lists unreadable. Re-introduce only after every
   inline color is moved into CSS variables and both modes pass WCAG 1.4.3.
   ════════════════════════════════════════════════════════════ */
:root {
  color-scheme: dark;
}

