:root {
  --navy: #071827;
  --navy-2: #0b2a3b;
  --paper: #f5f1e7;
  --ink: #10222c;
  --muted: #5b6a70;
  --green: #45d483;
  --green-dark: #0a6b44;
  --amber: #f3b33d;
  --line: rgba(16, 34, 44, 0.2);
  --white: #fffdf8;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; }
a { color: inherit; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }

.hero { position: relative; min-height: 93svh; overflow: hidden; display: grid; place-items: center; padding: 5rem 1.25rem 4rem; background: radial-gradient(circle at 50% 42%, #0b435b 0, var(--navy-2) 31%, var(--navy) 72%); color: var(--white); text-align: center; }
.hero::before, .hero::after { content: ""; position: absolute; width: 54vw; height: 78vh; border: 1px solid rgba(69,212,131,.28); border-radius: 48% 52% 60% 40%; filter: blur(.2px); }
.hero::before { left: -25vw; top: 5vh; transform: rotate(14deg); box-shadow: 18px 12px 0 rgba(69,212,131,.035), 36px 24px 0 rgba(69,212,131,.025), 54px 36px 0 rgba(69,212,131,.02); }
.hero::after { right: -27vw; bottom: -6vh; transform: rotate(-20deg); box-shadow: -18px -12px 0 rgba(69,212,131,.035), -36px -24px 0 rgba(69,212,131,.025), -54px -36px 0 rgba(69,212,131,.02); }
.chart-lines { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px); background-size: 5rem 5rem; mask-image: radial-gradient(circle, #000 10%, transparent 76%); }
.hero-inner { position: relative; z-index: 1; width: min(68rem, 100%); }
.eyebrow, .kicker, .alert-label, .card-label { margin: 0; color: var(--green); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 52rem; margin: 1.1rem auto 0; font-size: clamp(1.4rem, 4vw, 2.35rem); font-weight: 560; letter-spacing: -.02em; }
.answer { margin: .28rem 0 0; color: var(--green); font-size: clamp(7rem, 25vw, 17rem); font-weight: 900; letter-spacing: -.075em; line-height: .84; text-shadow: 0 0 3.5rem rgba(69,212,131,.14); }
.answer[data-status="CLOSED"] { color: #ff6b68; }
.answer[data-status="UNKNOWN"] { color: var(--amber); font-size: clamp(4.5rem, 17vw, 11rem); }
.condition { display: inline-flex; align-items: center; gap: .65rem; margin-top: 1.4rem; padding: .55rem .85rem; border: 1px solid rgba(243,179,61,.55); background: rgba(243,179,61,.1); color: #ffd176; font-size: clamp(.75rem, 2vw, .92rem); letter-spacing: .13em; }
.pulse { width: .55rem; height: .55rem; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 .35rem rgba(243,179,61,.12); }
.summary { max-width: 47rem; margin: 1.45rem auto 0; color: #d7e4e6; font-size: clamp(1rem, 2.4vw, 1.2rem); }
.updated { margin: .65rem 0 0; color: #8fa7ae; font-size: .86rem; }
.jump { display: inline-flex; gap: .5rem; margin-top: 2rem; color: var(--white); font-weight: 700; text-decoration: none; }
.jump:hover { color: var(--green); }

.alert { display: grid; grid-template-columns: minmax(15rem,.7fr) 1.3fr; gap: 2rem 4rem; max-width: 76rem; margin: -2rem auto 0; position: relative; z-index: 2; padding: 2rem; background: var(--amber); box-shadow: 0 1.3rem 3.5rem rgba(7,24,39,.2); }
.alert-label { color: #6c4300; }
.alert h2 { margin: .25rem 0 0; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.04; letter-spacing: -.04em; }
.alert > p { align-self: end; max-width: 42rem; margin: 0; font-size: 1.03rem; }

.section { max-width: 76rem; margin: 0 auto; padding: clamp(4.5rem, 10vw, 8rem) 1.25rem; }
.section-intro { display: grid; grid-template-columns: minmax(12rem,.55fr) 1fr; gap: .35rem 2rem; align-items: start; margin-bottom: 2.2rem; }
.section-intro .kicker { grid-row: span 2; padding-top: .7rem; color: var(--green-dark); }
.section-intro h2 { margin: 0; font-size: clamp(2rem, 5vw, 4.2rem); line-height: .98; letter-spacing: -.055em; }
.section-intro > p:last-child { max-width: 42rem; margin: .5rem 0 0; color: var(--muted); }
.evidence-grid { display: grid; grid-template-columns: 1.18fr 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.metric-card { min-height: 20rem; padding: 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.36); display: flex; flex-direction: column; }
.metric-card.featured { background: var(--navy); color: var(--white); }
.metric-card .card-label { color: var(--green-dark); }
.metric-card.featured .card-label { color: var(--green); }
.metric { display: flex; align-items: end; gap: .6rem; margin: auto 0 1rem; }
.metric strong { color: var(--green); font-size: clamp(4.5rem, 9vw, 7rem); line-height: .8; letter-spacing: -.08em; }
.metric span { padding-bottom: .4rem; color: #b7c7ca; }
.state { margin: auto 0 1rem; font-size: clamp(1.65rem, 3.4vw, 2.55rem); font-weight: 850; line-height: .95; letter-spacing: -.035em; }
.metric-card > p:last-of-type { color: var(--muted); }
.metric-card.featured > p:last-of-type { color: #b7c7ca; }
.metric-card a { margin-top: auto; font-weight: 750; }

.sources { border-top: 1px solid var(--line); }
.source-list { margin: 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
.source-list li { display: grid; grid-template-columns: 3.5rem minmax(0,1fr) auto; gap: 1rem; align-items: start; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.source-number { color: var(--green-dark); font-family: ui-monospace, monospace; font-size: .84rem; }
.source-list a { font-size: 1.08rem; font-weight: 800; }
.source-list p { max-width: 47rem; margin: .35rem 0 0; color: var(--muted); }
.source-check { padding: .25rem .5rem; background: #d9f3e3; color: var(--green-dark); font-size: .72rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }

.methodology { border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3,1fr); margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 2.4rem 1fr; gap: .8rem; padding: 1.5rem; border: 1px solid var(--line); border-left: 0; background: var(--white); }
.steps li:first-child { border-left: 1px solid var(--line); }
.steps li > span { color: var(--green-dark); font-family: ui-monospace, monospace; font-size: .8rem; }
.steps strong { font-size: 1.05rem; }
.steps p { margin: .55rem 0 0; color: var(--muted); }
.notice { margin-top: 1.5rem; padding: 1.2rem 1.35rem; border-left: .35rem solid var(--amber); background: #fff4d9; }
.notice ul { margin: .6rem 0 0; padding-left: 1.2rem; }

footer { display: grid; grid-template-columns: .7fr 1.3fr auto; gap: 1rem 2rem; padding: 2rem max(1.25rem, calc((100vw - 73.5rem)/2)); background: var(--navy); color: #b7c7ca; font-size: .84rem; }
footer p { margin: 0; }
footer strong, footer a { color: var(--white); }

@media (max-width: 760px) {
  .hero { min-height: 88svh; }
  .alert { margin: 0; grid-template-columns: 1fr; box-shadow: none; }
  .section-intro { grid-template-columns: 1fr; }
  .section-intro .kicker { grid-row: auto; padding: 0; }
  .evidence-grid, .steps { grid-template-columns: 1fr; }
  .steps li, .steps li:first-child { border-left: 1px solid var(--line); border-top: 0; }
  .steps li:first-child { border-top: 1px solid var(--line); }
  .metric-card { min-height: 17rem; }
  .source-list li { grid-template-columns: 2rem 1fr; }
  .source-check { grid-column: 2; justify-self: start; }
  footer { grid-template-columns: 1fr; }
}

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

