:root {
  --bg: #fafafa;
  --surface: #ffffff;
  --ink: #151515;
  --muted: #60646c;
  --muted-2: #8a9099;
  --border: #dedede;
  --claim: #d94343;
  --evidence: #2563eb;
  --verdict: #e0a800;
  --tone-confirmed: #b42318;
  --tone-rejected: #137a3a;
  --tone-misleading: #2563eb;
  --tone-unproven: #7c3aed;
  --soft-claim: #fff1f1;
  --soft-evidence: #eff6ff;
  --soft-verdict: #fff8db;
  --soft-confirmed: #fff1f1;
  --soft-rejected: #eaf7ee;
  --soft-misleading: #eff6ff;
  --soft-unproven: #f5f0ff;
  --shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(245, 197, 66, 0.18), transparent 28rem),
    radial-gradient(circle at 92% 8%, rgba(37, 99, 235, 0.10), transparent 24rem),
    var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a { color: inherit; }

img, svg { max-width: 100%; height: auto; }

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 250, 250, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 950;
  letter-spacing: -0.045em;
  font-size: 1.35rem;
}

.logo img { width: 42px; height: 42px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }

.button,
button.button {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button.secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border);
}

.hero {
  padding: 72px 0 34px;
}

.hero-clean { padding-bottom: 14px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 44px;
  align-items: center;
}

.kicker {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--claim);
}

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 6.6vw, 6.4rem);
  line-height: 0.88;
  letter-spacing: -0.078em;
}

h2 {
  letter-spacing: -0.05em;
}

.hero-copy {
  max-width: 670px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mascot-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 32px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.hero-card {
  transform: rotate(0.6deg);
}

.mascot-card img {
  display: block;
  margin: 0 auto 18px;
  width: min(280px, 90%);
}

.micro-grid {
  display: grid;
  gap: 10px;
}

.micro {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 12px;
  background: #fff;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge.claim { color: var(--claim); background: var(--soft-claim); }
.badge.evidence { color: var(--evidence); background: var(--soft-evidence); }
.badge.verdict { color: #8a6400; background: var(--soft-verdict); }
.badge.verdict.tone-confirmed { color: var(--tone-confirmed); background: var(--soft-confirmed); }
.badge.verdict.tone-rejected { color: var(--tone-rejected); background: var(--soft-rejected); }
.badge.verdict.tone-misleading { color: var(--tone-misleading); background: var(--soft-misleading); }
.badge.verdict.tone-unproven { color: var(--tone-unproven); background: var(--soft-unproven); }

.card-pills {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  padding: 0.18rem 0.55rem;
  font-size: 0.73rem;
  font-weight: 800;
}

.topic {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.62rem 0.85rem;
  color: var(--muted);
  font-weight: 750;
  text-decoration: none;
}

.topic.tiny {
  font-size: 0.78rem;
  padding: 0.32rem 0.55rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 38px 0 16px;
}

.section-head h2,
.article h1,
.split-section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.section-head p,
.section-copy {
  max-width: 560px;
  color: var(--muted);
  margin: 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 44px;
  margin-bottom: 36px;
}

.tone-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  font-size: 0.73rem;
  font-weight: 850;
  background: #fff;
}

.tone-pill.tone-confirmed { color: var(--tone-confirmed); border-color: #f0baba; background: var(--soft-confirmed); }
.tone-pill.tone-rejected { color: var(--tone-rejected); border-color: #9bd5ad; background: var(--soft-rejected); }
.tone-pill.tone-misleading { color: var(--tone-misleading); border-color: #bfdbfe; background: var(--soft-misleading); }
.tone-pill.tone-unproven { color: var(--tone-unproven); border-color: #ddd6fe; background: var(--soft-unproven); }

.bingo-board {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.bingo-board ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.bingo-board li { border-bottom: 1px solid var(--border); }
.bingo-board li:nth-child(odd) { border-right: 1px solid var(--border); }
.bingo-board li:nth-last-child(-n+2) { border-bottom: 0; }

.bingo-board a {
  min-height: 110px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  padding: 15px;
  text-decoration: none;
}

.bingo-board span { font-weight: 900; line-height: 1.1; }
.bingo-board strong { color: var(--muted); font-size: 0.82rem; font-weight: 700; }
.bingo-board a:hover { background: #fffdf2; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card-grid.all-claims {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 14px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 22px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.045);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.card h3 {
  margin: 14px 0 8px;
  font-size: 1.35rem;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.card p { color: var(--muted); margin: 0 0 16px; }
.card a { text-decoration: none; }
.card a:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.mini-flow {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  color: var(--muted-2);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mini-flow span::after { content: ' →'; }
.mini-flow span:last-child::after { content: ''; }

.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 24px 0 70px;
}

.flow-card {
  border-radius: 24px;
  padding: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.flow-card.claim { background: var(--soft-claim); border-color: #f0baba; }
.flow-card.evidence { background: var(--soft-evidence); border-color: #bfdbfe; }
.flow-card.verdict { background: var(--soft-verdict); border-color: #f2d46b; }

.flow-card h3 { margin: 0 0 10px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.12em; }
.flow-card p { margin: 0; font-size: 1.1rem; }

.article {
  max-width: 860px;
  padding: 52px 0 80px;
}

.article.wide { max-width: 1120px; }

.article .lede { color: var(--muted); font-size: 1.2rem; }
.article section { margin-top: 28px; }
.article h2 { margin: 0 0 8px; font-size: 1.7rem; letter-spacing: -0.035em; }
.article p, .article li { font-size: 1.06rem; color: #2f3137; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.back-link { display: inline-block; margin-bottom: 18px; color: var(--muted); text-decoration: none; font-weight: 800; }
.back-link:hover { color: var(--ink); }

.callout {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  background: var(--surface);
}

.callout.claim { background: var(--soft-claim); }
.callout.evidence { background: var(--soft-evidence); }
.callout.verdict { background: var(--soft-verdict); }
.callout.verdict.tone-confirmed { background: var(--soft-confirmed); border-color: #f0baba; }
.callout.verdict.tone-rejected { background: var(--soft-rejected); border-color: #9bd5ad; }
.callout.verdict.tone-misleading { background: var(--soft-misleading); border-color: #bfdbfe; }
.callout.verdict.tone-unproven { background: var(--soft-unproven); border-color: #ddd6fe; }

.tone-rationale {
  margin-top: 12px;
  color: var(--muted);
}

.evidence-point {
  margin-bottom: 18px;
}

.evidence-point p {
  margin: 0 0 8px;
}

.evidence-point p:last-child {
  margin-bottom: 0;
}

.source-balance {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  background: #fff;
}

.source-balance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.source-balance-group {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  background: #fafafa;
}

.source-balance-group h3 {
  margin: 0 0 8px;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.source-balance-group ul {
  margin: 0;
  padding-left: 18px;
}

.source-balance-group li {
  font-size: 0.95rem;
}

.source-balance-assessment {
  margin: 14px 0 0;
}

.revision-notes {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  background: #fff;
}

.revision-notes ol {
  margin: 0;
  padding-left: 22px;
}

.revision-notes li {
  margin-bottom: 14px;
}

.revision-notes li:last-child {
  margin-bottom: 0;
}

.revision-notes del {
  color: var(--muted);
  text-decoration-thickness: 2px;
}

.chart-section {
  margin-top: 32px;
}

.chart-grid {
  display: grid;
  gap: 16px;
}

.chart-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);
}

.chart-card h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.chart-summary,
.chart-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.chart-bars {
  display: grid;
  gap: 12px;
  margin: 16px 0;
}

.chart-row {
  display: grid;
  gap: 6px;
}

.chart-row-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.chart-label {
  font-weight: 850;
  color: var(--ink);
}

.chart-value {
  color: var(--muted);
  font-weight: 850;
  white-space: nowrap;
}

.chart-track {
  height: 14px;
  border: 1px solid #b8c7ea;
  border-radius: 999px;
  overflow: hidden;
  background: var(--soft-evidence);
}

.chart-fill {
  display: block;
  height: 100%;
  min-width: 2px;
  border-radius: inherit;
  background: var(--evidence);
}

.source-list { color: var(--muted); }
.source-list a { color: var(--evidence); }

.ad-slot {
  width: min(860px, calc(100% - 32px));
  margin: 18px auto 34px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  padding: 12px;
}

.ad-label {
  margin: 0 0 8px;
  color: var(--muted-2);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.internal-ad {
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.internal-ad img {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.internal-ad span {
  display: grid;
  gap: 3px;
}

.internal-ad strong {
  font-size: 1.05rem;
}

.internal-ad small {
  color: var(--muted);
  font-size: 0.94rem;
}

.internal-ad em {
  color: var(--muted-2);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 800;
}

.ad-slot-google {
  min-height: 120px;
}

.search-panel {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  background: rgba(0, 0, 0, 0.35);
  padding: 24px;
}

.search-panel.open { display: grid; place-items: start center; }

.search-box {
  width: min(720px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.search-row { display: flex; gap: 10px; }
.search-row input { flex: 1; min-width: 0; font: inherit; padding: 0.9rem 1rem; border: 1px solid var(--border); border-radius: 18px; }
.search-results { margin-top: 14px; display: grid; gap: 10px; }
.search-result { display: block; padding: 12px; border: 1px solid var(--border); border-radius: 16px; text-decoration: none; }
.search-result strong { display: block; }
.search-result span, .muted { color: var(--muted); font-size: 0.92rem; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 34px 0;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.55);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
}

.footer-grid a { color: var(--muted); margin-right: 14px; }

.footer-link-button {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.footer-link-button:hover {
  color: var(--ink);
}

.analytics-consent {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 45;
  width: min(760px, calc(100% - 28px));
  transform: translateX(-50%) rotate(-0.25deg);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  box-shadow: 6px 6px 0 rgba(21, 21, 21, 0.14);
  padding: 12px;
}

.analytics-consent[hidden] {
  display: none;
}

.analytics-consent-figure {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 950;
  font-size: 1.4rem;
  line-height: 1;
}

.analytics-consent-copy {
  display: grid;
  gap: 2px;
}

.analytics-consent-copy strong {
  font-size: 1rem;
}

.analytics-consent-copy span {
  color: var(--muted);
  font-size: 0.94rem;
}

.analytics-consent-copy .analytics-consent-dnt {
  color: var(--claim);
  font-weight: 850;
}

.analytics-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.analytics-consent-actions .button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

@media (max-width: 960px) {
  .hero-grid,
  .flow,
  .card-grid,
  .card-grid.all-claims,
  .source-balance-grid,
  .split-section { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .mascot-card { border-radius: 24px; }
  .section-head { display: block; }
  .bingo-board ul { grid-template-columns: 1fr; }
  .bingo-board li:nth-child(odd) { border-right: 0; }
  .bingo-board li:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .bingo-board li:last-child { border-bottom: 0; }
}

@media (max-width: 720px) {
  .nav-links a { display: none; }
  .nav { min-height: 66px; }
  .logo span { font-size: 1.12rem; }
  .hero-actions, .search-row { flex-direction: column; }
  .button { width: 100%; }
  .article { padding-top: 38px; }
  .analytics-consent {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }
  .analytics-consent-actions {
    grid-column: 1 / -1;
    width: 100%;
  }
}
