:root {
  --bg: #f5f2ea;
  --surface: #fffdf8;
  --ink: #16181d;
  --muted: #5d6068;
  --line: #ddd7ca;
  --engine: #1f7a6f;
  --result: #b3432c;
  --gold: #c8901f;
  --gold-soft: #f3e3bd;
  --radius: 14px;
  --display: "Zodiak", "Georgia", serif;
  --body: "Satoshi", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 58px; gap: 16px; }
.mark { font-family: var(--display); font-weight: 700; font-size: 20px; text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.top nav { display: flex; gap: 22px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--ink); }

.hero { padding: 64px 0 28px; }
.eyebrow { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; font-weight: 500; }
h1 { font-family: var(--display); font-weight: 500; font-size: clamp(34px, 5.2vw, 60px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 18px; max-width: 17ch; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 60ch; margin: 0 0 36px; }

.score-card { background: var(--ink); color: #f5f2ea; border-radius: 22px; padding: clamp(24px, 4vw, 44px); display: grid; gap: 30px; }
.score-main { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.score-num { font-family: var(--display); font-weight: 500; font-size: clamp(88px, 13vw, 156px); line-height: 0.85; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.score-num .of { font-size: 0.28em; color: #a9a59b; letter-spacing: 0; margin-left: 6px; }
.score-stage { font-size: 17px; color: #d8d3c7; display: flex; align-items: center; gap: 12px; padding-bottom: 10px; }
.pill { background: var(--gold); color: var(--ink); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 11px; border-radius: 99px; }

.gauge .bands { display: flex; font-size: 12px; color: #8f8b82; margin-bottom: 8px; }
.gauge .b { width: var(--w); padding-right: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gauge .b.on { color: var(--gold); font-weight: 700; }
.track { position: relative; height: 14px; border-radius: 99px; background: repeating-linear-gradient(90deg, #2a2d34 0 calc(20% - 2px), #16181d calc(20% - 2px) 20%); }
.fill { position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: 99px; background: linear-gradient(90deg, var(--engine), var(--gold)); }
.needle { position: absolute; top: -6px; left: var(--v); width: 3px; height: 26px; background: #fff; border-radius: 2px; transform: translateX(-50%); }
.ticks { display: flex; justify-content: space-between; font-size: 12px; color: #8f8b82; margin-top: 8px; font-variant-numeric: tabular-nums; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.kpi { border: 1px solid #2f323a; border-radius: var(--radius); padding: 20px 22px; }
.k-label { font-weight: 700; font-size: 16px; }
.k-label small { display: block; font-weight: 400; color: #a9a59b; font-size: 14px; }
.k-val { font-family: var(--display); font-size: clamp(42px, 5vw, 60px); line-height: 1; margin-top: 14px; font-variant-numeric: tabular-nums; }
.engine .k-val { color: #5cc3b3; }
.result .k-val { color: #f08a6e; }
.k-note { color: #a9a59b; font-size: 14px; margin-top: 4px; }
.read { margin: 0; font-size: 17px; color: #e7e2d6; border-top: 1px solid #2f323a; padding-top: 22px; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 28px 0 8px; }
.facts article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.f-num { font-family: var(--display); font-size: 28px; font-weight: 500; color: var(--engine); line-height: 1.1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.facts .neg .f-num { color: var(--result); }
.facts p { margin: 0; font-size: 15px; color: var(--muted); }

.sec { padding: 72px 0 8px; }
.sec-head { max-width: 70ch; margin-bottom: 28px; }
h2 { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.015em; line-height: 1.1; margin: 0 0 10px; }
.sec-head p { margin: 0; color: var(--muted); }

.chart-box { position: relative; height: 340px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 8px; }
.table-scroll { overflow-x: auto; margin-top: 16px; }
table.data { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 15px; min-width: 620px; }
.data th, .data td { padding: 10px 12px; text-align: right; border-bottom: 1px solid var(--line); }
.data th[scope="row"], .data thead th:first-child { text-align: left; font-weight: 500; }
.data thead th { color: var(--muted); font-weight: 500; font-size: 14px; }
.data tr.strong th, .data tr.strong td { font-weight: 700; }
.data td.neg { color: var(--result); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.pcard.is-result { border-color: color-mix(in srgb, var(--result) 45%, var(--line)); box-shadow: inset 0 3px 0 var(--result); }
.p-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.p-n { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.pcard h3 { font-family: var(--display); font-weight: 500; font-size: 23px; margin: 14px 0 4px; line-height: 1.15; }
.p-q { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.p-row { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.p-val { font-family: var(--display); font-size: 40px; line-height: 1; color: var(--engine); min-width: 3.2ch; font-variant-numeric: tabular-nums; }
.p-val.neg { color: var(--result); }
.spark { flex: 1; height: 56px; min-width: 0; width: 100%; }
.pcard { min-width: 0; }
.p-c { font-size: 14px; color: var(--muted); margin: 16px 0 0; border-top: 1px solid var(--line); padding-top: 12px; }
.p-c span { font-weight: 700; color: var(--ink); margin-right: 4px; }

.diseases { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 22px; }
.drow { display: grid; grid-template-columns: minmax(200px, 1.1fr) 2fr 120px; align-items: center; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.drow:last-child { border-bottom: 0; }
.d-name { font-weight: 500; font-size: 15px; line-height: 1.3; }
.d-name small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; }
.d-bar { position: relative; height: 16px; }
.d-axis { position: absolute; left: 50%; top: -6px; bottom: -6px; width: 1px; background: var(--muted); }
.d-fill { position: absolute; top: 0; bottom: 0; right: 50%; width: var(--w); background: var(--engine); border-radius: 4px 0 0 4px; }
.drow.up .d-fill { right: auto; left: 50%; background: var(--result); border-radius: 0 4px 4px 0; }
.d-val { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--engine); }
.drow.up .d-val { color: var(--result); }
.fine { font-size: 14px; color: var(--muted); margin-top: 14px; max-width: 80ch; }

.bandlist { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.bandlist div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.bandlist b { font-family: var(--display); font-size: 22px; font-weight: 500; display: block; }
.bandlist span { font-weight: 700; font-size: 14px; display: block; margin-top: 4px; }
.bandlist p { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.bandlist .cur { background: var(--gold-soft); border-color: var(--gold); }

.method .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.method ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.method li { padding-left: 16px; border-left: 2px solid var(--line); color: var(--muted); }
.method li b { color: var(--ink); }

.about { padding-bottom: 72px; }
.about-in { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: center; }
.about p { color: var(--muted); margin: 0; }
.cta { display: grid; gap: 10px; }
.btn { display: block; text-align: center; text-decoration: none; background: var(--ink); color: var(--bg); font-weight: 700; padding: 14px 18px; border-radius: 10px; }
.btn:hover { background: #2a2d34; }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); }

.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: 14px; color: var(--muted); }

@media (max-width: 960px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .bandlist { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top nav { display: none; }
  .hero { padding-top: 40px; }
  .split, .facts, .pillars, .method .cols, .about-in { grid-template-columns: minmax(0, 1fr); }
  .bandlist { grid-template-columns: 1fr 1fr; }
  .gauge .bands { display: none; }
  .drow { grid-template-columns: 1fr auto; gap: 8px 12px; }
  .d-bar { grid-column: 1 / -1; grid-row: 2; }
  .score-stage { padding-bottom: 0; }
  .chart-box { height: 300px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.gap-head{font-family:'Zodiak',Georgia,serif;font-size:clamp(1.35rem,1rem + 1.6vw,2.1rem);line-height:1.2;color:#f3efe6;margin:0 0 1.25rem;max-width:30ch}
.k-val .unit{font-size:.38em;margin-left:.3em;opacity:.75;font-family:'Satoshi',system-ui,sans-serif;letter-spacing:0}

.pace-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:20px}
.pace-tiles article{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:20px;display:flex;flex-direction:column;gap:6px}
.pace-tiles article.target{border-color:color-mix(in srgb,var(--gold) 60%,var(--line));box-shadow:inset 0 3px 0 var(--gold)}
.pt-label{font-size:14px;color:var(--muted);font-weight:500}
.pt-val{font-family:var(--display);font-size:40px;line-height:1;color:var(--engine);font-variant-numeric:tabular-nums}
.pace-tiles .neg .pt-val{color:var(--result)}
.pace-tiles .target .pt-val{color:var(--gold)}
.pt-note{font-size:14px;color:var(--muted)}
.pt-tag{align-self:flex-start;margin-top:auto;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;background:var(--gold-soft);color:var(--ink);padding:4px 9px;border-radius:99px}
.pace-proj{font-size:18px;max-width:70ch;margin:0 0 24px}
.pace-table{margin-bottom:28px}
.pace-table small.rec{display:block;font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
@media (max-width:900px){.pace-tiles{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.pace-tiles{grid-template-columns:1fr}.pace-table{font-size:13px}.pace-table th,.pace-table td{padding:8px 6px}}
.pace-bands{grid-template-columns:repeat(5,1fr);margin-top:8px}@media (max-width:900px){.pace-bands{grid-template-columns:repeat(3,1fr)}}@media (max-width:520px){.pace-bands{grid-template-columns:1fr 1fr}}
.d-note{display:block;margin-top:4px;font-size:13px;line-height:1.45;color:var(--muted);white-space:nowrap}@media (max-width:520px){.d-note{white-space:normal}.d-note br{display:none}}
