/* Fair Shout — shared styles for reading pages (articles + glossary).
   Wix-light aesthetic matching index.html. Kept minimal on purpose —
   article pages are for reading, not the leaderboard spectacle. */

:root {
  --ink:       #0E1415;
  --ink-soft:  #3F4A4F;
  --ink-quiet: #68737A;
  --line:      #E6E9ED;
  --surface:   #FFFFFF;
  --surface-alt: #F7F8FA;
  --accent:    #116DFF;
  --accent-ink:#0A4CB4;
  --radius:    16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(10,20,30,0.04), 0 4px 12px rgba(10,20,30,0.04);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Wix Madefor Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--surface-alt);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: "Wix Madefor Display", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: 2.25rem; font-weight: 700; margin: 0 0 0.6rem; }
h2 { font-size: 1.5rem; font-weight: 600; margin: 2.2rem 0 0.8rem; }
h3 { font-size: 1.2rem; font-weight: 600; margin: 1.6rem 0 0.6rem; }

p { margin: 0 0 1rem; color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 600; }

ul, ol { margin: 0 0 1.2rem; padding-left: 1.3rem; color: var(--ink-soft); }
li { margin-bottom: 0.35rem; }
li::marker { color: var(--ink-quiet); }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  background: var(--surface-alt);
  padding: 0.1em 0.4em;
  border-radius: 6px;
  color: var(--ink);
}

blockquote {
  margin: 1.5rem 0;
  padding: 0.6rem 1.2rem;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
}

/* ── layout ─────────────────────────────────────────────────── */

.wrap { max-width: 720px; margin: 0 auto; padding: 0 1.25rem; }

header.site {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; padding-bottom: 1rem;
}
.brand {
  font-family: "Wix Madefor Display", sans-serif;
  font-weight: 800; font-size: 1.15rem; color: var(--ink);
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--ink); text-decoration: none; }
.brand span.tld { color: var(--ink-quiet); font-weight: 500; font-size: 0.85em; }
nav.site-nav a { color: var(--ink-soft); font-weight: 500; margin-left: 1.2rem; }
nav.site-nav a:hover { color: var(--ink); text-decoration: none; }
nav.site-nav a.cta {
  background: var(--accent); color: #fff;
  padding: 0.45rem 0.9rem; border-radius: 999px;
  font-weight: 600;
}
nav.site-nav a.cta:hover { background: var(--accent-ink); color: #fff; }

main.article {
  padding: 2.5rem 0 3rem;
}
.crumbs {
  font-size: 0.85rem; color: var(--ink-quiet);
  margin-bottom: 1.2rem;
}
.crumbs a { color: var(--ink-quiet); }
.crumbs a:hover { color: var(--ink); text-decoration: none; }
.crumbs .sep { margin: 0 0.4rem; opacity: 0.5; }

.article-meta {
  color: var(--ink-quiet); font-size: 0.9rem;
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.article-body { max-width: 680px; }

.cta-card {
  margin: 2.5rem 0 0;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.cta-card h3 { margin-top: 0; }
.cta-card .btn {
  display: inline-block; margin-top: 0.6rem;
  background: var(--accent); color: #fff;
  padding: 0.7rem 1.2rem; border-radius: 999px;
  font-weight: 600;
}
.cta-card .btn:hover { background: var(--accent-ink); color: #fff; text-decoration: none; }

/* ── related reading ────────────────────────────────────────── */

.related {
  margin: 3rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.related h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-quiet);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 1rem;
}
.related ul { list-style: none; padding: 0; margin: 0; }
.related li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin-bottom: 0.6rem;
}
.related a { color: var(--ink); text-decoration: none; display: block; }
.related a:hover .related-title { color: var(--accent); }
.related-title { font-weight: 600; display: block; margin-bottom: 0.2rem; }
.related-desc { font-size: 0.9rem; color: var(--ink-soft); }

/* ── article-index list ─────────────────────────────────────── */

.article-list { list-style: none; padding: 0; margin: 2rem 0; }
.article-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}
.article-list a { color: var(--ink); text-decoration: none; display: block; }
.article-list a:hover h3 { color: var(--accent); }
.article-list h3 { margin: 0 0 0.4rem; font-size: 1.15rem; }
.article-list p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }

/* ── glossary ───────────────────────────────────────────────── */

dl.glossary {
  margin: 2rem 0;
  padding: 0;
}
dl.glossary dt {
  font-family: "Wix Madefor Display", sans-serif;
  font-weight: 600; color: var(--ink);
  margin-top: 1.8rem;
  font-size: 1.1rem;
}
dl.glossary dd {
  margin: 0.4rem 0 0; padding: 0;
  color: var(--ink-soft);
}

/* ── footer ─────────────────────────────────────────────────── */

footer.site {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 1.2rem 0;
  font-size: 0.85rem;
  color: var(--ink-quiet);
}
footer.site .wrap {
  display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem;
  align-items: center; justify-content: space-between;
}
footer.site a { color: var(--ink-quiet); }
footer.site a:hover { color: var(--ink); }
.footer-age {
  background: var(--ink); color: #fff;
  padding: 0.15rem 0.5rem; border-radius: 999px;
  font-weight: 700; font-size: 0.75rem;
}

.gamcare-strip {
  background: #0E1415; color: #E6E9ED;
  font-size: 0.85rem; text-align: center;
  padding: 0.7rem 1rem;
}
.gamcare-strip a { color: #fff; text-decoration: underline; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.3rem; }
  nav.site-nav a { margin-left: 0.8rem; font-size: 0.9rem; }
  nav.site-nav a.cta { padding: 0.35rem 0.75rem; }
}
