@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;
  --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: 76rem;
  --radius: 1.25rem;
  --header-h: 4.25rem;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  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); }
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--amber);
  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.78);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 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.4rem;
  width: auto;
  max-width: min(18.75rem, 72vw);
  flex: 0 0 auto;
}
.nav {
  display: flex;
  gap: 1.15rem;
  font-weight: 600;
  font-size: 0.92rem;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
}
.nav a:hover { color: var(--cream); }

/* Hero */
.hero {
  padding: 2.4rem 0 2.6rem;
}
.hero-kicker {
  margin: 0 0 0.85rem;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.15rem, 8.4vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--white);
  max-width: 12ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero-lead {
  margin: 1.15rem 0 0;
  max-width: 32rem;
  font-size: 1.08rem;
  color: var(--muted);
}
.hero-lead strong {
  font-weight: 600;
  color: var(--cream);
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.pill-link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--cream);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  background: rgba(18, 58, 74, 0.55);
}
.pill-link:hover {
  border-color: var(--orange);
  color: var(--white);
}

/* Sections */
.section {
  padding: 0.4rem 0 2.75rem;
}
.section-head {
  margin-bottom: 1.15rem;
}
.section-kicker {
  margin: 0 0 0.35rem;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
}
.section-kicker.myth { color: var(--amber); }
.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  letter-spacing: -0.03em;
  color: var(--white);
}
.section-head p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  max-width: 38rem;
}

/* Cards */
.stack {
  display: grid;
  gap: 1.35rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 40px var(--shadow);
}
.card-media {
  margin: 0;
  background: #174a5e;
  aspect-ratio: 2 / 1;
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.card-body { padding: 1.25rem 1.2rem 1.4rem; }
.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
  margin-bottom: 0.55rem;
}
.kicker {
  margin: 0;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.claim-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.28rem, 3.6vw, 1.7rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--white);
}
.claim-num { color: var(--orange); }

.verdict {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.9rem 0 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
}
.badge {
  display: inline-flex;
  align-self: flex-start;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  line-height: 1.2;
}
.badge-false { background: var(--orange-dk); color: var(--white); }
.badge-math { background: var(--green); color: var(--navy); }
.badge-terms { background: var(--amber); color: var(--navy); }
.verdict p {
  margin: 0;
  font-size: 1.02rem;
  color: var(--cream);
}

.math h3,
.sources h3 {
  margin: 0 0 0.55rem;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.math { margin-bottom: 1.1rem; }
.math p { margin: 0 0 0.65rem; }
.math p:last-child { margin-bottom: 0; }
.eq {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  line-height: 1.45;
  color: var(--white);
}
.keep { color: var(--green); font-weight: 700; }
.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;
}

.sources ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.sources li {
  padding-left: 0.85rem;
  border-left: 2px solid var(--line-strong);
}
.sources .src-name {
  display: block;
  font-weight: 700;
  color: var(--white);
  font-size: 0.95rem;
  text-decoration: none;
}
.sources a.src-name { text-decoration: underline; text-decoration-color: rgba(240, 236, 225, 0.3); }
.sources a.src-name:hover { text-decoration-color: var(--orange); }
.sources .src-note {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.12rem;
}
.note {
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
  color: var(--muted-dk);
}

/* Method */
.method { padding-top: 0; }
.method-grid {
  display: grid;
  gap: 0.85rem;
}
.method-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem 1.15rem;
}
.method-icon {
  flex: 0 0 auto;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 0.7rem;
  display: grid;
  place-items: center;
  color: var(--cream);
  background: var(--navy);
  border: 1px solid var(--line-strong);
}
.method-icon svg { display: block; }
.method-item h3 {
  margin: 0 0 0.22rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--white);
}
.method-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (min-width: 700px) {
  .method-grid { grid-template-columns: 1fr 1fr; }
}

/* Newsletter / about */

.about {
  padding-bottom: 3rem;
}
.about-grid {
  display: grid;
  gap: 1.2rem;
}
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem 1.4rem;
}
.panel h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--white);
}
.panel p { margin: 0 0 0.7rem; color: var(--muted); }
.panel p:last-child { margin-bottom: 0; }

.handles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}
.handles a {
  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 { 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);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(14, 42, 56, 0.85);
  padding: 1.6rem 0 2.2rem;
}
.site-footer p {
  margin: 0 0 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.site-footer .fine {
  color: var(--muted-dk);
  font-size: 0.84rem;
}

@media (max-width: 799px) {
  .header-inner {
    flex-wrap: wrap;
    align-items: center;
    min-height: 0;
    padding: 0.55rem 0 0.6rem;
  }
  .brand { flex: 1 1 auto; }
  .wordmark-logo { height: 2.15rem; }
  .nav {
    flex: 1 1 100%;
    justify-content: flex-start;
    gap: 1.05rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--line);
  }
}

@media (min-width: 800px) {
  .wrap { width: min(calc(100% - 3.5rem), var(--wrap)); }
  .hero { padding: 2.85rem 0 2.5rem; }
  .hero-lead { max-width: 38rem; font-size: 1.12rem; }
  .card-media { aspect-ratio: 2 / 1; }
  .card-body { padding: 1.5rem 1.7rem 1.7rem; }
  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.35rem;
    align-items: start;
  }
}

@media (min-width: 1100px) {
  .hero h1 { max-width: 14ch; }
  .card-body { padding: 1.65rem 1.9rem 1.85rem; }
}
