:root {
  color-scheme: light;
  --ink: #172442;
  --muted: #465878;
  --accent: #2d4fd0;
  --line: #dbe2f0;
  --paper: #f7f8fc;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 system-ui, sans-serif; }
a { color: var(--accent); text-underline-offset: .18em; }
a:focus-visible { outline: 3px solid #637dff; outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.skip { position: fixed; top: .5rem; left: .5rem; padding: .5rem 1rem; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.bar, footer { background: white; }
.bar { border-bottom: 1px solid var(--line); }
.bar .wrap, footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; padding-block: .75rem; flex-wrap: wrap; }
.bar nav, footer nav, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: .85rem 1.25rem; }
.brand { color: var(--ink); font-size: 1.32rem; font-weight: 760; text-decoration: none; overflow-wrap: anywhere; }
.intro { display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; gap: clamp(1.5rem,6vw,5rem); padding-block: clamp(2.5rem,8vw,6rem); }
.eyebrow { margin: 0 0 .75rem; color: var(--accent); font-size: .8rem; font-weight: 750; letter-spacing: .095em; text-transform: uppercase; }
h1, h2 { line-height: 1.1; letter-spacing: -.035em; }
h1 { margin: 0; font-size: clamp(2.4rem,6vw,4.25rem); max-width: 15ch; }
h2 { font-size: clamp(1.6rem,3vw,2rem); margin: 0 0 1rem; }
.lead { max-width: 40rem; color: var(--muted); font-size: 1.08rem; }
.actions { margin-top: 1.5rem; }
.primary, .outline { display: inline-flex; padding: .6rem .95rem; border-radius: .7rem; text-decoration: none; font-weight: 650; }
.primary { background: var(--accent); color: white; }
.outline { border: 1px solid var(--line); color: var(--ink); }
.example { min-width: 0; padding: 1.15rem; border-radius: 1rem; background: #152344; color: #e5efff; }
.example p { margin: 0; }
.example span { display: inline-block; color: #b5ffe2; margin-right: .5rem; font-weight: 700; }
.example .caption { color: #bac9e6; font-size: .87rem; margin-top: .75rem; }
pre, code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; }
pre { margin: .8rem 0 0; padding: 1rem; border-radius: .65rem; background: #edf1fc; overflow: auto; font-size: .88rem; }
.example pre { background: #1e315c; }
.docs { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 2rem; padding-bottom: 4rem; }
.docs aside nav { display: flex; flex-wrap: wrap; gap: .65rem 1.15rem; }
.article { background: white; border: 1px solid var(--line); border-radius: 1rem; padding: clamp(1rem,4vw,2.4rem); }
.article section + section { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 2rem; }
.article p { color: var(--muted); }
dl { margin: 0; }
dl div { padding: .75rem 0; display: grid; grid-template-columns: 7rem minmax(0,1fr); gap: .5rem; border-bottom: 1px solid var(--line); }
dt { font-weight: 700; }
dd { margin: 0; }
footer { border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .intro, .docs { grid-template-columns: minmax(0,1fr); }
  .docs { gap: 1rem; }
}
@media (max-width: 420px) {
  dl div { grid-template-columns: 1fr; }
}
