/* =========================================================================
   Onbeperkt Digitaal — design system
   =========================================================================
   Color-contrast note: the brief's exact brand hexes are used everywhere
   they pass WCAG 2.2 AA. Two of them mathematically cannot carry small
   text/UI at AA on our light surfaces (turquoise ≈3:1 at best, coral ≈3:1
   at best) — that's a property of the colors themselves, not a choice.
   For those two, this file defines an "-ink" variant: a deeper step of the
   exact same hue, used ONLY where turquoise/coral would otherwise appear as
   text, a focus ring, or a functional UI boundary. The unmodified brand hue
   is still used everywhere else (icons, large decorative type, washes,
   dividers, illustration). See DESIGN-NOTES.md for the full rationale and
   the contrast table behind every token below.
   ========================================================================= */

:root {
  /* Brand — exact hexes from the brief */
  --petrol: #164a52;
  --turquoise: #18a6a6;
  --mint: #ddf4ed;
  --coral: #e76f51;
  --cream: #fff9f0;
  --white: #ffffff;
  --charcoal: #182022;
  --gray: #4a585a;
  --border: #c9d8d8;

  /* Accessible derivatives — same hue family, deepened only enough to clear
     AA text/UI contrast where the brand hue itself falls short */
  --turquoise-ink: #0e6e6e; /* 6.0:1 on white, white-on-it 6.0:1 */
  --coral-ink: #b8432b; /* 5.4:1 on white */
  --border-strong: #6e8688; /* 3.9:1 on white — functional (form) boundaries */

  /* Status semantics for the scan-result mock-up (section 4). Passed/info
     reuse brand mint+petrol directly; warning is a minimal, necessary
     addition since amber has no brand token — used nowhere else on the
     site. Never the only signal: every status pairs an icon + text label. */
  --status-pass-bg: var(--mint);
  --status-pass-ink: var(--petrol);
  --status-info-bg: #e7eff0;
  --status-info-ink: var(--petrol);
  --status-warning-bg: #fbf0dc;
  --status-warning-ink: #8a5c0e;
  --status-error-bg: #fceae5;
  --status-error-ink: var(--coral-ink);

  /* Typography */
  --font-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --container-width: 74rem; /* 1184px */
  --container-prose: 44rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius-card: 1.25rem;
  --radius-control: 0.875rem;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(22, 74, 82, 0.06), 0 10px 30px -12px rgba(22, 74, 82, 0.16);
  --shadow-lift: 0 20px 45px -18px rgba(22, 74, 82, 0.35);
  --focus-ring: 0 0 0 2px var(--cream), 0 0 0 4.5px var(--turquoise-ink);
  --focus-ring-on-dark: 0 0 0 2px var(--petrol), 0 0 0 4.5px var(--mint);

  color-scheme: light;
}

/* =========================================================================
   Reset & base
   ========================================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  font-size: 1.125rem;
  line-height: 1.7;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  /* Dutch has long unhyphenated compound words (e.g. "toegankelijkheids-
     verklaring") that don't contain a break opportunity for the browser to
     wrap on. Without this, such a word overflows the viewport horizontally
     on narrow screens instead of wrapping — a WCAG 1.4.10 (Reflow) failure. */
  overflow-wrap: break-word;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

/* Safety-net size for decorative icon SVGs (icon() always sets
   aria-hidden="true"). Every component below is free to override this with
   a more specific `.some-context svg` rule sized for its own context. */
svg[aria-hidden="true"] {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

main {
  flex: 1 1 auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

ul[class],
ol[class] {
  list-style: none;
  padding: 0;
}

/* =========================================================================
   Accessibility primitives
   ========================================================================= */
.visually-hidden {
  position: absolute;
  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;
  top: -3rem;
  left: 1rem;
  z-index: 1000;
  background: var(--petrol);
  color: var(--white);
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius-control);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus-visible {
  top: 1rem;
}

/* Visible, high-contrast focus for every interactive element. We use
   box-shadow (not outline) so the ring works cleanly on rounded pills and
   never gets clipped by overflow:hidden containers. */
:focus {
  outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-control);
}

.on-dark a:focus-visible,
.on-dark button:focus-visible,
.on-dark [tabindex]:focus-visible {
  box-shadow: var(--focus-ring-on-dark);
}

/* =========================================================================
   Typography
   ========================================================================= */
h1,
h2,
h3,
h4 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--petrol);
}

h1 {
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.75rem, 1.45rem + 1.3vw, 2.375rem);
}

h3 {
  font-size: 1.375rem;
  font-weight: 700;
}

h4 {
  font-size: 1.125rem;
  font-weight: 700;
}

p {
  max-width: 68ch;
}

.lede {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--gray);
  max-width: 46ch;
}

small,
.text-small {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.text-muted {
  color: var(--gray);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--turquoise-ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--coral);
  flex-shrink: 0;
}

strong {
  font-weight: 700;
  color: var(--petrol);
}

.on-dark strong {
  color: var(--white);
}

/* Links inside running text: petrol for guaranteed AA contrast, with a
   turquoise underline so the brand's "interactive = turquoise" language
   still comes through without failing contrast on the letterforms
   themselves (see DESIGN-NOTES.md). */
.prose a,
.text-link {
  color: var(--petrol);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--turquoise);
  text-decoration-thickness: 0.14em;
  text-underline-offset: 0.18em;
  border-radius: 0.2em;
}

.prose a:hover,
.text-link:hover {
  color: var(--turquoise-ink);
  text-decoration-color: currentColor;
}

/* A short "read more"-style link followed by an arrow icon. Kept separate
   from .text-link/.prose a: those stay plain inline elements so long link
   text can wrap normally inside running paragraphs, whereas a block-level
   icon SVG next to text needs an inline-flex wrapper to sit on the
   baseline instead of forcing a line break. Only ever used for short,
   unwrapping CTA phrases. */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--petrol);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--turquoise);
  text-decoration-thickness: 0.14em;
  text-underline-offset: 0.18em;
  border-radius: 0.2em;
}

.link-arrow:hover {
  color: var(--turquoise-ink);
  text-decoration-color: currentColor;
}

.link-arrow svg {
  width: 1.1rem;
  height: 1.1rem;
}

/* =========================================================================
   Layout
   ========================================================================= */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: var(--container-prose);
}

.section {
  padding-block: clamp(3.5rem, 3rem + 2.5vw, 6.5rem);
}

.section--tight {
  padding-block: clamp(2.5rem, 2rem + 2vw, 4rem);
}

/* Where a pale mint section sits directly above the dark petrol CTA band
   (over-ons, features, accessibility-scan, wcag), the two full-bleed
   colors meet in a flat, hard seam with nothing to separate them. A soft
   shadow cast upward from the petrol section reads as intentional depth
   instead of an abrupt color clash. */
.bg-mint + .bg-petrol {
  position: relative;
  box-shadow: 0 -20px 32px -22px rgba(9, 33, 38, 0.45);
}

.section-head {
  max-width: 42rem;
  margin-bottom: clamp(2rem, 1.6rem + 2vw, 3.5rem);
}

/* The main section heading is an <h3> for correct outline order (it
   follows the <h2> eyebrow label), but should keep reading as the large,
   prominent heading it visually is — not shrink to the default h3 size. */
.section-head h3 {
  font-size: clamp(1.75rem, 1.45rem + 1.3vw, 2.375rem);
  font-weight: 800;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.bg-white {
  background: var(--white);
}

.bg-mint {
  background: var(--mint);
}

.bg-petrol {
  background: var(--petrol);
  color: var(--white);
}

.bg-petrol h1,
.bg-petrol h2,
.bg-petrol h3,
.bg-petrol h4 {
  color: var(--white);
}

.bg-cream {
  background: var(--cream);
}

.grid {
  display: grid;
  gap: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
}

@media (min-width: 46rem) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
  text-align: center;
  white-space: nowrap;
}

@media (prefers-reduced-motion: no-preference) {
  .btn:hover {
    transform: translateY(-2px);
  }
}

.btn svg {
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--petrol);
  color: var(--white);
  box-shadow: 0 12px 24px -10px rgba(22, 74, 82, 0.55);
}

.btn-primary:hover {
  background: #103a40;
}

.btn-secondary {
  background: var(--white);
  color: var(--petrol);
  border-color: var(--petrol);
}

.btn-secondary:hover {
  background: var(--mint);
}

.on-dark .btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.on-dark .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--petrol);
  border-color: transparent;
  min-height: auto;
  padding: 0.5rem 0.25rem;
  border-radius: var(--radius-control);
}

.btn-ghost:hover {
  color: var(--turquoise-ink);
}

.btn-block {
  width: 100%;
}

/* =========================================================================
   Cards
   ========================================================================= */
.card {
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  padding: clamp(1.5rem, 1.3rem + 1vw, 2.25rem);
  /* Grid/flex items default to min-width: auto, which stops the track from
     shrinking below the card's unwrapped content width — the same trap
     .scan-row__body below already works around. Without this, cards in a
     narrow single-column grid still force the page to overflow. */
  min-width: 0;
}

.card--shadow {
  border: none;
  box-shadow: var(--shadow-card);
}

.card--mint {
  background: var(--mint);
  border-color: transparent;
}

/* =========================================================================
   Badges / chips
   ========================================================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
}

.badge svg {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
}

.badge--pass {
  background: var(--status-pass-bg);
  color: var(--status-pass-ink);
}

.badge--warning {
  background: var(--status-warning-bg);
  color: var(--status-warning-ink);
}

.badge--error {
  background: var(--status-error-bg);
  color: var(--status-error-ink);
}

.badge--info {
  background: var(--status-info-bg);
  color: var(--status-info-ink);
}

.badge--outline {
  background: transparent;
  border: 1.5px solid var(--border-strong);
  color: var(--gray);
}

.tag {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--mint);
  color: var(--petrol);
  font-size: 0.875rem;
  font-weight: 700;
}

/* =========================================================================
   Site header
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 249, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1rem;
  /* Wider than --container-width (74rem): the logo lockup alone is now
     ~300px wide, and at 74rem the nav links + "Doe een scan" button no
     longer fit on one line — they'd shrink/wrap instead. Paired with the
     84rem breakpoint below, so the desktop row only ever appears once
     there's provably enough room for it. */
  max-width: 84rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand__logo {
  height: 4.25rem;
  width: auto;
}

.brand__icon-only {
  display: none;
}

.main-nav {
  display: none;
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 700;
  color: var(--petrol);
  font-size: 1rem;
  white-space: nowrap;
}

.main-nav__link:hover {
  background: var(--mint);
}

.main-nav__link[aria-current="page"] {
  background: var(--petrol);
  color: var(--white);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-control);
  border: 1.5px solid var(--border-strong);
  flex-shrink: 0;
}

.nav-toggle:hover {
  background: var(--mint);
}

.nav-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--cream);
}

/* Fixed + inset to the bottom of the viewport (not just as tall as its own
   content) so the open menu fully covers the page instead of leaving a
   strip of page content visible underneath it — that strip read as
   distracting/unfinished. --header-height is measured and set by
   main.js right before this opens, so the menu starts exactly below the
   header bar instead of hiding behind it or leaving a gap. Any leftover
   space below the links is just empty cream background, which is the
   "extra witruimte" instead of page content peeking through. */
.mobile-nav.is-open {
  display: block;
  position: fixed;
  top: var(--header-height, 6.3125rem);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

body.nav-open {
  overflow: hidden;
}

.mobile-nav .container {
  padding-block: 0.5rem 3rem;
  min-height: 100%;
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  padding-block: 0.75rem;
}

.mobile-nav__link {
  display: block;
  padding: 0.9rem 0.25rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--petrol);
  border-bottom: 1px solid var(--border);
}

.mobile-nav__link[aria-current="page"] {
  color: var(--turquoise-ink);
}

.mobile-nav__cta {
  margin-top: 1rem;
}

/* 84rem (not 76rem): the larger brand logo (~300px wide) pushed the
   desktop nav + CTA past what fit at 76rem again — same wrapping problem
   as before, just from the logo instead of the nav labels this time.
   Matches .site-header__bar's own max-width so the desktop row only turns
   on once there's provably enough space for it, never a half-wrapped
   state. */
@media (min-width: 84rem) {
  .main-nav {
    display: block;
  }
  .header-actions .nav-toggle {
    display: none;
  }
  .mobile-nav {
    display: none !important;
  }
  .header-actions .btn {
    display: inline-flex;
  }
}

@media (max-width: 83.9375rem) {
  .header-actions .btn-primary {
    display: none;
  }
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  padding-block: clamp(3rem, 2.4rem + 3vw, 6rem) clamp(3rem, 2rem + 3vw, 5rem);
  overflow: hidden;
  position: relative;
}

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 2rem + 2vw, 4rem);
  align-items: center;
}

@media (min-width: 64rem) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.25rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero__meta-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: var(--petrol);
}

.hero__meta-item svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--turquoise-ink);
  flex-shrink: 0;
}

/* Abstract visual: overlapping "barrier" shapes dissolving into the brand
   rings — built entirely from CSS shapes + the official icon mark, no
   invented logo elements. */
.hero__art {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.hero__art-blob {
  position: absolute;
  inset: 6%;
  border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
  background: linear-gradient(135deg, var(--mint) 0%, #eef9f4 55%, var(--cream) 100%);
  z-index: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__art-blob {
    animation: blob-morph 16s ease-in-out infinite alternate;
  }
}

@keyframes blob-morph {
  0% {
    border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
  }
  100% {
    border-radius: 58% 42% 47% 53% / 44% 56% 44% 56%;
  }
}

.hero__art-grid {
  position: absolute;
  inset: 14%;
  border-radius: 1.5rem;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 12.5% 12.5%;
  opacity: 0.5;
  -webkit-mask-image: radial-gradient(circle at center, black 55%, transparent 78%);
  mask-image: radial-gradient(circle at center, black 55%, transparent 78%);
}

.hero__art-bars {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__art-bar {
  position: absolute;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-control);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.9rem;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--petrol);
}

.hero__art-bar svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.hero__art-bar--broken {
  color: var(--coral-ink);
  top: 8%;
  left: 2%;
  text-decoration: line-through;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 0.15em;
  opacity: 0.75;
  transform: rotate(-4deg);
}

.hero__art-bar--fixed {
  color: var(--turquoise-ink);
  bottom: 10%;
  right: 0%;
  transform: rotate(3deg);
}

.hero__art-bar--score {
  top: 42%;
  left: -4%;
  transform: rotate(-2deg);
}

.hero__art-icon {
  position: relative;
  z-index: 1;
  width: clamp(7rem, 6rem + 4vw, 9.5rem);
  height: clamp(7rem, 6rem + 4vw, 9.5rem);
  filter: drop-shadow(0 18px 30px rgba(22, 74, 82, 0.28));
}

/* =========================================================================
   Value / trust section
   ========================================================================= */
.value-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.value-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: var(--mint);
  color: var(--petrol);
  flex-shrink: 0;
}

.value-card__icon svg {
  width: 1.85rem;
  height: 1.85rem;
}

.value-card__number {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--turquoise-ink);
  letter-spacing: 0.04em;
}

/* =========================================================================
   Scan dashboard mock-up
   ========================================================================= */
.scan-demo {
  background: var(--white);
  border-radius: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}

.scan-demo__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--petrol);
  color: var(--white);
}

.scan-demo__dots {
  display: flex;
  gap: 0.4rem;
}

.scan-demo__dots span {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.scan-demo__url {
  font-size: 0.9375rem;
  font-weight: 700;
  opacity: 0.85;
  margin-inline: auto;
}

.scan-demo__body {
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  display: grid;
  gap: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
}

.scan-demo__summary {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 40rem) {
  .scan-demo__summary {
    grid-template-columns: repeat(4, 1fr);
  }
}

.scan-stat {
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--cream);
}

.scan-stat--score {
  background: var(--mint);
  border-color: transparent;
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 40rem) {
  .scan-stat--score {
    grid-column: span 1;
  }
}

/* The label sits in a plain, unclassed div next to the fixed-size ring —
   same flex min-width: auto shrink trap as .card / .check-grid__item. */
.scan-stat--score > div {
  min-width: 0;
}

.scan-stat__ring {
  --pct: 82;
  flex-shrink: 0;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--petrol) calc(var(--pct) * 1%), rgba(22, 74, 82, 0.15) 0);
}

.scan-stat__ring-inner {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: var(--mint);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--petrol);
}

.scan-stat__label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.scan-stat__value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--petrol);
  line-height: 1;
}

.scan-stat__value small {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray);
}

.scan-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.scan-row {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  border-left-width: 5px;
  background: var(--white);
}

.scan-row--pass {
  border-left-color: var(--status-pass-ink);
}

.scan-row--warning {
  border-left-color: var(--status-warning-ink);
}

.scan-row--error {
  border-left-color: var(--status-error-ink);
}

.scan-row__icon {
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.scan-row__icon svg {
  width: 1.6rem;
  height: 1.6rem;
}

.scan-row--pass .scan-row__icon {
  color: var(--status-pass-ink);
}

.scan-row--warning .scan-row__icon {
  color: var(--status-warning-ink);
}

.scan-row--error .scan-row__icon {
  color: var(--status-error-ink);
}

.scan-row__body {
  flex: 1 1 auto;
  min-width: 0;
}

.scan-row__title {
  font-weight: 700;
  color: var(--charcoal);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.scan-row__meta {
  color: var(--gray);
  font-size: 0.9375rem;
  margin-top: 0.2rem;
}

.scan-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

.scan-legend__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--gray);
}

.scan-legend__item svg {
  width: 1.1rem;
  height: 1.1rem;
}

.scan-legend__dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  flex-shrink: 0;
}

/* =========================================================================
   Voor iedereen
   ========================================================================= */
.audience-list {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 40rem) {
  .audience-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.audience-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 1.1rem;
  background: var(--white);
  border: 1px solid var(--border);
}

.audience-item__icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  background: var(--cream);
  color: var(--turquoise-ink);
  display: grid;
  place-items: center;
}

.audience-item__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* =========================================================================
   WCAG levels
   ========================================================================= */
.levels {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 46rem) {
  .levels {
    grid-template-columns: repeat(3, 1fr);
  }
}

.level-card {
  border-radius: 1.25rem;
  padding: 1.75rem;
  border: 1px solid var(--border);
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}

.level-card--aa {
  border-color: var(--petrol);
  box-shadow: 0 16px 32px -18px rgba(22, 74, 82, 0.4);
}

.level-card__badge {
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  background: var(--mint);
  color: var(--petrol);
}

.level-card--aa .level-card__badge {
  background: var(--petrol);
  color: var(--white);
}

.level-card__pin {
  position: absolute;
  top: -0.75rem;
  right: 1.5rem;
  background: var(--coral);
  color: var(--charcoal);
  font-size: 0.8125rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
}

/* =========================================================================
   How it works
   ========================================================================= */
.steps {
  position: relative;
  display: grid;
  gap: 2rem;
  counter-reset: step;
}

@media (min-width: 56rem) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .steps::before {
    content: "";
    position: absolute;
    top: 1.85rem;
    /* The circles are left-aligned within their grid column (matching the
       left-aligned title/text below them), not centered — so the line's
       ends have to line up with each circle's actual center, not an
       arbitrary inset. Circle 1 always sits flush left, so its center is
       just half its own width (3.75rem / 2). Circle 3's center falls at
       2/3 of the row plus half a column's worth of gap, so working
       backwards from the right edge: 100% − 2/3 = 1/3, minus that half
       gap and half circle width. Three equal columns + 2 gaps assumed
       (repeat(3, 1fr), gap: 1.5rem). */
    left: 1.875rem;
    right: calc(33.333% - 2.875rem);
    height: 2px;
    background-image: linear-gradient(to right, var(--turquoise) 0 0.5rem, transparent 0.5rem 1rem);
    background-size: 1rem 2px;
    background-repeat: repeat-x;
  }
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.step__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--turquoise);
  color: var(--petrol);
  font-weight: 800;
  font-size: 1.25rem;
  position: relative;
  z-index: 1;
}

/* =========================================================================
   CTA band
   ========================================================================= */
.cta-band {
  text-align: center;
}

.cta-band__inner {
  max-width: 40rem;
  margin-inline: auto;
}

.cta-band .btn-primary {
  background: var(--white);
  color: var(--petrol);
  box-shadow: 0 16px 32px -14px rgba(0, 0, 0, 0.45);
}

.cta-band .btn-primary:hover {
  background: var(--mint);
}

.cta-band__logo {
  height: 4rem;
  width: auto;
  margin-inline: auto;
  margin-bottom: 2rem;
  /* Renders the single-color brand mark in white for this dark surface.
     This is a pure color inversion of the untouched monochrome SVG — no
     path, proportion or letterform is redrawn — the same convention brand
     guidelines use for a "reversed" one-color logo on a dark ground. */
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
  background: var(--petrol);
  color: var(--white);
  padding-block: clamp(3rem, 2.5rem + 2vw, 4.5rem) 2rem;
}

.footer-top {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

@media (min-width: 56rem) {
  .footer-top {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

.footer-brand__logo {
  height: 4rem;
  width: auto;
  margin-bottom: 1.25rem;
  /* The one-color mark, inverted to white — same convention as
     .cta-band__logo. The full-color lockup's ink text is tuned for light
     backgrounds (see DESIGN-NOTES.md); on dark petrol it drops to ~1.6:1,
     so the dark footer always needs the inverted one-color version instead. */
  filter: brightness(0) invert(1);
}

.footer-brand__desc {
  color: rgba(255, 255, 255, 0.78);
  max-width: 28rem;
}

.footer-heading {
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.1rem;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-list a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-list a:hover {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--turquoise);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom__links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-bottom__links a:hover {
  text-decoration: underline;
}

/* =========================================================================
   Forms
   ========================================================================= */
.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field label {
  font-weight: 700;
  color: var(--petrol);
}

.field .hint {
  font-size: 0.9375rem;
  color: var(--gray);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-control);
  border: 1.75px solid var(--border-strong);
  background: var(--white);
  font-size: 1.0625rem;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--gray);
  opacity: 0.85;
}

.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
  border-color: var(--turquoise-ink);
}

.field.has-error input,
.field.has-error textarea {
  border-color: var(--coral-ink);
}

/* Always rendered (never display:none) and aria-live="polite" in markup —
   an empty live region announces reliably; toggling display:none on a
   role/aria-live element right as its text changes is a known source of
   missed announcements in some screen readers. Empty text naturally takes
   no visual space, so there's nothing to show/hide in CSS either. */
.field__error {
  color: var(--coral-ink);
  font-weight: 700;
  font-size: 0.9375rem;
  min-height: 0;
}

.field__error:empty {
  display: none;
}

.required-marker {
  color: var(--coral-ink);
}

.form-status {
  display: none;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem;
  border-radius: 1rem;
  background: var(--mint);
  color: var(--petrol);
  font-weight: 700;
}

.form-status.is-visible {
  display: flex;
}

.form-status svg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* =========================================================================
   Kennisbank / articles
   ========================================================================= */
.article-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.article-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray);
  font-size: 0.9375rem;
  font-weight: 700;
  margin-top: auto;
  padding-top: 0.25rem;
}

.article-card__meta svg {
  width: 1rem;
  height: 1rem;
}

.article-card h3 {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.2em;
}

.article-card:hover h3 {
  color: var(--turquoise-ink);
  text-decoration-color: var(--turquoise);
}

.article-hero {
  background: var(--mint);
}

.prose h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--petrol);
}

.prose p,
.prose ul,
.prose ol {
  margin-bottom: 1.25rem;
  max-width: none;
}

.prose ul,
.prose ol {
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose li::marker {
  color: var(--turquoise-ink);
  font-weight: 700;
}

.prose blockquote {
  border-left: 4px solid var(--turquoise);
  padding: 0.25rem 0 0.25rem 1.5rem;
  margin: 1.75rem 0;
  font-size: 1.1875rem;
  color: var(--petrol);
  font-weight: 700;
}

/* Inline code within running text — scoped to p/li so it never doubles up
   with the dark <pre class="code-block"> samples elsewhere on the page. */
.prose p code,
.prose li code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.9em;
  background: var(--mint);
  color: var(--petrol);
  padding: 0.15em 0.4em;
  border-radius: 0.35em;
}

/* =========================================================================
   FAQ / accordion
   ========================================================================= */
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--petrol);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary svg {
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
  color: var(--turquoise-ink);
  transition: transform 0.2s ease;
}

.faq-item[open] summary svg {
  transform: rotate(180deg);
}

.faq-item__content {
  padding-bottom: 1.5rem;
  color: var(--gray);
  max-width: 60ch;
}

/* =========================================================================
   Misc utilities
   ========================================================================= */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-block: clamp(2.5rem, 2rem + 2vw, 4rem);
}

.center {
  text-align: center;
}

.mx-auto {
  margin-inline: auto;
}

.icon-tile {
  display: inline-grid;
  place-items: center;
  border-radius: 1rem;
  background: var(--mint);
  color: var(--petrol);
  flex-shrink: 0;
}

.page-hero {
  padding-block: clamp(3rem, 2.5rem + 2vw, 5rem) clamp(2.5rem, 2rem + 2vw, 4rem);
}

.page-hero .lede {
  max-width: 52ch;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.breadcrumb svg {
  width: 0.9rem;
  height: 0.9rem;
}

.breadcrumb a {
  color: var(--petrol);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.stat-row {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 40rem) {
  .stat-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-row__item {
  text-align: center;
}

.stat-row__number {
  font-size: clamp(1.75rem, 1.5rem + 1vw, 2.5rem);
  font-weight: 800;
  color: var(--petrol);
  display: block;
}

.stat-row__label {
  color: var(--gray);
  font-weight: 700;
  font-size: 0.9375rem;
}

.team-values {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 46rem) {
  .team-values {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================================================
   Code samples
   ========================================================================= */
.code-block {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.9375rem;
  line-height: 1.6;
  background: var(--petrol);
  color: #eaf5f3;
  border-radius: 0.9rem;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

.code-block--bad {
  background: #3a2420;
  color: #f6d9d0;
}

.code-block--good {
  background: #113b34;
  color: #d7f3e6;
}

.code-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 0.6rem;
}

.code-label--bad {
  color: var(--coral-ink);
}

.code-label--good {
  color: var(--turquoise-ink);
}

.code-label svg {
  width: 1.1rem;
  height: 1.1rem;
}

/* =========================================================================
   Check grid ("what we check" style compact lists)
   ========================================================================= */
.check-grid {
  display: grid;
  gap: 0.9rem;
  /* Single column below 30rem: an icon + two-word label ("Multimedia &
     ondertiteling") doesn't fit a 2-up grid at 320px, WCAG's reflow
     reference width, without overflowing. */
  grid-template-columns: 1fr;
}

@media (min-width: 30rem) {
  .check-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 40rem) {
  .check-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.check-grid__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  font-weight: 700;
  color: var(--charcoal);
  /* Same min-width: auto grid-shrink trap as .card above. */
  min-width: 0;
}

.check-grid__item svg {
  width: 1.4rem;
  height: 1.4rem;
  color: var(--turquoise-ink);
  flex-shrink: 0;
}

.deliverable-list {
  display: grid;
  gap: 1rem;
}

.deliverable {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1rem;
}

.deliverable__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--mint);
  color: var(--petrol);
  display: grid;
  place-items: center;
}

.deliverable__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}
