:root {
  color-scheme: light;
  --bg: #e7f0ff;
  --bg-strong: #d6e7ff;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: rgba(251, 253, 255, 0.96);
  --text: #000000;
  --muted: #5d6f8b;
  --line: rgba(114, 145, 190, 0.22);
  --accent: #2089b0;
  --accent-strong: #246cbe;
  --accent-soft: rgba(125, 214, 231, 0.32);
  --supported: #19764a;
  --contradicted: #b33b22;
  --mixed: #8b5a0f;
  --misleading: #7f2f8b;
  --unverified: #55657f;
  --shadow: 0 24px 60px rgba(82, 116, 168, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 18%, rgba(130, 190, 255, 0.4), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(174, 198, 255, 0.45), transparent 20%),
    radial-gradient(circle at 78% 74%, rgba(171, 214, 255, 0.24), transparent 24%),
    linear-gradient(180deg, #eef5ff 0%, var(--bg) 46%, #dce8ff 100%);
  color: var(--text);
  font-family: "Segoe UI", "Inter", "Trebuchet MS", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.site-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 8px 0 18px;
  border-bottom: 1px solid rgba(19, 35, 63, 0.1);
}

.brand-link {
  color: var(--text);
  text-decoration: none;
  font-family: "Segoe UI", "Inter", "Trebuchet MS", sans-serif;
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-tagline {
  max-width: 22rem;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.site-intro-note {
  max-width: 36rem;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  font-weight: 700;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero {
  display: block;
  min-height: auto;
  padding: 34px 0 22px;
}

.hero-copy {
  max-width: 46rem;
}

.hero-copy-compact {
  display: grid;
  gap: 0;
}

.hero h1,
.article-hero h1,
.not-found h1,
.section-head h2 {
  margin: 12px 0 0;
  font-family: "Segoe UI", "Inter", "Trebuchet MS", sans-serif;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 14ch;
  font-size: clamp(2.15rem, 4.2vw, 3.6rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.site-intro-note {
  max-width: 34rem;
  margin: 14px 0 0;
  font-size: 1.02rem;
  line-height: 1.62;
  color: var(--muted);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 18px 40px rgba(13, 68, 184, 0.24);
}

.side-block,
.article-shell,
.empty-state {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.side-label {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-note {
  max-width: 34rem;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(114, 145, 190, 0.22);
  font-size: 0.96rem;
  line-height: 1.58;
  color: var(--muted);
  font-weight: 700;
}

.latest-section {
  padding-top: 18px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.fact-list {
  display: grid;
  gap: 18px;
}

.fact-row {
  padding: 24px 26px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  transition: transform 160ms ease, background-color 160ms ease;
}

.fact-row:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.86);
}

.fact-row-meta,
.article-topline,
.article-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.fact-row h2 {
  margin: 16px 0 8px;
  font-size: clamp(1.7rem, 3.8vw, 2.5rem);
  line-height: 1.05;
}

.fact-row h2 a {
  text-decoration: none;
}

.fact-date,
.back-link,
.source-card p,
.not-found p,
.empty-state p {
  color: var(--muted);
}

.fact-row-claim {
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}

.rich-text,
.fact-row-summary {
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--text);
}

.rich-text p:first-child,
.fact-row-summary p:first-child {
  margin-top: 0;
}

.rich-text p:last-child,
.fact-row-summary p:last-child {
  margin-bottom: 0;
}

.rich-text ul,
.rich-text ol {
  margin: 0;
  padding-left: 1.25rem;
}

.verdict-pill,
.confidence-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.confidence-pill {
  background: rgba(19, 35, 63, 0.06);
  color: var(--text);
}

.verdict-supported {
  color: #f7fff8;
  background: #2f9c74;
}

.verdict-contradicted {
  color: #fff7f5;
  background: linear-gradient(180deg, #cf714b 0%, #bf5a31 100%);
}

.verdict-mixed {
  color: #fffaf0;
  background: linear-gradient(180deg, #d29a34 0%, #c68018 100%);
}

.verdict-misleading {
  color: #fff7f5;
  background: linear-gradient(180deg, #cf714b 0%, #bf5a31 100%);
}

.verdict-unverified {
  color: #fffaf0;
  background: linear-gradient(180deg, #d29a34 0%, #c68018 100%);
}

.article-layout {
  padding-top: 18px;
}

.article-shell {
  border-radius: 36px;
  padding: 28px;
}

.article-hero h1 {
  font-size: clamp(3rem, 6vw, 5.4rem);
}

.claim-quote {
  margin: 22px 0 0;
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
  background: rgba(25, 87, 210, 0.06);
  font-size: 1.18rem;
  line-height: 1.7;
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.75fr);
  gap: 28px;
  margin-top: 34px;
}

.article-main {
  display: grid;
  gap: 22px;
}

.article-section {
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
}

.article-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.article-section h2,
.key-check h3,
.source-card h3 {
  margin: 0 0 14px;
  color: var(--text);
}

.article-section h2 {
  font-size: 1.25rem;
}

.key-checks {
  display: grid;
  gap: 18px;
}

.key-check {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.key-check:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.article-sidebar {
  display: grid;
  gap: 18px;
  align-content: start;
}

.side-block {
  border-radius: 24px;
  padding: 22px;
}

.source-link,
.rich-text a,
.back-link {
  color: var(--accent);
}

.source-stack {
  display: grid;
  gap: 12px;
}

.source-card {
  display: block;
  padding: 18px;
  border-radius: 20px;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(25, 87, 210, 0.12), rgba(25, 87, 210, 0.06));
  border: 1px solid rgba(25, 87, 210, 0.12);
  transition: transform 160ms ease, background-color 160ms ease;
}

.source-card:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(25, 87, 210, 0.16), rgba(25, 87, 210, 0.08));
}

.source-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}

.source-rank,
.source-domain {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.source-card h3 {
  font-size: 1rem;
  line-height: 1.35;
}

.source-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.not-found,
.empty-state {
  padding: 64px 28px;
  border-radius: 32px;
  text-align: center;
}

.not-found {
  max-width: 760px;
  margin: 54px auto 0;
}

code {
  padding: 0.16rem 0.36rem;
  border-radius: 8px;
  background: rgba(19, 35, 63, 0.08);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.92em;
}

@media (max-width: 920px) {
  .site-shell {
    width: min(100% - 28px, 1180px);
    padding-top: 18px;
  }

  .site-header,
  .section-head,
  .article-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .site-header {
    gap: 10px;
  }

  .brand-tagline {
    max-width: none;
    text-align: left;
  }

  .article-shell {
    border-radius: 28px;
    padding: 22px;
  }

  .hero {
    padding-top: 26px;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .site-intro-note {
    margin-top: 20px;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 20px, 1180px);
  }

  .hero h1,
  .article-hero h1 {
    letter-spacing: -0.05em;
  }

  .fact-row,
  .side-block,
  .hero-panel,
  .article-shell {
    padding-left: 18px;
    padding-right: 18px;
  }
}
