/* Hangmat – website. Kleuren volgen de app: groen accent, warm papier, donkere zijbalk. */
:root {
  --bg: #F7F6F2;
  --paper: #FFFFFF;
  --fg: #1D2320;
  --muted: #5C6661;
  --line: #E0DDD4;
  --accent: #1F5F4A;
  --accent-ink: #FFFFFF;
  --accent-soft: #E3EEE8;
  --mint: #CFE5DA;
  --side: #17201C;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --radius: 14px;
  --shadow: 0 18px 50px -20px rgba(20, 40, 32, .35);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121815; --paper: #1A231F; --fg: #E6EBE8; --muted: #9AA7A0; --line: #2C3832;
    --accent: #7CC7A6; --accent-ink: #0F1A15; --accent-soft: #1F3229; --mint: #2E4A3D; --side: #0C110F;
    --shadow: 0 18px 50px -20px rgba(0, 0, 0, .7); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121815; --paper: #1A231F; --fg: #E6EBE8; --muted: #9AA7A0; --line: #2C3832;
  --accent: #7CC7A6; --accent-ink: #0F1A15; --accent-soft: #1F3229; --mint: #2E4A3D; --side: #0C110F;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, .7); color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(36px, 6vw, 60px); letter-spacing: -.01em; }
h2 { font-size: clamp(26px, 3.6vw, 36px); }
h3 { font-size: 19px; }
p { margin: 0; }
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 40em; }
.eyebrow { font: 600 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

/* ---- kop */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); font-weight: 600; font-size: 18px; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--fg); }
@media (max-width: 760px) { .nav { display: none; } .top .btn { margin-left: auto; } }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 10px; font: 600 15px/1 var(--body); text-decoration: none; border: 1px solid var(--line); color: var(--fg); background: var(--paper); white-space: nowrap; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.lg { padding: 15px 22px; font-size: 16px; }
.btn svg { width: 18px; height: 18px; }

/* ---- hero */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; gap: 28px; }
.hero-text { display: grid; gap: 20px; max-width: 760px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta .note { color: var(--muted); font-size: 14px; }
.shot { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--paper); }
.hero .shot { margin-top: 20px; }

/* ---- secties */
section { padding: 72px 0; }
.section-head { display: grid; gap: 12px; margin-bottom: 36px; max-width: 720px; }
.alt { background: var(--paper); border-block: 1px solid var(--line); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; }
.alt .step { background: var(--bg); }
.step::before { counter-increment: step; content: counter(step); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.step p { color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.audience { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; }
.aud { border-radius: var(--radius); padding: 26px 28px; display: grid; gap: 14px; align-content: start; border: 1px solid var(--line); background: var(--paper); }
.aud.yes { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.aud ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.aud li { position: relative; padding-left: 30px; }
.aud li::before { position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font: 700 12px/1 var(--body); }
.aud.yes li::before { content: "✓"; background: var(--accent-soft); color: var(--accent); }
.aud.no li::before { content: "–"; background: color-mix(in srgb, var(--muted) 16%, transparent); color: var(--muted); }
.aud.no li { color: var(--muted); }
.aud-note { font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
@media (max-width: 860px) { .audience { grid-template-columns: 1fr; } }

.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.feature { display: grid; gap: 8px; align-content: start; padding: 4px 0; }
.feature .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 6px; }
.feature .ico svg { width: 22px; height: 22px; }
.feature p { color: var(--muted); font-size: 16px; }

.gallery { display: grid; gap: 40px; }
.screen { display: grid; grid-template-columns: 1fr 1.8fr; gap: 36px; align-items: center; }
.screen:nth-child(even) { grid-template-columns: 1.8fr 1fr; }
.screen:nth-child(even) .screen-text { order: 2; }
.screen-text { display: grid; gap: 10px; }
.screen-text p { color: var(--muted); }
@media (max-width: 860px) { .screen, .screen:nth-child(even) { grid-template-columns: 1fr; } .screen:nth-child(even) .screen-text { order: 0; } }

.privacy-band { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: var(--side); color: #E6EBE8; border-radius: 20px; padding: 32px 36px; }
.privacy-band h2 { color: #fff; font-size: 26px; }
.privacy-band p { color: #A9B6AF; }
.privacy-band .shield { width: 56px; height: 56px; border-radius: 14px; background: #24362D; display: grid; place-items: center; color: #9FD8BD; }
.privacy-band a { color: #9FD8BD; }
@media (max-width: 760px) { .privacy-band { grid-template-columns: 1fr; padding: 26px; } }

.news { display: grid; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.news ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.news .ver { font-weight: 600; }

.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 18px; color: var(--muted); display: grid; gap: 10px; }
.faq code, .doc code { font-family: Consolas, "Cascadia Mono", monospace; font-size: .9em; background: var(--accent-soft); border-radius: 4px; padding: 0 5px; overflow-wrap: anywhere; }

footer { padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
footer .brand { font-size: 15px; }
footer .brand img { width: 26px; height: 26px; }
footer .links { display: flex; gap: 20px; margin-left: auto; }
footer a { color: var(--muted); }

/* ---- documentpagina (privacy) */
.doc { max-width: 720px; margin: 0 auto; padding: 48px 20px 72px; display: grid; gap: 28px; }
.doc header { display: grid; gap: 6px; }
.doc .meta { color: var(--muted); font-size: 15px; }
.doc .summary { background: var(--accent-soft); border-radius: 12px; padding: 18px 22px; display: grid; gap: 8px; }
.doc .summary ul, .doc section ul { margin: 0; padding-left: 22px; display: grid; gap: 4px; }
.doc section { padding: 0; display: grid; gap: 8px; }
.doc h2 { font-size: 22px; }
