/* ==========================================================================
   Train the Ace, gedeelde stylesheet (zelfde basis als pokeracetrainer.be)
   Mobile-first. Design tokens in :root.
   ========================================================================== */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #f5efdf;
  --bg-alt: #ece3cb;
  --surface: #fffaf0;
  --text: #1a1408;
  --muted: #5a4a2a;
  --accent: #10261d;
  --accent-text: #f5efdf;
  --gold: #b8871f;
  --gold-soft: #e0b445;
  --line: #d9cba6;
  --radius: 14px;
  --max: 1080px;
  --font: 'Montserrat', 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 32px; } }

/* --- Header --------------------------------------------------------------- */
.site-header { border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.2px; }
.brand img { width: 44px; height: 44px; }
.brand__name b { color: var(--gold-soft); font-weight: 800; }
.site-nav { display: flex; align-items: center; gap: 20px; font-weight: 600; font-size: 0.95rem; }
.site-nav a { text-decoration: none; }
.site-nav .nav-hide-sm { display: none; }
@media (min-width: 720px) { .site-nav .nav-hide-sm { display: inline; } }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; font-size: 0.85rem; }

/* --- Hero ----------------------------------------------------------------- */
.hero { padding: 56px 0 64px; }
.hero__inner { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .hero__inner { grid-template-columns: 1.3fr 1fr; } }
.eyebrow { margin: 0 0 12px; font-size: 0.85rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.5px; margin: 0 0 16px; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: 0; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 38em; margin: 0 0 28px; }
.hero__mark { max-width: 360px; width: 80%; margin: 0 auto; filter: drop-shadow(0 18px 24px rgba(0,0,0,.28)); }

.btn {
  display: inline-block; padding: 13px 24px; border-radius: 999px;
  background: var(--accent); color: var(--accent-text); font-weight: 700;
  text-decoration: none; border: 2px solid var(--accent);
}
.btn:hover { color: var(--accent-text); filter: brightness(1.15); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { color: var(--text); border-color: var(--gold); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* --- Sections ------------------------------------------------------------- */
.section { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }
.section__intro { max-width: 40em; color: var(--muted); margin: 0 0 32px; }
.grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--2 { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { margin: 0; color: var(--muted); }
.card__icon { font-size: 1.6rem; font-weight: 800; line-height: 1; margin-bottom: 14px; color: var(--gold); }

.feature { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .feature { grid-template-columns: 1fr 1fr; } }
.panel { background: var(--accent); color: var(--accent-text); border-radius: var(--radius); padding: 32px; }
.panel .muted { color: #bfb597; }
.wordmark { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 500; letter-spacing: -1px; margin: 0 0 6px; line-height: 1.1; }
.wordmark b { font-weight: 800; color: var(--gold-soft); }
.formula { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: 0.95rem; background: rgba(255,255,255,.06); border: 1px solid rgba(224,180,69,.35); border-radius: 10px; padding: 14px 16px; margin: 20px 0 0; overflow-x: auto; }

.checklist { list-style: none; padding: 0; margin: 0 0 24px; }
.checklist li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.checklist li::before { content: "\2660"; position: absolute; left: 0; color: var(--gold); }

.badge { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--gold-soft); color: var(--gold); margin-bottom: 16px; }
.note { font-size: 0.9rem; color: var(--muted); }

/* --- Footer --------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 36px; font-size: 0.9rem; color: var(--muted); }
.site-footer p { margin: 0; }
