/* The help center's one stylesheet. Tokens and values are the new UI's (app/next-ui.css: the light document surface
   and the dark workspace surface, one radius ladder, one type ladder, one focus ring); faces are the repository's own
   Schibsted Grotesk and JetBrains Mono, served from this origin (SIL OFL 1.1, licences beside the files). */
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("fonts/schibsted-grotesk-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("fonts/schibsted-grotesk-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/jetbrains-mono-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/jetbrains-mono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Light: the document surface. */
:root {
  color-scheme: light;
  --bg: #fbfbfd; --surface: #ffffff; --panel: #f5f5f7;
  --line: rgba(17, 24, 48, 0.10); --line-2: rgba(17, 24, 48, 0.18); --line-3: #868d9b;
  --ink: #111318; --ink-2: #444b57; --ink-3: #5f697a;
  --accent: #2553c5; --accent-soft: rgba(37, 83, 197, 0.08); --on-accent: #ffffff;
  --warn: #a34a07; --warn-soft: rgba(163, 74, 7, 0.10);
  --plan: #6b46c1; --plan-soft: rgba(107, 70, 193, 0.08);
  --glass: rgba(245, 245, 247, 0.88);
  --shadow: 0 18px 44px -20px rgba(10, 14, 20, 0.35);
  --r: 14px; --r-sm: 10px; --r-xs: 6px; --r-pill: 999px;
  --ff: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, monospace;
  --top-h: 56px;
}
/* Dark: the workspace surface, for a dark system setting unless the reader chose light, or when they chose dark. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #08090d; --surface: #0e1015; --panel: #12151c;
    --line: rgba(148, 170, 255, 0.10); --line-2: rgba(148, 170, 255, 0.20); --line-3: #646d82;
    --ink: #eef1f6; --ink-2: #a6afc0; --ink-3: #828c9e;
    --accent: #5b8bff; --accent-soft: rgba(91, 139, 255, 0.13); --on-accent: #08090d;
    --warn: #f5a742; --warn-soft: rgba(245, 167, 66, 0.13);
    --plan: #9d8bff; --plan-soft: rgba(157, 139, 255, 0.12);
    --glass: rgba(18, 21, 28, 0.88);
    --shadow: 0 18px 44px -20px rgba(0, 0, 0, 0.7);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #08090d; --surface: #0e1015; --panel: #12151c;
  --line: rgba(148, 170, 255, 0.10); --line-2: rgba(148, 170, 255, 0.20); --line-3: #646d82;
  --ink: #eef1f6; --ink-2: #a6afc0; --ink-3: #828c9e;
  --accent: #5b8bff; --accent-soft: rgba(91, 139, 255, 0.13); --on-accent: #08090d;
  --warn: #f5a742; --warn-soft: rgba(245, 167, 66, 0.13);
  --plan: #9d8bff; --plan-soft: rgba(157, 139, 255, 0.12);
  --glass: rgba(18, 21, 28, 0.88);
  --shadow: 0 18px 44px -20px rgba(0, 0, 0, 0.7);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--top-h) + 16px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--ff); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--accent-soft); }
img { max-width: 100%; height: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.mark { flex-shrink: 0; }
.mark-ink { fill: var(--ink); }
.mark-acc { fill: var(--accent); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--r-sm); background: var(--accent); color: var(--on-accent); font-weight: 600; }
.skip:focus { top: 10px; }

/* The top strip: glass over the page, like the app's. */
.top { position: sticky; top: 0; z-index: 40; background: var(--panel); border-bottom: 1px solid var(--line); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .top { background: var(--glass); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }
}
.top-in { max-width: 1320px; margin: 0 auto; min-height: var(--top-h); padding: 8px 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; font-size: 15px; letter-spacing: -0.012em; text-decoration: none; min-height: 24px; }
.brand:hover { text-decoration: none; }
.brand-tag { font-family: var(--ff-mono); font-weight: 400; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 2px 8px; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.top-link { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-pill); color: var(--ink); font-size: 13px; text-decoration: none; }
.top-link:hover { border-color: var(--ink-3); text-decoration: none; }
.theme-btn { display: none; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: transparent; color: var(--ink); cursor: pointer; }
.js .theme-btn { display: inline-flex; }
.theme-btn:hover { border-color: var(--ink-3); }
.theme-btn .ic { width: 18px; height: 18px; }
.theme-moon { display: none; }
.theme-btn[aria-pressed="true"] .theme-sun { display: none; }
.theme-btn[aria-pressed="true"] .theme-moon { display: block; }

/* Search: shown only with script, which it needs. */
.search { position: relative; display: none; }
.js .search { display: block; }
.top .search { flex: 1 1 220px; max-width: 420px; }
.search-box { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border: 1px solid var(--line-3); border-radius: var(--r-pill); background: var(--surface); color: var(--ink-3); }
.search-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.search-box input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 14px; outline: none; }
.search-box input::placeholder { color: var(--ink-3); opacity: 1; }
.search-box input::-webkit-search-cancel-button { cursor: pointer; }
.search-big { max-width: 640px; margin-top: 32px; }
.search-big .search-box { height: 52px; padding: 0 18px; }
.search-big .search-box input { font-size: 17px; }
.search-label { display: block; font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.results { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 50; list-style: none; margin: 0; padding: 6px; max-height: min(70vh, 520px); overflow: auto; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: var(--shadow); }
.results a { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; }
.results a:hover, .results a:focus-visible { background: var(--accent-soft); text-decoration: none; }
.results a:focus-visible { outline-offset: -2px; }
.r-t { font-weight: 600; }
.r-c { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.r-d { font-size: 13px; color: var(--ink-2); }
.r-none { padding: 10px 12px; color: var(--ink-2); font-size: 14px; }

/* Canvas: side navigation, the page, its table of contents. */
.page { flex: 1; width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px 72px; }
.page.has-side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 900px) {
  .page.has-side { grid-template-columns: 232px minmax(0, 1fr); grid-template-areas: "side main"; gap: 48px; }
  .page.has-side > .main { grid-area: main; }
  .page.has-side > .side { grid-area: side; position: sticky; top: calc(var(--top-h) + 24px); align-self: start; max-height: calc(100vh - var(--top-h) - 48px); overflow: auto; padding-top: 40px; }
}
.main { min-width: 0; padding-top: 40px; }
.page-wide .main { padding-top: 0; }

.side { font-size: 14px; border-top: 1px solid var(--line); padding-top: 24px; }
@media (min-width: 900px) { .side { border-top: 0; } }
.side-h, .toc-h { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px; }
.side ul { list-style: none; margin: 0; padding: 0; }
.side li a { display: block; padding: 6px 10px; border-radius: var(--r-sm); color: var(--ink-2); text-decoration: none; }
.side li a:hover { color: var(--ink); background: var(--accent-soft); }
.side li.here > a { color: var(--ink); font-weight: 600; }
.side li ul { margin: 2px 0 8px 10px; padding-left: 8px; border-left: 1px solid var(--line-2); }
.side a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); font-weight: 600; }

/* Answer first: one sentence, large, then the rest (the new UI's hero). */
.hero { padding: 72px 0 40px; }
.eyebrow { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 20px; }
.headline { font-weight: 700; font-size: clamp(34px, 5.4vw, 60px); line-height: 1.04; letter-spacing: -0.032em; margin: 0; max-width: 18ch; text-wrap: balance; }
.subline { font-size: clamp(17px, 2vw, 21px); line-height: 1.45; color: var(--ink-2); margin: 20px 0 0; max-width: 52ch; letter-spacing: -0.012em; }
.hint { color: var(--ink-2); font-size: 14px; }

.block { margin-top: 48px; }
.block-h { font-size: 20px; font-weight: 700; letter-spacing: -0.012em; margin: 0 0 16px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { height: 100%; display: grid; grid-template-rows: auto auto 1fr auto; gap: 6px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; transition: border-color 120ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.card:hover { border-color: var(--accent); text-decoration: none; }
.card-ic { color: var(--accent); width: 24px; height: 24px; margin-bottom: 6px; }
.card-t { font-weight: 700; font-size: 17px; letter-spacing: -0.012em; }
.card-d { color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.card-n { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }
.two { display: grid; gap: 0 32px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.plain { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.plain li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; }
.plain a { font-weight: 600; }
.meta-c { font-family: var(--ff-mono); font-size: 12px; color: var(--ink-3); }
.contact { padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.contact p { margin: 0; color: var(--ink-2); max-width: 70ch; }
.contact p + p { margin-top: 10px; }
.btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 14px; text-decoration: none; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }

/* Category and article heads. */
.crumbs { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; font-family: var(--ff-mono); font-size: 12px; letter-spacing: 0.02em; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); }
.crumbs [aria-current] { color: var(--ink-3); }
.title { font-weight: 700; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -0.026em; margin: 0; text-wrap: balance; }
.cat-head { display: flex; align-items: center; gap: 14px; }
.cat-ic { width: 32px; height: 32px; color: var(--accent); }
.lead { font-size: 19px; line-height: 1.5; color: var(--ink-2); margin: 16px 0 28px; max-width: 64ch; letter-spacing: -0.006em; }
.article-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 780px; }
.article-list a { display: grid; gap: 4px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; }
.article-list a:hover { border-color: var(--accent); text-decoration: none; }
.al-t { font-weight: 700; font-size: 17px; letter-spacing: -0.012em; }
.al-d { color: var(--ink-2); font-size: 14px; }

.meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 16px 0 0; font-size: 13px; }
.meta div { display: flex; gap: 6px; }
.meta dt { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); padding-top: 2px; }
.meta dd { margin: 0; color: var(--ink-2); }

/* The article: content column, with its table of contents beside it on a wide screen and above it otherwise. */
.article { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 48px; align-content: start; }
.toc { margin: 28px 0 0; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); font-size: 14px; max-width: 760px; }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc li a { display: block; padding: 4px 0; color: var(--ink-2); text-decoration: none; }
.toc li a:hover { color: var(--accent); text-decoration: underline; }
.toc .toc-3 a { padding-left: 14px; font-size: 13px; }
@media (min-width: 1240px) {
  .article { grid-template-columns: minmax(0, 1fr) 220px; grid-template-areas: "head toc" "prose toc" "pager toc"; }
  .art-head { grid-area: head; }
  .article > .prose { grid-area: prose; }
  .article > .pager { grid-area: pager; }
  .toc { grid-area: toc; position: sticky; top: calc(var(--top-h) + 24px); align-self: start; margin: 0; padding: 0 0 0 16px; border: 0; border-left: 1px solid var(--line-2); border-radius: 0; background: transparent; max-height: calc(100vh - var(--top-h) - 48px); overflow: auto; }
}

/* Prose. */
.prose { max-width: 760px; font-size: 16px; line-height: 1.7; overflow-wrap: break-word; }
.prose > .lead { margin-top: 28px; }
.prose h2 { font-size: 24px; line-height: 1.25; letter-spacing: -0.02em; margin: 44px 0 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.prose h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.012em; margin: 32px 0 8px; }
.prose h4 { font-size: 16px; margin: 24px 0 6px; }
.prose p, .prose ul, .prose ol, .prose .table-wrap, .prose pre, .prose blockquote, .prose .callout { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 6px; }
.prose li > ul, .prose li > ol, .prose li > p { margin: 6px 0 0; }
.prose ol > li::marker { font-family: var(--ff-mono); font-size: 14px; color: var(--ink-3); }
.prose strong { font-weight: 650; color: var(--ink); }
.prose a { text-decoration: underline; }
.prose code { font-family: var(--ff-mono); font-size: 0.86em; padding: 1px 5px; border-radius: var(--r-xs); background: var(--panel); border: 1px solid var(--line); overflow-wrap: anywhere; }
.prose pre { position: relative; padding: 16px 18px; border-radius: var(--r-sm); background: var(--panel); border: 1px solid var(--line); overflow-x: auto; font-size: 13px; line-height: 1.6; }
.prose pre[data-lang]::before { content: attr(data-lang); position: absolute; top: 6px; right: 10px; font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.prose pre code { padding: 0; border: 0; background: none; font-size: inherit; overflow-wrap: normal; white-space: pre; }
.prose img { border: 1px solid var(--line); border-radius: var(--r-sm); }
.prose blockquote { padding: 2px 0 2px 16px; border-left: 3px solid var(--line-2); color: var(--ink-2); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-sm); }
.prose table { border-collapse: collapse; width: 100%; font-size: 14px; line-height: 1.5; }
/* A narrow screen scrolls a wide table inside its box rather than squeezing a price onto three lines. */
.prose th, .prose td { text-align: left; vertical-align: top; padding: 9px 12px; border-bottom: 1px solid var(--line); min-width: 6.5em; }
.prose thead th, .prose thead td { background: var(--panel); font-weight: 650; white-space: nowrap; }
.prose tbody th { font-weight: 500; min-width: 11em; }
.prose tbody tr:last-child > * { border-bottom: 0; }
.callout { padding: 14px 18px; border-radius: var(--r-sm); border: 1px solid var(--accent); background: var(--accent-soft); }
.callout > :last-child { margin-bottom: 0; }
.callout-t { margin: 0 0 4px; font-family: var(--ff-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.callout-warning { border-color: var(--warn); background: var(--warn-soft); }
.callout-warning .callout-t { color: var(--warn); }
.callout-plan { border-color: var(--plan); background: var(--plan-soft); }
.callout-plan .callout-t { color: var(--plan); }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 760px; margin-top: 48px; }
.pg { display: grid; gap: 2px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); color: var(--ink); text-decoration: none; }
.pg:hover { border-color: var(--accent); text-decoration: none; }
.pg-next { text-align: right; grid-column: 2; }
.pg-k { font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.pg-t { font-weight: 600; }

.foot { border-top: 1px solid var(--line); background: var(--panel); }
.foot-in { max-width: 1320px; margin: 0 auto; padding: 28px 24px 36px; display: grid; gap: 14px; }
.foot-brand { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 700; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; }
.foot-links a { color: var(--ink-2); display: inline-block; padding: 2px 0; }
.foot-links a:hover { color: var(--accent); }
.foot-fine { margin: 0; font-size: 13px; color: var(--ink-3); }

@media (max-width: 640px) {
  .top-in { padding: 8px 16px; gap: 10px; }
  .top .search { order: 3; flex-basis: 100%; max-width: none; }
  .page { padding: 0 16px 56px; }
  .hero { padding: 40px 0 24px; }
  .pager { grid-template-columns: 1fr; }
  .pg-next { grid-column: 1; }
  .meta { gap: 6px 16px; }
}
@media (forced-colors: active) {
  .callout, .card, .article-list a, .pg, .search-box { border-color: CanvasText; }
  .theme-btn[aria-pressed="true"] { outline: 2px solid Highlight; }
}
@media print {
  .top, .side, .toc, .pager, .foot, .skip { display: none; }
  .page.has-side { display: block; }
}
