@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,500;0,600;0,700;1,500&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
  --navy: #0B1F3A;
  --navy-soft: #13294F;
  --teal: #1B6B63;
  --teal-soft: #E4F0EE;
  --gold: #C9A227;
  --gold-soft: #F6EDD2;
  --amber: #B45309;
  --cream: #FAF8F3;
  --ink: #2A2F36;
  --muted: #6B7280;
  --line: #E4E0D6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'IBM Plex Sans', sans-serif;
  line-height: 1.5;
}

h1, h2, h3 { font-family: 'Lora', serif; color: var(--navy); margin: 0; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header { background: var(--navy); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { color: var(--gold); font-size: 18px; }
.brand-name { font-family: 'Lora', serif; color: #fff; font-size: 18px; letter-spacing: -0.01em; }
.site-nav { display: flex; gap: 24px; }
.site-nav a { color: rgba(255,255,255,0.75); font-size: 14px; font-weight: 500; padding-bottom: 2px; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a.active { color: #fff; border-bottom-color: var(--gold); }

/* Prototype banner */
.proto-banner { background: var(--gold-soft); border-bottom: 1px solid var(--line); }
.proto-banner .wrap { padding: 10px 24px; font-size: 12.5px; color: #7A5E10; }

/* Hero */
.hero { padding: 64px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); }
.hero h1 { font-size: 2.4rem; line-height: 1.15; margin-top: 12px; }
.lede { font-size: 1.05rem; color: var(--muted); margin-top: 16px; max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 8px; font-weight: 600; font-size: 14.5px; border: 1px solid transparent; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: #17544e; }
.btn-ghost { border-color: var(--line); color: var(--navy); }
.btn-ghost:hover { background: #fff; }
.btn-secondary { border: 1px solid var(--line); color: var(--navy); }

.hero-stat {
  background: var(--navy);
  border-radius: 14px;
  padding: 28px 26px;
  color: #fff;
}
.stat-number { font-family: 'Lora', serif; font-size: 3.2rem; color: var(--gold); line-height: 1; }
.stat-label { margin-top: 12px; font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.5; }
.stat-link { display: inline-block; margin-top: 16px; font-size: 13.5px; color: var(--gold); font-weight: 600; }

/* Generic sections */
.section { padding: 48px 0; }
.section.narrow .wrap, .section.narrow { max-width: 720px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.page-title { font-size: 2rem; line-height: 1.2; margin-top: 10px; }

.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.card h3 { font-size: 1.05rem; }
.card p { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* Who We Are */
.workstreams { margin-top: 40px; display: flex; flex-direction: column; gap: 24px; }
.workstream { border-left: 3px solid var(--gold); padding-left: 20px; }
.ws-index { font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--teal); }
.workstream h3 { margin-top: 6px; font-size: 1.2rem; }
.workstream p { margin-top: 8px; color: var(--muted); }

/* Impact dashboard */
.dashboard-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.stat-card-number { font-family: 'Lora', serif; font-size: 2.8rem; color: var(--teal); }
.stat-card-label { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.chart-title { margin-bottom: 18px; }
.bars { display: flex; align-items: flex-end; gap: 16px; height: 160px; }
.bar-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; flex: 1; }
.bar { width: 100%; background: linear-gradient(180deg, var(--gold), var(--teal)); border-radius: 6px 6px 0 0; }
.bar-label { margin-top: 8px; font-size: 12px; color: var(--muted); }
.callout { margin-top: 24px; background: var(--teal-soft); border-radius: 12px; padding: 20px 24px; color: var(--navy); font-size: 14.5px; }

/* Eligibility wizard */
.wizard-grid { display: grid; grid-template-columns: 160px 1fr; gap: 40px; }
.wizard-content { max-width: 560px; }

.statute-trail { display: flex; flex-direction: column; gap: 18px; padding-top: 4px; }
.waypoint { display: flex; align-items: flex-start; gap: 12px; }
.waypoint-dot {
  width: 32px; height: 32px; min-width: 32px; border-radius: 50%;
  border: 2px solid var(--line); display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--muted); transition: all 0.2s ease;
}
.waypoint.is-active .waypoint-dot { background: var(--teal); border-color: var(--teal); color: #fff; }
.waypoint.is-resolved .waypoint-dot { background: var(--gold); border-color: var(--gold); color: #fff; }
.waypoint-label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
.waypoint.is-active .waypoint-label, .waypoint.is-resolved .waypoint-label { color: var(--navy); }
.waypoint-sub { display: block; font-size: 11.5px; color: var(--muted); margin-top: 1px; }

.q-index { font-size: 12px; font-weight: 600; letter-spacing: 0.05em; color: var(--teal); }
.q-title { font-size: 1.7rem; margin-top: 8px; line-height: 1.25; }
.q-hint { color: var(--muted); font-size: 14px; margin-top: 8px; }

.options { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.option {
  text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 16px 18px; cursor: pointer; font-family: inherit;
}
.option:hover { border-color: var(--teal); background: var(--teal-soft); }
.option-title { display: block; font-weight: 600; color: var(--navy); }
.option-sub { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }

.back-link, .text-link { display: inline-block; margin-top: 22px; font-size: 14px; color: var(--muted); }

.result-tag {
  display: inline-flex; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
}
.tone-teal { background: #1B6B631A; color: var(--teal); }
.tone-gold { background: #C9A2271A; color: #8a6c1a; }
.tone-amber { background: #B453091A; color: var(--amber); }
.tone-muted { background: #6B72801A; color: var(--muted); }

.result-section { font-size: 12.5px; font-weight: 600; color: var(--muted); margin-top: 6px; }
.result-body { margin-top: 14px; font-size: 15px; line-height: 1.6; }

.next-steps { margin-top: 22px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.next-steps h3 { font-family: 'IBM Plex Sans', sans-serif; font-size: 14px; }
.next-steps ul { margin: 12px 0 0; padding-left: 18px; }
.next-steps li { font-size: 14px; margin-bottom: 8px; color: var(--ink); }

.result-actions { margin-top: 28px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; }
.site-footer .wrap { padding: 24px; font-size: 12.5px; color: var(--muted); }

/* Responsive */
@media (max-width: 800px) {
  .hero-grid, .dashboard-grid, .wizard-grid, .three-col { grid-template-columns: 1fr; }
  .statute-trail { flex-direction: row; overflow-x: auto; }
  .waypoint-text { display: none; }
}
