/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Huisstijl "Clubhuis" (docs/style/README.md, tokens.json). Every colour is a
     variable: these are the dark values (the default), the block below holds
     "warm licht" (tokens.json → themes.light). <html data-theme> is set by the
     inline script in <head> and by theme.js (Systeem / Licht / Donker). */
  color-scheme: dark;
  --bg-dark:    #000000;                 /* page background */
  --bg-medium:  #000000;                 /* phone frames around the screenshots */
  --bg-card:    #180E04;                 /* accent 10% op zwart */
  --surface:    rgba(242,140,38,0.10);
  --line:       rgba(242,140,38,0.35);
  --line-strong: rgba(242,140,38,0.65);
  --hover:      rgba(242,140,38,0.18);
  --pressed:    rgba(242,140,38,0.25);
  --gold:       #F28C26;                 /* accent: text, links, icons */
  --gold-dim:   #BF6E1E;
  --orange:     #F28C26;
  --brand:      #F28C26;                 /* bright brand orange: decoration only */
  --btn:        #F28C26;                 /* filled button */
  --btn-hover:  #F5A04D;
  --on-btn:     #000000;                 /* text on a filled button */
  --blue:       #59738C;                 /* steelBlue */
  --blue-light: #8094AD;
  --text-1:     #F2EDE6;
  --text-2:     #B3ADA6;
  --text-3:     #8C8680;
  --border:     rgba(255,255,255,0.09);  /* divider */
  --nav-bg:     rgba(0,0,0,0.85);
  --note-bg:    rgba(242,140,38,0.06);
  --tint:       rgba(242,140,38,0.12);
  --tag-line:   rgba(242,140,38,0.5);
  --phone-shadow: 0 32px 64px rgba(0,0,0,.6);
  --beta-shadow: 0 2px 8px rgba(0,0,0,.4);
  --focus:      #F28C26;
  --radius:     16px;
  --radius-sm:  10px;
}

/* Warm licht (docs/style/README.md, 10 oktober 2026). Text on light uses the
   deep orange #A94F08 (5.0:1 on the background); the bright #F28C26 only
   decorates. Filled buttons are deep orange with white text (5.5:1). */
:root[data-theme="light"] {
  color-scheme: light;
  --bg-dark:    #F7F3ED;
  --bg-card:    #FFFFFF;
  --surface:    #FFFFFF;
  --line:       #DEC9B4;
  --line-strong: #C9965F;
  --hover:      #FFF6EB;
  --pressed:    #FBE8D3;
  --gold:       #A94F08;
  --gold-dim:   #F28C26;
  --orange:     #A94F08;
  --btn:        #A94F08;
  --btn-hover:  #8F4206;
  --on-btn:     #FFFFFF;
  --blue:       #405A73;
  --blue-light: #405A73;
  --text-1:     #26211C;
  --text-2:     #71665B;
  --text-3:     #776C61;                 /* 4.6:1 on the background */
  --border:     #E4DBD1;
  --nav-bg:     rgba(247,243,237,0.88);
  --note-bg:    #FFF6EB;
  --tint:       #FFF1E2;
  --tag-line:   #DEC9B4;
  --phone-shadow: 0 20px 44px rgba(38,33,28,.18);
  --beta-shadow: 0 2px 8px rgba(38,33,28,.25);
  --focus:      #A94F08;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-dark);
  color: var(--text-1);
  font-family: ui-rounded, -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ──────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-1);
}

.nav-logo:hover { text-decoration: none; }

.nav-logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--btn);
  color: var(--on-btn);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 12px;
  transition: background .15s;
}

.nav-cta:hover { background: var(--btn-hover); text-decoration: none; }
.nav-cta svg { flex-shrink: 0; }

/* Language switch "NL | EN" next to the nav button(s) */
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-right .nav-cta { white-space: nowrap; }
.lang-switch { font-size: 13px; font-weight: 700; color: var(--text-3); white-space: nowrap; }
.lang-switch a { color: var(--text-2); }
.lang-switch [aria-current] { color: var(--text-1); }
@media (max-width: 420px) {
  .nav-inner { padding: 0 14px; gap: 10px; }
  .nav-right { gap: 10px; }
  .nav-logo { font-size: 15px; gap: 7px; }
  .nav-logo-icon { width: 28px; height: 28px; }
  .nav-right .nav-cta { padding: 8px 12px; }
}
@media (max-width: 359px) {
  .nav-inner { padding: 0 10px; gap: 6px; }
  .nav-logo { font-size: 14px; gap: 6px; }
  .nav-logo-icon { width: 26px; height: 26px; }
  .nav-right { gap: 8px; }
  .nav-right .nav-cta { padding: 7px 9px; font-size: 12px; }
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  text-align: center;
}

/* ── Merkheader: logo naast de naam, direct op zwart ────────── */
.hero-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}

.hero-brand img {
  width: clamp(58px, 12vw, 88px);
  height: auto;
  display: block;
  flex-shrink: 0;
}

.hero-tagline {
  font-size: clamp(18px, 3.2vw, 22px) !important;
  color: var(--text-2);
  max-width: 460px !important;
  margin: 0 auto 28px !important;
}

/* "Scheidsen · Coachen · Delen", the line from the stickers */
.hero-pillars {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: -12px auto 32px;
  padding: 0;
}
.hero-pillars li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 clamp(16px, 5vw, 32px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-1);
}
.hero-pillars li + li { border-left: 1px solid var(--line); }
.hero-pillars svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--gold);
}

.hero-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(34px, 7vw, 56px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.brand-accent { color: var(--orange); }

.hero p {
  font-size: 18px;
  color: var(--text-2);
  max-width: 520px;
  margin: 0 auto 36px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--btn);
  color: var(--on-btn);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 12px;
  transition: background .15s;
}

.btn-primary:hover { background: var(--btn-hover); text-decoration: none; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  color: var(--text-1);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 12px;
  border: 1px solid var(--line);
  transition: background .15s, border-color .15s;
}

.btn-secondary:hover { background: var(--hover); border-color: var(--line-strong); text-decoration: none; }
.btn-secondary:active { background: var(--pressed); }

/* ── Mockup strip ─────────────────────────────────────────── */
.mockup-strip {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 48px 24px;
  overflow: hidden;
}

.mockup-phone {
  width: 220px;
  border-radius: 36px;
  border: 1px solid var(--border);
  background: var(--bg-medium);
  aspect-ratio: 9/19.5;
  overflow: hidden;
  box-shadow: var(--phone-shadow);
  flex-shrink: 0;
}

.mockup-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mockup-phone.center {
  transform: scale(1.05);
  border-color: var(--line);
}

/* ── Modes ────────────────────────────────────────────────── */
.section {
  max-width: 960px;
  margin: 0 auto;
  padding: 64px 24px;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section h2 {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 600;
  margin-bottom: 12px;
}

.section .lead {
  font-size: 16px;
  color: var(--text-2);
  max-width: 560px;
  margin-bottom: 40px;
}

.mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

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

.mode-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.mode-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.mode-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.mode-card p {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 20px;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  font-size: 13px;
  color: var(--text-2);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.feature-list li:last-child { border-bottom: none; }

.feature-list li::before {
  content: "✓";
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Feature strip ────────────────────────────────────────── */
.feature-strip {
  background: var(--bg-dark);
}

.feature-strip-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 24px 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.feat {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 16px;
}

.feat-icon {
  font-size: 30px;
  margin-bottom: 8px;
}

.feat h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.feat p {
  font-size: 14px;
  color: var(--text-2);
}

/* ── CTA section ──────────────────────────────────────────── */
.cta-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 600;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 16px;
  color: var(--text-2);
  margin-bottom: 36px;
}

.appstore-badge {
  display: inline-block;
  transition: transform .15s;
}

.appstore-badge:hover { transform: scale(1.03); }

.appstore-badge img { height: 52px; }

/* Placeholder badge when App Store link isn't live yet */
.appstore-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--text-1);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 26px;
  border-radius: var(--radius);
}

.appstore-placeholder:hover { background: var(--hover); text-decoration: none; }

/* ── Divider ──────────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
}

/* ── Footer ───────────────────────────────────────────────── */
footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-3);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  max-width: 100%;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-3);
}

.footer-links a:hover { color: var(--gold); }

/* ── Privacy page ─────────────────────────────────────────── */
.prose {
  max-width: 720px;
  margin: 60px auto;
  padding: 0 24px 80px;
}

.prose h1 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 8px;
}

.prose .meta {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 40px;
}

.prose h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 36px 0 12px;
  color: var(--gold);
}

.prose p, .prose li {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 12px;
  line-height: 1.7;
}

.prose ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.prose a { color: var(--gold); }

/* ── Handleiding ─────────────────────────────────────────── */
.manual { max-width: 980px; margin: 0 auto; padding: 48px 16px 80px; }
.manual-head h1 { font-size: 34px; font-weight: 600; margin-bottom: 8px; }
.manual-head h1 span { color: var(--gold); }
.manual-head p { color: var(--text-2); max-width: 680px; }
.platform-switch { display: flex; gap: 10px; margin: 24px 0 8px; flex-wrap: wrap; }
.platform-switch a {
  padding: 10px 18px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text-1); font-weight: 600; font-size: 14px;
}
.platform-switch a.active { background: var(--btn); color: var(--on-btn); border-color: var(--btn); }
.platform-switch a:hover { text-decoration: none; background: var(--hover); }
.platform-switch a.active:hover { background: var(--btn); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 8px; }
.toc a {
  font-size: 13px; padding: 6px 12px; border-radius: 10px;
  background: var(--bg-card); border: 1px solid var(--line); color: var(--text-1);
}
.toc a:hover { background: var(--hover); text-decoration: none; }
.tile {
  display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 32px;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; margin-top: 16px; scroll-margin-top: 80px;
}
.tile h2 { font-size: 20px; font-weight: 600; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
.tile h2 .icon { font-size: 22px; }
.tile .where { font-size: 13px; color: var(--text-3); margin-bottom: 14px; }
.tile h3 { font-size: 15px; font-weight: 600; color: var(--gold); margin: 18px 0 6px; }
.tile p, .tile li { font-size: 15px; color: var(--text-2); line-height: 1.65; }
.tile p { margin-bottom: 10px; }
.tile ul, .tile ol { padding-left: 20px; margin-bottom: 10px; }
.tile li { margin-bottom: 6px; }
.tile strong { color: var(--text-1); }
.tile .ui { color: var(--text-1); font-weight: 600; white-space: nowrap; }
.tile .note {
  border-left: 3px solid var(--gold-dim); padding: 8px 12px; margin: 12px 0;
  background: var(--note-bg); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px; color: var(--text-2);
}
.shots { display: flex; flex-direction: column; gap: 14px; }
.shots figure { margin: 0; }
.shots img {
  width: 100%; height: auto; display: block; border-radius: 18px;
  border: 1px solid var(--border); background: var(--bg-medium);
}
.shots figcaption { font-size: 12px; color: var(--text-3); text-align: center; margin-top: 6px; }
.chooser { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.chooser a {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; color: var(--text-1);
}
.chooser a:hover { background: var(--hover); border-color: var(--line-strong); text-decoration: none; }
.chooser h2 { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.chooser p { color: var(--text-2); font-size: 15px; }
@media (max-width: 760px) {
  .tile { grid-template-columns: 1fr; padding: 16px; gap: 18px; }
  .shots { flex-direction: row; overflow-x: auto; gap: 12px; }
  .shots figure { flex: 0 0 62%; }
  .chooser { grid-template-columns: 1fr; }
  .manual-head h1 { font-size: 28px; }
}

/* ── Homepage: handleiding & badges ──────────────────────── */
.home-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.home-links .btn-primary, .home-links .btn-secondary { font-size: 14px; padding: 10px 18px; }
.badge-row { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.badge-row img { width: 56px; height: 56px; object-fit: contain; }


/* ── "Bèta" on screenshots of a test version ────────────────── */
.mockup-phone, .shots figure { position: relative; }
.beta-tag {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 2;
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: #000; background: var(--brand); padding: 4px 9px; border-radius: 999px;
  box-shadow: var(--beta-shadow);
}
.shots .beta-tag { bottom: 34px; font-size: 10px; padding: 3px 7px; }
.beta-note { font-size: 13px; color: var(--text-3); text-align: center; margin: -28px auto 8px; max-width: 640px; padding: 0 24px; }

/* ── Vrijwillige donatie ────────────────────────────────────── */
.donate-card { max-width: 640px; margin: 0 auto; text-align: center; }
.donate-card .home-links { justify-content: center; }

/* ── Toetsenbordfocus en minder beweging ────────────────────── */
a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Icon font: the 21 Material Symbols (Outlined, filled) the pages use, served from
   this site (Apache 2.0, from Google Fonts) so that no page calls a third party.
   Add a name to the pages, then rebuild this subset (see fonts/README.md). */
@font-face {
  font-family: "Material Symbols Outlined";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(fonts/material-symbols.woff2) format("woff2");
}

/* ── Iconen: dezelfde Material-iconen als de app, in het accent ── */
.ms {
  font-family: "Material Symbols Outlined";
  font-weight: normal; font-style: normal; line-height: 1; letter-spacing: normal;
  text-transform: none; white-space: nowrap; direction: ltr; display: inline-block;
  font-feature-settings: "liga"; -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  color: var(--gold); vertical-align: middle;
}
.mode-icon .ms { font-size: 32px; }
.feat-icon .ms { font-size: 32px; }
.tile h2 .icon .ms { font-size: 24px; }
.btn-primary .ms { color: inherit; font-size: 20px; }
.footer-links .ms { font-size: 16px; vertical-align: -3px; }
.footer-links .ig-icon { width: 14px; height: 14px; vertical-align: -2px; fill: none; stroke: var(--gold); stroke-width: 2; }

/* ── Logo op licht: het zwarte logo als compact zwart vlak ──── */
:root[data-theme="light"] .nav-logo-icon { border-radius: 8px; }
:root[data-theme="light"] .hero-brand img { border-radius: 22%; }
.appstore-placeholder svg { color: var(--gold); }

/* ── Weergave: Systeem / Licht / Donker (theme.js) ──────────── */
.theme-choice { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); }
.theme-choice select {
  font: inherit; color: var(--text-1); background: var(--bg-card);
  border: 1px solid var(--text-3); border-radius: 8px; padding: 6px 8px; min-height: 36px; cursor: pointer;
}
.theme-choice select:hover { background: var(--hover); }
.theme-choice select:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.page-foot { text-align: center; margin: 8px auto 40px; padding: 0 20px; }
