/* FinZicht — publieke site
   Richting: "financieel inzicht" — diepe inkt-hero met een luminische
   meerjarige horizon-tijdlijn als signature, koel-lichte content, warme
   goud-accent (waarde) + teal (veilig). System-fonts (bewust geen webfont-
   tracking op een privacy-site); distinctie uit tabulaire cijfers, mono-
   eyebrows en stevige gewicht-contrasten. */

:root {
  --ink: #141922;
  --ink-2: #1b2230;
  --ink-3: #232c3c;
  --paper: #eef1f5;
  --paper-2: #e6eaf0;
  --card: #ffffff;
  --text: #1a2331;
  --text-dark: #eaeef4;
  --muted: #59657a;
  --muted-dark: #9aa7ba;
  --gold: #d9a441;
  --gold-deep: #b6832b;
  --teal: #2f9e8f;
  --ok: #46a35d;
  --warn: #e0a24a;
  --stop: #d2563f;
  --line: #d7dde6;
  --line-dark: #33405480;

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", "Segoe UI Mono", Menlo, Consolas, monospace;

  --wrap: 1120px;
  --r: 14px;

  color-scheme: light;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { line-height: 1.08; letter-spacing: -0.02em; margin: 0; font-weight: 720; }
p { margin: 0; }
a { color: inherit; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 6px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 14px;
}

.accent { color: var(--gold); }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 5vw, 48px);
  background: color-mix(in srgb, var(--ink) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-dark);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 760; letter-spacing: -0.01em; color: var(--text-dark);
  text-decoration: none; font-size: 1.05rem;
}
.brand__mark {
  width: 16px; height: 16px; border-radius: 5px;
  background: linear-gradient(135deg, var(--gold), var(--teal));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent);
}
.brand__img {
  height: 30px;
  width: auto;
  display: block;
}
.footer__brand .brand__img { height: 26px; }
.topnav { display: flex; align-items: center; gap: clamp(14px, 3vw, 30px); }
.topnav a { color: var(--muted-dark); text-decoration: none; font-size: 0.94rem; font-weight: 560; }
.topnav a:hover { color: var(--text-dark); }
.topnav__cta {
  color: var(--ink) !important; background: var(--gold);
  padding: 8px 16px; border-radius: 999px; font-weight: 680 !important;
}
.topnav__cta:hover { background: color-mix(in srgb, var(--gold) 88%, #fff); }
.topnav > a:not(.topnav__cta) { display: none; }
@media (min-width: 760px) { .topnav > a:not(.topnav__cta) { display: inline; } }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 78% -10%, #26324a 0%, transparent 60%),
    var(--ink);
  color: var(--text-dark);
  padding: clamp(48px, 8vw, 96px) clamp(18px, 5vw, 48px) clamp(40px, 6vw, 72px);
  display: grid;
  gap: clamp(32px, 5vw, 56px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 940px) {
  .hero { grid-template-columns: 1.05fr 0.95fr; }
}
.hero__copy { max-width: 620px; margin-inline: auto; width: 100%; }
@media (min-width: 940px) { .hero__copy { margin-inline: 0; } }

.hero h1 {
  font-size: clamp(2.3rem, 6vw, 3.9rem);
  font-weight: 780;
  margin-bottom: 20px;
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--muted-dark);
  max-width: 54ch;
}
.hero .lead { margin-bottom: 30px; }

/* login knoppen */
.login { display: flex; flex-wrap: wrap; gap: 12px; }
.login--center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px; border-radius: 12px;
  font-weight: 660; font-size: 0.98rem; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn .glyph { width: 18px; height: 18px; display: block; }
.btn--google, .btn--ms { background: #fff; color: #1a2331; box-shadow: 0 6px 20px #0006; }
.btn--google:hover, .btn--ms:hover { box-shadow: 0 10px 28px #0007; }

.login__note { margin-top: 18px; font-size: 0.9rem; color: var(--muted-dark); max-width: 48ch; }
.login__note strong { color: var(--gold); }
.hero__checks {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  max-width: 56ch;
}
.hero__checks li {
  position: relative;
  padding-left: 26px;
  color: var(--muted-dark);
  font-size: 0.94rem;
}
.hero__checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.58em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--gold), var(--teal));
}

/* signature: horizon-tijdlijn */
.horizon { margin: 0; }
.horizon svg {
  width: 100%; height: auto; display: block;
  filter: drop-shadow(0 20px 40px #0007);
}
.horizon .grid line { stroke: #ffffff10; stroke-width: 1; }
.horizon .axis { stroke: #ffffff40; stroke-width: 1.5; }
.horizon .area { opacity: 0; animation: fadeArea 1.2s ease 0.6s forwards; }
.horizon .curve {
  fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 900; stroke-dashoffset: 900;
  animation: draw 1.8s cubic-bezier(0.3, 0.7, 0.2, 1) 0.2s forwards;
}
.horizon .event line { stroke: #ffffff33; stroke-width: 1.5; }
.horizon .event circle { fill: var(--teal); stroke: var(--ink); stroke-width: 2; }
.horizon .event text {
  fill: var(--muted-dark); font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.04em; text-anchor: middle;
}
.horizon figcaption {
  margin-top: 12px; text-align: center;
  font-size: 0.82rem; color: var(--muted-dark);
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeArea { to { opacity: 1; } }
.no-motion .horizon .area { opacity: 1; animation: none; }
.no-motion .horizon .curve { stroke-dashoffset: 0; animation: none; }

/* ---------- generieke sectie ---------- */
.section { padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 48px); }
.section__head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section__head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section__sub { margin-top: 16px; color: var(--muted); font-size: 1.05rem; }

/* kaarten */
.cards {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.cards--2 { max-width: 820px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); padding: 26px 24px;
  box-shadow: 0 10px 30px #1a233110;
}
.card h3 { font-size: 1.16rem; margin-bottom: 10px; }
.card h3::before {
  content: ""; display: block; width: 30px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--teal)); margin-bottom: 14px;
}
.card p { color: var(--muted); font-size: 0.98rem; }

.ai-note, .honesty {
  max-width: 720px; margin: 32px auto 0; text-align: center;
  color: var(--muted); font-size: 0.98rem;
}
.ai-note strong { color: var(--text); }
.honesty a { color: var(--gold-deep); font-weight: 620; text-decoration: none; white-space: nowrap; }
.honesty a:hover { text-decoration: underline; }

/* ---------- marktbeeld / positionering ---------- */
.section--why { background: var(--paper-2); }
.market {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.market__item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 24px;
  box-shadow: 0 10px 30px #1a23310f;
}
.market__label {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 5px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--teal) 12%, #fff);
  color: color-mix(in srgb, var(--teal) 72%, #000);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.market__item h3 { font-size: 1.2rem; margin-bottom: 10px; }
.market__item p { color: var(--muted); font-size: 0.98rem; }
.positioning {
  max-width: var(--wrap);
  margin: 24px auto 0;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  align-items: start;
  background: var(--ink);
  color: var(--text-dark);
  border-radius: var(--r);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: 0 16px 36px #1a233122;
}
@media (min-width: 860px) { .positioning { grid-template-columns: 0.72fr 1fr; } }
.positioning .eyebrow { color: var(--gold); }
.positioning h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.positioning ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.positioning li {
  color: var(--muted-dark);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-dark);
}
.positioning li:last-child { border-bottom: 0; padding-bottom: 0; }
.positioning strong { color: var(--text-dark); }

/* ---------- doelgroep ---------- */
.section--audience { background: var(--paper); }
.audience-grid {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.audience {
  border-top: 3px solid var(--gold);
  background: var(--card);
  border-radius: var(--r);
  padding: 24px 22px;
  box-shadow: 0 10px 30px #1a23310f;
}
.audience h3 { font-size: 1.12rem; margin-bottom: 10px; }
.audience p { color: var(--muted); font-size: 0.96rem; }

/* ---------- planner (donker) ---------- */
.section--dark { background: var(--ink); color: var(--text-dark); }
.section--dark .eyebrow { color: var(--gold); }
.planner {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; gap: clamp(28px, 5vw, 56px);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .planner { grid-template-columns: 1fr 1fr; align-items: start; } }
.planner__intro h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 18px; }
.planner__intro .lead { color: var(--muted-dark); margin-bottom: 22px; }
.plancontrole {
  font-size: 0.95rem; color: var(--muted-dark);
  border-left: 2px solid var(--line-dark); padding-left: 16px;
}
.plancontrole strong { color: var(--text-dark); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 3px; vertical-align: middle; }
.dot--ok { background: var(--ok); } .dot--warn { background: var(--warn); } .dot--stop { background: var(--stop); }

.planner__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.planner__list li {
  padding: 16px 4px; border-top: 1px solid var(--line-dark);
  color: var(--muted-dark); font-size: 0.98rem;
}
.planner__list li:last-child { border-bottom: 1px solid var(--line-dark); }
.planner__list .k {
  display: block; color: var(--text-dark); font-weight: 660;
  font-size: 1.02rem; letter-spacing: -0.01em; margin-bottom: 3px;
}

/* ---------- veiligheid ---------- */
.section--secure { background: linear-gradient(180deg, var(--paper), var(--paper-2)); }
.secure-grid {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
}
.secure {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); padding: 24px 22px;
  position: relative;
}
.secure::before {
  content: ""; position: absolute; left: 0; top: 20px; bottom: 20px; width: 3px;
  border-radius: 0 3px 3px 0; background: var(--teal);
}
.secure h3 { font-size: 1.08rem; margin: 0 0 10px 10px; }
.secure p { color: var(--muted); font-size: 0.95rem; margin-left: 10px; }

/* ---------- levensarc ---------- */
.arc {
  max-width: var(--wrap); margin: 0 auto; padding: 0; list-style: none;
  display: grid; gap: 18px; counter-reset: none;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.arc__phase {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r); padding: 28px 26px;
  position: relative; overflow: hidden;
}
.arc__phase::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
}
.arc__num {
  display: block; font-family: var(--font-mono);
  font-size: 2.4rem; font-weight: 600; line-height: 1;
  color: var(--gold); font-variant-numeric: tabular-nums;
  margin-bottom: 14px; letter-spacing: -0.02em;
}
.arc__phase h3 { font-size: 1.3rem; margin-bottom: 12px; }
.arc__phase p { color: var(--muted); font-size: 0.98rem; }
.arc__tags {
  margin-top: 16px !important; padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 0.76rem;
  letter-spacing: 0.02em; color: var(--gold-deep) !important;
}

/* ---------- slot-cta ---------- */
.cta {
  background:
    radial-gradient(900px 400px at 50% 120%, #26324a 0%, transparent 60%),
    var(--ink);
  color: var(--text-dark); text-align: center;
  padding: clamp(64px, 9vw, 110px) clamp(18px, 5vw, 48px);
}
.cta h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 16ch; margin: 0 auto 14px; }
.cta p { color: var(--muted-dark); margin-bottom: 30px; }

/* ---------- footer ---------- */
.footer {
  background: var(--ink-2); color: var(--muted-dark);
  padding: 40px clamp(18px, 5vw, 48px);
  display: grid; gap: 18px; justify-items: center; text-align: center;
}
.footer__brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text-dark); font-weight: 720; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; }
.footer__links a { color: var(--muted-dark); text-decoration: none; font-size: 0.92rem; }
.footer__links a:hover { color: var(--text-dark); }
.footer__fine { font-size: 0.8rem; color: #6b7688; max-width: 60ch; }

/* ---------- doc-pagina's (privacy / voorwaarden) ---------- */
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 88px) clamp(18px, 5vw, 32px) clamp(56px, 8vw, 96px);
}
.doc h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); margin-bottom: 18px; }
.doc__lead { font-size: 1.12rem; color: var(--muted); margin-bottom: 12px; }
.doc h2 {
  font-size: 1.25rem; margin: 40px 0 12px;
  padding-top: 18px; border-top: 1px solid var(--line);
}
.doc p { color: var(--text); margin: 0 0 12px; }
.doc ul { margin: 0 0 12px; padding-left: 0; list-style: none; }
.doc li {
  position: relative; padding: 6px 0 6px 26px; color: var(--text);
}
.doc li::before {
  content: ""; position: absolute; left: 4px; top: 15px;
  width: 8px; height: 8px; border-radius: 2px;
  background: linear-gradient(135deg, var(--gold), var(--teal));
}
.doc a { color: var(--gold-deep); font-weight: 600; }
.doc__back { margin-top: 36px; }
.doc__back a { text-decoration: none; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-motion .reveal { opacity: 1; transform: none; transition: none; }
