@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #174a5e;
  --bg-dark: #0e2a38;
  --bg-lift: #1c586e;
  --navy: #10303e;
  --card: #123a4a;
  --white: #ffffff;
  --cream: #f0ece1;
  --orange: #e85d2a;
  --orange-dk: #b43c1c;
  --green: #3ddc84;
  --green-dk: #1c8c54;
  --amber: #ffb020;
  --mis: #8ecae6;
  --muted: #bad2da;
  --muted-dk: #9bb4bd;
  --line: rgba(186, 210, 218, 0.16);
  --line-strong: rgba(186, 210, 218, 0.28);
  --shadow: rgba(8, 28, 38, 0.5);
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Montserrat", var(--font-sans);
  --wrap: 72rem;
  --radius: 1.25rem;
  --header-h: 4.25rem;
  --focus: #ffb020;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--cream);
  background: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(14, 42, 56, 0.92) 0%, rgba(14, 42, 56, 0.28) 28%, rgba(14, 42, 56, 0.2) 62%, rgba(14, 42, 56, 0.94) 100%),
    repeating-linear-gradient(60deg, transparent 0 3.1rem, rgba(186, 210, 218, 0.055) 3.1rem 3.16rem),
    repeating-linear-gradient(-60deg, transparent 0 3.1rem, rgba(186, 210, 218, 0.055) 3.1rem 3.16rem);
  pointer-events: none;
}

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

a {
  color: var(--cream);
  text-decoration-color: rgba(240, 236, 225, 0.35);
  text-underline-offset: 0.18em;
}
a:hover { text-decoration-color: var(--orange); color: var(--white); }
.nowrap { white-space: nowrap; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
.preview-card:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--navy);
  color: var(--cream);
  padding: 0.5rem 0.8rem;
  border-radius: 0.4rem;
  z-index: 20;
}
.skip:focus { top: 0.75rem; }

.wrap {
  width: min(calc(100% - 2rem), var(--wrap));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(14, 42, 56, 0.82);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--cream);
  min-width: 0;
}
.brand:hover { text-decoration: none; }
.brand:hover .wordmark-logo { opacity: 0.88; }
.wordmark-logo {
  display: block;
  height: 2.15rem;
  width: auto;
  max-width: min(16.5rem, 62vw);
  flex: 0 0 auto;
}

.menu-toggle {
  display: none;
  appearance: none;
  border: 1px solid var(--line-strong);
  background: var(--navy);
  color: var(--cream);
  font: inherit;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0.5rem;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}
.menu-toggle:hover { border-color: var(--orange); }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  font-weight: 600;
  font-size: 0.92rem;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--cream); }
.nav a[aria-current="page"] {
  color: var(--white);
  border-bottom-color: var(--orange);
}

@media (max-width: 799px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    gap: 0;
    padding: 0.4rem 1rem 0.9rem;
    background: rgba(14, 42, 56, 0.96);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 0.7rem 0.2rem;
    border-bottom: 1px solid var(--line);
  }
  .nav a[aria-current="page"] {
    border-bottom-color: var(--line);
    box-shadow: inset 3px 0 0 var(--orange);
    padding-left: 0.65rem;
  }
}

/* Main */
main { flex: 1 0 auto; }

/* Page hero (short) */
.page-hero {
  padding: 2.2rem 0 1.75rem;
}
.page-hero.tight { padding: 1.7rem 0 1.2rem; }
.kicker {
  margin: 0 0 0.7rem;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker.accent { color: var(--orange); }
.page-hero h1,
.section-head h1,
.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1.02;
}
.page-hero h1 {
  font-size: clamp(2rem, 7.2vw, 3.6rem);
  max-width: 16ch;
}
.lead {
  margin: 1rem 0 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.08rem;
}
.lead strong { font-weight: 600; color: var(--cream); }

/* Home tiles */
.entry-grid {
  display: grid;
  gap: 1rem;
  margin: 0 0 2.75rem;
}
.entry-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4rem;
  min-height: 11.5rem;
  padding: 1.4rem 1.35rem 1.3rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--cream);
  box-shadow: 0 18px 40px var(--shadow);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.entry-tile:hover {
  text-decoration: none;
  border-color: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}
.entry-tile h2 {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.15rem);
  letter-spacing: -0.03em;
  color: var(--white);
}
.entry-tile p { margin: 0.45rem 0 0; color: var(--muted); max-width: 28ch; }
.entry-tile .go {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--amber);
}

/* Sections */
.section { padding: 0 0 3.25rem; }
.section-head { margin-bottom: 1.15rem; }
.section-head h2 {
  font-size: clamp(1.45rem, 3.6vw, 1.95rem);
}
.section-head p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  max-width: 38rem;
}
.section-head .all-link {
  display: inline-block;
  margin-top: 0.55rem;
  font-weight: 600;
  font-size: 0.92rem;
}

/* Preview cards */
.preview-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}
.preview-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--cream);
  box-shadow: 0 14px 32px var(--shadow);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.preview-card:hover,
.preview-card:focus-visible {
  text-decoration: none;
  color: var(--cream);
  border-color: var(--orange);
  transform: translateY(-2px);
}
.preview-media {
  margin: 0;
  aspect-ratio: 2 / 1;
  background: #174a5e;
  overflow: hidden;
}
.preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.preview-card {
  /* reinforce equal height in the grid */
  min-height: 100%;
}
.preview-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem 1.1rem 1.15rem;
  flex: 1 1 auto;
}
.preview-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.type-tag,
.badge {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.26rem 0.52rem;
  border-radius: 999px;
  line-height: 1.2;
}
.type-tag {
  background: none;
  border: 0;
  padding: 0.1rem 0.1rem 0.1rem 0;
  color: var(--muted);
}
.badge-legit,
.badge-true { background: var(--green); color: var(--navy); }
.badge-mostly-true,
.badge-partly-true { background: var(--amber); color: var(--navy); }
.badge-misleading { background: var(--mis); color: var(--navy); }
.badge-hype,
.badge-myth { background: var(--orange-dk); color: var(--white); }

.preview-card .claim-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--white);
  flex: 1 1 auto;
}
.claim-num { color: var(--orange); }
.key-number {
  margin: 0;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--green);
}
.preview-date {
  margin: auto 0 0;
  font-size: 0.82rem;
  color: var(--muted-dk);
}

/* Method teaser */
.method-teaser {
  display: grid;
  gap: 0.85rem;
  padding: 1.35rem 1.25rem 1.4rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 2.5rem;
}
.method-teaser h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--white);
}
.method-teaser p { margin: 0; color: var(--muted); max-width: 40rem; }
.method-teaser a { font-weight: 600; }

/* Method page */
.method-stack { display: grid; gap: 1rem; }
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.35rem;
}
.panel h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  color: var(--white);
}
.panel p { margin: 0 0 0.7rem; color: var(--muted); }
.panel p:last-child { margin-bottom: 0; }
.panel ul {
  margin: 0;
  padding: 0 0 0 1.1rem;
  color: var(--muted);
  display: grid;
  gap: 0.4rem;
}
.est {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  color: var(--navy);
  background: var(--amber);
  border-radius: 0.25rem;
  padding: 0.07rem 0.3rem 0.05rem;
  line-height: 1.2;
  vertical-align: 0.12em;
  white-space: nowrap;
}

/* About */
.about-grid {
  display: grid;
  gap: 1.15rem;
  padding-bottom: 2.5rem;
}
.handles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}
.handles a,
.watch-links a,
.btn-link {
  display: inline-flex;
  text-decoration: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--cream);
}
.handles a:hover,
.watch-links a:hover,
.btn-link:hover {
  border-color: var(--orange);
  color: var(--white);
}

.newsletter label {
  display: block;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.55rem;
}
.newsletter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.newsletter input {
  flex: 1 1 12rem;
  min-height: 2.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.6rem;
  background: var(--navy);
  color: var(--cream);
  padding: 0.55rem 0.8rem;
  font: inherit;
}
.newsletter input:disabled { opacity: 0.55; cursor: not-allowed; }
.newsletter input::placeholder { color: var(--muted-dk); }
.newsletter button {
  min-height: 2.75rem;
  border: 0;
  border-radius: 0.6rem;
  padding: 0.55rem 1rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #3a5360;
  color: var(--muted);
  cursor: not-allowed;
}
.soon-note {
  margin: 0.55rem 0 0;
  font-size: 0.88rem;
  color: var(--muted-dk);
}

/* Breakdown */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 0 0 1.1rem;
  font-size: 0.88rem;
  color: var(--muted-dk);
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--cream); }
.crumbs .sep { color: var(--muted-dk); }

.break-head { padding: 1.5rem 0 0.4rem; }
.break-head h1 {
  margin: 0.55rem 0 0.7rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.55rem, 4.4vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--white);
  max-width: 22ch;
}
.break-date { margin: 0.35rem 0 0; color: var(--muted-dk); font-size: 0.9rem; }

.break { padding-bottom: 3rem; }
.break-block {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}
.break-block h2 {
  margin: 0 0 0.7rem;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.claim-quote {
  margin: 0;
  padding: 0 0 0 1rem;
  border-left: 3px solid var(--orange);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--white);
  max-width: 38rem;
}
.verdict-line {
  margin: 0;
  font-size: 1.08rem;
  color: var(--cream);
  max-width: 42rem;
}

/* Math table */
.math-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}
.math-table th {
  text-align: left;
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-dk);
  padding: 0 0.6rem 0.45rem 0;
  border-bottom: 1px solid var(--line-strong);
}
.math-table th.num,
.math-table td.num { text-align: right; white-space: nowrap; padding-left: 0.8rem; }
.math-table th.flag,
.math-table td.flag { text-align: right; width: 5.5rem; padding-left: 0.6rem; }
.math-table td {
  padding: 0.7rem 0.6rem 0.7rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--cream);
}
.math-table tr.emphasis td {
  color: var(--white);
  font-weight: 700;
  background: rgba(61, 220, 132, 0.06);
}
.math-table .item-note {
  display: block;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--muted);
}
.math-table tr.note-row td {
  padding-top: 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.math-table tr.note-row.emphasis td {
  background: rgba(61, 220, 132, 0.06);
  font-weight: 500;
  color: var(--muted);
}
.math-table th[scope="row"] {
  font-weight: 700;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.98rem;
  color: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0.6rem 0.7rem 0;
}
.math-table tr:has(+ .note-row) td,
.math-table tr:has(+ .note-row) th[scope="row"] {
  border-bottom: 0;
  padding-bottom: 0.2rem;
}
.math-table tr:has(+ .note-row).emphasis td,
.math-table tr:has(+ .note-row).emphasis th[scope="row"] {
  background: rgba(61, 220, 132, 0.06);
}

.math-table .num { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--white); }
.math-note {
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
  color: var(--muted-dk);
  max-width: 44rem;
}
.prose-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
  max-width: 42rem;
}
.prose-list li {
  padding-left: 0.9rem;
  border-left: 2px solid var(--line-strong);
  color: var(--cream);
}
.bottom-line {
  margin: 0;
  font-size: 1.05rem;
  color: var(--cream);
  max-width: 42rem;
}

.watch-links,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.coming-note {
  margin: 0;
  font-weight: 700;
  color: var(--amber);
}

.sources-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
  counter-reset: src;
}
.sources-list li {
  padding-left: 1.8rem;
  position: relative;
}
.sources-list li::before {
  counter-increment: src;
  content: counter(src);
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--muted);
}
.sources-list .src-name {
  display: block;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}
a.src-name { text-decoration: underline; text-decoration-color: rgba(240, 236, 225, 0.3); }
a.src-name:hover { text-decoration-color: var(--orange); }
.sources-list .src-note {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.12rem;
}
.sources-list .src-date {
  display: block;
  color: var(--muted-dk);
  font-size: 0.8rem;
  margin-top: 0.15rem;
}

.prevnext {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 1fr;
}
.prevnext a {
  display: block;
  text-decoration: none;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--card);
  color: var(--cream);
}
.prevnext a:hover { border-color: var(--orange); color: var(--white); }
.prevnext .dir {
  display: block;
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.prevnext .ttl { font-weight: 700; color: var(--white); }

.cta-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.3rem;
}
.cta-panel h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--white);
  text-transform: none;
}
.cta-panel p { margin: 0 0 0.8rem; color: var(--muted); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(14, 42, 56, 0.85);
  padding: 1.25rem 0 1.6rem;
}
.footer-inner {
  display: grid;
  gap: 0.85rem;
}
.site-footer p {
  margin: 0 0 0.25rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.site-footer .fine {
  color: var(--muted-dk);
  font-size: 0.8rem;
  margin: 0;
}
.footer-handles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  font-size: 0.84rem;
}
.footer-handles a {
  color: var(--muted);
  text-decoration: none;
}
.footer-handles a:hover { color: var(--cream); }

@media (max-width: 599px) {
  .math-table { table-layout: fixed; }
  .math-table th.num,
  .math-table td.num {
    width: 7.4rem;
    white-space: normal;
  }
  .math-table th.flag,
  .math-table td.flag { width: 3.6rem; }
}

@media (min-width: 700px) {
  .entry-grid { grid-template-columns: 1fr 1fr; }
  .preview-grid { grid-template-columns: 1fr 1fr; }
  .prevnext { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 800px) {
  .wrap { width: min(calc(100% - 3.5rem), var(--wrap)); }
  .wordmark-logo { height: 2.35rem; }
  .page-hero { padding: 2.6rem 0 2rem; }
  .entry-tile { min-height: 13rem; padding: 1.7rem 1.6rem 1.5rem; }
  .about-grid { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 1.5rem;
  }
}
@media (min-width: 1000px) {
  .preview-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
}
