/* Stemwet — landingspagina. Kleuren volgen de app (constants/colors.ts) en het app-icoon. */
:root {
  --navy: #0e1f3d;
  --navy-2: #16305e;
  --blue: #1565c0;
  --blue-soft: #e8f0fe;
  --orange: #e65100;
  --orange-soft: #fff3e0;
  --ink: #1a1a2e;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f4f7fb;
  --card: #ffffff;
  --radius: 14px;
  --max: 1120px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue); margin-bottom: .6rem;
}

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.25rem; border-radius: 10px; font-weight: 600; font-size: .98rem;
  border: 1px solid transparent; transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(230, 81, 0, .28); }
.btn-primary:hover { background: #cf4a00; }
.btn-secondary { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-secondary:hover { background: rgba(255,255,255,.14); }
.btn-ghost { background: var(--blue-soft); color: var(--blue); }
.btn-ghost:hover { background: #d8e6fc; }

/* Navigatie */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(14, 31, 61, .92); backdrop-filter: blur(10px);
  color: #fff; border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; color: #fff; font-weight: 700; font-size: 1.15rem; }
.brand img { width: 34px; height: 34px; border-radius: 9px; background: #fff; }
.nav-links { display: flex; align-items: center; gap: 1.4rem; font-size: .95rem; }
.nav-links a { color: rgba(255,255,255,.82); }
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav .btn { padding: .55rem 1rem; font-size: .9rem; }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* Hero */
.hero {
  background: radial-gradient(1200px 500px at 85% -10%, rgba(21,101,192,.55), transparent 60%),
              linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; padding: 5rem 0 4.5rem; overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: #ffb066; }
.hero .lead { font-size: 1.15rem; color: rgba(255,255,255,.82); max-width: 34rem; }
.hero .actions { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.6rem 0 1.4rem; }
.trust { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; font-size: .88rem; color: rgba(255,255,255,.72); }
.trust span::before { content: "✓"; color: #ffb066; margin-right: .4rem; font-weight: 700; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding: 3.5rem 0; } }

/* Telefoon-mockup (puur CSS) */
.phone {
  justify-self: center; width: 300px; max-width: 100%;
  background: #0b1730; border-radius: 36px; padding: 14px;
  box-shadow: 0 30px 60px rgba(0,0,0,.45), inset 0 0 0 2px rgba(255,255,255,.08);
}
.screen { background: var(--bg); border-radius: 26px; padding: 18px 14px 20px; color: var(--ink); font-size: .78rem; }
.screen .bar { display: flex; justify-content: space-between; font-size: .68rem; color: var(--muted); margin-bottom: 12px; }
.screen .tag { display: inline-block; background: var(--blue-soft); color: var(--blue); font-weight: 600; font-size: .66rem; padding: 2px 8px; border-radius: 999px; margin-bottom: 8px; }
.screen .card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 10px; }
.screen .title { font-weight: 700; font-size: .84rem; line-height: 1.3; margin-bottom: 6px; }
.screen .meta { color: var(--muted); font-size: .68rem; margin-bottom: 8px; }
.poll { display: grid; gap: 6px; }
.poll .row { display: grid; grid-template-columns: 44px 1fr 34px; align-items: center; gap: 8px; font-size: .7rem; }
.poll .track { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; }
.poll .fill { height: 100%; border-radius: 999px; background: var(--blue); }
.poll .fill.o { background: var(--orange); }
.poll .n { text-align: right; font-weight: 600; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: .64rem; padding: 3px 8px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); }
.chip.live { background: #fee2e2; border-color: #fecaca; color: #b91c1c; font-weight: 600; }

/* Cijfers-strook */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 1.6rem 0; }
.stat b { display: block; font-size: 1.35rem; color: var(--navy); font-weight: 800; }
.stat span { color: var(--muted); font-size: .92rem; }
@media (max-width: 700px) { .stats .wrap { grid-template-columns: 1fr; text-align: center; } }

/* Secties */
section { padding: 4.5rem 0; }
section.alt { background: #fff; border-block: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: 2.4rem; }
.grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; transition: box-shadow .15s ease, transform .15s ease;
}
.feature:hover { box-shadow: 0 10px 28px rgba(14,31,61,.08); transform: translateY(-2px); }
.icon {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue); margin-bottom: .9rem;
}
.icon.o { background: var(--orange-soft); color: var(--orange); }
.icon svg { width: 22px; height: 22px; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Stappen */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: stap; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 1.6rem 1.4rem 1.4rem; background: var(--navy); color: #fff; border-radius: var(--radius); }
.step::before {
  counter-increment: stap; content: counter(stap, decimal-leading-zero);
  font-size: 2rem; font-weight: 800; color: #ffb066; display: block; margin-bottom: .4rem; line-height: 1;
}
.step h3 { color: #fff; }
.step p { color: rgba(255,255,255,.78); margin: 0; font-size: .95rem; }

/* Bronnen */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.list { padding-left: 0; list-style: none; margin: 0; display: grid; gap: .9rem; }
.list li { display: grid; grid-template-columns: 26px 1fr; gap: .7rem; align-items: start; }
.list li .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-weight: 700; font-size: .8rem; margin-top: .15rem; }
.note { background: var(--orange-soft); border: 1px solid #ffe0b2; border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.note strong { color: var(--orange); }

/* CTA-band */
.cta { background: linear-gradient(135deg, var(--blue) 0%, var(--navy-2) 100%); color: #fff; text-align: center; padding: 4rem 0; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.82); max-width: 36rem; margin: 0 auto 1.6rem; }

/* Footer */
footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 2.6rem 0 2rem; font-size: .92rem; }
footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr; } }
footer h4 { color: #fff; margin: 0 0 .7rem; font-size: .95rem; }
footer a { color: rgba(255,255,255,.82); display: block; margin-bottom: .4rem; }
footer .brand { margin-bottom: .6rem; }
footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.2rem; font-size: .82rem; color: rgba(255,255,255,.55); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; }

/* Juridische pagina's */
.doc { padding: 3.5rem 0 5rem; }
.doc .wrap { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; }
@media (max-width: 860px) { .doc .wrap { grid-template-columns: 1fr; } }
.toc { position: sticky; top: 84px; align-self: start; font-size: .9rem; }
.toc a { display: block; color: var(--muted); padding: .28rem 0; }
.toc a:hover { color: var(--blue); text-decoration: none; }
.toc h4 { margin: 0 0 .5rem; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.4rem clamp(1.2rem, 4vw, 3rem); }
article h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
article h2 { font-size: 1.25rem; margin-top: 2rem; scroll-margin-top: 90px; }
article .updated { color: var(--muted); font-size: .9rem; margin-bottom: 1.2rem; }
article .intro { font-size: 1.08rem; }
.concept { background: var(--orange-soft); border: 1px solid #ffe0b2; color: var(--orange); border-radius: 10px; padding: .7rem 1rem; font-size: .9rem; margin-bottom: 1.4rem; }
