/* Wegwijstheorie — Kijk. Vergelijk. Begrijp.
   Product-led unslop pass, Damir Sokolovsky (@heydamir), CC BY 4.0. */
:root {
  --hero-surface: #f0f4fa;
  --brand-ease: cubic-bezier(0.22, 1, 0.36, 1);
}
:root[data-theme="dark"] {
  --hero-surface: #2b4057;
}
.site-header .brand {
  gap: 12px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.15;
}
.site-header .brand-icon {
  width: 36px;
  height: 32px;
  flex: 0 0 36px;
}
.brand-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.brand-light {
  color: var(--blue);
  font-weight: 400;
}
.site-header .brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  margin-top: 4px;
  line-height: 1.4;
  letter-spacing: 0;
}
.brand-stamp {
  display: block;
  color: var(--blue);
  flex: 0 0 36px;
  width: 36px;
}
.brand-stamp svg {
  display: block;
  width: 100%;
  height: 28px;
}
.course-hero-grid {
  gap: 48px;
  padding-block: 56px 48px;
}
.course-hero-copy .eyebrow {
  color: var(--muted);
}
.course-hero-copy .eyebrow::before {
  background: var(--blue);
  width: 24px;
}
.course-hero h1 {
  font-size: clamp(44px, 4.7vw, 64px);
  line-height: 1.08;
  font-weight: 500;
}
.course-hero-copy .lead {
  font-size: 18px;
  max-width: 464px;
  line-height: 1.7;
}
.road-photo {
  border-radius: 16px;
  background: var(--soft);
}
.road-photo > img {
  height: 416px;
  object-position: center;
}
.road-photo figcaption {
  background: var(--soft);
  padding: 20px 24px;
  gap: 16px;
}
.road-photo figcaption strong {
  font-size: 15px;
}
.course-facts strong {
  color: var(--ink);
  font-size: 28px;
}
.course-facts > a {
  font-weight: 500;
}
.steps-grid article {
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
}
.steps-grid .step-preview {
  border-radius: 12px;
  height: 200px;
  margin-bottom: 20px;
}
.steps-grid .step-number {
  font-size: 13px;
  border: 0;
  margin-bottom: 8px;
  padding: 0;
  color: var(--muted);
}
.steps-grid h3 {
  margin-bottom: 8px;
}
.steps-grid p {
  max-width: 340px;
}
.home-live-copy > .eyebrow {
  color: var(--blue);
}
.home-lab-section {
  background: var(--paper);
  border-block: 1px solid var(--line);
}
.home-lab-grid {
  gap: 64px;
}
.comparison-demo.home-lab-images {
  display: block;
  padding: 16px;
  background: var(--soft);
  border-radius: 16px;
  max-width: 520px;
}
.comparison-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.comparison-controls button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
  transition:
    color 160ms var(--brand-ease),
    border-color 160ms var(--brand-ease),
    background-color 160ms var(--brand-ease);
}
.comparison-controls button span {
  font-weight: 500;
  color: var(--ink);
}
.comparison-controls button[aria-pressed="true"] {
  color: var(--blue);
  border-color: var(--blue);
  background: var(--blue-wash);
}
.comparison-controls button[aria-pressed="true"] span {
  color: var(--blue);
}
.comparison-stage {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #d2ddc8;
}
.comparison-demo .comparison-stage img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  margin: 0;
  transform: none;
  transition: opacity 240ms var(--brand-ease);
}
.comparison-stage [data-compare-image="a"] {
  opacity: 1;
}
.comparison-stage [data-compare-image="b"] {
  opacity: 0;
}
[data-compare-state="b"] .comparison-stage [data-compare-image="a"] {
  opacity: 0;
}
[data-compare-state="b"] .comparison-stage [data-compare-image="b"] {
  opacity: 1;
}
.comparison-demo .comparison-caption {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 16px 0 0;
  min-height: 44px;
}
.home-lab-grid > div:last-child {
  min-width: 0;
}
.home-lab-grid h2 {
  font-size: 36px;
  line-height: 1.2;
}
.home-buy {
  border-inline-start: 4px solid var(--blue);
  border-radius: 12px;
}
.focus-callout {
  background: var(--paper);
}
.focus-photo img {
  object-position: 42% center;
}
.stat-card > b {
  color: var(--ink);
}
.stat-card:first-child > b {
  color: var(--blue);
}
.auth-photo img {
  object-position: center;
}
.site-footer .brand-footer {
  gap: 16px;
  align-items: start;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 500;
}
.site-footer .brand-footer .brand-icon {
  display: block;
  flex: 0 0 48px;
  width: 48px;
  height: 40px;
  color: var(--blue);
}
.site-footer .brand-footer small {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 400;
}
.site-footer .brand-footer + .small-note {
  margin-top: 20px;
  max-width: 320px;
}
@media (max-width: 1100px) {
  .course-hero-grid {
    gap: 32px;
  }
  .road-photo > img {
    height: 360px;
  }
  .home-lab-grid {
    gap: 40px;
  }
  .site-header .brand {
    width: auto;
  }
}
@media (max-width: 760px) {
  .site-header .brand {
    gap: 8px;
    font-size: 18px;
  }
  .site-header .brand small {
    display: none;
  }
  .site-header .brand-icon {
    width: 28px;
    height: 24px;
    flex-basis: 28px;
  }
  .course-hero-grid {
    padding-block: 32px;
    gap: 28px;
  }
  .course-hero h1 {
    font-size: clamp(36px, 10vw, 44px);
    line-height: 1.1;
  }
  .course-hero-copy .lead {
    font-size: 17px;
    line-height: 1.65;
  }
  .road-photo > img {
    height: 264px;
  }
  .road-photo figcaption {
    padding: 16px;
    gap: 12px;
  }
  .road-photo figcaption strong {
    font-size: 14px;
  }
  .brand-stamp {
    width: 28px;
    flex-basis: 28px;
  }
  .brand-stamp svg {
    height: 24px;
  }
  .home-lab-grid {
    gap: 32px;
  }
  .comparison-demo.home-lab-images {
    padding: 12px;
  }
  .comparison-controls {
    gap: 8px;
    margin-bottom: 12px;
  }
  .comparison-controls button {
    padding: 8px;
    font-size: 12px;
    gap: 8px;
  }
  .comparison-demo .comparison-caption {
    margin-top: 12px;
    font-size: 12px;
    min-height: 56px;
  }
  .home-lab-grid h2 {
    font-size: 28px;
  }
  .steps-grid {
    gap: 28px;
  }
  .steps-grid .step-preview {
    height: 180px;
  }
  .site-footer .brand-footer {
    font-size: 24px;
    gap: 12px;
  }
  .site-footer .brand-footer .brand-icon {
    width: 40px;
    height: 32px;
    flex-basis: 40px;
  }
}
@media (max-width: 360px) {
  .site-header .brand {
    font-size: 16px;
    gap: 8px;
  }
  .site-header .brand-icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }
  .site-footer .brand-footer {
    font-size: 20px;
    gap: 8px;
  }
  .site-footer .brand-footer .brand-icon {
    width: 32px;
    flex-basis: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .comparison-controls button,
  .comparison-stage img {
    transition: none !important;
  }
}
