/* slimbijverdienen.nl — TipTop, bekeken vanuit de uitbetaling.
 * Een \"grootboek\"-opmaak: genummerde secties, tabellen waarin ja/nee is
 * gemarkeerd, en cijfers in kaarten naast de inleiding. */

:root {
  --bg: #111213;
  --bg-deep: #0c0d0f;
  --surface: #1a1b21;
  --surface-2: #20222a;
  --border: #343641;
  --border-soft: #262830;
  --text: #ffffff;
  --text-muted: #b3b7c2;
  --text-dim: #8d92a0;
  --mint: #51fe9e;
  --mint-soft: #9affd5;
  --link: #5aef9f;
  --link-hover: #5dffc9;
  --accent: #22d6e4;
  --warn: #ff9d86;
  --btn-text: #1f2028;
  --font: Poppins, "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --wrap: 1100px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; }

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--link-hover); }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0; }

code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 0.05em 0.35em;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--mint);
  color: var(--btn-text);
  padding: 10px 16px;
  font-weight: 600;
  z-index: 50;
}
.skip-link:focus { left: 8px; top: 8px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- kop en navigatie ---------- */

.age-strip {
  margin: 0;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.4;
  padding: 9px 20px;
  text-align: center;
}

.age-mark {
  display: inline-block;
  margin-right: 8px;
  border: 1px solid var(--mint);
  border-radius: 999px;
  color: var(--mint);
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(17, 18, 19, 0.94);
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.brand img { width: 104px; height: auto; }

.nav-toggle {
  margin-left: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  padding: 7px 14px;
}
.nav-toggle:hover { border-color: var(--mint); }

.site-nav { display: none; flex-basis: 100%; }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 2px; }
.site-nav a {
  display: block;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 15px;
  padding: 9px 10px;
  text-decoration: none;
}
.site-nav a:hover { background: var(--surface); color: var(--text); }
.site-nav a[aria-current="page"] { color: var(--mint); }

/* ---------- inleiding ---------- */

.hero { border-bottom: 1px solid var(--border-soft); padding: 34px 0 30px; }

.hero-inner { display: grid; gap: 26px; }

.kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 { font-size: clamp(27px, 5.4vw, 40px); margin-bottom: 16px; }

.hero-copy p { color: var(--text-muted); margin: 0 0 14px; max-width: 62ch; }
.hero-copy strong { color: var(--text); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px !important; }

.btn {
  display: inline-block;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  padding: 11px 18px;
  text-decoration: none;
}
.btn-primary { background: var(--mint); color: var(--btn-text); }
.btn-primary:hover { background: var(--mint-soft); color: var(--btn-text); }
.btn-secondary { border: 1px solid var(--border); color: var(--text); }
.btn-secondary:hover { border-color: var(--mint); color: var(--text); }

.stat-card {
  margin: 0;
  align-self: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--mint);
  border-radius: var(--radius);
  padding: 20px;
}

.stat-card-title {
  margin: 0 0 14px;
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stats { margin: 0; }

.stat {
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
}
.stat:first-of-type { border-top: 0; padding-top: 0; }
.stat dt { color: var(--text-muted); font-size: 14px; }
.stat dd {
  margin: 0;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
}

.stat-card-note {
  border-top: 1px solid var(--border-soft);
  color: var(--text-dim);
  font-size: 13px;
  line-height: 1.5;
  margin: 14px 0 0;
  padding-top: 14px;
}

/* ---------- inhoudsopgave ---------- */

.toc { background: var(--bg-deep); border-bottom: 1px solid var(--border-soft); padding: 16px 0; }
.toc-title {
  margin: 0 0 10px;
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.toc ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.toc a {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 13px;
  padding: 6px 13px;
  text-decoration: none;
}
.toc a:hover, .toc a.is-active { border-color: var(--mint); color: var(--text); }

/* ---------- secties ---------- */

.band { border-bottom: 1px solid var(--border-soft); padding: 34px 0; }

.band-title {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: clamp(21px, 3.6vw, 27px);
  margin-bottom: 18px;
  scroll-margin-top: 90px;
}

.band-num {
  color: var(--mint);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  flex: none;
  padding-top: 0.35em;
}

.band-intro { color: var(--text-muted); margin: 0 0 18px; max-width: 70ch; }

.prose > * + * { margin-top: 18px; }
.prose p { color: var(--text-muted); margin: 0; max-width: 72ch; }
.prose strong { color: var(--text); font-weight: 600; }
.prose h3 { font-size: 19px; margin-top: 26px; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li {
  color: var(--text-muted);
  padding-left: 28px;
  position: relative;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--mint);
}
.checks strong { color: var(--text); }

.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li {
  counter-increment: step;
  color: var(--text-muted);
  padding-left: 42px;
  position: relative;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 28px;
  height: 28px;
  border: 1px solid var(--mint);
  border-radius: 50%;
  color: var(--mint);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  line-height: 26px;
  text-align: center;
}

.spec { display: grid; gap: 0; margin: 0; }
.spec-row {
  border-top: 1px solid var(--border-soft);
  display: grid;
  gap: 4px 20px;
  padding: 14px 0;
}
.spec-row:first-child { border-top: 0; padding-top: 0; }
.spec dt { color: var(--mint); font-size: 14px; font-weight: 600; }
.spec dd { color: var(--text-muted); margin: 0; }
.spec dd strong, .spec dt strong { color: inherit; font-weight: 600; }

/* ---------- tabellen ---------- */

.table-scroll {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table.ledger { border-collapse: collapse; font-size: 15px; min-width: 100%; width: 100%; }

table.ledger th, table.ledger td {
  border-bottom: 1px solid var(--border-soft);
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
}

table.ledger thead th {
  background: var(--surface-2);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

table.ledger tbody th { color: var(--text); font-weight: 600; }
table.ledger tbody td { color: var(--text-muted); }
table.ledger tbody tr:last-child th, table.ledger tbody tr:last-child td { border-bottom: 0; }
table.ledger tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.017); }

table.ledger td.is-yes { color: var(--mint); font-weight: 600; }
table.ledger td.is-no { color: var(--warn); }
table.ledger td.is-own { color: var(--accent); }

/* ---------- afbeelding ---------- */

.figure-wrap { padding-top: 26px; padding-bottom: 8px; }

.figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.figure img { display: block; width: 100%; }
.figure figcaption {
  border-top: 1px solid var(--border-soft);
  color: var(--text-dim);
  font-size: 14px;
  padding: 12px 16px;
}

/* ---------- verantwoord spelen ---------- */

.band-care .prose {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px;
}
.band-care .table-scroll { background: var(--bg); }

/* ---------- vragen ---------- */

.band-faq { background: var(--bg-deep); }

.faq { display: grid; gap: 10px; max-width: 78ch; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 18px;
}
.faq-item[open] { border-color: var(--mint); }

.faq-item summary {
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  list-style: none;
  padding: 15px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--mint);
  font-family: var(--mono);
  font-size: 18px;
  margin-left: auto;
}
.faq-item[open] summary::after { content: "–"; }

.faq-answer { border-top: 1px solid var(--border-soft); padding: 14px 0 18px; }
.faq-answer p { color: var(--text-muted); margin: 0 0 10px; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ---------- verwijzingen ---------- */

.card-grid { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }

.card a {
  display: grid;
  gap: 6px;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 18px;
  text-decoration: none;
}
.card a:hover { border-color: var(--mint); }
.card-label { color: var(--mint); font-size: 15px; font-weight: 600; }
.card-text { color: var(--text-muted); font-size: 15px; line-height: 1.5; }
.card-path { color: var(--text-dim); font-family: var(--mono); font-size: 12px; }

/* ---------- verantwoording ---------- */

.band-colophon { background: var(--bg-deep); }

.colophon { display: grid; margin: 0; max-width: 90ch; }
.colophon-row { border-top: 1px solid var(--border-soft); display: grid; gap: 4px; padding: 14px 0; }
.colophon-row:first-child { border-top: 0; padding-top: 0; }
.colophon dt { color: var(--mint); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.colophon dd { color: var(--text-muted); font-size: 15px; margin: 0; }

/* ---------- voet ---------- */

.site-footer { background: var(--bg-deep); border-top: 1px solid var(--border); padding: 34px 0 40px; }
.footer-logo { width: 104px; height: auto; }

.badges { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 18px 0; padding: 0; }
.badges li {
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 12px;
  padding: 4px 11px;
}

.footer-nav ul { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; margin: 0 0 18px; padding: 0; }
.footer-nav a { color: var(--text-muted); font-size: 14px; text-decoration: none; }
.footer-nav a:hover { color: var(--mint); }

.footer-note { color: var(--text-dim); font-size: 13px; line-height: 1.6; margin: 0 0 12px; max-width: 80ch; }
.copyright { color: var(--text-dim); font-size: 13px; margin: 0; }

/* ---------- breder scherm ---------- */

@media (min-width: 720px) {
  .card-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .spec-row { grid-template-columns: 220px 1fr; }
  .colophon-row { grid-template-columns: 170px 1fr; gap: 20px; }
  .band { padding: 44px 0; }
  .hero { padding: 48px 0 42px; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; flex-basis: auto; margin-left: auto; }
  .site-nav ul { display: flex; flex-wrap: wrap; gap: 2px; }
  .site-nav a { font-size: 14px; padding: 7px 10px; }
  .hero-inner { grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); gap: 40px; }
  .stat-card { position: sticky; top: 92px; }
}