:root {
  --bg: #fafaf9;
  --text: #1c1c1e;
  --muted: #6b6b70;
  --line: #d4d4d8;
  --accent: #1c1c1e;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* bilingual: only the active language is shown; without JS both stay visible */
html[data-lang="nl"] [lang="en"], html[data-lang="en"] [lang="nl"] { display: none !important; }

.container { max-width: 640px; margin: 0 auto; padding: 32px 20px 48px; }
.narrow { padding-top: 20vh; }
.narrow h1 { font-size: 1.75rem; margin-bottom: 8px; }
.narrow p { color: var(--muted); }
.narrow a { display: inline-block; margin-top: 20px; color: var(--text); }

.top { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .9375rem; }
.langs { display: flex; gap: 2px; }
.langs button { font: inherit; color: var(--muted); background: none; border: 0; padding: 4px 6px; cursor: pointer; text-underline-offset: 4px; }
.langs button[aria-pressed="true"] { color: var(--text); text-decoration: underline; }

.hero { margin: 14vh 0 40px; }
.hero h1 { font-size: clamp(2rem, 7vw, 3.25rem); font-weight: 650; letter-spacing: -.02em; line-height: 1.1; overflow-wrap: anywhere; }
.hero p { margin-top: 12px; color: var(--muted); font-size: 1.125rem; }

.form { display: grid; gap: 16px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: .9375rem; font-weight: 500; }
label small { color: var(--muted); font-weight: 400; font-size: inherit; }
input, textarea {
  display: block; width: 100%; margin-top: 6px;
  font: inherit; color: var(--text); background: #fff;
  border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px;
}
input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
textarea { resize: vertical; }
button[type="submit"] {
  justify-self: start; margin-top: 4px;
  font: inherit; font-weight: 600; color: #fff; background: var(--accent);
  border: 0; border-radius: 6px; padding: 11px 20px; cursor: pointer;
}
button[type="submit"]:hover { background: #3a3a3d; }
button[disabled] { opacity: .6; cursor: wait; }
.status:empty { display: none; }
.status.err { color: #b42318; }
.hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.footer { margin-top: 64px; color: var(--muted); font-size: .875rem; }

@media (max-width: 520px) { .grid { grid-template-columns: 1fr; } }
