:root {
  color-scheme: dark;
  --bg: #0b0c0a;
  --panel: #151811;
  --line: #343d29;
  --text: #f3f5ec;
  --muted: #b7bdac;
  --accent: #c6ff4a;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
}
* { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); font-family: var(--mono); }
body { margin: 0; line-height: 1.65; }
a { color: var(--accent); text-underline-offset: .25em; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
img { display: block; max-width: 100%; }
.shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; position: relative; }
.site-header { border-bottom: 1px solid var(--line); background: #10130e; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--text); font-weight: 700; line-height: 1.3; }
.brand img { flex: none; }
.desktop, .related { display: flex; flex-wrap: wrap; column-gap: 1.25rem; row-gap: .65rem; }
.desktop a, .mobile a, footer nav a { color: var(--muted); text-decoration: none; font-size: .88rem; }
.desktop a:hover, .mobile a:hover, footer nav a:hover, a[aria-current=page] { color: var(--accent); }
.mobile { display: none; }
.hero { display: grid; grid-template-columns: 1fr .9fr; align-items: center; border-block: 1px solid var(--line); background: var(--panel); margin-top: 2.4rem; }
.hero-text { padding: clamp(1.2rem, 4vw, 3rem); }
.hero img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
h1, h2, h3 { line-height: 1.15; margin-block: 0 .8em; }
h1 { font-size: clamp(2rem, 5vw, 4.25rem); letter-spacing: -.07em; }
h2 { font-size: clamp(1.3rem, 3vw, 2.05rem); letter-spacing: -.045em; }
h3 { font-size: 1.06rem; }
p, li { max-width: 79ch; }
.hero p, .page-intro p, .card p, .checked, time, footer p { color: var(--muted); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem; margin-top: 1.5rem; font-size: .9rem; }
.primary { padding: .65rem .8rem; color: var(--bg); background: var(--accent); font-weight: 750; text-decoration: none; }
.native { margin-top: 1.25rem; }
.checked, time { font-size: .87rem; }
.content { padding-bottom: 2rem; }
.content section { padding-block: 1.75rem; border-top: 1px solid var(--line); }
.content section p:last-child { margin-bottom: 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.card { padding: 1rem; background: var(--panel); border: 1px solid var(--line); }
.card h3 { margin-bottom: .35rem; }
.card p { font-size: .9rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { padding: .75rem; text-align: left; vertical-align: top; }
th { background: var(--panel); }
tr + tr td, thead + tbody tr:first-child td { border-top: 1px solid var(--line); }
td:first-child { min-width: 9rem; }
code { color: var(--accent); }
button, input { font: inherit; color: inherit; background: var(--panel); border: 1px solid var(--line); }
button { cursor: pointer; }
.copy { font-size: .8rem; padding: .18rem .42rem; }
input[type=search] { display: block; width: min(100%, 28rem); padding: .7rem; margin-block: .45rem 1rem; }
.page-intro { padding-block: 2.7rem 1.8rem; }
.page-intro > a { font-size: .85rem; display: inline-block; margin-bottom: 1rem; }
.related { padding: 0 0 2rem; }
.related h2 { flex-basis: 100%; }
summary { cursor: pointer; }
.content details { padding-block: .65rem; border-bottom: 1px solid var(--line); }
footer { background: #10130e; border-top: 1px solid var(--line); }
.footer-inner { padding-block: 2rem; align-items: start; }
footer nav { display: grid; gap: .35rem; }
footer p { font-size: .83rem; }
.rail { display: none; }
@media (min-width: 1448px) and (min-height: 608px) {
  .rail { position: absolute; display: block; left: -164px; top: calc(100vh - 681px); width: 160px; height: 600px; }
  .rail iframe { display: block; border: 0; }
}
.skip, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { z-index: 5; width: auto; height: auto; clip-path: none; padding: .5rem; background: var(--bg); }
@media (max-width: 860px) {
  .desktop { display: none; }
  .mobile { display: block; }
  .mobile summary { white-space: nowrap; border: 1px solid var(--line); padding: .4rem .65rem; }
  .mobile nav { position: absolute; z-index: 2; inset: 100% 0 auto auto; min-width: 12rem; display: grid; gap: .65rem; padding: 1rem; border: 1px solid var(--line); background: var(--panel); }
  .hero { grid-template-columns: 1fr; }
  .hero img { height: auto; min-height: 0; max-height: 280px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .shell { width: calc(100% - 28px); }
  .cards { grid-template-columns: 1fr; }
  .footer-inner { flex-wrap: wrap; }
  .footer-inner > div { flex-basis: 100%; }
}
