:root {
  --ink: #15171c;
  --muted: #5e6574;
  --line: #d8dde6;
  --paper: #ffffff;
  --soft: #f6f7f9;
  --red: #b9162f;
  --red-dark: #7f1022;
  --green: #0f7a55;
  --amber: #9a6200;
  --blue: #245f9f;
  --shadow: 0 18px 50px rgba(21, 23, 28, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  overflow-x: hidden;
  background:
    linear-gradient(135deg, rgba(185, 22, 47, 0.05), transparent 34%),
    linear-gradient(225deg, rgba(36, 95, 159, 0.08), transparent 28%),
    var(--soft);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid rgba(21, 23, 28, 0.1);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: white;
  background: var(--red);
  border-radius: 8px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--red);
}

main {
  padding-bottom: 44px;
}

.review-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: clamp(20px, 4vw, 48px);
  align-items: stretch;
  padding: clamp(40px, 7vw, 96px) clamp(16px, 4vw, 56px) 28px;
}

.hero-copy,
.score-panel,
.section,
.fact-panel,
.video-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(21, 23, 28, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(26px, 5vw, 54px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 960px;
  margin: 0;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.18;
  letter-spacing: 0;
}

.lede {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: white;
  background: var(--red);
}

.button.primary:hover {
  background: var(--red-dark);
}

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

.button.secondary:hover {
  border-color: var(--red);
  color: var(--red);
}

.score-panel {
  padding: 24px;
}

.status-pill {
  display: inline-flex;
  padding: 7px 10px;
  color: var(--amber);
  border: 1px solid rgba(154, 98, 0, 0.22);
  border-radius: 999px;
  background: rgba(154, 98, 0, 0.08);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.score-list {
  margin: 24px 0;
}

.score-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.score-list dt {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.score-list dd {
  margin: 0;
  font-weight: 900;
  text-align: right;
}

.score-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 22px auto;
  padding: clamp(24px, 4vw, 42px);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.fact-panel {
  padding: 22px;
}

.label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.label.good {
  color: var(--green);
  background: rgba(15, 122, 85, 0.1);
}

.label.warn {
  color: var(--amber);
  background: rgba(154, 98, 0, 0.12);
}

.label.neutral {
  color: var(--blue);
  background: rgba(36, 95, 159, 0.1);
}

.label.official {
  color: var(--red);
  background: rgba(185, 22, 47, 0.1);
}

.fact-panel h2 {
  font-size: 24px;
}

.fact-panel p,
.section-heading p,
.split-section p,
.question-grid p,
.verdict-copy p,
.video-card p,
.evidence-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 24px;
}

.section-heading.compact {
  max-width: 650px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.filter-button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: white;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.filter-button.is-active,
.filter-button:hover {
  color: white;
  border-color: var(--red);
  background: var(--red);
}

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

.evidence-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
}

.evidence-card.is-hidden {
  display: none;
}

.image-button {
  width: 100%;
  height: 250px;
  padding: 0;
  border: 0;
  background: #17181d;
  cursor: zoom-in;
}

.image-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.evidence-copy {
  padding: 18px;
}

.evidence-copy a,
.source-list a {
  color: var(--red);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.text-only {
  display: flex;
  min-height: 250px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
}

.rule-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.rule-table div {
  display: grid;
  grid-template-columns: minmax(130px, 0.45fr) minmax(0, 1fr);
  gap: 18px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfe;
}

.rule-table div:last-child {
  border-bottom: 0;
}

.rule-table span {
  color: var(--muted);
  font-weight: 800;
}

.rule-table strong {
  line-height: 1.4;
}

.warning-section {
  background: #fffaf1;
}

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

.question-grid article {
  padding: 20px;
  border: 1px solid rgba(154, 98, 0, 0.18);
  border-radius: 8px;
  background: white;
}

.verdict-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 28px;
  background: #f7fbff;
}

.verdict-list {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
}

.verdict-list li {
  margin-bottom: 18px;
  line-height: 1.6;
}

.verdict-list strong {
  color: var(--ink);
}

.video-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.video-card {
  padding: 22px;
}

.muted-card {
  background: #f8fafc;
}

.sources-section {
  background: #17181d;
  color: white;
}

.sources-section .eyebrow,
.sources-section h2 {
  color: white;
}

.source-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.source-list li {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.source-list span {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.5;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  max-width: 780px;
  margin: 0;
  line-height: 1.5;
}

.site-footer a {
  color: var(--red);
  font-weight: 900;
}

.image-dialog {
  width: min(960px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #111216;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}

.image-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.image-dialog img {
  width: 100%;
  max-height: calc(100vh - 28px);
  object-fit: contain;
}

.dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .review-hero,
  .split-section,
  .verdict-section {
    grid-template-columns: 1fr;
  }

  .review-hero > *,
  .split-section > *,
  .verdict-section > * {
    min-width: 0;
  }

  .intro-grid,
  .evidence-grid,
  .question-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .review-hero {
    width: 100%;
    padding-top: 28px;
    padding-right: 16px;
    padding-left: 16px;
    overflow: hidden;
  }

  .review-hero > * {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .section,
  .intro-grid,
  .site-footer {
    width: calc(100% - 32px);
  }

  .hero-actions,
  .video-grid,
  .site-footer,
  .source-list li {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-copy,
  .score-panel {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 24px;
  }

  .score-list div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .score-list dd {
    text-align: left;
  }

  .video-grid {
    display: grid;
  }

  .rule-table div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}
