/* theme:begin */
/* Generated by sites/tool/sync_theme.py from native/lib/theme/palette.dart
   (Linnen + eucalyptus). Do not edit by hand. */
:root {
  --bg: #faf8f4; /* background: oklch(0.980 0.0064 95) */
  --surface: #fefdfb; /* surface: oklch(0.995 0.0032 95) */
  --ink: #332d25; /* ink: oklch(0.300 0.0160 70) */
  --muted: #615951; /* muted: oklch(0.470 0.0160 70) */
  --note: #efebdd; /* note: oklch(0.940 0.0200 95) */
  --line: #dad7cf; /* line: oklch(0.880 0.0120 95) */
  --link: #395e51; /* link: oklch(0.450 0.0480 170) */
  --button: #bbd9cd; /* button: oklch(0.860 0.0360 170) */
  --button-ink: #182822; /* buttonInk: oklch(0.260 0.0240 170) */
  --pick: #d0e8de; /* pick: oklch(0.910 0.0280 170) */
  --pick-line: #638277; /* pickLine: oklch(0.580 0.0400 170) */
  --pan-1: #e5edea; --pan-edge-1: #8a918e;
  --pan-2: #bacfc7; --pan-edge-2: #80948c;
  --pan-3: #91b2a5; --pan-edge-3: #6d8d81;
  --pan-4: #679585; --pan-edge-4: #447162;
  --pan-5: #3c7965; --pan-edge-5: #155744;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #181612; /* background: oklch(0.200 0.0080 80) */
    --surface: #211f1b; /* surface: oklch(0.240 0.0080 80) */
    --ink: #eae8e1; /* ink: oklch(0.930 0.0096 95) */
    --muted: #b0aea6; /* muted: oklch(0.750 0.0120 95) */
    --note: #322e22; /* note: oklch(0.300 0.0200 90) */
    --line: #3c3a35; /* line: oklch(0.350 0.0096 90) */
    --link: #a0c8b9; /* link: oklch(0.800 0.0480 170) */
    --button: #9cc1b3; /* button: oklch(0.780 0.0440 170) */
    --button-ink: #0f1815; /* buttonInk: oklch(0.200 0.0160 170) */
    --pick: #273a33; /* pick: oklch(0.330 0.0280 170) */
    --pick-line: #93b7aa; /* pickLine: oklch(0.750 0.0440 170) */
    --pan-1: #e5edea; --pan-edge-1: #bec6c3;
    --pan-2: #bacfc7; --pan-edge-2: #95a9a1;
    --pan-3: #91b2a5; --pan-edge-3: #6d8d81;
    --pan-4: #679585; --pan-edge-4: #447162;
    --pan-5: #3c7965; --pan-edge-5: #155744;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #181612; /* background: oklch(0.200 0.0080 80) */
  --surface: #211f1b; /* surface: oklch(0.240 0.0080 80) */
  --ink: #eae8e1; /* ink: oklch(0.930 0.0096 95) */
  --muted: #b0aea6; /* muted: oklch(0.750 0.0120 95) */
  --note: #322e22; /* note: oklch(0.300 0.0200 90) */
  --line: #3c3a35; /* line: oklch(0.350 0.0096 90) */
  --link: #a0c8b9; /* link: oklch(0.800 0.0480 170) */
  --button: #9cc1b3; /* button: oklch(0.780 0.0440 170) */
  --button-ink: #0f1815; /* buttonInk: oklch(0.200 0.0160 170) */
  --pick: #273a33; /* pick: oklch(0.330 0.0280 170) */
  --pick-line: #93b7aa; /* pickLine: oklch(0.750 0.0440 170) */
  --pan-1: #e5edea; --pan-edge-1: #bec6c3;
  --pan-2: #bacfc7; --pan-edge-2: #95a9a1;
  --pan-3: #91b2a5; --pan-edge-3: #6d8d81;
  --pan-4: #679585; --pan-edge-4: #447162;
  --pan-5: #3c7965; --pan-edge-5: #155744;
}
:root[data-theme="light"] { color-scheme: light; }
/* theme:end */

/* brand:begin */
/* Site-only colours around the app palette above: the eucalyptus bands, their text, and
   the tinted sections. Hex, so the contrast test in sites/test/test_site.py reads them. */
:root {
  --hero: #385b4f; /* oklch(0.44 0.045 170) */
  --hero-deep: #284a3f; /* oklch(0.38 0.045 170) */
  --on: #f5faf8; /* oklch(0.98 0.006 170) */
  --on-2: #d2e3dc; /* oklch(0.90 0.020 170) */
  --eyebrow: #385b4f;
  --tint: #e5edea; /* pannetje 1 */
  --paper-2: #f2f0e8; /* oklch(0.955 0.011 95) */
  --night: #111e19; /* oklch(0.22 0.020 170) */
  --tile-ink: #332d25;
  --frame: #121a17;
  --frame-edge: #2b3531;
  --shadow: oklch(20% 0.03 170 / 0.5);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --hero: #1b342b; /* oklch(0.30 0.035 170) */
    --hero-deep: #12261f; /* oklch(0.25 0.030 170) */
    --on: #edf4f1; /* oklch(0.96 0.008 170) */
    --on-2: #c2d2cc; /* oklch(0.85 0.020 170) */
    --eyebrow: #a0c8b9; /* the dark link colour */
    --tint: #1a231f; /* oklch(0.245 0.014 170) */
    --paper-2: #1e1b18; /* oklch(0.225 0.008 80) */
    --night: #09120e; /* oklch(0.17 0.015 170) */
    --tile-ink: #332d25;
    --frame-edge: #3a4641;
    --shadow: oklch(5% 0.01 170 / 0.7);
  }
}
:root[data-theme="dark"] {
  --hero: #1b342b;
  --hero-deep: #12261f;
  --on: #edf4f1;
  --on-2: #c2d2cc;
  --eyebrow: #a0c8b9;
  --tint: #1a231f;
  --paper-2: #1e1b18;
  --night: #09120e;
  --tile-ink: #332d25;
  --frame-edge: #3a4641;
  --shadow: oklch(5% 0.01 170 / 0.7);
}
/* brand:end */

/* pannetjes.app: eucalyptus bands, Figtree, flat cards. No scripts; the fonts are
   served from this site (SIL OFL, licence in /fonts/OFL.txt). */
@font-face { font-family: "Figtree"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/figtree-400.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-style: normal; font-display: swap; src: url(/fonts/figtree-700.woff2) format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 800; font-style: normal; font-display: swap; src: url(/fonts/figtree-800.woff2) format("woff2"); }

:root {
  color-scheme: light dark;
  --radius-s: 0.625rem;
  --radius-m: 0.875rem;
  --radius-pill: 999px;
  --measure: 42rem;
  --page: 70rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --nav-h: 4rem;
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 100%;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }

html { background: var(--bg); overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 1.0625rem;
  overflow-wrap: break-word;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus, var(--link)); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.2rem); }
h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); line-height: 1.05; }
h3 { font-size: 1.2rem; }
p, ul, ol, dl { margin: 0 0 1em; }
li + li { margin-top: 0.35em; }

.muted { color: var(--muted); }

.skip {
  position: absolute;
  left: 1rem;
  top: -10rem;
  padding: 0.5rem 0.875rem;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  z-index: 60;
}
.skip:focus { top: 1rem; }

.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow { font-size: 0.75rem; font-weight: 800; line-height: 1; letter-spacing: 0.16em; text-transform: uppercase; color: var(--eyebrow); margin: 0 0 0.8rem; }
.lead { font-size: 1.1875rem; color: var(--muted); max-width: 34rem; }

/* Sections on eucalyptus or night: light text, light focus ring. */
.band, .site-header, .footer-base { --focus: var(--on); }

/* Header: transparent over the eucalyptus band at the top of every page, solid once
   that band leaves the view (owner, 2026-10-22). CSS only; without scroll-driven
   animations it is solid at once. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  margin-bottom: calc(var(--nav-h) * -1);
  color: var(--on);
  background: transparent;
  border-bottom: 1px solid transparent;
}
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: var(--nav-h); }
@supports (animation-timeline: scroll()) {
  .site-header { animation: header-solid linear both; animation-timeline: scroll(root); animation-range: 4rem 12rem; }
}
@supports not (animation-timeline: scroll()) {
  .site-header { background: var(--hero-deep); border-bottom-color: color-mix(in oklch, var(--on) 18%, transparent); }
}
@keyframes header-solid { to { background: var(--hero-deep); border-bottom-color: color-mix(in oklch, var(--on) 18%, transparent); } }
@media (prefers-reduced-motion: reduce) { .site-header { animation-duration: 0s; } }

.brand { display: inline-flex; align-items: center; gap: 0.5rem; color: currentColor; text-decoration: none; margin-right: auto; }
.site-nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.site-nav li + li { margin-top: 0; }
.site-nav a { color: inherit; font-weight: 700; font-size: 0.9375rem; text-decoration: none; display: inline-block; padding: 0.5rem 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.test-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--on);
  color: var(--hero-deep);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  white-space: nowrap;
}

main { display: block; }
main:focus { outline: none; }

/* Buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0 1.25rem;
  border-radius: var(--radius-s);
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  text-decoration: none;
}
.pill.white { background: var(--on); color: var(--hero-deep); }
.pill.dark { background: var(--ink); color: var(--bg); }

/* Phone frame with a screen from the app */
.phone {
  --w: 290px;
  width: var(--w);
  max-width: 100%;
  padding: calc(var(--w) * 0.035);
  border-radius: calc(var(--w) * 0.17);
  background: var(--frame);
  box-shadow: 0 0 0 2px var(--frame-edge), 0 40px 60px -30px var(--shadow);
  flex: none;
}
.phone .scr { border-radius: calc(var(--w) * 0.135); overflow: hidden; aspect-ratio: 603 / 1311; background: var(--bg); }
.phone .scr img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* 1 · hero, all eucalyptus */
.hero { background: var(--hero); color: var(--on); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 3rem; align-items: start; }
.hero .copy { padding-block: calc(5rem + var(--nav-h)) 5.5rem; }
.hero .eyebrow { color: var(--on-2); }
.hero h1 { font-size: clamp(4rem, 1.6rem + 9vw, 8.4rem); line-height: 0.9; letter-spacing: -0.05em; margin: 0; }
.hero .sub { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.05rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin: 1.4rem 0 0; max-width: 22ch; }
.hero .body { font-size: 1.1875rem; color: var(--on-2); margin: 1rem 0 0; max-width: 38ch; }
.hero .btn-row { margin-top: 1.6rem; }
.hero .fine { font-size: 0.875rem; color: var(--on-2); margin: 1.1rem 0 0; }
.hero .device { display: flex; justify-content: center; padding-top: calc(5.5rem + var(--nav-h)); margin-bottom: -9rem; }
.hero .phone { --w: 320px; }
.soon { font-size: 0.9375rem; margin: 0.9rem 0 0; }
.hero .soon { color: var(--on-2); }
.badges { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; margin-top: 1rem; }
.badges[hidden] { display: none; }

/* 2 · chip cloud */
.small-things { padding-block: 6.5rem; text-align: center; }
.small-things .lead, .night .lead, .scale .lead, .devices .lead, .features .lead { margin-inline: auto; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; max-width: 46rem; margin: 2.4rem auto 0; padding: 0; list-style: none; }
.chips li { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 0.65rem 1.2rem; font-size: 0.8125rem; font-weight: 800; line-height: 1; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; background: var(--surface); }

/* 3 · split sections: text left, picture right */
.split { padding-block: 6rem; }
.split.tint { background: var(--tint); }
.split .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 3rem; align-items: center; }
.split .aside { color: var(--ink); max-width: 36em; }
.split .device { display: flex; justify-content: center; }
.ticks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 0.55rem; }
.ticks li { position: relative; margin: 0; padding-left: 2rem; }
.ticks li span { color: var(--muted); }
/* A round check, drawn in CSS: the circle, then a turned corner as the tick. */
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--eyebrow); }
.ticks li::after { content: ""; position: absolute; left: 0.45rem; top: calc(0.2em + 0.25rem); width: 0.35rem; height: 0.6rem; border: solid var(--bg); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Step 2: the five pans in rings, as an illustration (not a screen). */
.rings {
  list-style: none;
  margin: 0;
  width: 100%;
  max-width: 21rem;
  border-radius: 2rem;
  padding: 2rem 1.6rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem 1rem;
  background: linear-gradient(160deg, var(--pan-5), #284a3f 70%);
  box-shadow: 0 40px 60px -30px var(--shadow);
}
.rings li { margin: 0; display: grid; justify-items: center; gap: 0.55rem; color: #f5faf8; font-size: 1rem; font-weight: 800; }
.rings .wide { grid-column: 1 / -1; }
.rings i { width: 6.4rem; max-width: 100%; aspect-ratio: 1; border-radius: 50%; border: 5px solid rgb(245 250 248 / 0.4); display: grid; place-items: center; background: rgb(18 26 23 / 0.35); }
.rings .wide i { border-color: #f5faf8; }
.rings img { width: 74%; }

/* 4 · night band with the evening photo */
.night { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--on); padding-block: 6rem 5rem; text-align: center; }
.night > .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; z-index: -2; }
.night::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, oklch(18% 0.02 170 / 0.92), oklch(18% 0.02 170 / 0.78) 45%, oklch(18% 0.02 170 / 0.92)); }
.night .eyebrow { color: var(--pan-3); }
.night .lead { color: var(--on-2); max-width: 32em; }
.night .pair { display: flex; justify-content: center; gap: 5rem; margin-top: 3.5rem; }
.night figure { display: grid; justify-items: center; gap: 1rem; }
.night figcaption { font-size: 0.875rem; color: var(--on-2); }
.night .phone { --w: 250px; }

/* 5 · the scale as a row of coloured tiles */
.scale { padding-block: 6.5rem; text-align: center; }
.scale .shot { margin-top: 2.6rem; border-radius: 1.75rem; overflow: hidden; height: clamp(14rem, 36vw, 26rem); }
.scale .shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 75%; }
.tiles { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.1rem; }
.tiles li {
  margin: 0;
  aspect-ratio: 9 / 16;
  border-radius: 1.75rem;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.8rem;
  padding: 1rem;
  color: var(--tile-ink);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 0 5px var(--frame), 0 30px 40px -24px var(--shadow);
}
.tiles img { width: 88%; }
.tiles li:nth-child(1) { background: var(--pan-1); }
.tiles li:nth-child(2) { background: var(--pan-2); }
.tiles li:nth-child(3) { background: var(--pan-3); }
.tiles li:nth-child(4) { background: var(--pan-4); }
.tiles li:nth-child(5) { background: var(--pan-5); color: #f5faf8; }

/* 6 · devices */
.devices { background: var(--paper-2); padding-block: 6rem 4.5rem; text-align: center; }
.devices .row { display: flex; justify-content: center; align-items: flex-end; gap: 2.2rem; margin-top: 3.5rem; }
.devices figure { display: grid; justify-items: center; gap: 1.1rem; }
.devices figcaption { text-wrap: balance; font-size: 0.75rem; font-weight: 800; line-height: 1.2; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.devices .phone { --w: 190px; }
.devices .w { align-self: center; }
.watch { width: 11rem; aspect-ratio: 416 / 496; border-radius: 2.6rem; padding: 0.7rem; background: var(--frame); box-shadow: 0 0 0 2px var(--frame-edge), 0 30px 50px -28px var(--shadow); display: grid; place-items: center; }
.watch img { width: 100%; height: 100%; object-fit: cover; border-radius: 2rem; }

/* 7 · test along: TestFlight with a QR code */
.test { background: var(--bg); padding-block: 5.5rem; border-top: 1px solid var(--line); }
.test .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 3rem; align-items: center; }
.test-steps { margin: 1.4rem 0 1.6rem; padding-left: 1.3rem; display: grid; gap: 0.5rem; }
.test-steps li { margin: 0; padding-left: 0.25rem; }
.test .fine { font-size: 0.9375rem; color: var(--muted); margin: 1rem 0 0; }
.qr { justify-self: center; display: grid; justify-items: center; gap: 0.7rem; }
.qr img { width: 15rem; border-radius: 1.1rem; background: #fff; padding: 0.6rem; box-shadow: 0 0 0 1px var(--line), 0 18px 30px -18px var(--shadow); }
.qr figcaption { font-size: 0.9375rem; color: var(--muted); }

/* 8 · privacy as cards, then the short table (spec §3.5) */
.features { background: var(--tint); padding-block: 6rem; text-align: center; }
.grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 2.8rem 0 0; text-align: left; }
.grid li, .facts-card { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.1rem 1.2rem 1.3rem; }
.grid b { display: block; font-size: 1.0625rem; }
.grid p { color: var(--muted); font-size: 0.9375rem; line-height: 1.45; margin: 0.35rem 0 0; }
.facts-card { margin-top: 1rem; text-align: left; padding: 1.5rem; }
.facts-card h3 { margin-bottom: 0.25rem; }
.facts-card > p:last-child { margin-bottom: 0; }

.note { background: var(--note); border-radius: var(--radius-s); padding: 0.875rem 1rem; color: var(--ink); }
.note p:last-child { margin-bottom: 0; }

/* Tables: rows on wide screens, stacked blocks on narrow ones. */
.facts { width: 100%; border-collapse: collapse; margin: 1rem 0 1.25rem; font-size: 0.9375rem; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 0.625rem 0.75rem 0.625rem 0; border-bottom: 1px solid var(--line); }
.facts thead th { font-weight: 700; color: var(--ink); border-bottom-color: var(--muted); }
.facts tbody th { font-weight: 700; }
.yes { font-weight: 700; color: var(--link); }
.no { font-weight: 700; color: var(--muted); }

@media (max-width: 40rem) {
  .facts thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .facts, .facts tbody, .facts tr, .facts th, .facts td { display: block; }
  .facts tr { border-bottom: 1px solid var(--line); padding: 0.625rem 0; }
  .facts th, .facts td { border: 0; padding: 0.125rem 0; }
  .facts tbody th { font-size: 1rem; margin-bottom: 0.25rem; }
  .facts td::before { content: attr(data-label) ": "; color: var(--muted); }
}

/* 9 · second eucalyptus band: questions */
.words { background: var(--hero); color: var(--on); padding-block: 6rem; text-align: center; }
.words .eyebrow { color: var(--on-2); }
.qs { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 2.8rem 0 0; text-align: left; }
.qs li { margin: 0; background: var(--hero-deep); border-radius: 1rem; padding: 1.6rem 1.7rem 1.7rem; }
.qs b { display: block; font-size: 1.45rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.015em; }
.qs p { color: var(--on-2); margin: 0.7rem 0 0; }
.words .more { margin: 2rem 0 0; }
.words a { color: var(--on); font-weight: 700; }

/* 10 · closing */
.get { padding-block: 6rem 5rem; text-align: center; }
.get .icon { width: 6.5rem; height: 6.5rem; margin: 0 auto 1.4rem; border-radius: 24%; box-shadow: 0 0 0 1px var(--line), 0 18px 30px -16px var(--shadow); }
.get h2 { font-size: clamp(2.4rem, 1.8rem + 2vw, 3.3rem); }
.get .lead { font-size: 1.35rem; margin-inline: auto; }
.get .btn-row { justify-content: center; margin-top: 1.6rem; }
.get .soon { color: var(--muted); }
.get .badges { justify-content: center; }
.get .fine { font-size: 0.875rem; color: var(--muted); max-width: 44em; margin: 2rem auto 0; }

/* Reading pages: the intro sits on the same eucalyptus band as the home hero, so the
   header behaves the same everywhere. */
.page-band { background: var(--hero); color: var(--on); padding: calc(3.5rem + var(--nav-h)) 0 3rem; }
.page-band .lead { color: var(--on-2); }
.page-band a { color: var(--on); }
.page-intro ul { padding-left: 1.2rem; }
.page-intro > :last-child { margin-bottom: 0; }
main > .wrap { padding-bottom: 4rem; }
.section { margin-top: 3.5rem; }
.prose { max-width: var(--measure); }
.prose h2, .section > h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); }
.prose h2 { margin-top: 2.75rem; }
.prose h3 { margin-top: 1.75rem; }
.prose .facts-wide { max-width: none; }
.toc { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin: 1.5rem 0 0; }
.page-intro .toc { padding: 0; }
.toc li + li { margin-top: 0; }
.toc a { display: inline-block; padding: 0.25rem 0; font-weight: 700; }
.steps li { padding-left: 0.25rem; }
.versions dt { font-weight: 700; margin-top: 1rem; }
.versions dd { margin: 0.25rem 0 0; }
.faq h3 { margin-top: 2rem; }
.helplist { list-style: none; padding: 0; }
.helplist li { padding: 0.625rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.helplist .num { font-weight: 800; font-size: 1.125rem; white-space: nowrap; }

/* Footer: help numbers on a quiet band, then the night strip. */
.footer-help { background: var(--paper-2); padding-block: 4rem; }
.footer-help .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2rem; align-items: start; }
.footer-help h2 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.5rem); }
.footer-help p { color: var(--muted); margin: 0; }
.lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.lines li { margin: 0; display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1rem; align-items: baseline; background: var(--surface); border-radius: 0.75rem; padding: 0.9rem 1.1rem; }
.lines .num { font-size: 1.35rem; font-weight: 800; line-height: 1.2; text-decoration: none; color: var(--link); white-space: nowrap; }
.lines .num:hover { text-decoration: underline; }
.footer-base { background: var(--night); color: var(--on-2); font-size: 0.9375rem; }
.footer-base .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 2rem 2.5rem; }
.footer-base a { color: var(--on); }
.footer-line { display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem 1.5rem; list-style: none; padding: 0; margin: 0; }
.footer-line li { margin: 0; padding: 0.25rem 0; }

/* Brand (ADR-026): the product wordmark in the header, the endorsement in the footer.
   Inline SVG so the colours follow the tokens; no scripts, no inline styles. */
.brand-word { height: 1.15rem; width: auto; display: block; }
.footer-line .maker { display: flex; align-items: center; }
.maker-link { display: block; padding: 0.35rem 0; }
.afzender { height: 0.95rem; width: auto; display: block; align-self: center; }
.afzender .afz-van { fill: var(--on-2); }
.afzender .afz-peil { fill: var(--pan-3); }
.afzender .afz-moment { fill: var(--on); }

/* Theme switch (ADR-029): a plain form, no scripts. The site's _worker.js stores the
   choice in a cookie and marks the pressed button; without it, "Systeem" is pressed. */
.theme-switch fieldset { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.theme-options { display: flex; }
.theme-switch legend { float: left; display: flex; align-items: center; min-height: 2.5rem; padding: 0; color: var(--on-2); }
.theme-switch button {
  font: inherit;
  color: var(--on);
  background: transparent;
  border: 1px solid color-mix(in oklch, var(--on) 35%, transparent);
  margin: 0 0 0 -1px;
  padding: 0.375rem 0.875rem;
  min-height: 2.5rem;
  cursor: pointer;
}
.theme-switch button:first-child { margin-left: 0; border-radius: var(--radius-pill) 0 0 var(--radius-pill); }
.theme-switch button:last-child { border-radius: 0 var(--radius-pill) var(--radius-pill) 0; }
.theme-switch button:hover { background: color-mix(in oklch, var(--on) 10%, transparent); }
.theme-switch button[aria-pressed="true"] { background: var(--hero); border-color: var(--on-2); position: relative; z-index: 1; }
.theme-switch button:focus-visible { position: relative; z-index: 2; }

/* Logo D (ADR-033): the shape inline, the colours from the theme (--pan-N, --pan-edge-N). */
.mark { display: block; }
.mark .p1 > * { fill: var(--pan-1); stroke: var(--pan-edge-1); }
.mark .p2 > * { fill: var(--pan-2); stroke: var(--pan-edge-2); }
.mark .p3 > * { fill: var(--pan-3); stroke: var(--pan-edge-3); }
.mark .p4 > * { fill: var(--pan-4); stroke: var(--pan-edge-4); }
.mark .p5 > * { fill: var(--pan-5); stroke: var(--pan-edge-5); }
.brand-mark { width: 2rem; height: 2rem; flex: none; }

/* Header theme toggle (ADR-034). One button is shown: the one that leads away from the
   theme on screen, so it shows the moon in light and the sun in dark. "Systeem" stays in
   the footer switch. */
.theme-toggle { margin: 0; }
.theme-toggle button {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid color-mix(in oklch, var(--on) 40%, transparent);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--on);
  cursor: pointer;
  view-transition-name: theme-toggle;
}
.theme-toggle button:hover { background: color-mix(in oklch, var(--on) 12%, transparent); }
.theme-toggle svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .to-light { display: none; }
:root[data-theme="dark"] .theme-toggle .to-light { display: grid; }
:root[data-theme="dark"] .theme-toggle .to-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .to-light { display: grid; }
  :root:not([data-theme="light"]) .theme-toggle .to-dark { display: none; }
}

/* Narrow screens */
@media (max-width: 54rem) {
  .site-nav { display: none; }
  .hero .wrap, .split .wrap, .footer-help .wrap, .test .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap { text-align: center; gap: 0; }
  .hero .copy { padding-block: calc(3.5rem + var(--nav-h)) 2.5rem; }
  .hero .sub, .hero .body { margin-inline: auto; }
  .hero .btn-row, .hero .badges { justify-content: center; }
  .hero .device { padding-top: 0; margin-bottom: -12rem; }
  .hero .phone { --w: 280px; }
  .small-things, .scale, .features, .words, .get, .split { padding-block: 4.5rem; }
  .split .device { margin-top: 1rem; }
  .split .phone { --w: 250px; }
  .night .pair { gap: 1rem; }
  .night .phone { --w: 165px; }
  .tiles { gap: 0.55rem; padding-inline: 3px; }
  .tiles li { border-radius: 0.875rem; box-shadow: 0 0 0 3px var(--frame); font-size: 1.3rem; padding: 0.4rem; gap: 0.4rem; }
  .devices .row { gap: 1rem; flex-wrap: wrap; }
  .devices .phone { --w: 150px; }
  .watch { width: 8rem; border-radius: 1.9rem; padding: 0.5rem; }
  .watch img { border-radius: 1.5rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qs { grid-template-columns: minmax(0, 1fr); }
  .test .qr { order: 1; }
  .qr img { width: 12rem; }
}
@media (max-width: 26rem) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .site-header .wrap { gap: 0.75rem; }
  .test-link { padding: 0 0.9rem; }
  .lines li { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; }
  .night .phone { --w: 140px; }
  /* Phone, watch, phone stay one row. */
  .devices .row { flex-wrap: nowrap; gap: 0.6rem; }
  .devices .phone { --w: 104px; }
  .watch { width: 6rem; border-radius: 1.4rem; padding: 0.35rem; }
  .watch img { border-radius: 1.1rem; }
  .devices figcaption { font-size: 0.625rem; letter-spacing: 0.08em; max-width: 7rem; }
}

/* Transitions between pages, without a script: a cross-document view transition. A link
   crossfades briefly; right after a theme switch (the worker sets data-transition) the new
   theme opens as a circle from the toggle and the icon turns. Browsers without support
   simply show the new page. */
@view-transition { navigation: auto; }
::view-transition-group(root) { animation-duration: 0.2s; }
:root[data-transition="theme"]::view-transition-old(root),
:root[data-transition="theme"]::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
:root[data-transition="theme"]::view-transition-new(root) {
  animation: theme-reveal 0.6s cubic-bezier(0.22, 0.8, 0.24, 1);
}
:root[data-transition="theme"]::view-transition-old(theme-toggle) { animation: toggle-out 0.3s ease-in both; }
:root[data-transition="theme"]::view-transition-new(theme-toggle) { animation: toggle-in 0.45s cubic-bezier(0.22, 0.8, 0.24, 1) 0.1s both; }
@keyframes theme-reveal {
  /* The toggle sits at the right end of the header row: the gutter plus half its width,
     halfway down the header. */
  from { clip-path: circle(0 at calc(50% + min(50%, var(--page) / 2) - var(--gutter) - 1.375rem) calc(var(--nav-h) / 2)); }
  to { clip-path: circle(150vmax at calc(50% + min(50%, var(--page) / 2) - var(--gutter) - 1.375rem) calc(var(--nav-h) / 2)); }
}
@keyframes toggle-out { to { opacity: 0; transform: rotate(-90deg) scale(0.6); } }
@keyframes toggle-in { from { opacity: 0; transform: rotate(90deg) scale(0.6); } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}

/* List maker on /lijst/ (vaardigheden spec §9): the only page with a script. */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.maker-needs-script { margin-block: 2rem; }
.maker { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2.5rem; padding-block: 2.5rem 1rem; align-items: start; }
/* The examples under the builder: open one in it, or download it. */
.examples { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 0.75rem; }
.example { border: 1px solid var(--line); border-radius: var(--radius-s); padding: 1rem 1.1rem 1.1rem; }
.example h3 { margin: 0 0 0.2rem; font-size: 1.125rem; }
.example p { margin: 0 0 0.8rem; }
/* Opening an example scrolls here; keep the name field clear of the sticky header. */
.maker { scroll-margin-top: 4.5rem; }
.maker-label { display: block; font-size: 0.875rem; font-weight: 700; color: var(--muted); margin: 0 0 0.4rem; }
/* The example sits under the field, never as placeholder text in it (ADR-045). */
.maker-hint { font-size: 0.875rem; color: var(--muted); margin: 0.35rem 0 1rem; }
.maker-hint.is-error { color: var(--ink); font-weight: 700; }
.maker-input { width: 100%; min-height: 3rem; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--pick-line); border-radius: var(--radius-s); padding: 0.5rem 0.875rem; }
.maker-input:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.maker-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1rem; margin-top: 1rem; }
.maker-group-head { display: flex; gap: 0.5rem; align-items: center; }
.maker-group-head .maker-input { font-weight: 700; }
.maker-skill { display: flex; gap: 0.4rem; align-items: center; margin-top: 0.5rem; }
.maker-skill .maker-input { min-height: 2.75rem; }
.maker-text { display: block; resize: none; overflow: hidden; line-height: 1.4; field-sizing: content; }
.maker-icon { flex: none; min-width: 2.75rem; min-height: 2.75rem; font: inherit; font-weight: 700; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: var(--radius-s); cursor: pointer; }
.maker-icon:disabled { opacity: 0.35; cursor: default; }
.maker-add { margin-top: 0.75rem; min-height: 2.75rem; font: inherit; font-weight: 700; color: var(--link); background: none; border: 0; padding: 0; cursor: pointer; }
.maker-actions { margin-top: 1.5rem; }
.maker-primary { background: var(--button); color: var(--button-ink); cursor: pointer; font: inherit; font-weight: 700; }
.maker-secondary { background: transparent; color: var(--ink); border-color: var(--pick-line); cursor: pointer; }
#openen:focus-visible + .maker-secondary, .maker-secondary:focus-within { outline: 3px solid var(--link); outline-offset: 2px; }
.maker-status { min-height: 1.5rem; margin: 0.75rem 0; color: var(--link); font-weight: 700; }
.maker-status.is-error { color: var(--ink); }
.maker-phone { background: var(--bg); border: 1px solid var(--line); border-radius: 1.75rem; padding: 1.25rem 1rem; max-width: 22rem; }
.maker-card { background: var(--surface); border-radius: var(--radius-m); padding: 0.875rem 1rem; }
.maker-card-head { display: flex; justify-content: space-between; gap: 0.5rem; align-items: baseline; }
.maker-card-head strong { font-size: 1rem; }
.maker-card-head span, .maker-card-group { font-size: 0.8125rem; color: var(--muted); }
.maker-card-group { margin: 0.75rem 0 0.25rem; }
.maker-card-skill { display: flex; gap: 0.6rem; align-items: center; padding: 0.4rem 0; }
.maker-card-skill::before { content: ""; flex: none; width: 1.25rem; height: 1.25rem; border: 2px solid var(--pick-line); border-radius: 0.35rem; }
.maker-card-empty { color: var(--muted); font-size: 0.875rem; }
.maker-how { padding-block: 1rem 3rem; }
@media (max-width: 760px) {
  .maker { grid-template-columns: 1fr; gap: 2rem; }
}
/* Where the field and three buttons share a line, a long name scrolls out of view: the
   field takes the whole line and the buttons go below it, on the right. */
@media (max-width: 1024px) {
  .maker-skill, .maker-group-head { flex-wrap: wrap; justify-content: flex-end; }
  .maker-skill .maker-input, .maker-group-head .maker-input { flex: 1 1 100%; }
}
