:root {
  --ink: #102033;
  --ink-soft: #3d4d5e;
  --paper: #f3f0e8;
  --white: #fffcf6;
  --line: #ddd6c8;
  --signal: #c45c26;
  --signal-ink: #8a3c14;
  --water: #1f6f8b;
  --serif: "URW Bookman", "Liberation Serif", Georgia, "Times New Roman", serif;
  --sans: "Liberation Sans", "Nimbus Sans", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 18px 50px rgba(16, 32, 51, 0.12);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% -80px, rgba(196, 92, 38, 0.14), transparent 55%),
    radial-gradient(700px 380px at -120px 180px, rgba(31, 111, 139, 0.12), transparent 60%),
    var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
}

img { max-width: 100%; }

a { color: var(--water); }
a:hover { color: var(--ink); }

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

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(1080px, calc(100% - 32px));
  margin-inline: auto;
}

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(1080px, calc(100% - 32px));
  margin: 12px auto 0;
  padding: 10px 12px 10px 16px;
  background: rgba(255, 252, 246, 0.92);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.word {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.word span { color: var(--signal); }

.menu {
  margin-left: auto;
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 0 14px;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.nav {
  display: none;
  gap: 18px;
  align-items: center;
}
.nav.is-open {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 4px;
}
.nav a:hover { color: var(--signal-ink); }

.top-cta {
  display: none;
  text-decoration: none;
  background: var(--ink);
  color: white;
  font-weight: 700;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 16px;
  align-items: center;
}
.top-cta:hover { color: white; background: #1b3348; }

@media (min-width: 860px) {
  .menu { display: none; }
  .nav,
  .nav.is-open {
    display: flex;
    margin-left: auto;
    position: static;
    top: auto;
    left: auto;
    right: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    flex-direction: row;
    gap: 8px;
  }
  .top-cta { display: inline-flex; margin-left: 8px; }
}

.hero {
  display: grid;
  gap: 28px;
  padding: 48px 0 20px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--signal-ink);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.03em; line-height: 1.12; }
h1 { margin: 0; font-size: clamp(2.4rem, 6vw, 4.5rem); max-width: 12ch; }
h2 { margin: 0 0 12px; font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { margin: 0 0 6px; font-size: 1.35rem; }

.lede {
  max-width: 38rem;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}
.btn.solid { background: var(--signal); color: white; }
.btn.solid:hover { background: #a84b1c; color: white; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: white; }

section { padding: 56px 0; scroll-margin-top: 96px; }
section h2 + p { max-width: 38rem; color: var(--ink-soft); }

.steps, .exams, .faq { list-style: none; margin: 28px 0 0; padding: 0; }

.steps li, .faq details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.steps li {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 8px 14px;
}
.steps { counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--signal);
  line-height: 1.1;
}
.steps p, .exams p, .who p { margin: 0; color: var(--ink-soft); }

.exams li {
  display: grid;
  grid-template-columns: 5.2rem 1fr;
  gap: 4px 16px;
  padding: 18px 0 18px 14px;
  border-top: 1px solid var(--line);
  border-left: 4px solid var(--mark, var(--ink));
}
.exams .code {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--mark, var(--ink));
  padding-top: 3px;
}
.exams .meta { margin-top: 6px; font-weight: 700; color: var(--ink); }

.note {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 40rem;
}

.price-grid {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}
.price-card {
  background: var(--ink);
  color: white;
  border-radius: 22px;
  padding: 28px 24px;
  display: grid;
  gap: 8px;
}
.card-kicker {
  margin: 0;
  color: #f0c7b0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.price-card .amount {
  font-family: var(--serif);
  font-size: clamp(3.4rem, 8vw, 4.6rem);
  letter-spacing: -0.05em;
  line-height: 0.9;
  margin: 0;
  color: white;
}
.price-card p { color: #d5dde6; margin: 0; }
.price-card .btn { justify-self: start; margin-top: 8px; }
.price-card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.price-card li { padding: 7px 0 7px 18px; position: relative; }
.price-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
  position: absolute;
  left: 0;
  top: 0.72em;
}

.compare {
  display: grid;
  gap: 12px;
}
.compare article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}
.compare h3 { font-family: var(--sans); font-size: 1rem; letter-spacing: 0; }
.compare dl { margin: 10px 0 0; }
.compare dt { font-size: 0.82rem; color: var(--ink-soft); margin-top: 12px; font-weight: 700; }
.compare dd { margin: 2px 0 0; font-weight: 700; }
.compare article.is-us { border-color: var(--signal); box-shadow: inset 0 0 0 1px var(--signal); }

.who {
  display: grid;
  gap: 14px;
}
.who article {
  background: var(--white);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--line);
}

.faq details summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.faq details p { margin: 0 0 8px; color: var(--ink-soft); max-width: 40rem; }

.aanmeld {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}
form { display: grid; gap: 12px; margin-top: 16px; }
label { font-weight: 700; display: grid; gap: 6px; }
input, select {
  font: inherit;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0 12px;
  color: var(--ink);
}
.error { color: #8d1d1d; font-weight: 700; margin: 0; }
.done {
  margin-top: 14px;
  background: #e7f4ec;
  border-radius: 12px;
  padding: 14px;
}
.done p { margin: 0 0 8px; }

.foot {
  background: var(--ink);
  color: #d5dde6;
  padding: 36px 0 28px;
  margin-top: 20px;
}
.foot a { color: white; }
.foot-grid {
  display: grid;
  gap: 18px;
}
.foot .word { color: white; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 6px 0; }
.legal-line { margin: 22px 0 0; font-size: 0.92rem; }

.page { padding-top: 36px; padding-bottom: 48px; }
.page h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 16ch; }
.prose { max-width: 40rem; }
.prose h2 { font-size: 1.45rem; margin-top: 28px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 1.2rem; }

button { font: inherit; cursor: pointer; }

@media (min-width: 860px) {
  .hero { padding-top: 72px; }
  .price-card {
    grid-template-columns: 220px 1fr auto;
    gap: 28px;
    align-items: center;
  }
  .price-card .btn { margin-top: 0; }
  .compare { grid-template-columns: repeat(3, 1fr); }
  .who { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .aanmeld { padding: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
