/* ==========================================================================
   brAIm — stylesheet
   ========================================================================== */

/* Lettertypes: lokaal gehost (zie scripts/download-fonts.sh) */
@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-latin-wght.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Onest";
  src: url("../fonts/onest-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cascadia Code";
  src: local("Cascadia Code"), url("../fonts/cascadia-code-latin-wght.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #12163A;
  --ink-hover: #262C66;
  --muted: #4A5078;
  --bg: #EEF1FF;
  --white: #FFFFFF;
  --accent: #F2622E;
  --accent-soft: #FFE1D3;
  --accent-tint: #FFF4EE;
  --line: #D3D8F0;
  --navy-2: #1D2250;
  --navy-line: #2B3060;
  --on-navy: #C7CBEA;
  --error: #B3261E;
  --success: #1F7A45;

  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Unbounded", "Onest", system-ui, sans-serif;
  --font-mono: "Cascadia Code", Consolas, "Courier New", monospace;
}

/* Basis ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); letter-spacing: -0.02em; }
a { color: var(--ink); }
a:hover { color: #3A4290; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 10;
  padding: 12px 18px; border-radius: 999px;
  background: var(--ink); color: var(--white); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; color: var(--white); }

.muted { color: var(--muted); }
.hp { display: none; }

/* Header ---------------------------------------------------------------- */
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px 20px; flex-wrap: wrap;
  padding-top: 20px; padding-bottom: 20px;
}

.logo {
  font-family: var(--font-mono);
  font-weight: 700; font-size: 24px; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.logo:hover { color: var(--ink); }
.brace { color: var(--accent); }

.nav { display: flex; gap: 4px; flex-wrap: wrap; font-weight: 500; font-size: 15px; }
.nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; }
.nav a:hover { background: var(--white); color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 8px; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--white); color: var(--ink); cursor: pointer;
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; order: 3; width: 100%;
    flex-direction: column; gap: 0;
    background: var(--white); border-radius: 24px; padding: 8px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 16px; font-size: 16px; }
  .nav a:hover { background: var(--bg); }
}
@media (max-width: 420px) {
  .header-cta { display: none; }
}

/* Knoppen & labels ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border: 0; border-radius: 999px;
  font: inherit; font-weight: 600; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .15s ease, border-color .15s ease;
}
.btn svg { flex-shrink: 0; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-hover); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: #F7F8FF; color: var(--ink); }
.btn--accent { background: var(--accent); color: var(--ink); font-weight: 700; }
.btn--accent:hover { background: #F57A4D; color: var(--ink); }
.btn--outline { background: var(--white); color: var(--ink); border: 2px solid var(--line); }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

.link-btn {
  min-height: 48px; padding: 0 4px; border: 0; background: none;
  font: inherit; font-weight: 600; color: var(--ink);
  text-decoration: underline; cursor: pointer;
}

.pill {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: 14px;
}
.pill--soft { background: var(--accent-soft); }
.pill--white { background: var(--white); color: var(--muted); }
.pill--accent { background: var(--accent); color: var(--ink); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tag { padding: 8px 14px; border-radius: 999px; background: var(--bg); font-size: 15px; font-weight: 500; }

.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* Secties --------------------------------------------------------------- */
.section { padding-bottom: 104px; }
.section--pad { padding: 104px 0; }
.band-white { background: var(--white); }
@media (max-width: 700px) {
  .section { padding-bottom: 64px; }
  .section--pad { padding: 64px 0; }
}

.section-head {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center; margin-bottom: 48px;
}
.section-head .pill { align-self: center; }
.h2 { font-weight: 600; font-size: clamp(26px, 3.4vw, 42px); line-height: 1.15; max-width: 860px; }
.lead { font-size: 19px; color: var(--muted); max-width: 720px; }
@media (max-width: 600px) { .lead { font-size: 17px; } }

/* Foto's (placeholder tot de echte foto er is) */
.photo-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(135deg, #D9DEF7 0 12px, #CFD5F2 12px 24px);
  color: var(--muted); font-size: 13px; font-weight: 600; text-align: center;
}
.photo--round { width: 168px; height: 168px; border-radius: 50%; object-fit: cover; }
.photo--portrait { width: 100%; height: 420px; border-radius: 32px; object-fit: cover; }
@media (max-width: 600px) { .photo--portrait { height: 320px; } }

/* Hero ------------------------------------------------------------------ */
.hero { padding: 48px 0 104px; text-align: center; }
.hero__inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.hero__avatar { position: relative; width: 168px; height: 168px; }
.hero__badge {
  position: absolute; right: -6px; bottom: 10px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); border: 4px solid var(--bg); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.hero .pill { align-self: center; }
.hero h1 { font-weight: 700; font-size: clamp(32px, 5.6vw, 72px); line-height: 1.08; letter-spacing: -0.03em; }
.highlight { box-shadow: inset 0 -0.28em 0 var(--accent); }
.hero__lead { max-width: 680px; font-size: 20px; color: var(--muted); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero__note { font-size: 15px; color: var(--muted); }
@media (max-width: 700px) {
  .hero { padding-bottom: 64px; }
  .hero__lead { font-size: 18px; }
}

.steps {
  list-style: none; margin: 40px 0 0; padding: 0; width: 100%;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px;
  text-align: left;
}
.step { background: var(--white); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.step__label { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--accent); font-size: 13px; font-weight: 700; }
.step strong { font-size: 19px; }
.step p { color: var(--muted); font-size: 16px; }

/* Over mij -------------------------------------------------------------- */
.panel { background: var(--white); border-radius: 40px; padding: clamp(24px, 5vw, 64px); }
.about { display: flex; flex-wrap: wrap; gap: 48px 56px; align-items: center; }
.about__photo { flex: 1 1 280px; }
.about__text { flex: 2 1 460px; display: flex; flex-direction: column; gap: 22px; }
.about h2 { font-weight: 600; font-size: clamp(24px, 3vw, 38px); line-height: 1.2; }
.about .lead { max-width: none; }
.facts { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.facts li { padding: 10px 16px; border-radius: 16px; background: var(--bg); font-size: 15px; }
.facts span { color: var(--muted); }

/* Kaarten --------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 24px; }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.card {
  background: var(--white); color: var(--ink); border-radius: 32px;
  padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 18px;
}
.card h3 { font-weight: 600; font-size: clamp(20px, 2.2vw, 24px); line-height: 1.25; letter-spacing: -0.01em; }
.icon-tile {
  width: 64px; height: 64px; border-radius: 20px; flex-shrink: 0;
  background: var(--accent-soft); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
}

/* Geen bedrijf? ---------------------------------------------------------- */
.dark-panel {
  background: var(--ink); color: var(--white); border-radius: 40px;
  padding: clamp(24px, 5vw, 64px); display: flex; flex-direction: column; gap: 40px;
}
.dark-panel__head { display: flex; flex-direction: column; gap: 14px; max-width: 780px; }
.dark-panel .lead { color: var(--on-navy); }
.dark-panel .card { gap: 16px; }
.dark-panel__foot {
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
  padding-top: 28px; border-top: 1px solid var(--navy-line);
}
.dark-panel__foot p { flex: 1 1 360px; color: var(--on-navy); font-size: 18px; }

.numbered { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.numbered li { display: flex; gap: 12px; align-items: flex-start; }
.num {
  flex-shrink: 0; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%;
  background: var(--accent); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}

/* Waarom AI ------------------------------------------------------------- */
.compare { background: var(--bg); border-radius: 32px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.compare h3 { font-weight: 600; font-size: 22px; }
.compare__before { display: flex; flex-direction: column; gap: 4px; color: var(--muted); }
.compare__after { display: flex; flex-direction: column; gap: 4px; background: var(--white); border-radius: 20px; padding: 16px 18px; }
.compare__after .eyebrow { color: var(--ink); }

/* AI-tijdperk ----------------------------------------------------------- */
.change { background: var(--white); border-radius: 32px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.change h3 { font-weight: 600; font-size: 20px; line-height: 1.3; }
.change p { font-size: 16px; }
.change__then { color: var(--muted); }
.change__then strong { color: var(--ink); }
.num-tile {
  width: 52px; height: 52px; border-radius: 16px; background: var(--accent); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
}
.change--dark { background: var(--ink); color: var(--white); }
.change--dark .num-tile { background: var(--white); }
.change--dark .change__then { color: var(--on-navy); }

/* Snelle check teaser --------------------------------------------------- */
.check-teaser {
  background: var(--accent-soft); border-radius: 40px; padding: clamp(24px, 5vw, 64px);
  display: flex; flex-wrap: wrap; gap: 40px; align-items: center;
}
.check-teaser__text { flex: 1 1 400px; display: flex; flex-direction: column; gap: 16px; }
.check-teaser__text .lead { color: #3A3F66; }
.check-teaser .pill--white { color: var(--ink); }
.check-preview { flex: 1 1 340px; background: var(--white); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.check-preview strong { font-size: 20px; line-height: 1.3; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 2px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 500;
}
.chip-link:hover { border-color: var(--ink); color: var(--ink); }

.progress { display: flex; gap: 6px; }
.progress span { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.progress .is-done { background: var(--ink); }

/* Contact --------------------------------------------------------------- */
.contact { background: var(--ink); color: var(--white); }
.contact__grid { display: flex; flex-wrap: wrap; gap: 48px 64px; padding: 104px 0; }
@media (max-width: 700px) { .contact__grid { padding: 64px 0; } }
.contact__info { flex: 1 1 320px; display: flex; flex-direction: column; gap: 20px; }
.contact__info .lead { color: var(--on-navy); }
.contact-list { list-style: none; margin: 0; padding: 8px 0 0; display: flex; flex-direction: column; gap: 10px; }
.contact-list li {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px;
  padding: 14px 18px; border-radius: 16px; background: var(--navy-2);
}
.contact-list span { color: var(--on-navy); }
.contact-list a, .contact-list strong { color: var(--white); font-weight: 600; }

/* Formulieren ----------------------------------------------------------- */
.form {
  flex: 1 1 460px; background: var(--white); color: var(--ink); border-radius: 32px;
  padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 18px;
}
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.optional { font-weight: 400; color: var(--muted); }
.input {
  width: 100%; min-height: 50px; padding: 0 16px;
  border: 2px solid var(--line); border-radius: 16px; background: var(--white);
  font: inherit; color: var(--ink);
}
textarea.input { min-height: 140px; padding: 12px 16px; resize: vertical; }
.input:focus { border-color: var(--ink); outline: none; }
.input:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.form-note { font-size: 14px; color: var(--muted); }
.form-status { font-size: 15px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); }
.form-status.is-success { color: var(--success); }

/* Footer ---------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--on-navy); font-size: 14px; }
.site-footer .container {
  display: flex; flex-wrap: wrap; gap: 12px 16px; justify-content: space-between;
  padding-top: 24px; padding-bottom: 24px; border-top: 1px solid var(--navy-line);
}
.site-footer a { color: var(--on-navy); }
.site-footer a:hover { color: var(--white); }
.footer-logo { font-family: var(--font-mono); font-weight: 700; color: var(--white); }

/* Snelle check ---------------------------------------------------------- */
.check-main { max-width: 760px; margin: 0 auto; padding: 24px 24px 80px; }
@media (max-width: 600px) { .check-main { padding: 16px 16px 64px; } }
.check-card {
  background: var(--white); border-radius: 40px; padding: clamp(22px, 5vw, 48px);
  display: flex; flex-direction: column; gap: 28px;
}
.check-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.check-count { font-size: 14px; font-weight: 600; color: var(--muted); }
.progress--check span { height: 8px; border-radius: 4px; }
.progress--check .is-done { background: var(--accent); }
.check-q { display: flex; flex-direction: column; gap: 8px; }
.check-q h1 { font-weight: 600; font-size: clamp(22px, 3.6vw, 32px); line-height: 1.2; }
.check-q h1:focus { outline: none; }

.options { display: flex; flex-direction: column; gap: 12px; }
.option {
  display: flex; align-items: center; gap: 16px; width: 100%; min-height: 62px;
  padding: 10px 18px 10px 10px; border: 2px solid var(--line); border-radius: 32px;
  background: var(--white); font: inherit; font-weight: 600; color: var(--ink);
  text-align: left; cursor: pointer; transition: border-color .15s ease, background-color .15s ease;
}
.option:hover { border-color: #A9B1D9; }
.option[aria-pressed="true"] { border-color: var(--ink); background: var(--accent-tint); }
.option__letter {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 14px; font-weight: 700; background: var(--bg);
}
.option[aria-pressed="true"] .option__letter { background: var(--accent); }

.check-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.check-footnote { margin-top: 20px; text-align: center; font-size: 14px; color: var(--muted); }

.result-stack { display: flex; flex-direction: column; gap: 20px; }
.result-head {
  background: var(--ink); color: var(--white); border-radius: 40px; padding: clamp(24px, 5vw, 48px);
  display: flex; flex-direction: column; gap: 14px;
}
.result-head h1 { font-weight: 600; font-size: clamp(24px, 4vw, 36px); line-height: 1.2; }
.result-head h1:focus { outline: none; }
.result-head p { color: var(--on-navy); }
.insights { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.insight { background: var(--white); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.insight .pill { font-size: 13px; padding: 4px 12px; }
.result-form { background: var(--white); border-radius: 40px; padding: clamp(24px, 4vw, 40px); }
.result-form .form { padding: 0; border-radius: 0; }
.result-form h2 { font-weight: 600; font-size: 24px; line-height: 1.25; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.check-success { display: flex; gap: 16px; align-items: flex-start; }
.check-success h2 { font-size: 20px; }
.success-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
}

/* Tekstpagina's (privacy, 404) ------------------------------------------ */
.prose-wrap { max-width: 820px; margin: 0 auto; padding: 24px 24px 104px; }
@media (max-width: 600px) { .prose-wrap { padding: 16px 16px 64px; } }
.prose { background: var(--white); border-radius: 40px; padding: clamp(24px, 5vw, 56px); }
.prose h1 { font-weight: 600; font-size: clamp(26px, 4vw, 40px); line-height: 1.15; margin-bottom: 16px; }
.prose h2 { font-weight: 600; font-size: 20px; line-height: 1.3; margin: 36px 0 10px; }
.prose p, .prose ul { margin: 0 0 14px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.concept-note { background: var(--accent-soft); border-radius: 16px; padding: 14px 18px; font-size: 15px; margin-bottom: 24px; }
