/* Schibsted Grotesk, served from this site (SIL Open Font License, fonts/OFL.txt). */
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 800;
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 800;
  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;
}

/* The pages beside the landing page: support, privacy, terms. Same ground,
   same two untinted shadows, light from the upper left. Colour is
   information only. Long text sits in one reading column with its contents
   beside it, so nothing is hidden behind a click. */
:root {
  --ground: #eeeef3;
  --ground-alt: #e6e6ec;
  --ink: #17171c;
  --ink-2: #52525b;
  --muted: #64646d;
  --mark: #f4a6b8;
  --button: #17171c;
  --button-ink: #f6f6f9;
  --done: #1b7d50;
  --agent: #4a50cf;
  --blocked: #b83c2b;
  --rule: rgba(23, 23, 28, 0.075);
  --far: 3px 3px 8px rgba(23, 23, 28, 0.045), -3px -3px 8px rgba(255, 255, 255, 0.72);
  --out: 5px 5px 12px rgba(23, 23, 28, 0.06), -5px -5px 12px rgba(255, 255, 255, 0.86);
  --soon: 9px 9px 22px rgba(23, 23, 28, 0.08), -9px -9px 22px rgba(255, 255, 255, 0.95);
  --out-sm: 2px 2px 5px rgba(23, 23, 28, 0.07), -2px -2px 5px rgba(255, 255, 255, 0.85);
  --in-sm: inset 2px 2px 5px rgba(23, 23, 28, 0.085), inset -2px -2px 5px rgba(255, 255, 255, 0.85);
  --ink-shadow: 0 8px 18px -8px rgba(23, 23, 28, 0.5);
  --header: rgba(238, 238, 243, 0.86);

  --font: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --r-card: 22px;
  --r-slab: 28px;
  --wide: 1120px;
  --read: 680px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #1e1e22;
    --ground-alt: #19191c;
    --ink: #ececf0;
    --ink-2: #b6b6bf;
    --muted: #9898a2;
    --mark: #f4a6b8;
    --button: #ececf0;
    --button-ink: #17171c;
    --done: #4cc48a;
    --agent: #9aa2ff;
    --blocked: #ff7a66;
    --rule: rgba(255, 255, 255, 0.07);
    --far: 3px 3px 8px rgba(0, 0, 0, 0.32), -3px -3px 8px rgba(255, 255, 255, 0.025);
    --out: 5px 5px 12px rgba(0, 0, 0, 0.42), -5px -5px 12px rgba(255, 255, 255, 0.035);
    --soon: 10px 10px 24px rgba(0, 0, 0, 0.55), -7px -7px 18px rgba(255, 255, 255, 0.045);
    --out-sm: 2px 2px 5px rgba(0, 0, 0, 0.45), -2px -2px 5px rgba(255, 255, 255, 0.035);
    --in-sm: inset 2px 2px 5px rgba(0, 0, 0, 0.5), inset -2px -2px 5px rgba(255, 255, 255, 0.035);
    --ink-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.7);
    --header: rgba(30, 30, 34, 0.86);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: #1e1e22;
  --ground-alt: #19191c;
  --ink: #ececf0;
  --ink-2: #b6b6bf;
  --muted: #9898a2;
  --mark: #f4a6b8;
  --button: #ececf0;
  --button-ink: #17171c;
  --done: #4cc48a;
  --agent: #9aa2ff;
  --blocked: #ff7a66;
  --rule: rgba(255, 255, 255, 0.07);
  --far: 3px 3px 8px rgba(0, 0, 0, 0.32), -3px -3px 8px rgba(255, 255, 255, 0.025);
  --out: 5px 5px 12px rgba(0, 0, 0, 0.42), -5px -5px 12px rgba(255, 255, 255, 0.035);
  --soon: 10px 10px 24px rgba(0, 0, 0, 0.55), -7px -7px 18px rgba(255, 255, 255, 0.045);
  --out-sm: 2px 2px 5px rgba(0, 0, 0, 0.45), -2px -2px 5px rgba(255, 255, 255, 0.035);
  --in-sm: inset 2px 2px 5px rgba(0, 0, 0, 0.5), inset -2px -2px 5px rgba(255, 255, 255, 0.035);
  --ink-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.7);
  --header: rgba(30, 30, 34, 0.86);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 700; }
p { margin: 0; }
code, kbd { font-family: var(--mono); font-size: 0.86em; }
:focus-visible { outline: 2px solid var(--agent); outline-offset: 3px; border-radius: 8px; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 30;
  background: var(--button); color: var(--button-ink);
  padding: 10px 16px; border-radius: 999px; text-decoration: none; font-size: 14px;
}
.skip:focus { top: 12px; }

.wrap {
  max-width: calc(var(--wide) + 2 * 32px);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}

/* The header: the lockup, the three pages, one ink button. */
.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--header);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  backdrop-filter: saturate(1.2) blur(14px);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.lockup {
  display: inline-flex; align-items: center; gap: 0.39em;
  font-size: 22px; font-weight: 600; letter-spacing: -0.01em;
  text-decoration: none; color: var(--ink); line-height: 1;
}
.lockup svg { width: 1.66em; height: 0.82em; flex: none; color: var(--mark); overflow: hidden; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a.link {
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  text-decoration: none; padding: 8px 12px; border-radius: 999px;
}
.nav a.link:hover { color: var(--ink); }
.nav a.link[aria-current="page"] { color: var(--ink); box-shadow: var(--in-sm); }
/* The language menu: the current language's code, a list of the others
   beneath it. Closed by a click elsewhere or Esc (langs.js). */
.langs, .langs[open] { position: relative; border-radius: 0; box-shadow: none; padding: 0; margin: 0; }
.langs summary::after, .langs[open] summary::after { content: none; }
details.langs > summary {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: var(--ink-2);
  padding: 8px 4px 8px 10px; cursor: pointer; list-style: none;
  border-radius: 999px; user-select: none; -webkit-user-select: none;
}
.langs summary::-webkit-details-marker { display: none; }
.langs summary:hover, .langs[open] summary { color: var(--ink); }
.langs summary svg { transition: transform 0.15s ease; }
.langs[open] summary svg { transform: rotate(180deg); }
.langs ul {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 30;
  margin: 0; padding: 6px; list-style: none; min-width: 148px;
  background: var(--ground); border-radius: 14px; box-shadow: var(--out);
}
.langs li a, .langs li span {
  display: block; padding: 9px 12px; border-radius: 10px;
  font-size: 14px; color: var(--ink-2); text-decoration: none; white-space: nowrap;
}
.langs li a:hover, .langs li a:focus-visible { color: var(--ink); background: var(--ground-alt); }
.langs li span { color: var(--ink); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .langs summary svg { transition: none; } }
@media (max-width: 760px) { .nav a.link { display: none; } }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 15px/1 var(--font); text-decoration: none; white-space: nowrap;
  border: 0; cursor: pointer; border-radius: 999px; padding: 13px 20px;
  transition: box-shadow 150ms ease, transform 150ms ease;
}
.btn-ink { background: var(--button); color: var(--button-ink); box-shadow: var(--ink-shadow); }
.btn-ink:hover { transform: translateY(-1px); }
.btn-quiet { background: var(--ground); color: var(--ink); box-shadow: var(--out-sm); }
.btn-quiet:hover { box-shadow: var(--out); }
.btn-sm { font-size: 14px; padding: 10px 16px; }

/* The page head */
.head { padding-block: 56px 32px; display: grid; gap: 14px; max-width: 820px; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--muted); }
.head h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.04; letter-spacing: -0.035em; }
.head .lede { font-size: 19px; color: var(--ink-2); max-width: 40em; }
.dates { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 18px; }
.lang { font-size: 14px; color: var(--ink-2); }

/* Contents beside the reading column. */
.doc {
  display: grid;
  grid-template-columns: minmax(0, 236px) minmax(0, var(--read));
  gap: 56px;
  align-items: start;
  padding-bottom: 96px;
}
@media (max-width: 960px) { .doc { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.toc {
  position: sticky; top: 92px;
  max-height: calc(100vh - 120px); overflow: auto;
  font-size: 14px;
}
.toc p { font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; counter-reset: toc; }
.toc a {
  display: block; padding: 6px 12px; border-radius: 12px;
  color: var(--ink-2); text-decoration: none; line-height: 1.35;
}
.toc a:hover { color: var(--ink); }
.toc a.here { color: var(--ink); box-shadow: var(--in-sm); }
@media (max-width: 960px) {
  .toc { position: static; max-height: none; border-radius: var(--r-card); box-shadow: var(--out-sm); padding: 18px; }
  .toc ol { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}

/* The reading column */
.prose { min-width: 0; display: grid; gap: 18px; }
.prose > section { display: grid; gap: 14px; padding-top: 22px; }
.prose > section + section {
  margin-top: 18px;
  background-image: linear-gradient(90deg, transparent, var(--rule) 4%, var(--rule) 96%, transparent);
  background-size: 100% 1px; background-repeat: no-repeat; background-position: top;
  padding-top: 40px;
}
.prose h2 { font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; }
.prose h3 { font-size: 18px; line-height: 1.35; margin-top: 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.prose li::marker { color: var(--muted); }
.prose a { color: var(--ink); }
.prose code {
  background: var(--ground-alt); border-radius: 6px; padding: 1px 6px;
  overflow-wrap: anywhere;
}
.prose pre {
  margin: 0; background: var(--ground-alt); border-radius: 14px;
  padding: 14px 16px; overflow-x: auto; box-shadow: var(--in-sm);
}
.prose pre code { background: none; padding: 0; font-size: 14px; }

/* The short version: one raised card at the top of a page. */
.short {
  border-radius: var(--r-card); box-shadow: var(--out);
  padding: clamp(20px, 3.5vw, 32px); display: grid; gap: 14px;
}
.short h2 { font-size: 20px; letter-spacing: -0.01em; }
.short ul { list-style: none; padding: 0; gap: 10px; }
/* The dot sits in the padding, not in a grid column (Nov 4): as a grid, a
   bold phrase inside a bullet ("your own" account) became a grid item of its
   own, dropped into the dot's 14px column and drawn over the next line, on
   screen and in the legal PDFs. Same 24px indent as the column and its gap. */
.short li { position: relative; padding-left: 24px; color: var(--ink); }
.short li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--done);
}
.short p { color: var(--ink-2); font-size: 15px; }

/* A note that matters, set apart without colour. */
.note {
  border-radius: 18px; box-shadow: var(--in-sm); padding: 16px 18px;
  font-size: 15px; color: var(--ink-2);
}
.note strong { color: var(--ink); }

/* Tables of facts: what is read, where it goes. */
.table { overflow-x: auto; border-radius: 18px; box-shadow: var(--out-sm); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; }
th { font-weight: 600; color: var(--ink); font-size: 14px; }
td { color: var(--ink-2); }
tr + tr td, thead + tbody tr:first-child td {
  background-image: linear-gradient(90deg, var(--rule), var(--rule));
  background-size: 100% 1px; background-repeat: no-repeat; background-position: top;
}

/* Support: questions that open in place, and the ways to reach a person. */
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.way { border-radius: var(--r-card); box-shadow: var(--out-sm); padding: 18px 20px; display: grid; gap: 6px; align-content: start; }
.way h3 { margin: 0; font-size: 16px; }
.way p { font-size: 15px; }
.way a { font-weight: 500; }
details { border-radius: 16px; box-shadow: var(--out-sm); padding: 0 18px; }
details + details { margin-top: 12px; }
summary {
  cursor: pointer; list-style: none; padding: 15px 28px 15px 0; position: relative;
  font-weight: 600; color: var(--ink); line-height: 1.4;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 0; top: 13px;
  font-weight: 500; font-size: 20px; color: var(--muted); line-height: 1;
}
details[open] summary::after { content: "–"; }
details[open] { padding-bottom: 16px; }
details > div { display: grid; gap: 12px; }

/* Footer */
footer .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px 32px; padding-block: 32px 48px;
  background-image: linear-gradient(90deg, transparent, var(--rule) 4%, var(--rule) 96%, transparent);
  background-size: 100% 1px; background-repeat: no-repeat; background-position: top;
}
footer .lockup { font-size: 18px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0; }
.foot-links a { font-size: 14px; color: var(--ink-2); text-decoration: none; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }
.foot-links .net { color: var(--muted); }
.legal { font-size: 13px; color: var(--muted); width: 100%; }

/* Right to left: a page with dir="rtl" on <html> (Hebrew, lang="he"). Each
   rule above that names a physical side is mirrored here, so a Hebrew page
   lays out as the English one does, flipped. Schibsted Grotesk has no Hebrew,
   so Hebrew letters fall through to the system's own Hebrew face. Code,
   commands and the wordmark stay left to right inside the running text. */
:root[dir="rtl"] {
  --font: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Arial Hebrew", "Noto Sans Hebrew", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
[dir="rtl"] body { line-height: 1.7; }
/* Tracking spreads Hebrew letters apart. */
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] .lockup { letter-spacing: 0; }
[dir="rtl"] .skip { left: auto; right: 16px; }
[dir="rtl"] .nav a.lang { padding: 8px 10px 8px 2px; letter-spacing: 0; }
[dir="rtl"] th, [dir="rtl"] td { text-align: right; }
[dir="rtl"] .prose ul, [dir="rtl"] .prose ol { padding-left: 0; padding-right: 22px; }
[dir="rtl"] .short li { padding-left: 0; padding-right: 24px; }
[dir="rtl"] .short li::before { left: auto; right: 0; }
[dir="rtl"] summary { padding: 15px 0 15px 28px; }
[dir="rtl"] summary::after { right: auto; left: 0; }
[dir="rtl"] .lockup, [dir="rtl"] code, [dir="rtl"] kbd, [dir="rtl"] pre { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] pre { text-align: left; }

@media print {
  .top, .toc, footer, .skip { display: none; }
  .doc { display: block; }
  body { background: #fff; color: #000; }
  .short, .table, details, .way, .note { box-shadow: none; border: 1px solid #ccc; }
  /* A section is a grid on screen, and Chrome lays out a grid split across two
     printed pages as though it were not: in the legal PDFs (Oct 31) a table's
     last rows were drawn over the paragraph after it. Plain blocks, same gaps. */
  .prose, .prose > section { display: block; }
  .prose > section > * + * { margin-top: 14px; }
  .table { overflow: visible; }
  tr { break-inside: avoid; }
  /* A heading printed last on a page, its text on the next: four of them in
     the Nov 14 legal PDFs. Keep each with what follows it (Nov 15). */
  h1, h2, h3, h4 { break-after: avoid; }
}
