:root {
  color-scheme: light;
  --lp-bg: #F5F6F8;
  --lp-surface: #FFFFFF;
  --lp-text: #15181D;
  --lp-muted: #5B6472;
  --lp-border: #8A93A3;
  --lp-line: #DDE1E7;
  --lp-primary: #16C79A;
  --lp-primary-fg: #15181D;
  --lp-primary-hover: #13AF88;
  --lp-primary-edge: #0A7A5E;
  --lp-link: #0A7A5E;
  --lp-link-hover: #075A45;
  --lp-focus: #0A7A5E;
  --lp-accent: #0A7A5E;
  --lp-recommend: #E8F8F2;
  --lp-info: #1A4FE0;
  --lp-success: #127A4B;
  --lp-success-bg: #ECF4F1;
  --lp-shadow: 0 1px 2px rgb(28 33 39 / 0.06), 0 4px 12px rgb(28 33 39 / 0.06);
  --lp-font: system-ui, sans-serif;
  --lp-mono: ui-monospace, monospace;
  --lp-radius: 10px;
  --lp-radius-control: 8px;
  --lp-header: 4rem;
  --lp-max: 75rem;
  --lp-prose: 42rem;
  --lp-gutter: 1rem;
  --lp-space-1: 0.25rem;
  --lp-space-2: 0.5rem;
  --lp-space-3: 0.75rem;
  --lp-space-4: 1rem;
  --lp-space-5: 1.5rem;
  --lp-space-6: 2rem;
  --lp-space-7: 3rem;
  --lp-space-8: 4rem;
  --lp-space-9: 6rem;
}

@media (min-width: 45rem) {
  :root { --lp-gutter: 1.5rem; }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --lp-bg: #0F1115;
    --lp-surface: #1A1D23;
    --lp-text: #E8EAEE;
    --lp-muted: #9AA3B2;
    --lp-border: #8A93A3;
    --lp-line: #2E323A;
    --lp-primary: #16C79A;
    --lp-primary-fg: #15181D;
    --lp-primary-hover: #37C59F;
    --lp-primary-edge: #0A7A5E;
    --lp-link: #3FE0B5;
    --lp-link-hover: #7AEBCB;
    --lp-focus: #3FE0B5;
    --lp-accent: #3FE0B5;
    --lp-recommend: #0E2422;
    --lp-info: #5C8DFF;
    --lp-success: #4ADE80;
    --lp-success-bg: #172E24;
    --lp-shadow: 0 1px 2px rgb(0 0 0 / 0.45), 0 4px 12px rgb(0 0 0 / 0.28);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --lp-bg: #0F1115;
  --lp-surface: #1A1D23;
  --lp-text: #E8EAEE;
  --lp-muted: #9AA3B2;
  --lp-border: #8A93A3;
  --lp-line: #2E323A;
  --lp-primary: #16C79A;
  --lp-primary-fg: #15181D;
  --lp-primary-hover: #37C59F;
  --lp-primary-edge: #0A7A5E;
  --lp-link: #3FE0B5;
  --lp-link-hover: #7AEBCB;
  --lp-focus: #3FE0B5;
  --lp-accent: #3FE0B5;
  --lp-recommend: #0E2422;
  --lp-info: #5C8DFF;
  --lp-success: #4ADE80;
  --lp-success-bg: #172E24;
  --lp-shadow: 0 1px 2px rgb(0 0 0 / 0.45), 0 4px 12px rgb(0 0 0 / 0.28);
}

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

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--lp-bg);
  color: var(--lp-text);
  font-family: var(--lp-font);
  font-size: 1rem;
  line-height: 1.6;
  text-wrap: pretty;
}

img, svg { max-width: 100%; }

p, li { text-wrap: pretty; }

h1, h2, h3, h4 {
  text-wrap: balance;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  margin: 0;
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.is-home h1 {
  font-size: clamp(2.125rem, 1.5rem + 2vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  max-width: 16ch;
}

h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: clamp(1.375rem, 1.2rem + 0.5vw, 1.75rem);
  scroll-margin-top: calc(var(--lp-header) + 1rem);
}

h3 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.3;
  scroll-margin-top: calc(var(--lp-header) + 1rem);
}

p { margin: 0 0 1rem; }

a {
  color: var(--lp-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--lp-link-hover);
  text-decoration-thickness: 2px;
}

:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--lp-focus);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 1rem;
  transform: translateY(-150%);
  z-index: 20;
  background: var(--lp-primary);
  color: var(--lp-primary-fg);
  text-decoration: none;
  border: 1px solid var(--lp-primary-edge);
  border-radius: var(--lp-radius-control);
  padding: 0.75rem 1rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
}

.skip:focus,
.skip:focus-visible {
  transform: none;
  color: var(--lp-primary-fg);
}

.wrap {
  width: min(100% - (2 * var(--lp-gutter)), var(--lp-max));
  margin-inline: auto;
}

main {
  flex: 1;
  outline: none;
}

main:focus-visible {
  outline: 2px solid var(--lp-focus);
  outline-offset: 4px;
}

.page-head { padding-top: 2rem; }

.page-body { padding-bottom: 4rem; }

.prose { max-width: var(--lp-prose); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--lp-surface);
  border-bottom: 1px solid var(--lp-line);
}

.header-inner {
  min-height: var(--lp-header);
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--lp-text);
  text-decoration: none;
  line-height: 0;
  border-radius: var(--lp-radius-control);
  max-width: 11rem;
}

.brand:hover { color: var(--lp-text); text-decoration: none; }

.brand svg {
  display: block;
  height: 1.75rem;
  width: auto;
}

.nav-check {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.nav-button {
  margin-left: auto;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-control);
  background: var(--lp-surface);
  color: var(--lp-text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.when-open { display: none; }

.nav-check:checked + .nav-button .when-open { display: inline; }
.nav-check:checked + .nav-button .when-closed { display: none; }

.nav-check:focus-visible + .nav-button {
  outline: 2px solid var(--lp-focus);
  outline-offset: 2px;
}

.site-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--lp-surface);
  border-bottom: 1px solid var(--lp-line);
  box-shadow: var(--lp-shadow);
  padding: 1rem var(--lp-gutter) 1.25rem;
}

.nav-check:checked ~ .site-nav { display: flex; }

.site-nav a {
  color: var(--lp-text);
  text-decoration: none;
  font-weight: 500;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  padding: 0 0.5rem;
  border-bottom: 3px solid transparent;
  border-radius: 2px;
}

.site-nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; color: var(--lp-text); }

.site-nav a[aria-current="page"] {
  font-weight: 700;
  border-bottom-color: var(--lp-accent);
}

.site-nav a.btn-primary,
.site-nav a.btn-primary:hover,
.site-nav a.btn-primary:focus-visible {
  color: #15181D;
  background: #16C79A;
  text-decoration: none;
}

.site-nav a.btn-primary:hover,
.site-nav a.btn-primary:focus-visible {
  background: var(--lp-primary-hover);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--lp-radius-control);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1.2;
}

.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--lp-primary);
  color: var(--lp-primary-fg);
  border-color: var(--lp-primary-edge);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--lp-primary-hover);
  color: var(--lp-primary-fg);
}

.btn-ghost {
  background: var(--lp-surface);
  color: var(--lp-text);
  border-color: var(--lp-border);
}

.btn-ghost:hover { color: var(--lp-text); background: var(--lp-bg); }

.site-nav .btn-primary {
  margin-top: 0.5rem;
  border-bottom: 1px solid var(--lp-primary-edge);
}

@media (min-width: 62rem) {
  .nav-button, .nav-check { display: none; }
  .brand { max-width: none; }
  .brand svg { height: 2rem; }
  .site-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    margin-left: auto;
    gap: 0.15rem;
  }
  .site-nav .btn-primary {
    margin-top: 0;
    margin-left: 0.75rem;
  }
}

.crumbs { margin: 0 0 0.75rem; }

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--lp-muted);
  font-size: 0.875rem;
}

.crumbs li { display: inline-flex; align-items: center; gap: 0.5rem; }

.crumbs li + li::before {
  content: "/";
  color: var(--lp-muted);
}

.hero { padding: 3rem 0 1rem; }

.lead {
  font-size: 1.125rem;
  max-width: 40rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 0.75rem;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 48rem) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

.card, .panel, .widget-empty, .slot-note, .callout {
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  box-shadow: var(--lp-shadow);
  padding: 1.25rem;
}

.card h2, .panel h2, .widget-empty h2, .slot-note h2 {
  margin-top: 0;
  font-size: 1.125rem;
}

.card p:last-child, .panel p:last-child, .slot-note p:last-child { margin-bottom: 0; }

.kicker {
  margin: 0 0 0.5rem;
  color: var(--lp-accent);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

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

.mix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin: 1rem 0;
}

.mix span {
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--lp-radius-control);
  border: 1px dashed var(--lp-border);
  background: var(--lp-bg);
  font-weight: 600;
  text-align: center;
  padding: 0.5rem;
}

.empty, .disclaimer, .editor {
  border-radius: var(--lp-radius-control);
  padding: 0.85rem 1rem;
}

.empty {
  background: var(--lp-bg);
  border: 1px solid var(--lp-border);
  margin: 0 0 1rem;
}

.disclaimer {
  background: var(--lp-success-bg);
  color: var(--lp-success);
  border: 1px solid var(--lp-line);
  font-weight: 600;
}

.widget-empty {
  background: var(--lp-recommend);
}

.slot-note {
  margin-top: 2rem;
}

.tool {
  display: grid;
  gap: 1rem;
}

@media (min-width: 56rem) {
  .tool { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: start; }
  .tool .tool-result { position: sticky; top: calc(var(--lp-header) + 1rem); }
}

.fields {
  display: grid;
  gap: 0.9rem;
}

.field { display: grid; gap: 0.35rem; }

.field label, .legend {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
}

.help { margin: 0; color: var(--lp-muted); font-size: 0.875rem; }

input, select {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius-control);
  background: var(--lp-surface);
  color: var(--lp-text);
  font: inherit;
}

input::placeholder { color: var(--lp-muted); opacity: 1; }

.table-wrap { overflow-x: auto; margin: 0 0 1rem; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.5;
  background: var(--lp-surface);
}

th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid var(--lp-line);
}

th { font-weight: 600; }

.recommend { background: var(--lp-recommend); }

code, .mono {
  font-family: var(--lp-mono);
  font-size: 0.92em;
}

pre {
  margin: 0 0 1rem;
  padding: 1rem;
  overflow-x: auto;
  background: var(--lp-surface);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  line-height: 1.45;
}

pre code { font-size: 0.8125rem; }

.toc {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.toc li { margin: 0.25rem 0; }

details {
  border-bottom: 1px solid var(--lp-line);
  padding: 0.35rem 0;
}

summary {
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
}

details p:last-child { margin-bottom: 0.75rem; }

.sources { color: var(--lp-muted); font-size: 0.875rem; }

.sources a { overflow-wrap: anywhere; }

.with-toc { display: block; }

@media (min-width: 64rem) {
  .with-toc {
    display: grid;
    grid-template-columns: 16rem minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
  }
  .toc-panel {
    position: sticky;
    top: calc(var(--lp-header) + 1rem);
  }
  .toc-panel h2 { margin-top: 0; font-size: 1rem; }
}

.site-footer {
  margin-top: auto;
  background: var(--lp-surface);
  border-top: 1px solid var(--lp-line);
  padding: 2rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 48rem) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

.footer-heading {
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li { margin: 0.2rem 0; }

.footer-mark {
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--lp-line);
  font-weight: 700;
}

.kpi-row {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 40rem) {
  .kpi-row { grid-template-columns: 1fr 1fr; }
}

.kpi {
  background: var(--lp-bg);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius-control);
  padding: 0.85rem;
}

.kpi span {
  display: block;
  color: var(--lp-muted);
  font-size: 0.8125rem;
  font-weight: 600;
}

.kpi strong {
  display: block;
  margin-top: 0.25rem;
  font-weight: 600;
}

/* Planning studio: helder papier, navy en gedempte teal. */
:root, :root[data-theme="dark"] { color-scheme:light; --lp-bg:#f2f5f3; --lp-surface:#fff; --lp-text:#162b37; --lp-muted:#52656b; --lp-border:#84959a; --lp-line:#d6dfdc; --lp-primary:#075e58; --lp-primary-fg:#fff; --lp-primary-hover:#064d48; --lp-primary-edge:#075e58; --lp-link:#075e58; --lp-link-hover:#043f3b; --lp-focus:#075e58; --lp-accent:#075e58; --lp-shadow:none; --lp-radius:3px; --lp-radius-control:3px; --lp-header:5.8rem; --lp-max:77.5rem; --lp-gutter:2rem; }
body { background:var(--lp-bg); color:var(--lp-text); }
.site-header { background:#f2f5f3f5; }
.header-inner { min-height:90px; }
.brand { max-width:13rem; }
.brand svg { width:185px; height:auto; }
.site-nav a { font-size:.83rem; }
.hero { display:grid; grid-template-columns:1.12fr .88fr; gap:64px; padding:64px 0; background:none; border:0; }
.hero-copy { align-self:center; }
.is-home h1 { font-size:clamp(3rem,5vw,5rem); max-width:13ch; line-height:1.02; letter-spacing:-.055em; font-weight:650; }
.kicker { font-size:.7rem; text-transform:uppercase; letter-spacing:.13em; color:var(--lp-link); margin-bottom:25px; }
.hero .lead { font-size:1.22rem; line-height:1.6; margin-top:25px; }
.hero-copy > p:not(.kicker):not(.lead) { max-width:51ch; color:var(--lp-muted); font-size:.96rem; }
.hero-photo { margin:0; align-self:center; }
.hero-photo img { width:100%; height:555px; object-fit:cover; display:block; border-radius:3px; }
.hero-photo figcaption { font-size:.75rem; line-height:1.5; color:var(--lp-muted); padding:15px 0; border-bottom:1px solid var(--lp-line); }
.actions { gap:14px; }
.btn { min-height:50px; padding:0 22px; border-radius:3px; font-size:.86rem; }
.link-row { font-size:.8rem; gap:12px; }
.cards { gap:0; border-top:1px solid var(--lp-line); border-left:1px solid var(--lp-line); padding:0; }
.card { border:0; border-right:1px solid var(--lp-line); border-bottom:1px solid var(--lp-line); border-radius:0; padding:30px; background:var(--lp-surface); box-shadow:none; margin:0; }
.card h2,.card h3 { font-size:1.35rem; letter-spacing:-.025em; margin-top:0; }
.card p { font-size:.94rem; }
.card a { font-size:.82rem; font-weight:650; }
.card a:after { content:' ↗'; }
.is-home .page-body > section:not(.hero) { margin:60px 0; padding-top:22px; border-top:1px solid var(--lp-line); }
h2 { font-size:clamp(1.7rem,2.8vw,2.5rem); letter-spacing:-.04em; line-height:1.15; }
h3 { letter-spacing:-.025em; }
.page-head { padding-top:45px; padding-bottom:28px; border-bottom:1px solid var(--lp-line); }
.page-head h1 { font-size:clamp(2.3rem,4.2vw,4rem); max-width:23ch; letter-spacing:-.045em; line-height:1.08; }
.page-body { padding-top:25px; padding-bottom:75px; }
.is-home .page-body { padding-top:0; }
.prose { max-width:76ch; }
.prose p { line-height:1.8; }
.panel,.step,.slot-note { border-radius:3px; box-shadow:none; }
.table-wrap { border-radius:3px; max-width:100%; }
td a { overflow-wrap:anywhere; }
.site-footer { padding-top:55px; background:#162b37; color:#c1d0d1; }
.site-footer a { color:#e0ece8; font-size:.85rem; }
.footer-heading { color:#a4bcb9; text-transform:uppercase; letter-spacing:.15em; font-size:.7rem; }
.footer-mark { border-color:#41555e; }
@media(prefers-color-scheme:dark) { :root:not([data-theme="light"]) { color-scheme:light; --lp-bg:#f2f5f3; --lp-surface:#fff; --lp-text:#162b37; --lp-muted:#52656b; --lp-line:#d6dfdc; --lp-link:#075e58; --lp-primary:#075e58; --lp-primary-fg:#fff; --lp-link-hover:#043f3b; --lp-focus:#075e58; --lp-shadow:none; } }
@media(max-width:1000px) { .hero{gap:30px;} .hero-photo img{height:510px;} .site-nav a{font-size:.75rem;} }
@media(max-width:767px) { :root{--lp-gutter:1.125rem;} .header-inner{min-height:76px;} .brand svg{width:170px;} .hero{grid-template-columns:1fr;padding:38px 0;gap:26px;} .is-home h1{font-size:3.3rem;} .hero-photo img{height:345px;} .card{padding:25px;} .page-head{padding-top:27px;} .is-home .page-body > section:not(.hero){margin:38px 0;} }
.planning-sheet { padding:36px; border:1px solid var(--lp-line); background:var(--lp-surface); margin:32px 0; }
.planning-sheet h2 { margin-top:0; }
.planning-list { margin:24px 0; }
.planning-list > div { display:grid; grid-template-columns:180px 1fr; gap:24px; padding:20px 0; border-top:1px solid var(--lp-line); }
.planning-list dt { font-weight:700; font-size:.9rem; }
.planning-list dd { margin:0; color:var(--lp-muted); max-width:55ch; }
@media(max-width:600px) { .planning-sheet{padding:24px;} .planning-list > div{grid-template-columns:1fr;gap:8px;} }

.section-photo{margin:8px 0 40px}
.section-photo img{display:block;width:100%;aspect-ratio:16/9;max-height:480px;object-fit:cover;border-radius:4px}
.section-photo figcaption{margin:10px 0 0;font-size:.8rem;line-height:1.45}
@media(max-width:767px){.section-photo img{max-height:240px;aspect-ratio:16/10}}
.section-photo figcaption{color:#5c656c}
