/* The Mental Health AI Policy Project — shared styles */

:root {
  --bg-primary: #FEFCF8;
  --bg-secondary: #FAF6EE;
  --text-primary: #1A1A1A;
  --text-secondary: #5F5E5A;
  --text-muted: #8B8A85;
  --brand-navy: #14274A;
  --brand-navy-light: #233E66;
  --accent: #2E5E4E;
  --accent-light: #3D7866;
  --border: #D5D2C9;
  --border-soft: #E8E5DD;
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

/* Delicate brackets around the wordmark */
.br {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--text-muted);
  opacity: 0.7;
  margin: 0 0.18em;
  display: inline-block;
  transform: translateY(-0.04em);
}

.nav-brand .br,
.footer-brand .br {
  color: var(--bg-primary);
  opacity: 0.5;
}

.hero h1 .br {
  font-size: 0.82em;
  font-weight: 200;
}

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

html { scroll-behavior: smooth; }

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

a { color: inherit; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

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

/* Navigation */
.nav {
  background: var(--brand-navy);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.nav-brand {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--bg-primary);
  text-decoration: none;
  letter-spacing: -0.005em;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--bg-primary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  opacity: 0.9;
  transition: opacity 0.15s;
}

.nav-links a:hover { opacity: 1; }

.nav-links a.active {
  border-bottom: 1.5px solid var(--accent-light);
  padding-bottom: 4px;
}

@media (max-width: 640px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 12px; }
  .nav-brand { font-size: 14px; }
}

/* Hero */
.hero {
  padding: 72px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.hero-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-navy);
  font-weight: 500;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 500;
  color: var(--brand-navy);
  margin-bottom: 24px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  color: #C99B49;
  font-style: italic;
}

.hero .lead {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

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

.hero-right {
  display: flex;
  flex-direction: column;
}

.hero-explore-btn {
  margin-top: 18px;
  align-self: center;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero h1 { font-size: 38px; }
}

@media (max-width: 640px) {
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 32px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: opacity 0.15s, transform 0.15s;
}

.btn:hover { opacity: 0.9; }

.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
}

.btn-secondary {
  background: transparent;
  color: var(--brand-navy);
  border: 1px solid var(--brand-navy);
}

.btn-dark {
  background: var(--brand-navy);
  color: var(--bg-primary);
}

/* Sections */
.section {
  padding: 64px 0;
}

.section.alt {
  background: var(--bg-secondary);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
}

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

.section-label {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.18em;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.section h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  color: var(--brand-navy);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section .lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  margin-bottom: 32px;
  max-width: 720px;
}

/* Stat cards */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.stat-card {
  background: var(--bg-primary);
  border-left: 3px solid var(--accent);
  padding: 24px;
}

.stat-number {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 500;
  color: var(--brand-navy);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-card p {
  font-size: 13px;
  color: var(--text-primary);
  margin-top: 12px;
  line-height: 1.5;
}

.stat-card .source {
  color: var(--text-muted);
  font-size: 12px;
}

/* Issue section — header */
.issue-header {
  margin-bottom: 48px;
}

/* Stake section — header */
.stake-header {
  margin-bottom: 24px;
}

.stake-header .section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.stake-heading {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 500;
  color: var(--brand-navy);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 18px;
  max-width: 720px;
}

.stake-heading em {
  font-style: italic;
  color: #B8963E;
}

.issue-header .section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.section-label-rule {
  display: inline-block;
  width: 48px;
  height: 1.5px;
  background: var(--accent);
  vertical-align: middle;
}

.issue-heading {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 500;
  color: var(--brand-navy);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 18px;
  max-width: 640px;
}

.issue-heading em {
  font-style: italic;
  color: #B8963E;
}

.issue-intro {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 640px;
}

/* Issue section — three-column cards */
.issue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 0.5px solid var(--border);
}

.issue-card {
  padding: 36px 32px 36px 0;
  border-right: 0.5px solid var(--border);
  display: flex;
  flex-direction: column;
}

.issue-card:first-child {
  padding-left: 0;
}

.issue-card:nth-child(2) {
  padding-left: 32px;
}

.issue-card:last-child {
  padding-left: 32px;
  padding-right: 0;
  border-right: none;
}

.issue-card-label {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.18em;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.issue-card-number {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 400;
  color: var(--brand-navy);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.issue-card-rule {
  width: 32px;
  height: 1.5px;
  background: var(--border);
  border: none;
  margin: 0 0 20px;
}

.issue-card-heading {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--brand-navy);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.issue-card-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-primary);
  flex: 1;
}

.issue-card-callout {
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.55;
  color: #B8963E;
  font-style: italic;
}

.issue-card-callout em {
  font-style: italic;
}

@media (max-width: 860px) {
  .issue-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .issue-card {
    padding: 28px 0;
    border-right: none;
    border-bottom: 0.5px solid var(--border);
  }
  .issue-card:first-child { padding-left: 0; }
  .issue-card:nth-child(2) { padding-left: 0; }
  .issue-card:last-child {
    padding-left: 0;
    border-bottom: none;
  }
  .issue-heading {
    font-size: 30px;
  }
  .stake-heading {
    font-size: 30px;
  }
}

@media (max-width: 640px) {
  .issue-heading {
    font-size: 26px;
  }
  .stake-heading {
    font-size: 26px;
  }
  .issue-card-number {
    font-size: 40px;
  }
}

/* Work section — header */
.work-heading {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 500;
  color: var(--brand-navy);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 18px;
  max-width: 720px;
}

.work-heading em {
  font-style: italic;
  color: #B8963E;
}

@media (max-width: 860px) {
  .work-heading {
    font-size: 30px;
  }
}

@media (max-width: 640px) {
  .work-heading {
    font-size: 26px;
  }
}

/* Aims carousel */
.aims-carousel {
  margin-top: 44px;
  position: relative;
}

.aims-carousel-viewport {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(20, 39, 74, 0.18), 0 2px 8px rgba(20, 39, 74, 0.10);
}

.aims-carousel-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.aims-carousel-track .aim-node {
  flex: 0 0 100%;
  min-width: 0;
  background: linear-gradient(135deg, var(--brand-navy) 0%, #1B3460 50%, #1E3A6A 100%);
  border: none;
  border-radius: 10px;
  padding: 28px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
}

.aims-carousel-track .aim-node::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -20%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.aim-node-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.aim-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  line-height: 0.9;
  color: rgba(255, 255, 255, 0.12);
  letter-spacing: -0.03em;
}

.aim-step {
  font-family: var(--sans, "Inter", sans-serif);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

.aim-kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #7EB8A2;
  letter-spacing: 0.22em;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.aim-kicker::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: #7EB8A2;
  display: inline-block;
}

.aim-node h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: #FFFFFF;
  font-style: italic;
  margin-bottom: 10px;
  letter-spacing: -0.005em;
  line-height: 1.35;
}

.aim-node p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 10px;
}

.aim-deliverable {
  margin-top: auto;
  margin-bottom: 0 !important;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px !important;
  line-height: 1.55 !important;
  color: rgba(255, 255, 255, 0.55) !important;
}

.aim-deliverable-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 5px;
}

/* Slide content entrance animation */
@keyframes aimContentFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.aim-node.aim-active .aim-kicker {
  animation: aimContentFadeIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.aim-node.aim-active h3 {
  animation: aimContentFadeIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

.aim-node.aim-active p:not(.aim-deliverable) {
  animation: aimContentFadeIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.aim-node.aim-active .aim-deliverable {
  animation: aimContentFadeIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

/* Carousel navigation */
.aims-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}

.aims-carousel-arrow {
  background: var(--brand-navy);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  font-family: var(--sans);
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
}

.aims-carousel-arrow:hover {
  background: var(--brand-navy-light);
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  transform: scale(1.08);
  box-shadow: 0 2px 12px rgba(20, 39, 74, 0.25);
}

.aims-carousel-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.aims-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(20, 39, 74, 0.35);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.35s, transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.aims-carousel-dot.active {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  transform: scale(1.25);
  box-shadow: 0 0 0 3px rgba(20, 39, 74, 0.15);
}

.aims-carousel-dot:hover {
  background: rgba(20, 39, 74, 0.25);
  border-color: var(--brand-navy);
}

/* Progress bar under viewport */
.aims-carousel-viewport::after {
  content: "";
  display: block;
  height: 3px;
  background: rgba(20, 39, 74, 0.1);
  position: relative;
  margin-top: 0;
  border-radius: 2px;
}

.aims-carousel-progress {
  height: 3px;
  background: var(--brand-navy);
  border-radius: 2px;
  width: 25%;
  transition: margin-left 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 640px) {
  .aims-carousel-track .aim-node {
    padding: 22px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aims-carousel-track {
    transition: none;
  }
  .aim-node.aim-active .aim-kicker,
  .aim-node.aim-active h3,
  .aim-node.aim-active p:not(.aim-deliverable),
  .aim-node.aim-active .aim-deliverable {
    animation: none;
  }
}

/* Commitments band */
.commitments-band {
  padding: 56px 0;
  background: var(--bg-secondary);
}

.commitments-inner {
  border-left: 4px solid #C99B49;
  padding-left: 40px;
  max-width: 900px;
}

.commitments-label {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-navy);
  margin: 0 0 24px 0;
}

.commitments-rule {
  display: inline-block;
  width: 48px;
  height: 1.5px;
  background: var(--brand-navy);
  vertical-align: middle;
}

.commitments-statement {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  line-height: 1.75;
  color: var(--brand-navy);
  margin: 0;
}

@media (max-width: 640px) {
  .commitments-band { padding: 40px 0; }
  .commitments-inner { padding-left: 24px; }
  .commitments-statement { font-size: 18px; }
  .commitments-label { font-size: 11px; }
}

/* Newsletter / Engage band */
.engage-band {
  padding: 40px 0;
  background: var(--bg-secondary);
}

.engage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 540px;
}

.engage-heading {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--brand-navy);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.engage-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 20px;
  max-width: 480px;
}

.engage-form {
  display: flex;
  gap: 0;
  max-width: 440px;
}

.engage-form input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-right: none;
  background: var(--bg-primary);
  font-size: 13px;
  border-radius: 0;
  color: var(--text-primary);
  font-family: var(--sans);
}

.engage-form input[type="email"]:focus {
  outline: none;
  border-color: var(--brand-navy);
}

.engage-form .btn {
  border-radius: 0;
  padding: 10px 20px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}

.engage-cta {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-navy);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--brand-navy);
}

.engage-cta:hover {
  opacity: 0.8;
}

@media (max-width: 860px) {
  .engage-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .engage-band { padding: 28px 0; }
  .engage-heading { font-size: 19px; }
  .engage-form { flex-direction: column; }
  .engage-form input[type="email"] { border-right: 1px solid var(--border); }
}

/* Contact band */
.contact-band {
  padding: 48px 0;
  border-top: 0.5px solid var(--border-soft);
}

.contact-heading {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--brand-navy);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.contact-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-primary);
  max-width: 540px;
  margin-bottom: 14px;
}

.contact-email {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-navy);
  text-decoration: none;
  border-bottom: 1.5px solid var(--brand-navy);
  padding-bottom: 2px;
  transition: opacity 0.15s;
}

.contact-email:hover {
  opacity: 0.7;
}

@media (max-width: 640px) {
  .contact-band { padding: 32px 0; }
  .contact-heading { font-size: 19px; }
}

/* Footer */
.footer {
  background: var(--brand-navy);
  color: var(--bg-primary);
  padding: 32px 0 24px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--bg-primary);
  text-decoration: none;
  font-size: 13px;
  opacity: 0.85;
  transition: opacity 0.15s;
}

.footer-links a:hover { opacity: 1; }

.footer-bottom {
  border-top: 0.5px solid rgba(254, 252, 248, 0.18);
  padding-top: 14px;
  font-size: 11px;
  opacity: 0.65;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* About page specific */
.about-section {
  padding: 56px 0;
  border-bottom: 0.5px solid var(--border);
}

.about-section:last-of-type { border-bottom: none; }

.about-section h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--brand-navy);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.about-section p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 14px;
  max-width: 720px;
}

.about-section .label {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.18em;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.methods-list {
  list-style: none;
  padding: 0;
  max-width: 720px;
  border-top: 0.5px solid var(--border-soft);
}

.methods-list li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  padding: 12px 0 12px 22px;
  border-bottom: 0.5px solid var(--border-soft);
  position: relative;
}

.methods-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--accent);
  font-weight: 500;
}

/* Tracker page specific */
.tracker-hero {
  padding: 56px 0 32px;
}

.tracker-hero h1 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  color: var(--brand-navy);
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 640px;
}

.tracker-hero p {
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 16px;
  max-width: 640px;
  line-height: 1.6;
}

.tracker-hero .meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  gap: 12px;
  align-items: center;
}

.tracker-hero .meta a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.tracker-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.tracker-stat {
  border: 0.5px solid var(--border);
  padding: 16px 20px;
  border-radius: 6px;
  background: var(--bg-primary);
}

.tracker-stat .num {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  color: var(--brand-navy);
  line-height: 1;
  letter-spacing: -0.02em;
}

.tracker-stat .lab {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 8px;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.tracker-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
}

.tracker-filter .label {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-right: 4px;
}

.filter-pill {
  background: transparent;
  color: var(--text-secondary);
  border: 0.5px solid var(--border);
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 400;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.filter-pill.active {
  background: var(--brand-navy);
  color: var(--bg-primary);
  border-color: var(--brand-navy);
  font-weight: 500;
}

.filter-pill .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.tracker-map {
  background: var(--bg-secondary);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 32px;
}

.tracker-map svg { width: 100%; height: auto; max-width: 100%; }

.tracker-detail {
  padding: 32px 0;
  border-top: 0.5px solid var(--border);
}

.tracker-detail .meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
  margin: 24px 0;
}

@media (max-width: 480px) {
  .tracker-detail .meta-grid { grid-template-columns: 1fr; }
}

.tracker-detail .meta-item .meta-label {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.tracker-detail .meta-item p {
  font-size: 14px;
  color: var(--text-primary);
  margin: 0;
}

.tracker-detail h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  color: var(--brand-navy);
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}

.tracker-detail .bill {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.tracker-detail h3 {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 500;
}

.tracker-detail .body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 24px;
  max-width: 720px;
}

.tracker-detail ul {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-primary);
  padding-left: 22px;
  margin-bottom: 28px;
  max-width: 720px;
}

.tracker-detail li { margin-bottom: 6px; }

.tracker-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.tracker-actions a.primary {
  font-size: 13px;
  color: var(--brand-navy);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 2px;
}

.tracker-actions a.secondary {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 0.5px solid var(--border);
  padding-bottom: 2px;
}

.tracker-actions .updated {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: auto;
}

.methodology-bar {
  background: var(--bg-secondary);
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  padding: 28px 0;
}

.methodology-bar .row {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.methodology-bar .text {
  flex: 1;
  min-width: 240px;
}

.methodology-bar h4 {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.18em;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.methodology-bar p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* Inline accents */
.accent-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}

em { font-style: italic; }

/* Hover for SVG state cells */
.tracker-map svg .state-cell {
  cursor: pointer;
}

.tracker-map svg .state-cell rect {
  transition: opacity 0.15s;
}

.tracker-map svg .state-cell:hover rect[data-state] {
  opacity: 0.82;
}

.tracker-map svg .state-cell:focus { outline: none; }
.tracker-map svg .state-cell:focus-visible rect[data-state] {
  stroke: #14274A;
  stroke-width: 1.5;
}

/* Hero tracker (right column) */
.hero-tracker-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.hero-tracker-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 500;
}

.hero-tracker-live {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.hero-tracker-counts {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  display: flex;
  gap: 16px;
  letter-spacing: 0.02em;
}

.hero-tracker-counts strong {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-navy);
  letter-spacing: -0.01em;
  margin-right: 3px;
}

#hero-mini-map {
  display: block;
  width: 100%;
  height: auto;
}

#hero-mini-map .pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: hero-pulse 2.6s ease-in-out infinite;
}

@keyframes hero-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.78; }
}

@media (prefers-reduced-motion: reduce) {
  #hero-mini-map .pulse { animation: none; }
}

.hero-tracker-foot {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.hero-tracker-legend {
  display: flex;
  gap: 14px;
  font-size: 10.5px;
  color: var(--text-secondary);
}

.hero-tracker-legend .lg {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero-tracker-legend .d {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

@media (max-width: 480px) {
  .hero-tracker-counts { font-size: 11px; gap: 10px; }
  .hero-tracker-legend { gap: 8px; font-size: 10px; }
}
