/* Hallmark · shape: Bento Grid · genre: modern-minimal · theme: brand (the app's own tokens) with Console's panels, by request · redesign: full · job: try (makers) and contact (organisations) · draw: 18a488
 * paper: #F4F4F2 · accent: #C2412D (the dot only) · display: Schibsted Grotesk 700 · body: Inter · measured: Geist Mono · hero: full-bleed photo (over the shoulder, the record screen in the phone), text bottom-left · nav: slab · footer: index columns · signature: the record screen with the lines to speak, in a real hand
 * axes: light/grotesk-heavy/warm · posture: restrained · contrast: pass · fold: pass · imagery: two generated selfie stills (Arthur's, 3-12) under the app's record screen built in HTML, plus simplified UI elements from the app and Studio (by request), test names · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R5 V3 · weakest: V, Arthur asked to stay close to the app, so variety comes from the shape: a black panel block for Studio and one large reading (2.0) */
/* Hallmark · swap: Console (dealt 2/3) was built and seen; Arthur kept its panels cut from one surface and asked for the app's paper, black, pills and faces around them */
/* Hallmark · swap: draw asked for a before-and-after; Shotboard has none to show, so the first section is the real three-step process beside the Studio overview */
/* Hallmark · waive 77 · document pages (privacy, terms, support, delete account) are a Long Document · legal text whose wording may not change */
/* Hallmark · waive 78 · document pages are a Long Document with inline heads · legal text, heads kept at reading size */
/* Hallmark · waive 37 · Space Grotesk is the app's own face for shot numbers (tokens.ts letter.merk), Arthur asked (3-12) for the app's fonts · used only on numbers, the other three carry everything else */
/* Hallmark · waive 44c · full-bleed photo hero by request (3-12): the text stands on the brand black the photo fades into, the phone sits right in the photo · text and visual are one image, not two columns */
/* Hallmark · waive 84 · Arthur asked (2-12) for simplified UI elements instead of full Studio and app screens · full screens give too much away; the elements are built from the app's own tokens with test names */
/* Hallmark · kept: every link (privacy, support, delete account, terms, language) moved from the old nav into nav and footer; mailto contact kept as the primary action */
@import url("./tokens.css");
@import url("./base.css");

a:hover { text-decoration-thickness: 2px; }
.meting { font-family: var(--font-outlier); font-size: var(--text-sm); font-variant-numeric: tabular-nums slashed-zero; color: var(--color-muted); }

/* ---------- Knoppen (zoals in de app: pillen) ---------- */
.knop {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding-inline: var(--space-lg);
  border-radius: var(--radius-pill); border: 1px solid var(--color-ink); background: var(--color-ink); color: var(--color-on-night);
  font-weight: 600; font-size: var(--text-md); text-decoration: none; white-space: nowrap;
  transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.knop:hover { background: var(--color-ink-hover); }
.knop:active { transform: scale(0.98); }
.knop:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.knop--rand { background: transparent; color: var(--color-ink); border-color: var(--color-ink); }
.knop--rand:hover { background: var(--color-paper-2); }
.knop--licht { background: var(--color-on-night); color: var(--color-ink); border-color: var(--color-on-night); }
.knop--licht:hover { background: var(--color-paper); }
.knop--licht:focus-visible { outline-color: var(--color-focus-on-night); }
.knop--klein { min-height: 44px; padding-inline: var(--space-md); font-size: var(--text-sm); }
.acties { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }

/* ---------- Balk (zwart, zoals de kop van de app) ---------- */
.woordmerk { display: block; height: 26px; width: auto; }
.woordmerk .punt { fill: var(--color-punt); }
.balk { background: var(--color-night); color: var(--color-on-night); }
.balk__rij { display: flex; align-items: center; gap: var(--space-lg); min-height: 72px; }
.merk { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-on-night); margin-right: auto; }
.merk:focus-visible, .balk a:focus-visible { outline-color: var(--color-focus-on-night); }
.balk nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-lg); margin: 0; padding: 0; font-size: var(--text-sm); }
.balk nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-on-night-2); text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.balk nav a:hover { color: var(--color-on-night); text-decoration: underline; }
.balk nav a:active { color: var(--color-on-night); }
.balk nav a[aria-current] { color: var(--color-on-night); font-weight: 600; }

/* ---------- Held: één foto over de volle breedte (over de schouder, het opnamescherm in beeld), tekst linksonder ---------- */
.held { position: relative; isolation: isolate; background: var(--color-night); color: var(--color-on-night); overflow: hidden; }
.held__foto { position: absolute; inset: 0; }
.held__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; }
/* links loopt de foto over in het zwart van de balk, zodat de tekst op eigen zwart staat */
.held__foto::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to right, var(--color-night) 0%, var(--color-scrim-night-uit) 42%), linear-gradient(to top, var(--color-night) 0%, var(--color-scrim-night-uit) 22%); }
.held__raster { position: relative; z-index: 1; display: flex; align-items: flex-end; min-height: min(calc(100dvh - 72px), 860px); padding-block: var(--space-3xl) var(--space-2xl); }
.held__tekst { max-width: 44rem; }
.held h1 { max-width: 16ch; color: var(--color-on-night); }
.held .lead { margin-top: var(--space-md); color: var(--color-on-night); max-width: 36ch; }
.held .acties { margin-top: var(--space-lg); }
.held .knop:focus-visible { outline-color: var(--color-focus-on-night); }
.knop--rand-licht { background: transparent; color: var(--color-on-night); border-color: var(--color-on-night); }
.knop--rand-licht:hover { background: var(--color-night-2); }
/* ---------- Zo werkt het ---------- */
.werkt { background: var(--color-paper-2); border-bottom: 1px solid var(--color-rule); padding-block: var(--section-gap-s); }
.stappen { list-style: none; counter-reset: stap; margin: var(--space-2xl) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); }
.stap { counter-increment: stap; display: flex; flex-direction: column; }
.stap__beeld { height: 240px; margin-bottom: var(--space-lg); border-radius: var(--radius-card); background: var(--color-paper); border: 1px solid var(--color-rule); overflow: hidden; display: flex; align-items: center; justify-content: center; padding: var(--space-md); }
.stap h3::before { content: counter(stap, decimal-leading-zero); display: block; margin-bottom: var(--space-2xs); font-family: var(--font-merk); font-weight: 600; font-size: var(--text-lg); color: var(--color-muted); font-variant-numeric: tabular-nums; }
.stap h3 { font-size: var(--text-title); }
.stap p { margin-top: var(--space-xs); color: var(--color-ink-2); }
.voet__regel { font-size: var(--text-sm); color: var(--color-muted); }

/* ---------- Studio: zwart panelenblok uit één vlak (Console) ---------- */
.studio { padding-block: var(--section-gap-s) var(--section-gap); border-top: 1px solid var(--color-rule); }
.studio__intro { margin-top: var(--space-md); max-width: 52ch; font-size: var(--text-lg); color: var(--color-ink-2); }
.bento {
  list-style: none; margin: var(--space-2xl) 0 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--rule-hair); background: var(--color-night-rule); border: 1px solid var(--color-night); border-radius: var(--radius-card); overflow: hidden;
}
.tegel { background: var(--color-night); color: var(--color-on-night-2); padding: var(--space-xl); }
.tegel h3 { color: var(--color-on-night); }
.tegel--beeld { display: flex; flex-direction: column; }
.tegel--beeld .ui { margin-bottom: var(--space-xl); }
.tegel--beeld h3 { margin-bottom: var(--space-xs); }
.tegel--team { grid-column: span 7; }
.tegel--uitnodigen { grid-column: span 5; }
.tegel--beeld .ui { flex: 1; display: flex; align-items: center; justify-content: center; }
.tegel--tekst { grid-column: span 4; }
.tegel--tekst p { margin-top: var(--space-xs); }

/* ---------- De app (witte band) ---------- */
.app { background: var(--color-paper-2); border-block: 1px solid var(--color-rule); padding-block: var(--section-gap-s); }
.app__raster { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-3xl); align-items: center; }
.lezing { margin-top: var(--space-xl); border: 1px solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper); overflow: hidden; }
.lezing__waarde { font-family: var(--font-outlier); font-size: var(--text-display); font-weight: 400; letter-spacing: -0.04em; line-height: 1; color: var(--color-ink); padding: var(--space-lg) var(--space-lg) var(--space-md); font-variant-numeric: slashed-zero; }
.lezing__tabel { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.lezing__tabel th, .lezing__tabel td { text-align: left; padding: var(--space-sm) var(--space-lg); border-top: 1px solid var(--color-rule); vertical-align: baseline; }
.lezing__tabel th { color: var(--color-ink); font-weight: 600; width: 6.5rem; }
.lezing__tabel td { color: var(--color-ink-2); }
.lezing__tabel td.meting { text-align: right; white-space: nowrap; }
.app__tekst > p:not([class]) { margin-top: var(--space-lg); color: var(--color-ink-2); }
.app__beeld { display: flex; justify-content: center; }


/* ---------- UI-onderdelen (vereenvoudigd nagebouwd uit app en Studio; illustratie) ---------- */
.ui { margin: 0; width: 100%; font-family: var(--font-body); color: var(--color-ink); }
.ui__binnen { position: relative; }
.ui-kaart { background: var(--color-paper-2); border: 1px solid var(--color-rule); border-radius: var(--radius-card); padding: var(--space-lg); }
.ui-mono { font-family: var(--font-outlier); font-variant-numeric: tabular-nums slashed-zero; }
.ui-label { font-size: var(--text-xs); font-weight: 600; color: var(--color-muted); margin-top: var(--space-md); }
.ui-soort { display: inline-flex; align-items: center; gap: var(--space-xs); font-size: var(--text-xs); font-weight: 500; color: var(--color-ink-2); }
.ui-soort::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-selfie); }
.ui-soort--broll::before { background: var(--color-broll); }
.ui-strip { display: flex; gap: var(--space-2xs); }
.ui-strip span { flex: 1; height: 8px; border-radius: 3px; }
.ui-strip--binnen { background: var(--color-status-binnen); }
.ui-strip--opnieuw { background: var(--color-accent); }
.ui-strip--ontbreekt { border: 1px dashed var(--color-rule-2); }
.ui-rood { color: var(--color-accent); }
.ui-pil { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding-inline: var(--space-md); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-on-night); font-size: var(--text-sm); font-weight: 600; margin-top: var(--space-lg); }
.ui-pil--breed { display: flex; }

/* held en app: het opnamescherm van de app (app/opnemen.tsx) over een foto, met een kaart uit Studio of de app ernaast.
   Maten uit de app op 390 breed, omgerekend naar cqw (n / 3.9) zodat het scherm als geheel meeschaalt. */
.ui--held .ui__binnen, .ui--aanm .ui__binnen { width: min(300px, 100%); margin-inline: auto; }
.ui-cam { container-type: inline-size; position: relative; aspect-ratio: 390 / 842; border-radius: 22px; overflow: hidden; background: var(--color-media); color: var(--color-on-night); box-shadow: 0 24px 48px -24px var(--color-schaduw); }
.ui-cam picture, .ui-cam img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ui-cam img { object-fit: cover; object-position: center top; }
.ui-cam__boven { position: absolute; inset: 0 0 auto; padding: 9.23cqw 5.13cqw 10.26cqw; background: linear-gradient(to bottom, var(--color-scrim), var(--color-scrim-uit)); }
.ui-cam__cue { height: 30.77cqw; overflow: hidden; font-size: 5.64cqw; line-height: 7.69cqw; font-weight: 500; text-align: center; text-shadow: 0 0 1.54cqw var(--color-schaduw);
  -webkit-mask-image: linear-gradient(to bottom, var(--color-night) 50%, var(--color-scrim-uit) 96%); mask-image: linear-gradient(to bottom, var(--color-night) 50%, var(--color-scrim-uit) 96%); }
.ui-cam__shot { position: absolute; left: 0; right: 0; bottom: 32.82cqw; display: flex; align-items: flex-end; gap: 2.56cqw; padding: 12.31cqw 6.15cqw 4.1cqw; background: linear-gradient(to top, var(--color-scrim), var(--color-scrim-uit)); }
.ui-cam__nr { font-family: var(--font-merk); font-weight: 600; font-size: 11.28cqw; line-height: 1.05; letter-spacing: -0.02em; }
.ui-cam__tt { display: flex; flex-direction: column; gap: 0.51cqw; padding-bottom: 1.28cqw; margin-right: auto; }
.ui-cam__titel { font-size: 3.59cqw; font-weight: 600; }
.ui-cam__take { display: flex; align-items: center; gap: 2.05cqw; font-size: 2.82cqw; font-weight: 600; color: var(--color-on-media-2); }
.ui-cam__i { width: 4.1cqw; height: 4.1cqw; color: var(--color-on-night); }
.ui-cam__tw { width: 5.13cqw; height: 5.13cqw; margin: 0 1.54cqw 2.05cqw 0; color: var(--color-on-media-3); }
.ui-cam__balk { position: absolute; left: 0; right: 0; bottom: 0; height: 32.82cqw; padding: 0 6.15cqw 3.08cqw; background: var(--color-media); display: flex; align-items: center; justify-content: space-between; }
.ui-cam__rond { width: 12.31cqw; height: 12.31cqw; border-radius: 50%; border: 1px solid var(--color-ring-media); display: grid; place-items: center; }
.ui-cam__i2 { width: 5.64cqw; height: 5.64cqw; }
.ui-cam__knop { width: 20.51cqw; height: 20.51cqw; display: block; }
.ui-cam__rood { fill: var(--color-punt); }
.ui-voortgang { position: absolute; right: calc(100% - 7rem); bottom: 38%; width: 250px; padding: var(--space-md); box-shadow: 0 16px 32px -20px var(--color-schaduw); }
.ui-voortgang__titel { font-weight: 600; font-size: var(--text-sm); margin-bottom: var(--space-sm); }
.ui-voortgang__stand { font-size: var(--text-xs); color: var(--color-ink-2); margin-top: var(--space-sm); }

/* kaartje over de herofoto */
.held__beeld { position: absolute; inset: 0 0 0 auto; width: 68%; }
.held__beeld .held__foto { width: 100%; }
.ui--heldkaart { position: absolute; z-index: 2; right: var(--space-2xl); bottom: var(--space-2xl); width: 260px; }
.ui--heldkaart .ui-voortgang { position: static; width: auto; box-shadow: 0 20px 40px -20px var(--color-schaduw); }
.ui-strip--nu { background: var(--color-accent); }
.ui-nu { color: var(--color-accent); font-weight: 600; }

/* vier stappen: kleine onderdelen */
.ui--stap { height: 100%; display: flex; align-items: center; justify-content: center; }
.ui--stap .ui__binnen { width: 100%; }
.ui-mini { padding: var(--space-md); font-size: var(--text-xs); }
.ui-mini ul { list-style: none; margin: var(--space-sm) 0 0; padding: 0; }
.ui-mini li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: var(--space-xs); padding-block: var(--space-xs); }
.ui-mini li + li { border-top: 1px solid var(--color-rule); }
.ui-mini__kop { font-weight: 600; font-size: var(--text-sm); }
.ui-mini__kopregel { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); }
.ui-mini__kopregel .ui-strip { width: 64px; flex: none; }
.ui-mini__nr { font-family: var(--font-merk); font-weight: 600; color: var(--color-ink-2); }
.ui-mini__titel { font-weight: 500; min-width: 0; }
.ui-mini__regel { color: var(--color-ink-2); margin-top: var(--space-2xs); }
.ui-mini .ui-status { font-size: 0.6875rem; padding: var(--space-3xs) var(--space-xs); }
.ui-tijdlijn { display: flex; flex-direction: column; gap: var(--space-2xs); margin-top: var(--space-sm); padding: var(--space-xs); background: var(--color-night); border-radius: var(--radius-chip); }
.ui-spoor { display: flex; gap: var(--space-2xs); height: 18px; }
.ui-spoor--b { height: 12px; }
.ui-clip { border-radius: 3px; background: var(--color-selfie); }
.ui-clip--broll { background: var(--color-broll); }
.ui-clip--leeg { background: transparent; }
.ui-pil--klein { min-height: 32px; font-size: var(--text-xs); padding-inline: var(--space-sm); margin-top: var(--space-sm); }
.ui-stapcam { width: 170px; margin: 0 auto; }
.ui-stapcam .ui-cam { border-radius: 16px 16px 0 0; box-shadow: none; }

.ui-cam .ui-cam__cue { color: var(--color-on-night); margin: 0; }
.stap__beeld:has(.ui-stapcam) { align-items: flex-start; padding-bottom: 0; }
.ui--stap:has(.ui-stapcam) { align-items: flex-start; }

/* Studio: makers per script en aanmeldingen */
.ui-makers .ui-mini__kop, .ui-aanmeldingen .ui-mini__kop { margin-bottom: var(--space-xs); }
.ui-team.ui-makers li { grid-template-columns: 36px minmax(0, 1fr) 72px 88px; }
.ui-makerstand { font-size: var(--text-xs); color: var(--color-ink-2); text-align: right; }
.ui-aanmelder { display: flex; flex-direction: column; min-width: 0; }
.ui-aanmelder__mail { font-size: var(--text-xs); color: var(--color-ink-2); overflow: hidden; text-overflow: ellipsis; }
.ui-pil--rij { margin-top: 0; }
.ui-codechip { font-size: var(--text-xs); color: var(--color-ink-2); padding: var(--space-2xs) var(--space-sm); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); white-space: nowrap; }
.ui-aanmeldingen .ui-mini__kopregel { margin-bottom: var(--space-xs); }

/* script in Studio */
.ui--script { max-width: 620px; }
.ui-script { padding: 0; overflow: hidden; }
.ui-script__kop { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); padding: var(--space-md) var(--space-lg); border-bottom: 1px solid var(--color-rule); }
.ui-script__titel { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); }
.ui-script__kop .ui-strip { width: 140px; flex: none; }
.ui-rijen { list-style: none; margin: 0; padding: 0; }
.ui-rij { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: var(--space-md); align-items: start; padding: var(--space-md) var(--space-lg); }
.ui-rij + .ui-rij { border-top: 1px solid var(--color-rule); }
.ui-rij__nr { font-family: var(--font-merk); font-weight: 600; font-size: var(--text-xl); line-height: 1.1; color: var(--color-ink-2); }
.ui-rij__titel { font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs) var(--space-sm); }
.ui-rij__tekst { font-size: var(--text-sm); color: var(--color-ink-2); margin-top: var(--space-2xs); }
.ui-status { font-size: var(--text-xs); font-weight: 600; padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); background: var(--color-status); color: var(--color-ink-2); white-space: nowrap; }
.ui-status--opnieuw { color: var(--color-accent); }
.ui-status--ontbreekt { background: transparent; border: 1px dashed var(--color-rule-2); }

/* team */
.ui--team, .ui--uitn { max-width: 480px; }
.ui-team ul { list-style: none; margin: 0; padding: 0; }
.ui-team li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: var(--space-sm); padding-block: var(--space-sm); font-size: var(--text-sm); }
.ui-team li + li { border-top: 1px solid var(--color-rule); }
.ui-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--color-status); display: grid; place-items: center; font-size: var(--text-xs); font-weight: 600; color: var(--color-ink-2); }
.ui-team__naam { font-weight: 600; }
.ui-rol { font-size: var(--text-xs); font-weight: 600; padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); background: var(--color-status); color: var(--color-ink-2); }

/* uitnodigen */
.ui-uitn__adressen { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.ui-adres { font-size: var(--text-xs); padding: var(--space-2xs) var(--space-sm); border: 1px solid var(--color-rule); border-radius: var(--radius-pill); color: var(--color-ink-2); }
.ui-code { font-family: var(--font-outlier); font-size: var(--text-2xl); margin-top: var(--space-2xs); padding: var(--space-sm) var(--space-md); background: var(--color-paper-3); border: 1px solid var(--color-rule); border-radius: var(--radius-control); text-align: center; }

/* aanmelden */
.ui--aanm .ui__binnen { margin-inline: var(--space-2xl) auto; }
.ui-aanm { position: absolute; left: calc(100% - 6rem); bottom: calc(-1 * var(--space-xl)); width: 250px; padding: var(--space-md); box-shadow: 0 16px 32px -20px var(--color-schaduw); }
.ui-aanm .ui-label { margin-top: var(--space-sm); }
.ui-aanm__titel { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); }
.ui-veld { min-height: 40px; display: flex; align-items: center; padding-inline: var(--space-sm); margin-top: var(--space-2xs); border: 1px solid var(--color-rule-2); border-radius: var(--radius-control); font-size: var(--text-sm); }
.ui-veld--code { font-family: var(--font-outlier); font-size: var(--text-lg); border-width: 2px; border-color: var(--color-ink); }

/* ---------- Voet (index columns) ---------- */
.voet { padding-block: var(--space-3xl) var(--space-xl); }
.voet__raster { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-2xl); padding-bottom: var(--space-2xl); border-bottom: 1px solid var(--color-rule); }
.voet__zin { font-family: var(--font-display); font-weight: 700; font-size: var(--text-title); letter-spacing: var(--tracking-display); line-height: 1.15; color: var(--color-ink); }
.voet__mail { display: inline-flex; align-items: center; min-height: 40px; margin-top: var(--space-xs); color: var(--color-ink-2); text-underline-offset: 0.2em; }
.voet__mail:hover { color: var(--color-ink); }
.voet__index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); }
.voet__label { font-size: var(--text-sm); font-weight: 600; color: var(--color-muted); }
.voet__kolom ul { list-style: none; margin: var(--space-sm) 0 0; padding: 0; }
.voet__kolom a { white-space: nowrap; display: inline-flex; align-items: center; min-height: 40px; color: var(--color-ink-2); text-decoration: none; }
.voet__kolom a:hover, .voet__kolom a[aria-current] { color: var(--color-ink); text-decoration: underline; }
.voet__onder { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding-top: var(--space-lg); }
.voet__merk { color: var(--color-ink); }
.voet__merk .woordmerk { height: 20px; }
.voet__merk .punt { fill: var(--color-punt-licht); }

/* ---------- Documentpagina's (privacy, voorwaarden, support, verwijderen): alleen vormgeving ---------- */
.document { padding-block: var(--space-2xl) var(--space-3xl); }
.document article { max-width: 768px; margin-inline: auto; background: var(--color-paper-2); border: 1px solid var(--color-rule); border-radius: var(--radius-card); padding: var(--space-xl) var(--space-xl) var(--space-2xl); }
.document h1 { font-size: clamp(1.75rem, 2.4vw + 1rem, 2.5rem); line-height: 1.12; max-width: none; }
.document h2 { font-size: var(--text-xl); line-height: 1.2; margin-top: var(--space-xl); margin-bottom: var(--space-sm); max-width: none; }
.document h3 { font-size: 1.0625rem; margin-top: var(--space-lg); margin-bottom: var(--space-2xs); }
.document h1 + p { margin-top: var(--space-md); }
.document p, .document ul.tekst { max-width: 68ch; }
.document p + p, .document p + ul.tekst, .document ul.tekst + p { margin-top: var(--space-sm); }
.document ul.tekst { padding-left: var(--space-lg); }
.document ul.tekst li + li { margin-top: var(--space-xs); }
.document .intro { font-size: var(--text-lg); color: var(--color-ink-2); margin-top: var(--space-md); }
.document .datum { color: var(--color-muted); font-size: var(--text-sm); margin-block: var(--space-sm) var(--space-lg); }
.document table { border-collapse: collapse; width: 100%; font-size: var(--text-sm); line-height: 1.55; margin-top: var(--space-xs); }
.document th, .document td { text-align: left; vertical-align: top; padding: var(--space-sm) var(--space-sm) var(--space-sm) 0; border-bottom: 1px solid var(--color-rule); }
mark { background: var(--color-mark); color: var(--color-ink); padding-inline: var(--space-2xs); border-radius: var(--radius-chip); font-size: 0.92em; }
.concept { background: var(--color-paper-2); border-bottom: 1px solid var(--color-rule); font-size: var(--text-xs); padding-block: var(--space-xs); color: var(--color-accent); }

/* ---------- Smal ---------- */
@media (max-width: 60rem) {
  .werkt__raster, .app__raster { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); min-height: 0; max-height: none; }
  .tegel--team, .tegel--uitnodigen { grid-column: span 12; }
  .voet__index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stappen { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-2xl); }
  .voet__raster { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .nav__bijzaak { display: none; }
}
@media (max-width: 40rem) {
  .held__foto { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; }
  .held__foto img { object-position: 64% 30%; }
  .held__foto::after { background: linear-gradient(to top, var(--color-night) 0%, var(--color-scrim-night-uit) 30%); }
  .held__raster { min-height: 0; padding-block: 0 var(--space-2xl); margin-top: calc(-1 * var(--space-2xl)); }
  .ui--held .ui__binnen, .ui--aanm .ui__binnen { width: min(260px, 100%); margin-inline: auto; }
  .ui-voortgang, .ui-aanm { position: relative; left: auto; right: auto; bottom: auto; width: auto; margin-top: var(--space-md); margin-inline: 0; }
  .ui-script__kop { flex-direction: column; align-items: stretch; gap: var(--space-sm); }
  .ui-script__kop .ui-strip { width: 100%; }
  .ui-rij { grid-template-columns: 32px minmax(0, 1fr); }
  .ui-rij .ui-status { grid-column: 2; justify-self: start; }
  .balk__rij { gap: var(--space-sm); }
  .woordmerk { height: 22px; }
  .tegel { padding: var(--space-lg); }
  .tegel--tekst { grid-column: span 12; }
  .stappen { grid-template-columns: minmax(0, 1fr); }
  .held__beeld { position: relative; width: 100%; }
  .held__foto { position: relative; }
  .ui--heldkaart { right: var(--space-md); bottom: var(--space-2xl); width: 200px; }
  .ui--heldkaart .ui-voortgang { padding: var(--space-sm); }
  .ui-team.ui-makers li { grid-template-columns: 32px minmax(0, 1fr) 64px; }
  .ui-makerstand { display: none; }
  .lezing__tabel th, .lezing__tabel td { padding-inline: var(--space-md); }
  .lezing__tabel tr { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); border-top: 1px solid var(--color-rule); }
  .lezing__tabel th, .lezing__tabel td { border-top: 0; }
  .lezing__tabel th { grid-row: span 2; width: auto; }
  .lezing__tabel td.meting { text-align: left; padding-top: 0; white-space: normal; }
  .lezing__tabel td.meting:empty { display: none; }
  .voet__index { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  .document { padding-block: var(--space-xs) var(--space-xl); }
  .document .container { padding-inline: var(--space-sm); }
  .document article { padding: var(--space-lg) var(--space-md) var(--space-xl); }
  .rijen thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .rijen tr, .rijen td { display: block; }
  .rijen tr { border-bottom: 1px solid var(--color-rule); padding-block: var(--space-sm); }
  .rijen td { border: 0; padding: var(--space-3xs) 0; }
  .rijen td:first-child { font-weight: 600; }
}
