@font-face {
  font-family: "Overpass";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/overpass-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Overpass";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/overpass-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --blue: #02499a;
  --blue-deep: #023a7a;
  --blue-tint: #e9f1f9;
  --blue-soft: #f3f7fb;
  --orange: #ea5f14;
  --orange-deep: #c74a0a;
  --orange-soft: #fdeee4;
  --ink: #12233a;
  --ink-2: #4a5668;
  --line: #dde3ea;
  --control: #6f7a8a;
  --paper: #ffffff;
  --paper-2: #f4f6f9;
  --ok: #1b7f4c;
  --warn: #b7650b;
  --err: #b42318;
  --measure: 62ch;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --block: clamp(3rem, 6.5vw, 5.5rem);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(18, 35, 58, 0.12), 0 2px 8px rgba(18, 35, 58, 0.06);
  --shadow-md: 0 8px 24px rgba(18, 35, 58, 0.1), 0 2px 6px rgba(18, 35, 58, 0.06);
  --shadow-lg: 0 24px 48px rgba(18, 35, 58, 0.14), 0 4px 12px rgba(18, 35, 58, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  font-family: "Overpass", "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

body {
  margin: 0;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

/* The second term only wins below about 48em, so phones start smaller and wider screens keep the original scale */
h1 {
  font-size: clamp(1.5rem, min(1.4rem + 3vw, 0.527rem + 4.82vw), 3.5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.25rem, min(1.2rem + 1.6vw, 0.6875rem + 2.67vw), 2.25rem);
  font-weight: 800;
}

h3 {
  font-size: 1.2rem;
  font-weight: 750;
  line-height: 1.25;
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

p,
li {
  max-width: var(--measure);
}

a {
  color: var(--blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.14em;
}

a:hover {
  color: var(--blue-deep);
}

img,
svg {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

.on-dark :focus-visible {
  outline-color: #fff;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  border-radius: var(--r-sm);
  z-index: 200;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(100% - 2 * var(--gutter), 74rem);
  margin-inline: auto;
}

.lead {
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.5;
  color: var(--ink-2);
}

.kicker {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 0.75rem;
}

.section-head {
  max-width: 56ch;
  margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem);
}

.section-head p {
  margin: 0;
}

.center {
  text-align: center;
  margin-inline: auto;
}

.muted {
  color: var(--ink-2);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--r-sm);
  font: inherit;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  cursor: pointer;
  min-height: 3.25rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--orange-deep);
  border-color: var(--orange-deep);
  color: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--paper);
  border-color: var(--line);
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue-deep);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  min-height: 2.75rem;
}

@media (max-width: 47.99em) {
  .btn {
    padding: 0.6rem 1.1rem;
    font-size: 1rem;
    min-height: 2.75rem;
  }

  .btn-sm {
    padding: 0.5rem 1rem;
  }
}

.btn[disabled],
.btn:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  min-height: 4.5rem;
  padding: 0.65rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
}

.brand img {
  height: 2.5rem;
  width: auto;
}

.header-phone,
.header-cta {
  display: none;
}

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-bars {
  position: relative;
  display: block;
  width: 1.625rem;
  height: 1.375rem;
}

.menu-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: top 0.25s ease, transform 0.25s ease, opacity 0.2s ease;
}

.menu-bars span:nth-child(1) {
  top: 0;
}

.menu-bars span:nth-child(2) {
  top: calc(50% - 1px);
}

.menu-bars span:nth-child(3) {
  top: calc(100% - 2px);
}

.menu-btn[aria-expanded="true"] .menu-bars span:nth-child(1) {
  top: calc(50% - 1px);
  transform: rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-bars span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-btn[aria-expanded="true"] .menu-bars span:nth-child(3) {
  top: calc(50% - 1px);
  transform: rotate(-45deg);
}

.menu-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.js .menu-btn {
  display: inline-flex;
}

.site-nav {
  flex-basis: 100%;
}

.js .site-nav:not(.is-open) {
  display: none;
}

.site-nav ul {
  list-style: none;
  margin: 0.25rem 0 0.5rem;
  padding: 0.5rem 0.25rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: var(--paper-2);
  border-radius: var(--r-md);
}

.site-nav li {
  max-width: none;
}

.site-nav a {
  display: block;
  padding: 0.75rem 1rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-radius: var(--r-sm);
  white-space: nowrap;
}

.site-nav a:hover {
  background: var(--paper);
  color: var(--blue);
}

.site-nav a[aria-current="page"] {
  color: var(--blue);
  background: var(--paper);
}

.cta-wrap {
  position: relative;
}

.cta-pop {
  zoom: 0.9;
  position: absolute;
  top: calc(100% + 0.9rem);
  left: 50%;
  transform: translateX(calc(-50% + var(--shift, 0px)));
  width: min(29rem, calc(100vw - 2 * var(--gutter)));
  z-index: 120;
}

.cta-pop::before {
  content: "";
  position: absolute;
  top: -0.55rem;
  left: 50%;
  width: 1.1rem;
  height: 1.1rem;
  margin-left: calc(-0.55rem - var(--shift, 0px));
  background: var(--paper);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: rotate(45deg);
}

.cta-pop .form-card {
  max-width: none;
}

.cta-pop .micro {
  white-space: nowrap;
}

.cta-pop .form-card {
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

@media (min-width: 60em) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 0 var(--line);
  }

  .header-row {
    flex-wrap: nowrap;
    gap: 1.5rem;
  }

  .brand {
    margin-right: 0;
  }

  .brand img {
    height: 2.9rem;
  }

  .menu-btn,
  .js .menu-btn {
    display: none;
  }

  .site-nav,
  .js .site-nav:not(.is-open) {
    display: block;
    flex-basis: auto;
    margin-left: 0.5rem;
    margin-right: auto;
    order: 1;
  }

  .site-nav ul {
    flex-direction: row;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    background: transparent;
  }

  .site-nav a {
    padding: 0.5rem 0.9rem;
    position: relative;
  }

  .site-nav a:hover {
    background: var(--blue-soft);
  }

  .site-nav a[aria-current="page"] {
    background: var(--blue-soft);
  }

  .header-phone {
    order: 2;
    display: inline-flex;
  }

  .cta-wrap {
    order: 3;
  }

  .header-cta {
    display: inline-flex;
  }
}

.hero {
  background: var(--blue-soft);
  padding: clamp(2.25rem, 5vw, 4rem) 0;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  grid-template-areas: "copy" "media" "form";
}

.hero-copy {
  grid-area: copy;
}

.hero-grid > .form-card {
  grid-area: form;
}

.hero h1 {
  max-width: 16ch;
}

.hero .lead {
  max-width: 46ch;
  margin-bottom: 1.5rem;
}

.form-card {
  background: var(--paper);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  max-width: 34rem;
}

.form-card h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.form-row {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 36em) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 0.3rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  height: 3.1rem;
  appearance: none;
  -webkit-appearance: none;
  border: 1.5px solid var(--control);
  border-radius: var(--r-sm);
  background: var(--paper);
  font: inherit;
  color: var(--ink);
  min-height: 3.1rem;
}

.field textarea {
  height: auto;
  min-height: 8rem;
  resize: vertical;
}

.field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5668' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 1.1rem;
  padding-right: 2.6rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(2, 73, 154, 0.25);
  outline-offset: 0;
}

.field input:user-invalid {
  border-color: var(--err);
}

.field .error {
  display: none;
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: var(--err);
  font-weight: 600;
}

.field.is-invalid .error {
  display: block;
}

.field.is-invalid input {
  border-color: var(--err);
}

.form-card .btn {
  width: 100%;
}

/* Cloudflare Turnstile, placed by site.js; only takes space while it asks the visitor to click */
.form-turnstile.is-visible {
  margin-bottom: 0.75rem;
}

.micro {
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
  color: var(--ink-2);
  text-align: center;
  max-width: none;
}

.field-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* The outcome of a submission takes the place of the fields; site.js keeps the form's height */
.form-card.is-sent,
.form-card.is-failed {
  display: flex;
  flex-direction: column;
}

.form-card.is-sent > :not(h2, .form-result),
.form-card.is-failed > :not(h2, .form-result) {
  display: none;
}

.form-result {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-result-sent,
.form-result-failed {
  padding: 1rem 0;
  text-align: center;
}

.form-result-sent:focus {
  outline: none;
}

.result-mark {
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 0.75rem;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-result-sent .result-mark {
  stroke: var(--ok);
}

.form-result-failed .result-mark {
  stroke: var(--err);
}

.result-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.result-text {
  margin: 0.35rem auto 0;
  max-width: 32ch;
  color: var(--ink-2);
}

.result-text a {
  white-space: nowrap;
}

.form-card .form-result .btn {
  width: auto;
  margin-top: 1rem;
}

/* The contact page's form is open text, not a card: the result lines up with its heading */
.form-big .form-result {
  justify-content: flex-start;
}

.form-big .form-result-sent,
.form-big .form-result-failed {
  padding-top: 0.25rem;
  text-align: start;
}

.form-big .result-mark,
.form-big .result-text {
  margin-inline: 0;
}

/* The ring draws, then the tick; with reduced motion both are simply there */
.is-sent .result-ring {
  stroke-dasharray: 139;
  animation: result-ring 0.45s ease-out both;
}

.is-sent .result-tick {
  stroke-dasharray: 30;
  animation: result-tick 0.3s ease-out 0.35s both;
}

@keyframes result-ring {
  from {
    stroke-dashoffset: 139;
  }
}

@keyframes result-tick {
  from {
    stroke-dashoffset: 30;
  }
}

.hero-media {
  grid-area: media;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.slider {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--blue-tint);
  box-shadow: var(--shadow-md);
}

.slider-track {
  display: flex;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slider-track.is-dragging {
  scroll-snap-type: none;
  cursor: grabbing;
  user-select: none;
}

.slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  height: 100%;
  max-width: none;
}

/* aspect-ratio (the slide's square box) reserves the space of a lazy image before it loads */
.slide img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  pointer-events: none;
}

.hero-slider {
  width: 100%;
  aspect-ratio: 1;
}

@media (min-width: 60em) {
  .hero-grid {
    grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
    grid-template-areas: "copy media" "form media";
    gap: 0 clamp(2.5rem, 5vw, 4.5rem);
    align-items: stretch;
  }

  .hero-slider {
    height: 90%;
    width: auto;
    max-width: calc(100% + 15px);
    margin-left: -15px;
  }
}

.band {
  padding: var(--block) 0;
}

.band-tint {
  background: var(--paper-2);
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 60em) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(3rem, 6vw, 5rem);
  }
}

.benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.35rem;
}

.benefits li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  max-width: none;
}

.benefit-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-deep);
  display: grid;
  place-items: center;
  flex: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.benefit-icon .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.benefits h3 {
  margin-bottom: 0.2rem;
}

.benefits p {
  margin: 0;
  color: var(--ink-2);
}

.plan {
  max-width: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.5rem 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.plan h3 {
  font-size: 1.35rem;
  margin-bottom: 0.15rem;
}

.plan-sub {
  color: var(--ink-2);
  margin: 0 0 1.1rem;
}

.price {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 0.25rem;
}

.price-note {
  font-size: 0.9375rem;
  color: var(--ink-2);
  margin: 0 0 1.1rem;
}

.plan ul {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  flex: 1;
}

.plan li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  max-width: none;
}

.plan li .icon {
  color: var(--orange);
  margin-top: 0.15em;
}

.plan-extra {
  font-size: 0.9375rem;
  color: var(--ink-2);
  margin: 0 0 1rem;
}

.plan .btn {
  width: 100%;
}

.plan-featured {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.plan-featured .plan-sub,
.plan-featured .price-note,
.plan-featured .plan-extra {
  color: #ffffff;
}

.plan-featured li .icon {
  color: #ffd2b0;
}

.plan-featured .btn-primary {
  box-shadow: none;
}

.plan-tag {
  position: absolute;
  top: -0.85rem;
  left: 1.5rem;
  background: var(--orange-deep);
  color: #fff;
  font-weight: 800;
  font-size: 0.9375rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
}

.services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.services li {
  max-width: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.4rem 1.5rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.card-head .benefit-icon {
  width: 2.6rem;
  height: 2.6rem;
  background: var(--blue-tint);
  color: var(--blue);
}

.card-head .benefit-icon .icon {
  width: 1.3rem;
  height: 1.3rem;
}

.card-head h3 {
  margin: 0;
  font-size: 1.15rem;
}

.services p {
  margin: 0;
  color: var(--ink-2);
  flex: 1;
}

@media (min-width: 48em) {
  .services {
    grid-template-columns: repeat(3, 1fr);
  }
}

.faq {
  max-width: 46rem;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:first-child {
  border-top: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  padding: 1rem 2.5rem 1rem 0;
  font-weight: 700;
  font-size: 1.0625rem;
  position: relative;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 0.8rem;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-tint);
  color: var(--blue);
  font-size: 1.25rem;
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  margin: 0 0 1rem;
  color: var(--ink-2);
}

.cta-band {
  padding: 0 0 var(--block);
}

.cta-box {
  position: relative;
  background: var(--blue);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 4.5vw, 3rem);
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

.cta-box h2 {
  color: #fff;
  margin-bottom: 0.35rem;
}

.cta-box p {
  color: #ffffff;
  margin: 0;
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 2px;
  border: 2px solid #fff;
  border-radius: calc(var(--r-lg) - 3px);
  pointer-events: none;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (min-width: 60em) {
  .cta-box {
    grid-template-columns: 1fr auto;
  }
}

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 3rem 0 1.5rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-brand img {
  height: 3rem;
  width: auto;
  margin-bottom: 0.9rem;
}

.footer-brand p {
  margin-bottom: 1.1rem;
  max-width: 40ch;
}

.socials {
  display: flex;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.socials li {
  max-width: none;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.socials a:hover {
  background: var(--blue-tint);
  border-color: var(--blue);
  color: var(--blue);
}

.socials .icon {
  width: 1.3rem;
  height: 1.3rem;
}

.site-footer h2 {
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 0.7rem;
}

.site-footer address {
  font-style: normal;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  padding: 0.25rem 0;
  max-width: none;
}

.site-footer a {
  color: var(--ink);
}

.site-footer ul:not(.socials) a {
  text-decoration: none;
}

.site-footer ul:not(.socials) a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.contact-list .icon {
  color: var(--orange);
  margin-top: 0.2rem;
}

.footer-bottom {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom ul {
  display: flex;
  gap: 1.25rem;
}

.footer-bottom a {
  color: var(--ink-2);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--blue);
  text-decoration: underline;
}

@media (min-width: 48em) {
  .footer-grid {
    grid-template-columns: 1.5fr 0.8fr 1fr 1fr;
    gap: 2.5rem;
  }
}

.page-hero {
  background: var(--blue-soft);
  padding: clamp(2rem, 4.5vw, 3.25rem) 0 clamp(1.75rem, 4vw, 2.75rem);
}

.page-hero h1 {
  margin-bottom: 0;
}

.page-hero .lead {
  max-width: 52ch;
  margin-top: 0.75rem;
}

.plans {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.plans > li {
  max-width: none;
}

@media (min-width: 48em) {
  .plans {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .plans .plan-featured {
    transform: translateY(-0.5rem);
  }
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.price-table tr:last-child th,
.price-table tr:last-child td {
  border-bottom: 0;
}

.price-table th[scope="row"] {
  font-weight: 700;
}

.price-table .num {
  text-align: right;
  white-space: nowrap;
  font-weight: 800;
  font-size: 1.1rem;
}

.price-table .sub {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink-2);
  margin-top: 0.1rem;
}

.prose {
  max-width: none;
}

.prose h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul {
  padding-left: 1.2rem;
}

.prose li {
  margin-bottom: 0.35rem;
}

.two-col {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 52em) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }

  .two-col > div:last-child {
    margin-top: 115px;
  }
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

.btn-phone {
  background: var(--blue-soft);
  border-color: var(--blue-soft);
  color: var(--blue);
  font-size: 1.0625rem;
  padding: 0.55rem 1rem;
  min-height: 2.75rem;
  gap: 0.45rem;
  white-space: nowrap;
}

.btn-phone:hover {
  background: var(--blue-tint);
  border-color: var(--blue-tint);
  color: var(--blue-deep);
  transform: translateY(-1px);
}

.header-phone {
  background: #e8f5ee;
  border-color: #e8f5ee;
  color: var(--ok);
}

.header-phone:hover {
  background: #d3ecdd;
  border-color: #d3ecdd;
  color: #14683d;
}

.form-card h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-big {
  max-width: 40rem;
}

.stars {
  position: relative;
  display: inline-block;
  line-height: 1;
  color: #d9dee6;
  white-space: nowrap;
}

.stars .icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
}

.stars-base,
.stars-fill {
  display: inline-block;
  white-space: nowrap;
}

.stars-fill {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  color: #f4b400;
}

.stars-fill.w92 {
  width: 92%;
}

.hero-slider {
  aspect-ratio: 1;
  background: #eef3f8;
  overflow: visible;
}

.hero-slider .slider-track {
  border-radius: var(--r-lg);
  overflow-x: auto;
}

.hero-slider .slider-track {
  clip-path: inset(0 round var(--r-lg));
}

.slide img {
  object-fit: contain;
  object-position: center;
}

@media (min-width: 60em) {
  .hero-slider {
    height: 85%;
    width: auto;
    max-width: calc(100% + 15px);
    margin-left: -15px;
  }
}

.gbadge {
  position: absolute;
  right: calc(-1.6rem - 25px);
  bottom: 1.1rem;
  transform-origin: right bottom;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem 0.625rem 0.75rem;
  background: var(--paper);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gbadge:hover,
.gbadge:focus-visible {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}

.gbadge .gmark {
  width: 2rem;
  height: 2rem;
  flex: none;
}

.gtext {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  line-height: 1.15;
}

.grow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.gscore {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
}

.gbadge .stars {
  font-size: 0.95rem;
}

.glabel {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-2);
}

.deck {
  list-style: none;
  margin: 0;
  padding: 3.6rem 0 0;
  position: relative;
}

.deck-card {
  max-width: none;
  transition: transform 0.35s ease, opacity 0.35s ease, top 0.35s ease, left 0.35s ease, right 0.35s ease;
}

.deck-card .plan {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  cursor: pointer;
}

.plan-featured::before {
  content: "";
  position: absolute;
  inset: 2px;
  border: 2px solid #fff;
  border-radius: calc(var(--r-lg) - 3px);
  pointer-events: none;
}

.deck-card.is-front {
  position: relative;
  z-index: 3;
}

.deck-card.is-front .plan {
  cursor: default;
}

.deck-card.is-back-1,
.deck-card.is-back-2 {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  top: 1.65rem;
  height: 6rem;
  z-index: 2;
}

.deck-card.is-back-2 {
  left: 2.5rem;
  right: 2.5rem;
  top: 0;
  z-index: 1;
}

.deck-card.is-back-1 .plan,
.deck-card.is-back-2 .plan {
  height: 100%;
  padding: 0.35rem 1.4rem 0;
  gap: 0;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 -2px 8px rgba(18, 35, 58, 0.07);
}

.deck-card.is-back-1 .plan-featured,
.deck-card.is-back-2 .plan-featured {
  background: var(--blue);
}

.deck-card.is-back-1 h3,
.deck-card.is-back-2 h3 {
  font-size: 0.9375rem;
  font-weight: 750;
  margin: 0;
  color: var(--ink);
}

.deck-card.is-back-1 .plan-featured h3,
.deck-card.is-back-2 .plan-featured h3 {
  color: #fff;
}

.deck-card.is-back-1 .plan-sub,
.deck-card.is-back-2 .plan-sub,
.deck-card.is-back-1 ul,
.deck-card.is-back-2 ul,
.deck-card.is-back-1 .plan-extra,
.deck-card.is-back-2 .plan-extra,
.deck-card.is-back-1 .plan-cta,
.deck-card.is-back-2 .plan-cta {
  display: none;
}

.deck-card .plan-cta {
  margin-top: 1rem;
  width: 100%;
}

.deck-card.is-front .plan-extra {
  margin-bottom: 0;
}

.deck-card.is-back-1 .plan-tag,
.deck-card.is-back-2 .plan-tag {
  top: 0.35rem;
  left: auto;
  right: 1rem;
  padding: 0.15rem 0.6rem;
  font-size: 0.75rem;
}

.deck.is-swapping .deck-card .plan {
  opacity: 0;
  transform: translateY(8px);
}

.deck-card .plan {
  opacity: 1;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease, border-color 0.28s ease, opacity 0.22s ease;
}

.deck-card.is-back-1:hover,
.deck-card.is-back-1:focus-within {
  transform: translateY(-0.4rem);
}

.deck-card.is-back-2:hover,
.deck-card.is-back-2:focus-within {
  transform: translateY(-0.4rem);
}

.deck-card.is-back-1:hover .plan,
.deck-card.is-back-2:hover .plan,
.deck-card.is-back-1:focus-within .plan,
.deck-card.is-back-2:focus-within .plan {
  box-shadow: var(--shadow-md);
}

.deck-card.is-front .plan-featured {
  padding-top: 1.9rem;
}

.deck-card.is-front .plan-featured .plan-tag {
  left: auto;
  right: 1.5rem;
}

.deck-card.is-front:hover .plan {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}

.deck-card .plan:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.deck-card.is-front .plan-extra {
  margin-bottom: 0;
}

.plans .plan {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.plans .plan:hover,
.plans .plan:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}

.plans .plan-featured:hover {
  transform: translateY(-0.9rem);
}

.plans .plan-extra {
  margin-bottom: 0;
}

.two-col h2 + h2,
.two-col table + h2 {
  margin-top: 1.5rem;
}

.faq-grid {
  display: grid;
  gap: 0 3rem;
}

@media (min-width: 52em) {
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.faq-grid .faq {
  max-width: none;
}

.faq summary::after {
  transition: transform 0.25s ease, background-color 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(180deg);
}

.faq-body {
  overflow: hidden;
}

.faq-body p {
  margin: 0 0 1rem;
  color: var(--ink-2);
}

.cta-stage {
  position: relative;
  padding-top: calc(clamp(6rem, 14vw, 10.5rem) + 15px);
  margin-top: 15px;
}

.cars {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  top: 15px;
  height: clamp(6rem, 14vw, 10.5rem);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(1rem, 6vw, 5rem);
  pointer-events: none;
  z-index: 3;
}

.car {
  position: relative;
  height: 100%;
  pointer-events: auto;
  transition: transform 0.35s ease;
  transform: translateY(16%);
}

.car img {
  height: 100%;
  width: auto;
  filter: drop-shadow(0 14px 14px rgba(18, 35, 58, 0.3));
  transition: transform 0.35s ease, filter 0.35s ease;
}

.car-schakel img,
.verdict-car img[data-result="manual"] {
  aspect-ratio: 554 / 269;
}

.car-automaat img,
.verdict-car img[data-result="auto"] {
  aspect-ratio: 900 / 451;
}

.car-schakel img {
  transform: scaleX(-1) rotate(-2deg);
}

.car-automaat img {
  transform: scaleX(-1) rotate(2deg);
}

.car-tag {
  position: absolute;
  top: 38%;
  transform: translateY(-50%) translateX(0.5rem);
  display: inline-flex;
  align-items: center;
  padding: 2px 0.85rem 0 0;
  background: #f5b800;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}

.car-tag::before {
  content: "NL";
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin: -2px 0.65rem 0 0;
  padding: calc(0.95rem + 1px) 0.3rem calc(0.25rem - 1px);
  background: #003399 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f5b800'%3E%3Ccircle cx='21.00' cy='12.00' r='1.4'/%3E%3Ccircle cx='19.79' cy='16.50' r='1.4'/%3E%3Ccircle cx='16.50' cy='19.79' r='1.4'/%3E%3Ccircle cx='12.00' cy='21.00' r='1.4'/%3E%3Ccircle cx='7.50' cy='19.79' r='1.4'/%3E%3Ccircle cx='4.21' cy='16.50' r='1.4'/%3E%3Ccircle cx='3.00' cy='12.00' r='1.4'/%3E%3Ccircle cx='4.21' cy='7.50' r='1.4'/%3E%3Ccircle cx='7.50' cy='4.21' r='1.4'/%3E%3Ccircle cx='12.00' cy='3.00' r='1.4'/%3E%3Ccircle cx='16.50' cy='4.21' r='1.4'/%3E%3Ccircle cx='19.79' cy='7.50' r='1.4'/%3E%3C/svg%3E") no-repeat center 0.2rem / 0.7rem 0.7rem;
  border-radius: 4px 0 0 4px;
  color: #fff;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0;
}

.car-schakel .car-tag {
  right: 100%;
  margin-right: 0.6rem;
  transform: translateY(-50%) translateX(0.5rem);
}

.car-automaat .car-tag {
  left: 100%;
  margin-left: 0.6rem;
  transform: translateY(-50%) translateX(-0.5rem);
}

.car:hover,
.car:focus-within {
  z-index: 4;
}

.car:hover .car-tag,
.car:focus-within .car-tag {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
  transform: translateY(-50%) translateX(0);
}

.cta-stage .cta-box {
  position: relative;
  z-index: 2;
  padding-top: calc(clamp(1.75rem, 4.5vw, 3rem) + 1.25rem);
}

.cta-stage .cta-actions {
  max-width: 30rem;
  justify-content: flex-end;
  align-items: center;
}

.btn-quiet {
  border-color: rgba(255, 255, 255, 0.35);
  font-size: 1rem;
  font-weight: 600;
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
}

.btn-quiet:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 59.99em) {
  .cta-stage {
    margin-top: 0;
    padding-top: 0;
  }

  .cars {
    position: relative;
    height: auto;
    gap: 0.75rem;
    padding: 0 0.75rem;
    margin-bottom: -0.125rem;
  }

  .car {
    height: auto;
    width: 46%;
    transform: none;
  }

  .car img {
    height: auto;
    width: 100%;
  }

  .cta-stage .cta-box {
    padding: 2rem 1.25rem 1.25rem;
  }

  .cta-stage .cta-actions {
    max-width: none;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.375rem;
  }

  .cta-stage .cta-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.6rem 0.3rem;
    font-size: 1rem;
    line-height: 1.2;
    text-align: center;
  }

  .cta-stage .cta-actions .btn-primary {
    font-size: 1.0625rem;
  }

  .cta-stage .btn-quiet .icon {
    display: none;
  }

  .cta-stage .cta-long {
    display: none;
  }

  .cta-stage .cta-short {
    display: inline;
  }
}

.flag {
  width: 1.35rem;
  height: 0.9rem;
  border-radius: 2px;
}

/* Contact: the direct-contact column beside the message form */
.contact-columns {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: start;
}

@media (min-width: 52em) {
  .contact-columns {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }
}

/* The number is the fastest answer on this page, so it carries display weight instead of a third button */
.contact-call {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.75rem 0 0;
  padding: 0.35rem 0;
  font-size: clamp(1.2rem, 1rem + 0.7vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.contact-call .icon {
  width: 1.1em;
  height: 1.1em;
  color: var(--orange);
}

.contact-call:hover,
.contact-call:focus-visible {
  text-decoration: underline;
}

.contact-facts {
  margin: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}

.contact-facts > div {
  display: grid;
  gap: 0.1rem 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 30em) {
  .contact-facts > div {
    grid-template-columns: 8.5rem minmax(0, 1fr);
  }
}

.contact-facts dt {
  font-weight: 700;
}

.contact-facts dd {
  margin: 0;
  max-width: 44ch;
  color: var(--ink-2);
}

.contact-columns .form-card {
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.contact-direct h2,
.contact-columns .form-card h2 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  margin-bottom: 0.65rem;
}

.field .req {
  margin-left: 0.15rem;
  color: var(--orange-deep);
}

.contact-direct h3 {
  margin: 1.75rem 0 0.5rem;
}

.contact-steps {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink-2);
}

.contact-steps li {
  margin-bottom: 0.35rem;
}

@media (max-width: 51.99em) {
  .contact-direct {
    display: none;
  }
}

.mp:focus {
  outline: none;
}

.legal {
  display: grid;
  gap: 2rem;
}

.legal p,
.legal li {
  max-width: none;
}

.tabbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tabbtn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  border: 2px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  min-height: 3rem;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.tabbtn .icon {
  color: var(--blue);
}

.tabbtn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.tabbtn[aria-selected="true"] {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.tabbtn[aria-selected="true"] .icon {
  color: #fff;
}

.tabpanel {
  animation: tab-in 0.3s ease;
}

/* Without script the tabs cannot switch, so the three documents are shown in full instead */
html:not(.js) .tabbar {
  display: none;
}

html:not(.js) .tabpanel[hidden] {
  display: block !important;
}

@keyframes tab-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.term {
  margin-bottom: 1.75rem;
}

.term h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.term-list {
  padding-left: 1.2rem;
  color: var(--ink-2);
}

.term-list li {
  margin-bottom: 0.4rem;
}

.errorpage {
  display: flex;
  flex-direction: column;
}

.errorpage .band {
  flex: 1;
  display: flex;
  align-items: center;
}

.errorpage .error-text h2 {
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
}

.errorpage .page-hero h1 {
  font-size: clamp(3rem, 2rem + 4vw, 5rem);
}

.error-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.error-art {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.error-art img {
  width: 100%;
  height: auto;
}

.error-text .lead {
  max-width: 44ch;
  margin-bottom: 1.5rem;
}

@media (min-width: 60em) {
  .error-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
  }
}

.footer-grid {
  align-items: start;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.brand-row img {
  margin: 0;
  display: block;
}

.brand-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-gbadge {
  display: none;
}

.brand-row .socials {
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.footer-brand p {
  max-width: 34ch;
  margin-bottom: 1.1rem;
}

.socials a {
  width: 2.375rem;
  height: 2.375rem;
  border: 2px solid transparent;
  background: var(--paper);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.socials .icon {
  width: 1.11rem;
  height: 1.11rem;
}

.socials .s-ig {
  background: linear-gradient(var(--paper), var(--paper)) padding-box, radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%) border-box;
  color: #d6249f;
}

.socials .s-ig:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%) border-box;
  color: #fff;
}

.socials a:hover {
  transform: translateY(-2px);
}

.footer-col h2 {
  margin-bottom: 0.75rem;
}

.gcard-v {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 11rem;
  padding: 1rem 0.9rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.gcard-v {
  border-color: #e6eaef;
}

.gcard-v .gbubble,
.gcard-v .gbubble::after {
  border-color: #939ba7;
}

.gcard-v:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--ink);
}

.gbubble {
  position: relative;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 2px solid var(--control);
  border-radius: 0.7rem;
  margin-bottom: 0.4rem;
}

.gbubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.45rem;
  width: 0.7rem;
  height: 0.7rem;
  margin-left: -0.35rem;
  background: var(--paper);
  border-right: 2px solid var(--control);
  border-bottom: 2px solid var(--control);
  transform: rotate(45deg);
}

.gbubble .gmark {
  width: 1.6rem;
  height: 1.6rem;
}

.gname {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink-2);
}

.gbig {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
}

.gcard-v .stars {
  font-size: 0.95rem;
}

@media (min-width: 48em) {
  .footer-grid {
    grid-template-columns: auto auto auto minmax(0, 1fr);
    gap: 2.5rem clamp(2rem, 5vw, 4rem);
  }

  .footer-reviews {
    justify-self: end;
  }
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aa4b2;
  opacity: 1;
}

.form-big {
  max-width: none;
}

.form-big .field {
  margin-bottom: 1.25rem;
}

.form-big .form-row {
  gap: 1rem;
  margin-bottom: 0;
}

.form-big .btn {
  margin-top: 0.5rem;
}

@media (max-width: 59.99em) {
  .gbadge {
    right: 0.75rem;
  }

  .hero-slider {
    aspect-ratio: auto;
    height: 0;
    padding-top: calc(80% + 25px);
  }

  .hero-slider .slider-track {
    position: absolute;
    inset: 0;
  }

  .hero-slider .slide img {
    object-fit: cover;
    object-position: center top;
  }

  .car-schakel .car-tag,
  .car-automaat .car-tag {
    left: 50%;
    right: auto;
    top: auto;
    bottom: 100%;
    margin: 0 0 0.4rem;
    transform: translate(-50%, 0.3rem);
  }

  .car:hover .car-tag,
  .car:focus-within .car-tag {
    transform: translate(-50%, 0);
  }
}

/* Phones: the review badge stays readable but secondary to the photo it sits on */
@media (max-width: 47.99em) {
  .hero-slider .gbadge {
    bottom: 0.75rem;
    gap: 0.55rem;
    padding: 0.45rem 0.75rem 0.45rem 0.55rem;
  }

  .hero-slider .gbadge:hover,
  .hero-slider .gbadge:focus-visible {
    transform: none;
  }

  .hero-slider .gbadge .gmark {
    width: 1.5rem;
    height: 1.5rem;
  }

  .hero-slider .gbadge .grow {
    gap: 0.35rem;
  }

  .hero-slider .gbadge .gscore {
    font-size: 1rem;
  }

  .hero-slider .gbadge .stars {
    font-size: 0.8rem;
  }

  .hero-slider .gbadge .glabel {
    font-size: 0.75rem;
  }
}

.footer-reviews .gcard-v {
  margin-top: -2px;
}

.cta-box p br + br {
  display: none;
}

.area-intro {
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: var(--ink-2);
  max-width: none;
}

.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0;
  display: flex;
  gap: 0.6rem;
  width: max-content;
  animation: marquee 128s linear infinite;
}

/* horizontal drags move the track (site.js); vertical swipes still scroll the page */
.marquee.is-js {
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.marquee.is-dragging {
  cursor: grabbing;
}

/* hover only where a pointer can leave again; on touch screens :hover would stick and freeze the row */
@media (hover: hover) {
  .marquee:hover .marquee-track {
    animation-play-state: paused;
  }
}

.marquee-track li {
  flex: none;
  max-width: none;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-2);
  white-space: nowrap;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
  }

  .marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

.cta-short {
  display: none;
}

.band-tint-open {
  padding-bottom: 0;
}

.area-band {
  padding: clamp(1.75rem, 4vw, 2.5rem) 0 var(--block);
}

@media (max-width: 59.99em) {
  .header-row {
    min-height: 0;
    padding: 0.85rem 0;
    gap: 0.75rem 0.6rem;
    align-content: flex-start;
  }

  .brand img {
    display: block;
    height: 2.75rem;
    flex: none;
  }

  .header-phone {
    display: inline-flex;
    width: 2.75rem;
    min-height: 2.75rem;
    padding: 0;
    justify-content: center;
  }

  .header-phone .phone-text {
    display: none;
  }

  .header-phone .icon {
    width: 1.35rem;
    height: 1.35rem;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 0 var(--line);
  }

  .site-nav {
    order: 10;
    overflow: hidden;
  }

  .site-nav ul {
    margin: 0.5rem 0 0.25rem;
    padding: 0;
    gap: 0;
    background: transparent;
    border-top: 1px solid var(--line);
    border-radius: 0;
  }

  .site-nav a {
    padding: 0.9rem 0.25rem;
    font-size: 1.125rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .site-nav li:last-child a {
    border-bottom: 0;
  }

  .site-nav a:hover,
  .site-nav a[aria-current="page"] {
    background: transparent;
  }

  .site-nav a:hover {
    color: var(--blue);
  }

  /* Narrow screens lead with the photo and the form, but the page keeps its h1 and lead for
     assistive technology and for mobile-first indexing, so hide them visually rather than remove them */
  .hero-copy {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .home {
    display: flex;
    flex-direction: column;
  }

  .home .hero {
    order: -4;
    padding: 1rem 0 1.25rem;
  }

  .home .hero-grid {
    display: block;
  }

  .home .area-band {
    order: -2;
    padding: 0 0 1.25rem;
  }

  .home .lesson-band {
    order: -1;
    padding: 0 0 1.25rem;
  }

  .home .band:not(.band-tint) {
    padding-top: 1.5rem;
  }

  .split h2 {
    margin-bottom: 25px;
  }

  .split .deck {
    order: 1;
  }

  .area-intro,
  .band-tint-open {
    display: none;
  }

  .lesson-band .form-card {
    max-width: none;
    padding: 1rem 1rem 0.9rem;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }

  .lesson-band .form-card h2 {
    font-size: 1.125rem;
    margin-bottom: 0.6rem;
  }

  .lesson-band .form-row {
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .lesson-band .field label {
    font-size: 0.875rem;
    margin-bottom: 0.2rem;
  }

  .lesson-band .field input {
    height: 2.75rem;
    min-height: 2.75rem;
    padding: 0.5rem 0.75rem;
  }

  .lesson-band .btn {
    min-height: 2.75rem;
    padding: 0.6rem 1rem;
    font-size: 1.0625rem;
  }

  .lesson-band .micro {
    margin-top: 0.5rem;
    font-size: 0.875rem;
  }

}

/* Phones: a lighter sticky header; phone and menu buttons draw at 36px but keep a 44px tap area */
@media (max-width: 47.99em) {
  .header-row {
    padding: 0.5rem 0;
    gap: 0.5rem 0.625rem;
  }

  .brand img {
    height: 2.125rem;
  }

  .header-phone,
  .js .menu-btn {
    position: relative;
    width: 2.25rem;
    height: 2.25rem;
    min-height: 2.25rem;
  }

  .header-phone .icon {
    width: 1.125rem;
    height: 1.125rem;
  }

  .menu-bars {
    width: 1.375rem;
    height: 1.125rem;
  }

  .header-phone::before,
  .js .menu-btn::before {
    content: "";
    position: absolute;
    inset: -0.25rem;
  }

  /* the phone button has a 2px border, so its tap area starts 2px further out */
  .header-phone::before {
    inset: calc(-0.25rem - 2px);
  }

  .site-nav ul {
    margin: 0.25rem 0 0.125rem;
  }

  .site-nav a {
    padding: 0.625rem 0.25rem;
    font-size: 1rem;
  }
}

@media (max-width: 59.99em) {
  .deck {
    --deck-card: min(calc(100vw - 30px), 26rem);
    display: flex;
    gap: 0.75rem;
    margin: 0 calc(-1 * var(--gutter));
    padding: 1rem calc((100vw - var(--deck-card)) / 2) 0.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .deck::-webkit-scrollbar {
    display: none;
  }

  .plans {
    --deck-card: min(calc(100vw - 30px), 26rem);
    position: relative;
    display: flex;
    gap: 0.75rem;
    margin: 0 calc(-1 * var(--gutter));
    padding: 1rem calc((100vw - var(--deck-card)) / 2) 0.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .plans::-webkit-scrollbar {
    display: none;
  }

  .plans > li {
    flex: 0 0 var(--deck-card);
    scroll-snap-align: center;
  }

  .plans .plan {
    height: 100%;
  }

  .two-col {
    gap: 0;
  }

  .two-col > div {
    display: contents;
  }

  .two-col #los,
  .two-col #los + .price-table,
  .two-col #los + .price-table + .muted {
    order: 1;
  }

  .two-col #examens,
  .two-col #examens + .price-table {
    order: 2;
  }

  .two-col #spoed,
  .two-col #spoed + .price-table {
    order: 3;
  }

  .two-col #examens,
  .two-col #spoed {
    margin-top: 1.5rem;
  }

  .deck-card,
  .deck-card.is-back-1,
  .deck-card.is-back-2 {
    position: static;
    flex: 0 0 var(--deck-card);
    height: auto;
    scroll-snap-align: center;
    transform: none;
  }

  .deck-card .plan,
  .deck-card.is-back-1 .plan,
  .deck-card.is-back-2 .plan {
    height: 100%;
    padding: 1.6rem 1.5rem 1.5rem;
    overflow: visible;
    cursor: default;
  }

  .deck-card.is-back-1 .plan,
  .deck-card.is-back-2 .plan {
    background: var(--paper);
    box-shadow: none;
  }

  .deck-card.is-back-1 .plan-featured,
  .deck-card.is-back-2 .plan-featured {
    background: var(--blue);
  }

  .deck-card.is-back-1 h3,
  .deck-card.is-back-2 h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 0.15rem;
    color: inherit;
  }

  .deck-card.is-back-1 .plan-sub,
  .deck-card.is-back-2 .plan-sub,
  .deck-card.is-back-1 .plan-extra,
  .deck-card.is-back-2 .plan-extra {
    display: block;
  }

  .deck-card.is-back-1 ul,
  .deck-card.is-back-2 ul {
    display: grid;
  }

  .deck-card.is-back-1 .plan-cta,
  .deck-card.is-back-2 .plan-cta {
    display: inline-flex;
  }

  .deck-card.is-back-1 .plan-tag,
  .deck-card.is-back-2 .plan-tag {
    display: none;
  }

  .deck-card.is-back-1:hover,
  .deck-card.is-back-2:hover,
  .deck-card.is-back-1:focus-within,
  .deck-card.is-back-2:focus-within {
    transform: none;
  }

  .site-footer {
    padding: 2rem 0 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-brand .brand-row {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin: 0;
  }

  .footer-brand img {
    height: 2.1rem;
    width: auto;
  }

  .brand-actions {
    margin-left: auto;
    gap: 0.6rem;
  }

  .footer-gbadge {
    display: inline-flex;
    position: static;
    gap: 0.45rem;
    padding: 0.35rem 0.5rem 0.35rem 0.45rem;
    border: 1px solid rgba(18, 35, 58, 0.2);
    border-radius: 10px;
    box-shadow: none;
  }

  .footer-gbadge .gmark {
    width: 1.375rem;
    height: 1.375rem;
  }

  .footer-gbadge .gtext {
    gap: 0.05rem;
  }

  .footer-gbadge .grow {
    gap: 0.3rem;
  }

  .footer-gbadge .gscore {
    font-size: 0.875rem;
  }

  .footer-gbadge .stars {
    font-size: 0.65rem;
  }

  .footer-gbadge .glabel {
    font-size: 0.6875rem;
    white-space: nowrap;
  }

  .footer-gbadge:hover,
  .footer-gbadge:focus-visible {
    transform: none;
    border-color: rgba(18, 35, 58, 0.4);
    box-shadow: none;
  }

  .footer-bottom {
    border-top: 0;
    margin-top: calc(1.5rem - 20px);
  }

  .band-vragen {
    padding-top: calc(var(--block) - 35px);
  }

  .band-los {
    padding-bottom: calc(var(--block) - 10px);
  }

  .brand-row .socials {
    padding-left: 0;
    border-left: 0;
  }

  .footer-brand p,
  .footer-pages,
  .footer-details,
  .footer-reviews {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
  }

  .footer-bottom ul {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }
}

/* Phones: the header already carries the logo, so the footer opens with the review badge and socials, centred like the text below */
@media (max-width: 47.99em) {
  .footer-brand .brand-row {
    justify-content: center;
  }

  .footer-brand .brand-row > a:first-child {
    display: none;
  }

  .brand-actions {
    margin-left: 0;
    gap: 0.75rem;
  }

  .footer-brand .socials {
    gap: 0.5rem;
  }

  .footer-gbadge {
    min-height: 2.75rem;
  }

  /* same 2rem above the badge row as below it */
  .footer-bottom {
    padding-top: 0.5rem;
  }

  .footer-brand .socials a {
    position: relative;
    width: 2.25rem;
    height: 2.25rem;
  }

  /* The ring stays 36px; the tap area around it is 44px and ends where the gap to the neighbour begins */
  .footer-brand .socials a::before {
    content: "";
    position: absolute;
    inset: calc(-0.25rem - 2px);
  }
}


.journey {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--blue);
  color: #fff;
  border-radius: var(--r-lg);
  padding: calc(1rem + 7px) 1.25rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-lg);
}

.journey::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 2px solid #fff;
  border-radius: calc(var(--r-lg) - 3px);
  pointer-events: none;
}

.journey .steps {
  flex: 1;
  min-width: 0;
}

/* Arrows under the route: a quiet second way through the phases, drawn as small route signs */
.journey-nav {
  display: none;
}

.js .journey-nav {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin: calc(0.75rem - clamp(1.75rem, 4vw, 2.75rem)) 0 clamp(1.5rem, 3.5vw, 2.25rem);
}

.journey-nav .sign-btn {
  top: 0;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.journey-nav .sign-btn[aria-disabled="true"] {
  opacity: 0.35;
  cursor: default;
  transform: none;
  background: var(--blue);
  box-shadow: inset 0 0 0 2px var(--blue), inset 0 0 0 3.5px #fff;
}

[dir="rtl"].journey-nav .icon {
  transform: scaleX(-1);
}

.langmenu {
  position: relative;
}

.langmenu summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.55rem 0.5rem 0.65rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.langmenu summary::-webkit-details-marker {
  display: none;
}

.langmenu summary:hover,
.langmenu[open] summary {
  border-color: var(--blue);
}

.langmenu summary .icon {
  width: 1rem;
  height: 1rem;
  color: var(--ink-2);
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

.langmenu[open] summary .icon {
  transform: rotate(-90deg);
}

.langmenu ul {
  position: absolute;
  left: 0;
  top: calc(100% + 0.35rem);
  z-index: 5;
  min-width: 11rem;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-md);
}

.langmenu li {
  max-width: none;
}

.langmenu a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
}

.langmenu a:hover {
  background: var(--blue-tint);
  color: var(--blue);
}

.langmenu a[aria-current="true"] {
  font-weight: 800;
  color: var(--blue);
}

.langmenu a[aria-current="true"]::after {
  content: "\2713";
  margin-left: auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.step-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem 0.25rem 0;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 700;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.step-tab::before,
.step-tab::after {
  content: "";
  position: absolute;
  top: calc(1.5rem + 1.125rem - 2px);
  width: 50%;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  transition: background-color 0.3s ease;
}

.step-tab::before {
  left: 0;
}

.step-tab::after {
  right: 0;
}

.step-tab:first-child::before,
.step-tab:last-child::after {
  display: none;
}

.step-tab.is-passed::before,
.step-tab.is-passed::after,
.step-tab[aria-selected="true"]::before {
  background: #fff;
}

.steps[dir="rtl"] .step-tab:first-child::before,
.steps[dir="rtl"] .step-tab:last-child::after {
  display: block;
}

.steps[dir="rtl"] .step-tab:first-child::after,
.steps[dir="rtl"] .step-tab:last-child::before {
  display: none;
}

.steps[dir="rtl"] .step-tab[aria-selected="true"]::before {
  background: rgba(255, 255, 255, 0.3);
}

.steps[dir="rtl"] .step-tab[aria-selected="true"]::after {
  background: #fff;
}

.step-dot {
  position: relative;
  z-index: 1;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--paper);
  color: var(--blue);
  font-weight: 800;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.step-check {
  display: none;
  width: 1.1rem;
  height: 1.1rem;
}

.step-tab:hover .step-dot {
  transform: scale(1.08);
}

.step-tab[aria-selected="true"] {
  color: #fff;
}

.step-tab[aria-selected="true"] .step-dot {
  background: var(--orange);
  border-color: #fff;
  color: #fff;
}

.step-tab.is-done .step-dot {
  background: var(--ok);
  border-color: #fff;
  color: #fff;
}

.step-tab.is-done .step-num {
  display: none;
}

.step-tab.is-done .step-check {
  display: block;
}

.step-car {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 1.87rem;
  height: 1.87rem;
  transform: translateX(-50%);
  color: var(--orange);
  display: none;
}

.steps[dir="rtl"] .step-car {
  transform: translateX(-50%) scaleX(-1);
}

.step-tab[aria-selected="true"] .step-car {
  display: block;
}

.step-tab:focus-visible {
  outline: none;
}

.step-tab:focus-visible .step-dot {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 47.99em) {
  .journey {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 1rem 0.75rem 0.5rem;
  }

  /* three columns, two rows: 1 down to 2, right to 3, up to 4, right to 5, down to 6 */
  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .step-tab {
    padding-bottom: 0.75rem;
    font-size: 0.875rem;
  }

  .step-tab:nth-child(1) { grid-area: 1 / 1; }
  .step-tab:nth-child(2) { grid-area: 2 / 1; }
  .step-tab:nth-child(3) { grid-area: 2 / 2; }
  .step-tab:nth-child(4) { grid-area: 1 / 2; }
  .step-tab:nth-child(5) { grid-area: 1 / 3; }
  .step-tab:nth-child(6) { grid-area: 2 / 3; }

  /* vertical legs: from this dot down (1, 5) or up (3) to the next dot */
  .step-tab:nth-child(1)::after,
  .step-tab:nth-child(5)::after,
  .step-tab:nth-child(3)::after {
    left: calc(50% - 2px);
    right: auto;
    width: 4px;
    height: 100%;
    top: calc(1.5rem + 1.125rem);
  }

  .step-tab:nth-child(3)::after {
    top: auto;
    bottom: calc(100% - 1.5rem - 1.125rem);
  }

  .step-tab:nth-child(2)::before,
  .step-tab:nth-child(4)::before,
  .step-tab:nth-child(6)::before,
  .step-tab:nth-child(6)::after {
    display: none;
  }

  .step-tab:nth-child(2)::after,
  .step-tab:nth-child(4)::after {
    display: block;
  }

  /* mirrored: the horizontal halves swap sides, the vertical legs move to the other pseudo-element */
  .steps[dir="rtl"] .step-tab:nth-child(1)::before,
  .steps[dir="rtl"] .step-tab:nth-child(3)::before,
  .steps[dir="rtl"] .step-tab:nth-child(5)::before {
    display: block;
    left: calc(50% - 2px);
    width: 4px;
    height: 100%;
    top: calc(1.5rem + 1.125rem);
  }

  .steps[dir="rtl"] .step-tab:nth-child(3)::before {
    top: auto;
    bottom: calc(100% - 1.5rem - 1.125rem);
  }

  .steps[dir="rtl"] .step-tab:nth-child(1)::after,
  .steps[dir="rtl"] .step-tab:nth-child(2)::after,
  .steps[dir="rtl"] .step-tab:nth-child(4)::after,
  .steps[dir="rtl"] .step-tab:nth-child(6)::before,
  .steps[dir="rtl"] .step-tab:nth-child(6)::after {
    display: none;
  }

  .steps[dir="rtl"] .step-tab:nth-child(2)::before,
  .steps[dir="rtl"] .step-tab:nth-child(4)::before {
    display: block;
    left: 0;
    width: 50%;
    height: 4px;
    top: calc(1.5rem + 1.125rem - 2px);
  }

  .steps[dir="rtl"] .step-tab:nth-child(3)::after,
  .steps[dir="rtl"] .step-tab:nth-child(5)::after {
    display: block;
    left: auto;
    right: 0;
    width: 50%;
    height: 4px;
    top: calc(1.5rem + 1.125rem - 2px);
  }

}

.fase-head {
  max-width: 56ch;
  margin-bottom: 1.25rem;
}

.fase-head h2 {
  margin-bottom: 0.25rem;
}

.fase-head p {
  margin: 0;
  color: var(--ink-2);
}

.js .fase:not(.is-active) {
  display: none;
}

.fase + .fase {
  margin-top: 2.5rem;
}

.js .fase + .fase {
  margin-top: 0;
}

.mods {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.mod {
  position: relative;
  max-width: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.1rem 1.2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mod:not(.is-soon) {
  box-shadow: var(--shadow-sm);
}

.mod:hover,
.mod:focus-within {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}

.mod.is-soon {
  background: var(--paper-2);
  border-style: dashed;
}

.mod.is-soon:hover {
  border-color: var(--line);
  box-shadow: none;
}

.mod-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.mod-ico {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-tint);
  color: var(--blue);
}

.mod.is-soon .mod-ico {
  background: var(--paper);
  color: var(--control);
}

.mod-ico .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.mod-head h3 {
  flex: 1;
  margin: calc(0.35rem + 3px) 0 0;
  font-size: 1.0625rem;
}

.mod.is-soon h3 {
  color: var(--ink-2);
}

.mod-head h3 a {
  color: inherit;
  text-decoration: none;
}

.mod-head h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.mod-head h3 a:focus-visible {
  outline: none;
}

.mod:has(h3 a:focus-visible) {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.mod-done {
  position: relative;
  z-index: 1;
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--control);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.mod-done .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.mod-done:hover {
  border-color: var(--ok);
  color: var(--ok);
}

.mod-done[aria-pressed="true"] {
  border-color: var(--ok);
  background: var(--ok);
  color: #fff;
}

.mod-done:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.mod-desc {
  margin: 0;
  color: var(--ink-2);
  flex: 1;
}

.mod-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1rem;
  margin: 0;
  font-size: 0.875rem;
  color: var(--ink-2);
}

.mod-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.mod-meta .icon {
  width: 1rem;
  height: 1rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

@media (min-width: 48em) {
  .mods {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 47.99em) {
  .journey {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 1rem 0.75rem 0.5rem;
  }

  /* three columns, two rows: 1 down to 2, right to 3, up to 4, right to 5, down to 6 */
  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .step-tab {
    padding-bottom: 0.75rem;
    font-size: 0.875rem;
  }

  .step-tab:nth-child(1) { grid-area: 1 / 1; }
  .step-tab:nth-child(2) { grid-area: 2 / 1; }
  .step-tab:nth-child(3) { grid-area: 2 / 2; }
  .step-tab:nth-child(4) { grid-area: 1 / 2; }
  .step-tab:nth-child(5) { grid-area: 1 / 3; }
  .step-tab:nth-child(6) { grid-area: 2 / 3; }

  /* vertical legs: from this dot down (1, 5) or up (3) to the next dot */
  .step-tab:nth-child(1)::after,
  .step-tab:nth-child(5)::after,
  .step-tab:nth-child(3)::after {
    left: calc(50% - 2px);
    right: auto;
    width: 4px;
    height: 100%;
    top: calc(1.5rem + 1.125rem);
  }

  .step-tab:nth-child(3)::after {
    top: auto;
    bottom: calc(100% - 1.5rem - 1.125rem);
  }

  .step-tab:nth-child(2)::before,
  .step-tab:nth-child(4)::before,
  .step-tab:nth-child(6)::before,
  .step-tab:nth-child(6)::after {
    display: none;
  }

  .step-tab:nth-child(2)::after,
  .step-tab:nth-child(4)::after {
    display: block;
  }

  /* mirrored: the horizontal halves swap sides, the vertical legs move to the other pseudo-element */
  .steps[dir="rtl"] .step-tab:nth-child(1)::before,
  .steps[dir="rtl"] .step-tab:nth-child(3)::before,
  .steps[dir="rtl"] .step-tab:nth-child(5)::before {
    display: block;
    left: calc(50% - 2px);
    width: 4px;
    height: 100%;
    top: calc(1.5rem + 1.125rem);
  }

  .steps[dir="rtl"] .step-tab:nth-child(3)::before {
    top: auto;
    bottom: calc(100% - 1.5rem - 1.125rem);
  }

  .steps[dir="rtl"] .step-tab:nth-child(1)::after,
  .steps[dir="rtl"] .step-tab:nth-child(2)::after,
  .steps[dir="rtl"] .step-tab:nth-child(4)::after,
  .steps[dir="rtl"] .step-tab:nth-child(6)::before,
  .steps[dir="rtl"] .step-tab:nth-child(6)::after {
    display: none;
  }

  .steps[dir="rtl"] .step-tab:nth-child(2)::before,
  .steps[dir="rtl"] .step-tab:nth-child(4)::before {
    display: block;
    left: 0;
    width: 50%;
    height: 4px;
    top: calc(1.5rem + 1.125rem - 2px);
  }

  .steps[dir="rtl"] .step-tab:nth-child(3)::after,
  .steps[dir="rtl"] .step-tab:nth-child(5)::after {
    display: block;
    left: auto;
    right: 0;
    width: 50%;
    height: 4px;
    top: calc(1.5rem + 1.125rem - 2px);
  }

}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.kicker-sep {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 0.5em;
  vertical-align: middle;
  border-radius: 50%;
  background: currentColor;
}

/* Breadcrumb row: back sign, crumbs and a compact language menu */
.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
}

.crumb > a:not(.sign-btn) {
  color: inherit;
  text-decoration: none;
}

.crumb > a:not(.sign-btn):hover {
  text-decoration: underline;
}

.crumb .sign-btn {
  margin-inline-end: 0.7rem;
}

.crumb .langmenu {
  position: relative;
  top: -1px;
  margin-inline-start: 0.1rem;
}

.crumb .langmenu summary {
  gap: 0.3rem;
  padding: 0.33rem 0.42rem 0.33rem 0.55rem;
  font-size: 0.89rem;
}

.crumb .langmenu summary .flag {
  width: 1.28rem;
  height: 0.86rem;
}

.sign-btn.sign-btn-sm {
  position: relative;
  top: -2px;
  width: 2.1rem;
  min-height: 1.85rem;
  padding: 0;
  justify-content: center;
  border-radius: 8px;
  box-shadow: inset 0 0 0 2px var(--blue), inset 0 0 0 3.5px #fff, var(--shadow-sm);
}

.sign-btn.sign-btn-sm:hover {
  box-shadow: inset 0 0 0 2px var(--blue-deep), inset 0 0 0 3.5px #fff, var(--shadow-md);
}

.sign-btn.sign-btn-sm .icon {
  width: 1rem;
  height: 1rem;
}

/* Photo, lead and reading time open the white part of the page; the hero stays as short as the hub's */
.module-intro {
  max-width: 44rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

/* The intro stays a step above the module text at every width, phones included */
.module-intro .lead {
  margin: 0;
  font-size: 1.15em;
  color: var(--ink);
}

/* Trial: a module with a photo shows a short strip of it on top of its card on the hub */
.mod-photo {
  margin: -1.1rem -1.2rem 0.5rem;
  height: 4.46rem;
  border-radius: var(--r-md) var(--r-md) 0 0;
  overflow: hidden;
}

.mod-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Grey stand-ins for a hero photo that is not there yet */
.mod-photo-empty,
.photo-placeholder {
  background: var(--line);
}

.photo-placeholder {
  aspect-ratio: 1117 / 432;
  border-radius: var(--r-md);
}

.article-photo {
  margin: 0 0 1.25rem;
}

.article-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-md);
}

.article-photo figcaption {
  margin-top: 0.4rem;
  font-size: 0.8125rem;
  color: var(--ink-2);
}

.page-hero .article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--ink-2);
}

.page-hero .article-meta p {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
}

/* Narrow screens: the side column folds into the article (reading settings behind Aa, video behind a button,
   the facts box inline, one native share button); wide screens keep the column */
.slot-mobile {
  display: none;
}

/* Narrow-screen reading controls: two icon buttons that cycle through the sizes, right-aligned next to the reading time */
.meta-tools {
  margin-inline-start: auto;
  gap: 0.4rem;
}

.meta-btn {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.meta-btn .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.meta-btn.is-set {
  border-color: var(--blue);
  color: var(--blue);
}

.meta-btn:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

/* Share icons over the article photo, and the small confirmation that drops in after copying */
.photo-frame {
  position: relative;
}

.photo-share {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  gap: 0.35rem;
}

[dir="rtl"] .photo-share {
  right: auto;
  left: 0.6rem;
}

.photo-share a,
.photo-share button {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  cursor: pointer;
}

.photo-share .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.photo-share a:focus-visible,
.photo-share button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.toast {
  position: fixed;
  top: 0.75rem;
  left: 50%;
  z-index: 160;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translate(-50%, -150%);
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
}

.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* The video button in YouTube's own style */
.yt-btn {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 1.1rem;
  background: #f00;
  color: #fff;
  border-radius: var(--r-md);
  box-shadow: inset 0 0 0 3px #f00, inset 0 0 0 5px #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.yt-btn .yt-logo {
  width: 1.5rem;
  height: 1.5rem;
}

.yt-btn::-webkit-details-marker {
  display: none;
}

.yt-btn:hover {
  background: #d90000;
  box-shadow: inset 0 0 0 3px #d90000, inset 0 0 0 5px #fff;
}

.yt-btn:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.yt-btn .drop-caret {
  margin-inline-start: auto;
}

.drop-caret {
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

.video-drop[open] .drop-caret {
  transform: rotate(-90deg);
}

.video-drop-body {
  margin-top: 0.75rem;
}

@media (max-width: 59.99em) {
  .js .slot-mobile {
    display: block;
  }

  .js .meta-tools,
  .js .photo-share {
    display: flex;
  }

  .js .article-side {
    display: none;
  }

  /* side blocks read as part of the article here */
  .article [data-move] {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .article [data-move] h2 {
    font-size: 1.5em;
    margin: 0 0 0.5rem;
  }

  .article [data-move] .side-list li,
  .article [data-move] .side-note {
    font-size: 1em;
    color: var(--ink);
  }
}

.article-meta .icon {
  width: 1rem;
  height: 1rem;
}

/* Blue sign with the white inner border of the route board */
.sign-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.5rem 1rem 0.5rem 0.85rem;
  background: var(--blue);
  color: #fff;
  border-radius: var(--r-md);
  box-shadow: inset 0 0 0 3px var(--blue), inset 0 0 0 5px #fff, var(--shadow-sm);
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.sign-btn:hover {
  background: var(--blue-deep);
  color: #fff;
  box-shadow: inset 0 0 0 3px var(--blue-deep), inset 0 0 0 5px #fff, var(--shadow-md);
  transform: translateY(-1px);
}

.sign-btn:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.sign-btn .icon {
  width: 1.1rem;
  height: 1.1rem;
}

[dir="rtl"] .module-back .icon {
  transform: scaleX(-1);
}

.rbh,
.module {
  padding-top: clamp(2rem, 4vw, 3rem);
}

/* minmax(0, 1fr): a wide table or button row inside must not stretch the column past the screen */
.module-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

@media (min-width: 60em) {
  .module-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 2rem;
    align-items: start;
  }
}

.stage,
.side-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.stage {
  box-shadow: var(--shadow-md);
}

.side-card h2 {
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
}

.side-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.side-list li {
  max-width: none;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.side-list .icon {
  flex: none;
  margin-top: 0.15rem;
  color: var(--ok);
}

.side-list .icon.is-warn {
  color: var(--orange);
}

.side-list strong {
  color: var(--ink);
}

.side-note {
  margin: 1rem 0 0;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.side-cta {
  width: 100%;
  margin-top: 1rem;
}

/* The plan button opens the lesson form inside its card, like the video drop */
.plan-drop > summary {
  list-style: none;
}

.plan-drop > summary::-webkit-details-marker {
  display: none;
}

.plan-drop[open] .drop-caret {
  transform: rotate(-90deg);
}

/* Under every Rijbewijshulp module: general information, with a link to the disclaimer */
.module-note {
  max-width: var(--measure);
  margin: 2.5rem 0 0;
  font-size: 0.875rem;
  color: var(--ink-2);
}

.plan-drop .form-card {
  max-width: none;
  margin-top: 1rem;
  padding: 0;
  box-shadow: none;
}

.plan-drop .form-row {
  grid-template-columns: 1fr;
}

.side-ready {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0 0;
  font-weight: 700;
  color: var(--ok);
}

.side-ready .icon {
  flex: none;
}

/* Date of birth as day, month and year */
.dob {
  min-width: 0;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}

.dob legend {
  padding: 0;
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-size: 0.9375rem;
}

.dob-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.dob-field {
  display: grid;
  gap: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink-2);
}

.dob-field input {
  width: 4.5rem;
  height: 2.9rem;
  padding: 0.4rem;
  border: 1.5px solid var(--control);
  border-radius: var(--r-sm);
  background: var(--paper);
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
}

.dob-field:last-child input {
  width: 5.75rem;
}

.dob-field input::placeholder {
  color: #9aa4b2;
  font-weight: 600;
  opacity: 1;
}

.dob-field input:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(2, 73, 154, 0.25);
}

.hint-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hint {
  position: relative;
  top: -1px;
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--control);
  cursor: pointer;
}

.hint .icon {
  width: 1.1rem;
  height: 1.1rem;
}

.hint:hover,
.hint:focus-visible,
.hint-wrap.is-open .hint {
  color: var(--blue);
}

.hint:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.hint-text {
  position: absolute;
  left: 0;
  top: calc(100% + 0.5rem);
  z-index: 5;
  width: max-content;
  max-width: min(18rem, calc(100vw - 4rem));
  padding: 0.55rem 0.75rem;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: var(--shadow-md);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.hint-wrap:hover .hint-text,
.hint-wrap:focus-within .hint-text,
.hint-wrap.is-open .hint-text {
  visibility: visible;
  opacity: 1;
}

[dir="rtl"] .hint-text {
  left: auto;
  right: 0;
}

.stage-cta {
  margin-top: 1.25rem;
}

.milestones {
  list-style: none;
  margin: 0;
  padding: 0;
}

.milestone {
  max-width: none;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 0.25rem;
  border-bottom: 1px solid var(--line);
}

.milestone:last-child {
  border-bottom: 0;
}

.milestone-mark {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-tint);
  color: var(--blue);
  font-weight: 800;
}

.milestone-mark .icon {
  display: none;
  width: 1.1rem;
  height: 1.1rem;
}

.milestone.is-open .milestone-mark {
  background: var(--ok);
  color: #fff;
}

.milestone.is-open .milestone-mark .icon {
  display: block;
}

.milestone.is-open .milestone-mark b {
  display: none;
}

.milestone-body {
  display: grid;
  gap: 0.1rem;
}

.milestone-age {
  font-size: 0.875rem;
  color: var(--ink-2);
}

.milestone-when {
  display: grid;
  justify-items: end;
  text-align: end;
  font-size: 0.9375rem;
}

.milestone-when time {
  font-weight: 700;
}

.milestone-when em {
  font-style: normal;
  font-size: 0.8125rem;
  color: var(--ink-2);
}

.milestone.is-open .milestone-when em {
  color: var(--ok);
  font-weight: 700;
}

/* Wizard: one question at a time */
.wizard-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.wizard-progress {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--blue);
}

.wizard-dots {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.4rem;
}

.wizard-dots li {
  max-width: none;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--line);
  transition: background-color 0.2s ease;
}

.wizard-dots li.is-done {
  background: var(--blue);
}

.wizard-dots li.is-active {
  background: var(--orange);
}

.wizard-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.js .wizard-step:not(.is-active) {
  display: none;
}

.wizard-step {
  max-width: none;
}

.wizard-step fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.wizard-step legend {
  padding: 0;
  margin-bottom: 1rem;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
}

.options {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 36em) {
  .options {
    grid-template-columns: 1fr 1fr;
  }
}

.option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.option:hover {
  border-color: var(--blue);
}

.option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.option-ico {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-tint);
  color: var(--blue);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.option-ico .icon {
  width: 1.3rem;
  height: 1.3rem;
}

.option:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue-tint);
  box-shadow: inset 0 0 0 1px var(--blue);
}

.option:has(input:checked) .option-ico {
  background: var(--blue);
  color: #fff;
}

.option:has(input:focus-visible) {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.wizard-nav {
  margin-top: 1rem;
  min-height: 2.5rem;
}

.wizard.is-finished .wizard-bar,
.wizard.is-finished .wizard-steps,
.wizard.is-finished .wizard-nav {
  display: none;
}

.verdict {
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem;
  border-radius: var(--r-md);
  background: var(--blue);
  color: #fff;
  box-shadow: inset 0 0 0 3px var(--blue), inset 0 0 0 5px #fff;
}

@media (min-width: 48em) {
  .verdict {
    grid-template-columns: 13rem minmax(0, 1fr);
    align-items: center;
  }
}

.verdict-car {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
}

.verdict-car img {
  width: 100%;
  max-width: 13rem;
  height: auto;
  filter: drop-shadow(0 10px 10px rgba(18, 35, 58, 0.35));
}

.plate {
  display: inline-flex;
  align-items: center;
  padding: 2px 0.7rem 0 0;
  background: #f5b800;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plate::before {
  content: "NL";
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin: -2px 0.65rem 0 0;
  padding: calc(0.95rem + 1px) 0.3rem calc(0.25rem - 1px);
  background: #003399 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f5b800'%3E%3Ccircle cx='21.00' cy='12.00' r='1.4'/%3E%3Ccircle cx='19.79' cy='16.50' r='1.4'/%3E%3Ccircle cx='16.50' cy='19.79' r='1.4'/%3E%3Ccircle cx='12.00' cy='21.00' r='1.4'/%3E%3Ccircle cx='7.50' cy='19.79' r='1.4'/%3E%3Ccircle cx='4.21' cy='16.50' r='1.4'/%3E%3Ccircle cx='3.00' cy='12.00' r='1.4'/%3E%3Ccircle cx='4.21' cy='7.50' r='1.4'/%3E%3Ccircle cx='7.50' cy='4.21' r='1.4'/%3E%3Ccircle cx='12.00' cy='3.00' r='1.4'/%3E%3Ccircle cx='16.50' cy='4.21' r='1.4'/%3E%3Ccircle cx='19.79' cy='7.50' r='1.4'/%3E%3C/svg%3E") no-repeat center 0.2rem / 0.7rem 0.7rem;
  border-radius: 4px 0 0 4px;
  color: #fff;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0;
}

.verdict-kicker {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  opacity: 0.85;
}

.verdict h3 {
  color: #fff;
  font-size: 1.2rem;
  margin: 0.15rem 0 0.4rem;
}

.verdict p {
  margin: 0;
  color: #fff;
}

.verdict .btn {
  margin-top: 0.9rem;
}

/* Tour: the first hour, step by step */
.tour-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.js .tour-step:not(.is-active) {
  display: none;
}

.tour-step {
  max-width: none;
  min-height: 8rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--blue-soft);
}

.tour-step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.tour-step p {
  margin: 0;
  color: var(--ink-2);
}

.tour-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* When long labels no longer fit side by side, Next wraps below and stays on the far side */
.tour-nav > :last-child,
.licence-nav > :last-child {
  margin-inline-start: auto;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.checklist li {
  max-width: none;
}

.checklist label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  font-size: 0.9375rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.checklist input {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.05rem 0 0;
  accent-color: var(--ok);
}

.checklist li.is-done label {
  border-color: var(--ok);
  background: #f2f9f5;
}

.checklist label:has(input:focus-visible) {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.compare th,
.compare td {
  padding: 0.65rem 0.4rem;
  border-bottom: 1px solid var(--line);
  text-align: start;
  vertical-align: top;
}

.compare thead th {
  font-size: 0.875rem;
  color: var(--ink-2);
}

.compare tbody th {
  width: 34%;
}

/* Video behind a local poster */
.video-play {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: var(--r-md);
  background: var(--ink);
  overflow: hidden;
  cursor: pointer;
}

.video-play img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-play:hover img {
  transform: scale(1.03);
}

.video-play:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.video-icon {
  position: absolute;
  inset: 0;
  width: 3.5rem;
  height: 3.5rem;
  margin: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.video-icon .icon {
  width: 1.6rem;
  height: 1.6rem;
  margin-left: 0.2rem;
}

.video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--r-md);
  background: var(--ink);
}


@media (max-width: 35.99em) {
  .milestone {
    grid-template-columns: auto 1fr;
  }

  .milestone-when {
    grid-column: 2;
    justify-items: start;
    text-align: start;
  }
}

/* Leeftijd reads as an article: one prose column with the interactive blocks framed inside it */
.article {
  max-width: 44rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  --article-size: clamp(1.0625rem, 1rem + 0.3vw, 1.125rem);
  font-size: var(--article-size);
}

.article section > :last-child {
  margin-bottom: 0;
}

/* Reading settings scale the article text only; sizes inside the article are relative to it */
.article h2 {
  font-size: 1.5em;
  margin-bottom: 0.5rem;
}

.article h3 {
  font-size: 1.15em;
  margin: 1.25rem 0 0.35rem;
}

.article .module-intro {
  margin-bottom: 0;
}

.article-steps,
.article-list {
  padding-inline-start: 1.4rem;
  display: grid;
  gap: 0.4rem;
}

/* Tabs inside a module: a tab row on a baseline; the open tab joins the panel below it */
.module-tabs {
  display: grid;
  gap: 1.5rem;
}

.module-tablist {
  display: none;
}

.js .module-tablist {
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  padding-top: 0.25rem;
  box-shadow: inset 0 -1px 0 var(--line);
  scrollbar-width: none;
}

.js .module-tablist::-webkit-scrollbar {
  display: none;
}

.module-tablist button {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.6rem 1.1rem;
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  background: transparent;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-2);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.module-tablist .icon {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
}

.module-tablist button:hover {
  background: var(--blue-soft);
  color: var(--blue);
}

.module-tablist button[aria-selected="true"] {
  border-color: var(--line);
  background: var(--paper);
  color: var(--blue);
  box-shadow: inset 0 3px 0 var(--blue);
}

.module-tablist button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: -3px;
}

.module-panel {
  display: grid;
  gap: 1.25rem;
}

.module-panel:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Question types: one CBR animation at a time with its explanation */
.qtypes {
  margin: 0.5rem 0 0.4rem;
  padding: clamp(0.9rem, 2.5vw, 1.25rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: var(--shadow-md);
}

.qtypes-bar,
.qtypes-nav {
  display: none;
}

.js .qtypes-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 0.9rem;
}

.js .qtypes-nav {
  display: flex;
}

.qtypes-bar .wizard-dots {
  margin-inline-end: auto;
}

.qtypes-motion {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.qtypes-motion .icon {
  width: 1rem;
  height: 1rem;
}

.qtypes-motion:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.qtypes-motion:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.qtypes-list {
  list-style: none;
  max-width: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.js .qtype:not(.is-active) {
  display: none;
}

.qtype {
  max-width: none;
  display: grid;
  gap: 0.9rem;
}

.qtype-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 400;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper-2);
}

.qtype-text h3 {
  margin: 0 0 0.35rem;
}

.qtype-text p {
  max-width: none;
  margin: 0;
}

.qtype-text p + p {
  margin-top: 0.4rem;
  color: var(--ink-2);
}

.qtype-cbr {
  font-weight: 600;
}

.qtypes-credit {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  color: var(--ink-2);
}

[dir="rtl"] .qtypes-nav .icon,
[dir="rtl"] .tour-nav .icon {
  transform: scaleX(-1);
}

/* Narrow screens: the counter already says where you are, so the dots make room for the pause button */
@media (max-width: 30em) {
  .qtypes-bar .wizard-dots {
    display: none;
  }

  .js .qtypes-bar {
    justify-content: space-between;
    gap: 0.5rem;
  }

  .qtypes-motion {
    padding-inline: 0.6rem;
    font-size: 0.8125rem;
  }
}

/* The eight theory topics as a numbered grid */
.topic-grid {
  list-style: none;
  max-width: none;
  margin: 0.4rem 0 1rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.6rem;
}

.topic-grid li {
  max-width: none;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--blue-soft);
}

.topic-no {
  flex: none;
  width: 1.8rem;
  height: 1.8rem;
  display: grid;
  place-items: center;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: var(--paper);
  color: var(--blue);
  font-size: 0.875em;
  font-weight: 800;
}

.topic-text {
  font-size: 0.9375em;
  line-height: 1.45;
  color: var(--ink-2);
}

.topic-text strong {
  display: block;
  margin-bottom: 0.15rem;
  line-height: 1.25;
  color: var(--ink);
}

/* The four-week plan: weeks on a line, one open at a time */
.plan-weeks {
  list-style: none;
  max-width: none;
  margin: 0.5rem 0 0;
  padding: 0;
}

.plan-weeks li {
  position: relative;
  max-width: none;
  padding-inline-start: 3.1rem;
}

.plan-weeks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 1.05rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.plan-weeks li:first-child::before {
  top: 1.9rem;
}

.plan-weeks li:last-child::before {
  bottom: auto;
  height: 1.9rem;
}

.plan-weeks details,
.plan-weeks details:first-child {
  border-top: 0;
  border-bottom: 1px solid var(--line);
}

.plan-weeks li:last-child details {
  border-bottom: 0;
}

.plan-weeks summary {
  display: flex;
  align-items: center;
  min-height: 3.6rem;
  padding: 0.7rem 2.75rem 0.7rem 0;
}

.plan-weeks summary::after {
  top: 50%;
  margin-top: -0.875rem;
}

.week-no {
  position: absolute;
  inset-inline-start: -3.1rem;
  top: 50%;
  width: 2.2rem;
  height: 2.2rem;
  margin-top: -1.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 0 0 4px var(--paper);
  transition: background-color 0.2s ease;
}

.plan-weeks details[open] .week-no {
  background: var(--orange);
}

.week-text {
  display: grid;
  gap: 0.1rem;
}

.week-text small {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink-2);
}

.plan-weeks .faq-body p {
  margin: 0 0 1rem;
}

[dir="rtl"] .plan-weeks summary {
  padding: 0.7rem 0 0.7rem 2.75rem;
}

[dir="rtl"] .plan-weeks summary::after {
  right: auto;
  left: 0.25rem;
}

/* Article blocks from text.html; without script every step, panel and answer stays readable */
.tour .wizard-bar,
.tour .tour-nav {
  display: none;
}

.js .tour .wizard-bar,
.js .tour .tour-nav {
  display: flex;
}

/* The step counter and dots sit at the top inside the box with the step they count */
.tour-box {
  padding: 1rem 1.25rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--blue-soft);
}

.tour-box .wizard-bar {
  margin-bottom: 0.75rem;
}

/* The phase after the step counter reads better with one pixel of air */
.wizard-tag {
  padding-inline-start: 1px;
}

.article .tour-box .tour-step h3 {
  margin-top: 0;
}

.tour-box .tour-step {
  min-height: 7rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}

.article .tour {
  margin: 0.25rem 0;
}

/* Pick your situation: choose one option, its answer follows as plain article text */
.choice {
  display: grid;
  gap: 0.75rem;
  margin: 0.5rem 0 0.25rem;
}

.choice-label {
  margin: 0;
  font-weight: 700;
}

.choice-list {
  display: none;
}

.js .choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.choice-list button {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  text-align: start;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

/* A radio mark shows the chosen option without relying on colour */
.choice-list:not(.choice-tiles) button::before {
  content: "";
  flex: none;
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--control);
  border-radius: 50%;
  background: var(--paper);
}

.choice-list button:hover {
  border-color: var(--blue);
}

.choice-list button[aria-selected="true"] {
  border-color: var(--blue);
  color: var(--blue);
}

.choice-list:not(.choice-tiles) button[aria-selected="true"]::before {
  border-color: var(--blue);
  box-shadow: inset 0 0 0 3px var(--paper);
  background: var(--blue);
}

.choice-list button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.choice-panel:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
  border-radius: 4px;
}

.article .choice-panel h3 {
  margin: 0.25rem 0 0.35rem;
}

.choice-panel p {
  margin: 0;
}

.choice-panel p + p {
  margin-top: 0.6rem;
}

.article .choice-panel h4 {
  margin: 0.9rem 0 0.2rem;
  font-size: 1em;
}

/* Options share one row where there is room; two columns on phones */
@media (max-width: 35.99em) {
  .js .choice-list:not(.choice-tiles) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* A single long word (Russian, German) must break inside its half-width option */
  .choice-list button {
    hyphens: auto;
    overflow-wrap: break-word;
  }

  .choice-list button > span {
    min-width: 0;
  }
}

@media (min-width: 36em) {
  .js .choice-list:not(.choice-tiles) {
    flex-wrap: nowrap;
  }

  .choice-list:not(.choice-tiles) button {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.4rem;
    padding-inline: 0.6rem;
    font-size: 0.875rem;
  }
}

.tour-img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
}

.block-credit {
  margin: 0.4rem 0 0;
  font-size: 0.8125rem;
  color: var(--ink-2);
}

/* Outgoing links in the side column: full-width buttons with an external-link mark */
.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.link-list li {
  max-width: none;
}

.link-list .btn {
  width: 100%;
  justify-content: space-between;
  text-align: start;
  font-size: 0.9375rem;
  box-shadow: none;
}

.link-list .btn:hover {
  box-shadow: none;
  transform: none;
}

.link-list .icon {
  flex: none;
  width: 1rem;
  height: 1rem;
}

/* Kentekencheck: a plate field and the facts the RDW publishes about that car */
.plate-intro {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.plate-form {
  display: grid;
  gap: 0.6rem;
}

.plate-field {
  display: grid;
  gap: 0.3rem;
  font-size: 0.9375rem;
  font-weight: 700;
}

/* The field is the plate itself: EU band, yellow ground, black characters */
.plate-plate {
  display: flex;
  align-items: stretch;
  border: 2px solid #1a1a1a;
  border-radius: 7px;
  background: #f4c200;
  overflow: hidden;
}

.plate-plate:focus-within {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.plate-band {
  flex: none;
  width: 2.1rem;
  display: grid;
  place-content: center;
  gap: 0.15rem;
  padding: 0.3rem 0;
  background: #0b3c9b;
  color: #ffcc00;
  text-align: center;
}

.plate-stars {
  width: 1.15rem;
  height: 1.15rem;
  margin-inline: auto;
}

.plate-band b {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
}

.plate-input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 3rem;
  padding: 0.35rem 0.5rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  color: #1a1a1a;
}

.plate-input::placeholder {
  color: #7a6200;
  font-weight: 700;
}

.plate-input:focus {
  outline: none;
}

.plate-status:not(:empty) {
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.plate-result {
  margin: 0.9rem 0 0;
}

.plate-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.75rem;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}

.plate-row dt {
  color: var(--ink-2);
}

.plate-row dd {
  margin: 0;
  font-weight: 700;
  text-align: end;
}

.plate-source {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  color: var(--ink-2);
}

/* Schadeformulier: the front of the sheet as an image, with a clickable area over every box */
.claimform {
  margin: 0.5rem 0 0.25rem;
}

.cf-sheet {
  position: relative;
  max-width: 30rem;
  margin-inline: auto;
  border: 1px solid var(--line);
  background: #fff;
}

.cf-image {
  display: block;
  width: 100%;
  height: auto;
}

.cf-hot {
  position: absolute;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.cf-hot:hover {
  border-color: var(--blue);
  background: rgba(2, 73, 154, 0.12);
}

.cf-hot.is-active {
  border-color: var(--orange);
  background: rgba(234, 95, 20, 0.22);
  box-shadow: 0 0 0 1px var(--orange);
}

.cf-hot:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 1px;
}

.cf-hot-1 { left: 1.07%; top: 2.01%; width: 23.73%; height: 3.14%; }
.cf-hot-2 { left: 25.34%; top: 2.01%; width: 31.99%; height: 3.14%; }
.cf-hot-3 { left: 58.00%; top: 2.01%; width: 16.01%; height: 3.14%; }
.cf-hot-4 { left: 1.07%; top: 5.60%; width: 33.28%; height: 4.68%; }
.cf-hot-5 { left: 35.91%; top: 5.60%; width: 62.92%; height: 4.61%; }
.cf-hot-6a { left: 1.07%; top: 13.46%; width: 34.16%; height: 10.12%; }
.cf-hot-6b { left: 64.75%; top: 13.44%; width: 34.08%; height: 10.15%; }
.cf-hot-7a { left: 1.07%; top: 23.83%; width: 34.16%; height: 10.93%; }
.cf-hot-7b { left: 64.75%; top: 23.83%; width: 34.08%; height: 10.93%; }
.cf-hot-8a { left: 1.07%; top: 35.23%; width: 34.16%; height: 20.05%; }
.cf-hot-8b { left: 64.75%; top: 35.20%; width: 34.08%; height: 20.09%; }
.cf-hot-9a { left: 1.07%; top: 55.28%; width: 34.16%; height: 16.88%; }
.cf-hot-9b { left: 64.75%; top: 55.28%; width: 34.08%; height: 16.86%; }
.cf-hot-10a { left: 1.07%; top: 76.47%; width: 18.00%; height: 8.03%; }
.cf-hot-10b { left: 81.21%; top: 76.38%; width: 17.62%; height: 8.13%; }
.cf-hot-11a { left: 1.07%; top: 85.09%; width: 18.00%; height: 6.81%; }
.cf-hot-11b { left: 81.21%; top: 85.10%; width: 17.62%; height: 6.81%; }
.cf-hot-12 { left: 35.80%; top: 10.96%; width: 28.36%; height: 55.59%; }
.cf-hot-13 { left: 19.55%; top: 72.55%; width: 61.18%; height: 19.38%; }
.cf-hot-14a { left: 1.07%; top: 92.37%; width: 29.67%; height: 6.55%; }
.cf-hot-14b { left: 68.34%; top: 92.37%; width: 30.48%; height: 6.56%; }
.cf-hot-15 { left: 32.82%; top: 92.37%; width: 34.37%; height: 6.56%; }

.spot-info {
  margin-top: 0.9rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--blue-soft);
}

.article .spot-info-title {
  margin: 0 0 0.25rem;
}

.spot-info-text {
  margin: 0;
  color: var(--ink-2);
}

.spot-nav {
  margin-top: 0.75rem;
}

/* Waarschuwingslampjes: the symbols on dark tiles, the way they light up on an instrument cluster */
.lamp-dot {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  margin-inline-end: 0.5rem;
  border-radius: 50%;
  vertical-align: baseline;
}

.lamp-dot-red {
  background: #d32f2f;
}

.lamp-dot-orange {
  background: #ef8c11;
}

.lamp-dot-green {
  background: var(--ok);
}

.lamp-dot-blue {
  background: #1f6fd0;
}

.lamp-dot-white {
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--control);
}

.article .lamp-group {
  margin: 1.5rem 0 0.6rem;
  font-size: 1rem;
}

.article .lamp-group:first-child {
  margin-top: 0;
}

.lamp-grid {
  list-style: none;
  max-width: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(3.25rem, 1fr));
  gap: 0.5rem;
}

.lamp {
  display: block;
  width: 100%;
  padding: 0.4rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #1b2027;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lamp img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}

.lamp:hover {
  border-color: var(--blue);
}

.lamp.is-active {
  border-color: var(--orange);
  box-shadow: 0 0 0 2px var(--orange);
}

.lamp:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}


/* Tiles: a small drawing per option, the same drawing larger next to its explanation */
.js .choice-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
}

.choice-tiles button {
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
  padding: 0.4rem 0.4rem 0.55rem;
  font-size: 0.875rem;
  text-align: center;
}

.choice-tiles button[aria-selected="true"] {
  box-shadow: inset 0 0 0 1px var(--blue);
  font-weight: 800;
}

.dg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 160 / 100;
  border-radius: 4px;
}

.choice-panel.has-diagram {
  display: grid;
  gap: 1rem;
}

.choice-panel .dg {
  border: 1px solid var(--line);
}

@media (min-width: 36em) {
  .choice-panel.has-diagram {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    align-items: center;
  }
}

/* Dates and deadlines on a line */
.timeline {
  list-style: none;
  max-width: none;
  margin: 0.5rem 0 0;
  padding: 0;
}

.timeline li {
  position: relative;
  max-width: none;
  padding-inline-start: 1.9rem;
  padding-bottom: 1.1rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0.35rem;
  top: 0.3rem;
  width: 0.9rem;
  height: 0.9rem;
  border: 3px solid var(--blue);
  border-radius: 50%;
  background: var(--paper);
}

.timeline li::after {
  content: "";
  position: absolute;
  inset-inline-start: calc(0.8rem - 1px);
  top: 1.2rem;
  bottom: -0.3rem;
  width: 2px;
  background: var(--line);
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li:last-child::after {
  display: none;
}

.timeline-tag {
  display: block;
  font-size: 0.875em;
  color: var(--ink-2);
}

.timeline strong {
  display: block;
  line-height: 1.3;
}

.timeline p {
  margin: 0.2rem 0 0;
  color: var(--ink-2);
}

/* Short points that belong together but have no order */
.point-list {
  list-style: none;
  max-width: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  column-gap: 1.5rem;
}

.point-list li {
  max-width: none;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
}

.point-list strong {
  display: block;
  color: var(--ink);
}

@media (min-width: 36em) {
  .point-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.compare-wrap {
  overflow-x: auto;
  margin: 0.5rem 0 0.25rem;
}

.article .compare {
  font-size: 0.9375em;
}

.article .compare thead th {
  font-size: 1em;
  color: var(--ink);
}

.article .compare tbody th {
  font-weight: 600;
  color: var(--ink-2);
}

.article-faq {
  max-width: none;
  margin-top: 0.5rem;
}

.article-faq summary {
  font-size: 1em;
}

[dir="rtl"] .article-faq summary {
  padding: 1rem 0 1rem 2.5rem;
}

[dir="rtl"] .article-faq summary::after {
  right: auto;
  left: 0.25rem;
}

.article-sources {
  margin: 0;
  font-size: 0.875em;
  color: var(--ink-2);
}

.article-side {
  align-self: start;
  display: grid;
  gap: 1.25rem;
}

.article-side h2,
.article-side .share-label {
  font-size: 1.15em;
  margin: 0 0 0.9rem;
}

.side-block + .side-block {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.setting + .setting {
  margin-top: 0.9rem;
}

.setting-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-2);
}

.seg {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.seg button {
  min-height: 2.25rem;
  padding: 0.35rem 0.8rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.seg button:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.seg button[aria-pressed="true"] {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.seg button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

html[data-text="large"] .article {
  font-size: calc(var(--article-size) * 1.125);
}

html[data-text="xl"] .article {
  font-size: calc(var(--article-size) * 1.25);
}

html[data-spacing="wide"] .article {
  line-height: 1.85;
}

/* WCAG 1.4.12 text spacing: wider letters and words help readers with dyslexia */
html[data-letters="wide"] .article {
  letter-spacing: 0.12em;
  word-spacing: 0.16em;
}

/* The side column follows the same reading settings as the article; its sizes are relative to the column */
.article-side {
  font-size: 1rem;
}

html[data-text="large"] .article-side {
  font-size: 1.125rem;
}

html[data-text="xl"] .article-side {
  font-size: 1.25rem;
}

html[data-spacing="wide"] .article-side {
  line-height: 1.85;
}

html[data-letters="wide"] .article-side {
  letter-spacing: 0.12em;
  word-spacing: 0.16em;
}

.article-side .side-list li,
.article-side .side-note,
.article-side .share-btn {
  font-size: 0.9375em;
}

.article-side .share-link input {
  font-size: 0.875em;
}

/* the settings card itself keeps its size, so it always fits beside the photo */
.side-reading {
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: normal;
  word-spacing: normal;
}

/* The reading card is kept as tall as the article photo; its rows spread over that height */
.side-reading {
  padding: 1.25rem 1.5rem;
}

.side-reading .reading {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.side-reading h2 {
  margin: 0;
}

.side-reading .setting + .setting {
  margin-top: 0;
}

.article .stage {
  margin-top: 1.25rem;
  box-shadow: none;
}

/* Rijbewijs: the card follows the RDW 2025 model to scale; every element is a button that explains itself */
.licence-tool {
  display: grid;
  gap: 1rem;
}

.lc-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.licence-sides,
.licence-nav {
  display: none;
}

.licence-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.js .licence-sides {
  display: flex;
}

.js .licence-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

.js .licence-legend {
  display: none;
}

.licence {
  container-type: inline-size;
  width: 100%;
  max-width: 40rem;
  margin-inline: auto;
}

.licence-face {
  position: relative;
  aspect-ratio: 85.6 / 54;
  border-radius: 3.7cqw;
  overflow: hidden;
  color: #25252c;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1;
  background-color: #f2cfdf;
  background-size: 2.4cqw 0.8cqw, 3.4cqw 1.2cqw, auto;
  box-shadow: 0 0 0 1px rgba(120, 60, 90, 0.16), 0 1px 2px rgba(18, 35, 58, 0.16), 0 10px 28px rgba(18, 35, 58, 0.16);
}

.licence-back {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='8'%3E%3Cpath d='M0 4q6-4 12 0t12 0' fill='none' stroke='%23c2638f' stroke-opacity='.3' stroke-width='.6'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='12'%3E%3Cpath d='M0 6q8.5-6 17 0t17 0' fill='none' stroke='%237f86c9' stroke-opacity='.16' stroke-width='.6'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #f5d6e4 0%, #efc6d9 60%, #f2d0e0 100%);
}

.licence-front {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='8'%3E%3Cpath d='M0 4q6-4 12 0t12 0' fill='none' stroke='%23c2638f' stroke-opacity='.26' stroke-width='.6'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='12'%3E%3Cpath d='M0 6q8.5-6 17 0t17 0' fill='none' stroke='%237f86c9' stroke-opacity='.14' stroke-width='.6'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #f6dae6 0%, #f1cddd 70%, #f4d6e3 100%);
}

/* Without script both faces are shown stacked; with script only one is, so no gap may shift it */
html:not(.js) .licence-face + .licence-face {
  margin-top: 1rem;
}

.lc-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.licence-back .lc-bg-a {
  background: rgba(255, 255, 255, 0.3);
  clip-path: polygon(0 10%, 9% 10%, 40% 50%, 9% 90%, 0 90%, 31% 50%);
}

.licence-back .lc-bg-b {
  background: linear-gradient(180deg, rgba(186, 196, 240, 0.6), rgba(186, 196, 240, 0) 75%);
  clip-path: polygon(34% 0, 50% 0, 42% 100%, 26% 100%);
}

.licence-back .lc-bg-c {
  background: rgba(255, 255, 255, 0.2);
  clip-path: polygon(70% 0, 90% 0, 100% 28%, 100% 100%, 76% 100%);
}

.licence-front .lc-bg-a {
  background: rgba(255, 255, 255, 0.32);
  clip-path: polygon(46% 34%, 70% 34%, 90% 56%, 70% 76%, 46% 76%, 66% 56%);
}

.licence-front .lc-bg-b {
  background: linear-gradient(180deg, rgba(186, 196, 240, 0.65), rgba(186, 196, 240, 0) 90%);
  clip-path: polygon(60% 0, 83% 0, 96% 42%, 73% 42%);
}

.licence-front .lc-bg-c {
  background: radial-gradient(ellipse 18% 14% at 40% 9%, rgba(255, 186, 120, 0.4), transparent);
}

.lc-spot {
  position: absolute;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0.8cqw;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: start;
  cursor: pointer;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.lc-spot:hover {
  background: rgba(234, 95, 20, 0.1);
  box-shadow: inset 0 0 0 0.22cqw rgba(234, 95, 20, 0.65);
}

.lc-spot.is-active {
  background: rgba(234, 95, 20, 0.14);
  box-shadow: inset 0 0 0 0.3cqw var(--orange);
}

.lc-spot:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 1px;
}

.lc-no {
  font-size: 1.15cqw;
  color: #3d4ba8;
}

.lc-hd {
  position: absolute;
  top: 2.4%;
  height: 4.8%;
  display: flex;
  align-items: center;
  padding-inline-start: 0.9cqw;
  font-size: 1.2cqw;
  color: #3d4ba8;
}

.lc-hd-9 {
  left: 40.1%;
}

.lc-hd-10 {
  left: 48.2%;
  width: 13%;
}

.lc-hd-11 {
  left: 61.2%;
  width: 13.7%;
}

.lc-hd-12 {
  left: 74.9%;
  width: 19.6%;
}

.lc-table {
  position: absolute;
  left: 29.5%;
  right: 5%;
  top: 7.8%;
  bottom: 14.1%;
  display: grid;
  grid-template-rows: repeat(16, 1fr);
}

.lc-table .lc-row {
  position: static;
  display: grid;
  grid-template-columns: 17.25% 11.3% 19.85% 20.9% 1fr;
  align-items: center;
  font-size: 2.6cqw;
  letter-spacing: 0.03em;
}

.lc-icons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.2cqw;
  padding-inline-end: 0.9cqw;
  color: #3544a8;
}

.lc-ico {
  display: block;
  width: auto;
  height: 2.5cqw;
  fill: currentColor;
}

.lc-ico-moped,
.lc-ico-van {
  aspect-ratio: 20 / 12;
}

.lc-ico-moto,
.lc-ico-tractor {
  aspect-ratio: 22 / 12;
}

.lc-ico-car,
.lc-ico-truck-s {
  aspect-ratio: 28 / 12;
}

.lc-ico-bus-s {
  aspect-ratio: 26 / 12;
}

.lc-ico-truck,
.lc-ico-bus {
  aspect-ratio: 36 / 12;
}

.lc-ico-trailer {
  aspect-ratio: 13 / 12;
}

.lc-cat {
  padding-inline-start: 0.9cqw;
  font-size: 2.55cqw;
  letter-spacing: 0;
  color: #3544a8;
}

.lc-cat-t {
  font-style: italic;
}

.lc-val {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Not part of the licence: a sticker from the school, pointing at row B */
.lc-ours {
  position: relative;
  top: -3px;
  display: inline-block;
  margin-inline-start: 1.5cqw;
  padding: 0.45cqw 1.2cqw 0.45cqw 1.1cqw;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-family: "Overpass", "Trebuchet MS", sans-serif;
  font-size: 1.8cqw;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 0 0 0.3cqw #fff, 0 0.5cqw 1.4cqw rgba(18, 35, 58, 0.3);
  transform: rotate(-3deg);
}

.lc-ours::before {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(100% - 0.2cqw);
  margin-top: -1.1cqw;
  border-style: solid;
  border-width: 1.1cqw 1.4cqw 1.1cqw 0;
  border-color: transparent var(--orange) transparent transparent;
}

.lc-bsn {
  left: 4%;
  top: 2.5%;
  width: 22%;
  height: 22%;
  padding: 5.2cqw 0 0 1.4cqw;
  font-size: 2.5cqw;
  letter-spacing: 0.02em;
  line-height: 1.45;
}

.lc-bsn .lc-no-13 {
  position: absolute;
  left: 0.8cqw;
  top: 0.9cqw;
  font-size: 1cqw;
}

.lc-bsn-label {
  margin-inline-end: 0.15cqw;
  font-size: 1cqw;
  letter-spacing: 0;
}

.lc-idmark {
  left: 3.4%;
  top: 26.6%;
  width: 10.9%;
  height: 12.1%;
  padding: 0.3cqw;
}

.lc-idmark svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: #111114;
}

.lc-qr {
  left: 16.8%;
  top: 26%;
  width: 10.1%;
  aspect-ratio: 1;
  padding: 0.3cqw;
}

.lc-qr svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: #1b1b22;
}

/* The real RDW logo, with the feather in gold as printed on the licence */
.lc-rdw {
  left: 8.6%;
  top: 42.6%;
  width: 19.6%;
  padding: 0.3cqw;
}

.lc-rdw img {
  display: block;
  width: 100%;
  height: auto;
}

.lc-window-shape {
  position: absolute;
  left: 14.3%;
  top: 51.5%;
  width: 26.5%;
  height: 20.2%;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(238, 238, 244, 0.92), rgba(222, 222, 232, 0.78));
  clip-path: polygon(0 50%, 16% 0, 100% 0, 100% 100%, 16% 100%);
}

.lc-ghost {
  position: absolute;
  left: 28%;
  top: 6%;
  width: 24%;
  height: 70%;
  opacity: 0.32;
  transform: scaleX(-1);
}

.lc-window-shape > span {
  position: absolute;
  left: 30%;
  bottom: 6%;
  font-size: 1.7cqw;
  font-weight: 700;
  color: rgba(60, 60, 72, 0.42);
  transform: scaleX(-1);
}

.lc-window {
  left: 14.3%;
  top: 51.5%;
  width: 14.6%;
  height: 20.2%;
}

.lc-antenna-b {
  left: 1.2%;
  top: 52%;
  width: 8%;
  height: 26%;
}

.lc-antenna-b svg,
.lc-antenna-top svg {
  display: block;
  width: 100%;
  height: 100%;
}

.lc-clear {
  fill: rgba(255, 255, 255, 0.42);
}

.lc-wire {
  fill: none;
  stroke: #b8763f;
  stroke-width: 1.2px;
  vector-effect: non-scaling-stroke;
}

.lc-codes {
  left: 3.8%;
  top: 87%;
  width: 44%;
  height: 7.5%;
  display: flex;
  align-items: center;
  padding-inline-start: 0.8cqw;
}

.lc-edge {
  left: 95.3%;
  top: 1.5%;
  width: 3.4%;
  height: 97%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lc-edge > span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 1.1cqw;
  line-height: 1.3;
  white-space: nowrap;
  color: #2f3c8f;
}

.lc-edge > span > span,
.lc-warning > span > span,
.lc-micro-f > span > span {
  display: block;
}

.lc-edge b {
  font-weight: 700;
}

.lc-model {
  left: 1.3%;
  top: 8%;
  width: 2.6%;
  height: 70%;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.lc-model span {
  writing-mode: vertical-rl;
  font-size: 1.35cqw;
  white-space: nowrap;
  color: rgba(196, 72, 116, 0.8);
}

.lc-flag {
  left: 13.3%;
  top: 7.5%;
  width: 15.5%;
  height: 16.2%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: #1f3d9c;
}

.lc-flag svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: #ffcc00;
}

.lc-flag b {
  position: relative;
  font-size: 3cqw;
  font-weight: 700;
  color: #fff;
}

.lc-title {
  left: 31%;
  top: 6.5%;
  height: 11%;
  display: flex;
  align-items: center;
  gap: 1.2cqw;
  padding-inline: 0.4cqw;
}

.lc-title-main {
  font-size: 5cqw;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #2f3fa0;
}

.lc-title-sub {
  display: grid;
  gap: 0.3cqw;
  padding-inline-start: 1.1cqw;
  border-inline-start: 0.2cqw solid #2f3fa0;
  font-size: 1.1cqw;
  font-weight: 700;
  color: #3a49a8;
}

.lc-antenna-top {
  left: 83%;
  top: 3%;
  width: 13.5%;
  height: 17%;
  background: linear-gradient(225deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 70%);
}

.lc-warning {
  left: 93.6%;
  top: 10%;
  width: 3.6%;
  height: 66%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lc-warning > span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.95cqw;
  line-height: 1.3;
  white-space: nowrap;
  color: #3a49a8;
}

.lc-photo {
  left: 7%;
  top: 26.6%;
  width: 22.8%;
  height: 50.3%;
  overflow: hidden;
}

.lc-portrait {
  position: absolute;
  left: 4%;
  bottom: 0;
  width: 92%;
  height: 96%;
}

.lc-year {
  position: absolute;
  left: 3%;
  bottom: 3%;
  font-size: 3.4cqw;
  letter-spacing: 0.02em;
  color: #f4f4f6;
}

.lc-field {
  left: 30.6%;
  height: 4.6%;
  display: flex;
  align-items: center;
  padding-inline: 0.6cqw;
  font-size: 2.8cqw;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.lc-field .lc-no {
  flex: none;
  width: 3.4cqw;
}

.lc-f1 {
  top: 20.9%;
  width: 40%;
}

.lc-f2 {
  top: 31%;
  width: 40%;
}

.lc-f3 {
  top: 36.2%;
  width: 50%;
}

.lc-date {
  margin-inline-end: 2.8cqw;
}

.lc-f4a {
  top: 41.4%;
  width: 25%;
}

.lc-f4b {
  top: 41.4%;
  left: 56.5%;
  width: 25%;
}

.lc-f4c {
  top: 45.9%;
  width: 40%;
}

.lc-f5 {
  top: 51.1%;
  width: 30%;
  font-weight: 700;
}

.lc-sign {
  left: 34.5%;
  top: 57.4%;
  width: 10%;
  height: 5.2%;
  padding: 0.3cqw;
}

.lc-sign svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #3b3b44;
  stroke-width: 1;
}

.lc-f9 {
  top: 67.3%;
  width: 25%;
}

.lc-antenna-f {
  left: 1.6%;
  top: 45%;
  width: 5.4%;
  height: 25%;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-size: 6.4cqw;
  font-style: italic;
  font-weight: 700;
  line-height: 0.92;
  color: rgba(120, 120, 136, 0.3);
}

.lc-antenna-f > span > span {
  display: block;
}

.lc-window-f {
  left: 69.6%;
  top: 55.4%;
  width: 9.8%;
  height: 14.6%;
  overflow: hidden;
}

.lc-window-f::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(238, 238, 244, 0.88);
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 24% 100%, 0 50%);
}

.lc-window-f .lc-ghost {
  left: 32%;
  top: 10%;
  width: 56%;
  height: 84%;
  opacity: 0.4;
  transform: none;
}

.lc-dia {
  left: 81.8%;
  top: 55.4%;
  width: 7.3%;
  height: 14.6%;
  overflow: hidden;
  border-radius: 0.3cqw;
  background: linear-gradient(180deg, #55555c, #2a2a30);
}

.lc-dia .lc-portrait {
  filter: invert(1);
  opacity: 0.75;
}

.lc-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 77.3%;
  height: 0.3cqw;
  background: linear-gradient(90deg, #a98fd8, #c6a3e0);
}

.lc-micro-f {
  left: 0.8%;
  top: 78.6%;
  width: 98.4%;
  height: 5%;
  display: grid;
  align-content: center;
  gap: 0.25cqw;
  overflow: hidden;
  font-size: 0.95cqw;
  letter-spacing: 0.03em;
  white-space: nowrap;
  color: rgba(198, 106, 148, 0.85);
}

.lc-mrz {
  left: 4.6%;
  top: 84.2%;
  width: 91%;
  height: 8.5%;
  display: flex;
  align-items: center;
  font-family: "OCR B", "OCR-B", Consolas, "Courier New", monospace;
  font-size: 4.9cqw;
  letter-spacing: 0.06em;
  color: #141416;
}

.licence-sample {
  max-width: none;
  margin: -0.5rem 0 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--ink-2);
}

.licence-info {
  min-height: 7.5rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--blue-soft);
}

.licence-info h3 {
  margin: 0 0 0.3rem;
  font-size: 1.1em;
}

.licence-info p {
  margin: 0;
  color: var(--ink-2);
}

[dir="rtl"] .licence-nav .icon,
[dir="rtl"] .article-button .icon {
  transform: scaleX(-1);
}

.licence-legend {
  margin: 0;
}

.licence-legend dt {
  margin-top: 0.6rem;
  font-weight: 700;
}

.licence-legend dd {
  margin: 0;
  color: var(--ink-2);
}

.article-button {
  margin: 0.75rem 0 0;
}

@media (max-width: 35.99em) {
  .article .licence-tool {
    padding-inline: 0.75rem;
  }
}

.share-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
}

.share-label {
  margin: 0 0 0.6rem;
  font-weight: 700;
}

/* Modules without a side column get the share row under their content */
.module-grid > .share {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.module-grid > .share .share-label {
  margin: 0;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.5rem;
  padding: 0.35rem 0.85rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.share-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.share-btn:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.share-btn .icon {
  width: 1.15rem;
  height: 1.15rem;
}

/* Brand colour only in the icon; the button itself stays as quiet as the other pills */
.share-btn.s-fb .icon {
  color: #1877f2;
}

.share-btn.s-wa .icon {
  color: #128c7e;
}

.share-btn.s-ig .icon {
  color: #d6249f;
}

/* The link row takes the width of the button row above it, so the copy button lines up with the last share button */
.share-rows {
  display: inline-grid;
  gap: 0.6rem;
  max-width: 100%;
}

.share-link {
  display: flex;
  gap: 0.4rem;
  min-width: 0;
}

.share-link input {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  padding: 0.45rem 0.65rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font: inherit;
  font-size: 0.875rem;
  color: var(--ink-2);
}

.share-link input:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.share-link .share-btn {
  flex: none;
  border-radius: var(--r-sm);
}

.share-note {
  flex-basis: 100%;
  margin: 0.6rem 0 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ok);
  overflow-wrap: anywhere;
}

.share-note:empty {
  display: none;
}

.stage-status {
  margin: 0 0 1.25rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--r-md);
  background: #f2f9f5;
  font-weight: 700;
  color: var(--ok);
}

.stage-status.is-error {
  background: var(--orange-soft);
  color: var(--orange-deep);
}

.stage-status:empty {
  display: none;
}


/* Desktop keeps room for the scrollbar, so short pages do not shift the centred layout */
@media (min-width: 48em) {
  html {
    scrollbar-gutter: stable;
  }
}

.two-col #examens {
  position: relative;
  top: -1px;
}

.band-vragen {
  padding-top: calc(var(--block) - 20px);
}

/* Narrow route board: the connector lines stay behind the phase names and the car */
@media (max-width: 47.99em) {
  .step-name {
    position: relative;
    z-index: 1;
    padding: 0 0.3rem;
    background: var(--blue);
    border-radius: 4px;
  }

  .step-car {
    z-index: 2;
    box-sizing: content-box;
    padding: 0 3px;
    background: var(--blue);
    border-radius: 50%;
  }
}

@media (max-width: 59.99em) {
  .crumb .kicker-sep {
    position: relative;
    top: -1px;
  }
}

/* Schakel of automaat: the two options side by side, three facts each */
.vs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.vs-col {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.vs-col h3 {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.6rem 0.75rem;
  font-size: 1em;
  background: var(--blue-tint);
  color: var(--blue);
}

.vs-col h3 .icon {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
}

.vs-col ul {
  list-style: none;
  margin: 0;
  padding: 0 0.75rem;
}

.vs-col li {
  max-width: none;
  padding: 0.6rem 0;
  font-size: 0.9375em;
  line-height: 1.4;
  color: var(--ink);
}

.vs-col li + li {
  border-top: 1px solid var(--line);
}

.vs-label {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.8em;
  color: var(--ink-2);
}

/* Phones: the rest of the site follows the lighter header. Spacing and chrome shrink most; body text stays
   readable at 15px, form fields keep 16px (iOS zooms into smaller ones) and controls keep 44px */
@media (max-width: 47.99em) {
  :root {
    --block: 2.25rem;
  }

  body {
    font-size: 0.9375rem;
  }

  h3 {
    font-size: 1.0625rem;
  }

  .lead {
    font-size: 1rem;
  }

  .kicker {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
  }

  .section-head {
    margin-bottom: 1.25rem;
  }

  .page-hero {
    padding: 1.5rem 0 1.25rem;
  }

  .site-footer {
    font-size: 0.875rem;
  }

  .form-card {
    padding: 1rem;
  }

  .form-card h2 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
  }

  .form-row {
    gap: 0.6rem;
    margin-bottom: 0.6rem;
  }

  .field label {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
  }

  .field input,
  .field select,
  .field textarea {
    padding: 0.55rem 0.8rem;
    font-size: 1rem;
  }

  .field input,
  .field select {
    height: 2.75rem;
    min-height: 2.75rem;
  }

  .field textarea {
    min-height: 6.5rem;
  }

  .benefits {
    gap: 1rem;
  }

  .benefits li {
    grid-template-columns: 2.5rem 1fr;
    gap: 0.8rem;
  }

  .benefit-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .benefit-icon .icon {
    width: 1.25rem;
    height: 1.25rem;
  }

  .plan {
    padding: 1.25rem 1.1rem 1.1rem;
  }

  .plan h3 {
    font-size: 1.2rem;
  }

  .plan-sub,
  .price-note {
    margin-bottom: 0.8rem;
  }

  .price {
    font-size: 2.125rem;
  }

  .plan ul {
    gap: 0.4rem;
  }

  .faq summary {
    padding: 0.8rem 2.25rem 0.8rem 0;
    font-size: 1rem;
  }

  .price-table th,
  .price-table td {
    padding: 0.7rem 0.85rem;
  }

  .price-table .num {
    font-size: 1rem;
  }

  .prose h2 {
    font-size: 1.2rem;
  }

  .term h3 {
    font-size: 1.0625rem;
  }

  .contact-facts > div {
    padding: 0.7rem 0;
  }

  .cta-stage .cta-box {
    padding: 1.5rem 1rem 1rem;
  }

  .marquee-track li {
    padding: 0.3rem 0.7rem;
    font-size: 0.8125rem;
  }

  /* the card photo bleeds to the card edge, so its negative margins follow the padding */
  .mod {
    padding: 0.9rem 1rem 0.85rem;
    gap: 0.5rem;
  }

  .mod-photo {
    margin: -0.9rem -1rem 0.4rem;
  }

  .stage,
  .side-card {
    padding: 1rem;
  }

  .tour-box {
    padding: 0.85rem 1rem 0.9rem;
  }

  /* article text stays a touch above body text, as on larger screens */
  .article {
    --article-size: 1rem;
  }
}
