.content-section {
  --module-heading: var(--text-strong);
  --module-text: var(--text);
  --module-muted: var(--text-muted);
  --module-link: var(--color-accent-2);
}

.content-section[data-tone-hint="dark"],
.content-section[data-tone="ink"] {
  --module-heading: rgba(245, 252, 255, 0.998);
  --module-text: rgba(233, 247, 253, 0.998);
  --module-muted: rgba(205, 233, 246, 0.95);
  --module-link: rgba(215, 243, 255, 0.995);
}

.content-section[data-tone-hint="light"],
.content-section[data-tone="paper"] {
  --module-heading: rgba(6, 59, 84, 0.998);
  --module-text: rgba(8, 69, 97, 0.998);
  --module-muted: rgba(38, 87, 111, 0.95);
  --module-link: rgba(7, 91, 126, 0.99);
}

.content-section :where(h1, h2, h3, h4, h5, h6) {
  color: var(--module-heading);
}

.content-section :where(
  p,
  li,
  .lead,
  .showcase-body,
  .spotlight-body,
  .path-subtitle,
  .showcase-bullets,
  .path-bullets,
  .constellation-card-detail,
  .logo-pill-label,
  .stat-label,
  .timeline-title,
  .matrix-col,
  .matrix-row-title
) {
  color: var(--module-text);
}

.content-section :where(
  .showcase-kicker,
  .spotlight-kicker,
  .path-tag,
  .badge,
  .hero-story-slide-rubric > span,
  .hero-story-axiom-code,
  .hero-story-phase-code,
  .mega-title,
  .mega-link-title,
  .mega-feature-kicker
) {
  color: var(--module-heading);
}

.content-section :where(
  .text-muted,
  .stat-detail,
  .hero-story-telemetry-label,
  .hero-story-signal-label,
  .hero-story-panel-kicker,
  .hero-story-cluster-title,
  .constellation-card-category
) {
  color: var(--module-muted);
}

.content-section a {
  color: var(--module-link);
}

.content-section .cta-secondary {
  color: var(--module-heading);
}

.content-section :where(.badge, .showcase-kicker, .spotlight-kicker, .path-tag, .hero-story-slide-rubric > span, .hero-story-chips li, .hero-story-axiom-code) {
  color: var(--module-heading);
}
