/* ============================================
   Modern Childcare Stack — Design System
   Sibling of dcfsasavings.com (green) & dcfsaroi.com (blue)
   Primary accent: amber/orange (#d97706)
   ============================================ */

/* Fonts — Inter, matching sibling sites */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

:root {
  /* Core palette — matches dcfsasavings/dcfsaroi */
  --text-primary: #1a1a1a;
  --text-secondary: #555;
  --text-tertiary: #999;
  --bg-page: #fff;
  --bg-surface: #f9fafb;
  --bg-muted: #f3f4f6;
  --border: #e5e7eb;
  --border-light: #f0f0f0;

  /* Primary accent — amber/orange (distinct from green, blue, purple, teal used on sibling sites) */
  --primary: #d97706;
  --primary-dark: #b45309;
  --primary-soft: #fffbeb;
  --primary-border: #fde68a;

  /* Secondary accents — shared with siblings */
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #eff6ff;
  --green: #16a34a;
  --green-dark: #15803d;
  --green-soft: #f0fdf4;
  --amber: #d97706;
  --amber-soft: #fffbeb;
  --amber-border: #fde68a;
  --red: #dc2626;
  --red-soft: #fef2f2;

  /* Spacing */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  /* Shadows — exact match */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04);

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Menlo, Consolas, monospace;

  /* Animation — exact match */
  --anim-duration: 0.5s;
  --anim-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --anim-stagger: 80ms;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s;
}
a:hover { color: var(--primary-dark); }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -0.03em;
}
h2 {
  font-size: 28px;
  margin-bottom: 8px;
}
h3 {
  font-size: 20px;
}
h4 {
  font-size: 15px;
  font-weight: 600;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.subhead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 560px;
}

.source-line {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 24px;
  font-style: italic;
}

/* ── Layout — matches sibling sites exactly ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 64px 0;
}

.section--cream,
.section--surface { background: var(--bg-surface); }
.section--white { background: var(--bg-page); }
.section--muted { background: var(--bg-muted); }

.section--dark {
  background: var(--text-primary);
  color: #fff;
}
.section--dark .eyebrow { color: var(--primary-border); }
.section--dark .subhead { color: rgba(255,255,255,0.65); }
.section--dark .source-line { color: rgba(255,255,255,0.5); }
.section--dark h2 { color: #fff; }
.section--dark a { color: var(--primary-border); }
.section--dark a:hover { color: #fff; }
.section--dark .btn { color: var(--text-primary); }
.section--dark .btn:hover { color: var(--text-primary); }
.section--dark .btn--primary { color: #fff; }
.section--dark .btn--primary:hover { color: #fff; }

.section--warm {
  background: var(--primary-soft);
}

.text-center { text-align: center; }

/* ── Navigation — exact match to dcfsasavings/dcfsaroi ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.nav .container {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.02em;
}

.nav-logo-icon {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.nav-logo-icon svg {
  width: 16px;
  height: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: var(--text-primary);
  color: #fff !important;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}

.nav-cta:hover {
  background: #333;
  color: #fff !important;
}

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

.nav-mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  margin: 4px 0;
  transition: all 0.3s;
}

/* ── Buttons — exact match ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 4px 12px rgba(217,119,6,0.3);
}

.btn--secondary {
  background: var(--bg-page);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn--secondary:hover {
  background: var(--bg-surface);
  border-color: #d1d5db;
  color: var(--text-primary);
}

.btn--white {
  background: #fff;
  color: var(--text-primary);
}

.btn--white:hover {
  background: var(--bg-surface);
  color: var(--text-primary);
}

.btn--large {
  padding: 13px 28px;
  font-size: 15px;
}

.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Stat Pills — matches stats ribbon pattern ── */
.stat-pills {
  display: flex;
  gap: 1px;
  margin-top: 32px;
  background: var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}

.stat-pill {
  flex: 1;
  background: var(--bg-page);
  padding: 20px 16px;
  text-align: center;
  font-size: 13px;
  color: var(--text-tertiary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-pill strong {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
  display: block;
}

/* ── Cards — matches value-card pattern ── */
.card-grid {
  display: grid;
  gap: 20px;
  align-items: stretch;
}

.card-grid > * {
  height: 100%;
}

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

.card {
  padding: 28px 24px;
  border-radius: var(--radius-md);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.card--bordered {
  background: var(--bg-page);
  border: 1px solid var(--border);
}

.card--bordered:hover {
  box-shadow: var(--shadow-md);
  border-color: #d1d5db;
}

.card--glass {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.card-stat {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.card-stat--terracotta,
.card-stat--primary { color: var(--primary); }
.card-stat--sage,
.card-stat--green { color: var(--green); }
.card-stat--amber { color: var(--amber); }
.card-stat--blue { color: var(--blue); }

.section--dark .card-stat { color: #fff; }

.card-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}

.card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.card-desc a { color: var(--primary); font-weight: 500; }
.card-desc a:hover { text-decoration: underline; }

.section--dark .card-label { color: rgba(255,255,255,0.6); }
.section--dark .card-desc { color: rgba(255,255,255,0.7); }

/* ── Stack Visualization ── */
.stack-container {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 3rem;
}

.stack-sidebar-label {
  position: absolute;
  left: -0.5rem;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  white-space: nowrap;
  transform-origin: center center;
}

.stack-connector {
  position: absolute;
  left: 2rem;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--border);
  border-radius: 1px;
}

.stack-connector::before,
.stack-connector::after {
  content: '';
  position: absolute;
  left: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}
.stack-connector::before { top: 0; }
.stack-connector::after { bottom: 0; }

.stack-layer {
  position: relative;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  transition: all 0.2s;
  cursor: default;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.stack-layer:last-child { margin-bottom: 0; }

.stack-layer:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-lg);
}

.stack-layer--foundation {
  background: var(--text-primary);
  color: #fff;
}
.stack-layer--flex {
  background: var(--primary);
  color: #fff;
}
.stack-layer--community {
  background: var(--amber);
  color: var(--text-primary);
}
.stack-layer--financial {
  background: var(--green);
  color: #fff;
}

.stack-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.stack-layer--community .stack-icon {
  background: rgba(26,35,50,0.12);
}

.stack-content { flex: 1; }

.stack-number {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-bottom: 2px;
}

.stack-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 2px;
}

.stack-subtitle {
  font-size: 13px;
  opacity: 0.8;
}

.stack-tags {
  font-size: 11px;
  opacity: 0.65;
  margin-top: 4px;
}

/* ── Layer Details ── */
.layer-details {
  display: grid;
  gap: 32px;
  margin-top: 48px;
}

.layer-detail {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.layer-detail-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
  width: 40px;
  line-height: 1.3;
}

.layer-detail-content h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.layer-detail-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.layer-detail-content a {
  color: var(--primary);
  font-weight: 500;
}

/* ── Matrix ── */
.matrix-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 32px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-page);
  box-shadow: var(--shadow-sm);
}

.matrix {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 14px;
}

.matrix thead th {
  background: var(--bg-muted);
  color: var(--text-primary);
  padding: 12px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.matrix thead th:first-child {
  text-align: left;
  min-width: 180px;
}

.matrix tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-light);
  text-align: center;
  vertical-align: middle;
}

.matrix tbody td:first-child {
  text-align: left;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
}

.matrix tbody tr:nth-child(even) {
  background: var(--bg-surface);
}

.matrix tbody tr:hover {
  background: var(--primary-soft);
}

.matrix-check {
  color: var(--green);
  font-size: 16px;
  font-weight: 700;
}

.matrix-partial {
  color: var(--amber);
  font-size: 16px;
}

.matrix-na {
  color: var(--text-tertiary);
  font-size: 14px;
}

.matrix-col-highlight {
  background: var(--primary-soft) !important;
}

.matrix-callout {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 100px;
  margin-top: 4px;
}

.matrix-callout--here {
  background: var(--amber-soft);
  color: var(--amber);
}

.matrix-callout--goal {
  background: var(--green-soft);
  color: var(--green);
}

/* ── Pull Quote ── */
.pull-quote {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-primary);
}

.pull-quote-attr {
  display: block;
  font-style: normal;
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 16px;
}

/* ── Feature Cards — matches value-card pattern ── */
.feature-card {
  padding: 28px 24px;
  border-radius: var(--radius-md);
  background: var(--bg-page);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #d1d5db;
}

.feature-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.feature-card-icon--terracotta,
.feature-card-icon--primary { background: var(--primary-soft); }
.feature-card-icon--sage,
.feature-card-icon--green { background: var(--green-soft); }
.feature-card-icon--amber { background: var(--amber-soft); }
.feature-card-icon--blue { background: var(--blue-soft); }

.feature-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ── CTA Section ── */
.cta-section {
  text-align: center;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: 12px;
}

.cta-section p {
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto 24px;
  font-size: 16px;
  line-height: 1.6;
}

.cta-section .subtext {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
}

/* ── Footer — matches siblings ── */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--text-tertiary);
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 13px;
  text-decoration: none;
}

.footer-links a:hover { color: var(--text-primary); }

.footer-source {
  font-style: italic;
  font-size: 12px;
  max-width: 600px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-tertiary);
}

.footer-copy a {
  color: var(--text-secondary);
}

/* ── Timeline ── */
.timeline {
  position: relative;
  padding-left: 48px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-era {
  position: relative;
  margin-bottom: 56px;
}

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

.timeline-marker {
  position: absolute;
  left: -44px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg-page);
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-era:last-child .timeline-marker {
  background: var(--green);
  box-shadow: 0 0 0 2px var(--green);
}

.timeline-era-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}

.timeline-era:last-child .timeline-era-label {
  color: var(--green);
}

.timeline-era h3 {
  margin-bottom: 12px;
}

.timeline-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-xs);
}

.timeline-stat strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.timeline-body h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-top: 16px;
  margin-bottom: 4px;
}

.timeline-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.timeline-callout {
  margin-top: 16px;
  padding: 14px 18px;
  background: var(--primary-soft);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.55;
}

.timeline-callout strong { font-weight: 700; }

/* ── Comparison Table ── */
.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-page);
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 14px;
}

.comparison-table thead th {
  padding: 12px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table thead th:first-child {
  background: var(--bg-muted);
  color: var(--text-tertiary);
  width: 180px;
}

.comparison-table thead th:nth-child(2) {
  background: var(--bg-surface);
  color: var(--text-secondary);
}

.comparison-table thead th:nth-child(3) {
  background: var(--green-soft);
  color: var(--green-dark);
}

.comparison-table tbody td {
  padding: 10px 18px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}

.comparison-table tbody td:first-child {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 13px;
}

.comparison-table tbody td:nth-child(3) {
  color: var(--green-dark);
  font-weight: 500;
}

.comparison-table tbody tr:hover {
  background: var(--bg-surface);
}

/* ── Reveal Animation — exact match ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--anim-duration) var(--anim-ease),
              transform var(--anim-duration) var(--anim-ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Responsive — matches siblings ── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px 32px;
    gap: 12px;
  }

  .nav-links.open { display: flex; }
  .nav-mobile-toggle { display: block; }

  .container { padding: 0 20px; }

  .card-grid--2,
  .card-grid--3,
  .card-grid--4 {
    grid-template-columns: 1fr;
  }

  .stat-pills {
    flex-direction: column;
    background: none;
    box-shadow: none;
    gap: 8px;
  }

  .stat-pill {
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .stack-container { padding-left: 0; }
  .stack-sidebar-label,
  .stack-connector { display: none; }
  .stack-layer { padding: 16px 20px; }

  .timeline { padding-left: 32px; }
  .timeline::before { left: 4px; }
  .timeline-marker {
    left: -28px;
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .nav-links { padding: 12px 16px; }
}

@media (max-width: 480px) {
  .stack-layer {
    flex-direction: column;
    gap: 8px;
  }
}

/* ── Care Journey Timeline ── */
.care-journey {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 32px 0;
}

.care-journey-inner {
  min-width: 800px;
  position: relative;
}

.care-journey-ages {
  display: grid;
  grid-template-columns: 140px repeat(13, 1fr);
  gap: 0;
  margin-bottom: 4px;
}

.care-journey-ages span {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-tertiary);
  text-align: center;
  padding: 4px 0;
  letter-spacing: 0.05em;
}

.care-journey-ages span:first-child {
  text-align: left;
}

.care-journey-phases {
  display: grid;
  grid-template-columns: 140px repeat(13, 1fr);
  gap: 0;
  margin-bottom: 12px;
}

.care-journey-phases span {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.care-journey-phases span:first-child {
  text-align: left;
  background: none;
}

.phase-infant {
  background: #fef3c7;
  color: var(--amber);
  grid-column: span 3;
}

.phase-preschool {
  background: var(--primary-soft);
  color: var(--primary-dark);
  grid-column: span 2;
}

.phase-school {
  background: #f0fdf4;
  color: var(--green-dark);
  grid-column: span 8;
}

.care-journey-row {
  display: grid;
  grid-template-columns: 140px repeat(13, 1fr);
  gap: 2px;
  margin-bottom: 3px;
  align-items: center;
}

.care-journey-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  padding-right: 12px;
  white-space: nowrap;
}

.care-journey-label small {
  display: block;
  font-weight: 400;
  font-size: 10px;
  color: var(--text-tertiary);
  margin-top: 1px;
}

.care-bar {
  height: 28px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #fff;
  transition: opacity 0.2s;
}

.care-bar:hover {
  opacity: 0.85;
}

.care-bar-empty {
  height: 28px;
}

.bar-foundation { background: var(--text-primary); }
.bar-flex { background: var(--primary); }
.bar-community { background: var(--amber); color: var(--text-primary); }
.bar-financial { background: var(--green); }
.bar-light { background: var(--bg-muted); color: var(--text-tertiary); }
.bar-dotted {
  height: 28px;
  border: 2px dashed var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 600;
  color: var(--text-tertiary);
}

.care-journey-divider {
  grid-column: 1 / -1;
  height: 1px;
  background: var(--border-light);
  margin: 6px 0;
}

.care-journey-section-label {
  grid-column: 1 / -1;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-tertiary);
  padding: 8px 0 4px;
}

@media (max-width: 768px) {
  .care-journey {
    margin-left: -20px;
    margin-right: -20px;
    padding: 0 20px;
  }
}

/* ── Utilities ── */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.max-w-prose { max-width: 560px; }
.mx-auto { margin-left: auto; margin-right: auto; }
