/* Lettertypes: zelf gehost (SIL Open Font License, zie /fonts) */
@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --green: #263b2f;
  --green-dark: #1c2c23;
  --cream: #f3f1ec;
  --cream-dark: #e6e8e1;
  --terracotta: #a3502f;
  --terracotta-dark: #87401f;
  --peach: #eaa47a;
  --ink: #1f2a24;
  --white: #fff;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Atkinson Hyperlegible", Arial, Helvetica, sans-serif;
  --radius: 18px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 125%; /* 20px basis */
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }

a { color: var(--terracotta-dark); text-underline-offset: 0.15em; }
a:hover { color: var(--green); }

:focus-visible {
  outline: 4px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--green);
  line-height: 1.12;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.6rem, 8vw, 4.4rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.3em; }
p { margin: 0 0 1em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }

/* Header */
.site-header { padding: 18px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { width: 56px; height: 56px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--green); }
.logo-place { font-weight: 700; font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--terracotta); }

/* Knoppen */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 14px 32px;
  border-radius: 999px;
  background: var(--terracotta);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.15s;
}
.button:hover { background: var(--terracotta-dark); color: var(--white); }
.button-small { min-height: 52px; padding: 10px 22px; font-size: 1rem; }
.button-light { background: var(--peach); color: var(--green-dark); }
.button-light:hover { background: var(--cream); color: var(--green-dark); }

.link-arrow { font-weight: 700; font-size: 1.1rem; color: var(--green); }
.link-arrow::after { content: " ↓"; }

/* Hero */
.hero { padding: 48px 0 72px; }
.eyebrow {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.8em;
}
.eyebrow-light { color: var(--peach); }
.hero h1 { max-width: 14ch; }
.lead { font-size: 1.3rem; max-width: 34ch; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 32px; }

/* Secties */
.section { padding: 72px 0; }
.section-alt { background: var(--cream-dark); }
.two-col { display: grid; gap: 48px; }

.features { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 28px; }
.features li { position: relative; padding-left: 36px; }
.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--terracotta);
}
.features p { margin: 0; }

/* Aanmelden */
.signup { background: var(--green); color: var(--cream); padding: 72px 0; }
.signup-inner { display: grid; gap: 48px; align-items: start; }
.price { font-family: var(--serif); font-weight: 700; font-size: clamp(3.2rem, 10vw, 4.8rem); line-height: 1; margin: 0 0 0.3em; color: var(--white); }
.signup-text { font-size: 1.2rem; max-width: 30ch; }
.signup .small { color: var(--cream); opacity: 0.9; margin-top: 16px; }
.contact-card { background: var(--green-dark); border-radius: var(--radius); padding: 32px; }
.contact-card h2 { color: var(--white); }
.contact-line { font-weight: 700; font-size: 1.15rem; margin-bottom: 0.4em; }
.contact-line a { white-space: nowrap; }
.signup a:not(.button) { color: var(--peach); }
.signup a:not(.button):hover { color: var(--white); }

.small { font-size: 0.9rem; }

/* Vragen */
details { border-bottom: 2px solid var(--cream-dark); }
details:first-of-type { border-top: 2px solid var(--cream-dark); }
summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 48px 22px 0;
  position: relative;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--green);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  line-height: 1;
  color: var(--terracotta);
}
details[open] summary::after { content: "−"; }
details p { padding-bottom: 8px; }

/* Footer */
.site-footer { background: var(--green-dark); color: var(--cream); padding: 48px 0; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--peach); }
.footer-inner { display: grid; gap: 24px; }
.footer-inner p { margin: 0 0 0.3em; }
.footer-slogan { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--white); }
.footer-note { opacity: 0.9; }

@media (min-width: 760px) {
  html { font-size: 131.25%; } /* 21px */
  .hero { padding: 64px 0 96px; }
  .features { grid-template-columns: 1fr 1fr; gap: 36px 56px; }
  .two-col { grid-template-columns: 1fr 1fr; gap: 72px; }
  .signup-inner { grid-template-columns: 1.1fr 1fr; gap: 72px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-note { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
  .logo img { width: 48px; height: 48px; }
  .logo-name { font-size: 1.15rem; }
  .button-small { padding: 10px 16px; }
  .actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.community-title { color: var(--white); margin-top: 28px; }
.gift { max-width: 34ch; margin: 0 0 28px; }
.gift strong { color: var(--peach); }
