/* Streepaf house style — see docs/HUISSTIJL.md. Tokens mirror web/src/app.css. */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/bricolage-grotesque.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/geist.woff2") format("woff2-variations");
}

:root {
  --bg: #ffffff;
  --bg-soft: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #eceef2;
  --border: #e4e7ec;
  --border-strong: #cdd2da;
  --fg: #0b0d12;
  --fg-muted: #4b5363;
  --fg-faint: #6b7385;
  /* The highlighter: Streepaf's signature colour. Never used for text on white. */
  --lime: #c6f432;
  --on-lime: #0b0d12;
  --action: #0b0d12;
  --action-hover: #262b36;
  --on-action: #ffffff;
  --offer-bg: #0b0d12;
  --offer-fg: #ffffff;
  --offer-muted: #a7afbd;
  --done: #15803d;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgb(11 13 18 / 4%), 0 8px 24px rgb(11 13 18 / 6%);
  --shadow-hover: 0 2px 4px rgb(11 13 18 / 6%), 0 16px 40px rgb(11 13 18 / 10%);
  --font-display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 780px;
  --cat-besparen: #16a34a;
  --cat-regelen: #475569;
  --cat-wonen: #d97706;
  --cat-baby-en-gezin: #db2777;
  --cat-reizen: #0891b2;
  --cat-feest: #7c3aed;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0b0f;
    --bg-soft: #111319;
    --surface: #14171f;
    --surface-2: #1d212b;
    --border: #252a36;
    --border-strong: #363d4c;
    --fg: #f3f5f8;
    --fg-muted: #a7afbd;
    --fg-faint: #8a93a3;
    --action: #c6f432;
    --action-hover: #d6fa66;
    --on-action: #0a0b0f;
    --offer-bg: #1d212b;
    --offer-fg: #f3f5f8;
    --offer-muted: #a7afbd;
    --done: #4ade80;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%);
    --shadow-hover: 0 12px 32px rgb(0 0 0 / 50%);
    --cat-besparen: #4ade80;
    --cat-regelen: #94a3b8;
    --cat-wonen: #fbbf24;
    --cat-baby-en-gezin: #f472b6;
    --cat-reizen: #22d3ee;
    --cat-feest: #a78bfa;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0b0f;
  --bg-soft: #111319;
  --surface: #14171f;
  --surface-2: #1d212b;
  --border: #252a36;
  --border-strong: #363d4c;
  --fg: #f3f5f8;
  --fg-muted: #a7afbd;
  --fg-faint: #8a93a3;
  --action: #c6f432;
  --action-hover: #d6fa66;
  --on-action: #0a0b0f;
  --offer-bg: #1d212b;
  --offer-fg: #f3f5f8;
  --offer-muted: #a7afbd;
  --done: #4ade80;
  --shadow: 0 1px 2px rgb(0 0 0 / 40%);
  --shadow-hover: 0 12px 32px rgb(0 0 0 / 50%);
  --cat-besparen: #4ade80;
  --cat-regelen: #94a3b8;
  --cat-wonen: #fbbf24;
  --cat-baby-en-gezin: #f472b6;
  --cat-reizen: #22d3ee;
  --cat-feest: #a78bfa;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
}
p {
  margin: 0 0 0.9em;
}
a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-decoration-thickness: 0.18em;
  text-underline-offset: 0.18em;
}
a:hover {
  text-decoration-color: currentColor;
}
:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection {
  background: var(--lime);
  color: var(--on-lime);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 8px;
  z-index: 10;
  background: var(--surface);
  padding: 8px 12px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}
.block {
  margin-top: 48px;
}

/* The highlighter stroke: a lime band straight through the word, like crossing it off. */
.wordmark-af,
.struck {
  background: linear-gradient(transparent 40%, var(--lime) 40%, var(--lime) 74%, transparent 74%);
  padding: 0 0.06em;
  margin: 0 -0.06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -0.04em;
  color: var(--fg);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 6;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  gap: 16px;
}
.brand {
  text-decoration: none;
}
.site-header nav {
  display: flex;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
}
.site-header nav a {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--fg-muted);
  text-decoration: none;
}
.site-header nav a:hover {
  color: var(--fg);
  background: var(--bg-soft);
}

/* Home */
.hero {
  padding: 64px 0 12px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 5px 12px 5px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-muted);
}
.kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 35%, transparent);
}
.hero h1 {
  font-size: clamp(42px, 10vw, 76px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin-bottom: 22px;
}
.lede {
  font-size: 19px;
  color: var(--fg-muted);
  max-width: 34em;
}
.search {
  display: block;
  margin-top: 8px;
}
.search input {
  width: 100%;
  padding: 16px 18px;
  font: inherit;
  font-size: 17px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: var(--surface);
  color: var(--fg);
  box-shadow: var(--shadow);
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.search input:focus {
  outline: none;
  border-color: var(--fg);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--lime) 55%, transparent);
}

.section-title {
  font-size: 26px;
  margin-bottom: 6px;
}
.section-title a {
  color: inherit;
  text-decoration: none;
}
.section-title a:hover {
  text-decoration: underline;
  text-decoration-color: var(--lime);
}
.category-blurb {
  color: var(--fg-muted);
  font-size: 15px;
  margin-bottom: 14px;
}

.featured,
.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.featured {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  margin-top: 14px;
}
.featured a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    background 0.15s;
}
.featured a:hover {
  background: var(--surface);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.featured-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.featured-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
}

.cards {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
}
.card a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    border-color 0.15s;
}
.card a:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}
.card-title {
  display: block;
  font-weight: 600;
  line-height: 1.3;
}
.card-meta {
  display: block;
  font-size: 13px;
  color: var(--fg-faint);
}
.empty {
  margin-top: 24px;
  color: var(--fg-muted);
}

.steps {
  padding-left: 1.2em;
}
.steps li {
  margin-bottom: 8px;
  color: var(--fg-muted);
}
.steps strong {
  color: var(--fg);
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius);
  border: 1px solid var(--action);
  background: var(--action);
  color: var(--on-action);
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.15s,
    transform 0.1s;
}
.button:hover {
  background: var(--action-hover);
  border-color: var(--action-hover);
  color: var(--on-action);
}
.button:active {
  transform: translateY(1px);
}
.button.secondary,
.button.ghost {
  background: var(--surface);
  color: var(--fg);
  border-color: var(--border-strong);
}
.button.secondary:hover,
.button.ghost:hover {
  background: var(--bg-soft);
  color: var(--fg);
  border-color: var(--border-strong);
}
.button[disabled] {
  opacity: 0.6;
  cursor: progress;
}

/* Checklist page */
.page-head {
  padding-top: 32px;
}
.crumbs {
  font-size: 14px;
  color: var(--fg-faint);
  margin-bottom: 16px;
}
.crumbs a {
  color: var(--fg-muted);
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--fg);
}
.page-head h1 {
  font-size: clamp(34px, 7vw, 52px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.meta {
  font-size: 14px;
  color: var(--fg-faint);
}
.intro p {
  font-size: 18px;
  color: var(--fg-muted);
}
.intro strong {
  color: var(--fg);
}

.toolbar-wrap {
  position: sticky;
  top: 62px;
  z-index: 5;
  margin: 16px 0 8px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.progress {
  display: grid;
  gap: 8px;
  min-width: 180px;
  flex: 1;
}
.progress-text {
  font-size: 14px;
  color: var(--fg-muted);
}
.progress-text strong {
  color: var(--fg);
}
.progress-bar {
  display: block;
  height: 8px;
  border-radius: 99px;
  background: var(--surface-2);
  overflow: hidden;
}
.progress-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: var(--lime);
  transition: width 0.3s cubic-bezier(0.2, 0, 0, 1);
}
.toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.toolbar-actions .button {
  min-height: 40px;
  padding: 0 14px;
  font-size: 14px;
}

.list-section {
  margin-top: 36px;
}
.list-section h2 {
  font-size: 23px;
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.section-count {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--fg-faint);
  font-variant-numeric: tabular-nums;
}
.section-count.complete {
  color: var(--done);
}
.items {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}
.item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 12px;
  border-top: 1px solid var(--border);
  transition: background 0.12s;
}
.item:first-child {
  border-top: none;
}
.item:hover {
  background: var(--bg-soft);
}
.item label {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 16px;
  cursor: pointer;
}
.item input {
  appearance: none;
  flex: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  border: 1.5px solid var(--border-strong);
  border-radius: 7px;
  background: var(--surface);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition:
    background 0.12s,
    border-color 0.12s,
    transform 0.12s;
}
.item input:active {
  transform: scale(0.9);
}
.item input::after {
  content: "";
  width: 10px;
  height: 5.5px;
  border: solid var(--on-lime);
  border-width: 0 0 2.5px 2.5px;
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
}
.item input:checked {
  background: var(--lime);
  border-color: var(--lime);
}
.item input:checked::after {
  opacity: 1;
}
.item-text {
  display: grid;
}
.item-note {
  font-size: 14px;
  color: var(--fg-faint);
}
.item input:checked + .item-text {
  color: var(--fg-faint);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}
.shop {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--fg-muted);
  text-decoration: none;
}
.shop:hover {
  color: var(--fg);
  border-color: var(--border-strong);
}

.offer {
  margin: 32px 0;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--offer-bg);
  color: var(--offer-fg);
}
.offer-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--on-lime);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.offer-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.offer p {
  color: var(--offer-muted);
}
.offer .offer-title {
  color: var(--offer-fg);
}
.offer .button {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--on-lime);
}
.offer .button:hover {
  background: #d6fa66;
  border-color: #d6fa66;
}
.offer-note {
  margin: 12px 0 0;
  font-size: 12px;
}

.tips,
.faq,
.share-cta,
.related {
  margin-top: 48px;
}
.tips h2,
.faq h2,
.share-cta h2 {
  font-size: 26px;
  margin-bottom: 12px;
}
.tips ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.tips li {
  position: relative;
  padding: 14px 16px 14px 44px;
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.tips li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--lime);
}
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
}
.faq details p {
  margin: 8px 0 0;
  color: var(--fg-muted);
}
.share-cta {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  border: 1px solid var(--border);
}
.share-cta p {
  color: var(--fg-muted);
}
.disclosure {
  margin-top: 24px;
  font-size: 13px;
  color: var(--fg-faint);
}

.prose-page h2 {
  font-size: 26px;
  margin: 32px 0 8px;
}
.prose-page p {
  max-width: 38em;
}

.site-footer {
  margin-top: 80px;
  padding: 40px 0 56px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--fg-muted);
}
.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr;
  }
}
.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.footer-grid a {
  color: var(--fg-muted);
  text-decoration: none;
}
.footer-grid a:hover {
  color: var(--fg);
}
.site-footer p {
  margin-top: 10px;
  max-width: 30em;
}

/* Icon tiles: one colour per category, on a 12% tint. */
.icon {
  display: block;
  flex: none;
}
.card-icon {
  --c: var(--fg);
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 12%, transparent);
}
.card-icon[data-cat="besparen"] {
  --c: var(--cat-besparen);
}
.card-icon[data-cat="regelen"] {
  --c: var(--cat-regelen);
}
.card-icon[data-cat="wonen"] {
  --c: var(--cat-wonen);
}
.card-icon[data-cat="baby-en-gezin"] {
  --c: var(--cat-baby-en-gezin);
}
.card-icon[data-cat="reizen"] {
  --c: var(--cat-reizen);
}
.card-icon[data-cat="feest"] {
  --c: var(--cat-feest);
}
.section-title.with-icon {
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title.with-icon .card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.featured .card-icon {
  margin-bottom: 8px;
}

/* Light theme: a highlighter band with dark text on it. Dark theme: the band would hide the
   letter tops, so it becomes a literal lime strike-through instead. */
.wordmark-af,
.struck {
  color: var(--on-lime);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .wordmark-af,
  :root:not([data-theme="light"]) .struck {
    color: inherit;
    background: none;
    text-decoration: line-through;
    text-decoration-color: var(--lime);
    text-decoration-thickness: 0.14em;
  }
}
:root[data-theme="dark"] .wordmark-af,
:root[data-theme="dark"] .struck {
  color: inherit;
  background: none;
  text-decoration: line-through;
  text-decoration-color: var(--lime);
  text-decoration-thickness: 0.14em;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* On phones the toolbar wraps to several rows; let it scroll away instead of covering the list. */
@media (max-width: 640px) {
  .toolbar-wrap {
    position: static;
  }
  .hero {
    padding-top: 40px;
  }
}

@media print {
  .site-header,
  .site-footer,
  .no-print,
  .offer,
  .shop,
  .faq,
  .tips,
  .disclosure,
  .related {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }
  .items {
    border: none;
  }
  .list-section {
    break-inside: avoid;
    margin-top: 14pt;
  }
  .item label {
    padding: 4pt 0;
  }
}
