/*
 * The one stylesheet of the website (issue 507): the landing page, the app
 * link page and the two rendered legal pages. The colours are the app's
 * (apps/mobile/src/ui.tsx): the page, the card, the lettering, the hairline,
 * the kelp of a link and of the "In het kort" card, and the gold accent, in
 * the light and, when the browser prefers it, in the brand's dark.
 * ASSUMPTION: the website follows the browser's scheme, where the retired web
 * output was light only (ADR-0004); the build's choice for issue 507.
 * System fonts only: no font is fetched from anywhere (SA-103).
 */

:root {
  --page: #f2f6f0;
  --card: #ffffff;
  --ink: #0c1a0a;
  --muted: #545864;
  --line: #e5e7eb;
  --link: #3b6f36;
  --kelp-ground: #e1ebde;
  --kelp-ink: #1e3f1c;
  --accent: #f08020;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #0b140a;
    --card: #142013;
    --ink: #f2f6f0;
    --muted: #b2b6c0;
    --line: rgba(255, 255, 255, 0.08);
    --link: #c2d7bd;
    --kelp-ground: #1b3319;
    --kelp-ink: #c2d7bd;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0 auto;
  max-width: 40rem;
  padding: 1.5rem 1rem 3rem;
  background: var(--page);
  color: var(--ink);
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

a {
  color: var(--link);
}

header {
  margin-bottom: 2rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.wordmark img {
  border-radius: 8px;
}

h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  line-height: 1.2;
}

h2 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  line-height: 1.3;
}

p {
  margin: 0 0 0.75rem;
}

.lede,
.notice {
  color: var(--muted);
}

aside {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: var(--kelp-ground);
  color: var(--kelp-ink);
}

aside ul {
  margin: 0;
  padding-left: 1.25rem;
}

aside li + li {
  margin-top: 0.5rem;
}

section {
  margin: 1rem 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}

section p:last-child {
  margin-bottom: 0;
}

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 2px solid var(--accent);
  color: var(--muted);
  font-size: 0.875rem;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
