@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/fonts/schibsted-grotesk-var-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: dark;
  background: #111;
  color: #ececea;
  font: 16px/1.55 "Schibsted Grotesk", system-ui, sans-serif;
  --line: #393939;
  --secondary: #b6b6b3;
}

body { margin: 0; }
header { padding: 20px max(20px, calc((100% - 960px) / 2)); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; gap: 9px; align-items: center; font-weight: 700; text-decoration: none; }
main { width: min(640px, calc(100% - 40px)); margin: clamp(32px, 6vw, 76px) auto 56px; }
h1 { margin: 0 0 10px; font-size: clamp(2.25rem, 6vw, 3.5rem); line-height: 1.04; letter-spacing: -.05em; }
h2 { margin: 0 0 6px; font-size: 1.375rem; line-height: 1.2; letter-spacing: -.02em; }
p { margin: 0 0 10px; }
.lead { max-width: 51ch; color: var(--secondary); font-size: 1.0625rem; }
section { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
section p { color: var(--secondary); }
a { color: #ececea; text-underline-offset: 3px; }
code, pre { font-family: "IBM Plex Mono", ui-monospace, Consolas, monospace; }
code { font-size: .875em; }
.command { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0; padding: 7px 8px 7px 12px; border: 1px solid var(--line); border-radius: 8px; background: #1a1a1a; }
.command pre { flex: 1 1 250px; min-width: 0; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
button { min-width: 74px; min-height: 42px; padding: 6px 10px; border: 1px solid #565653; border-radius: 5px; background: #262626; color: inherit; font: inherit; cursor: pointer; }
button:hover { background: #333; }
:is(a, button, summary):focus-visible { outline: 2px solid #ececea; outline-offset: 3px; }
details { font-size: .9rem; }
summary { width: fit-content; cursor: pointer; }
details p { margin-top: 8px; }
.next { margin-top: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
