/* De ledenpagina's van de timmybouwt-intake. Tokens uit ~/timmybouwt/context/design-tokens.json (donker-eerst).
   Groen alleen als tekst op donker of als knop met donkere tekst (a11y-notities van de tokens). */
@font-face { font-family: 'Schibsted Grotesk'; src: url('fonts/schibsted-grotesk-var.woff2') format('woff2'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('fonts/instrument-serif-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --bg: #060608; --bg-elevated: #0d0d11; --surface: #111116;
  --text: #f5f2ec; --text-2: #b6b1a8;
  --groen: #3fbf7a; --groen-hover: #4fd08a; --groen-on: #07140d; --groen-soft: rgba(63,191,122,0.12);
  --rand: rgba(245,242,236,0.10); --rand-sterk: rgba(245,242,236,0.22);
  --rood: #ff6b57;
  --display: "Instrument Serif", Georgia, serif;
  --body: "Schibsted Grotesk", system-ui, sans-serif;
  --r-md: 12px; --r-lg: 16px; --pill: 999px;
  --ease: cubic-bezier(.22,1,.36,1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.55; }
body { min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--groen); }
:focus-visible { outline: 3px solid var(--groen); outline-offset: 3px; border-radius: 4px; }

.kop { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 16px; max-width: 760px; width: 100%; margin: 0 auto; }
.merk { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.merk img { width: 28px; height: 28px; }
.merk small { font-weight: 500; color: var(--text-2); }

main { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 24px 16px 64px; }
h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 7vw, 3.2rem); line-height: 1.05; letter-spacing: -0.01em; margin: 8px 0 16px; }
h2 { font-size: 1.15rem; margin: 40px 0 12px; }
p { margin: 0 0 16px; max-width: 60ch; }
.zacht { color: var(--text-2); }

.kaart { background: var(--surface); border: 1px solid var(--rand); border-radius: var(--r-lg); padding: 24px; }
label { display: block; font-weight: 600; margin: 0 0 8px; }
input[type="email"], input[type="text"] {
  width: 100%; font: inherit; font-size: 17px; color: var(--text); background: var(--bg-elevated);
  border: 1px solid var(--rand-sterk); border-radius: var(--r-md); padding: 14px 16px; min-height: 52px;
}
input::placeholder { color: rgba(245,242,236,0.45); }
.knop {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px;
  font: inherit; font-weight: 700; border-radius: var(--pill); border: 0; cursor: pointer; text-decoration: none;
  background: var(--groen); color: var(--groen-on); transition: background .2s var(--ease), transform .2s var(--ease);
}
.knop:hover { background: var(--groen-hover); }
.knop:active { transform: translateY(1px); }
.knop[disabled] { opacity: .55; cursor: default; }
.knop.stil { background: transparent; color: var(--text); border: 1px solid var(--rand-sterk); }
.knop.stil:hover { border-color: var(--text-2); }
.rij { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 16px; }

.melding { margin-top: 16px; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--rand); background: var(--bg-elevated); }
.melding.goed { border-color: rgba(63,191,122,.45); background: var(--groen-soft); }
.melding.fout { border-color: rgba(255,107,87,.5); background: rgba(255,107,87,.08); }
.melding:empty { display: none; }

.intakes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.intakes li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: var(--surface); border: 1px solid var(--rand); border-radius: var(--r-lg); padding: 18px 20px; }
.intakes .naam { font-weight: 700; }
.intakes .meta { color: var(--text-2); font-size: 15px; }
.teller { display: inline-flex; gap: 6px; align-items: center; color: var(--text-2); font-size: 15px; }
.teller b { color: var(--text); }

.voet { max-width: 760px; width: 100%; margin: 0 auto; padding: 24px 16px 32px; color: var(--text-2); font-size: 14px; border-top: 1px solid var(--rand); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
