:root {
  color-scheme: dark;
  --bg: #09070b;
  --panel: #151018;
  --primary: #c186f7;
  --text: #fbfbfb;
  --muted: #c1b9c6;
  --border: #38263f;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-wrap: anywhere;
}
a { color: var(--primary); text-underline-offset: .2em; }
a:hover { color: #e3c4ff; }
a:focus-visible { outline: 3px solid #f8a6c6; outline-offset: 4px; border-radius: 3px; }
.skip-link { position: absolute; left: 18px; top: -100px; padding: 12px; background: var(--panel); z-index: 1; }
.skip-link:focus { top: 8px; }
.site-header, main, footer { width: min(100% - 36px, 920px); margin-inline: auto; }
.site-header { padding-block: 28px; border-bottom: 1px solid var(--border); display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.wordmark { font-size: 34px; font-weight: 850; letter-spacing: -1.6px; text-decoration: none; color: var(--text); }
.wordmark span { color: #f2a0bf; }
nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 650; }
nav a[aria-current="page"] { color: var(--text); }
main { padding-block: 44px; }
.eyebrow { color: var(--primary); font-size: 13px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; margin: 0 0 14px; }
h1 { font-size: clamp(2.15rem, 6vw, 3.8rem); letter-spacing: -.035em; line-height: 1.08; margin: 0 0 18px; max-width: 20ch; }
.summary { font-size: 18px; color: var(--muted); max-width: 66ch; margin-bottom: 10px; }
.updated { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.contents { margin-block: 28px 34px; padding: 18px; border-left: 3px solid #a54af4; background: #130d1a; }
.contents a { min-height: 38px; }
section { margin-top: 20px; padding: 26px; border: 1px solid var(--border); border-radius: 16px; background: var(--panel); }
h2 { margin: 0 0 14px; font-size: 1.2rem; line-height: 1.4; }
p, li { color: var(--muted); }
section p { margin: 0 0 14px; }
section p:last-child { margin-bottom: 0; }
ul { margin: 10px 0 0; padding-left: 23px; }
li { margin-block: 9px; padding-left: 3px; }
.section-links { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 14px; }
.section-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
footer { border-top: 1px solid var(--border); padding-block: 24px 38px; font-size: 14px; }
footer p { margin: 0 0 12px; }
@media (max-width: 600px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 8px; padding-block: 20px; }
  main { padding-block: 30px; }
  section { padding: 20px 18px; }
  nav { column-gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  body { background: white; color: black; }
  .site-header, .contents, footer, .skip-link { display: none; }
  main { width: 100%; padding: 0; }
  section { background: white; border-color: #aaa; break-inside: avoid; }
  p, li, a, .summary, .updated, .eyebrow { color: black; }
}
