:root {
  --bg: #0d1117;
  --bg-soft: #131a22;
  --card: #1a2330;
  --line: #2a3646;
  --text: #d7dee8;
  --muted: #8b98a9;
  --accent: #f0a028;
  --accent-dark: #c47f16;
  --tier-s: #ff5c5c;
  --tier-a: #f0a028;
  --tier-b: #4da3ff;
  --tier-c: #8b98a9;
  --ok: #4cc38a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.7 system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* header */
.site-header { background: rgba(13,17,23,.92); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(6px); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 58px; }
.brand { font-weight: 800; letter-spacing: .06em; color: var(--text); font-size: 15px; display: flex; align-items: center; gap: 8px; }
.brand:hover { text-decoration: none; color: #fff; }
.brand-mark { background: var(--accent); color: #14100a; padding: 2px 7px; border-radius: 4px; font-size: 13px; font-weight: 900; }
.site-nav { margin-left: auto; display: flex; gap: 18px; }
.site-nav a { color: var(--muted); font-size: 14px; font-weight: 600; padding: 4px 2px; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--accent); text-decoration: none; }
.nav-toggle, .nav-burger { display: none; }

/* hero */
.hero { padding: 56px 0 34px; border-bottom: 1px solid var(--line); background: radial-gradient(1200px 400px at 70% -10%, rgba(240,160,40,.12), transparent), var(--bg); }
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; margin: 0 0 10px; }
.hero h1 { font-size: clamp(28px, 5vw, 44px); line-height: 1.15; margin: 0 0 14px; color: #fff; }
.hero p.lead { font-size: 18px; max-width: 760px; margin: 0 0 22px; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 11px 20px; border-radius: 8px; font-weight: 700; font-size: 14px; border: 1px solid transparent; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #14100a; }
.btn-primary:hover { background: #ffb64a; }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* page body */
main { padding: 40px 0 64px; }
main h1 { color: #fff; font-size: clamp(26px, 4vw, 36px); line-height: 1.2; margin: 0 0 16px; }
main h2 { color: #fff; font-size: 24px; margin: 40px 0 12px; padding-top: 18px; border-top: 1px solid var(--line); }
main h3 { color: var(--accent); font-size: 18px; margin: 26px 0 8px; }
main p { margin: 0 0 14px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.updated { color: var(--muted); font-size: 13px; margin-bottom: 22px; }
ul, ol { padding-left: 22px; }
li { margin: 6px 0; }
strong { color: #fff; }

/* cards & grids */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 18px 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
.card h3 { margin: 0 0 8px; font-size: 16px; }
.card p { font-size: 14px; color: var(--muted); margin: 0; }
.card a { color: var(--text); font-weight: 700; }
.card a:hover { color: var(--accent); text-decoration: none; }

/* stats strip */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 22px 0; }
.stat { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; padding: 14px; text-align: center; }
.stat .v { color: var(--accent); font-size: 22px; font-weight: 800; display: block; }
.stat .k { color: var(--muted); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }

/* tables */
.tbl-wrap { overflow-x: auto; margin: 16px 0; }
table { border-collapse: collapse; width: 100%; font-size: 14px; min-width: 560px; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
tbody tr:hover { background: var(--bg-soft); }
td.num, th.num { text-align: right; }
.tier { font-weight: 900; padding: 2px 10px; border-radius: 4px; color: #14100a; display: inline-block; min-width: 26px; text-align: center; }
.tier.s { background: var(--tier-s); color: #fff; }
.tier.a { background: var(--tier-a); }
.tier.b { background: var(--tier-b); color: #fff; }
.tier.c { background: var(--tier-c); }

/* callouts & faq */
.note { background: var(--bg-soft); border-left: 3px solid var(--accent); padding: 12px 16px; border-radius: 0 8px 8px 0; margin: 16px 0; font-size: 15px; }
.note.warn { border-left-color: var(--tier-s); }
.faq dt { color: #fff; font-weight: 700; margin-top: 18px; }
.faq dd { margin: 6px 0 0 0; color: var(--muted); }
.sources { font-size: 13px; color: var(--muted); border-top: 1px dashed var(--line); margin-top: 36px; padding-top: 14px; }
.tag { display: inline-block; background: var(--bg-soft); border: 1px solid var(--line); color: var(--muted); font-size: 12px; border-radius: 20px; padding: 2px 10px; margin: 0 6px 6px 0; }

/* images */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin: 20px 0; }
.gallery img, figure img { width: 100%; height: auto; display: block; border-radius: 10px; border: 1px solid var(--line); }
figure { margin: 22px 0; }
figcaption { color: var(--muted); font-size: 13px; margin-top: 8px; }
.hero-shot { width: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); display: block; margin: 6px 0 0; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 28px 0; font-size: 14px; }
.site-footer p { margin: 6px 0; }
.site-footer .official a { margin-right: 6px; }
.site-footer .legal { color: var(--muted); font-size: 12.5px; }

@media (max-width: 760px) {
  .nav-toggle, .nav-burger { display: block; }
  .nav-burger { margin-left: auto; font-size: 22px; color: var(--muted); cursor: pointer; }
  .site-nav { display: none; flex-direction: column; position: absolute; top: 58px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 20px 18px; gap: 12px; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .header-inner { position: relative; }
}
