:root {
  --navy: #222939;
  --blauw: #005FAA;
  --blauw2: #0074D0;
  --zwart: #0F1419;
  --tekst: #374151;
  --grijs: #6B7280;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  min-height: 100vh; display: grid; place-items: center; padding: 32px 16px;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; font-size: 14px; line-height: 1.5; color: var(--tekst);
  background: radial-gradient(ellipse at 15% 0%, rgba(0, 116, 208, .35), transparent 55%), var(--navy);
  -webkit-font-smoothing: antialiased;
}
.kaart { width: 100%; max-width: 620px; background: #fff; border-radius: 20px; padding: 36px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.chip {
  display: inline-flex; font-size: 12px; font-weight: 600; color: #B45309; background: #FFFBEB;
  border: 1px solid #FDE68A; border-radius: 999px; padding: 4px 12px;
}
h1 { font-size: 30px; font-weight: 800; color: var(--zwart); letter-spacing: -.03em; line-height: 1.15; margin-top: 16px; }
h1 span { color: var(--blauw); }
.sub { color: var(--grijs); margin-top: 6px; }
.blok { margin-top: 30px; }
h2 { font-size: 15px; font-weight: 700; color: var(--zwart); display: flex; align-items: center; gap: 10px; }
.nr {
  width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blauw), var(--blauw2)); color: #fff; font-size: 12px;
}
.hint { font-size: 13px; color: var(--grijs); margin: 4px 0 10px 34px; }
.nr.done { background: #10B981; font-size: 0; }
.nr.done::after { content: ''; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
.pill { font-size: 11px; font-weight: 700; color: #047857; background: #ECFDF5; border-radius: 999px; padding: 2px 9px; }
.knop-hint { font-size: 13px; font-weight: 600; color: #B45309; margin-top: 10px; }
.link-vak {
  border: 1px solid var(--blauw); border-radius: 14px; padding: 14px 16px; background: #F8FAFC;
  font-family: ui-monospace, Consolas, monospace; font-size: 16px; color: var(--zwart); overflow-wrap: anywhere;
}
.link { color: var(--blauw); text-decoration: none; white-space: nowrap; }
a.link:not(.dicht):hover { text-decoration: underline; }
.link.dicht { pointer-events: none; color: var(--zwart); }
.kras { position: relative; display: inline-block; }
#kraslaag { position: absolute; left: -8px; top: -6px; pointer-events: auto; cursor: pointer; touch-action: none; border-radius: 8px; transition: opacity .5s; }
#kraslaag.weg { opacity: 0; pointer-events: none; }
.knipper { white-space: normal; user-select: none; -webkit-user-select: none; animation: knipper 5s ease-in-out infinite; }
@keyframes knipper {
  0%, 40% { opacity: 1; }
  50%, 90% { opacity: 0; }
  100% { opacity: 1; }
}
.knop-plek { min-height: 46px; margin-top: 12px; }
.knop {
  border: 0; border-radius: 14px; padding: 12px 20px; font: 600 14px 'Inter', 'Segoe UI', system-ui, sans-serif; color: #fff; cursor: pointer;
  background: linear-gradient(135deg, var(--blauw), var(--blauw2)); box-shadow: 0 2px 8px rgba(0, 95, 170, .25), inset 0 1px 0 rgba(255, 255, 255, .15);
}
.knop.done { background: linear-gradient(135deg, #059669, #10B981); box-shadow: 0 2px 8px rgba(16, 185, 129, .3); cursor: default; }
.knop.los { position: fixed; z-index: 50; transition: left .25s cubic-bezier(.3, 1.5, .5, 1), top .25s cubic-bezier(.3, 1.5, .5, 1); }
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(120px); opacity: 0; visibility: hidden;
  background: var(--zwart); color: #fff; padding: 12px 20px; border-radius: 14px; font-weight: 500; font-size: 13px; z-index: 100;
  transition: all .3s cubic-bezier(.22, 1, .36, 1); box-shadow: 0 12px 32px rgba(15, 20, 25, .25); max-width: 90vw;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; visibility: visible; }
@media (max-width: 520px) {
  .kaart { padding: 26px 20px; }
  h1 { font-size: 26px; }
  .link-vak { font-size: 14px; }
}
