/* Skipdoc voorpagina. Bovenop styles.css; het plan staat in site/DESIGN.md.
   De pagina leest als een Skipdoc-gids; de signatuur is de draad
   van pagina 11 naar de gids (#probleem). Zonder JS of met minder beweging staat elke
   sectie in haar eindstand. */

/* --- Secties ------------------------------------------------------- */

.sec {
  position: relative;
  padding: var(--pad-y) var(--pad-x);
}
.sec__head {
  display: grid;
  gap: 1rem;
}
.rail {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.sec__title {
  font-size: var(--t-l);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.028em;
  max-width: 24ch;
}
.sec__lead {
  font-size: 1.125rem;
  max-width: 46rem;
}
.sec__note {
  margin-top: 2.5rem;
  max-width: 44rem;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-soft);
}

@media (min-width: 900px) {
  .sec__head {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    row-gap: 1.25rem;
  }
  .sec__head > .sec__title,
  .sec__head > .finale__title,
  .sec__head > .sec__lead {
    grid-column: 1 / span 10;
  }
  /* De notitie onder "Hoe het werkt" staat los in de sectie: gecentreerd zoals .wrap, en
     de tekst op dezelfde lijn als de tekst van de stappen (kolom 4 tot 10). */
  .sec__note.wrap {
    max-width: var(--wide);
    padding-left: calc((min(100%, var(--wide)) + var(--gutter)) * 3 / 12);
    padding-right: calc((min(100%, var(--wide)) + var(--gutter)) * 2 / 12);
  }
}

/* De donkere secties: het dark-palet van de app. Alle tekst volgt via deze regels. */
.dark {
  background: var(--d-bg);
  color: var(--d-text);
}
.dark :where(h2, h3, .sec__title) {
  color: var(--d-text);
}
.dark .lead,
.dark .sec__note {
  color: var(--d-muted);
}
.dark .inline-link {
  color: var(--d-text);
  text-decoration-color: var(--d-success);
}
/* Op navy loopt de markering over de hele regelhoogte, zodat de donkere tekst op mint
   staat en niet half op navy. */
.dark .inline-link:focus-visible {
  color: var(--ink);
  background-size: 100% 100%;
}
@media (hover: hover) {
  .dark .inline-link:hover {
    color: var(--ink);
    background-size: 100% 100%;
  }
}

/* --- Intro ---------------------------------------------------------------------- */

.hero {
  padding: 2.25rem var(--pad-x) 0;
  border-bottom: 1px solid var(--line);
  overflow: clip;
}
.hero__grid {
  display: grid;
  gap: 2.5rem;
}
.hero__title {
  margin-top: 1rem;
  font-size: var(--t-xl);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-left: -0.04em;
}
.hero__lead {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  max-width: 34rem;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.hero__facts {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 34rem;
  border-top: 1px solid var(--line);
}
.hero__facts li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--text-soft);
}
.hero__fact-k {
  font-family: var(--font-body);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hero__figure {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__tabs {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
}
.hero__tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.375rem 0.875rem;
  border: 0;
  border-radius: var(--r-pill);
  background: linear-gradient(var(--mark) 0 0) left / 0% 100% no-repeat;
  font: 600 0.875rem/1.2 var(--font-ui);
  color: var(--text-muted);
  cursor: pointer;
  transition: background-size var(--t-ui) var(--ease-out), color var(--t-fast),
    box-shadow var(--t-fast);
}
.hero__tab-btn.is-active,
.hero__tab-btn:focus-visible {
  background-size: 100% 100%;
  color: var(--ink);
}
@media (hover: hover) {
  .hero__tab-btn:hover {
    background-size: 100% 100%;
    color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--ink);
  }
}

.hero__stage {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}
.hero__device {
  padding-bottom: 2.5rem;
}
.hero .phone {
  --phone-w: 260px;
  --scale: 0.6154;
}
.hero__credit {
  margin: 0.75rem 0 1rem;
  text-align: center;
}
@media (min-width: 1200px) {
  .hero__credit {
    align-self: flex-end;
    width: 290px;
  }
}

/* Callouts: twee bijschriften per scherm van de app, als in een figuur, met een haarlijn
   naar wat ze beschrijven. main.js zet ze op de hoogte van hun doel (data-target). */
.callout {
  display: none;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--text-soft);
}
.hero__stage[data-active="read"] .callout[data-screen="read"],
.hero__stage[data-active="quiz"] .callout[data-screen="quiz"],
.hero__stage[data-active="repeat"] .callout[data-screen="repeat"] {
  display: flex;
  animation: callout-in 0.45s var(--ease-out) 0.25s both;
}
@keyframes callout-in {
  from {
    opacity: 0;
  }
}
.callout__line {
  display: none;
}
@media (max-width: 1199px) {
  .hero__stage {
    flex-direction: column;
    align-items: center;
  }
  .callout {
    order: 2;
    width: 100%;
    max-width: 22rem;
    padding: 0.625rem 0;
    border-top: 1px solid var(--line);
  }
  .callout::before {
    content: "";
    flex: none;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--accent);
  }
}

@media (min-width: 900px) {
  .hero {
    padding-top: 3.5rem;
  }
  .hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    align-items: end;
  }
  .hero__lead,
  .hero__facts {
    max-width: 36rem;
  }
  .hero__text {
    grid-column: 1 / span 7;
    align-self: center;
    padding-bottom: 4rem;
  }
  .hero__figure {
    grid-column: 8 / -1;
  }
  .hero__title {
    font-size: clamp(2.75rem, 1.5rem + 2.9vw, 4.25rem);
  }
  .hero__lead {
    font-size: 1.1875rem;
  }
  .hero__device {
    padding-bottom: 1.5rem;
  }
  .hero .phone {
    --phone-w: 290px;
    --scale: 0.6923;
  }
}

@media (min-width: 1200px) {
  .hero__stage {
    perspective: 1400px;
    justify-content: flex-end;
  }
  .hero__figure {
    align-items: flex-end;
  }
  .hero__tabs {
    margin-right: 0;
  }
  .callout {
    position: absolute;
    right: calc(290px - 0.25rem);
    width: 14rem;
    flex-direction: row-reverse;
    text-align: right;
    translate: 0 -50%;
  }
  /* Zonder JS: ongeveer bij de titel en bij de knop van het leesscherm. */
  .callout[data-screen] {
    top: 30%;
  }
  .callout[data-screen] + .callout[data-screen] {
    top: 78%;
  }
  .callout__line {
    display: block;
    position: relative;
    flex: none;
    width: 2.75rem;
    height: 1px;
    background: var(--ink);
  }
  .callout__line::after {
    content: "";
    position: absolute;
    top: -3px;
    right: -3px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
  }
}

/* --- De telefoon en de app-schermen (maten uit web/src/index.css) -------------- */

/* --- Telefoonmockup & App Screens ----------------------------------------- */

.phone {
  --phone-w: 300px;
  --scale: 0.7179;
  width: var(--phone-w);
  margin: 0 auto;
  padding: 10px;
  border-radius: 44px;
  background: var(--brand);
  box-shadow: var(--e-phone);
  position: relative;
}
.phone__screen {
  width: calc(var(--phone-w) - 20px);
  height: calc(844px * var(--scale));
  border-radius: 35px;
  overflow: hidden;
  background: var(--bg);
  position: relative;
}

/* De drie schermen liggen op elkaar. Het nieuwe schuift 24 px in vanaf de kant van zijn
   tab en vloeit over het oude heen; schermen vóór het actieve wachten links, erna rechts.
   translate en niet transform: transform schaalt het scherm al. */
.app-screen {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 390px;
  height: 844px;
  transform: scale(var(--scale));
  transform-origin: top left;
  background: var(--bg);
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  translate: 24px 0;
  transition: opacity 0.45s var(--ease-out), translate 0.55s var(--ease-out),
    visibility 0s linear 0.55s;
}
.app-screen.is-before {
  translate: -24px 0;
}
.app-screen.is-active {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
  transition: opacity 0.45s var(--ease-out), translate 0.55s var(--ease-out), visibility 0s;
}

.app {
  width: 390px;
  height: 844px;
  transform: scale(var(--scale));
  transform-origin: top left;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

.app__topbar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 9.6px;
  padding: 12px 12.8px 9.6px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.app__iconbtn {
  flex: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  background: var(--surface);
  color: var(--text);
}
.app__progress {
  flex: 1 1 auto;
  min-width: 0;
  padding: 3.2px 1.6px;
}
.app__progress-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 9.6px;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 4.8px;
}
.app__progress-pos {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app__progress-toc {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 2.4px;
  font-weight: 700;
  color: var(--accent-text);
}
.app__track {
  height: 4px;
  background: var(--border);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.app__fill {
  height: 100%;
  background: var(--success);
  border-radius: var(--r-pill);
}
.app__page {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 20px 32px;
  overflow: hidden;
}
.app__eyebrow {
  font-size: 12.8px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.app__title {
  font-family: var(--font-body);
  font-size: 25.6px;
  line-height: 1.2;
  margin: 6.4px 0 19.2px;
  color: var(--text);
}
.app__prose {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
}
.app__prose p + p {
  margin-top: 16px;
}
.app__btn {
  align-self: flex-start;
  margin-top: 24px;
  padding: 11.2px 17.6px;
  border-radius: var(--r-4);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 16px;
  font-weight: 600;
}
.app__btn--sm {
  margin-top: 14px;
  padding: 8px 14px;
  font-size: 14px;
}
.app__share {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6.4px;
  margin-top: 24px;
  font-size: 15.3px;
  color: var(--text-muted);
}

/* Hero Quiz Opties & Feedback */
.app__quiz-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 10px;
}
.app__quiz-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--r-3);
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--text-soft);
}
.app__quiz-opt.is-correct {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text);
  font-weight: 500;
}
.app__quiz-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.app__quiz-opt.is-correct .app__quiz-radio {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}
.app__quiz-feedback {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: var(--r-3);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  font-size: 13px;
  line-height: 1.45;
}
.app__quiz-feedback p {
  margin: 0;
}
.app__quiz-feedback strong {
  color: var(--accent-text);
}
.app__quiz-ref {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--accent-text);
  font-weight: 600;
}

.app__screen {
  padding: 20px 20px 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.app__head {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12.8px;
  margin-bottom: 16px;
}
.app__head-title {
  flex: 1 1 auto;
  font-size: 25.6px;
  font-weight: 600;
  color: var(--text);
}
.app__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-5);
  box-shadow: var(--e-1);
  padding: 17.6px;
  margin-bottom: 16px;
}
.app__meta {
  font-size: 12.8px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.app__card-title {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.3;
  margin: 5.6px 0 16px;
  color: var(--text);
}
.app__answer {
  padding: 14.4px 16px;
  border-radius: var(--r-4);
  background: var(--surface-2);
  font-size: 17px;
  line-height: 1.6;
}
.app__answer p {
  margin-top: 10.4px;
}
.app__ref {
  font-size: 15.3px;
  color: var(--text-muted);
}
.app__row {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.app__row > * {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 11.2px 14px;
  min-height: 48px;
  border-radius: var(--r-4);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}
.app__ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.app__accent {
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid transparent;
}


/* --- 1 · De draad: van pagina 11 naar de gids (signatuur) ----------------------- */
/* Op desktop met beweging staat de vergelijking sticky en speelt home.js één
   tijdlijn op de scroll af: markeren, de draad trekken, dezelfde zinnen markeren in
   de gids, het bronpaneel openen. Zonder dat staat alles in de eindstand. */

.trace {
  margin-top: 3rem;
}
.trace__stage {
  position: relative;
}
.trace__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}
.trace__step {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  transition: color var(--t-base) var(--ease-out), opacity var(--t-base) var(--ease-out);
}
.trace__step-n {
  display: inline-block;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--accent);
  transition: background var(--t-base) var(--ease-out);
}
.trace__step-d {
  font-weight: 400;
  color: var(--text-muted);
}
.is-tracing .trace__step:not(.is-on) {
  color: var(--text-muted);
}
.is-tracing .trace__step:not(.is-on) .trace__step-n {
  background: var(--surface-3);
  color: var(--text-muted);
}

.trace__pair {
  position: relative;
  display: grid;
  gap: 3.5rem;
}
.trace__thread {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 2;
}
.trace__thread path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.trace__thread circle {
  fill: var(--accent);
}

.trace-mark {
  color: inherit;
  padding: 0.06em 0;
  background: linear-gradient(var(--mark) 0 0) left / 100% 100% no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Het papier: vierkant, de bron. Een hele pagina: grijze regels boven en onder de echte
   passage staan voor de rest van de tekst op die pagina (geen verzonnen tekst). */
.paper__ghosts {
  display: grid;
  gap: 0.6rem;
  margin-block: 0.25rem 1.25rem;
}
.paper__text + .paper__ghosts {
  margin-block: 1.25rem 0;
}
.paper__ghost {
  display: block;
  height: 0.45rem;
  background: var(--surface-3);
}
.paper__ghost--short {
  width: 55%;
}
.paper {
  position: relative;
  margin: 0;
  background: var(--surface);
  box-shadow: var(--e-paper);
  border: 1px solid var(--line);
}
.paper__bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.625rem 1rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.paper__page {
  padding: 1.5rem 1.25rem 1.75rem;
}
.paper__h {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.625rem;
}
.paper__text {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text);
  text-align: justify;
  hyphens: auto;
}
.guide__cap {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* De gids: de app op een telefoon, met de balk, de voortgang en de knop van de app. */
.guide {
  position: relative;
  width: 100%;
  max-width: 24rem;
  margin: 0;
  padding: 0 1.25rem 1.5rem;
  background: var(--bg);
  border: 9px solid var(--ink);
  border-radius: 36px;
  box-shadow: var(--e-phone);
}
.guide__bar {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0 -1.25rem;
  padding: 0.875rem 1rem 0.75rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  border-radius: 27px 27px 0 0;
}
.guide__back {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  color: var(--text);
}
.guide__progress {
  flex: 1;
  display: grid;
  gap: 0.3rem;
  font-size: 0.6875rem;
  color: var(--text-muted);
}
.guide__track {
  height: 3px;
  border-radius: var(--r-pill);
  background: var(--line);
  overflow: hidden;
}
.guide__fill {
  display: block;
  width: 80%;
  height: 100%;
  background: var(--accent);
}
.guide__title {
  margin-top: 1.25rem;
  font-family: var(--font-body);
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.guide__prose {
  margin-top: 0.875rem;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
}
.guide__btn {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.625rem 1rem;
  border-radius: var(--r-3);
  background: var(--accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
}
.source-panel {
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--r-3) var(--r-3) 0;
  background: var(--surface-2);
}
.source-panel__head {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-text);
}
.source-panel__quote {
  margin-top: 0.375rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-soft);
}
.trace__credit {
  margin-top: 1rem;
}
/* Op een telefoon loopt de draad door het bijschrift: daar valt het weg. */
@media (max-width: 899px) {
  .paper__cap,
  .guide__cap {
    display: none;
  }
  .trace__credit {
    margin-top: 1rem;
  }
}

@media (min-width: 900px) {
  .trace__pair {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    align-items: start;
  }
  .paper {
    grid-column: 1 / span 5;
  }
  .guide {
    grid-column: 8 / -1;
    justify-self: center;
    margin-top: 2rem;
  }
  .paper__page {
    padding: 2rem 2rem 2.25rem;
  }
  .guide {
    padding: 0 1.5rem 1.75rem;
  }
  .guide__bar {
    margin: 0 -1.5rem;
  }
}

/* De sticky stage: alleen met beweging, en alleen waar het scherm hoog genoeg is. */
@media (min-width: 900px) and (min-height: 700px) {
  .paper__cap {
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--line);
    font-size: 0.8125rem;
    color: var(--text-muted);
  }
  .motion .trace {
    height: 240vh;
    margin-top: 1rem;
  }
  .motion .trace__stage {
    position: sticky;
    top: var(--topbar-h);
    min-height: calc(100vh - var(--topbar-h));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: 2rem 4rem;
  }
}

/* --- 2 · Hoe het werkt -------------------------------------------------------------- */

.steps {
  margin-top: 3rem;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.step {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--d-border);
}
.step:last-child {
  border-bottom: 1px solid var(--d-border);
}
.step__n {
  font-family: var(--font-body);
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--mark);
  font-variant-numeric: tabular-nums;
}
.step__tag {
  display: inline-block;
  padding: 0.125rem 0.625rem;
  border-radius: var(--r-pill);
  background: var(--mark-dark);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--d-text);
}
.step__title {
  margin-top: 0.75rem;
  font-size: var(--t-m);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.step__sub {
  display: block;
  margin-top: 0.25rem;
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--d-muted);
}
.step__text {
  margin-top: 0.625rem;
  max-width: 36rem;
  color: var(--d-muted);
  line-height: 1.6;
}
@media (min-width: 900px) {
  .step {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    padding: 2.25rem 0;
  }
  .step__n {
    grid-column: 1 / span 3;
    font-size: clamp(3rem, 1rem + 3vw, 4.75rem);
  }
  .step__body {
    grid-column: 4 / span 8;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    column-gap: var(--gutter);
    align-items: start;
  }
  .step__tag {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .step__title {
    grid-column: 1;
  }
  .step__text {
    grid-column: 2;
    margin-top: 0.875rem;
  }
}

/* --- 3 · Zelf proberen ------------------------------------------------------------- */

.demo {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.demo__grid {
  display: grid;
  gap: 3rem;
}
.demo__text .lead {
  margin-top: 1.25rem;
}
.demo__text .sec__title {
  margin-top: 1rem;
}
.demo__text .btn {
  margin-top: 1.75rem;
}
.demo__device {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.demo__flip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 40px;
  margin-top: 1.25rem;
  padding: 0.375rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  background: linear-gradient(var(--mark) 0 0) left / 0% 100% no-repeat;
  font: 600 0.9375rem/1.2 var(--font-ui);
  color: var(--ink);
  cursor: pointer;
  transition: background-size var(--t-ui) var(--ease-out);
}
.demo__flip svg {
  transition: rotate var(--t-ui) var(--ease-out);
}
.demo__flip:focus-visible {
  background-size: 100% 100%;
}
.demo__flip[aria-pressed="true"] svg {
  rotate: 180deg;
}
@media (hover: hover) {
  .demo__flip:hover {
    background-size: 100% 100%;
  }
}
html:not(.js) .demo__flip {
  display: none;
}
.demo__card-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 1.5rem;
}
.demo__card-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 36px;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: linear-gradient(var(--mark) 0 0) left / 0% 100% no-repeat;
  font: 500 0.8125rem/1.2 var(--font-ui);
  color: var(--text-muted);
  cursor: pointer;
  transition: background-size var(--t-ui) var(--ease-out), color var(--t-fast), border-color var(--t-fast);
}
.demo__tab-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
.demo__card-tab.is-active,
.demo__card-tab:focus-visible {
  background-size: 100% 100%;
  border-color: transparent;
  color: var(--ink);
}
@media (hover: hover) {
  .demo__card-tab:hover {
    background-size: 100% 100%;
    color: var(--ink);
    border-color: var(--ink);
  }
}
.demo__credits .demo-credit {
  text-align: center;
}

@media (min-width: 900px) {
  .demo__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    align-items: center;
  }
  .demo__device {
    grid-column: 1 / span 6;
  }
  .demo__text {
    grid-column: 8 / -1;
  }
}

/* 3D Flashcard Simulator */
.card-3d-wrap {
  perspective: 1000px;
  width: 100%;
  max-width: 380px;
  height: 340px;
  margin: 0 auto;
}
.card-3d {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-spring);
  cursor: pointer;
}
.card-3d.is-flipped {
  transform: rotateY(180deg);
}
.card-3d__face {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-5);
  box-shadow: var(--e-2);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-3d__face--back {
  transform: rotateY(180deg);
  background: #fdfefe;
  border-color: var(--accent-border);
}
.card-3d__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.card-3d__eyebrow--back {
  color: var(--accent-text);
}
.card-3d__question {
  font-family: var(--font-body);
  font-size: 1.1875rem;
  line-height: 1.35;
  color: var(--brand);
  margin: 0.75rem 0;
}
.card-3d__answer {
  background: var(--surface-2);
  border-radius: var(--r-3);
  padding: 0.875rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text);
  margin-top: 0.5rem;
}
.card-3d__note {
  margin-top: 0.625rem;
}
.card-3d__btn-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-text);
  align-self: flex-start;
}
.card-3d__btn-hint--muted {
  color: var(--text-muted);
}


/* De kaart in de stijl van de site: rond (uit de app), de achterkant met een mint rand. */
.card-3d-wrap {
  height: 360px;
  max-width: 400px;
}
.card-3d {
  transition: transform 0.8s var(--ease-out);
}
.card-3d__face {
  border-color: var(--line);
  box-shadow: var(--e-3);
  padding: 1.75rem;
}
.card-3d__face--back {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--mark);
}
.card-3d__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.card-3d__question {
  font-size: 1.25rem;
  line-height: 1.38;
}
.card-3d__answer {
  background: var(--mark);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
}
@media (prefers-reduced-motion: reduce) {
  .card-3d {
    transition: none;
  }
}

/* --- 4 · Voor wie ------------------------------------------------------------------ */

.who {
  margin-top: 3rem;
}
.who__row {
  display: grid;
  gap: 1.25rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}
.who__row:last-of-type {
  border-bottom: 1px solid var(--line);
}
.who__title {
  font-size: var(--t-m);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.who__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin: 0.875rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.who__tags li {
  padding: 0.125rem 0.625rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
}
.who__moment {
  margin-top: 1rem;
  color: var(--text-soft);
}
/* Het verkoopargument: een dunne groene lijn links, geen vlak. */
.who__highlight {
  margin-top: 1.25rem;
  padding: 0.125rem 0 0.125rem 1rem;
  border-left: 2px solid var(--accent);
  color: var(--text-soft);
}
.who__highlight strong {
  color: var(--ink);
}
@media (min-width: 900px) {
  .who__row {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    padding: 2.75rem 0;
  }
  .who__lede {
    grid-column: 1 / span 5;
  }
  .who__body {
    grid-column: 6 / -1;
  }
}

/* --- 5 · Vergelijking -------------------------------------------------------------- */
/* De kolom van Skipdoc is gemarkeerd, met dezelfde stift als de bron. Op een telefoon
   wordt elke rij een kaartje: Skipdoc bovenaan, de andere twee met hun naam ervoor. */

/* De vergelijking breekt de drie lichte secties op: een grijze band uit het bestaande
   palet (surface-3), met de kolom van Skipdoc als witte kaart erop. */
.cmp-sec {
  background: var(--surface-3);
  border-block: 1px solid var(--line);
}
.cmp {
  width: 100%;
  margin-top: 3rem;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.cmp th,
.cmp td {
  text-align: left;
  vertical-align: top;
}
.cmp__yes {
  display: inline-flex;
  align-items: baseline;
  gap: 0.375rem;
  font-weight: 600;
  color: var(--accent-text);
}
.cmp__yes svg {
  width: 15px;
  height: 15px;
  translate: 0 2px;
}
.cmp__no {
  color: var(--text-muted);
}
@media (max-width: 899px) {
  .cmp thead {
    display: none;
  }
  .cmp,
  .cmp tbody,
  .cmp tr,
  .cmp th,
  .cmp td {
    display: block;
  }
  .cmp tr {
    padding: 1.25rem 0;
    border-top: 1px solid var(--line);
  }
  .cmp tbody th {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.625rem;
  }
  .cmp td {
    display: grid;
    grid-template-columns: 8.5rem 1fr;
    gap: 0.75rem;
    padding: 0.375rem 0;
  }
  .cmp td::before {
    content: attr(data-label);
    font-size: 0.8125rem;
    color: var(--text-muted);
  }
  .cmp td.is-ours {
    padding: 0.5rem 0.625rem;
    margin-inline: -0.625rem;
    background: var(--surface);
    border-radius: var(--r-3);
    box-shadow: var(--e-1);
  }
  .cmp td.is-ours::before {
    color: var(--ink);
    font-weight: 600;
  }
  .cmp td.is-ours .cmp__yes {
    color: var(--ink);
  }
}
@media (min-width: 900px) {
  .cmp thead th {
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 1px solid var(--ink);
  }
  .cmp thead th.is-ours {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: var(--ink);
  }
  .cmp tbody th {
    width: 30%;
    padding: 1.125rem 1.25rem 1.125rem 0;
    font-weight: 600;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }
  .cmp tbody td {
    width: 23.33%;
    padding: 1.125rem 1.25rem;
    border-bottom: 1px solid var(--line);
    color: var(--text-soft);
  }
  .cmp .is-ours {
    background: var(--surface);
    color: var(--ink);
    box-shadow: inset 1px 0 0 var(--line), inset -1px 0 0 var(--line);
  }
  .cmp thead th.is-ours {
    border-radius: var(--r-5) var(--r-5) 0 0;
    border-bottom-color: var(--accent);
    box-shadow: inset 1px 0 0 var(--line), inset -1px 0 0 var(--line), inset 0 1px 0 var(--line);
  }
  .cmp tbody tr:last-child td.is-ours {
    border-radius: 0 0 var(--r-5) var(--r-5);
    box-shadow: inset 1px 0 0 var(--line), inset -1px 0 0 var(--line), inset 0 -1px 0 var(--line);
  }
  .cmp tbody td.is-ours {
    color: var(--ink);
    border-bottom-color: rgb(11 17 32 / 0.08);
  }
  .cmp .is-ours .cmp__yes svg {
    color: var(--accent);
  }
  .cmp .is-ours .cmp__yes {
    color: var(--ink);
  }
}

/* --- 6 · Prijzen -------------------------------------------------------------------- */

.price-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 3rem;
}
.price {
  padding-top: 1.25rem;
  border-top: 2px solid var(--ink);
}
.price--featured {
  border-top-color: var(--accent);
}
.price__name {
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
}
.price__amount {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
  margin-top: 0.75rem;
}
.price__num {
  font-family: var(--font-body);
  font-size: clamp(2.75rem, 2rem + 2.4vw, 4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.price__vat {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.ticks {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.ticks li {
  position: relative;
  padding: 0.625rem 0 0.625rem 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-soft);
}
/* Elk punt een korte markeerstreep in plaats van een vinkje. */
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 0.875rem;
  height: 0.4em;
  background: var(--mark);
}
.ticks strong {
  color: var(--ink);
}
.ticks code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  color: var(--ink);
}
.price-aside {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}
.price-aside__text {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
}
.price-aside__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--text);
}
.price-aside__list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--line);
}
.price-aside__list li:last-child {
  border-bottom: 1px solid var(--line);
}
.price-aside__list small {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.price-aside__list strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price-aside .btn {
  justify-self: start;
}
@media (min-width: 900px) {
  .price-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
  }
  .price {
    grid-column: span 4;
  }
  .price-aside {
    grid-column: span 4;
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-5);
  }
}

/* --- 7 · Over ons ------------------------------------------------------------------- */

.about {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.about__grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}
.about__avatar {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}
.about__name {
  margin-top: 0.875rem;
  font-weight: 700;
  color: var(--ink);
}
.about__role {
  font-size: 0.875rem;
  color: var(--text-muted);
}
.about__statement {
  font-family: var(--font-body);
  font-size: var(--t-m);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.about__prose .lead {
  margin-top: 1.25rem;
  max-width: 40rem;
}
.about__pillars {
  display: grid;
  gap: 1.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.pillar {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-soft);
}
.pillar__title {
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}
@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    row-gap: 3.5rem;
  }
  .about__person {
    grid-column: 1 / span 3;
  }
  .about__prose {
    grid-column: 4 / span 8;
  }
  .about__pillars {
    grid-column: 4 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: var(--gutter);
    margin: 0;
  }
}

/* --- 8 · Vragen ---------------------------------------------------------------------- */

.faq-grid {
  display: grid;
  gap: 2.5rem;
}
.faq {
  border-top: 1px solid var(--ink);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
  padding: 1.125rem 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq__q {
  background: linear-gradient(var(--mark) 0 0) left 90% / 0% 0.5em no-repeat;
  transition: background-size var(--t-ui) var(--ease-out);
}
.faq summary:focus-visible .faq__q,
.faq details[open] .faq__q {
  background-size: 100% 0.5em;
}
@media (hover: hover) {
  .faq summary:hover .faq__q {
    background-size: 100% 0.5em;
  }
}
.faq summary svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: rotate var(--t-base) var(--ease-out);
}
.faq details[open] summary svg {
  rotate: 180deg;
  color: var(--accent-text);
}
.faq__content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-base) var(--ease-out);
}
.faq details[open] .faq__content {
  grid-template-rows: 1fr;
}
.faq__inner {
  overflow: hidden;
}
.faq__inner p {
  padding: 0 2rem 1.5rem 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 42rem;
}
.faq__inner strong {
  color: var(--ink);
}
@media (min-width: 900px) {
  .faq-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
    align-items: start;
  }
  .sec__head--side {
    display: grid;
    grid-template-columns: 1fr;
    grid-column: 1 / span 4;
    position: sticky;
    top: calc(var(--topbar-h) + 2rem);
  }
  .sec__head--side > * {
    grid-column: 1 / -1;
  }
  .faq {
    grid-column: 5 / -1;
  }
}

/* --- 9 · Gratis proef (de finale) ------------------------------------------------- */

.finale {
  padding-bottom: 4rem;
}
.finale__title {
  font-size: var(--t-xl);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--d-text);
  max-width: 22ch;
}
.proef-steps {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
  padding: 0;
  list-style: none;
}
.proef-step {
  padding-top: 1.25rem;
  border-top: 1px solid var(--d-border);
}
.proef-step__n {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--mark);
}
.proef-step h3 {
  margin-top: 0.5rem;
  font-size: 1.25rem;
  font-weight: 500;
}
.proef-step p {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--d-muted);
}
.finale__cta {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
  margin-top: 3rem;
}
.finale__promises {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  color: var(--d-muted);
}
.finale__promises li::before {
  content: "";
  display: inline-block;
  width: 0.75rem;
  height: 0.35em;
  margin-right: 0.5rem;
  background: var(--mark);
  translate: 0 -0.15em;
}
.finale__mail {
  font-size: 0.9375rem;
  color: var(--d-muted);
}
.intake {
  display: grid;
  gap: 1.5rem;
  margin-top: 4.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--d-border);
  scroll-margin-top: calc(var(--topbar-h) + 1rem);
}
.intake__title {
  font-size: var(--t-m);
  font-weight: 500;
}
.intake__text p {
  margin-top: 0.75rem;
  color: var(--d-muted);
  max-width: 28rem;
}
.dark .booking-frame {
  border-color: var(--d-border);
  background: var(--d-surface);
  box-shadow: none;
}
@media (min-width: 900px) {
  .proef-steps {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
  }
  .proef-step {
    grid-column: span 4;
  }
  .finale__cta {
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 2.5rem;
  }
  .finale__mail {
    grid-column: 1 / -1;
  }
  .intake {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
  }
  .intake__text {
    grid-column: 1 / span 4;
  }
  .booking {
    grid-column: 5 / -1;
  }
}

/* --- Bronvermelding bij de demo's -------------------------------------------------- */
/* Elke demo noemt zijn bron en licentie in één stille regel met een voetnoot-
   cijfer. De regel linkt naar de volledige vermelding onderaan de pagina
   (#bronnen), in dezelfde woorden als de app (web/src/data/licence.ts). */

.demo-credit {
  margin-top: 1rem;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.demo-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.demo-credit a.demo-credit__link {
  display: inline-block;
  padding: 0.375rem 0;
  margin: -0.375rem 0;
  text-decoration: none;
  background: linear-gradient(currentColor 0 0) left calc(100% - 0.3rem) / 100% 1px no-repeat,
    linear-gradient(var(--mark) 0 0) left calc(100% - 0.3rem) / 0% 0.55em no-repeat;
  transition: background-size var(--t-ui) var(--ease-out), color var(--t-fast);
}
.demo-credit a.demo-credit__link:focus-visible {
  background-size: 100% 1px, 100% 0.55em;
}
@media (hover: hover) {
  .demo-credit a.demo-credit__link:hover {
    color: var(--ink);
    background-size: 100% 1px, 100% 0.55em;
  }
}
.fn-mark {
  margin-left: 0.125rem;
  font-size: 0.7em;
  line-height: 0;
}

/* De volledige vermeldingen, één keer, als voetnoten boven de footer. */
.sources {
  padding: 2.5rem var(--pad-x) 2rem;
  background: var(--bg);
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.6;
}
.sources__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--text-soft);
}
.sources__list {
  margin: 0;
  padding-left: 1.25rem;
  max-width: 60rem;
}
.sources__list li + li {
  margin-top: 0.5rem;
}
.sources__list li {
  scroll-margin-top: calc(var(--topbar-h) + 2rem);
}
.sources__list li:target {
  background: var(--mark);
  outline: 4px solid var(--mark);
  color: var(--ink);
}
.sources a {
  display: inline-block;
  padding-block: 0.25rem;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
@media (hover: hover) {
  .sources a:hover {
    color: var(--ink);
  }
}
