/*
  VOICE   luchtig en persoonlijk, rustig: de app zelf is de held
  IDEA    de pagina gedraagt zich als de app: taken die vrijkomen als de vorige af is
  PICTURE een telefoon die zelf taken afvinkt, en een demo die je zelf afvinkt
  COLOUR  Forest Dream uit de app: bosgroen #2f4d48 op warm wit, terracotta en grijsblauw als steun
  TYPE    Plus Jakarta Sans, zoals de app; LAYOUT gecentreerde hero met groene band, daarna wisselende banden
*/

:root {
  --bg: #f4f5f1; --surface: #fdfdfb; --surface-2: #eef0eb; --surface-3: #e3e7e1;
  --border: #e2e5df; --border-strong: #c9cfcb;
  --text: #22292a; --text-2: #5c6664; --text-3: #87918e;
  --accent: #2f4d48; --accent-hover: #263f3b; --accent-soft: #e2ebe8; --accent-text: #fff;
  --ok: #4f7396; --ok-soft: #e3eaf2; --on-ok: #fff;
  --warn: #a5601d; --warn-soft: #f8ecdc;
  --brand: #2f4d48; --brand-2: #41675f; --on-brand: #f7f8f4;
  --shadow-sm: 0 1px 2px rgba(25, 35, 33, .06);
  --shadow: 0 1px 2px rgba(25, 35, 33, .05), 0 4px 14px rgba(25, 35, 33, .06);
  --shadow-lg: 0 18px 50px rgba(25, 35, 33, .18);
  --radius: 14px; --radius-sm: 10px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #151a19; --surface: #1d2422; --surface-2: #26302d; --surface-3: #303a37;
    --border: #2c3532; --border-strong: #435049;
    --text: #e6ece9; --text-2: #a3aeab; --text-3: #75817e;
    --accent: #8fb8ad; --accent-hover: #a5c8be; --accent-soft: #26403a; --accent-text: #10201c;
    --ok: #8aa8c9; --ok-soft: #1f2d3b; --on-ok: #10201c; --warn: #e0a55e; --warn-soft: #3a2c19;
    --brand: #223935; --brand-2: #2f4d48;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.3); --shadow: 0 1px 2px rgba(0,0,0,.3), 0 4px 14px rgba(0,0,0,.25); --shadow-lg: 0 18px 50px rgba(0,0,0,.5);
  }
}
:root[data-theme="dark"] {
  --bg: #151a19; --surface: #1d2422; --surface-2: #26302d; --surface-3: #303a37;
  --border: #2c3532; --border-strong: #435049;
  --text: #e6ece9; --text-2: #a3aeab; --text-3: #75817e;
  --accent: #8fb8ad; --accent-hover: #a5c8be; --accent-soft: #26403a; --accent-text: #10201c;
  --ok: #8aa8c9; --ok-soft: #1f2d3b; --on-ok: #10201c; --warn: #e0a55e; --warn-soft: #3a2c19;
  --brand: #223935; --brand-2: #2f4d48;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.3); --shadow: 0 1px 2px rgba(0,0,0,.3), 0 4px 14px rgba(0,0,0,.25); --shadow-lg: 0 18px 50px rgba(0,0,0,.5);
  color-scheme: dark;
}
:root[data-theme="light"] { color-scheme: light; }

/* Lettertype op de eigen server: zet het .woff2- of .ttf-bestand uit de app in assets/fonts/ */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-VariableFont_wght.woff2") format("woff2"),
       url("fonts/PlusJakartaSans-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 800; font-style: normal; font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16.5px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: var(--accent); }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; text-wrap: balance; }
h2 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.08; font-weight: 780; margin-bottom: 18px; }
h3 { font-size: 19px; line-height: 1.25; font-weight: 720; letter-spacing: -.01em; }
p { margin: 0 0 14px; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--text-2); max-width: 60ch; }
.lead strong { color: var(--text); font-weight: 700; }
svg.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1160px; margin: 0 auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.band { padding: clamp(64px, 9vw, 120px) max(5vw, 18px); }

/* Logo-tegel met afgeronde hoeken, net als het app-icoon */
.logo { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 25%;
  background: linear-gradient(180deg, #41675f, #294540); box-shadow: var(--shadow-sm); }
.logo svg { width: 70%; height: 70%; overflow: visible; }
.logo-xs { width: 22px; height: 22px; border-radius: 6px; box-shadow: none; }
.logo-sm { width: 34px; height: 34px; }
.logo-hero { width: 76px; height: 76px; border-radius: 21px; box-shadow: 0 8px 24px rgba(25,35,33,.18); }
.logo-on-dark { box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 10px 30px rgba(0,0,0,.25); }

/* Knoppen */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: var(--surface); color: var(--text);
  font: 650 15px/1 var(--font); text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 0 24px; font-size: 16.5px; border-radius: 12px; }
.btn svg.i { width: 18px; height: 18px; stroke-width: 2.2; }
.btn-light { background: #f7f8f4; border-color: #f7f8f4; color: #2f4d48; }
@media (hover: hover) {
  .btn:hover { background: var(--surface-2); }
  .btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
  .btn-light:hover { background: #fff; }
  .btn-lg:hover svg.i { transform: translateX(3px); }
}
.btn svg.i { transition: transform .2s; }

/* Menu */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-bottom-color: var(--border); }
.nav-in { max-width: 1160px; margin: 0 auto; display: flex; align-items: center; gap: 24px; padding: 12px max(5vw, 18px); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 760; font-size: 17px; letter-spacing: -.01em; }
.nav-links { display: flex; gap: 4px; margin: 0 auto; }
.nav-links a, .lang-link { color: var(--text-2); text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 8px 12px; border-radius: 9px; }
.nav-end { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-login { background: transparent; }
.lang-link { display: inline-flex; align-items: center; gap: 6px; }
.lang-link svg.i { width: 17px; height: 17px; }
.lang-short { display: none; }
@media (hover: hover) { .nav-links a:hover, .lang-link:hover { background: var(--surface-2); color: var(--text); } }
@media (max-width: 960px) { .nav-links { display: none; } .nav-end { margin-left: auto; } }
@media (max-width: 560px) {
  .nav-in { gap: 8px; }
  .brand-name { display: none; }
  .nav-end { gap: 6px; }
  .nav-end .btn-sm { padding: 0 11px; }
  .lang-long { display: none; }
  .lang-short { display: inline; font-weight: 700; letter-spacing: .02em; }
  .lang-link { border: 1px solid var(--border-strong); padding: 6px 10px; min-height: 38px; }
}
@media (max-width: 370px) { .lang-link svg.i { display: none; } .nav-end .btn-sm { padding: 0 9px; font-size: 13.5px; } }

/* Hero */
.hero { text-align: center; padding-top: clamp(40px, 7vw, 84px); }
.hero-text { padding: 0 max(5vw, 18px); max-width: 860px; margin: 0 auto; }
.hero h1 { text-wrap: balance; font-size: clamp(36px, 6vw, 64px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; margin: 22px 0 18px; }
.h1-brand { display: block; }
.hero-sub { font-size: clamp(18px, 2vw, 21px); color: var(--text-2); max-width: 34ch; margin: 0 auto 30px; text-wrap: balance; }
/* Desktop: kop op 3 regels (naam + 2 regels), ondertitel op 1 regel */
@media (min-width: 700px) {
  .h1-line { display: block; white-space: nowrap; }
  .hero-sub { max-width: none; white-space: nowrap; }
}
.hero-ctas { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero-note { font-size: 14px; color: var(--text-3); margin: 16px 0 0; }

.hero-stage { position: relative; margin-top: clamp(44px, 6vw, 70px); padding: 0 max(5vw, 18px) 0;
  display: flex; justify-content: center; align-items: flex-start; gap: 40px; }
.hero-stage::before { content: ""; position: absolute; left: 0; right: 0; top: 34%; bottom: 0;
  background: linear-gradient(180deg, var(--brand-2), var(--brand)); }
.phone { position: relative; z-index: 1; width: 318px; height: 640px; flex: none; border-radius: 50px; padding: 11px;
  background: #182120; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2c3836; margin-bottom: -90px; }
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #0c1110; z-index: 3; }
.phone-screen { position: relative; height: 100%; border-radius: 40px; overflow: hidden; background: var(--bg); text-align: left; }
.hero + .band { padding-top: calc(clamp(64px, 9vw, 120px) + 90px); }

.float { position: relative; z-index: 2; width: 250px; margin-top: 150px; text-align: left; padding: 16px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 8px; }
.float-r { margin-top: 300px; }
.float-label { font-size: 12.5px; font-weight: 650; color: var(--text-2); }
.float strong { font-size: 15.5px; font-weight: 650; }
.float-deps { display: flex; flex-wrap: wrap; gap: 5px; }
.float-done { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-3); }
.float-new { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.mini-check { width: 20px; height: 20px; border-radius: 50%; background: var(--ok); color: var(--on-ok); display: grid; place-items: center; flex: none; }
.mini-check svg.i { width: 12px; height: 12px; stroke-width: 3; }
@media (max-width: 960px) { .float { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .float-l { animation: bob 6s ease-in-out infinite; }
  .float-r { animation: bob 6s ease-in-out -3s infinite; }
}
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Logo-animatie, zoals op het inlogscherm van de app */
@media (prefers-reduced-motion: no-preference) {
  .is-anim { animation: lg-tile .4s cubic-bezier(.2,.8,.3,1.2) both; }
  .is-anim .lg-top { transform-origin: 12px 7.5px; animation: lg-pop .42s cubic-bezier(.3,1.6,.5,1) .25s both; }
  .is-anim .lg-check { stroke-dasharray: 9; animation: lg-draw .24s ease-out .55s both; }
  .is-anim .lg-line { stroke-dasharray: 3; animation: lg-draw .18s linear .8s both; }
  .is-anim .lg-next { transform-origin: 12px 18.7px; animation: lg-pop .42s cubic-bezier(.3,1.6,.5,1) .95s both; }
}
@keyframes lg-tile { from { transform: scale(.85); opacity: 0; } }
@keyframes lg-pop { from { transform: scale(.4); opacity: 0; } }
@keyframes lg-draw { from { stroke-dashoffset: 9; } to { stroke-dashoffset: 0; } }

/* Principe */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.prose h2 { margin-bottom: 22px; }
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.compare-card { border-radius: var(--radius); padding: 18px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-sm); }
.compare-card h3 { font-size: 14px; font-weight: 700; color: var(--text-2); letter-spacing: 0; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.compare-card ul { list-style: none; margin: 0; padding: 0; }
.compare-card li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14.5px; line-height: 1.3; }
.compare-card li:last-child { border-bottom: 0; }
.compare-card .box { width: 18px; height: 18px; border-radius: 5px; border: 2px solid var(--border-strong); flex: none; }
.compare-card .circle { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--accent); flex: none; }
.compare-note { margin: 12px 0 0; font-size: 13.5px; font-weight: 650; }
.is-plain { color: var(--text-2); transform: rotate(-1.2deg); }
.is-plain .compare-note { color: var(--text-3); }
.is-ft { border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); box-shadow: var(--shadow); margin-top: 34px; }
.is-ft h3 { color: var(--accent); }
.is-ft .compare-note { color: var(--accent); }

.try { margin-top: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: center;
  background: var(--accent-soft); border-radius: 28px; padding: clamp(22px, 4vw, 48px); }
.try h3 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 780; letter-spacing: -.02em; margin-bottom: 10px; }
.try p { color: var(--text-2); font-size: 17px; margin: 0; }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); padding: 18px; }
.try-demo { min-height: 440px; }

/* Stappen */
.steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 20px 22px 24px; box-shadow: var(--shadow-sm); }
.step-art { height: 168px; border-radius: 14px; background: var(--surface-2); padding: 18px; margin-bottom: 20px; display: flex; flex-direction: column; justify-content: center; gap: 10px; overflow: hidden; }
.step-n { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 760; font-size: 14px; margin-bottom: 12px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-2); margin: 0; font-size: 15.5px; }
.art-input { position: relative; background: var(--surface); border: 1px solid var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
  border-radius: 10px; padding: 12px 14px; font-size: 15px; font-weight: 520; white-space: nowrap; overflow: hidden; }
.caret { display: inline-block; width: 1.5px; height: 18px; background: var(--accent); vertical-align: -3px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.art-tick { align-self: flex-end; display: flex; gap: 6px; }
.art-tick svg.i { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--accent); color: var(--accent-text); stroke-width: 3; }
.art-label { font-size: 13px; font-weight: 650; color: var(--text-2); }
.art-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; padding: 3px; background: var(--surface-3); border-radius: 11px; }
.art-seg span { display: grid; place-items: center; text-align: center; font-size: 12.5px; line-height: 1.2; font-weight: 650; color: var(--text-2); padding: 7px 3px; border-radius: 8px; }
.art-seg .on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.art-info { font-size: 12.5px; color: var(--text-2); margin: 0; line-height: 1.4; }
.art-task { display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 10px; padding: 10px 12px; font-size: 14.5px; font-weight: 520; }
.art-task > span:nth-child(2) { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.art-task .circle { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border-strong); display: grid; place-items: center; flex: none; }
.art-task.is-done { color: var(--text-3); text-decoration: line-through; }
.art-task.is-done .circle { background: var(--ok); border-color: var(--ok); color: var(--on-ok); }
.art-task .circle svg.i { width: 13px; height: 13px; stroke-width: 3; }
.art-task.is-new { box-shadow: 0 0 0 2px var(--accent-soft), var(--shadow); }
.art-task.is-new .circle { border-color: var(--accent); }

/* Voor wie: donkere band, ketens die op het logo lijken */
.who { background: linear-gradient(180deg, var(--brand-2), var(--brand)); color: var(--on-brand); }
.who h2 { max-width: 20ch; }
.who .lead { color: color-mix(in srgb, var(--on-brand) 78%, transparent); }
.chains { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.chain { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 20px; }
.chain h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; margin-bottom: 18px; }
.chain-icon { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.chain-icon svg.i { width: 18px; height: 18px; }
.chain ol { list-style: none; margin: 0; padding: 0; }
.chain li { position: relative; display: flex; align-items: center; gap: 12px; padding: 0 0 22px; font-size: 15px; color: rgba(247,248,244,.6); }
.chain li:last-child { padding-bottom: 0; }
.chain li:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 24px; bottom: 2px; width: 2px; border-radius: 1px; background: rgba(255,255,255,.22); }
.chain .node { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); flex: none; display: grid; place-items: center; }
.chain .is-done { color: rgba(247,248,244,.55); text-decoration: line-through; }
.chain .is-done .node { background: #f7f8f4; border-color: #f7f8f4; color: #2f4d48; }
.chain .node svg.i { width: 12px; height: 12px; stroke-width: 3.2; }
.chain .is-ready { color: #fff; font-weight: 650; }
.chain .is-ready .node { border-color: #f7f8f4; box-shadow: 0 0 0 4px rgba(255,255,255,.12); }

/* Functies */
.features { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feature { padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); }
.feature-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.feature h3 { font-size: 17.5px; margin-bottom: 6px; }
.feature p { color: var(--text-2); margin: 0; font-size: 15.5px; }

/* Vragen */
#faq { padding-top: 0; }
.faq { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 650; font-size: 16.5px; min-height: 60px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg.i { color: var(--text-3); transition: transform .2s; }
.faq details[open] summary svg.i { transform: rotate(180deg); }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--text-2); }
@media (hover: hover) { .faq summary:hover { background: var(--surface-2); } }

/* Afsluiter */
.final { background: linear-gradient(180deg, var(--brand-2), var(--brand)); color: var(--on-brand); }
.final h2 { margin: 22px 0 12px; }
.final .lead { color: color-mix(in srgb, var(--on-brand) 78%, transparent); margin: 0 auto 28px; }

.final-login { margin: 18px 0 0; font-size: 14.5px; }
.final-login a { color: var(--on-brand); opacity: .8; }

.foot { padding: 32px max(5vw, 18px) 40px; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.3; }
.foot-brand em { display: block; color: var(--text-3); font-size: 13px; }
.foot-links { display: flex; gap: 6px 18px; flex-wrap: wrap; font-size: 14px; color: var(--text-3); }
.foot-links a { color: var(--text-2); text-decoration: none; }
.foot-links a[aria-current] { color: var(--accent); font-weight: 650; }

/* ---------- De demo (bouwstenen uit de app) ---------- */
.d { display: flex; flex-direction: column; height: 100%; font-size: 15px; line-height: 1.45; }
.d-main { flex: 1; overflow: hidden; }
.is-phone .d-main { padding: 58px 14px 0; }
.board-switch { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px 3px 3px; min-height: 30px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface); font-size: 13px; font-weight: 650; color: var(--text); margin-bottom: 6px; }
.board-switch-icon { width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.board-switch-icon svg.i { width: 14px; height: 14px; }
.board-switch svg.chev { width: 14px; height: 14px; color: var(--text-3); }
.d-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.page-title { font-size: 26px; line-height: 1.15; font-weight: 780; letter-spacing: -.025em; margin: 0; }
.is-phone .page-title { font-size: 25px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.stat { --sc: var(--accent); border-radius: var(--radius-sm); padding: 9px 11px; border: 1px solid color-mix(in srgb, var(--sc) 26%, var(--border)); background: color-mix(in srgb, var(--sc) 13%, var(--surface)); }
.stat-n { font-size: 21px; font-weight: 760; letter-spacing: -.02em; line-height: 1.1; color: var(--sc); font-variant-numeric: tabular-nums; }
.stat-l { font-size: 11.5px; color: var(--text-2); font-weight: 600; }
.stat.is-open { --sc: #6f5a99; } .stat.is-done { --sc: var(--ok); }
:root[data-theme="dark"] .stat.is-open { --sc: #b7a3d6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .stat.is-open { --sc: #b7a3d6; } }
.seg { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; background: var(--surface-2); border-radius: 11px; }
.seg button { border: 0; background: none; font: 650 13.5px/1 var(--font); color: var(--text-2); padding: 9px 12px; min-height: 36px; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.group { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.task { display: flex; align-items: flex-start; padding: 5px 12px 5px 6px; border-bottom: 1px solid var(--border); background: var(--surface); }
.task:last-child { border-bottom: 0; }
.task-check { width: 38px; height: 40px; flex: none; display: grid; place-items: center; border: 0; background: none; padding: 0; border-radius: 50%; cursor: pointer; }
.task-check:disabled { cursor: default; }
.circle { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border-strong); display: grid; place-items: center; color: transparent; transition: all .15s; }
.circle svg.i { width: 14px; height: 14px; stroke-width: 3; }
.task-main { flex: 1; min-width: 0; padding: 9px 0 6px 4px; }
.task-name { position: relative; display: inline; font-size: 15px; line-height: 1.35; font-weight: 520; }
.task-meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.task.is-done .task-name { color: var(--text-3); text-decoration: line-through; }
.task.is-done .circle { background: var(--ok); border-color: var(--ok); color: var(--on-ok); }
.task.is-blocked .circle { border-style: dashed; border-color: var(--text-3); }
.task.is-blocked .task-name { color: var(--text-2); }
.pill { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 650; line-height: 1; padding: 4px 8px; border-radius: 20px; background: var(--surface-2); color: var(--text-2); white-space: nowrap; }
.pill-requires { background: var(--warn-soft); color: var(--warn); }
.pill-new { background: var(--accent-soft); color: var(--accent); transition: opacity .6s; }
.pill-new.is-fading { opacity: 0; }
.d-wait { font-size: 13px; color: var(--text-3); margin: 10px 4px 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.d-wait button { border: 0; background: none; color: var(--accent); font: 650 13px/1 var(--font); padding: 6px 2px; cursor: pointer; }
.d-empty { text-align: center; padding: 30px 16px; background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--radius); color: var(--text-2); }
.d-empty strong { display: block; font-size: 17px; color: var(--text); margin: 10px 0 2px; }
.d-empty p { margin: 0 0 14px; }
.tabbar { display: grid; grid-template-columns: repeat(4, 1fr); height: 74px; padding-bottom: 14px; border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 90%, transparent); }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--text-3); font-size: 10.5px; font-weight: 600; }
.tab svg.i { width: 23px; height: 23px; }
.tab.on { color: var(--accent); }
.tab.on .ft-top { fill: currentColor; }

/* Animaties uit de app: afronden en vrijkomen */
.task.is-completing .circle { background: var(--ok); border-color: var(--ok); color: var(--on-ok); animation: ft-pop .35s ease; }
.task.is-completing .circle path { stroke-dasharray: 20; animation: ft-draw .3s ease .1s both; }
.task.is-completing { animation: ft-nudge .45s ease .15s; }
.task.is-completing .task-name { color: var(--text-3); transition: color .3s .2s; }
.task-name::after { content: ""; position: absolute; left: 0; top: .68em; height: 1.5px; width: 0; background: var(--text-3); transition: width .3s ease .15s; }
.task.is-completing .task-name::after { width: 100%; }
.task.is-leaving { overflow: hidden; animation: ft-leave .42s ease forwards; }
.task.is-unlocked { animation: ft-unlock-in .55s cubic-bezier(.2,.8,.3,1.2), ft-glow 1.8s ease; }
.task.is-unlocked .circle { animation: ft-wiggle .6s ease; border-color: var(--accent); }
.task.is-press .circle { border-color: var(--accent); background: var(--accent-soft); transform: scale(.9); }
@keyframes ft-pop { 45% { transform: scale(1.3); } }
@keyframes ft-draw { from { stroke-dashoffset: 20; } to { stroke-dashoffset: 0; } }
@keyframes ft-nudge { 30% { transform: translateX(6px); } 60% { transform: translateX(-2px); } }
@keyframes ft-leave { to { opacity: 0; transform: translateX(28px); max-height: 0; padding-top: 0; padding-bottom: 0; border-bottom-width: 0; } }
@keyframes ft-unlock-in { from { opacity: 0; transform: translateY(-10px) scale(.97); } }
@keyframes ft-glow { from { background: var(--accent-soft); } to { background: var(--surface); } }
@keyframes ft-wiggle { 25% { transform: rotate(-14deg) scale(1.2); } 55% { transform: rotate(10deg) scale(1.1); } }
@media (hover: hover) { .task-check:not(:disabled):hover .circle { border-color: var(--accent); color: var(--accent); } }

/* ---------- Smalle schermen ---------- */
@media (max-width: 960px) {
  .split, .try { grid-template-columns: minmax(0, 1fr); }
  .steps, .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chains { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .steps, .features, .chains { grid-template-columns: minmax(0, 1fr); }
  .compare { gap: 10px; }
  .compare-card { padding: 14px; }
  .compare-card li { font-size: 13.5px; gap: 8px; }
  .is-ft { margin-top: 20px; }
  .phone { width: 290px; height: 590px; border-radius: 46px; margin-bottom: -70px; }
  .phone-screen { border-radius: 36px; }
  .hero + .band { padding-top: calc(clamp(64px, 9vw, 120px) + 70px); }
  .hero-ctas .btn { width: 100%; }
  .try { border-radius: 22px; padding: 18px; }
  .card { padding: 14px; }
}
@media (max-width: 400px) { .compare { grid-template-columns: minmax(0, 1fr); } .is-plain { transform: none; } .is-ft { margin-top: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Telefoon in de hero: tellingen passen ook op een smal scherm */
.is-phone .stat { padding: 8px 9px; }
.is-phone .stat-l { font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.is-phone .stat-n { font-size: 20px; }

/* ---------- Subtiel binnenkomen: Voor wie en Functies ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal > li { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .3, 1); transition-delay: calc(var(--i, 0) * 90ms); }
  .js .reveal.is-in > li { opacity: 1; transform: none; }

  /* Ketens: vinkje plopt, lijntje loopt door, volgende taak licht op */
  .js .chains .is-done .node { transform: scale(.4); opacity: 0; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1), opacity .2s; transition-delay: calc(var(--i, 0) * 90ms + 350ms); }
  .js .chains li:first-child::after { transform: scaleY(0); transform-origin: top; transition: transform .35s ease; transition-delay: calc(var(--i, 0) * 90ms + 700ms); }
  .js .chains .is-ready { color: rgba(247,248,244,.6); font-weight: 520; transition: color .3s, font-weight .3s; transition-delay: calc(var(--i, 0) * 90ms + 1000ms); }
  .js .chains .is-ready .node { box-shadow: none; transition: box-shadow .4s, border-color .3s; transition-delay: calc(var(--i, 0) * 90ms + 1000ms); border-color: rgba(255,255,255,.35); }
  .js .chains.is-in .is-done .node { transform: none; opacity: 1; }
  .js .chains.is-in li:first-child::after { transform: none; }
  .js .chains.is-in .is-ready { color: #fff; font-weight: 650; }
  .js .chains.is-in .is-ready .node { border-color: #f7f8f4; box-shadow: 0 0 0 4px rgba(255,255,255,.12); }

  /* Functies: icoontje veert even op */
  .js .features.is-in .feature-icon { animation: icon-pop .5s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(var(--i, 0) * 90ms + 250ms); }
  @media (hover: hover) {
    .feature { transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
    .js .features.is-in > .feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-strong); transition-delay: 0s; }
  }
}
@keyframes icon-pop { from { transform: scale(.6); } }


/* Lange 'Wacht op …'-labels lopen door op een volgende regel in plaats van buiten het label */
.task-meta .pill { white-space: normal; max-width: 100%; border-radius: 10px; line-height: 1.3; padding-top: 3px; padding-bottom: 3px; text-align: left; }
.stat-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Privacyverklaring en voorwaarden ---------- */
.legal { padding-top: clamp(36px, 6vw, 72px); }
.legal-in { max-width: 720px; }
.legal-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 650; text-decoration: none; color: var(--text-2); margin-bottom: 18px; padding: 6px 0; }
.legal-back svg.i { width: 16px; height: 16px; transform: rotate(180deg); }
@media (hover: hover) { .legal-back:hover { color: var(--accent); } }
.legal h1 { font-size: clamp(34px, 5vw, 48px); line-height: 1.06; font-weight: 800; letter-spacing: -.03em; margin-bottom: 8px; }
.legal-date { color: var(--text-3); font-size: 14px; margin-bottom: 22px; }
.legal-toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; margin: 28px 0 8px; }
.legal-toc strong { font-size: 13.5px; color: var(--text-2); }
.legal-toc ol { margin: 8px 0 0; padding-left: 20px; columns: 2; column-gap: 28px; font-size: 15px; }
.legal-toc li { break-inside: avoid; padding: 3px 0; }
.legal-toc a { text-decoration: none; }
@media (hover: hover) { .legal-toc a:hover { text-decoration: underline; } }
@media (max-width: 560px) { .legal-toc ol { columns: 1; } }
.legal section { padding-top: 26px; }
.legal h2 { font-size: 22px; line-height: 1.25; font-weight: 750; letter-spacing: -.015em; margin-bottom: 10px; }
.legal p, .legal li { color: var(--text-2); }
.legal p strong, .legal li strong { color: var(--text); font-weight: 650; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal ul li { margin-bottom: 8px; }
.legal ul li::marker { color: var(--accent); }
