:root {
  --ink: #f7f4ea;
  --muted: #a9b6ca;
  --night: #060b18;
  --night-2: #0b1428;
  --panel: rgba(13, 24, 45, 0.78);
  --panel-solid: #101b31;
  --line: rgba(187, 211, 255, 0.16);
  --gold: #f3c969;
  --gold-soft: #ffe7aa;
  --electric: #66a6ff;
  --cyan: #77e5f6;
  --danger: #ff8d7d;
  --ok: #83deb2;
  --max: 1220px;
  --radius: 22px;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  --font-text: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% -5%, rgba(60, 118, 255, 0.18), transparent 29rem),
    radial-gradient(circle at 10% 18%, rgba(243, 201, 105, 0.08), transparent 24rem),
    var(--night);
  font: 400 1rem/1.68 var(--font-text);
  font-kerning: normal;
  font-synthesis: none;
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.18;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.8rem 1rem;
  color: #05101c;
  background: var(--cyan);
  border-radius: 10px;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 2.5rem), var(--max));
  margin-inline: auto;
}

.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--electric), var(--gold));
  box-shadow: 0 0 18px rgba(102, 166, 255, 0.7);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 11, 24, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
}

.header-inner {
  display: flex;
  width: min(calc(100% - 2.5rem), 1760px);
  min-height: 74px;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: max-content;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.15;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  color: #101426;
  background: linear-gradient(145deg, var(--gold-soft), var(--gold));
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(243, 201, 105, 0.2);
  font: 700 1.12rem/1 var(--font-display);
}

.brand strong {
  color: var(--gold);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: auto;
}

.site-nav a {
  padding: 0.58rem 0.7rem;
  color: #bdc9db;
  border-radius: 9px;
  font-size: 0.88rem;
  line-height: 1.25;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px var(--gold);
}

.language-switcher {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.35rem 0.3rem 0.65rem;
  color: #aebbd0;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.language-switcher select {
  min-width: 3.25rem;
  padding: 0.38rem 1.45rem 0.38rem 0.48rem;
  color: var(--ink);
  background-color: #111a2f;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
}

.language-switcher select:disabled {
  cursor: wait;
  opacity: 0.65;
}

.translate-engine {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

iframe.goog-te-banner-frame,
iframe.VIpgJd-ZVi9od-ORHb-OEVmcd {
  display: none !important;
}

body {
  top: 0 !important;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  width: 1.1rem;
  height: 1px;
  content: "";
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle {
  gap: 4px;
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  width: calc(100% - 3rem);
  min-height: 620px;
  grid-template-columns: minmax(0, 0.93fr) minmax(380px, 1.07fr);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 6rem 2rem 5.5rem 0;
}

.hero-copy::after {
  position: absolute;
  top: 18%;
  right: -2rem;
  z-index: -1;
  width: 14rem;
  height: 24rem;
  content: "";
  background: radial-gradient(ellipse, rgba(6, 11, 24, 0.84), transparent 70%);
  filter: blur(6px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.2rem;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.115em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.4rem;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--electric), var(--gold));
}

h1,
h2,
h3 {
  color: #fffdf7;
  font-family: var(--font-display);
  font-weight: 700;
  font-kerning: normal;
  text-wrap: pretty;
}

h1 {
  max-width: 14.5ch;
  margin: 0;
  font-size: clamp(3rem, 5.55vw, 5.9rem);
  line-height: 1.015;
  letter-spacing: -0.038em;
}

.hero-lead {
  max-width: 44rem;
  margin: 1.75rem 0 0;
  color: #c4cfdf;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.58;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.72rem;
  color: #d1daea;
  background: rgba(10, 19, 37, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  line-height: 1.25;
}

.hero-meta li:first-child::before {
  width: 0.45rem;
  height: 0.45rem;
  content: "";
  background: var(--ok);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(131, 222, 178, 0.72);
}

.hero-media {
  position: absolute;
  inset: 0 0 0 40%;
  margin: 0;
}

.hero-media::before,
.hero-media::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
}

.hero-media::before {
  background: linear-gradient(90deg, var(--night) 0%, rgba(6, 11, 24, 0.74) 15%, transparent 52%);
}

.hero-media::after {
  background: linear-gradient(0deg, var(--night) 0%, transparent 28%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
  filter: saturate(0.9) contrast(1.05);
}

.topic-rail-wrap {
  position: relative;
  z-index: 4;
  margin-top: 1rem;
}

.topic-rail {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem;
  overflow-x: auto;
  color: #d7dfec;
  background: rgba(13, 24, 45, 0.94);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow);
  scrollbar-width: thin;
}

.topic-rail strong {
  padding: 0.55rem 0.75rem;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  line-height: 1.25;
  text-transform: uppercase;
}

.topic-rail a {
  min-width: max-content;
  padding: 0.55rem 0.75rem;
  border-radius: 9px;
  font-size: 0.86rem;
  line-height: 1.25;
  text-decoration: none;
}

.topic-rail a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.page-body {
  padding: 5.5rem 0 7rem;
}

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

.section:first-child {
  padding-top: 2.5rem;
}

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

.section-heading {
  display: grid;
  max-width: 58rem;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
  margin-bottom: 2.1rem;
}

.section-index {
  padding-top: 0.2rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.35;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 3.75vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: -0.027em;
}

.section-heading p,
.section-intro {
  max-width: 48rem;
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.prose {
  max-width: 51rem;
  margin-left: 4.7rem;
  color: #c2ccdc;
  font-size: 1.06rem;
  letter-spacing: 0.002em;
}

.prose > *:first-child {
  margin-top: 0;
}

.prose p {
  margin: 1.15rem 0;
}

.prose h3 {
  margin: 2.6rem 0 0.75rem;
  font-size: 1.6rem;
  line-height: 1.3;
}

.prose a,
.source-card a,
.source-list a {
  color: var(--gold-soft);
}

.lead-in {
  color: #eef2f8;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.3vw, 1.72rem);
  line-height: 1.46;
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 2rem 0 0;
  border-block: 1px solid var(--line);
}

.fact-strip > div {
  min-height: 8.4rem;
  padding: 1.3rem;
  border-right: 1px solid var(--line);
}

.fact-strip > div:last-child {
  border-right: 0;
}

.fact-strip strong {
  display: block;
  color: var(--gold-soft);
  font: 700 clamp(1.7rem, 3vw, 2.45rem)/1.08 var(--font-display);
  font-variant-numeric: tabular-nums;
}

.fact-strip span {
  display: block;
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.edition-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.edition-card {
  position: relative;
  display: grid;
  min-height: 22rem;
  grid-template-rows: auto 1fr auto;
  padding: 1.65rem;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(28, 45, 76, 0.82), rgba(10, 19, 36, 0.94)),
    var(--panel-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}

.edition-card::after {
  position: absolute;
  right: -2.5rem;
  bottom: -5rem;
  width: 13rem;
  height: 13rem;
  content: "";
  background: radial-gradient(circle, rgba(102, 166, 255, 0.16), transparent 66%);
}

.edition-card:hover {
  border-color: rgba(243, 201, 105, 0.55);
  transform: translateY(-4px);
}

.edition-card--featured {
  grid-column: span 2;
  min-height: 19rem;
  background:
    linear-gradient(115deg, rgba(243, 201, 105, 0.1), rgba(16, 27, 49, 0.88) 52%, rgba(44, 96, 173, 0.25)),
    var(--panel-solid);
}

.edition-card--centered {
  width: calc((100% - 1rem) / 2);
  grid-column: 1 / -1;
  justify-self: center;
}

.edition-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.085em;
  line-height: 1.3;
  text-transform: uppercase;
}

.edition-card__top span:last-child {
  color: var(--gold-soft);
}

.edition-card h3 {
  max-width: 18ch;
  margin: 1.5rem 0 0.65rem;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.edition-card p {
  max-width: 41rem;
  margin: 0;
  color: #b8c4d7;
}

.edition-card__foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.edition-card__metric strong {
  display: block;
  color: #fff;
  font: 700 1.4rem/1.08 var(--font-display);
  font-variant-numeric: tabular-nums;
}

.edition-card__metric span {
  color: var(--muted);
  font-size: 0.74rem;
}

.round-arrow {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  color: #111724;
  background: var(--gold);
  border-radius: 50%;
  font-size: 1.2rem;
}

.mechanic-grid,
.metric-grid,
.myth-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.mechanic,
.metric,
.myth {
  padding: 1.5rem;
  background: rgba(15, 27, 49, 0.62);
  border: 1px solid var(--line);
  border-radius: 17px;
}

.mechanic small,
.metric small,
.myth small {
  color: var(--electric);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-transform: uppercase;
}

.mechanic h3,
.metric h3,
.myth h3 {
  margin: 0.8rem 0 0.55rem;
  font-size: 1.38rem;
  line-height: 1.25;
}

.mechanic h3,
.metric h3 {
  min-height: 2.5em;
}

.myth h3 {
  min-height: 3.75em;
}

.mechanic p,
.metric p,
.myth p {
  margin: 0;
  color: var(--muted);
}

.metric strong {
  display: block;
  margin-top: 0.8rem;
  color: var(--gold-soft);
  font: 700 2.15rem/1.08 var(--font-display);
  font-variant-numeric: tabular-nums;
}

.comparison {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.comparison table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

.comparison th,
.comparison td {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison th {
  color: var(--gold-soft);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1.35;
  text-transform: uppercase;
}

.comparison tr:last-child td {
  border-bottom: 0;
}

.comparison td:first-child {
  color: #fff;
  font-weight: 700;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  max-width: 58rem;
  margin-left: 4.7rem;
}

.timeline::before {
  position: absolute;
  top: 0.75rem;
  bottom: 0.75rem;
  left: 5.55rem;
  width: 1px;
  content: "";
  background: linear-gradient(var(--gold), var(--electric), transparent);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 2rem;
  padding: 0 0 2.2rem;
}

.timeline-item time {
  color: var(--gold-soft);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.timeline-item time::after {
  position: absolute;
  top: 0.55rem;
  left: 5.25rem;
  width: 0.65rem;
  height: 0.65rem;
  content: "";
  background: var(--night);
  border: 2px solid var(--electric);
  border-radius: 50%;
}

.timeline-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  line-height: 1.3;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

.editorial-note,
.risk-note {
  position: relative;
  max-width: 58rem;
  margin: 2rem 0 0 4.7rem;
  padding: 1.3rem 1.4rem 1.3rem 4.1rem;
  background: rgba(30, 49, 79, 0.5);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.editorial-note::before,
.risk-note::before {
  position: absolute;
  top: 1.2rem;
  left: 1.3rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  color: var(--gold);
  content: "i";
  border: 1px solid currentColor;
  border-radius: 50%;
  font: italic 700 1rem/1 var(--font-display);
}

.risk-note {
  background: rgba(105, 54, 44, 0.18);
  border-color: rgba(255, 141, 125, 0.28);
}

.risk-note::before {
  color: var(--danger);
  content: "18+";
  font: 800 0.64rem/1 sans-serif;
}

.editorial-note strong,
.risk-note strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #fff;
}

.editorial-note p,
.risk-note p {
  margin: 0;
  color: #bac6d6;
  font-size: 0.94rem;
}

.faq-list {
  max-width: 58rem;
  margin-left: 4.7rem;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0;
  color: #f8f9fb;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  color: var(--gold);
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  max-width: 49rem;
  margin: 0;
  padding: 0 0 1.35rem;
  color: var(--muted);
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-left: 4.7rem;
}

.source-card {
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
  background: rgba(15, 27, 49, 0.62);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.source-card small {
  color: var(--electric);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.085em;
  line-height: 1.35;
  text-transform: uppercase;
}

.source-card h3 {
  margin: 0.65rem 0 0.4rem;
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.source-card p {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.source-card a {
  margin-top: auto;
  font-size: 0.88rem;
}

.source-list {
  display: grid;
  gap: 0;
  max-width: 62rem;
  margin-left: 4.7rem;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.source-list li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.source-list .source-number {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.source-list strong {
  display: block;
  color: #fff;
}

.source-list p {
  margin: 0.3rem 0 0.45rem;
  color: var(--muted);
}

.page-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-left: 4.7rem;
}

.page-link {
  display: flex;
  min-height: 9rem;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.2rem;
  background: rgba(15, 27, 49, 0.62);
  border: 1px solid var(--line);
  border-radius: 15px;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}

.page-link:hover {
  border-color: rgba(243, 201, 105, 0.5);
  transform: translateY(-3px);
}

.page-link small {
  color: var(--muted);
}

.page-link strong {
  font: 700 1.16rem/1.3 var(--font-display);
}

.page-link span {
  color: var(--gold);
}

.site-footer {
  padding: 3.5rem 0 2rem;
  background: #050915;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 1fr;
  gap: 3rem;
}

.footer-grid h2,
.footer-grid h3 {
  margin: 0 0 0.8rem;
  font-family: var(--font-text);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.085em;
  line-height: 1.35;
  text-transform: uppercase;
}

.footer-grid p {
  max-width: 34rem;
  margin: 0;
  color: #95a3b8;
  font-size: 0.88rem;
}

.footer-links {
  display: grid;
  gap: 0.4rem;
}

.footer-links a {
  color: #c5cedd;
  font-size: 0.9rem;
}

.responsible {
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.8rem;
  padding-top: 1.5rem;
  color: #758399;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
}

.not-found {
  display: grid;
  min-height: 75vh;
  place-items: center;
  padding: 5rem 0;
  text-align: center;
}

.not-found h1 {
  max-width: none;
}

.not-found p {
  max-width: 36rem;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  color: #111724;
  background: var(--gold);
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 1040px) {
  .header-inner {
    gap: 0.8rem;
  }

  .site-nav a {
    padding-inline: 0.48rem;
    font-size: 0.82rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  }

  .hero-media {
    left: 42%;
  }

  .fact-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .fact-strip > div:nth-child(2) {
    border-right: 0;
  }

  .fact-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 840px) {
  .header-inner {
    width: min(calc(100% - 2.5rem), var(--max));
  }

  .brand {
    margin-right: auto;
  }

  .language-switcher {
    order: 3;
    margin-left: 0;
  }

  .language-switcher select {
    min-height: 2.25rem;
  }

  .hero-grid {
    width: min(calc(100% - 1.5rem), var(--max));
  }

  .nav-toggle {
    display: grid;
    order: 2;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 1.25rem;
    left: 1.25rem;
    display: none;
    max-height: calc(100dvh - 5.5rem);
    padding: 0.7rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #0b1428;
    border: 1px solid var(--line);
    border-radius: 0 0 15px 15px;
    box-shadow: var(--shadow);
  }

  .site-nav[data-open="true"] {
    display: grid;
  }

  .site-nav a {
    display: flex;
    min-height: 2.75rem;
    align-items: center;
    padding: 0.75rem;
    font-size: 0.95rem;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid {
    display: block;
    padding-top: 0;
  }

  .hero-copy {
    padding: 4.8rem 0 3rem;
  }

  .hero-copy::after {
    display: none;
  }

  .hero-media {
    position: relative;
    inset: auto;
    height: 55vw;
    min-height: 330px;
    max-height: 520px;
    margin-inline: calc((100vw - min(calc(100vw - 2.5rem), var(--max))) / -2);
  }

  .hero-media::before {
    background: linear-gradient(180deg, var(--night) 0%, transparent 30%);
  }

  .hero-media::after {
    background: linear-gradient(0deg, var(--night) 0%, transparent 20%);
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .responsible {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  body {
    min-width: 0;
    overflow-x: clip;
  }

  .shell {
    width: min(calc(100% - 1.5rem), var(--max));
  }

  .brand {
    letter-spacing: 0.075em;
  }

  .brand-word {
    display: none;
  }

  .language-switcher > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .language-switcher {
    margin-left: 0;
    padding-left: 0.35rem;
  }

  h1 {
    font-size: clamp(2.55rem, 12.2vw, 3rem);
    line-height: 1.04;
    letter-spacing: -0.028em;
  }

  .hero-copy {
    padding: 3.25rem 0 2.5rem;
  }

  .hero-lead {
    margin-top: 1.25rem;
    font-size: 1.05rem;
    line-height: 1.55;
  }

  .hero-meta {
    gap: 0.5rem;
    margin-top: 1.5rem;
  }

  .hero-meta li {
    padding: 0.45rem 0.65rem;
  }

  .hero-media {
    height: 68vw;
    min-height: 240px;
    margin-inline: -0.75rem;
  }

  .topic-rail-wrap {
    margin-top: 0.75rem;
  }

  .topic-rail {
    border-radius: 12px;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  .topic-rail strong {
    display: none;
  }

  .topic-rail a {
    display: flex;
    min-height: 2.75rem;
    align-items: center;
  }

  .page-body {
    padding-bottom: 4rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section-heading {
    display: block;
  }

  .section-index {
    display: block;
    margin-bottom: 0.75rem;
  }

  .section-heading h2 {
    font-size: clamp(1.9rem, 8.8vw, 2rem);
    line-height: 1.14;
    letter-spacing: -0.02em;
  }

  .prose,
  .timeline,
  .editorial-note,
  .risk-note,
  .faq-list,
  .source-grid,
  .source-list,
  .page-links {
    margin-left: 0;
  }

  .fact-strip,
  .edition-grid,
  .mechanic-grid,
  .metric-grid,
  .myth-grid,
  .source-grid,
  .page-links {
    grid-template-columns: 1fr;
  }

  .fact-strip > div,
  .fact-strip > div:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .fact-strip > div:last-child {
    border-bottom: 0;
  }

  .edition-card--featured {
    grid-column: auto;
  }

  .edition-card--centered {
    width: 100%;
    grid-column: auto;
  }

  .edition-card {
    min-height: auto;
    padding: 1.3rem;
  }

  .edition-card__foot {
    margin-top: 1.5rem;
  }

  .mechanic,
  .metric,
  .myth,
  .source-card {
    padding: 1.2rem;
  }

  .comparison {
    border-radius: 14px;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  .mechanic h3,
  .metric h3,
  .myth h3 {
    min-height: 0;
  }

  .timeline::before {
    left: 4.55rem;
  }

  .timeline-item {
    grid-template-columns: 4rem minmax(0, 1fr);
    gap: 1.3rem;
  }

  .timeline-item time::after {
    left: 4.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .responsible {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
