@font-face {
  font-family: "Schibsted Grotesk"; src: url("fonts/SchibstedGrotesk.woff") format("woff");
  font-style: normal; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "DM Mono"; src: url("fonts/DMMono.woff") format("woff");
  font-style: normal; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Newsreader"; src: url("fonts/Newsreader.woff") format("woff");
  font-style: normal; font-weight: 700; font-display: swap;
}

/* tokens:start — Direction C · Full stop */
:root {
  --paper: #fbfbf8;
  --wash: #f1f1ec;
  --ink: #161616;
  --muted: #62625e;
  --line: #d6d6ce;
  --control: #85857f;
  --accent: #2b4a9c;
  --syntax-sentence: #31583f; --syntax-keyword: #613f86; --syntax-string: #854715;
  --syntax-number: #76521b; --syntax-comment: #62625e; --syntax-label: #2b4a9c;
  --syntax-standing: #31583f; --syntax-refusal: #854052;
  --tombstone: .15em;
  --f-prose: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --f-mark: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121214; --wash: #1c1c20; --ink: #ecebe6;
    --muted: #aaa9a3; --line: #3a3a40; --control: #797980; --accent: #93aaf0;
    --syntax-sentence: #a8c9ad; --syntax-keyword: #c0aff0; --syntax-string: #dfb68c;
    --syntax-number: #e2c48b; --syntax-comment: #aaa9a3; --syntax-label: #93aaf0;
    --syntax-standing: #a8c9ad; --syntax-refusal: #efa7b9;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #121214; --wash: #1c1c20; --ink: #ecebe6;
  --muted: #aaa9a3; --line: #3a3a40; --control: #797980; --accent: #93aaf0;
  --syntax-sentence: #a8c9ad; --syntax-keyword: #c0aff0; --syntax-string: #dfb68c;
  --syntax-number: #e2c48b; --syntax-comment: #aaa9a3; --syntax-label: #93aaf0;
  --syntax-standing: #a8c9ad; --syntax-refusal: #efa7b9;
  color-scheme: dark;
}
/* tokens:end */
* { box-sizing: border-box; }
html { scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 var(--f-prose); overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip { position: absolute; top: -100px; left: 16px; background: var(--paper); padding: 8px 16px; z-index: 4; }
.skip:focus { top: 16px; }
header, footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 32px; }
header { position: sticky; top: 0; z-index: 2; background: var(--paper); border-bottom: 1px solid var(--line); }
header > a:last-child { font-size: 14px; padding: 8px 0; }
footer { border-top: 1px solid var(--line); color: var(--muted); font: 12px/1.7 var(--f-mono); }
.wordmark { font: 700 36px/1 var(--f-mark); letter-spacing: -.025em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.wordmark .stop { display: inline-block; width: var(--tombstone); height: calc(var(--tombstone) * 1.4); margin-left: .055em; background: currentColor; vertical-align: baseline; }
.wordmark .edition { margin-left: 16px; font: 12px/1.7 var(--f-mono); letter-spacing: 0; color: var(--muted); }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.25; letter-spacing: -.025em; }
h1 { font-size: 40px; margin: 0 0 24px; }
h2 { font-size: 28px; margin: 48px 0 20px; }
h3 { font-size: 22px; margin: 32px 0 16px; }
h4 { font-size: 18px; }
p, pre, ul, ol, dl, .document, .table-wrap { margin-block: 20px; }
li + li { margin-top: 8px; }
li > p { margin: 8px 0; }
main, aside, article { min-width: 0; }
article { max-width: 76ch; margin-inline: auto; }
.lead { font-size: 18px; max-width: 55ch; }
pre, code { font-family: var(--f-mono); }
pre { background: var(--wash); padding: 20px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; line-height: 1.8; }
code { font-size: .85em; }
pre code { font-size: inherit; }
img { max-width: 100%; height: auto; }
.docs-layout { display: grid; grid-template-columns: 232px minmax(0, 1fr) 190px; gap: 40px; max-width: 1440px; padding: 40px 32px 72px; margin: auto; }
.sidebar, .outline { font-size: 13px; position: sticky; top: 116px; align-self: start; max-height: calc(100vh - 140px); overflow: auto; }
.sidebar nav + nav, .mobile-navigation nav + nav, .mobile-tools nav + nav { margin-top: 20px; }
.nav-label { font: 12px/1.7 var(--f-mono); color: var(--muted); margin: 0 0 8px; }
.sidebar ul, .outline ul, .mobile-navigation ul, .mobile-tools ul { list-style: none; padding: 0; margin: 0; }
.sidebar li + li, .outline li + li, .mobile-navigation li + li, .mobile-tools li + li { margin: 0; }
.sidebar a, .outline a, .mobile-navigation a, .mobile-tools a { display: block; padding: 6px 0; text-decoration: none; }
.sidebar a:hover, .outline a:hover, .mobile-navigation a:hover, .mobile-tools a:hover { text-decoration: underline; }
.sidebar a[aria-current], .mobile-navigation a[aria-current], .mobile-tools a[aria-current] { color: var(--ink); font-weight: 600; text-decoration: underline; }
.outline .level-3 { padding-left: 12px; }
.metadata, .source-note, .capture-note { font: 12px/1.7 var(--f-mono); color: var(--muted); }
.metadata { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 48px; }
.document { background: var(--wash); padding: 16px 24px; border-left: 2px solid var(--accent); }
.document p { margin: 8px 0; white-space: pre-wrap; }
.table-wrap { max-width: 100%; overflow: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; vertical-align: top; padding: 12px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.align-right { text-align: right; }
.align-center { text-align: center; }
.words dd { margin: 8px 0 24px; }
.words dt { font-weight: 600; }
.section-links, .adjacent { display: flex; flex-wrap: wrap; gap: 24px; margin-block: 32px; }
input, button { font: inherit; min-height: 44px; padding: 8px 12px; color: var(--ink); background: var(--wash); border: 1px solid var(--control); max-width: 100%; }
label { display: block; margin-bottom: 8px; }
button, summary { cursor: pointer; }
#search-results { list-style: none; padding: 0; }
#search-results li { margin-block: 24px; }
#search-results p { margin: 8px 0; }
.first-steps { padding-left: 24px; }
.first-answer { border-left: 2px solid var(--accent); padding-left: 20px; }
.mobile-tools, .mobile-navigation { display: none; }
@media (max-width: 1100px) {
  .docs-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 32px; }
  .outline { display: none; }
  .mobile-tools { display: block; padding: 0 32px; }
}
@media (max-width: 700px) {
  header, footer { padding: 16px; }
  header { min-height: 72px; gap: 16px; }
  .mobile-navigation { display: block; font-size: 13px; }
  .mobile-navigation summary { padding-block: 8px; }
  .mobile-navigation .menu-content { position: absolute; top: 100%; left: 16px; right: 16px; background: var(--paper); border: 1px solid var(--control); padding: 16px; max-height: calc(100dvh - 100px); overflow: auto; }
  .wordmark { font-size: 32px; }
  .docs-layout { display: block; padding: 24px 16px 48px; }
  .sidebar, .outline { display: none; }
  .mobile-tools { padding: 0 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
  .mobile-tools summary { padding-block: 12px; }
  .mobile-tools nav { padding-bottom: 16px; }
  h1 { font-size: 32px; margin-bottom: 20px; }
  h2 { font-size: 24px; margin-top: 32px; }
  h3 { font-size: 20px; }
  .lead { font-size: 16px; }
  pre { padding: 16px; }
  footer { align-items: start; flex-direction: column; gap: 8px; }
}
