:root {
  --navy-950: #071a33;
  --navy-900: #0b2548;
  --navy-800: #12365d;
  --navy-700: #1c4f7d;
  --ink: #102238;
  --muted: #5c6d80;
  --line: #d9e2eb;
  --surface: #ffffff;
  --surface-soft: #f4f7fa;
  --surface-blue: #eaf3fa;
  --orange: #ef7622;
  --orange-deep: #c9540e;
  --green: #16826a;
  --shadow: 0 1.25rem 3rem rgba(7, 26, 51, .10);
  --measure: min(1180px, calc(100% - 3rem));
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--font-body);
  font-synthesis: none;
}

html[data-theme="dark"] {
  --ink: #edf4fb;
  --muted: #afc0d1;
  --line: #28435e;
  --surface: #091a2d;
  --surface-soft: #0d263f;
  --surface-blue: #102f4d;
  --navy-950: #f1f7fd;
  --shadow: 0 1.25rem 3rem rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--surface); }
body { margin: 0; min-width: 320px; background: var(--surface); color: var(--ink); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.page-shell { width: var(--measure); margin-inline: auto; }
.site-header { position: relative; z-index: 5; background: linear-gradient(180deg, #12365d 0%, #0b2548 100%); color: #fff; box-shadow: 0 .7rem 1.6rem rgba(7, 26, 51, .2); }
html[data-theme="dark"] .site-header { background: linear-gradient(180deg, #0e2742 0%, #061424 100%); box-shadow: 0 .55rem 1.4rem rgba(0, 0, 0, .4); }
.header-inner { min-height: 5.25rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 2.8rem; height: 2.8rem; border-radius: .7rem; background: var(--orange); display: grid; place-items: center; color: white; box-shadow: 0 .4rem 1rem rgba(239, 118, 34, .35); }
.brand-mark svg { width: 1.8rem; height: 1.8rem; }
.wordmark { font-family: var(--font-display); font-size: 1.38rem; font-weight: 700; letter-spacing: -.04em; line-height: 1.05; color: #fff; }
.wordmark span { color: #c5d6e8; font-weight: 500; }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.primary-nav { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 1.65rem); }
.primary-nav a { color: #d5e4f2; font-size: .88rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: #ffb07a; }
.header-login { padding: .62rem .95rem; border: 1px solid rgba(255, 255, 255, .35); border-radius: .45rem; color: #fff !important; }
.header-login:hover { border-color: var(--orange); color: #ffb07a !important; }
.menu-toggle, [data-theme-toggle] { border: 0; background: transparent; color: #fff; cursor: pointer; }
.menu-toggle { display: none; width: 2.6rem; height: 2.6rem; border: 1px solid rgba(255, 255, 255, .3); border-radius: .45rem; font-size: 1.25rem; }
[data-theme-toggle] { width: 2rem; height: 2rem; font-size: 1.05rem; }

.eyebrow { color: var(--orange-deep); font-family: var(--font-mono); font-size: .72rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -.045em; }
h1 { font-size: clamp(2.65rem, 5.5vw, 5.15rem); max-width: 10.5ch; margin-bottom: 1.3rem; }
h2 { font-size: clamp(2rem, 3.6vw, 3.35rem); margin-bottom: .85rem; }
h3 { font-size: 1.25rem; margin-bottom: .55rem; }
.lede { max-width: 39rem; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.65; }
.section-intro { max-width: 38rem; margin-bottom: 2.6rem; }
.section-intro p:last-child { margin-bottom: 0; }

.hero { padding: 4.8rem 0 5.3rem; position: relative; overflow: hidden; background: linear-gradient(120deg, var(--surface-blue), var(--surface) 63%); }
main > section + section { border-top: 0; }
.hero::after { content: ''; position: absolute; width: 34rem; height: 34rem; right: -12rem; top: -13rem; border: 1px solid rgba(28,79,125,.14); border-radius: 50%; box-shadow: 0 0 0 3rem rgba(28,79,125,.04), 0 0 0 7rem rgba(28,79,125,.025); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(23rem, .97fr); gap: clamp(2.5rem, 7vw, 7.5rem); align-items: center; position: relative; z-index: 1; }
.hero-copy { padding-block: 1rem; }
.hero-copy h1 { color: var(--navy-950); }
.hero-copy h1 em { color: var(--orange); font-style: normal; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; border: 1px solid transparent; border-radius: .42rem; padding: .76rem 1.1rem; font-weight: 700; font-size: .9rem; text-decoration: none; cursor: pointer; }
.button-primary { background: var(--orange); color: #fff; box-shadow: 0 .55rem 1rem rgba(239, 118, 34, .2); }
.button-primary:hover { background: var(--orange-deep); }
.button-secondary { background: var(--surface); border-color: var(--line); color: var(--navy-900); }
html[data-theme="dark"] .button-secondary { color: var(--ink); }
.button-secondary:hover { border-color: var(--orange); }
.hero-visual { min-height: 30rem; position: relative; border-radius: 1rem; overflow: hidden; background: var(--navy-900); box-shadow: var(--shadow); }
.hero-visual img { width: 100%; height: 100%; min-height: 30rem; object-fit: cover; opacity: .84; }
.hero-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(145deg, rgba(7,26,51,.1), rgba(7,26,51,.74)); }
.score-card { position: absolute; z-index: 1; right: 1.25rem; bottom: 1.25rem; width: min(17rem, calc(100% - 2.5rem)); padding: 1.2rem; border: 1px solid rgba(255,255,255,.25); border-radius: .7rem; background: rgba(7, 26, 51, .86); color: #fff; backdrop-filter: blur(12px); }
.score-card p { margin: 0 0 .85rem; font-size: .83rem; color: #cfe0ef; }
.score-line { display: flex; align-items: end; justify-content: space-between; gap: .75rem; }
.score-number { font-family: var(--font-display); font-size: 2.35rem; font-weight: 700; line-height: 1; }
.progress { height: .42rem; margin-top: .7rem; border-radius: 99px; background: #2d4965; overflow: hidden; }
.progress span { display: block; width: 82%; height: 100%; background: var(--orange); }

.section { padding: 5.5rem 0; }
.section-tight { padding: 3.5rem 0; }
.section-tint { background: #e8f3fb; }
.section-block { background: #e8f3fb; }
main > :is(section, .section):not(.hero):not(.page-hero):nth-child(even) { background: var(--surface); }
main > :is(section, .section):not(.hero):not(.page-hero):nth-child(odd) { background: #e8f3fb; }
html[data-theme="dark"] main > :is(section, .section):not(.hero):not(.page-hero):nth-child(even) { background: var(--surface); }
html[data-theme="dark"] main > :is(section, .section):not(.hero):not(.page-hero):nth-child(odd) { background: #06101c; }
.section-block .split-banner { background: transparent; }
.section-flush-bottom { padding-bottom: 0; }
.section-flush-top { border-top: 0; padding-top: 0; }
.archive-band { padding-bottom: 2rem; }
main > .archive-band { margin-bottom: 0; padding-top: 1.5rem; }
.section:has(#gratis-oefentoets) { padding-bottom: 1rem; }
#gratis-oefentoets.section-tight { padding: 1.5rem 0 0; }
html[data-theme="dark"] .section-block,
html[data-theme="dark"] .section-tint { background: #06101c; }
.page-rule { display: none; }
.section-dark { background: #071a33; color: #fff; }
.section-dark .lede, .section-dark .eyebrow { color: #b5cce0; }
.section-dark .eyebrow { color: #ff9b5b; }
.section-dark h2, .section-dark h3 { color: #fff; }
.category-strip { display: grid; grid-template-columns: repeat(6, minmax(8rem, 1fr)); gap: .75rem; }
.category-tile { display: flex; flex-direction: column; gap: .85rem; min-height: 10rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: .65rem; background: var(--surface); text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.category-tile:hover { transform: translateY(-.3rem); border-color: var(--orange); }
.category-icon { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: .5rem; background: var(--surface-blue); color: var(--navy-700); }
.category-icon svg { width: 1.7rem; height: 1.7rem; }
.category-tile strong { font-family: var(--font-display); font-size: .96rem; line-height: 1.15; }
.category-tile small { color: var(--muted); font-size: .75rem; margin-top: auto; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; max-width: 960px; }
.step { padding: 1.5rem; border-top: 2px solid #c5d8ea; background: var(--surface); }
.step-number { display: block; color: var(--orange); font-family: var(--font-mono); font-size: .76rem; font-weight: 700; margin-bottom: 2.8rem; }
.step p, .module-card p, .quote p, .review p, .faq-item p { color: var(--muted); }

.module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.module-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: .65rem; overflow: hidden; background: var(--surface); }
.module-photo { aspect-ratio: 16 / 8; overflow: hidden; background: var(--surface-blue); }
.module-photo img { width: 100%; height: 100%; object-fit: cover; }
.module-content { display: flex; flex: 1; flex-direction: column; padding: 1.3rem; }
.module-meta { display: flex; flex-wrap: wrap; gap: .5rem .8rem; margin-bottom: .85rem; color: var(--muted); font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; }
.module-price { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; margin-top: auto; padding-top: 1.2rem; }
.module-price strong { font-family: var(--font-display); font-size: 1.35rem; }
.text-link { color: var(--orange-deep); font-size: .88rem; font-weight: 700; text-decoration: none; }
.text-link::after { content: ' →'; }

.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 3.7rem; }
.proof-item { padding-left: 1.25rem; border-left: 2px solid #9ec3e0; }
.proof-item strong { display: block; color: var(--orange); font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1; letter-spacing: -.06em; }
.proof-item span { color: var(--ink); font-size: .85rem; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.quote { padding: 1.5rem; border: 1px solid var(--line); background: var(--surface); }
.quote p { color: var(--ink); font-size: .95rem; }
.quote footer { color: var(--ink); font-size: .82rem; font-weight: 700; }
.quote footer span { display: block; color: var(--muted); font-size: .75rem; font-weight: 400; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.review { margin: 0; padding: 1.5rem; border: 1px solid var(--line); background: var(--surface); }
.review p { margin: 0 0 1rem; font-size: .95rem; }
.review footer { font-size: .82rem; font-weight: 700; }
.review footer span { display: block; font-size: .75rem; font-weight: 400; color: var(--muted); }

.split-banner { display: grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr); align-items: stretch; background: var(--surface-blue); }
.split-banner.is-sky { background: var(--surface-blue); color: var(--ink); }
.split-banner.is-sky .eyebrow { color: var(--orange-deep); }
.split-banner.is-sky .lede { color: var(--muted); }
.split-banner-copy { padding: clamp(2rem, 5vw, 4.5rem); }
.split-banner-visual { min-height: 22rem; overflow: hidden; }
.split-banner-visual img { width: 100%; height: 100%; object-fit: cover; }
.check-list { display: grid; gap: .7rem; padding: 0; margin: 1.5rem 0 0; list-style: none; }
.check-list li { display: flex; gap: .65rem; align-items: flex-start; color: var(--muted); }
.check-list li::before { content: '✓'; flex-shrink: 0; color: var(--orange); font-weight: 700; }

.faq-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.faq-item { padding: 1.2rem 1.35rem; border: 1px solid var(--line); background: var(--surface); }
.faq-item h3 { font-size: 1rem; letter-spacing: -.02em; }
.faq-item p { margin-bottom: 0; font-size: .9rem; }
.cta-band { padding: 3.5rem; background: var(--orange); color: #fff; border-radius: .8rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-band h2 { max-width: 14ch; margin-bottom: 0; }
.cta-band .button-secondary { border-color: transparent; }
.quiz-panel { padding: 2rem 2.2rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--surface); }
.quiz-panel h2 { margin-bottom: .35rem; }
.quiz-progress { margin: 0 0 1.2rem; color: var(--muted); font-family: var(--font-mono); font-size: .82rem; }
.quiz-panel fieldset { margin: 0 0 1rem; padding: 0; border: 0; }
.quiz-panel legend { margin-bottom: 1rem; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.quiz-options { display: grid; gap: .55rem; }
.quiz-option { display: flex; align-items: center; gap: .7rem; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: .42rem; background: var(--surface-soft); cursor: pointer; }
.quiz-option:has(input:checked) { border-color: var(--navy-700); }
.quiz-option.is-correct { border-color: var(--green); background: #e8f6f1; }
.quiz-option.is-wrong { border-color: #b42318; background: #fdecea; }
html[data-theme="dark"] .quiz-option.is-correct { background: #12382e; }
html[data-theme="dark"] .quiz-option.is-wrong { background: #3a1c1c; }
.quiz-feedback { margin: 0 0 1rem; font-size: .92rem; }
.quiz-result h3 { margin-bottom: .4rem; font-family: var(--font-display); }
.quiz-result p { color: var(--muted); }

.page-hero { padding: 4.4rem 0 3.8rem; background: var(--surface-blue); }
.page-hero h1 { max-width: 14ch; font-size: clamp(2.5rem, 5vw, 4.4rem); }
.page-hero .lede { max-width: 44rem; }
.rail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 11rem; gap: 3rem; align-items: start; }
.rail-layout:has([data-side-links][hidden]) { grid-template-columns: minmax(0, 1fr); }
.side-links { position: sticky; top: 1.5rem; padding: 1rem 0 1rem 1rem; border-left: 1px solid var(--line); }
.side-links h2 { margin-bottom: .8rem; font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.side-links ol { display: grid; gap: .65rem; margin: 0; padding-left: 1rem; color: var(--muted); font-size: .78rem; }
.side-links a { text-decoration: none; }
.side-links a:hover { color: var(--orange-deep); }
[data-side-links][hidden] { display: none; }

.catalog-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-top: 2rem; margin-bottom: 0; padding-bottom: 0; }
.search-field { display: grid; gap: .35rem; min-width: min(100%, 25rem); }
.search-field label { color: var(--muted); font-size: .75rem; font-weight: 700; }
.search-field input, .archive-form input, .archive-form select { min-height: 2.8rem; border: 1px solid var(--line); border-radius: .4rem; padding: .65rem .8rem; color: var(--ink); background: var(--surface); }
.filter-list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .4rem; }
.filter-list a { padding: .45rem .7rem; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: .78rem; text-decoration: none; }
.filter-list a:hover { border-color: var(--orange); color: var(--orange-deep); }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; align-items: start; }
.catalog-card { padding: 1.35rem; border: 1px solid var(--line); border-radius: .65rem; background: var(--surface); }
.catalog-card h2 { font-size: 1.15rem; line-height: 1.2; letter-spacing: -.02em; margin-bottom: .5rem; }
.catalog-card .category-icon { margin-bottom: 1rem; }
.catalog-card p { min-height: 3.3rem; color: var(--muted); font-size: .88rem; }
.catalog-card footer { display: flex; justify-content: space-between; gap: .5rem; padding-top: .9rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }

.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.price-card { display: flex; flex-direction: column; padding: 1.6rem; border: 1px solid var(--line); border-radius: .7rem; background: var(--surface); }
.price-card.featured { border: 2px solid #1d4e89; box-shadow: var(--shadow); }
.price-card .label { min-height: 1.1rem; color: var(--orange-deep); font-family: var(--font-mono); font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.price { margin: 1.2rem 0 .3rem; font-family: var(--font-display); font-size: 2.7rem; line-height: 1; }
.price small { color: var(--muted); font-family: var(--font-body); font-size: .8rem; font-weight: 400; }
.price-card > p { color: var(--muted); font-size: .9rem; }
.price-card .button { width: 100%; margin-top: auto; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.info-panel { padding: 2rem; border: 1px solid var(--line); background: var(--surface-soft); }
.info-panel p:last-child { margin-bottom: 0; color: var(--muted); }

.archive-form { display: flex; gap: .6rem; }
.archive-results { min-height: 15rem; }
.empty-state { padding: 2rem; border: 1px dashed var(--line); color: var(--muted); text-align: center; }
.article-layout { max-width: 850px; }
.byline { display: flex; align-items: center; gap: .8rem; margin-bottom: 2rem; padding: 1rem; border: 1px solid var(--line); background: var(--surface-soft); }
.byline img { width: 2.8rem; height: 2.8rem; border-radius: 50%; object-fit: cover; }
.byline p { margin: 0; color: var(--muted); font-size: .8rem; }
.article-header { margin-bottom: 2.5rem; }
.article-header h1 { max-width: 16ch; }
.prose { font-family: var(--font-body); font-size: 1.05rem; line-height: 1.8; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.4rem; }
.prose h2 { margin-top: 2.8rem; font-size: 1.8rem; }
.prose h3 { margin-top: 2rem; }
.prose a { color: var(--orange-deep); text-decoration-thickness: .12em; text-underline-offset: .18em; }

.site-footer { padding: 3.2rem 0 1.4rem; color: #fff; background: linear-gradient(180deg, #12365d 0%, #0b2548 100%); box-shadow: 0 -.7rem 1.6rem rgba(7, 26, 51, .2); }
html[data-theme="dark"] .site-footer { background: linear-gradient(180deg, #0e2742 0%, #061424 100%); box-shadow: 0 -.55rem 1.4rem rgba(0, 0, 0, .4); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.footer-grid h2 { margin-bottom: .9rem; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.footer-grid p, .footer-grid a { color: #d5e4f2; font-size: .83rem; }
.footer-grid a { display: block; margin-bottom: .45rem; text-decoration: none; }
.footer-grid a:hover { color: #ffb07a; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .18); color: #c5d6e8; font-size: .74rem; }

@media (max-width: 960px) {
  .primary-nav { gap: .8rem; }
  .primary-nav a { font-size: .8rem; }
  .category-strip { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { gap: 2rem; }
}
@media (max-width: 760px) {
  :root { --measure: min(100% - 2rem, 620px); }
  .header-inner { min-height: 4.6rem; gap: .6rem; }
  .header-actions { gap: .3rem; }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .6rem var(--measure); background: #0b2548; box-shadow: var(--shadow); }
  html[data-theme="dark"] .primary-nav { background: #061424; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: .75rem 0; }
  .header-login { border: 0; padding: .75rem 0; }
  .menu-toggle { display: block; order: 3; }
  [data-theme-toggle] { order: 2; }
  .hero { padding: 3.3rem 0 3.8rem; }
  .hero-grid, .split-banner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 22rem; }
  .hero-visual img { min-height: 22rem; }
  .section { padding: 4rem 0; }
  .steps, .module-grid, .proof-grid, .testimonial-grid, .review-grid, .faq-list, .price-grid, .info-grid { grid-template-columns: 1fr; }
  .step-number { margin-bottom: 1rem; }
  .cta-band { align-items: flex-start; flex-direction: column; padding: 2rem; }
  .rail-layout { grid-template-columns: 1fr; }
  .side-links { position: static; padding: 1rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .catalog-toolbar { align-items: stretch; flex-direction: column; }
  .filter-list { justify-content: flex-start; }
  .archive-form { flex-direction: column; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 460px) {
  .category-strip { grid-template-columns: repeat(2, 1fr); }
  .wordmark { font-size: 1.15rem; }
  .brand-mark { width: 2.4rem; height: 2.4rem; }
  h1 { font-size: 2.7rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
