:root {
  --ink: #17283a;
  --muted: #5d6b78;
  --paper: #f7f4ec;
  --paper-deep: #ede7da;
  --navy: #071522;
  --navy-soft: #10273c;
  --gold: #b77918;
  --gold-light: #f0c46f;
  --teal: #2e756f;
  --teal-deep: #164e4a;
  --line: #d4cdbc;
  --white: #ffffff;
  --measure: 790px;
  --wide: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

a {
  color: #87520b;
  text-decoration-thickness: .08em;
  text-underline-offset: .15em;
}

a:hover {
  color: #4d2d04;
}

a:focus-visible,
[tabindex="0"]:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}

.site-bar {
  background: #050f19;
  border-bottom: 1px solid #2b3d4e;
  color: #dce5ed;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.site-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 15px 28px;
}

.brand {
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .14em;
  text-decoration: none;
}

.series {
  color: #9eb0c0;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero {
  background:
    radial-gradient(circle at 78% 15%, rgba(46, 117, 111, .23), transparent 33%),
    var(--navy);
  border-bottom: 6px solid var(--gold);
  color: var(--white);
}

.hero-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 86px 28px 74px;
}

.kicker,
.section-label,
.card-label {
  color: var(--gold-light);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.kicker {
  display: inline-flex;
  margin: 0;
  padding: 7px 12px;
  border: 1px solid #b78b46;
  border-radius: 999px;
}

h1 {
  max-width: 1000px;
  margin: 25px 0 22px;
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(47px, 7vw, 82px);
  font-weight: 820;
  letter-spacing: -.052em;
  line-height: .99;
}

.subtitle {
  max-width: 850px;
  margin: 0;
  color: #cbd6df;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(23px, 3vw, 31px);
  font-weight: 480;
  line-height: 1.3;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 24px;
  margin-top: 34px;
  color: #aab9c6;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .05em;
  line-height: 1.4;
  text-transform: uppercase;
}

.thesis {
  max-width: 1010px;
  margin: 40px 0 0;
  padding: 23px 27px;
  background: var(--navy-soft);
  border-left: 5px solid var(--gold-light);
  color: #f2f4f5;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  font-weight: 520;
  line-height: 1.58;
}

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

.verdict-shell {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 68px 28px 38px;
}

.verdict-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 38px 44px 32px;
  background: var(--paper-deep);
  border-top: 5px solid var(--gold);
  box-shadow: 0 15px 34px rgba(28, 35, 42, .08);
}

.verdict-card .section-label {
  margin: 0 0 10px;
  color: var(--gold);
}

.verdict-card h2 {
  margin: 0 0 .6em;
  padding: 0;
  border: 0;
  font-size: clamp(32px, 4vw, 45px);
}

.verdict-card p {
  margin: 0 0 1em;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

.verdict-card p:last-child {
  margin-bottom: 0;
}

.article-shell {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 30px 28px 100px;
}

.article-shell > :not(.comparison):not(.evidence-grid):not(.boundary-box):not(.gate-list) {
  max-width: var(--measure);
  margin-left: auto;
  margin-right: auto;
}

.toc {
  margin: 0 auto 54px;
  padding: 23px 25px 21px;
  background: #eee8db;
  border-left: 4px solid var(--gold);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.toc-title {
  margin: 0 0 13px;
  color: #33485a;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.toc ol {
  columns: 2;
  column-gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc li {
  margin: 0;
  padding: 0;
}

.toc a {
  display: block;
  padding: 6px 0;
  break-inside: avoid;
  color: #566574;
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}

.toc a:hover {
  color: var(--gold);
}

.scope-note {
  margin-bottom: 70px;
  padding: 28px 31px 24px;
  background: #eee8db;
  border-left: 4px solid var(--teal);
}

.scope-note h2 {
  margin: 0 0 .6em;
  padding: 0;
  border: 0;
  font-size: 28px;
}

.scope-note p {
  font-size: 16px;
  line-height: 1.66;
}

.scope-note p:last-child {
  margin-bottom: 0;
}

h2,
h3 {
  color: #0c2033;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -.022em;
  scroll-margin-top: 28px;
}

h2 {
  margin-top: 3.3em;
  margin-bottom: .8em;
  padding-top: .52em;
  border-top: 1px solid var(--line);
  font-size: clamp(29px, 4vw, 41px);
  line-height: 1.14;
}

h3 {
  margin: .2em 0 .55em;
  font-size: 23px;
  line-height: 1.24;
}

p {
  margin: 0 0 1.22em;
}

strong {
  color: #0f2235;
}

ul,
ol {
  padding-left: 1.4em;
}

li {
  margin: .45em 0;
  padding-left: .2em;
}

.comparison {
  width: min(var(--wide), calc(100vw - 56px));
  margin: 2.2em auto 1em;
  overflow-x: auto;
  background: #fbfaf6;
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(28, 35, 42, .06);
}

.scroll-hint {
  display: none;
}

table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

th,
td {
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th:last-child,
td:last-child {
  border-right: 0;
}

tr:last-child th,
tr:last-child td {
  border-bottom: 0;
}

thead th {
  background: #153047;
  color: var(--white);
  font-size: 12px;
  letter-spacing: .035em;
  text-transform: uppercase;
}

tbody th {
  width: 17%;
  color: #153047;
  background: #e8e2d5;
  font-weight: 800;
}

tbody tr:nth-child(even) td {
  background: #f0ece2;
}

.table-note {
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.55;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(980px, calc(100vw - 56px));
  margin: 2.1em auto 2.3em;
}

.evidence-card {
  padding: 25px 26px 22px;
  background: #eee8db;
  border-top: 4px solid var(--teal);
}

.evidence-card .card-label {
  margin: 0 0 10px;
  color: var(--teal-deep);
}

.evidence-card p:last-child {
  margin-bottom: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.62;
}

.boundary-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  width: min(980px, calc(100vw - 56px));
  margin: 2.2em auto 2.5em;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.boundary-box > div {
  padding: 27px 29px 24px;
  background: #fbfaf6;
}

.boundary-box > div:last-child {
  background: #eee8db;
}

.boundary-title {
  margin: 0;
  color: #153047;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.boundary-box ul {
  margin-bottom: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.gate-list {
  width: min(940px, calc(100vw - 56px));
  margin: 2.2em auto 2.6em;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.gate-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 17px;
  margin: 0;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.gate-number {
  color: var(--gold);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .12em;
}

.gate-list div {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.63;
}

blockquote {
  margin-top: 2.1em;
  margin-bottom: 2.1em;
  padding: 22px 26px;
  background: #eee8db;
  border-left: 5px solid var(--gold);
  color: #23384a;
  font-size: 24px;
  line-height: 1.45;
}

blockquote p {
  margin: 0;
}

.sources {
  color: #495865;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.58;
}

.sources li {
  margin-bottom: .82em;
}

.disclosure {
  margin-top: 70px;
  padding: 27px 30px 23px;
  background: #0d2234;
  color: #d7e0e7;
}

.disclosure h2 {
  margin: 0 0 .6em;
  padding: 0;
  border: 0;
  color: var(--white);
  font-size: 24px;
}

.disclosure p {
  margin-bottom: 0;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.63;
}

.footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding: 42px max(28px, calc((100vw - 1120px) / 2)) 48px;
  background: #050f19;
  color: #aebdca;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.footer p {
  max-width: 500px;
  margin: 9px 0 0;
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 760px) {
  body {
    font-size: 17px;
    line-height: 1.68;
  }

  .site-bar-inner {
    padding: 13px 20px;
  }

  .series {
    display: none;
  }

  .hero-inner {
    padding: 60px 20px 55px;
  }

  h1 {
    font-size: clamp(42px, 12.6vw, 60px);
  }

  .subtitle {
    font-size: 21px;
  }

  .thesis {
    margin-top: 30px;
    padding: 19px;
    font-size: 15px;
  }

  .verdict-shell {
    padding: 43px 14px 25px;
  }

  .verdict-card {
    padding: 28px 22px 24px;
  }

  .article-shell {
    padding: 25px 20px 70px;
  }

  .toc {
    margin-bottom: 45px;
  }

  .toc ol {
    columns: 1;
  }

  .scope-note {
    padding: 23px 21px 20px;
    margin-bottom: 48px;
  }

  h2 {
    margin-top: 3em;
    font-size: 30px;
  }

  .comparison {
    width: calc(100vw - 40px);
  }

  .scroll-hint {
    position: sticky;
    left: 0;
    z-index: 1;
    display: block;
    width: max-content;
    margin: 0;
    padding: 8px 12px;
    background: var(--gold);
    color: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .04em;
    line-height: 1.3;
    text-transform: uppercase;
  }

  .evidence-grid,
  .boundary-box {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .gate-list {
    width: 100%;
  }

  blockquote {
    margin-left: 0;
    margin-right: 0;
    padding: 19px 20px;
    font-size: 21px;
  }

  .footer {
    display: grid;
    padding: 35px 20px 42px;
  }
}

@media print {
  .site-bar,
  .toc {
    display: none;
  }

  .hero {
    background: none;
    color: var(--ink);
    border-bottom: 2px solid var(--ink);
  }

  .hero-inner {
    padding: 30px 0;
  }

  h1 {
    color: var(--ink);
    font-size: 48px;
  }

  .subtitle,
  .meta {
    color: var(--muted);
  }

  .thesis {
    background: none;
    color: var(--ink);
  }

  .verdict-shell,
  .article-shell {
    padding-left: 0;
    padding-right: 0;
  }

  .comparison,
  .evidence-grid,
  .boundary-box,
  .gate-list {
    break-inside: avoid;
    box-shadow: none;
  }

  .footer {
    background: none;
    color: var(--ink);
    border-top: 1px solid var(--ink);
  }
}
