/* Pimble — pimble.nl
 *
 * De kleuren komen uit de app (core/ui/.../theme/Color.kt). Oranje (#FF6B3D)
 * is een vlak, nooit tekst: als tekstkleur haalt het op wit maar 2,8:1. Tekst
 * op oranje is grafiet (6,4:1); links en accenten in tekst zijn roestoranje
 * (#BD380F, 5,4:1 op bijna-wit). Zie de uitleg bij EmberDeep in Color.kt.
 */

@font-face {
  font-family: "Anton";
  src: url("/assets/fonts/anton-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --orange: #ff6b3d;
  --peach: #ffe3d8;
  --paper: #fafafc;
  --white: #ffffff;
  --ink: #16161c;
  --ink-2: #26262f;
  --muted: #5e5e68;
  --rust: #bd380f;
  --rust-ink: #7a2a0e;
  --line: #e4e4ea;
  --line-strong: #c5c5cf;
  --raised: #f4f4f7;
  --danger: #ce2c31;
  --danger-ink: #a51d22;
  --ok: #1c7c4a;
  --ok-soft: #e3f4ea;
  --warn-soft: #fff4d6;
  --warn-ink: #6b4400;

  --display: "Anton", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 20px;
  --radius-s: 12px;
  --shadow: 0 1px 2px rgb(22 22 28 / 6%), 0 8px 24px rgb(22 22 28 / 8%);
  --shadow-lg: 0 2px 4px rgb(22 22 28 / 8%), 0 24px 48px rgb(22 22 28 / 16%);
  --gutter: 16px;
  --max: 1160px;
  --focus: 0 0 0 3px var(--white), 0 0 0 6px var(--ink);
}

@media (min-width: 640px) {
  :root { --gutter: 28px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

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

[hidden] { display: none !important; }

a { color: var(--rust); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--rust-ink); text-decoration-thickness: 2px; }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

main:focus { outline: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; color: var(--white); }

/* --- koppen ------------------------------------------------------------ */

h1, h2, h3, h4 { margin: 0; line-height: 1.15; }

.display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.002em;
  line-height: 0.98;
  text-wrap: balance;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rust);
}

/* --- kop van de site --------------------------------------------------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(250 250 252 / 92%);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.home .site-head {
  background: var(--orange);
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.head-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
.brand:hover { color: var(--ink); }

.brand-tile {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--orange);
  box-shadow: inset 0 0 0 1px rgb(22 22 28 / 6%);
}
.brand-tile img { width: 30px; height: 30px; }
.home .site-head .brand-tile { background: var(--ink); }

.brand-word {
  font-family: var(--display);
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: 0.01em;
  padding-top: 2px;
}

.head-nav { display: none; }
.head-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.head-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
}
.head-nav a:hover { background: rgb(22 22 28 / 7%); color: var(--ink); }
.head-nav a[aria-current="page"] { background: var(--ink); color: var(--white); }

@media (min-width: 860px) {
  .head-nav { display: block; }
}

/* Menu op smalle schermen: een knop in dezelfde vorm als de taalknop. Zonder
   JavaScript is het een link naar de links in de voet. */
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px 0 13px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
}
.menu-btn:hover, .menu-btn[aria-expanded="true"] { background: var(--ink); color: var(--white); }
.menu-icon { flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu-icon .cross { display: none; }
.menu-btn[aria-expanded="true"] .bars { display: none; }
.menu-btn[aria-expanded="true"] .cross { display: inline; }

@media (max-width: 859.98px) {
  .site-head.menu-open .head-nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgb(22 22 28 / 12%);
    padding: 8px var(--gutter) 20px;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .home .site-head.menu-open .head-nav { background: var(--orange); border-top: 1px solid rgb(22 22 28 / 12%); border-bottom-color: rgb(22 22 28 / 12%); }
  .head-nav ul { flex-direction: column; gap: 4px; }
  .head-nav a { padding: 13px 18px; font-size: 1.0625rem; border-radius: 14px; }
}
@media (min-width: 860px) {
  .menu-btn { display: none; }
}

.lang {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.lang:hover { background: var(--ink); color: var(--white); }

/* --- knoppen ----------------------------------------------------------- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn:hover { color: var(--btn-fg); background: var(--ink-2); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; transform: none; }

.btn-orange { --btn-bg: var(--orange); --btn-fg: var(--ink); }
.btn-orange:hover { background: var(--rust); color: var(--white); }

.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost:hover { background: var(--raised); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }

.btn-danger { --btn-bg: var(--danger); --btn-fg: var(--white); }
.btn-danger:hover { background: var(--danger-ink); }

.btn-small { min-height: 40px; padding: 8px 16px; font-size: 0.9375rem; }
.btn-block { width: 100%; }

.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px 10px 16px;
  min-height: 56px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  line-height: 1.15;
}
.play-badge svg { flex: none; }
.play-badge small { display: block; font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.8; font-weight: 600; }
.play-badge strong { display: block; font-size: 1.125rem; font-weight: 700; }

/* --- voorpagina: held -------------------------------------------------- */

.hero {
  background: var(--orange);
  color: var(--ink);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 8px;
  padding-top: 24px;
}

.hero-copy { padding-bottom: 8px; }

.hero .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.hero .tags li {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgb(22 22 28 / 9%);
  font-size: 0.875rem;
  font-weight: 650;
}

@media (max-width: 379.98px) {
  .hero .tags { gap: 6px; }
  .hero .tags li { padding: 5px 10px; font-size: 0.8125rem; }
}

.hero h1 { margin: 0 0 20px; }
/* De kop schaalt mee met de breedte van de tekstkolom, niet van het venster:
   zo past "Maak vrienden" op één regel, ook naast de telefoon. */
.hero-copy { container-type: inline-size; }
.hero h1 .l1 { display: block; font-size: clamp(3rem, 16cqi, 6.6rem); white-space: nowrap; }
.hero h1 .l2 { display: block; font-size: clamp(1.75rem, 9cqi, 3.75rem); margin-top: 4px; white-space: nowrap; }

.hero .lead {
  font-size: 1.1875rem;
  line-height: 1.55;
  max-width: 34ch;
  margin: 0 0 28px;
  font-weight: 450;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.hero-actions .more { color: var(--ink); font-weight: 700; text-decoration-thickness: 2px; }
.hero-actions .more:hover { color: var(--ink); text-decoration-thickness: 3px; }

.hero-shot { margin: 0 -8px; align-self: end; }
.hero-shot img { width: 100%; max-width: 380px; margin-inline: auto; }

@media (min-width: 720px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 32px;
    padding-top: 32px;
  }
  .hero-copy { padding-bottom: 48px; }
  .hero-shot { margin: 0; }
  .hero-shot img { max-width: 480px; }
}
@media (min-width: 900px) {
  .hero-grid { gap: 40px; padding-top: 40px; }
  .hero-copy { padding-bottom: 72px; }
  .hero .lead { font-size: 1.3125rem; }
}

/* --- secties ----------------------------------------------------------- */

.section { padding-block: 72px; }
@media (min-width: 900px) { .section { padding-block: 112px; } }

.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(2.75rem, 10vw, 4.5rem); margin: 10px 0 16px; }
.section-head p { font-size: 1.125rem; color: var(--muted); margin: 0; max-width: 60ch; }

/* Zo werkt het. Smal: onder elkaar, schermafbeelding links en tekst rechts.
   Middel: zo in twee kolommen. Breed: vier kaarten naast elkaar. */
.steps {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  display: grid;
  grid-template-columns: clamp(108px, 34%, 168px) minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 18px;
  align-content: center;
}
.step figure { grid-row: 1 / span 2; margin: 0; align-self: center; }
.step h3 { align-self: end; }
.step p { align-self: start; }
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
  .step { grid-template-columns: 40% minmax(0, 1fr); }
}
@media (min-width: 980px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .step { display: block; align-content: start; }
  .step figure { margin: 0 0 18px; }
}
@media (min-width: 1180px) {
  .steps { gap: 28px; }
}

.step img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 1080 / 1920;
  object-fit: cover;
  background: var(--peach);
}
.step .num {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--orange);
  font-weight: 800;
  font-size: 0.875rem;
  margin-right: 8px;
  vertical-align: 2px;
}
.step h3 { font-size: 1.25rem; font-weight: 750; letter-spacing: -0.01em; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); }

/* Veiligheid */
.safety { background: var(--peach); }
.safety .eyebrow { color: var(--rust-ink); }
.safety .section-head p { color: var(--ink-2); }

.safety-grid {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 720px) { .safety-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1080px) { .safety-grid { grid-template-columns: repeat(3, 1fr); } }

.safety-grid li {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 1px 2px rgb(122 42 14 / 8%);
}
.safety-grid .icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--orange);
  margin-bottom: 16px;
}
.safety-grid h3 { font-size: 1.1875rem; font-weight: 750; margin-bottom: 6px; letter-spacing: -0.01em; }
.safety-grid p { margin: 0; color: var(--muted); }

.honest {
  margin-top: 28px;
  padding: 20px 24px;
  border-radius: var(--radius);
  border: 1.5px dashed rgb(122 42 14 / 35%);
  color: var(--ink-2);
  max-width: 820px;
}
.honest p { margin: 0; }

/* Je gegevens */
.data-links {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 860px) { .data-links { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.data-links a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.data-links a:hover { border-color: var(--ink); box-shadow: var(--shadow); color: var(--ink); }
.data-links strong { font-size: 1.1875rem; margin-bottom: 6px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.data-links span { color: var(--muted); }
.arrow { flex: none; transition: transform 0.15s; }
.data-links a:hover .arrow { transform: translateX(3px); }

.coming {
  background: var(--ink);
  color: var(--white);
  border-radius: 28px;
  padding: 40px 28px;
  display: grid;
  gap: 24px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.coming h2 { font-size: clamp(2.5rem, 9vw, 4rem); margin-bottom: 14px; }
.coming p { margin: 0; color: #c9c9d3; max-width: 46ch; }
.coming .play-badge { background: var(--orange); color: var(--ink); justify-self: start; }
.coming .hand { width: 120px; justify-self: end; transform: rotate(-8deg); }
@media (min-width: 860px) {
  .coming { grid-template-columns: auto 1fr auto; padding: 48px 56px; gap: 40px; }
  .coming h2 { font-size: clamp(2.5rem, 4.2vw, 3.5rem); }
  .coming .hand { width: 150px; order: -1; justify-self: start; }
}

/* --- binnenpagina's ---------------------------------------------------- */

.page-hero {
  background: var(--peach);
  padding-block: 40px 44px;
}
@media (min-width: 900px) { .page-hero { padding-block: 72px 76px; } }
.page-hero h1 { font-size: clamp(3rem, 12vw, 5.5rem); margin: 10px 0 16px; }
.page-hero .eyebrow { color: var(--rust-ink); }
.page-hero .intro { font-size: 1.1875rem; max-width: 60ch; margin: 0; color: var(--ink-2); }
.page-hero .meta { margin: 18px 0 0; font-size: 0.9375rem; color: var(--rust-ink); font-weight: 600; }

.page-body { padding-block: 40px 88px; }
@media (min-width: 900px) { .page-body { padding-block: 64px 120px; } }

/* Lopende tekst */
.prose { max-width: 720px; }
.prose > * + * { margin-top: 1em; }
.prose h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 7vw, 2.625rem);
  line-height: 1.05;
  margin-top: 2em;
  padding-top: 0.2em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1875rem; font-weight: 750; margin-top: 1.8em; letter-spacing: -0.01em; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--rust); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose strong { font-weight: 700; }

.callout {
  border-radius: var(--radius-s);
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
}
.callout > :first-child { margin-top: 0; }
.callout > * + * { margin-top: 0.6em; }
.callout-peach { background: var(--peach); border-color: transparent; }
.callout-warn { background: var(--warn-soft); border-color: #f0dca4; }
.callout h3 { margin-top: 0 !important; }

.summary {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0 !important;
}
.summary li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}
.summary li + li { margin-top: 0; }
.summary svg { margin-top: 2px; }

/* Tabellen die op een telefoon kaarten worden */
.table-wrap { margin-top: 1.2em; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.96875rem; }
table.data caption { text-align: left; font-weight: 700; margin-bottom: 8px; }
table.data th, table.data td { text-align: left; vertical-align: top; padding: 12px 14px; }
table.data thead th { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); border-bottom: 2px solid var(--ink); }
table.data tbody tr { border-bottom: 1px solid var(--line); }
table.data tbody th { font-weight: 700; }
table.data td p { margin: 0; }
table.data td p + p { margin-top: 0.4em; }

@media (max-width: 759px) {
  table.data thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table.data, table.data tbody, table.data tr, table.data th, table.data td { display: block; }
  table.data tbody tr {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-s);
    padding: 6px 0;
    margin-bottom: 12px;
  }
  table.data tbody th { padding: 10px 16px 4px; font-size: 1.0625rem; }
  table.data td { padding: 6px 16px; }
  table.data td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
  }
}

/* Inhoudsopgave naast de tekst */
.doc { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
.toc {
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--white);
}
.toc summary {
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 700;
  list-style-position: inside;
}
.toc ol { margin: 0; padding: 0 18px 16px 2.4em; font-size: 0.9375rem; }
.toc li + li { margin-top: 6px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--rust); text-decoration: underline; }
@media (min-width: 600px) and (max-width: 999.98px) {
  .toc ol { columns: 2; column-gap: 32px; }
  .toc li { break-inside: avoid; padding-block: 3px; }
  .toc li + li { margin-top: 0; }
}
@media (min-width: 1000px) {
  .doc { grid-template-columns: 260px minmax(0, 720px); gap: 64px; align-items: start; }
  .toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; border: 0; background: transparent; }
  .toc summary { padding: 0 0 12px; pointer-events: none; list-style: none; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
  .toc summary::-webkit-details-marker { display: none; }
  .toc ol { padding: 0 0 0 2em; }
}

/* Plaatshouder voor gegevens die de eigenaar nog moet invullen */
.ph {
  background: #fff1a8;
  color: #5c3a00;
  border-radius: 4px;
  padding: 0 0.3em;
  box-shadow: inset 0 0 0 1px #d9b600;
  font-weight: 700;
  white-space: nowrap;
}

/* --- account- en gegevenspagina ---------------------------------------- */

.ways {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 640px) { .ways { grid-template-columns: 1fr 1fr; max-width: 640px; } }
.ways a {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  box-shadow: 0 1px 2px rgb(122 42 14 / 10%);
}
.ways a:hover { box-shadow: var(--focus); color: var(--ink); }
.ways .badge-n {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--orange);
  font-weight: 800;
}
.ways small { display: block; color: var(--muted); font-weight: 500; font-size: 0.875rem; }

.split { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "a" "p" "b"; }
.area-a { grid-area: a; }
.area-p { grid-area: p; }
.area-b { grid-area: b; }
@media (min-width: 1000px) {
  .split {
    grid-template-columns: minmax(0, 1fr) 440px;
    grid-template-areas: "a p" "b p";
    grid-template-rows: auto 1fr;
    column-gap: 64px;
    row-gap: 48px;
  }
  .split .panel-col { position: sticky; top: 96px; align-self: start; }
}
.panel-col { max-width: 720px; }
.panel [data-export-status] { margin-top: 12px; margin-bottom: 0; }

.app-steps { counter-reset: s; list-style: none; padding: 0 !important; }
.app-steps > li {
  counter-increment: s;
  position: relative;
  padding-left: 48px;
  min-height: 34px;
}
.app-steps > li + li { margin-top: 14px; }
.app-steps > li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: -1px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
  font-size: 0.9375rem;
}
.ui { font-weight: 700; }

.gone-list { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.gone-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; margin: 0 !important; }

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 24px;
}
@media (min-width: 640px) { .panel { padding: 32px; } }
.panel h2 { font-family: var(--display); font-weight: 400; font-size: 2.25rem; line-height: 1.05; margin-bottom: 10px; }
.panel h3 { font-size: 1.125rem; font-weight: 750; margin: 0 0 6px; }
.panel p { margin: 0 0 14px; }
.panel .muted { color: var(--muted); font-size: 0.9375rem; }
.panel .actions { display: grid; gap: 10px; margin-top: 20px; }
.panel .step-label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rust); margin: 0 0 6px; }

.gsi-slot { min-height: 44px; margin: 18px 0 6px; display: flex; justify-content: center; }
.gsi-fallback { font-size: 0.9375rem; color: var(--muted); }

.who {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--raised);
  margin: 0 0 18px;
}
.who .avatar {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange) center / cover no-repeat;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.who .avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.who strong { display: block; line-height: 1.3; }
.who span { display: block; font-size: 0.875rem; color: var(--muted); word-break: break-all; }

.notice {
  border-radius: 14px;
  padding: 14px 16px;
  margin: 0 0 16px;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.notice:empty { display: none; }
.notice-error { background: #fde8e8; color: #7d1418; box-shadow: inset 0 0 0 1px #f3b7b9; }
.notice-warn { background: var(--warn-soft); color: var(--warn-ink); box-shadow: inset 0 0 0 1px #f0dca4; }
.notice-ok { background: var(--ok-soft); color: #0f4d2c; box-shadow: inset 0 0 0 1px #b4dfc6; }
.notice-info { background: var(--raised); color: var(--ink-2); }

.check {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border-radius: 14px;
  border: 1.5px solid var(--line-strong);
  cursor: pointer;
  font-weight: 600;
  line-height: 1.45;
}
.check:has(input:checked) { border-color: var(--danger); background: #fff5f5; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--danger); }

.done-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ok-soft);
  margin-bottom: 16px;
}

.spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid currentColor;
  border-right-color: transparent;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.dev {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  background: #f1f0ff;
  box-shadow: inset 0 0 0 1px #c9c4ff;
  font-size: 0.9375rem;
}
.dev strong { display: block; margin-bottom: 8px; color: #3a2a99; }
.dev form { display: flex; flex-wrap: wrap; gap: 8px; }
.dev input { flex: 1 1 180px; }

input[type="email"], input[type="text"] {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line-strong);
  font: inherit;
  background: var(--white);
  color: var(--ink);
}
input[type="email"]:focus-visible, input[type="text"]:focus-visible { border-color: var(--ink); }

/* Media op de gegevenspagina */
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}
@media (min-width: 420px) { .media-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .media-grid { grid-template-columns: repeat(2, 1fr); } }
.media-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--raised);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.media-thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--peach);
  display: grid;
  place-items: center;
}
.media-thumb img { width: 100%; height: 100%; object-fit: cover; }
.media-thumb .clip-icon { color: var(--rust-ink); }
.media-kind {
  position: absolute;
  left: 8px;
  top: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgb(22 22 28 / 78%);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
}
.media-state {
  position: absolute;
  left: 8px;
  bottom: 8px;
  right: 8px;
  padding: 3px 9px;
  border-radius: 8px;
  background: var(--warn-soft);
  color: var(--warn-ink);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}
.media-actions { padding: 8px; display: grid; gap: 6px; }
.media-actions .btn { min-height: 40px; padding: 8px 10px; font-size: 0.875rem; width: 100%; }
.media-confirm { font-size: 0.8125rem; font-weight: 600; text-align: center; margin: 0; }

.empty {
  padding: 22px;
  border-radius: 14px;
  background: var(--raised);
  text-align: center;
  color: var(--muted);
  font-size: 0.9375rem;
}

.divider { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* --- voet -------------------------------------------------------------- */

.site-foot {
  background: var(--ink);
  color: #d7d7df;
  padding-block: 56px 32px;
  font-size: 0.9375rem;
}
.site-foot a { color: var(--white); text-decoration: none; }
.site-foot a:hover { color: var(--white); text-decoration: underline; }
.site-foot .brand { color: var(--white); }
.site-foot .brand-tile { background: var(--orange); }
.foot-top { display: grid; gap: 32px; }
.foot-brand p { margin: 14px 0 0; max-width: 34ch; color: #b9b9c4; }
.foot-col h2 { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em; color: #9a9aa6; margin-bottom: 12px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 600px) {
  .foot-top { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (min-width: 980px) {
  .foot-top { grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 32px; }
  .foot-brand { grid-column: auto; }
}
.foot-bottom {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid #2e2e38;
  display: grid;
  gap: 8px;
  color: #9a9aa6;
  font-size: 0.875rem;
}
.foot-bottom p { margin: 0; }
.site-foot .ph { background: #fff1a8; color: #5c3a00; }
.site-foot :focus-visible { box-shadow: 0 0 0 3px var(--ink), 0 0 0 6px var(--orange); }
@media (min-width: 720px) {
  .foot-bottom { grid-template-columns: 1fr auto; }
}

/* --- 404 --------------------------------------------------------------- */

.lost { text-align: center; padding-block: 72px 112px; }
.lost img { width: 140px; margin: 0 auto 20px; transform: rotate(-10deg); }
.lost h1 { font-size: clamp(3rem, 14vw, 6rem); margin-bottom: 12px; }
.lost p { color: var(--muted); max-width: 44ch; margin: 0 auto 24px; }
.lost .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.section-flush { padding-top: 0 !important; }

.prose code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.875em;
  background: var(--raised);
  padding: 0.1em 0.35em;
  border-radius: 6px;
}

.prose .terms > * + * { margin-top: 1em; }
.prose .terms h3 { margin-top: 1.8em; }
.toc ol.plain { list-style: none; padding-left: 18px; }
@media (min-width: 1000px) { .toc ol.plain { padding-left: 0; } }
