/* Vrijruimte landing page. Same fonts and Papier & inkt tokens as the app (src/ui/styles.css); no JS, no third parties. */
@font-face { font-family: 'Fraunces'; src: url('/fonts/fraunces.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('/fonts/source-sans-3.woff2') format('woff2'); font-weight: 200 900; font-display: swap; }

:root {
  color-scheme: light dark;
  --ground: #F8F3EA; --surface: #FFFDF8; --surface-2: #FBF7F0; --surface-3: #F0E8DD; --side: #EEE5D8;
  --ink: #241C17; --ink-2: #4C4139; --muted: #6C5F56;
  --line: #E6DFD4; --line-strong: #DAD1C6;
  --accent: #A94926; --accent-dark: #813219; --accent-soft: #FDE8DC; --on-accent: #FFFDF8;
  --amber: #DEA43C; --amber-soft: #FDEFD2; --amber-ink: #6B3E0F;
  --mint: #029393; --blue: #1F5596; --good-ink: #1E5A38; --good-soft: #DEF3E4;
  --logo-sun: #F2C46A; --focus: #A94926; --shade: 36 28 23;
  /* the privacy band: ink in light, a raised charcoal in dark */
  --band: #241C17; --band-ink: #F3EDE4; --band-muted: #C9BFB4; --band-line: #3D332C; --band-accent: #EFA880;
  --display: 'Fraunces', Georgia, serif;
  --body: 'Source Sans 3', system-ui, -apple-system, sans-serif;
  --wrap: 1180px; --pad: clamp(20px, 5vw, 48px);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #181411; --surface: #221D19; --surface-2: #28231F; --surface-3: #322C28; --side: #110E0B;
    --ink: #EEE9E1; --ink-2: #D0C9C0; --muted: #ACA399;
    --line: #38322D; --line-strong: #453E39;
    --accent: #D4774C; --accent-dark: #EFA880; --accent-soft: #46271C; --on-accent: #170D08;
    --amber: #E5AC4C; --amber-soft: #3E2D15; --amber-ink: #F0CF94;
    --mint: #0C9999; --blue: #5289C6; --good-ink: #8ECFA4; --good-soft: #1F3627;
    --logo-sun: #F6D28E; --focus: #EFA880; --shade: 0 0 0;
    --band: #221D19; --band-ink: #EEE9E1; --band-muted: #ACA399; --band-line: #38322D; --band-accent: #EFA880;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 18px/1.6 var(--body); font-kerning: normal; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 420; letter-spacing: -0.02em; text-wrap: balance; color: var(--ink); }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: var(--on-accent); }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--ground) 86%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 25px; letter-spacing: -0.015em; line-height: 1; }
.brand:hover { color: var(--ink); }
.mark { flex: none; }
.mark rect { fill: var(--accent); }
.mark path { stroke: var(--on-accent); }
.mark circle { fill: var(--logo-sun); }
.nav { display: flex; gap: 26px; margin-left: 8px; font-size: 15.5px; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 6px 0; }
.nav a:hover { color: var(--accent); }
.top-end { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 15.5px; }
.lang { color: var(--ink-2); text-decoration: none; }
.lang:hover { color: var(--accent); }
@media (max-width: 940px) { .nav { display: none; } }
@media (max-width: 480px) { .top .wrap { gap: 12px; } .top-end { gap: 12px; } .brand { font-size: 22px; } .top .btn { padding: 0 14px; } }
@media (max-width: 374px) { .brand span { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border-radius: 12px; font: 600 16.5px/1 var(--body); text-decoration: none; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); transition: background-color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:hover { border-color: var(--accent); color: var(--ink); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); box-shadow: 0 1px 0 rgb(255 255 255 / .16) inset, 0 6px 16px -8px color-mix(in srgb, var(--accent) 60%, transparent); }
.btn.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--on-accent); }
@media (prefers-color-scheme: dark) { .btn.primary:hover { background: #E08B62; border-color: #E08B62; } }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.btn svg { flex: none; }

/* type helpers */
.eyebrow { display: inline-block; font: 600 13px/1.3 var(--body); letter-spacing: .09em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.06; }
.lead { font-size: clamp(18.5px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 40em; }
.muted { color: var(--muted); }
.section { padding-block: clamp(80px, 11vw, 144px); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lead { margin-top: 20px; }

/* hero */
.hero { position: relative; padding-top: clamp(56px, 9vw, 112px); overflow: clip; }
.hero::before { content: ''; position: absolute; inset: -10% -10% 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 50% at 78% 18%, color-mix(in srgb, var(--amber) 22%, transparent), transparent 70%),
              radial-gradient(50% 45% at 12% 8%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%); }
.status { display: inline-flex; align-items: center; gap: 10px; font: 600 14px/1 var(--body); color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px 8px 10px; margin-bottom: 30px; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px color-mix(in srgb, var(--amber) 25%, transparent); }
.hero h1 { font-size: clamp(46px, 7.4vw, 96px); line-height: 1; letter-spacing: -0.014em; font-weight: 400; text-wrap: wrap; }
.hero h1 .k { white-space: nowrap; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { margin-top: 28px; max-width: 35em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
@media (max-width: 480px) { .ctas .btn { flex: 1 1 100%; } }
.note { margin-top: 18px; font-size: 15px; color: var(--muted); }
.shot { margin: clamp(56px, 7vw, 88px) auto 0; max-width: 1320px; padding-inline: clamp(12px, 3vw, 32px); }
.frame { position: relative; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgb(var(--shade) / .06), 0 30px 60px -30px rgb(var(--shade) / .35), 0 60px 120px -60px rgb(var(--shade) / .3); }
.frame img { width: 100%; }
figcaption { margin-top: 18px; text-align: center; font-size: 15px; color: var(--muted); }
@media (max-width: 640px) {
  /* a phone shows the left part of the map larger: the live card and the first bars */
  .hero .frame { aspect-ratio: 5 / 6; }
  .hero .frame img { width: 200%; max-width: none; }
  .shot { padding-inline: 16px; }
}

/* facts strip */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts li { padding: 26px 24px 28px; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; font-family: var(--display); font-weight: 450; font-size: 22px; letter-spacing: -0.01em; margin-bottom: 4px; }
.facts span { font-size: 16px; color: var(--muted); line-height: 1.45; display: block; }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .facts li:nth-child(3) { border-left: 0; padding-left: 0; } .facts li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .facts li { border-left: 0; padding: 22px 0; } .facts li + li { border-top: 1px solid var(--line); } }

/* three steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); counter-reset: step; }
.steps li { position: relative; padding-top: 30px; border-top: 2px solid var(--ink); }
.steps li::before { counter-increment: step; content: counter(step); display: block; font: 380 clamp(64px, 7vw, 88px)/1 var(--display); color: var(--accent); letter-spacing: -0.04em; margin-bottom: 22px; font-variant-numeric: lining-nums; }
.steps h3 { font-size: 27px; line-height: 1.15; margin-bottom: 12px; }
.steps p { color: var(--ink-2); font-size: 17.5px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 44px; } }

/* feature: heading and text side by side, the screenshot full width below */
.feature-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px clamp(36px, 6vw, 88px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.feature-head .lead { margin-top: 0; }
.feature-head .ticks { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 32px; margin-top: 12px; }
.feature figure { margin: 0; }
@media (max-width: 960px) { .feature-head { grid-template-columns: 1fr; } .feature-head .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feature-head .ticks { grid-template-columns: 1fr; } }
figure { margin: 0; }

/* split */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.split .lead { margin-top: 20px; }
.ticks { margin-top: 30px; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; color: var(--ink-2); font-size: 17.5px; line-height: 1.5; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A94926' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
@media (prefers-color-scheme: dark) { .ticks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EFA880' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); } }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* life events */
.alt { background: var(--surface-2); border-block: 1px solid var(--line); }
.lanes { border-top: 1px solid var(--line); }
.lane { display: grid; grid-template-columns: 160px 1fr; gap: 16px 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.lane h3 { font: 600 13px/1.3 var(--body); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.lane h3::before { content: ''; width: 12px; height: 12px; border-radius: 4px; background: var(--dot); }
.lane.w { --dot: var(--accent); } .lane.f { --dot: var(--amber); } .lane.h { --dot: var(--blue); } .lane.m { --dot: var(--mint); }
@media (max-width: 640px) { .lane { grid-template-columns: 1fr; gap: 14px; } .events { gap: 8px; } .events li { font-size: 15.5px; padding: 7px 13px 7px 11px; gap: 8px; } .events li::before { width: 8px; height: 8px; } }
.events { display: flex; flex-wrap: wrap; gap: 10px; }
.events li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 16.5px; color: var(--ink); box-shadow: 0 1px 2px rgb(var(--shade) / .04); }
.events li::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--dot, var(--accent)); flex: none; }

/* Dutch rules */
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.rules li { background: var(--surface); padding: 28px 28px 30px; }
.rules h3 { font-family: var(--body); font-weight: 650; letter-spacing: 0; font-size: 18.5px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.rules h3::before { content: ''; width: 6px; height: 18px; border-radius: 3px; background: var(--accent); flex: none; }
.rules p { font-size: 16.5px; color: var(--muted); line-height: 1.5; }
.rules-note { margin-top: 22px; font-size: 15.5px; color: var(--muted); max-width: 60em; }
@media (max-width: 900px) { .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .rules { grid-template-columns: 1fr; } .rules li { padding: 22px 22px 24px; } }

/* more features */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: 0 1px 2px rgb(var(--shade) / .04), 0 12px 32px -22px rgb(var(--shade) / .25); }
.card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 20px; }
.card .ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 23px; line-height: 1.2; margin-bottom: 10px; }
.card p { font-size: 16.5px; color: var(--ink-2); line-height: 1.55; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }

/* privacy band */
.band { background: var(--band); color: var(--band-ink); position: relative; overflow: clip; }
@media (prefers-color-scheme: dark) { .band { border-block: 1px solid var(--line); } }
.band::after { content: ''; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--amber) 22%, transparent), transparent); pointer-events: none; }
.band h2, .band h3 { color: var(--band-ink); }
.band .eyebrow { color: var(--band-accent); }
.band .lead { color: var(--band-muted); }
.band a { color: var(--band-accent); }
.privacy { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; position: relative; z-index: 1; }
.privacy li { border-top: 1px solid var(--band-line); padding-top: 24px; }
.privacy h3 { font-size: 23px; line-height: 1.2; margin-bottom: 10px; }
.privacy p { color: var(--band-muted); font-size: 16.5px; line-height: 1.55; }
.privacy .where { display: inline-block; font: 600 12.5px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--band-accent); margin-bottom: 14px; }
@media (max-width: 900px) { .privacy { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .privacy { grid-template-columns: 1fr; gap: 30px; } }

/* advisors */
.roles { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 8px 28px; box-shadow: 0 1px 2px rgb(var(--shade) / .04), 0 24px 48px -32px rgb(var(--shade) / .3); }
.roles-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 22px 0 14px; border-bottom: 1px solid var(--line); }
.roles-head strong { font-family: var(--display); font-weight: 450; font-size: 22px; }
.roles-head span { font-size: 14px; color: var(--muted); }
.roles li { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.roles li:last-child { border-bottom: 0; }
.role { display: inline-block; justify-self: start; font: 600 13.5px/1 var(--body); padding: 7px 11px; border-radius: 999px; background: var(--surface-3); color: var(--ink-2); }
.role.on { background: var(--accent-soft); color: var(--accent-dark); }
.roles p { font-size: 16.5px; color: var(--ink-2); line-height: 1.45; }
@media (max-width: 420px) { .roles { padding: 4px 18px; } .roles li { grid-template-columns: 1fr; gap: 8px; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(36px, 6vw, 88px); align-items: start; }
.faq-wrap .section-head { margin-bottom: 0; position: sticky; top: 108px; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap .section-head { position: static; } }
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; font: 450 clamp(20px, 2vw, 23px)/1.3 var(--display); letter-spacing: -0.01em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover::after { border-color: var(--accent); }
.faq details > p { padding: 0 56px 26px 0; color: var(--ink-2); font-size: 17.5px; max-width: 46em; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* closing CTA */
.closing { text-align: center; position: relative; overflow: clip; }
.closing::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(45% 60% at 50% 100%, color-mix(in srgb, var(--amber) 20%, transparent), transparent 70%); }
.closing .wrap { display: flex; flex-direction: column; align-items: center; }
.closing .mark { margin-bottom: 30px; }
.closing .lead { margin-top: 20px; max-width: 32em; }
.closing .ctas { justify-content: center; }

/* footer */
.foot { border-top: 1px solid var(--line); padding-block: 48px 56px; font-size: 15.5px; color: var(--muted); }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px 48px; }
.foot .brand { font-size: 22px; margin-bottom: 14px; }
.foot h2 { font: 600 13px/1.3 var(--body); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.foot li + li { margin-top: 8px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--accent); text-decoration: underline; }
.disclaimer { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 14.5px; }
.disclaimer p { max-width: 60em; }
@media (max-width: 760px) { .foot .cols { grid-template-columns: 1fr 1fr; } .foot .cols > :first-child { grid-column: 1 / -1; } }
