/* ============================================================
   evergreen.css — gedeeld stylesheet voor alle evergreen-artikelen
   startmetpokemon.nl · v1.0
   ============================================================ */

/* ---------- RESET & TOKENS ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0A0E17;
  --bg-elevated: #0F1422;
  --surface: #131A2A;
  --surface-2: #1A2236;
  --text: #E8ECF3;
  --text-soft: #C5CCD8;
  --text-muted: #94A3B8;
  --text-faint: #64748B;
  --hairline: rgba(255,255,255,0.08);
  --hairline-soft: rgba(255,255,255,0.04);
  --accent: #FACC15;
  --accent-soft: rgba(250,204,21,0.4);
  --accent-dim: rgba(250,204,21,0.12);
  --warm: #EF4444;
  --measure: 640px;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Figtree', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,14,23,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.01em;
  text-decoration: none;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 24px 64px;
  max-width: 1100px;
  margin: 0 auto;
}
.hero-ghost {
  position: absolute;
  top: -20px;
  right: -10px;
  font-family: var(--serif);
  font-size: 13rem;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
}
.hero-eyebrow {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  max-width: 720px;
  margin-bottom: 20px;
}
.hero-deck {
  font-size: 1.15rem;
  color: var(--text-soft);
  max-width: var(--measure);
  line-height: 1.6;
}
.hero-meta {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  font-size: 0.8125rem;
  color: var(--text-faint);
}
.hero-meta time { color: var(--text-muted); }

/* ---------- ARTICLE BODY ---------- */
.article-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* ---------- PROSE ---------- */
.prose {
  max-width: var(--measure);
  color: var(--text-soft);
  font-size: 1.0625rem;
  line-height: 1.78;
}
.prose p { margin-bottom: 1.4em; }
.prose ul, .prose ol {
  margin-bottom: 1.4em;
  padding-left: 1.4em;
  color: var(--text-soft);
}
.prose li { margin-bottom: 0.5em; }
.prose strong { color: var(--text); font-weight: 600; }

/* ---------- LEDE (drop cap) ---------- */
.lede {
  font-size: 1.125rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1.4em;
}
.lede::first-letter {
  font-family: var(--serif);
  font-size: 4.2rem;
  line-height: 0.85;
  float: left;
  margin-right: 0.1em;
  margin-top: 0.06em;
  color: var(--accent);
}

/* ---------- ANSWER BLOCK (featured snippet / AI citatie) ---------- */
.answer-block {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--accent-soft);
  padding: 24px 28px;
  margin: 0 0 40px;
  max-width: var(--measure);
  border-radius: 2px;
}
.answer-block .answer-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.answer-block p {
  font-size: 1.0625rem;
  color: var(--text);
  line-height: 1.7;
  margin: 0;
}

/* ---------- ARTICLE H2 ---------- */
.article-h2 {
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: var(--measure);
  margin: 3.5rem 0 1.4rem;
}

/* ---------- ARTICLE H3 ---------- */
.article-h3 {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  max-width: var(--measure);
  margin: 2.5rem 0 1rem;
}

/* ---------- ASIDE META ---------- */
.aside-meta {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--accent-soft);
  padding: 20px 24px;
  margin: 36px 0;
  max-width: var(--measure);
  border-radius: 2px;
}
.aside-meta p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}
.aside-meta strong { color: var(--text-soft); font-weight: 600; }

/* ---------- DATA INSET ---------- */
.data-inset {
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: 28px 32px;
  margin: 28px 0;
  max-width: var(--measure);
  border-radius: 2px;
}
.data-inset .label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.data-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid var(--hairline-soft);
  font-size: 0.9375rem;
}
.data-row:last-child { border-bottom: none; }
.data-row .key { color: var(--text-muted); }
.data-row .val { color: var(--text); font-weight: 600; }
.data-row .val.accent { color: var(--accent); }

/* ---------- TABLE ---------- */
.article-table {
  width: 100%;
  max-width: var(--measure);
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 0.9375rem;
}
.article-table th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 10px 12px;
  border-bottom: 1px solid var(--hairline);
}
.article-table td {
  padding: 10px 12px;
  color: var(--text-soft);
  border-bottom: 1px solid var(--hairline-soft);
}
.article-table tr:last-child td { border-bottom: none; }
.article-table td strong { color: var(--text); }

/* ---------- DISCLAIMER ---------- */
.disclaimer {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-left: 3px solid rgba(239,68,68,0.4);
  padding: 20px 24px;
  margin: 40px 0;
  max-width: var(--measure);
  border-radius: 2px;
}
.disclaimer p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
}
.disclaimer strong { color: var(--text-soft); }

/* ---------- SOURCES ---------- */
.sources {
  max-width: var(--measure);
  padding-top: 28px;
  margin-top: 40px;
  border-top: 1px solid var(--hairline);
}
.sources .sources-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 12px;
}
.sources ul {
  list-style: none;
  padding: 0;
}
.sources ul li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 4px 0;
}
.sources ul li a {
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: var(--hairline);
}
.sources ul li a:hover { color: var(--accent); text-decoration-color: var(--accent-soft); }

/* ---------- SIGNUP INLINE ---------- */
.signup-inline {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--accent-soft);
  padding: 32px 36px;
  margin: 48px 0;
  max-width: 680px;
  border-radius: 2px;
}
.signup-inline .signup-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.signup-inline h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.25;
}
.signup-inline p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}
.signup-inline form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.signup-inline input[type="email"] {
  flex: 1;
  min-width: 200px;
  background: var(--bg);
  border: 1px solid var(--hairline);
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.9375rem;
  padding: 11px 16px;
  border-radius: 2px;
  outline: none;
  transition: border-color .2s;
}
.signup-inline input[type="email"]:focus { border-color: var(--accent-soft); }
.signup-inline input[type="email"]::placeholder { color: var(--text-faint); }
.signup-inline button {
  background: var(--accent);
  color: #0A0E17;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 11px 22px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .2s;
}
.signup-inline button:hover { opacity: 0.88; }
.signup-inline-success {
  display: none;
  color: var(--accent);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 8px 0;
}

/* ---------- FAQ ACCORDION ---------- */
.faq-section {
  max-width: var(--measure);
  margin: 56px 0 48px;
  padding-top: 40px;
  border-top: 1px solid var(--hairline);
}
.faq-section .faq-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
}
.faq-section h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}
.faq-item {
  border-bottom: 1px solid var(--hairline-soft);
}
.faq-item:first-of-type {
  border-top: 1px solid var(--hairline-soft);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 18px 36px 18px 0;
  cursor: pointer;
  position: relative;
  line-height: 1.5;
}
.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform .2s;
}
.faq-item.open .faq-question::after {
  content: '-';
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-answer-inner {
  padding: 0 0 18px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- TOC (inhoudsopgave, optioneel) ---------- */
.toc {
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: 24px 28px;
  margin: 0 0 40px;
  max-width: var(--measure);
  border-radius: 2px;
}
.toc .toc-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}
.toc ol {
  list-style: none;
  padding: 0;
  counter-reset: toc;
}
.toc li {
  counter-increment: toc;
  padding: 6px 0;
}
.toc li a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  transition: color .2s;
}
.toc li a:hover { color: var(--accent); text-decoration: none; }
.toc li a::before {
  content: counter(toc) ". ";
  color: var(--text-faint);
  font-weight: 600;
  font-size: 0.82rem;
}

/* ---------- FIGURES ---------- */
.article-figure {
  margin: 24px 0 32px;
  max-width: var(--measure);
}
.article-figure img {
  display: block;
  max-height: 300px;
  width: auto;
  border-radius: 6px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.55);
}
.article-figure figcaption {
  margin-top: 10px;
  font-size: 0.8125rem;
  color: var(--text-faint);
  line-height: 1.5;
}
.figure-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 28px 0 36px;
  max-width: var(--measure);
}
.figure-row figure { display: flex; flex-direction: column; }
.figure-row img {
  display: block;
  max-height: 260px;
  width: auto;
  border-radius: 6px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.55);
}
.figure-row figcaption {
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--text-faint);
  line-height: 1.5;
  max-width: 160px;
}

/* ---------- CLOSING CARDS ---------- */
.closing {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.closing-card {
  padding: 28px 32px;
  border-right: 1px solid var(--hairline);
  transition: background .35s ease;
  text-decoration: none;
}
.closing-card:last-child { border-right: none; text-align: right; }
.closing-card:hover { background: var(--surface); text-decoration: none; }
.closing-card .cc-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 6px;
}
.closing-card:last-child .cc-label { color: var(--accent); }
.closing-card .cc-title {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* ---------- FOOTER ---------- */
footer {
  border-top: 1px solid var(--hairline);
  padding: 32px 24px;
  text-align: center;
}
footer p {
  font-size: 0.8125rem;
  color: var(--text-faint);
}
footer a { color: var(--text-faint); text-decoration: none; }
footer a:hover { color: var(--text-muted); }

/* ---------- HUB PAGE: article cards ---------- */
.hub-grid {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--hairline-soft);
  border: 1px solid var(--hairline);
  border-radius: 2px;
  overflow: hidden;
  max-width: var(--measure);
}
.hub-card {
  display: block;
  background: var(--bg);
  padding: 24px 28px;
  text-decoration: none;
  transition: background .25s;
}
.hub-card:hover { background: var(--surface); text-decoration: none; }
.hub-card .hc-date {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 6px;
}
.hub-card .hc-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.hub-card .hc-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 640px) {
  .hero { padding: 56px 20px 48px; }
  .hero-ghost { font-size: 7rem; right: -4px; }
  .article-body { padding: 0 20px 60px; }
  .closing {
    grid-template-columns: 1fr;
    padding: 0 20px 60px;
  }
  .closing-card {
    border-right: none;
    border-bottom: 1px solid var(--hairline);
    text-align: left !important;
  }
  .closing-card:last-child { border-bottom: none; }
  .nav-links { gap: 16px; }
  .data-inset { padding: 20px; }
  .signup-inline { padding: 24px 20px; }
  .answer-block { padding: 20px 22px; }
  .toc { padding: 20px 22px; }
}
