/* ---------- Design tokens ---------- */
:root {
  --green-900: #12261c;
  --green-800: #17402e;
  --green-700: #1e5c40;
  --green-600: #2a7a56;
  --green-500: #3f9e70;
  --green-100: #dcebe0;
  --green-50: #eef4ef;
  --paper: #fdfdfb;
  --ink: #1f2a24;
  --ink-soft: #55645b;
  --line: #dde5de;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(18, 38, 28, .08);
  --shadow-md: 0 4px 16px rgba(18, 38, 28, .12);
  --shadow-lg: 0 12px 40px rgba(18, 38, 28, .18);
  --shadow: var(--shadow-md);
  --transition: .22s ease;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: 'Crimson Pro', Georgia, "Times New Roman", Cambria, serif;
  --amber-600: #c9862f;
  /* aliassen voor inline SVG's in de HTML */
  --primary: var(--green-700);
  --accent: var(--green-500);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--green-700); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
.container-narrow { max-width: 740px; }
.center { text-align: center; }

h1, h2 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h3, h4 { line-height: 1.3; margin: 0 0 .45em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--green-900); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); color: var(--green-900); }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }

.eyebrow {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--green-600);
  margin-bottom: 1.1em;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px; height: 2px;
  background: var(--green-500);
  vertical-align: middle;
  margin-right: .7em;
}
.hero-brand {
  font-family: var(--serif); font-weight: 700; font-size: 1.6rem;
  color: var(--green-800); margin: 0 0 .2em;
}
.eyebrow.center::before { display: none; }
.eyebrow.center::after {
  content: "";
  display: block;
  width: 26px; height: 2px;
  background: var(--green-500);
  margin: .8em auto 0;
}

.lead { font-size: 1.13rem; color: var(--ink-soft); }
.section-intro { max-width: 640px; margin: 0 auto 2.6rem; color: var(--ink-soft); }
.section-intro + .section-intro { margin-top: -1.8rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .75em 1.5em;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform var(--transition), box-shadow var(--transition);
}
.btn-primary { background: var(--green-700); color: #fff; }
.btn-primary:hover { background: var(--green-800); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--green-600); color: #fff; }
.btn-accent:hover { background: var(--green-700); }
.btn-ghost { border-color: var(--line); color: var(--green-800); background: transparent; }
.btn-ghost:hover { border-color: var(--green-600); color: var(--green-700); }
.btn-light { background: #fff; color: var(--green-800); }
.btn-light:hover { background: var(--green-50); }
.btn-sm { padding: .5em 1.1em; font-size: .92rem; }

/* ---------- Top banner ---------- */
.top-banner {
  position: relative;
  background: var(--green-900); color: #fff;
  text-align: center; padding: .9rem 22px;
}
/* Same in every language: not translated */
.top-banner-trust {
  position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: .7em;
  font-size: .8rem; line-height: 1; color: rgba(255, 255, 255, .85); text-decoration: none;
}
.top-banner-trust:hover span { text-decoration: underline; }
.top-banner-trust img { height: 22px; width: auto; flex: none; display: block; }
.top-banner-eyebrow {
  font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
  color: var(--green-500); margin: 0 0 .3em;
}
.top-banner-title {
  font-family: var(--serif); font-weight: 700; font-size: 1.3rem; margin: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 253, 251, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 78px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-logo { height: 68px; width: auto; flex: none; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.18rem; letter-spacing: -.01em; }
.brand-name em { font-style: normal; color: var(--green-700); }

.main-nav { display: flex; gap: 1.5rem; margin-left: auto; }
.main-nav a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: .94rem; }
.main-nav a:hover { color: var(--green-700); }

.header-actions { display: flex; align-items: center; gap: .8rem; }

/* Language switcher */
.lang-switcher { position: relative; }
.lang-button {
  display: flex; align-items: center; gap: .4rem;
  border: 1px solid rgba(30,92,64,0.2); background: var(--green-50); color: var(--green-700);
  border-radius: var(--radius); padding: .4em .8em; font: inherit; font-size: .86rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
}
.lang-button:hover { background: var(--green-100); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 190px; margin: 0; padding: .35rem; list-style: none;
  background: #fff; border: 1px solid rgba(18,38,28,0.1); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  max-height: 360px; overflow-y: auto;
  display: none; z-index: 200;
}
.lang-menu.open { display: block; }
.lang-menu li {
  display: flex; align-items: center; gap: .6rem;
  border-radius: 6px; padding: .5em .8em; cursor: pointer; font-size: .875rem;
  transition: var(--transition);
}
.lang-menu li:hover { background: var(--green-50); color: var(--green-700); }
.lang-menu li.active { background: var(--green-50); color: var(--green-700); font-weight: 600; }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  background: var(--green-50);
  border-bottom: 1px solid var(--line);
  padding: 4.5rem 0 4rem;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; }
.hero-copy .lead { max-width: 32em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.8rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; list-style: none; padding: 0; margin: 0; }
.hero-badges li { font-size: .88rem; color: var(--ink-soft); }
.hero-badges li::before { content: "✓"; color: var(--green-600); font-weight: 700; margin-right: .45em; }

/* Hero journal card */
.hero-visual { display: flex; flex-direction: column; align-items: center; }
.hero-visual-label {
  font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  color: var(--green-600); margin: .9em 0 0;
}
.hero-shot {
  display: block; width: 100%; height: auto; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.mock-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 1.5rem; width: min(340px, 100%);
}
.mock-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.mock-title { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; color: var(--green-900); }
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green-500); }
.mock-chart { width: 100%; height: auto; margin-bottom: .5rem; }
.mock-legend { display: flex; gap: 1rem; margin-bottom: .9rem; }
.legend-item { display: flex; align-items: center; gap: .35em; font-size: .75rem; color: var(--ink-soft); }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.legend-dot--life { background: var(--accent); }
.legend-dot--symptom { background: var(--amber-600); }
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: .55rem; }
.chip { font-size: .78rem; font-weight: 600; border-radius: 6px; padding: .25em .7em; white-space: nowrap; }
.chip-amber { background: #f3ead8; color: #6b5423; }
.chip-teal { background: var(--green-100); color: var(--green-800); }
.chip-blue { background: #e3ecdf; color: #3c5a34; }
.mock-bar { flex: 1; height: 7px; background: var(--green-50); border-radius: 999px; overflow: hidden; }
.mock-bar i { display: block; height: 100%; background: var(--green-500); border-radius: 999px; }
.mock-check { color: var(--green-600); font-weight: 800; }
.mock-note { font-family: var(--serif); font-style: italic; font-size: .9rem; color: var(--ink-soft); margin: .7rem 0 0; }

/* ---------- Stats ---------- */
.stats { border-bottom: 1px solid var(--line); background: var(--paper); }
.stats-inner { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 1.5rem; padding: 1.7rem 0; }
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--serif); font-size: 2rem; color: var(--green-700); }
.stat span { font-size: .9rem; color: var(--ink-soft); }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--green-50); border-block: 1px solid var(--line); }

.grid { display: grid; gap: 1.3rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.6rem; box-shadow: var(--shadow-sm); transition: var(--transition);
}
.card:hover { border-color: var(--green-500); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.card-slim { padding: 1.3rem; }
.card-icon {
  width: 44px; height: 44px; border-radius: 9px;
  background: var(--green-100); color: var(--green-800);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.card-icon svg { width: 23px; height: 23px; }

/* Steps */
.steps { margin-top: 2.6rem; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.1rem 1.6rem 1.6rem; }
.step p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.step-num {
  position: absolute; top: -19px; left: 1.4rem;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--green-600);
  color: var(--green-700); font-family: var(--serif); font-size: 1.15rem; font-weight: 700;
  display: grid; place-items: center;
}

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0 0 1.8rem; }
.checklist li { padding-left: 1.7em; position: relative; margin-bottom: .65em; color: var(--ink-soft); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--green-600); font-weight: 800;
}
.checklist-center { max-width: 560px; margin: 0 auto 2rem; }

/* Challenge */
.challenge { background: var(--green-50); border-block: 1px solid var(--line); }
.challenge-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.day-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: .45rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 1.4rem; width: min(320px, 100%); margin: 0 auto;
}
.day-grid span {
  aspect-ratio: 1; display: grid; place-items: center;
  border-radius: 8px; background: var(--green-50); color: var(--ink-soft);
  font-size: .85rem; font-weight: 600;
}
.day-grid .done { background: var(--green-100); color: var(--green-800); }
.day-grid .today { background: var(--green-600); color: #fff; }

/* Community */
.doctors-card {
  max-width: 640px; margin: 1.5rem auto 0; text-align: center;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--green-600);
  border-radius: var(--radius-lg); padding: 1.6rem;
}
.doctors-card p { color: var(--ink-soft); margin: 0; }

/* About */
.about-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.about-inner > div > p { color: var(--ink-soft); }
.quote {
  margin: 0; background: var(--green-800); color: #fff;
  border-radius: var(--radius-lg); padding: 2.2rem;
}
.quote p { font-family: var(--serif); font-size: 1.22rem; font-style: italic; line-height: 1.5; }
.quote cite { font-style: normal; opacity: .75; font-size: .9rem; }

/* FAQ */
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 0; margin-bottom: .7rem; background: #fff; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; font-weight: 600; padding: 1rem 1.2rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--serif); font-size: 1.3rem; color: var(--green-600); flex: none; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 1.2rem 1rem; margin: 0; color: var(--ink-soft); }

/* CTA band */
.cta-band { background: var(--green-800); color: #fff; padding: 4rem 0; }
.cta-band h2 { color: #fff; }
.cta-band p { opacity: .88; max-width: 520px; margin: 0 auto 1.6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #bccdc2; padding: 3.5rem 0 2rem; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name em { color: var(--green-500); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer-tagline { margin-top: 1rem; font-size: .92rem; color: #8ba394; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: .8rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5em; }
.footer-links a { color: #bccdc2; text-decoration: none; font-size: .92rem; cursor: pointer; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #1e3a2b;
  font-size: .82rem; color: #8ba394;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom a { color: #8ba394; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .top-banner-trust { position: static; transform: none; margin-top: .6em; }
  .hero-inner, .challenge-inner, .about-inner { grid-template-columns: 1fr; }
  .stats { display: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav {
    display: none;
    position: absolute; top: 78px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 1rem 22px; gap: 1rem;
  }
  .main-nav.open { display: flex; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 4px;
    width: 40px; height: 40px; padding: 8px;
    background: none; border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
  .header-actions .btn { display: none; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0; }
  .section { padding: 3rem 0; }
  .stats-inner { justify-content: space-between; }
}
