/* =============================================================================
   treintoerist.nl - styles
   Catppuccin Frappe (dark, default) and Latte (light). Tokens are the single
   place to change colours. Fonts and Font Awesome are hosted locally (no CDN).
   ========================================================================== */

/* ---- Local fonts ---------------------------------------------------------- */
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('../fonts/hanken-grotesk-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

/* ---- Design tokens -------------------------------------------------------- */
:root {
  --base: #303446; --mantle: #292c3c; --crust: #232634;
  --surface0: #414559; --surface1: #51576d; --surface2: #626880;
  --overlay0: #737994; --overlay1: #838ba7; --overlay2: #949cbb;
  --subtext0: #a5adce; --subtext1: #b5bfe2; --text: #c6d0f5;
  --accent: #ca9ee6; --accent2: #babbf1; --red: #e78284; --green: #a6d189; --yellow: #e5c890;

  --prov-groningen: #e78284; --prov-friesland: #85c1dc; --prov-drenthe: #a6d189;
  --prov-overijssel: #81c8be; --prov-flevoland: #99d1db; --prov-gelderland: #ef9f76;
  --prov-utrecht: #ea999c; --prov-noord-holland: #e5c890; --prov-zuid-holland: #f4b8e4;
  --prov-zeeland: #8caaee; --prov-noord-brabant: #babbf1; --prov-limburg: #eebebe;

  color-scheme: dark;
}
html.theme-light {
  --base: #eff1f5; --mantle: #e6e9ef; --crust: #dce0e8;
  --surface0: #ccd0da; --surface1: #bcc0cc; --surface2: #acb0be;
  --overlay0: #9ca0b0; --overlay1: #8c8fa1; --overlay2: #7c7f93;
  --subtext0: #6c6f85; --subtext1: #5c5f77; --text: #4c4f69;
  --accent: #8839ef; --accent2: #7287fd; --red: #d20f39; --green: #40a02b; --yellow: #df8e1d;

  --prov-groningen: #d20f39; --prov-friesland: #209fb5; --prov-drenthe: #40a02b;
  --prov-overijssel: #179299; --prov-flevoland: #04a5e5; --prov-gelderland: #fe640b;
  --prov-utrecht: #e64553; --prov-noord-holland: #df8e1d; --prov-zuid-holland: #ea76cb;
  --prov-zeeland: #1e66f5; --prov-noord-brabant: #7287fd; --prov-limburg: #dd7878;

  color-scheme: light;
}

/* Province accent: any element carrying data-prov-slug exposes a local --c.
   The generic fallback MUST come first: these selectors have equal specificity,
   so a later generic rule would override the specific province colours. */
[data-prov-slug] { --c: var(--surface2); } /* fallback for unknown provinces */
[data-prov-slug="groningen"] { --c: var(--prov-groningen); }
[data-prov-slug="friesland"] { --c: var(--prov-friesland); }
[data-prov-slug="drenthe"] { --c: var(--prov-drenthe); }
[data-prov-slug="overijssel"] { --c: var(--prov-overijssel); }
[data-prov-slug="flevoland"] { --c: var(--prov-flevoland); }
[data-prov-slug="gelderland"] { --c: var(--prov-gelderland); }
[data-prov-slug="utrecht"] { --c: var(--prov-utrecht); }
[data-prov-slug="noord-holland"] { --c: var(--prov-noord-holland); }
[data-prov-slug="zuid-holland"] { --c: var(--prov-zuid-holland); }
[data-prov-slug="zeeland"] { --c: var(--prov-zeeland); }
[data-prov-slug="noord-brabant"] { --c: var(--prov-noord-brabant); }
[data-prov-slug="limburg"] { --c: var(--prov-limburg); }

/* ---- Reset / base --------------------------------------------------------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  background: var(--base);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}
a { color: var(--accent); }
img { max-width: 100%; display: block; }

.page { min-height: 100vh; display: flex; flex-direction: column; background: var(--base); }
main { flex: 1; width: 100%; }

.mono { font-family: 'JetBrains Mono', monospace; }
.eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

a:focus-visible, button:focus-visible, input:focus-visible,
summary:focus-visible, label:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}

/* ---- Header --------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--mantle) 90%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--surface1);
}
.site-header__inner {
  max-width: 1180px; margin: 0 auto; padding: 13px 22px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.wordmark {
  text-decoration: none; font-weight: 800; font-size: 21px; letter-spacing: -.025em;
  display: inline-flex; align-items: center;
}
.wordmark .wm-a { color: var(--text); }
.wordmark .wm-b { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 3px; flex-wrap: wrap; }
.nav a {
  padding: 8px 13px; border-radius: 9px; color: var(--subtext1);
  text-decoration: none; font-weight: 600; font-size: 15px;
}
.nav a:hover { background: var(--surface0); }
.nav a[aria-current="page"] {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 13%, transparent);
}
.header-spacer { margin-left: auto; display: flex; align-items: center; }

/* Theme toggle: a link styled as a pill; knob position driven by html class. */
.theme-toggle {
  position: relative; width: 60px; height: 30px; border-radius: 20px;
  background: var(--surface0); border: 1px solid var(--surface1); cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 9px; flex: none; text-decoration: none;
}
.theme-toggle .fa-moon { font-size: 12px; color: var(--accent); opacity: 1; }
.theme-toggle .fa-sun { font-size: 12px; color: var(--yellow); opacity: .4; }
html.theme-light .theme-toggle .fa-moon { opacity: .4; }
html.theme-light .theme-toggle .fa-sun { opacity: 1; }
.theme-knob {
  position: absolute; top: 3px; left: 3px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.3);
  transition: transform .24s cubic-bezier(.3,.9,.3,1.25);
}
html.theme-light .theme-knob { transform: translateX(30px); }

/* ---- Footer --------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--surface1); background: var(--mantle); }
.site-footer__cols {
  max-width: 1180px; margin: 0 auto; padding: 32px 22px;
  display: flex; flex-wrap: wrap; gap: 26px; justify-content: space-between;
}
.footer-brand { max-width: 300px; }
.footer-brand .wordmark { font-size: 19px; letter-spacing: -.02em; }
.footer-brand p { margin: 9px 0 0; color: var(--subtext0); font-size: 14px; line-height: 1.6; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col__head {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--overlay1); margin-bottom: 2px;
}
.footer-col a { color: var(--subtext1); text-decoration: none; font-size: 14px; }
.footer-col a:hover { color: var(--accent); }
.site-footer__bar {
  border-top: 1px solid var(--surface1); padding: 15px 22px; text-align: center;
  color: var(--overlay1); font-size: 12px; font-family: 'JetBrains Mono', monospace;
}
.site-footer__bar a { color: var(--overlay1); }

/* ---- Spin layout ---------------------------------------------------------- */
.spin-form {
  max-width: 1180px; margin: 0 auto; padding: 30px 22px;
  display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap;
}
.filter-panel {
  flex: 1 1 300px; max-width: 360px; min-width: 280px;
  background: var(--mantle); border: 1px solid var(--surface1); border-radius: 16px;
  padding: 20px; display: flex; flex-direction: column; gap: 20px;
}
.filter-group__title {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--overlay1); margin-bottom: 10px;
}
.filter-list { display: flex; flex-direction: column; gap: 1px; }
.check-row {
  display: flex; align-items: center; gap: 12px; padding: 9px 10px;
  border-radius: 10px; cursor: pointer;
}
.check-row:hover { background: var(--surface0); }
.check-row input[type="checkbox"] {
  width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer; flex: none;
}
.check-row .cat-icon { width: 20px; text-align: center; color: var(--accent); font-size: 15px; }
.check-row .label { font-weight: 500; color: var(--text); }
.check-row .label--strong { font-weight: 700; }
.check-row .label--muted { font-weight: 500; color: var(--subtext1); }
.filter-divider { height: 1px; background: var(--surface1); }

.provincie-list { margin-top: 8px; border-bottom: 1px solid var(--surface1); }
details.provincie { border-top: 1px solid var(--surface1); }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.provincie__summary { display: flex; align-items: center; gap: 11px; padding: 11px 4px; }
.provincie__summary input[type="checkbox"] {
  width: 16px; height: 16px; accent-color: var(--c); cursor: pointer; flex: none;
}
.prov-swatch { width: 9px; height: 9px; border-radius: 3px; background: var(--c); flex: none; }
.provincie__naam { flex: 1; font-weight: 600; color: var(--text); font-size: 14.5px; }
.provincie__count { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--overlay1); }
.provincie__caret {
  font-size: 11px; color: var(--overlay1); width: 14px; text-align: center;
  transition: transform .18s ease;
}
details.provincie[open] .provincie__caret { transform: rotate(90deg); }
.provincie__stations { padding: 0 0 10px 30px; display: flex; flex-direction: column; gap: 1px; }
.station-row {
  display: flex; align-items: center; gap: 10px; padding: 6px 8px;
  border-radius: 8px; cursor: pointer;
}
.station-row:hover { background: var(--surface0); }
.station-row input[type="checkbox"] {
  width: 15px; height: 15px; accent-color: var(--accent); cursor: pointer; flex: none;
}
.station-row .station-naam { flex: 1; font-size: 13.5px; color: var(--subtext1); }
.sub-badge {
  font-family: 'JetBrains Mono', monospace; font-size: 9px; text-transform: uppercase;
  letter-spacing: .05em; color: var(--overlay1); border: 1px solid var(--surface2);
  padding: 1px 5px; border-radius: 5px;
}

/* ---- Vertrek (start station + max transfers) ------------------------------ */
.reach-field { display: block; margin-bottom: 12px; }
.reach-label {
  display: block; font-size: 13px; font-weight: 600; color: var(--subtext1);
  margin: 0 0 5px 2px;
}
.filter-select {
  width: 100%; background: var(--crust); color: var(--text);
  border: 1px solid var(--surface1); border-radius: 9px; padding: 9px 10px;
  font: inherit; font-size: 14px; cursor: pointer; accent-color: var(--accent);
}
.filter-select:hover { border-color: var(--surface2); }
.reach-hint { margin: 4px 2px 0; font-size: 12.5px; line-height: 1.5; color: var(--overlay1); }

/* ---- Route card (mogelijke route) ----------------------------------------- */
.route-card {
  border: 1px solid var(--surface1); border-radius: 16px; background: var(--mantle);
  padding: 20px; display: flex; flex-direction: column; gap: 14px;
}
.route-card__head { display: flex; align-items: center; gap: 12px; }
.route-card__icon {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  display: flex; align-items: center; justify-content: center; color: var(--accent);
}
.route-card__icon i { font-size: 17px; }
.route-card__head h3 { margin: 0; font-size: 19px; font-weight: 700; color: var(--text); }
.route-card__summary { margin: 0; color: var(--subtext0); font-size: 15px; }
.route-card__summary strong { color: var(--text); }
.route-legs {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 0;
  border-left: 2px solid var(--surface1); margin-left: 6px;
}
.route-leg { position: relative; padding: 4px 0 16px 18px; }
.route-leg:last-child { padding-bottom: 0; }
.route-leg::before {
  content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--accent); border: 2px solid var(--mantle);
}
.route-leg__train {
  display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text);
  font-size: 14.5px;
}
.route-leg__train i { color: var(--accent); font-size: 13px; }
.route-leg__od {
  display: flex; align-items: center; gap: 8px; color: var(--subtext0);
  font-size: 14px; margin-top: 3px;
}
.route-leg__od i { font-size: 11px; color: var(--overlay1); }
.route-leg__transfer {
  display: inline-block; margin-top: 8px; font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: .04em; color: var(--yellow);
  border: 1px solid color-mix(in srgb, var(--yellow) 50%, var(--surface2));
  padding: 2px 9px; border-radius: 14px;
}
.route-card__disclaimer {
  margin: 0; font-size: 13px; line-height: 1.55; color: var(--overlay1);
  border-top: 1px solid var(--surface1); padding-top: 12px;
}
.route-card__disclaimer i { margin-right: 7px; }
.route-card__disclaimer a { color: var(--accent); text-decoration: none; }
.route-card__disclaimer a:hover { text-decoration: underline; }

/* ---- Stage / strip / spin -------------------------------------------------- */
.stage-col { flex: 9999 1 460px; min-width: 300px; display: flex; flex-direction: column; gap: 22px; }
.stage-intro { display: flex; flex-direction: column; gap: 8px; }
.stage-intro h1 {
  font-size: clamp(26px, 4vw, 40px); font-weight: 800; letter-spacing: -.025em;
  margin: 0; color: var(--text); text-wrap: balance;
}
.stage-intro p { margin: 0; color: var(--subtext0); font-size: 16px; max-width: 54ch; line-height: 1.5; }

.stage {
  position: relative; border-radius: 16px; border: 1px solid var(--surface1);
  background: var(--crust); overflow: hidden;
}
.stage__fade { position: absolute; top: 0; bottom: 0; width: 90px; z-index: 3; pointer-events: none; }
.stage__fade--left { left: 0; background: linear-gradient(90deg, var(--crust), transparent); }
.stage__fade--right { right: 0; background: linear-gradient(270deg, var(--crust), transparent); }
.stage__marker {
  position: absolute; top: 10px; bottom: 10px; left: 50%; width: 2px;
  transform: translateX(-50%); background: var(--accent); z-index: 4; pointer-events: none;
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 65%, transparent);
}
.stage__marker .fa-caret-down { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); color: var(--accent); font-size: 20px; }
.stage__marker .fa-caret-up { position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%); color: var(--accent); font-size: 20px; }
.stage__viewport { overflow: hidden; position: relative; padding: 18px 0; }
.strip { display: flex; gap: 12px; will-change: transform; }
.stage--empty .stage__viewport { min-height: 168px; }

/* Case-opening card */
.case-card {
  position: relative; flex: 0 0 128px; height: 168px; background: var(--mantle);
  border: 1px solid var(--surface1); border-bottom: 4px solid var(--c, var(--surface2));
  border-radius: 12px; overflow: hidden; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 14px 12px;
}
.case-card__glow {
  position: absolute; inset: 0;
  background: radial-gradient(120% 75% at 50% -15%, color-mix(in srgb, var(--c, var(--surface2)) 32%, transparent), transparent 62%);
}
.case-card__train { position: absolute; top: 13px; left: 0; right: 0; text-align: center; }
.case-card__train i { font-size: 18px; color: color-mix(in srgb, var(--c, var(--surface2)) 75%, var(--text)); }
.case-card__naam { position: relative; font-weight: 700; font-size: 13.5px; line-height: 1.15; color: var(--text); }
.case-card__prov {
  position: relative; margin-top: 5px; font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--c, var(--surface2));
}

.spin-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.spin-button {
  font-size: 18px; font-weight: 700; padding: 15px 36px; border: none; border-radius: 13px;
  background: var(--accent); color: var(--crust); cursor: pointer; display: inline-flex;
  align-items: center; gap: 12px;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 30%, transparent);
}
.spin-button:hover { filter: brightness(1.08); }
.spin-button:active { transform: translateY(1px); }
.spin-button:disabled { opacity: .65; cursor: default; }
.spin-button[data-busy="1"] .fa-shuffle { animation: ttSpin .7s linear infinite; }
.spin-count { color: var(--subtext0); font-size: 15px; }
.spin-count .num { font-family: 'JetBrains Mono', monospace; font-weight: 600; color: var(--text); }
.spin-error {
  display: flex; align-items: center; gap: 9px; color: var(--red);
  font-size: 14px; font-weight: 500;
}

/* ---- Result --------------------------------------------------------------- */
.result { display: flex; flex-direction: column; gap: 22px; margin-top: 4px; animation: ttFade .5s ease; }
.station-hero {
  position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--surface1);
  min-height: 210px; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
  background: repeating-linear-gradient(135deg, var(--surface0), var(--surface0) 13px, var(--mantle) 13px, var(--mantle) 26px);
}
.station-hero__scrim { position: absolute; inset: 0; background: linear-gradient(transparent 30%, color-mix(in srgb, var(--crust) 80%, transparent)); }
.station-hero__bar { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--c); }
.placeholder-tag {
  position: absolute; top: 14px; right: 16px; font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--overlay1);
}
.station-hero__meta { position: relative; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.prov-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: color-mix(in srgb, var(--c) 20%, transparent); color: var(--c);
  border: 1px solid color-mix(in srgb, var(--c) 55%, transparent);
  padding: 4px 12px; border-radius: 30px; font-size: 12px; font-weight: 700;
}
.prov-pill i { font-size: 11px; }
.sub-pill {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; text-transform: uppercase;
  letter-spacing: .05em; color: var(--subtext0); border: 1px solid var(--surface2);
  padding: 3px 8px; border-radius: 6px;
}
.station-hero__naam {
  position: relative; margin: 10px 0 0; font-size: clamp(24px, 3.6vw, 38px);
  font-weight: 800; letter-spacing: -.02em; color: var(--text);
}
.station-hero__stad { position: relative; margin: 3px 0 0; color: var(--subtext1); font-size: 15px; }
.station-hero__stad i { font-size: 12px; margin-right: 7px; color: var(--overlay1); }

.act-group__head { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.act-group__icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  display: flex; align-items: center; justify-content: center; color: var(--accent); flex: none;
}
.act-group__icon i { font-size: 17px; }
.act-group__head h3 { margin: 0; font-size: 19px; font-weight: 700; color: var(--text); }
.act-group__count {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--overlay1);
  background: var(--surface0); padding: 2px 8px; border-radius: 20px;
}
.act-list { display: flex; flex-direction: column; gap: 12px; }
.act-card {
  display: flex; gap: 15px; padding: 14px; border: 1px solid var(--surface1);
  border-radius: 13px; background: var(--mantle);
}
.act-card:hover { border-color: var(--surface2); }
.act-card__photo {
  flex: none; width: 84px; height: 84px; border-radius: 10px; position: relative; overflow: hidden;
  background: repeating-linear-gradient(135deg, var(--surface0), var(--surface0) 8px, var(--surface1) 8px, var(--surface1) 16px);
}
.act-card__photo .placeholder-tag { position: absolute; top: auto; bottom: 5px; left: 0; right: 0; text-align: center; font-size: 8px; letter-spacing: .08em; }
.act-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.act-card__body h4 { margin: 0; font-size: 16px; font-weight: 700; color: var(--text); }
.act-card__body p { margin: 0; color: var(--subtext0); font-size: 14px; line-height: 1.45; }
.act-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 2px; font-size: 13px; }
.act-meta__dist { display: inline-flex; align-items: center; gap: 6px; color: var(--subtext1); }
.act-meta__dist i { color: var(--accent); }
.act-meta a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; }
.act-meta__web { color: var(--accent); }
.act-meta__web:hover { text-decoration: underline; }
.act-meta__route { color: var(--subtext1); }
.act-meta__route:hover { color: var(--text); }

.empty-state {
  text-align: center; padding: 44px 24px; border: 1px dashed var(--surface2);
  border-radius: 16px; background: var(--mantle);
}
.empty-state > i { font-size: 30px; color: var(--overlay0); }
.empty-state h3 { margin: 16px 0 6px; color: var(--text); font-size: 18px; }
.empty-state p { margin: 0 auto; max-width: 42ch; color: var(--subtext0); line-height: 1.5; }

/* ---- Tips ------------------------------------------------------------------ */
.tips-wrap { max-width: 1080px; margin: 0 auto; padding: 36px 22px; }
.page-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 26px; }
.page-head h1 {
  margin: 0; font-size: clamp(28px, 4.5vw, 42px); font-weight: 800;
  letter-spacing: -.025em; color: var(--text);
}
.page-head p { margin: 0; color: var(--subtext0); font-size: 17px; max-width: 56ch; line-height: 1.5; }
.tips-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.tip-card {
  display: flex; flex-direction: column; gap: 13px; padding: 22px;
  border: 1px solid var(--surface1); border-radius: 16px; background: var(--mantle);
}
.tip-card:hover { border-color: color-mix(in srgb, var(--accent) 60%, var(--surface1)); }
.tip-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tip-card__icon {
  width: 44px; height: 44px; border-radius: 13px;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  display: flex; align-items: center; justify-content: center; color: var(--accent); flex: none;
}
.tip-card__icon i { font-size: 18px; }
.tip-card__tag {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--overlay1); border: 1px solid var(--surface2);
  padding: 3px 10px; border-radius: 20px;
}
.tip-card h2 { margin: 0; font-size: 20px; font-weight: 700; color: var(--text); }
.tip-card__body { color: var(--subtext0); line-height: 1.55; font-size: 15px; }
.tip-card__body p { margin: 0 0 10px; }
.tip-card__body p:last-child { margin-bottom: 0; }
.tip-card__body ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.7; }
.tip-card__body a { color: var(--accent); }
.tips-note { margin: 28px 0 0; color: var(--overlay1); font-size: 14px; }
.tips-note i { margin-right: 8px; }
.tips-note a { color: var(--accent); text-decoration: none; }

/* ---- Waarom ---------------------------------------------------------------- */
.waarom-wrap { max-width: 760px; margin: 0 auto; padding: 36px 22px; display: flex; flex-direction: column; gap: 26px; }
.waarom-hero {
  position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--surface1);
  height: 220px;
  background: repeating-linear-gradient(135deg, var(--surface0), var(--surface0) 13px, var(--mantle) 13px, var(--mantle) 26px);
}
.waarom-body { display: flex; flex-direction: column; gap: 18px; font-size: 17px; line-height: 1.7; color: var(--subtext1); }
.waarom-body p { margin: 0; }
.info-block {
  border: 1px solid var(--surface1); border-radius: 16px; background: var(--mantle);
  padding: 24px; display: flex; flex-direction: column; gap: 14px;
}
.info-block__head { display: flex; align-items: center; gap: 12px; }
.info-block__head h2 { margin: 0; font-size: 21px; font-weight: 700; color: var(--text); }
.info-block p { margin: 0; color: var(--subtext0); line-height: 1.6; }
.info-block p a { color: var(--accent); text-decoration: none; font-weight: 600; }
.info-icon {
  width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center;
  justify-content: center; flex: none;
}
.info-icon--accent { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.info-icon i { font-size: 18px; }

/* ---- Animations ----------------------------------------------------------- */
@keyframes ttSpin { to { transform: rotate(360deg); } }
@keyframes ttFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---- Responsive ----------------------------------------------------------- */
@media (max-width: 760px) {
  .filter-panel { max-width: none; }
  .site-footer__cols { gap: 18px; }
}
