:root {
  --ink: #000;
  --paper: #fff;
  --page: 1180px;
  --reading: 760px;
  --rule: 1px solid var(--ink);
  --heavy-rule: 3px solid var(--ink);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  background: var(--paper);
  color: var(--ink);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -5rem;
  z-index: 20;
  padding: 0.5rem 0.75rem;
  background: var(--ink);
  color: var(--paper);
}

.skip-link:focus {
  top: 0.75rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
  padding: 0.5rem max(1rem, calc((100vw - var(--page)) / 2));
  border-bottom: var(--heavy-rule);
}

.site-name {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.site-mark,
.source-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.article-header {
  padding: 2.25rem 0 1.5rem;
  border-bottom: var(--heavy-rule);
}

.kicker,
.section-label,
.contents-title,
.pair-label {
  margin: 0 0 0.45rem;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
ul,
ol,
blockquote,
dl,
table {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 970px;
  margin-bottom: 0.8rem;
  font-size: clamp(2.65rem, 7vw, 6.6rem);
  font-weight: 400;
  line-height: 0.93;
}

.dek {
  max-width: 830px;
  margin-bottom: 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2.1vw, 1.55rem);
  line-height: 1.35;
}

.article-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border: var(--rule);
}

.article-facts div {
  padding: 0.65rem 0.8rem;
}

.article-facts div + div {
  border-left: var(--rule);
}

.article-facts dt {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-facts dd {
  margin: 0.25rem 0 0;
  font-size: 0.86rem;
  line-height: 1.3;
}

.document-grid {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 3.2rem;
}

.contents {
  align-self: start;
  position: sticky;
  top: 1rem;
  padding: 1.5rem 0;
  font-size: 0.78rem;
  line-height: 1.35;
}

.contents ol {
  margin: 0;
  padding-left: 1.7rem;
}

.contents li {
  padding: 0.28rem 0;
  border-bottom: var(--rule);
}

.article-body {
  min-width: 0;
}

.article-body > section,
.article-body > footer {
  padding: 2.6rem 0;
  border-bottom: var(--heavy-rule);
}

.article-body h2 {
  max-width: 850px;
  margin-bottom: 1.1rem;
  font-size: clamp(2rem, 4vw, 3.55rem);
  font-weight: 400;
  line-height: 1.02;
}

.article-body p,
.article-body ul {
  max-width: var(--reading);
}

.article-body p {
  margin-bottom: 1rem;
}

.article-body ul {
  padding-left: 1.25rem;
}

.lead-section > p:not(.section-label),
.conclusion > p:not(.section-label),
.limits-section > p:not(.section-label) {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
}

.thesis-block {
  max-width: 850px;
  margin: 2rem 0 0;
  padding: 1.2rem 1.3rem;
  border: var(--heavy-rule);
  background: var(--ink);
  color: var(--paper);
}

.thesis-block p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1.16;
}

.argument-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  column-gap: 2rem;
  align-items: end;
  margin-bottom: 1.25rem;
}

.argument-header .section-label,
.argument-header h2 {
  grid-column: 1;
}

.argument-header blockquote {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  padding: 0.8rem 0 0.2rem 1rem;
  border-left: var(--heavy-rule);
  font-size: 0.84rem;
  line-height: 1.35;
}

.argument-header blockquote p {
  margin-bottom: 0.7rem;
}

.argument-header cite {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.66rem;
  font-style: normal;
  text-transform: uppercase;
}

table {
  width: 100%;
  margin-bottom: 1.4rem;
  border-collapse: collapse;
  font-size: 0.8rem;
  line-height: 1.35;
}

caption {
  padding: 0.5rem 0;
  border-top: var(--heavy-rule);
  text-align: left;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

th,
td {
  padding: 0.55rem 0.65rem;
  border: var(--rule);
  vertical-align: top;
  text-align: left;
}

thead th {
  background: var(--ink);
  color: var(--paper);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

tbody th {
  width: 22%;
}

.evidence-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 900px;
  margin: 1.4rem 0;
  border: var(--heavy-rule);
}

.evidence-pair > div {
  padding: 1rem;
}

.evidence-pair > div + div {
  border-left: var(--heavy-rule);
  background: var(--ink);
  color: var(--paper);
}

.evidence-pair p:last-child {
  margin-bottom: 0;
}

.ruling,
.formula {
  padding: 0.85rem 1rem;
  border: var(--heavy-rule);
  font-family: "Courier New", Courier, monospace;
  font-size: 0.82rem;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin: 1.5rem 0;
  border: var(--heavy-rule);
}

.metric-strip div {
  padding: 0.8rem;
}

.metric-strip div + div {
  border-left: var(--heavy-rule);
}

.metric-strip strong {
  display: block;
  margin-bottom: 0.15rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1;
}

.metric-strip span {
  display: block;
  font-size: 0.72rem;
  line-height: 1.3;
}

.compact-list {
  columns: 2;
  column-gap: 2rem;
}

.limit-list {
  max-width: 900px;
  margin-bottom: 1.5rem;
  padding: 0;
  list-style: none;
  border-top: var(--heavy-rule);
}

.limit-list li {
  padding: 0.8rem 0;
  border-bottom: var(--rule);
}

.table-scroll {
  overflow-x: auto;
}

.ledger-section table {
  min-width: 760px;
}

.final-statement {
  max-width: 850px;
  margin: 1.8rem 0;
  padding: 1.25rem;
  background: var(--ink);
  color: var(--paper);
}

.final-statement p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  line-height: 1.05;
}

.source-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  max-width: 900px !important;
  margin: 0 0 1.2rem;
  padding: 0 !important;
  border-top: var(--heavy-rule);
  border-left: var(--rule);
  list-style: none;
}

.source-list li {
  border-right: var(--rule);
  border-bottom: var(--rule);
}

.source-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 76px;
  padding: 0.7rem;
  text-decoration: none;
}

.source-list a:hover,
.source-list a:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

.source-list a:hover .source-mark,
.source-list a:focus-visible .source-mark {
  border-color: var(--paper);
  background: var(--ink);
  color: var(--paper);
}

.source-list strong,
.source-list small {
  display: block;
}

.source-list small,
.source-note {
  font-size: 0.72rem;
  line-height: 1.3;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0 2rem;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .document-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contents {
    position: static;
    padding-bottom: 0;
  }

  .contents ol {
    columns: 2;
    column-gap: 2rem;
  }

  .argument-header {
    grid-template-columns: 1fr;
  }

  .argument-header blockquote {
    grid-column: 1;
    grid-row: auto;
    max-width: var(--reading);
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .site-header {
    align-items: flex-start;
  }

  .site-header nav {
    display: grid;
    gap: 0.25rem;
    text-align: right;
  }

  main,
  .site-footer {
    width: min(calc(100% - 1.25rem), var(--page));
  }

  .article-header {
    padding-top: 1.5rem;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 4.2rem);
  }

  .article-facts,
  .evidence-pair,
  .metric-strip,
  .source-list {
    grid-template-columns: 1fr;
  }

  .article-facts div + div,
  .evidence-pair > div + div,
  .metric-strip div + div {
    border-left: 0;
    border-top: var(--rule);
  }

  .contents ol,
  .compact-list {
    columns: 1;
  }

  .article-body > section,
  .article-body > footer {
    padding: 2rem 0;
  }

  .article-body h2 {
    font-size: 2.25rem;
  }

  .score-table {
    font-size: 0.72rem;
  }

  th,
  td {
    padding: 0.42rem;
  }

  .site-footer {
    display: block;
  }

  .site-footer p + p {
    margin-top: 0.3rem;
  }
}

@media print {
  @page {
    margin: 16mm;
  }

  .site-header,
  .contents,
  .site-footer,
  .skip-link {
    display: none;
  }

  main {
    width: 100%;
  }

  .article-header {
    padding-top: 0;
  }

  h1 {
    font-size: 44pt;
  }

  .document-grid {
    display: block;
  }

  .article-body > section,
  .article-body > footer {
    break-inside: auto;
  }

  table,
  .evidence-pair,
  .metric-strip,
  blockquote {
    break-inside: avoid;
  }

  a {
    text-decoration: none;
  }
}
