/* ============================================================
   Mindsetor — marketing site design system (July 2026 canon)
   Used by the 2026 pages only. Older pages keep shared/base.css
   + tailwind-config.js untouched.

   Design plan (checked against the cliché list in
   docs/strategy/website_build_prompt_employer*.md):
   - Tokens: paper #FCF9F4, ink #1C1917, coral #FF7B4A (graphics
     and large display accents ONLY — 2.6:1 on paper, fails AA as
     text), coral-deep #A63B0C (interactive text, AA on paper),
     gold #F59E0B (hairline markers, never text).
   - Type: Outfit for display, Inter for body. Tabular numerals
     for statistics.
   - Layout: left-aligned dossier register — hairline rules,
     ruled tables, footnoted claims. Closer to a pension-fund
     annual report than a startup launch. No rounded cards, no
     centered-everything, no decorative hero. Boldness is spent
     once per page (the gap→answer pair on Home).
   ============================================================ */

:root {
  --paper: #FCF9F4;
  --ink: #1C1917;
  --ink-soft: #454140;
  --muted: #6B6560;
  --coral: #FF7B4A;
  --coral-deep: #A63B0C;
  --gold: #F59E0B;
  --line: rgba(28, 25, 23, 0.14);
  --line-soft: rgba(28, 25, 23, 0.08);
  --surface: #FFFFFF;
  --good: #2E7D32;
  --good-bg: #EAF3EA;
  --watch: #B26A00;
  --watch-bg: #FBF1E3;
  --act: #BA1A1A;
  --act-bg: #FBE9E8;
  --measure: 68ch;
  --site-max: 1120px;
  --font-display: "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #191614;
    --ink: #EDE8E3;
    --ink-soft: #C9C2BC;
    --muted: #98918B;
    --coral-deep: #FF9A6E;
    --line: rgba(237, 232, 227, 0.18);
    --line-soft: rgba(237, 232, 227, 0.09);
    --surface: #211D1B;
    --good-bg: #1E2A1E;
    --watch-bg: #2C2416;
    --act-bg: #2E1B19;
  }
}
:root[data-theme="dark"] {
  --paper: #191614;
  --ink: #EDE8E3;
  --ink-soft: #C9C2BC;
  --muted: #98918B;
  --coral-deep: #FF9A6E;
  --line: rgba(237, 232, 227, 0.18);
  --line-soft: rgba(237, 232, 227, 0.09);
  --surface: #211D1B;
  --good-bg: #1E2A1E;
  --watch-bg: #2C2416;
  --act-bg: #2E1B19;
}

/* ---------- base ---------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.17rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 1em; max-width: var(--measure); }
ul, ol { max-width: var(--measure); padding-left: 1.2em; }
li { margin-bottom: 0.4em; }

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

:focus-visible {
  outline: 2px solid var(--coral-deep);
  outline-offset: 3px;
}

strong { font-weight: 600; }
small { font-size: 0.82rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 10px 16px; z-index: 200; font-size: 0.9rem;
}
.skip-link:focus { left: 0; }

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: relative;
  z-index: 60;
}
.site-header .bar {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.05rem; letter-spacing: 0.01em;
  color: var(--ink); text-decoration: none;
}
.brand img { width: 26px; height: 26px; object-fit: contain; }
.brand:hover { text-decoration: none; }

.site-nav { margin-left: auto; }
.site-nav ul {
  list-style: none; display: flex; gap: 22px;
  margin: 0; padding: 0; align-items: center;
}
.site-nav a {
  font-size: 0.88rem; font-weight: 500;
  color: var(--ink-soft); text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--gold);
}

.lang-switch {
  display: flex; gap: 4px; align-items: center;
  font-size: 0.82rem; font-weight: 600;
  margin-left: 10px; padding-left: 16px;
  border-left: 1px solid var(--line);
}
.lang-switch a, .lang-switch span { color: var(--muted); text-decoration: none; padding: 2px 4px; }
.lang-switch [aria-current="true"] { color: var(--ink); border-bottom: 2px solid var(--gold); }
.lang-switch a:hover { color: var(--ink); }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none; border: 1px solid var(--line);
  color: var(--ink); font: inherit; font-size: 0.85rem; font-weight: 600;
  padding: 8px 14px; cursor: pointer;
}

@media (max-width: 840px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 10px 20px 18px;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  .site-nav a { display: block; padding: 8px 0; font-size: 1rem; }
  .lang-switch { margin-left: 0; padding-left: 0; border-left: 0; margin-top: 8px; }
}

/* ---------- page scaffolding ---------- */

main { display: block; }

.section {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 56px 20px;
  border-bottom: 1px solid var(--line-soft);
}
.section:last-of-type { border-bottom: 0; }

.kicker {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
  display: flex; align-items: center; gap: 12px;
}
.kicker::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--gold);
  display: inline-block;
}

.lede { font-size: 1.13rem; color: var(--ink-soft); }

/* two-column: heading rail left, content right */
.split {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr);
  gap: 36px 64px;
  align-items: start;
}
@media (max-width: 840px) {
  .split { grid-template-columns: 1fr; gap: 20px; }
}

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

.hero { padding-top: 72px; padding-bottom: 48px; }
.hero h1 { max-width: 17ch; }
.hero .sub {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 18px 0 30px;
}
.hero .actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 30px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--coral-deep); border-color: var(--coral-deep); color: #FFF; text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-quiet {
  background: none; border: 0; padding: 0;
  font-family: var(--font-body); font-weight: 500;
  color: var(--coral-deep); font-size: 0.95rem;
  text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 3px;
  cursor: pointer;
}
.btn-quiet:hover { text-decoration-thickness: 2px; }

/* ---------- credibility strip ---------- */

.cred-strip {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 0.85rem;
  color: var(--muted);
}
.cred-strip span { white-space: nowrap; }
@media (max-width: 560px) {
  .cred-strip span { white-space: normal; }
}

/* ---------- statistics ---------- */

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
  margin: 30px 0 18px;
}
.stat-row > div { background: var(--paper); padding: 20px 18px 16px; }
.stat-row .n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 3.3rem);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  display: block;
}
.stat-row .l { font-size: 0.9rem; color: var(--muted); margin-top: 8px; display: block; max-width: 24ch; }
@media (max-width: 680px) {
  .stat-row { grid-template-columns: 1fr; }
}

.closing-line {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  max-width: 46ch;
}

/* dot grid — the one bold graphic on the EN page */
.dotgrid {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  gap: 6px;
  max-width: 420px;
  margin: 26px 0 10px;
}
.dotgrid i {
  width: 100%; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--line);
  display: block;
}
.dotgrid i.hit { background: var(--coral); }
.dotgrid-caption { font-size: 0.85rem; color: var(--muted); max-width: 40ch; }
.dotgrid-figure .big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 5rem);
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* ---------- gap → answer pair ---------- */

.pair-list { list-style: none; padding: 0; margin: 22px 0 0; }
.pair-list li {
  border-top: 1px solid var(--line);
  padding: 14px 0;
  max-width: var(--measure);
}
.pair-list li:last-child { border-bottom: 1px solid var(--line); }
.pair-list b { font-weight: 600; }

.pullquote {
  border-left: 3px solid var(--gold);
  margin: 36px 0 0;
  padding: 6px 0 6px 22px;
  max-width: 52ch;
}
.pullquote p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 6px;
}
.pullquote cite { font-style: normal; font-size: 0.85rem; color: var(--muted); }

/* ---------- what you get / mockups ---------- */

.get-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 26px;
}
.get-grid > div { background: var(--surface); padding: 20px 18px; }
.get-grid h3 { font-size: 1.02rem; margin-bottom: 6px; }
.get-grid p { font-size: 0.92rem; color: var(--muted); margin: 0; }

.mockup-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 22px;
  margin-top: 34px;
  align-items: start;
}
.mockup-row figure { margin: 0; }
.mockup-row img {
  border: 1px solid var(--line);
  background: var(--surface);
}
.mockup-row figcaption {
  font-size: 0.8rem; color: var(--muted); margin-top: 8px;
}

/* ---------- report excerpt (matrix) ---------- */

figure.report-excerpt {
  margin: 34px 0 0;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 22px 22px 16px;
  overflow-x: auto;
}
.report-excerpt table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 560px;
}
.report-excerpt th, .report-excerpt td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line-soft);
}
.report-excerpt thead th {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid var(--ink);
}
.report-excerpt td.dept { font-weight: 600; }
.report-excerpt td .n { font-weight: 400; color: var(--muted); font-size: 0.78rem; display: block; }
.cell { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.82rem; white-space: nowrap; }
.cell .dot { width: 9px; height: 9px; display: inline-block; flex: 0 0 9px; }
.cell.good .dot { background: var(--good); } .cell.good { color: var(--good); }
.cell.watch .dot { background: var(--watch); } .cell.watch { color: var(--watch); }
.cell.act .dot { background: var(--act); } .cell.act { color: var(--act); }
tr.suppressed td { color: var(--muted); font-style: italic; }
.report-excerpt figcaption {
  font-size: 0.82rem; color: var(--muted);
  margin-top: 12px;
  display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between;
}

/* ---------- proof ---------- */

.proof-claim {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 600;
  max-width: 30ch;
  margin: 0;
}
.proof-basis { font-size: 0.88rem; color: var(--muted); margin-top: 14px; }

/* ---------- pricing ---------- */

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 26px;
}
@media (max-width: 680px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { background: var(--surface); padding: 26px 24px; display: flex; flex-direction: column; }
.price-card.emphasis { border-top: 3px solid var(--coral); margin-top: -1px; }
.price-card .plan {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
.price-card .amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  margin: 10px 0 2px;
}
.price-card .per { font-size: 0.9rem; color: var(--muted); }
.price-card ul {
  list-style: none; padding: 0; margin: 18px 0 0;
  font-size: 0.92rem;
}
.price-card ul li {
  border-top: 1px solid var(--line-soft);
  padding: 8px 0;
  margin: 0;
}
.price-card .terms { margin-top: auto; padding-top: 14px; font-size: 0.85rem; color: var(--muted); }
.price-note { margin-top: 18px; font-size: 1.02rem; font-weight: 500; max-width: var(--measure); }

/* ---------- obligations ---------- */

.obligations { list-style: none; padding: 0; margin: 22px 0 0; counter-reset: ob; }
.obligations li {
  counter-increment: ob;
  border-top: 1px solid var(--line);
  padding: 12px 0 12px 44px;
  position: relative;
  max-width: var(--measure);
}
.obligations li:last-child { border-bottom: 1px solid var(--line); }
.obligations li::before {
  content: counter(ob, decimal-leading-zero);
  position: absolute; left: 0; top: 12px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.85rem;
  color: var(--coral-deep);
  font-variant-numeric: tabular-nums;
}

/* ---------- privacy block ---------- */

.privacy-lines { list-style: none; padding: 0; margin: 22px 0 0; }
.privacy-lines li {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  border-top: 1px solid var(--line);
  padding: 16px 0;
  max-width: 40ch;
}
.privacy-lines li:last-child { border-bottom: 1px solid var(--line); }

/* ---------- team ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
  margin-top: 26px;
}
.team-grid h3 { margin-bottom: 4px; }
.team-grid p { font-size: 0.92rem; color: var(--muted); margin: 0; }
.team-photo { border: 1px solid var(--line); margin: 30px 0 0; }
.team-photo figcaption { font-size: 0.8rem; color: var(--muted); margin-top: 8px; }
.backed { margin-top: 22px; font-size: 0.9rem; color: var(--muted); }

/* ---------- FAQ ---------- */

.faq-list { margin-top: 10px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-of-type { border-bottom: 1px solid var(--line); }
.faq-list summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 16px 30px 16px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute; right: 4px; top: 14px;
  font-family: var(--font-display);
  color: var(--coral-deep); font-size: 1.3rem; font-weight: 500;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list .answer { padding: 0 0 18px; color: var(--ink-soft); }
.faq-list .answer p { margin-bottom: 0.5em; }

/* ---------- forms ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 640px; }
@media (max-width: 680px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.wide { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 600; }
.field input, .field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 12px 14px;
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--coral-deep);
  outline-offset: 0;
  border-color: var(--coral-deep);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.form-status { font-size: 0.9rem; font-weight: 600; }
.form-status.error { color: var(--act); }
.form-alt { font-size: 0.88rem; color: var(--muted); }

.form-success { border-left: 3px solid var(--good); padding: 10px 0 10px 22px; max-width: 52ch; }

/* ---------- references / sources ---------- */

sup.ref { line-height: 0; }
sup.ref a {
  font-size: 0.72em;
  text-decoration: none;
  font-weight: 600;
  color: var(--coral-deep);
  padding: 0 2px;
}
sup.ref a:hover { text-decoration: underline; }

.sources-block {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 30px 20px 6px;
}
.sources-block h2 {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
ol.sources {
  font-size: 0.85rem;
  color: var(--muted);
  padding-left: 1.4em;
  max-width: none;
}
ol.sources li { margin-bottom: 6px; }
ol.sources li:target, .source-entry:target {
  background: rgba(245, 158, 11, 0.14);
  outline: 2px solid rgba(245, 158, 11, 0.35);
  outline-offset: 4px;
}
ol.sources .backref { text-decoration: none; margin-left: 6px; }

/* bronnen page entries */
.source-entry {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  max-width: var(--measure);
}
.source-entry h3 { margin-bottom: 4px; }
.source-entry .claims { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 6px; }
.source-entry .cite { font-size: 0.88rem; color: var(--muted); }

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

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  background: var(--paper);
}
.site-footer .inner {
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 34px 20px 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
}
.site-footer nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px 22px;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
.site-footer .company { max-width: 40ch; }

/* ---------- utility ---------- */

.muted { color: var(--muted); }
.mt-0 { margin-top: 0; }
.flag-note {
  font-size: 0.82rem;
  color: var(--muted);
  border-left: 2px solid var(--line);
  padding-left: 12px;
  max-width: 52ch;
}

@media print {
  .site-header, .site-footer nav, .nav-toggle, .btn, .lang-switch { display: none !important; }
  body { background: #fff; color: #000; }
  .section { border: 0; padding: 24px 0; }
}
