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

:root {
  --navy: #0f2b46;
  --teal: #0d7a6e;
  --teal-deep: #0a635a;
  --tint: #f0f7f6;
  --ink: #1a2e3b;
  --muted: #5a7a8a;
  --rule: rgba(15,43,70,.10);
  --shadow: 0 1px 2px rgba(15,43,70,.04), 0 8px 24px -12px rgba(15,43,70,.10);
  --container: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font: 16px/1.55 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ── Layout ─────────────────────────────────────────── */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

/* ── Header ─────────────────────────────────────────── */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow .2s ease;
}
.hdr.scrolled { box-shadow: 0 1px 0 rgba(0,0,0,.4), 0 12px 24px -16px rgba(0,0,0,.5); }

.hdr-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}

.logo {
  font-weight: 800; letter-spacing: .22em; font-size: 18px;
  color: #fff;
  display: inline-flex; align-items: center; gap: 10px;
}
.logo::before {
  content: ""; width: 8px; height: 8px; border-radius: 2px;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,122,110,.18);
  flex-shrink: 0;
}

.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }

.nav a {
  color: rgba(255,255,255,.72);
  transition: color .15s ease;
  position: relative; padding: 6px 0;
}
.nav a:hover { color: #fff; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform .2s ease;
}
.nav a:hover::after { transform: scaleX(1); }
.nav .login { color: rgba(255,255,255,.50); }
@media (max-width: 760px) { .nav .navlink { display: none; } }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 6px;
  background: var(--teal); color: #fff;
  font-weight: 600; font-size: 14px; letter-spacing: .005em;
  transition: background .15s ease, transform .1s ease;
  box-shadow: 0 1px 0 rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.08);
}
.btn:hover { background: var(--teal-deep); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 15px 26px; font-size: 15px; border-radius: 7px; }
.btn .arr { transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.hdr-btn { padding: 7px 14px; font-size: 13px; font-weight: 700; }

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  background: var(--tint);
  padding: 96px 0 112px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(15,43,70,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,43,70,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 64px; align-items: end;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal);
  padding: 6px 12px;
  background: rgba(13,122,110,.08);
  border: 1px solid rgba(13,122,110,.18);
  border-radius: 999px;
  margin-bottom: 24px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,122,110,.18);
  animation: pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 3px rgba(13,122,110,.18); }
  50%      { box-shadow: 0 0 0 6px rgba(13,122,110,.04); }
}

h1.hero-h {
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -.025em;
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--navy);
  text-wrap: balance;
}
h1.hero-h .em {
  font-style: italic; font-weight: 500; color: var(--teal);
}
.hero-sub {
  font-size: 18px; line-height: 1.6; color: var(--muted);
  max-width: 560px; margin: 0 0 36px;
}
.hero-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.link-subtle {
  font-size: 14px; font-weight: 600; color: var(--navy);
  border-bottom: 1px solid rgba(15,43,70,.25); padding-bottom: 2px;
  transition: border-color .15s;
}
.link-subtle:hover { border-color: var(--navy); }
.hero-note {
  margin-top: 28px;
  font-size: 13px; font-style: italic; color: var(--muted);
  max-width: 460px;
}

/* ── Match card ──────────────────────────────────────── */
.match-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
  font-size: 13px;
}
.mc-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  background: linear-gradient(180deg, #fbfdfd, #fff);
  border-bottom: 1px solid var(--rule);
}
.mc-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal);
}
.mc-tag::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal);
  animation: pulse 2.4s ease-in-out infinite;
}
.mc-time { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12px; }
.mc-body { padding: 18px; }
.mc-title { font-size: 16px; font-weight: 600; color: var(--navy); margin: 0 0 2px; }
.mc-sub { font-size: 12px; color: var(--muted); margin: 0 0 16px; }
.mc-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule); border-radius: 6px; overflow: hidden;
}
.mc-cell { background: #fff; padding: 12px 14px; }
.mc-cell .k { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.mc-cell .v { font-size: 14px; font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; }
.mc-cell .v .small { font-weight: 500; color: var(--muted); font-size: 12px; }
.mc-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-top: 1px solid var(--rule); background: #fbfdfd;
}
.mc-score { display: flex; align-items: baseline; gap: 6px; }
.mc-score .n { font-size: 20px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.mc-score .l { font-size: 11px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.mc-cta {
  font-size: 12px; font-weight: 600; color: var(--teal);
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .15s;
}
.mc-cta:hover { color: var(--teal-deep); }

/* ── Section primitives ──────────────────────────────── */
section { padding: 96px 0; }
section[id] { scroll-margin-top: 80px; }
.sec-tint { background: var(--tint); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

.sec-hd { margin-bottom: 56px; max-width: 720px; }
.kicker {
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
h2.sec-h {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1; letter-spacing: -.02em; font-weight: 700;
  color: var(--navy); margin: 0 0 14px;
  text-wrap: balance;
}
.sec-lede { font-size: 17px; color: var(--muted); margin: 0; max-width: 600px; line-height: 1.55; }

/* ── How it works ────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; gap: 32px; } }

.step { position: relative; padding-top: 8px; }
.step-num {
  font-size: 88px; font-weight: 700;
  color: rgba(13,122,110,.14);
  line-height: 1; letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 16px;
}
.step-h { font-size: 20px; font-weight: 600; color: var(--navy); margin: 0 0 10px; letter-spacing: -.005em; }
.step-p { font-size: 15px; color: var(--muted); margin: 0; max-width: 340px; line-height: 1.6; }
.step-meta {
  margin-top: 18px; padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-size: 12px; color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.step-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); display: inline-block; flex-shrink: 0; }
.step-meta b { color: var(--navy); font-weight: 600; }

/* ── Benefits ────────────────────────────────────────── */
.benefits {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: rgba(15,43,70,.08);
  border: 1px solid rgba(15,43,70,.08);
  border-radius: 4px; overflow: hidden;
}
@media (max-width: 900px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }

.ben { background: #fff; padding: 32px 28px 36px; transition: background .15s ease; }
.ben:hover { background: #fbfdfd; }
.ben-h {
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.ben-h .num { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--muted); letter-spacing: .06em; }
.ben-t { font-size: 18px; font-weight: 600; color: var(--navy); margin: 0 0 8px; letter-spacing: -.005em; line-height: 1.3; }
.ben-p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }

/* ── Form ────────────────────────────────────────────── */
.form-wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 80px; align-items: start;
}
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; gap: 40px; } }

.form-checks { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; list-style: none; }
.form-checks li {
  padding-left: 30px; position: relative;
  font-size: 15px; color: var(--ink); line-height: 1.5;
}
.form-checks li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path d='M3.5 8.2L6.4 11l6-6.4' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 14px 14px; background-repeat: no-repeat; background-position: center;
}

.form-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 36px 36px 32px;
  box-shadow: var(--shadow);
}
.form-h {
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 24px;
  padding-bottom: 18px; border-bottom: 1px solid var(--rule);
}
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em;
  color: var(--ink); margin-bottom: 6px;
}
.field label .req { color: var(--teal); margin-left: 2px; }
.field input {
  width: 100%; height: 46px; padding: 0 14px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
  font: inherit; font-size: 15px; color: var(--ink);
  outline: none;
  transition: border .15s ease, box-shadow .15s ease;
  appearance: none; -webkit-appearance: none;
}
.field input::placeholder { color: #9ab1bd; }
.field input:hover { border-color: rgba(15,43,70,.22); }
.field input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,122,110,.14);
}
.field.err input { border-color: #c53030; background: #fff7f7; }
.field.err input:focus { box-shadow: 0 0 0 3px rgba(197,48,48,.14); }
.err-msg { font-size: 12px; color: #c53030; margin-top: 6px; display: none; }
.field.err .err-msg { display: block; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

.submit-row {
  margin-top: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
.submit-btn { flex: 0 0 auto; padding: 14px 26px; }
.privacy-line { font-size: 12px; color: var(--muted); flex: 1; min-width: 200px; line-height: 1.5; }
.privacy-line a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }

/* ── Footer ──────────────────────────────────────────── */
.ftr {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 72px 0 32px;
  font-size: 14px;
}
.ftr .logo { font-size: 16px; display: inline-flex; align-items: center; }
.ftr-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 64px;
}
@media (max-width: 760px) { .ftr-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 480px) { .ftr-grid { grid-template-columns: 1fr; } }

.ftr-brand .logo { margin-bottom: 18px; }
.ftr-tag { color: rgba(255,255,255,.55); max-width: 300px; font-size: 14px; line-height: 1.6; margin-top: 14px; }

.ftr-col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin: 6px 0 18px;
}
.ftr-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.ftr-col a { color: rgba(255,255,255,.78); transition: color .15s ease; }
.ftr-col a:hover { color: #fff; }
.ftr-col .meta { color: rgba(255,255,255,.65); font-size: 13px; line-height: 1.8; }
.ftr-col .meta b { color: rgba(255,255,255,.85); font-weight: 500; }

.ftr-bot {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  color: rgba(255,255,255,.45); font-size: 12px;
}
.ftr-bot .legal { display: flex; gap: 24px; }
.ftr-bot .legal a { color: rgba(255,255,255,.55); transition: color .15s ease; }
.ftr-bot .legal a:hover { color: #fff; }

/* ── Reveal animation ────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── Inner pages (privacy, voorwaarden) ──────────────── */
header.page-hdr {
  background: var(--navy);
  padding: 0;
  position: sticky; top: 0; z-index: 50;
}
header.page-hdr .hdr-inner {
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}
header.page-hdr .logo { color: #fff; }
header.page-hdr nav a { color: rgba(255,255,255,.65); font-size: 14px; text-decoration: none; transition: color .15s; }
header.page-hdr nav a:hover { color: #fff; }
header.page-hdr nav { display: flex; gap: 24px; }

.page-hero {
  background: var(--tint);
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--rule);
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; color: var(--navy);
  letter-spacing: -.02em; margin-bottom: 12px;
}
.page-hero .updated { font-size: 0.85rem; color: var(--muted); }

.page-content { padding: 72px 0 96px; max-width: 720px; }
.page-content h2 {
  font-size: 1.1rem; font-weight: 700; color: var(--navy);
  margin: 40px 0 12px;
}
.page-content h2:first-child { margin-top: 0; }
.page-content p { font-size: 0.95rem; color: var(--ink); line-height: 1.72; margin-bottom: 14px; }
.page-content ul { margin: 0 0 14px 20px; }
.page-content ul li { font-size: 0.95rem; color: var(--ink); line-height: 1.72; margin-bottom: 4px; }
.page-content a { color: var(--teal); }

/* ── Bedankt ─────────────────────────────────────────── */
.bedankt-wrap {
  min-height: 80vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 80px 24px;
}
.bedankt-wrap h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700; color: var(--navy);
  letter-spacing: -.02em; margin-bottom: 20px;
}
.bedankt-wrap p {
  font-size: 1.05rem; color: var(--muted);
  max-width: 480px; margin: 0 auto 36px; line-height: 1.65;
}

/* ── Legacy inner-page compat (bedankt, privacy, voorwaarden) ── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
header:not(.hdr) {
  background: var(--navy); padding: 0;
  position: sticky; top: 0; z-index: 50;
}
header:not(.hdr) .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
header:not(.hdr) nav { display: flex; align-items: center; gap: 24px; }
header:not(.hdr) nav a { color: rgba(255,255,255,.65); font-size: 14px; text-decoration: none; transition: color .15s; }
header:not(.hdr) nav a:hover { color: #fff; }
.btn-nav {
  background: #fff !important; color: var(--navy) !important;
  padding: 8px 18px; border-radius: 6px;
  font-weight: 600; font-size: 13px !important;
  display: inline-block;
}
.btn-nav:hover { opacity: .88; }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--teal); color: #fff;
  padding: 14px 28px; border: none; border-radius: 6px;
  font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none;
  transition: background .15s; letter-spacing: .005em;
}
.btn-primary:hover { background: var(--teal-deep); color: #fff; }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }

footer:not(.ftr) {
  background: var(--navy); color: rgba(255,255,255,.6);
  padding: 56px 0 32px; font-size: 14px;
}
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.logo-footer {
  font-size: 16px; font-weight: 800; letter-spacing: .22em;
  color: #fff; text-transform: uppercase; display: block; margin-bottom: 10px;
}
.footer-brand p { font-size: 14px; line-height: 1.6; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.65); text-decoration: none; transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-contact p { font-size: 14px; }
.footer-copy {
  font-size: 12px; border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px; color: rgba(255,255,255,.3);
}
@media (max-width: 680px) {
  .footer-content { grid-template-columns: 1fr; gap: 28px; }
  .container { padding: 0 20px; }
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 680px) {
  section { padding: 64px 0; }
  .hero { padding: 72px 0 60px; }
  .sec-hd { margin-bottom: 36px; }
}
