:root {
  color-scheme: light;
  --ink: #101725;
  --ink-soft: #3e4a60;
  --muted: #6b7689;
  --europa: #003399;
  --link: #1b4fd8;
  --gold: #ffcc00;
  --gold-wash: #fff8e0;
  --gold-deep: #8a6800;
  --miss: #c2410c;
  --miss-wash: #fdf1ea;
  --good: #15803d;
  --good-wash: #eefaf1;
  --paper: #fafbfd;
  --panel: #ffffff;
  --rule: #dce3ef;
  --rule-strong: #b9c5da;
  --display: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --shell: 1120px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 28px; }

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 2px; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; margin: 0; }

.masthead { border-bottom: 1px solid var(--rule); background: var(--panel); position: sticky; top: 0; z-index: 10; }
.masthead .shell { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 60px; }
.wordmark { font-family: var(--mono); font-size: 15px; font-weight: 500; color: var(--europa); letter-spacing: -0.02em; }
.masthead nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.masthead .sections { display: flex; gap: 22px; }
.masthead nav a { color: var(--ink-soft); text-decoration: none; }
.masthead nav a:hover { color: var(--link); text-decoration: underline; }

.hero { padding: 62px 0 56px; border-bottom: 1px solid var(--rule); }
.eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.11em; text-transform: uppercase; color: var(--europa); margin: 0 0 22px; }
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.07; max-width: 19ch; }
.hero h1 em { font-style: normal; color: var(--europa); }
.lede { font-size: 1.12rem; color: var(--ink-soft); max-width: 66ch; margin: 24px 0 0; }

.idcard { margin-top: 44px; border: 1px solid var(--rule-strong); border-radius: 3px; background: var(--panel); overflow: hidden; }
.idcard-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; padding: 15px 20px; border-bottom: 1px solid var(--rule); background: #f6f8fc; }
.idcard-head .k { font-family: var(--mono); font-size: 13px; color: var(--europa); }
.idcard-head .v { font-size: 13px; color: var(--muted); }
.idrow { display: grid; grid-template-columns: 52px 108px 1fr; gap: 16px; align-items: baseline; padding: 11px 20px; border-bottom: 1px solid var(--rule); }
.idrow:last-child { border-bottom: 0; }
.idrow .lang { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--muted); text-transform: uppercase; }
.idrow .anchor { font-family: var(--mono); font-size: 12px; color: var(--europa); background: var(--gold-wash); border: 1px solid #f0e2b4; border-radius: 2px; padding: 1px 6px; justify-self: start; }
.idrow .txt { font-size: 14.5px; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.section { padding: 56px 0; border-bottom: 1px solid var(--rule); }
.section h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); max-width: 26ch; }
.section h3 { font-size: 1.12rem; margin: 34px 0 10px; }
.section p { max-width: 68ch; margin: 18px 0 0; }
.section p.first { margin-top: 22px; }

.pull { border-left: 3px solid var(--gold); background: var(--gold-wash); padding: 16px 22px; margin: 30px 0 0; max-width: 68ch; }
.pull p { margin: 0; font-size: 1.04rem; }

figure { margin: 32px 0 0; }
figcaption { font-size: 13.5px; color: var(--muted); margin-top: 12px; max-width: 68ch; }

table { border-collapse: collapse; width: 100%; max-width: 760px; font-size: 15px; background: var(--panel); border: 1px solid var(--rule-strong); }
caption { text-align: left; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--europa); padding-bottom: 10px; }
th, td { text-align: left; padding: 9px 14px; border-bottom: 1px solid var(--rule); }
th { font-weight: 600; font-size: 13px; color: var(--ink-soft); background: #f6f8fc; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-family: var(--mono); font-size: 14px; }
td.good { color: var(--good); font-weight: 500; }
td.bad { color: var(--miss); font-weight: 500; }

.scroller { overflow-x: auto; margin: 32px 0 0; }

pre { background: var(--panel); border: 1px solid var(--rule-strong); border-radius: 3px; padding: 16px 18px; overflow-x: auto; font-family: var(--mono); font-size: 13.5px; line-height: 1.55; margin: 26px 0 0; max-width: 760px; }
code { font-family: var(--mono); font-size: 0.92em; }
p code, li code { background: #eef2f9; border-radius: 2px; padding: 1px 5px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(178px, 1fr)); gap: 1px; background: var(--rule-strong); border: 1px solid var(--rule-strong); margin: 34px 0 0; }
.stat { background: var(--panel); padding: 20px 22px; }
.stat .n { font-family: var(--display); font-size: 2rem; font-weight: 600; color: var(--europa); line-height: 1; }
.stat .l { font-size: 13px; color: var(--muted); margin-top: 8px; }

ul.plain { max-width: 68ch; padding-left: 20px; }
ul.plain li { margin: 10px 0; }

.footer { padding: 44px 0 64px; font-size: 14.5px; color: var(--muted); }
.footer a { color: var(--link); }
.footer p { max-width: 70ch; margin: 12px 0 0; }
.links { display: flex; gap: 26px; flex-wrap: wrap; margin-bottom: 22px; font-family: var(--mono); font-size: 13.5px; }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .masthead .sections { display: none; }
  .idrow { grid-template-columns: 44px 96px; row-gap: 4px; }
  .idrow .txt { grid-column: 1 / -1; white-space: normal; }
}
