/* ===========================================================
   Fork & Spoon — contentpagina's (guides, comparisons, tools)
   Bouwt op de tokens, de nav en de footer uit v4.css en volgt
   dezelfde regel: geen omlijningen. Vlakken scheiden zich met
   kleur, zachte slagschaduw en witruimte; haarlijnen alleen
   waar een rij anders in elkaar overloopt (tabel, faq).
   =========================================================== */

body.page { background: var(--cream); }

.page-main { padding: clamp(96px, 12vh, 136px) var(--gutter) clamp(48px, 7vw, 80px); }
.page-article { max-width: 760px; margin: 0 auto; }

/* ---------- kruimelpad ---------- */
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 500; color: var(--ink-soft);
  margin-bottom: 26px;
}
.crumbs a { color: var(--coral); }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- kop ---------- */
.page-head { margin-bottom: 38px; }
.page-head h1 {
  margin: 0 0 14px;
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(32px, 5.4vw, 52px); line-height: 1.04; letter-spacing: -.025em;
  text-wrap: balance;
}
.page-head h1 em { font-style: italic; color: var(--coral); }
.page-meta {
  margin: 0; font-size: 13px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft);
}

/* ---------- inhoudsopgave ---------- */
.page-toc {
  background: var(--paper); border-radius: var(--r-xl);
  padding: 24px 28px; margin-bottom: 40px;
  box-shadow: var(--shadow-card);
}
.page-toc::before {
  content: "On this page";
  display: block; margin-bottom: 12px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--coral);
}
.page-toc > strong {
  display: block; margin-bottom: 12px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--coral);
}
.page-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.page-toc li { position: relative; padding-left: 24px; }
.page-toc li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 13px; height: 13px; border-radius: 50%; background: var(--mint);
}
.page-toc a { font-size: 15.5px; font-weight: 500; }
.page-toc a:hover { color: var(--coral); }

/* ---------- lopende tekst ---------- */
.prose { font-size: 17.5px; line-height: 1.62; color: var(--ink-soft); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  margin: 2em 0 0;
  font-family: var(--font-serif); font-weight: 700; color: var(--ink);
  font-size: clamp(24px, 3vw, 33px); line-height: 1.12; letter-spacing: -.02em;
}
.prose h3 {
  margin: 1.7em 0 0;
  font-family: var(--font-serif); font-weight: 700; color: var(--ink);
  font-size: clamp(19px, 2.2vw, 23px); line-height: 1.2;
}
.prose h2 em, .prose h3 em { font-style: italic; color: var(--coral); }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose a { color: var(--coral); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.prose a:hover { text-decoration-thickness: 2.5px; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose ul, .prose ol { margin-left: 0; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 13px; height: 13px; border-radius: 50%; background: var(--mint);
}
.prose ol { counter-reset: step; }
.prose ol li { position: relative; padding-left: 34px; counter-increment: step; }
.prose ol li::before {
  content: counter(step); position: absolute; left: 0; top: .05em;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--sun-soft); color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 12px; line-height: 1;
}
.prose code {
  background: var(--cream-2); border-radius: 7px;
  padding: 2px 7px; font-size: .88em;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}
.prose blockquote {
  margin: 1.6em 0; padding: 22px 26px;
  background: var(--mint-soft); border-radius: var(--r-lg);
  color: var(--ink);
}
.prose blockquote p { margin: 0; font-size: 17px; }
.prose hr { margin: 2.4em 0; border: 0; height: 1px; background: var(--hairline); }

/* ---------- tabellen ---------- */
.table-scroll {
  overflow-x: auto; margin: 1.6em 0;
  background: var(--paper); border-radius: var(--r-xl);
  box-shadow: var(--shadow-card);
  -webkit-overflow-scrolling: touch;
}
.table-scroll table { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 460px; }
.table-scroll th {
  background: var(--cream); color: var(--ink);
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  text-align: left; padding: 15px 20px; white-space: nowrap;
}
.table-scroll td { padding: 15px 20px; color: var(--ink-soft); box-shadow: inset 0 -1px 0 var(--hairline); }
.table-scroll tr:last-child td { box-shadow: none; }
.table-scroll td:first-child { font-weight: 600; color: var(--ink); }

/* ---------- faq ---------- */
.page-faq { margin-top: 3.4em; }
.page-faq h2 {
  margin: 0 0 12px;
  font-family: var(--font-serif); font-weight: 700; color: var(--ink);
  font-size: clamp(24px, 3vw, 33px); line-height: 1.12; letter-spacing: -.02em;
}
.page-faq details { box-shadow: inset 0 -1px 0 var(--hairline); }
.page-faq details:first-of-type { box-shadow: inset 0 1px 0 var(--hairline), inset 0 -1px 0 var(--hairline); }
.page-faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px;
  font-family: var(--font-serif); font-weight: 700; color: var(--ink);
  font-size: clamp(16.5px, 1.8vw, 19.5px); line-height: 1.25;
}
.page-faq summary::-webkit-details-marker { display: none; }
/* Het oude sjabloon zet hier een chevron neer; in dit ontwerp is het
   hetzelfde plusje als op de homepage. */
.page-faq .faq-chev {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--cream); position: relative;
  transition: background .2s, transform .25s var(--ease);
}
.page-faq .faq-chev::before, .page-faq .faq-chev::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%);
}
.page-faq .faq-chev::before { width: 13px; height: 2.5px; }
.page-faq .faq-chev::after  { width: 2.5px; height: 13px; transition: transform .25s var(--ease); }
.page-faq details[open] .faq-chev { background: var(--sun); transform: rotate(180deg); }
.page-faq details[open] .faq-chev::after { transform: translate(-50%, -50%) scaleY(0); }
.page-faq details p { margin: 0 0 24px; padding-right: 54px; color: var(--ink-soft); font-size: 16.5px; }

/* ---------- oproep onderaan ---------- */
.page-cta {
  margin-top: 3.6em; padding: clamp(30px, 4vw, 46px);
  background: var(--ink); color: var(--cream);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-raised);
}
.page-cta h2 {
  margin: 0 0 10px;
  font-family: var(--font-serif); font-weight: 700; color: var(--cream);
  font-size: clamp(23px, 3vw, 32px); line-height: 1.1; letter-spacing: -.02em;
}
.page-cta p { margin: 0 0 24px; color: rgba(255, 244, 228, .8); font-size: 16.5px; }
.page-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.page-cta .btn-ghost {
  background: var(--ink-2); color: var(--cream); box-shadow: none;
}
.page-cta .btn-ghost:hover { background: #1D505C; transform: translateY(-2px); box-shadow: none; }

/* ---------- overzichtskaarten ---------- */
.hub-list, .prose .hub-list { display: grid; gap: 18px; margin-top: 1.6em; padding-left: 0; }
/* De kaarten staan in een <ul> binnen .prose; zonder deze reset krijgt elke
   kaart de opsommingsstip van de lopende tekst ernaast. */
.prose .hub-list li { padding-left: 0; }
.prose .hub-list li::before { content: none; }
.prose .hub-card {
  display: block; background: var(--paper); border-radius: var(--r-xl);
  padding: 26px 28px; box-shadow: var(--shadow-card);
  text-decoration: none;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.prose .hub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-raised); }
.prose .hub-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif); font-weight: 700; color: var(--ink);
  font-size: 21px; line-height: 1.16;
}
.prose .hub-card:hover h3 { color: var(--coral); }
.prose .hub-card p { margin: 0; font-size: 15.5px; color: var(--ink-soft); }

/* ---------- verwante pagina's ---------- */
.page-related { margin-top: 3.2em; }
.page-related h2 {
  margin: 0 0 14px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--coral);
}
.page-related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.page-related li { position: relative; padding-left: 24px; }
.page-related li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 13px; height: 13px; border-radius: 50%; background: var(--coral-soft);
}
.page-related a { font-weight: 500; color: var(--ink); }
.page-related a:hover { color: var(--coral); }

/* ---------- gereedschap ---------- */
.tool {
  background: var(--paper); border-radius: var(--r-2xl);
  padding: clamp(24px, 3.2vw, 36px); margin: 1.8em 0;
  box-shadow: var(--shadow-card);
}
.tool-row { display: grid; gap: 16px; }
@media (min-width: 560px) { .tool-row { grid-template-columns: 1fr 1fr; } }
.tool-field { display: flex; flex-direction: column; gap: 7px; }
.tool-field label, .tool-field .tool-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-soft);
}
.tool input[type="text"], .tool input[type="number"], .tool select, .tool textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--cream); border: 0; border-radius: var(--r-sm);
  padding: 13px 16px;
  box-shadow: inset 0 0 0 2px transparent;
  transition: box-shadow .2s, background .2s;
}
.tool input:hover, .tool select:hover, .tool textarea:hover { background: var(--cream-2); }
.tool textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.tool select { appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355696F' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px;
}
.tool input:focus-visible, .tool select:focus-visible, .tool textarea:focus-visible {
  outline: none; box-shadow: inset 0 0 0 2.5px var(--coral);
}
.tool-hint { margin: 10px 0 0; font-size: 14px; color: var(--ink-soft); }
.tool-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.tool-factor {
  display: inline-flex; align-self: flex-start; align-items: baseline; gap: 8px;
  background: var(--sun-soft); border-radius: var(--pill);
  padding: 9px 16px; margin-top: 16px;
  font-size: 14px; font-weight: 600; color: var(--ink);
}
.tool-out { margin-top: 24px; }
.tool-out-empty { color: var(--ink-soft); font-size: 15.5px; }
.tool-headline {
  font-family: var(--font-serif); font-weight: 700; color: var(--ink);
  font-size: 21px; line-height: 1.2; margin: 0 0 14px;
}
.tool-headline strong { font-weight: 700; color: var(--coral); }
.tool-grid { display: grid; gap: 12px; margin: 0; }
@media (min-width: 560px) { .tool-grid { grid-template-columns: repeat(2, 1fr); } }
.tool-grid > div {
  background: var(--cream); border-radius: var(--r-md); padding: 14px 18px;
}
.tool-grid dt {
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 3px;
}
.tool-grid dd { margin: 0; font-size: 18px; font-weight: 700; color: var(--ink); }
.tool-lines, .prose .tool-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.tool-lines li, .prose .tool-lines li {
  position: relative; padding: 12px 4px 12px 26px;
  font-size: 16px; color: var(--ink);
  box-shadow: inset 0 -1px 0 var(--hairline);
}
.prose .tool-lines li::before { top: 1.15em; }
.tool-lines li:last-child, .prose .tool-lines li:last-child { box-shadow: none; }

/* ---------- footer op contentpagina's ---------- */
body.page .footer { margin-top: 0; }
