/* Pawtown — één stylesheet, geen externe fonts of scripts. */
:root {
  --bg: #fff8ef;
  --surface: #ffffff;
  --surface-2: #fdeedd;
  --ink: #2b2140;
  --ink-soft: #5b5170;
  --line: #ecdcc8;
  --brand: #e8742b;        /* ginger — decoratief, achtergronden */
  --brand-strong: #a8460f; /* tekst/knoppen, AA-contrast */
  --accent: #23796f;
  --accent-soft: #dff1ee;
  --todo-bg: #fff3b0;
  --todo-line: #b08900;
  --radius: 18px;
  --shadow: 0 1px 2px rgb(43 33 64 / 6%), 0 8px 24px rgb(43 33 64 / 6%);
  --font: ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1d1726;
    --surface: #271f33;
    --surface-2: #31273f;
    --ink: #f6eee6;
    --ink-soft: #c9bdd3;
    --line: #3d3250;
    --brand: #f08a45;
    --brand-strong: #ffa86b;
    --accent: #6fd1c4;
    --accent-soft: #1f3b3a;
    --todo-bg: #4a3d00;
    --todo-line: #e8c547;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 8px 24px rgb(0 0 0 / 25%);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-strong); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw + 0.5rem, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 2vw + 0.8rem, 2rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 750; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 68rem; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.3rem; }
.logo-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--brand); display: grid; place-items: center; flex: none; }
.logo-mark svg { width: 30px; height: 30px; fill: #fff8ef; }
.brand-small { font-size: 1.1rem; }
.brand-small .logo-mark { width: 32px; height: 32px; border-radius: 10px; }
.brand-small .logo-mark svg { width: 24px; height: 24px; }
.site-header nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; flex-wrap: wrap; }
.site-header nav a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 650; }
.site-header nav a:hover { background: var(--surface-2); }
.site-header nav a[aria-current="page"] { background: var(--ink); color: var(--bg); }
@media (max-width: 420px) {
  .site-header nav a { padding: 6px 10px; font-size: 0.98rem; }
}

/* Sections */
section { padding: 56px 0; }
section + section { padding-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.section-head h2 { margin: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; font-weight: 800; color: var(--accent); margin-bottom: 0.6em; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 38rem; }

/* Hero */
.hero { padding: 48px 0 56px; }
.hero-inner { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .hero-inner { grid-template-columns: 1.15fr 0.85fr; } .hero { padding: 72px 0; } }
.hero-art { background: var(--surface-2); border-radius: 28px; padding: 20px; }
.hero-art svg { width: 100%; height: auto; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--brand-strong); color: #fff; font-weight: 750; text-decoration: none; border: 2px solid var(--brand-strong); }
.btn:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); filter: none; }
.btn-small { min-height: 42px; padding: 0 16px; font-size: 0.95rem; }
@media (prefers-color-scheme: dark) { .btn:not(.btn-ghost) { color: #1d1726; } }

/* Cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.card, .game-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card { padding: 24px; }
.card h3, .h3-size { margin-bottom: 0.35em; font-size: 1.2rem; font-weight: 750; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 14px; }
.card .icon svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.game-card { overflow: hidden; display: flex; flex-direction: column; }
.game-art { aspect-ratio: 16 / 9; background: var(--surface-2); }
.game-art img { width: 100%; height: 100%; object-fit: cover; }
.game-art-placeholder { height: 100%; display: grid; place-items: center; align-content: center; gap: 6px; color: var(--ink-soft); font-size: 0.9rem; font-weight: 650;
  background-image: radial-gradient(circle at 20% 30%, rgb(232 116 43 / 14%) 0 18px, transparent 19px), radial-gradient(circle at 80% 70%, rgb(35 121 111 / 14%) 0 24px, transparent 25px); }
.art-paw { width: 56px; height: 56px; fill: var(--brand); opacity: 0.85; }
.game-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.game-body h2, .game-body h3 { margin: 0.4em 0 0.15em; }
.game-meta { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 0.6em; }
.game-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 8px; }
.badge { display: inline-block; align-self: flex-start; margin: 0; padding: 3px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.02em; }
.badge-dev { background: #fde3cf; color: #7a3208; }
.badge-planned { background: #e7e1f3; color: #3f2f66; }
.badge-beta { background: #dbeafe; color: #1e3a8a; }
.badge-live { background: #d5f2e3; color: #13583a; }
.chips { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: 0.85rem; padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); }

.callout { background: var(--accent-soft); border-radius: var(--radius); padding: 24px; }
.callout > :last-child { margin-bottom: 0; }
.mt { margin-top: 28px; }
.band { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 32px 24px; display: grid; gap: 16px; }
@media (min-width: 720px) { .band { grid-template-columns: 1fr auto; align-items: center; padding: 40px; } }
.band h2 { margin-bottom: 0.25em; }
.band p { margin: 0; color: var(--ink-soft); }

/* Facts (bedrijfsgegevens) */
.facts { margin: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.facts > div { display: grid; gap: 2px 16px; padding: 12px 18px; border-top: 1px solid var(--line); }
.facts > div:first-child { border-top: 0; }
@media (min-width: 560px) { .facts > div { grid-template-columns: 11rem 1fr; } }
.facts dt { font-weight: 750; color: var(--ink-soft); }
.facts dd { margin: 0; }

/* Placeholders voor ontbrekende gegevens */
.todo { background: var(--todo-bg); outline: 2px dashed var(--todo-line); outline-offset: 1px; border-radius: 4px; padding: 0 4px; font-weight: 650; font-size: 0.92em; }

/* Lange teksten (juridische pagina's) */
.page-head { padding-top: 48px; padding-bottom: 8px; }
.page-head .lead { margin-bottom: 0; }
.prose > * { max-width: 46rem; }
.prose h2 { margin-top: 2em; font-size: 1.45rem; scroll-margin-top: 16px; }
.prose h3 { margin-top: 1.5em; }
.prose ul { padding-left: 1.25em; }
.prose li { margin-bottom: 0.35em; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.25em; font-size: 0.97rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose thead th { background: var(--surface-2); }
.table-scroll { overflow-x: auto; }
.meta-line { color: var(--ink-soft); font-size: 0.95rem; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 24px 0; }
.toc h2 { font-size: 1rem; margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 1.25em; columns: 2 14rem; column-gap: 2rem; }
.status-pill { display: inline-block; font-size: 0.78rem; font-weight: 800; padding: 1px 8px; border-radius: 999px; vertical-align: middle; }
.status-now { background: #d5f2e3; color: #13583a; }
.status-future { background: #e7e1f3; color: #3f2f66; }

/* Footer */
.site-footer { margin-top: 72px; border-top: 1px solid var(--line); background: var(--surface); padding: 40px 0 24px; font-size: 0.97rem; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid p { color: var(--ink-soft); margin-top: 12px; }
.footer-title { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.fine { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 0.88rem; }

@media (prefers-reduced-motion: no-preference) {
  .btn, .site-header nav a { transition: background-color 0.15s, filter 0.15s; }
}
@media print {
  .site-header nav, .skip, .actions { display: none; }
  body { background: #fff; color: #000; }
}
