:root {
  color-scheme: dark;
  --night: #1a1540; --panel: #251f58; --well: #120f33; --line: #5c51a3;
  --text: #f4f0ff; --muted: #c4bde8; --gold: #ffb547; --mint: #6ee7c8;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 20px; }
body { margin: 0; background: var(--night); color: var(--text); font: 16px/1.65 "Figtree", system-ui, sans-serif; }
a { color: var(--mint); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
main { max-width: 1080px; margin: auto; padding: 28px 24px 72px; }
.brand { display: inline-flex; gap: 10px; align-items: center; color: var(--gold); text-decoration: none; font: 24px "Bungee", system-ui, sans-serif; }
.brand img { width: 32px; height: 32px; }
.hero { padding: 48px 0 30px; max-width: 820px; }
.eyebrow { color: var(--mint); font: 13px/1.5 "IBM Plex Mono", monospace; text-transform: uppercase; letter-spacing: .12em; }
h1, h2, h3 { line-height: 1.2; text-wrap: balance; }
h1, h2 { font-family: "Bungee", system-ui, sans-serif; font-weight: 400; }
h1 { font-size: clamp(36px, 6.5vw, 64px); margin: 14px 0 22px; }
h2 { font-size: clamp(23px, 3.4vw, 34px); margin: 0 0 20px; }
h3 { font-size: 21px; margin: 0 0 12px; }
p { margin: 0 0 16px; }
.lede { font-size: 21px; color: var(--muted); max-width: 64ch; }
nav { display: flex; flex-wrap: wrap; gap: 10px 20px; padding: 0 0 32px; }
section { margin-bottom: 24px; padding: clamp(20px, 4vw, 36px); background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
section p, section li { max-width: 78ch; }
section > :last-child { margin-bottom: 0; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid article { background: var(--well); border-radius: 10px; padding: 22px; }
.tag { color: var(--gold); font: 12px/1.4 "IBM Plex Mono", monospace; letter-spacing: .06em; text-transform: uppercase; }
.notice { border-left: 3px solid var(--gold); padding: 8px 0 8px 18px; }
ul, ol { padding-left: 23px; }
li + li { margin-top: 9px; }
code, pre { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .86em; }
code { overflow-wrap: anywhere; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; padding: 20px; background: var(--well); border-radius: 8px; line-height: 1.7; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
caption { text-align: left; font-weight: 700; margin-bottom: 12px; }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--gold); }
.button { display: inline-block; padding: 10px 18px; border-radius: 6px; color: var(--night); background: var(--gold); font-weight: 800; text-decoration: none; }
.button:hover { color: var(--night); background: var(--mint); }
.downloads { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 20px; }
label { display: block; font-weight: 700; margin-bottom: 6px; }
input { width: min(100%, 360px); padding: 12px; border: 1px solid var(--line); background: var(--well); color: var(--text); border-radius: 6px; font: inherit; }
input[aria-invalid="true"] { border-color: #ff968c; }
.fine { font-size: 14px; color: var(--muted); }
.quote { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0; }
.quote div { padding: 18px; border-radius: 8px; background: var(--well); }
.quote dt { color: var(--muted); font-size: 14px; }
.quote dd { margin: 4px 0 0; color: var(--gold); font-size: clamp(18px, 3vw, 28px); font-weight: 800; overflow-wrap: anywhere; }
footer { color: var(--muted); padding-top: 10px; font-size: 14px; }
.skip { position: absolute; top: -100px; left: 20px; background: var(--well); padding: 10px; }
.skip:focus { top: 10px; }
@media (max-width: 650px) {
  main { padding: 20px 14px 48px; }
  .hero { padding-top: 30px; }
  .grid { grid-template-columns: 1fr; }
  th, td { padding: 10px 8px; }
  .lede { font-size: 18px; }
}
