@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/ibm-plex-mono-400-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/ibm-plex-mono-400-latin.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:500;font-display:swap;src:url("fonts/ibm-plex-mono-500-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:500;font-display:swap;src:url("fonts/ibm-plex-mono-500-latin.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:600;font-display:swap;src:url("fonts/ibm-plex-mono-600-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:600;font-display:swap;src:url("fonts/ibm-plex-mono-600-latin.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:"Schibsted Grotesk";font-style:normal;font-weight:400 800;font-display:swap;src:url("fonts/schibsted-grotesk-var-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:"Schibsted Grotesk";font-style:normal;font-weight:400 800;font-display:swap;src:url("fonts/schibsted-grotesk-var-latin.woff2") format("woff2");unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* Zenkas site, "Kasboek, rustig" (docs/REDESIGN.md): blue-black ink on white paper, one ledger red, stamps for status, amounts in a mono.
   Same tokens as the dashboard (frontend/src/styles.css). Light only, like the design. Shared by every page: base, header, footer, buttons,
   stamps, ledger helpers. The homepage adds home.css, the task pages pages.css, the legal pages legal.css. */
:root{
  --bg:#F3F4F2; --surface:#FFFFFF; --surface-2:#F7F9FB; --surface-3:#E3E9F1;
  --ink:#172031; --ink-2:#4E5868; --ink-3:#5F6876; --line:#DFE5EC; --line-2:#C9D3DE; --rule:#D7E2EE; --dot:#AEB9C6;
  --red:#B8352A; --red-soft:#EBC6C1; --stamp:#2F4B9A; --ok:#1F6B4F; --warn:#8F5500;
  --font:"Schibsted Grotesk",system-ui,-apple-system,"Segoe UI",sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,"SFMono-Regular",Consolas,monospace;
  --r-sm:4px; --r-md:6px; --r-lg:8px;
  --gut:clamp(16px,4vw,48px);
  --float:0 24px 48px -36px rgba(23,32,49,.35);
  /* homepage v4 (research/homepage/visueel-v4.md): podium tints, the ink panel, three radii, two shadows, the section rhythm, one easing */
  --sand:#F3EDE4; --mist:#EAF0F6; --on-ink:#FFFFFF; --on-ink-2:#B9C3D0;
  --r-card:14px; --r-panel:28px;
  --sh-card:0 1px 2px rgba(23,32,49,.06),0 12px 32px -16px rgba(23,32,49,.22);
  --sh-float:0 2px 4px rgba(23,32,49,.08),0 28px 56px -24px rgba(23,32,49,.38);
  --sec-y:clamp(72px,9vw,128px); --ease:cubic-bezier(.2,.7,.2,1); --dur:450ms;
  color-scheme:light;
}
@media (max-width:600px){:root{--r-panel:20px}}
/* AANMELDEN. Nu: op uitnodiging. Bij open aanmelding deze selector omzetten naar [data-als="uitnodiging"]. */
[data-als="open"] { display: none !important; }

/* ---------- base ---------- */
*,*::before,*::after{box-sizing:border-box}
[hidden]:not([hidden=until-found i]){display:none!important}
html{-webkit-text-size-adjust:100%;scroll-padding-top:88px;scroll-behavior:smooth}
body{margin:0;background:#FFFFFF;color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased;overflow-x:clip}
img,svg{max-width:100%}
a{color:var(--ink);text-underline-offset:3px}
a:hover{color:var(--red)}
button{font-family:inherit;cursor:pointer}
:focus-visible{outline:2px solid var(--stamp);outline-offset:2px}
h1,h2,h3{margin:0;font-weight:800;letter-spacing:-.03em;line-height:1.1;text-wrap:balance}
h3{font-weight:700}
p{margin:0}
.wrap{max-width:1200px;margin-inline:auto;padding-inline:max(var(--gut),env(safe-area-inset-left,0px)) max(var(--gut),env(safe-area-inset-right,0px))}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.sprite{position:absolute;width:0;height:0;overflow:hidden}
.skip{position:absolute;left:12px;top:-60px;z-index:100;padding:10px 16px;border-radius:var(--r-md);background:var(--ink);color:#FFFFFF;font-weight:600;text-decoration:none}
.skip:focus{top:12px;color:#FFFFFF}
.i{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.lead{font-size:19px;line-height:1.55;color:var(--ink-2);max-width:60ch;text-wrap:pretty}

/* ---------- ledger helpers: amounts, leader dots, the double red rule under a total ---------- */
.num,.amt{font-family:var(--mono);font-variant-numeric:tabular-nums;white-space:nowrap}
.zk-total{border-bottom:3px double var(--red);padding-bottom:2px}
.zk-leader{flex:1 1 16px;min-width:16px;margin:0 8px;border-bottom:1px dotted var(--dot);transform:translateY(-4px)}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 16px;border:1px solid transparent;border-radius:var(--r-md);font:inherit;font-size:15px;font-weight:600;text-decoration:none;cursor:pointer;white-space:nowrap}
.btn-primary{background:var(--ink);color:#FFFFFF}
.btn-primary:hover{background:#2A3548;color:#FFFFFF}
.btn-inverse{background:#FFFFFF;color:var(--ink)}
.btn-inverse:hover{background:var(--surface-3);color:var(--ink)}
.btn-ghost{background:var(--surface);color:var(--ink);border-color:var(--line-2)}
.btn-ghost:hover{background:var(--surface-2);color:var(--ink)}
.btn-lg{min-height:50px;padding:0 24px;font-size:16px}
.btn-block{display:flex;width:100%}
.btn-text{display:inline-flex;align-items:center;min-height:44px;padding:0;border:0;background:transparent;color:var(--ink-2);font:inherit;font-size:15px;font-weight:500;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.more{display:inline-block;margin-top:20px;font-size:16px;font-weight:600;text-underline-offset:4px}
.more+.more{margin-left:24px}

/* ---------- stamps: status as a rubber stamp ---------- */
.stamp{display:inline-block;padding:3px 6px 2px;border:1.5px solid var(--ink-2);border-radius:3px;color:var(--ink-2);font-family:var(--mono);font-size:10.5px;font-weight:600;line-height:1.4;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;transform:rotate(-3deg)}
.stamp.blue{border-color:var(--stamp);color:var(--stamp)}
.stamp.soon{border:1.5px dashed var(--ink-3);color:var(--ink-2);transform:none}
.stamp.lg{font-size:11px;padding:4px 7px 3px}
.stamp-in{animation:zk-stamp .34s cubic-bezier(.2,.8,.2,1) both}
@keyframes zk-stamp{0%{transform:rotate(-4deg) scale(1.9);opacity:0}60%{transform:rotate(-4deg) scale(.94);opacity:1}100%{transform:rotate(-4deg) scale(1);opacity:1}}
.shot-tag{display:inline-block;padding:2px 6px;border:1px solid var(--line-2);border-radius:var(--r-sm);color:var(--ink-3);font-family:var(--mono);font-size:11px;font-weight:500;font-style:normal;line-height:1.4;white-space:nowrap}

/* ---------- check list (what is included): hairlines between rows, a blue tick ---------- */
.ticks{list-style:none;margin:0;padding:0;border-bottom:1px solid var(--line)}
.ticks li{display:flex;gap:10px;align-items:flex-start;padding:10px 0;border-top:1px solid var(--line);font-size:16px;line-height:1.45}
.ticks .i{margin-top:2px;color:var(--stamp);stroke-width:2.4}
.ticks li.soon{align-items:center;color:var(--ink-2)}
.ticks li.soon .stamp{flex:none}

/* ---------- header: white, one rule under it. Under 900px the menu is a native <details>, so it works without JavaScript ---------- */
.hd{background:#FFFFFF;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}
.hd-in{max-width:1200px;margin:0 auto;padding:16px max(var(--gut),env(safe-area-inset-right,0px)) 16px max(var(--gut),env(safe-area-inset-left,0px));display:flex;align-items:center;justify-content:space-between;gap:24px}
.logo{display:inline-block;flex:none;font-size:24px;font-weight:800;letter-spacing:-.03em;line-height:1.1;border-bottom:3px double var(--red);padding-bottom:1px;color:var(--ink);text-decoration:none}
.logo:hover{color:var(--ink)}
.nav{display:flex;gap:28px;font-size:15px;font-weight:500}
.nav a{text-decoration:none;display:inline-flex;align-items:center;min-height:44px}
.nav a:hover{color:var(--red)}
.hd-right{display:flex;align-items:center;gap:18px}
.hd-login{font-size:15px;font-weight:500;text-decoration:none;display:inline-flex;align-items:center;min-height:44px}
.hd-menu{display:none;position:relative}
.hd-menu summary{list-style:none;display:flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border:1px solid var(--line-2);border-radius:var(--r-md);background:var(--surface);font-size:15px;font-weight:600;cursor:pointer}
.hd-menu summary::-webkit-details-marker{display:none}
.hd-menu .hd-bars{display:inline-block;width:16px;height:10px;border-block:2px solid var(--ink);position:relative}
.hd-menu .hd-bars::after{content:"";position:absolute;left:0;right:0;top:50%;height:2px;margin-top:-1px;background:var(--ink)}
.hd-menu[open] summary{background:var(--surface-3)}
.hd-panel{position:absolute;right:0;top:calc(100% + 8px);z-index:30;width:min(280px,calc(100vw - 2*var(--gut)));padding:8px;border:1px solid var(--line-2);border-radius:var(--r-lg);background:#FFFFFF;box-shadow:0 12px 32px -16px rgba(23,32,49,.35);display:flex;flex-direction:column}
.hd-panel a{display:flex;align-items:center;min-height:48px;padding:0 12px;border-radius:var(--r-md);font-size:16px;font-weight:500;text-decoration:none}
.hd-panel a:hover{background:var(--surface-2);color:var(--ink)}
.hd-panel hr{width:100%;height:1px;margin:6px 0;border:0;background:var(--line)}
.hd-panel a.btn{justify-content:center;margin-top:6px;color:#FFFFFF;font-weight:600}
.hd-panel a.btn:hover{background:#2A3548;color:#FFFFFF}
@media (max-width:900px){
  .nav,.hd-login,.hd-right>.btn{display:none}
  .hd-menu{display:block}
  .hd-in{gap:12px}
  .hd-right{gap:10px}
}
@media (max-width:380px){.hd-right .btn{padding:0 12px}.hd-menu summary{padding:0 10px}.logo{font-size:21px}}

/* ---------- footer ---------- */
.ft{border-top:1px solid var(--ink);background:#FFFFFF}
.ft-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:32px 40px;padding-block:48px 40px;font-size:15px}
.ft .logo{font-size:22px}
.ft-about{margin-top:16px;font-size:14px;line-height:1.55;color:var(--ink-2);max-width:34ch}
.ft h2{margin:0 0 10px;font-size:13px;font-weight:600;letter-spacing:0;color:var(--ink-3)}
.ft ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.ft ul a{text-decoration:none}
.ft ul a:hover{text-decoration:underline;color:var(--red)}
.ft [aria-current="page"]{font-weight:600}
.ft-bottom{padding-block:16px 32px;border-top:1px solid var(--line);font-size:13.5px;color:var(--ink-3);display:flex;flex-wrap:wrap;gap:4px 24px;align-items:center}
.ft-bottom a{color:var(--ink-3);display:inline-flex;align-items:center;min-height:44px}
.ft ul a{display:inline-flex;align-items:center;min-height:44px}
.ft ul{gap:0}
.hd .logo,.ft .logo{padding-top:16px}
@media (max-width:600px){
  .ft-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 20px;padding-block:40px 24px}
  .ft-grid>div:first-child{grid-column:1/-1}
  .ft-grid>div:nth-child(2){grid-row:2/span 2}
}
@media (max-width:360px){
  .ft-grid{grid-template-columns:minmax(0,1fr)}
  .ft-grid>div:nth-child(2){grid-row:auto}
}

/* ---------- page shell for every page but the homepage: a quiet band with the kicker and the h1, then the content ---------- */
.page-hero{background:var(--bg);border-bottom:1px solid var(--line)}
.page-hero .wrap{display:grid;gap:14px;padding-block:56px 48px}
.kicker{font-family:var(--mono);font-size:13px;font-weight:500;color:var(--ink-3)}
.page-hero h1{font-size:clamp(28px,4.4vw,54px);line-height:1.05;letter-spacing:-.035em;max-width:24ch;overflow-wrap:break-word}
.page-hero .lead{margin-top:2px}
.hero-cta{display:flex;flex-wrap:wrap;gap:12px 22px;align-items:center;margin-top:10px}
.hero-cta span{font-size:15px;color:var(--ink-2)}
/* a document page (legal texts, 404, 500): white paper on the grey desk */
main.doc-page{background:var(--bg)}
.doc-page .page-hero{border-bottom:0}
.doc-page .page-hero .wrap{padding-bottom:24px}
.doc{max-width:880px;margin:0 auto;padding-bottom:80px}
.doc-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:clamp(20px,4vw,40px);display:grid;grid-template-columns:minmax(0,1fr);gap:16px;overflow-wrap:break-word}
.doc-card p{color:var(--ink-2);font-size:17px;line-height:1.6}
.notice{display:flex;gap:12px;align-items:flex-start;padding:14px 18px;border:1px solid var(--line-2);border-radius:var(--r-md);background:var(--surface-2);color:var(--ink);font-weight:600}
.notice .i{margin-top:3px;color:var(--ink-2)}
.doc-back{display:inline-flex;align-items:center;gap:8px;margin-top:24px;min-height:44px;font-weight:600;text-decoration:none}
.doc-back:hover{text-decoration:underline}

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