:root {
  --ink: #0b0b0b;
  --paper: #fffdf8;
  --muted: #68645d;
  --line: #d9d4ca;
  --coral: #ff6262;
  --coral-dark: #c94336;
  --gold: #d2a02c;
  --blue: #577ea2;
  --soft-blue: #e8f0f7;
  --soft-coral: #fff0ed;
}

html { scroll-behavior: smooth; }
body { background: var(--paper); }
main { max-width: 1280px; padding-top: clamp(44px, 6vw, 84px); }
main > section { padding: clamp(38px, 6vw, 76px) 0; border-bottom: 1px solid var(--line); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 360px); gap: clamp(30px, 6vw, 90px); align-items: end; padding-top: 0; }
.hero h1 { max-width: 960px; font-size: clamp(54px, 7.7vw, 104px); }
.hero .lede { max-width: 820px; }
.byline { margin-top: 26px; color: var(--muted); font-size: 14px; font-weight: 800; }
.answer-card { background: var(--ink); color: white; padding: 30px; border-top: 10px solid var(--coral); box-shadow: 12px 12px 0 var(--gold); }
.answer-card strong { display: block; font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(72px, 10vw, 126px); line-height: .9; color: var(--coral); }
.answer-card > span:not(.answer-label) { display: block; margin-top: 8px; font-size: 22px; font-weight: 900; }
.answer-card p { margin: 20px 0 0; line-height: 1.5; color: #e8e8e8; }
.answer-label, .scenario-name { display: block; color: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }

.section-heading { max-width: 930px; }
.section-heading h2, .bottom-line h2, .decade h2 { font-family: Impact, "Arial Narrow", Inter, sans-serif; font-size: clamp(40px, 5.3vw, 72px); line-height: 1; text-transform: uppercase; margin: 8px 0 0; }
.eyebrow { margin: 0; color: var(--coral-dark); font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.section-intro { max-width: 900px; font-family: Literata, Georgia, serif; font-size: clamp(19px, 2.2vw, 27px); line-height: 1.45; }
.note { max-width: 920px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.cite { margin-left: 3px; color: var(--coral-dark); font-weight: 900; text-decoration: none; }
.cite:hover { text-decoration: underline; }

.hundred-dollar { display: grid; grid-template-columns: minmax(110px, 4.19fr) minmax(0, 95.81fr); margin: 34px 0 18px; min-height: 190px; border: 2px solid var(--ink); }
.hundred-dollar > div { display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(18px, 3vw, 34px); }
.hundred-dollar strong { font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(42px, 6vw, 82px); line-height: 1; }
.hundred-dollar span { margin-top: 8px; font-weight: 900; }
.hundred-dollar .exceptional { background: var(--coral); color: white; }
.hundred-dollar .surrounding { background: white; }

.scenario-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.scenario-grid article { display: flex; flex-direction: column; border-top: 8px solid var(--blue); }
.scenario-grid article.central { border-color: var(--coral); background: var(--ink); color: white; }
.scenario-grid strong { margin-top: 16px; font-family: Impact, "Arial Narrow", sans-serif; font-size: 68px; line-height: 1; }
.scenario-grid article > span:not(.scenario-name) { font-weight: 900; color: var(--muted); }
.scenario-grid .central > span:not(.scenario-name) { color: #ddd; }
.scenario-grid p { margin-top: 22px; }

.download-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.download { display: inline-block; margin-top: 20px; padding: 12px 15px; border: 2px solid var(--ink); background: var(--ink); color: white; font-size: 13px; font-weight: 900; text-decoration: none; }
.download:hover { background: var(--coral); border-color: var(--coral); }
.download-row .download { margin-top: 0; }
.secondary-download { background: transparent; color: var(--ink); }

.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 34px; border: 1px solid var(--ink); background: var(--ink); }
.stat-grid article { border: 0; background: white; }
.stat-grid .missing-stat { background: #f0ede6; }
.stat-value { display: block; font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(42px, 5vw, 66px); line-height: 1; color: var(--coral-dark); }
.stat-grid h3 { margin: 12px 0 0; font-size: 20px; }

.table-wrap { overflow-x: auto; margin-top: 32px; border: 1px solid var(--ink); background: white; }
table { width: 100%; min-width: 780px; border-collapse: collapse; font-size: 15px; }
caption { padding: 14px 18px; background: var(--ink); color: white; text-align: left; font-weight: 900; }
th, td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.45; }
th { background: #f0ede6; color: var(--ink); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }

.foreign-patients { background: var(--soft-blue); margin-inline: calc(-1 * clamp(20px, 5vw, 56px)); padding-inline: clamp(20px, 5vw, 56px); }
.split-stat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 30px 0; background: var(--ink); border: 1px solid var(--ink); }
.split-stat div { padding: 28px; background: white; }
.split-stat strong { display: block; font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(54px, 7vw, 86px); line-height: 1; color: var(--blue); }
.split-stat span { display: block; max-width: 430px; margin-top: 12px; font-weight: 900; line-height: 1.4; }
.foreign-patients > p, .innovation > p { max-width: 930px; line-height: 1.7; }

.nhe-chart { display: grid; gap: 11px; margin: 32px 0; max-width: 980px; }
.nhe-chart > div { display: grid; grid-template-columns: minmax(210px, 1.4fr) minmax(180px, 3fr) 70px; gap: 14px; align-items: center; }
.nhe-chart span { font-weight: 800; }
.nhe-chart strong { text-align: right; font-variant-numeric: tabular-nums; }
.track { height: 20px; background: #e5e0d7; }
.track i { display: block; width: var(--w); min-width: 4px; height: 100%; background: var(--coral); }

.peer-chart { display: grid; gap: 8px; max-width: 960px; margin: 34px 0; }
.peer-chart > div { display: grid; grid-template-columns: 150px minmax(180px, 1fr) 76px; gap: 12px; align-items: center; }
.peer-chart span { font-size: 14px; font-weight: 800; }
.peer-chart i { display: block; width: var(--w); height: 24px; background: var(--blue); }
.peer-chart .us i { background: var(--coral); }
.peer-chart strong { font-size: 14px; font-variant-numeric: tabular-nums; }

.innovation { background: var(--ink); color: white; margin-inline: calc(-1 * clamp(20px, 5vw, 56px)); padding-inline: clamp(20px, 5vw, 56px); }
.innovation .section-heading h2 { color: white; }
.innovation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 32px 0; background: #555; border: 1px solid #555; }
.innovation-grid article { border: 0; background: #171717; color: white; }
.innovation-grid strong { display: block; font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(48px, 6vw, 76px); color: var(--gold); }
.innovation-grid span { display: block; margin-top: 12px; font-weight: 900; }

.decade { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; background: var(--soft-coral); margin-inline: calc(-1 * clamp(20px, 5vw, 56px)); padding-inline: clamp(20px, 5vw, 56px); }
.decade > div { max-width: 780px; }
.decade p:not(.eyebrow) { line-height: 1.7; }
.decade > strong { font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(64px, 11vw, 150px); line-height: .8; color: var(--coral-dark); white-space: nowrap; }

.method ol { max-width: 900px; padding-left: 24px; }
.method li { margin: 12px 0; padding-left: 8px; line-height: 1.6; }
.method > p { max-width: 900px; line-height: 1.65; }
.source-list { max-width: 1040px; padding-left: 32px; }
.source-list li { margin: 0; padding: 13px 10px; border-bottom: 1px solid var(--line); line-height: 1.55; scroll-margin-top: 100px; }
.source-list li:target { background: #fff2b8; }
.source-list a { color: var(--blue); font-weight: 800; }

.bottom-line { border-bottom: 0; }
.bottom-line > p:not(.eyebrow) { max-width: 920px; font-family: Literata, Georgia, serif; font-size: 24px; line-height: 1.55; }

@media (max-width: 900px) {
  .hero, .decade { grid-template-columns: 1fr; }
  .answer-card { max-width: 430px; }
  .scenario-grid, .stat-grid, .innovation-grid { grid-template-columns: 1fr; }
  .decade > strong { justify-self: start; }
}

@media (max-width: 680px) {
  .hundred-dollar { grid-template-columns: 1fr; }
  .hundred-dollar .exceptional { min-height: 130px; }
  .split-stat { grid-template-columns: 1fr; }
  .nhe-chart > div { grid-template-columns: 1fr 55px; gap: 6px; }
  .nhe-chart .track { grid-column: 1 / -1; grid-row: 2; }
  .peer-chart > div { grid-template-columns: 110px minmax(100px, 1fr) 70px; gap: 8px; }
  .hero h1 { font-size: 51px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
