/* ==========================================================================
   Link Scale, huisstijl Meridiaan
   Brand guide: /docs/brand/BRAND-GUIDE.md
   ========================================================================== */

:root {
  /* Palet */
  --petrol:       #0C2A3A;
  --petrol-line:  #1B4257;
  --pine:         #0E6E5B;
  --kelp:         #0F8A5F;
  --kelp-bright:  #2FD79B;
  --paper:        #FBFBF9;
  --slate:        #5B6B72;
  --slate-dark:   #93A7AF;
  --mist:         #D8DEDB;
  --mist-soft:    #EDF0EE;

  /* Typografie */
  --display: "Archivo", system-ui, -apple-system, sans-serif;
  --body:    "Inter", system-ui, -apple-system, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, Menlo, monospace;

  /* Type scale */
  --fs-xs:   0.75rem;   /* 12 */
  --fs-sm:   0.875rem;  /* 14 */
  --fs-base: 1rem;      /* 16 */
  --fs-md:   1.125rem;  /* 18 */
  --fs-lg:   1.3125rem; /* 21 */
  --fs-xl:   1.75rem;   /* 28 */
  --fs-2xl:  2.375rem;  /* 38 */
  --fs-3xl:  3.25rem;   /* 52 */
  --fs-4xl:  4.25rem;   /* 68 */

  /* Ritme */
  --gutter: 24px;
  --maxw:   1120px;
  --narrow: 760px;
  --section: clamp(72px, 10vw, 132px);
  --radius: 8px;
}

/* --------------------------------------------------------------- reset -- */

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

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--petrol);
  font-family: var(--body);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--kelp);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--petrol);
  color: var(--paper);
  padding: 12px 18px;
  z-index: 100;
  border-radius: 0 0 var(--radius) 0;
}

.skip:focus { left: 0; }

/* ---------------------------------------------------------- typografie -- */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-variation-settings: "wdth" 115;
  font-weight: 700;
  letter-spacing: -.006em;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6.2vw, var(--fs-4xl)); letter-spacing: -.018em; line-height: 1.03; }
h2 { font-size: clamp(1.875rem, 4vw, var(--fs-3xl)); letter-spacing: -.012em; line-height: 1.08; }
h3 { font-size: var(--fs-lg); line-height: 1.25; }
h4 { font-size: var(--fs-base); line-height: 1.35; }

p { margin: 0; }

.lede {
  font-size: var(--fs-md);
  color: var(--slate);
  max-width: 58ch;
}

.body-text { max-width: 66ch; color: var(--slate); }

.body-text strong { color: var(--petrol); font-weight: 600; }

.eyebrow {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--kelp);
  margin: 0;
}

.eyebrow--quiet { color: var(--slate); }

.num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -.02em;
}

/* ------------------------------------------------------------- layout -- */

.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.section { padding-block: var(--section); }

.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.stack--wide { gap: 32px; }

hr.rule {
  border: 0;
  border-top: 1px solid var(--mist);
  margin: 0;
}

/* ------------------------------------------------------------ knoppen -- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--body);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1;
  padding: 14px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: var(--kelp);
  color: var(--paper);
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

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

.btn--ghost {
  background: transparent;
  color: var(--petrol);
  border-color: var(--mist);
}

.btn--ghost:hover { background: transparent; border-color: var(--petrol); }

.btn--onDark { background: var(--kelp-bright); color: var(--petrol); }
.btn--onDark:hover { background: var(--paper); }

.btn--ghostOnDark {
  background: transparent;
  color: var(--paper);
  border-color: var(--petrol-line);
}

.btn--ghostOnDark:hover { background: transparent; border-color: var(--paper); }

.btn svg { flex: none; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--kelp);
  text-decoration: none;
  transition: gap .18s ease;
}

.textlink:hover { gap: 11px; }

.band .textlink { color: var(--kelp-bright); }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* -------------------------------------------------------------- header -- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--mist);
}

.masthead__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-variation-settings: "wdth" 112;
  font-weight: 700;
  font-size: var(--fs-md);
  letter-spacing: .01em;
  color: var(--petrol);
  flex: none;
}

.logo img { width: 27px; height: 24px; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
}

.nav a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: color .18s ease, background-color .18s ease;
}

.nav a:hover { color: var(--petrol); background: var(--mist-soft); }

.nav a[aria-current="page"] { color: var(--petrol); font-weight: 600; }

.masthead .btn { flex: none; padding: 11px 18px; }

@media (max-width: 1080px) {
  .masthead__inner { height: auto; padding-block: 14px; flex-wrap: wrap; }
  .nav {
    order: 3;
    width: 100%;
    margin-inline-start: 0;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; padding-inline: 10px; }
  .masthead .btn { margin-inline-start: auto; }
}

/* ---------------------------------------------------------------- hero -- */

.hero { padding-block: clamp(56px, 8vw, 104px) clamp(44px, 6vw, 76px); }

.hero h1 { max-width: 14ch; }

.hero h1 em { font-style: normal; color: var(--kelp); }

.hero .lede { font-size: var(--fs-md); max-width: 44ch; }

/* Tekst links, grafiek rechts. Onder 940px stapelt het. */
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

@media (max-width: 939px) {
  .hero__grid { grid-template-columns: 1fr; }
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}

/* --------------------------------------------------------------- stats -- */

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 56px);
}

.stat { display: flex; flex-direction: column; gap: 2px; }

.stat__value {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: var(--fs-xl);
  letter-spacing: -.03em;
  color: var(--kelp);
  line-height: 1.1;
}

.stat__label {
  font-size: var(--fs-sm);
  color: var(--slate);
}

.band .stat__value { color: var(--kelp-bright); }
.band .stat__label { color: var(--slate-dark); }

/* ---------------------------------------------------------------- band -- */

.band {
  background: var(--petrol);
  color: var(--paper);
}

.band h2, .band h3 { color: var(--paper); }

.band .lede, .band .body-text { color: var(--slate-dark); }

.band .body-text strong { color: var(--paper); }

.band .eyebrow { color: var(--kelp-bright); }

.band hr.rule { border-color: var(--petrol-line); }

/* ------------------------------------------------------------- kolommen -- */

/* Asymmetrisch: sectiekop smal links en meelopend, inhoud breed rechts. */
.split {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: start;
}

@media (min-width: 940px) {
  .split > *:first-child { position: sticky; top: 116px; }
}

@media (max-width: 939px) { .split { grid-template-columns: 1fr; } }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

/* --------------------------------------------------------------- kaart -- */

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px 26px;
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  background: var(--paper);
  text-decoration: none;
  color: inherit;
  transition: border-color .18s ease, transform .18s ease;
}

a.card {
  transition:
    border-color .3s ease,
    transform .3s cubic-bezier(.2, .7, .3, 1),
    box-shadow .3s ease;
}

a.card:hover {
  border-color: var(--petrol);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(12, 42, 58, .45);
}

.card__label {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate);
}

.card p { font-size: var(--fs-sm); color: var(--slate); }

/* Prijs is een feit, geen verkoopargument, bewust ingetogen. */
.card__meta {
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: .04em;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card__meta::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--mist);
  flex: none;
}

/* ===========================================================================
   Editorial grid. Sectiekop links, inhoud rechts. Doorbreekt het stapelen.
   =========================================================================== */

.editorial {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: start;
}

.editorial__aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 940px) {
  .editorial__aside { position: sticky; top: 116px; }
}

@media (max-width: 939px) {
  .editorial { grid-template-columns: 1fr; }
}

.editorial__main {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}

/* ===========================================================================
   Diensten als redactionele rijen in plaats van kaartjes.
   =========================================================================== */

.index {
  width: 100%;
  border-top: 1px solid var(--mist);
}

.index__row {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) minmax(0, 1.15fr) 30px;
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
  padding: clamp(26px, 3.4vw, 38px) 0;
  border-bottom: 1px solid var(--mist);
  text-decoration: none;
  color: inherit;
  isolation: isolate;
}

.index__row::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--gutter) * -1);
  background: var(--mist-soft);
  border-radius: 6px;
  opacity: 0;
  transition: opacity .3s ease;
  z-index: -1;
}

.index__row:hover::before { opacity: 1; }

.index__num {
  font-family: var(--mono);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--kelp);
  padding-top: .35em;
  letter-spacing: .04em;
}

.index__title {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.index__title h3 {
  font-family: var(--display);
  font-variation-settings: "wdth" 115;
  font-size: clamp(1.25rem, 2.2vw, var(--fs-xl));
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.12;
}

.index__label {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate);
}

.index__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: .3em;
}

.index__body p {
  font-size: var(--fs-sm);
  color: var(--slate);
  line-height: 1.6;
}

.index__meta {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: .06em;
  color: var(--slate);
}

.index__arrow {
  align-self: center;
  color: var(--mist);
  transition: color .3s ease, transform .3s cubic-bezier(.2, .7, .3, 1);
}

.index__row:hover .index__arrow {
  color: var(--kelp);
  transform: translateX(5px);
}

@media (max-width: 780px) {
  .index__row { grid-template-columns: 40px minmax(0, 1fr); }
  .index__body { grid-column: 2; padding-top: 0; }
  .index__arrow { display: none; }
}

/* ===========================================================================
   Plotraster. De donkere vlakken krijgen de textuur van een grafiek.
   =========================================================================== */

.band--plot {
  background-image:
    linear-gradient(to right, rgba(251, 251, 249, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(251, 251, 249, .045) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center;
}

/* ===========================================================================
   Bewijsstrook. De cijfers krijgen een eigen band.
   =========================================================================== */

.proof {
  border-block: 1px solid var(--mist);
}

.proof__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.proof__item {
  padding: clamp(28px, 3.5vw, 40px) 0;
  padding-inline-end: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.proof__item + .proof__item { padding-inline-start: 24px; }

.proof__item + .proof__item::before {
  content: "";
  position: absolute;
  inset-block: clamp(28px, 3.5vw, 40px);
  inset-inline-start: 0;
  width: 1px;
  background: var(--mist);
}

@media (max-width: 620px) {
  .proof__item + .proof__item { padding-inline-start: 0; }
  .proof__item + .proof__item::before { display: none; }
  .proof__item + .proof__item { border-top: 1px solid var(--mist); }
}

.proof__value {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: clamp(1.75rem, 3.4vw, var(--fs-2xl));
  letter-spacing: -.035em;
  color: var(--petrol);
  line-height: 1;
}

.proof__label {
  font-size: var(--fs-sm);
  color: var(--slate);
  max-width: 26ch;
}

/* ===========================================================================
   De grafiek in de hero. Het argument, niet de versiering.
   =========================================================================== */

.chart {
  position: relative;
  width: 100%;
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
}

.chart__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

.chart__title {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate);
}

.chart__canvas {
  display: block;
  width: 100%;
  height: 232px;
}

.chart__legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.chart__key {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  color: var(--slate);
}

.chart__key i {
  width: 16px;
  height: 2px;
  border-radius: 1px;
  flex: none;
}

.chart__note {
  font-size: var(--fs-xs);
  color: var(--slate);
  font-style: italic;
}

/* ------------------------------------------------------------ features -- */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--mist);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
}

.band .features { background: var(--petrol-line); border-color: var(--petrol-line); }

.feature {
  background: var(--paper);
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background-color .25s ease;
}

.band .feature { background: var(--petrol); }

.feature:hover { background: var(--mist-soft); }
.band .feature:hover { background: #10344A; }

.feature__index {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--kelp);
}

.band .feature__index { color: var(--kelp-bright); }

.feature h3 { font-size: var(--fs-base); }

.feature p {
  font-size: var(--fs-sm);
  color: var(--slate);
  line-height: 1.55;
}

.band .feature p { color: var(--slate-dark); }

/* ------------------------------------------------------------- pijlers -- */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(24px, 4vw, 40px);
  width: 100%;
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 20px;
  border-top: 2px solid var(--kelp);
}

.band .pillar { border-top-color: var(--kelp-bright); }

.pillar__step {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate);
}

.pillar p { font-size: var(--fs-sm); color: var(--slate); }

.band .pillar p, .band .pillar__step { color: var(--slate-dark); }

/* ------------------------------------------------------------ beweging -- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .75s cubic-bezier(.2, .7, .3, 1),
    transform .75s cubic-bezier(.2, .7, .3, 1);
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* -------------------------------------------------------------- lijsten -- */

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 60ch;
}

.checks li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  font-size: var(--fs-base);
  color: var(--slate);
}

.checks li strong { color: var(--petrol); font-weight: 600; }

.band .checks li { color: var(--slate-dark); }
.band .checks li strong { color: var(--paper); }

.checks li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--kelp);
}

.band .checks li::before { background: var(--kelp-bright); }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: step;
  width: 100%;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 20px;
  padding-block: 22px;
  border-top: 1px solid var(--mist);
  align-items: start;
}

.steps li:last-child { border-bottom: 1px solid var(--mist); }

.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--kelp);
  padding-top: 3px;
}

.steps h3 { margin-bottom: 5px; }

.steps p { font-size: var(--fs-sm); color: var(--slate); max-width: 62ch; }

/* --------------------------------------------------------------- prijs -- */

.pricebox {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 30px;
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  align-items: flex-start;
}

.pricebox__amount {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: var(--fs-lg);
  letter-spacing: -.02em;
  color: var(--petrol);
  line-height: 1.1;
}

.pricebox p { font-size: var(--fs-sm); color: var(--slate); max-width: 46ch; }

/* -------------------------------------------------------------- footer -- */

.footer {
  border-top: 1px solid var(--mist);
  padding-block: 56px 44px;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col h4 {
  font-family: var(--mono);
  font-variation-settings: normal;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate);
}

.footer__col a {
  font-size: var(--fs-sm);
  color: var(--slate);
  text-decoration: none;
}

.footer__col a:hover { color: var(--petrol); }

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--mist);
  font-family: var(--mono);
  font-size: var(--fs-xs);
  color: var(--slate);
}
