:root {
  color-scheme: dark;
  --bg: #171a1c;
  --surface: #202528;
  --line: #394247;
  --text: #edf1f2;
  --muted: #b8c1c5;
  --amber: #e3ad58;
  --cyan: #68c7d4;
  --max: 72rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}
a { color: var(--cyan); text-underline-offset: .2em; }
a:hover { color: #9edfe7; }
a:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; border-radius: 2px; }
.site-header, footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.15rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.site-header { border-bottom: 1px solid var(--line); }
.brand { color: var(--text); font-size: 1.4rem; font-weight: 760; text-decoration: none; }
.brand span { color: var(--muted); font-size: .82rem; font-weight: 550; margin-left: .35rem; }
nav { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; }
nav a { color: var(--muted); font-weight: 650; text-decoration: none; }
nav a[aria-current="page"], nav a:hover { color: var(--text); }
main { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.hero { padding: 6rem 0 5rem; max-width: 50rem; }
.eyebrow, .section-label { color: var(--amber); font-size: .78rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
h1, h2 { line-height: 1.18; }
h1 { font-size: 3.25rem; margin: .35rem 0 1rem; }
h2 { font-size: 1.55rem; margin-top: 0; }
.lead { color: var(--muted); font-size: 1.22rem; max-width: 48rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.4rem; margin-top: 2rem; }
.button { background: var(--amber); color: #171a1c; border-radius: 6px; display: inline-block; font-weight: 750; padding: .7rem 1rem; text-decoration: none; }
.button:hover { background: #f0c178; color: #171a1c; }
.text-link { font-weight: 700; }
.split { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 5rem; }
.split article { padding: 2.5rem 2.5rem 2.5rem 0; }
.split article + article { border-left: 1px solid var(--line); padding-left: 2.5rem; }
.split p:not(.section-label), .document p, .document li { color: var(--muted); }
.document { max-width: 54rem; padding-bottom: 4rem; }
.page-heading { border-bottom: 1px solid var(--line); padding: 4.5rem 0 2.5rem; margin-bottom: 2.75rem; }
.page-heading h1 { font-size: 2.6rem; }
.meta { font-weight: 650; }
.document section { margin: 0 0 2.75rem; scroll-margin-top: 1rem; }
.document li + li { margin-top: .55rem; }
.english-summary { border: 1px solid var(--line); background: var(--surface); border-radius: 6px; padding: 1.5rem; }
.evidence { margin-top: 3.5rem; }
figure { margin: 2rem 0 3rem; }
figure img { display: block; width: auto; max-width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; }
figcaption { color: var(--muted); border-left: 3px solid var(--cyan); margin-top: 1rem; padding-left: 1rem; }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
footer p { margin: 0; }

@media (max-width: 42rem) {
  .site-header, footer { align-items: flex-start; flex-direction: column; padding-left: 1rem; padding-right: 1rem; }
  main { padding-left: 1rem; padding-right: 1rem; }
  .hero { padding: 4rem 0 3.5rem; }
  h1, .page-heading h1 { font-size: 2.35rem; overflow-wrap: anywhere; }
  .lead { font-size: 1.08rem; }
  .split { grid-template-columns: 1fr; }
  .split article { padding: 2rem 0; }
  .split article + article { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .page-heading { padding-top: 3rem; }
  .english-summary { padding: 1rem; }
}
