
:root {
  --ink: #161811;
  --muted: #64675f;
  --paper: #f8f7f2;
  --line: #dedfd8;
  --lime: #b9f20b;
  --lime-dark: #789b09;
  --black: #050604;
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --sheet-width: 8.5in;
  --sheet-height: 11in;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #d8d8d4;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.45;
}

.publication-toolbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(8,9,6,.94);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
}

.publication-toolbar button {
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  padding: 9px 15px;
  font: 700 11px/1 var(--sans);
  text-transform: uppercase;
  letter-spacing: .08em;
  cursor: pointer;
}

.publication-toolbar button:hover {
  color: var(--lime);
  border-color: var(--lime);
}

.publication-toolbar span {
  color: #999d94;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.publication-stack {
  width: 100%;
  padding: 28px 0 48px;
}

.cover,
.publication-page {
  position: relative;
  width: var(--sheet-width);
  height: var(--sheet-height);
  min-height: var(--sheet-height);
  max-height: var(--sheet-height);
  margin: 0 auto 28px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0,0,0,.16);
}

.cover {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 27%, rgba(57,74,24,.24), transparent 31%),
    radial-gradient(circle at 50% 34%, #0b0f08 0, #050704 42%, #020302 100%);
  color: #fff;
  text-align: center;
  padding: .55in .62in .42in;
}

.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.015), transparent);
}

.cover-glow {
  position: absolute;
  width: 5.7in;
  height: 5.7in;
  border-radius: 50%;
  top: .45in;
  background: radial-gradient(circle, rgba(125,170,25,.07), transparent 70%);
}

.cover-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cover-logo {
  width: 3.65in;
  height: 1.72in;
  object-fit: contain;
  display: block;
  margin: 0 auto .02in;
}

.service-line {
  white-space: nowrap;
  text-transform: uppercase;
  font-size: 7.1pt;
  letter-spacing: .02em;
}

.service-line span {
  color: var(--lime);
  padding: 0 .08in;
}

.cover-rule {
  width: 6.05in;
  height: 1px;
  margin: .43in auto .35in;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.34), transparent);
}

.cover h1 {
  margin: 0;
  max-width: 7.05in;
  font: 700 31.5pt/1.08 var(--serif);
  letter-spacing: -.025em;
}

.cover-deck {
  max-width: 6.85in;
  margin: .18in auto 0;
  color: #ededeb;
  font-size: 10pt;
  font-weight: 700;
  line-height: 1.5;
}

.cover-meta {
  width: 6.45in;
  margin: .58in auto 0;
  padding-top: .21in;
  border-top: 1px solid rgba(255,255,255,.16);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55in;
}

.cover-meta div {
  display: flex;
  flex-direction: column;
  gap: .07in;
}

.cover-meta span {
  color: #858a80;
  text-transform: uppercase;
  font-size: 5.7pt;
  letter-spacing: .19em;
}

.cover-meta strong {
  font-size: 8.1pt;
}

.cover-footer {
  margin: .78in 0 0;
  color: #4f544c;
  text-transform: uppercase;
  letter-spacing: .19em;
  font-size: 5.1pt;
}

.publication-page {
  background: var(--paper);
  padding: .55in .60in .44in;
}

.publication-page.alternate {
  background: #faf9f5;
}

.page-shell {
  height: 100%;
  display: grid;
  grid-template-rows: .36in 1fr .28in;
}

.paper-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  border-bottom: 1px solid #d9dad4;
  padding-bottom: .12in;
}

.paper-header strong {
  font-size: 7.4pt;
  letter-spacing: .07em;
}

.paper-header strong i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: .08in;
  border-radius: 50%;
  background: var(--lime);
  vertical-align: middle;
}

.paper-header span {
  color: #757970;
  font-size: 6.7pt;
  letter-spacing: .12em;
}

.paper-body {
  overflow: hidden;
  padding-top: .28in;
}

.paper-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  border-top: 1px solid #dedfd9;
  padding-top: .09in;
  color: #757970;
  font-size: 6.7pt;
}

.paper-footer strong {
  color: var(--ink);
  font-size: 7pt;
}

.page-kicker {
  display: flex;
  align-items: center;
  gap: .1in;
  color: var(--lime-dark);
  text-transform: uppercase;
  font-size: 7.1pt;
  font-weight: 800;
  letter-spacing: .15em;
}

.page-kicker::before {
  content: "";
  width: .18in;
  height: 1.5px;
  background: var(--lime-dark);
}

h2 {
  margin: .17in 0 .22in;
  font: 700 22.5pt/1.15 var(--serif);
  letter-spacing: -.03em;
}

.lead-copy {
  max-width: 7in;
  font-size: 9pt;
  line-height: 1.47;
}

.lead-copy p { margin: 0 0 .14in; }

.numbered-section { margin-top: .32in; }

.section-heading {
  display: flex;
  align-items: center;
  gap: .1in;
  margin-bottom: .18in;
  padding-bottom: .1in;
  border-bottom: 1.6px solid var(--ink);
}

.section-heading > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: .24in;
  height: .24in;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 6.5pt;
  font-weight: 800;
}

.section-heading h3 {
  margin: 0;
  font: 700 15.5pt/1.15 var(--serif);
  letter-spacing: -.02em;
}

.numbered-section > p,
.analysis-block p,
.conclusion-copy {
  margin: 0 0 .13in;
  color: #3d403a;
  font-size: 8.4pt;
  line-height: 1.48;
}

blockquote {
  margin: .23in 0 0;
  padding: .16in .19in;
  border-left: 3px solid var(--lime);
  background: linear-gradient(90deg, rgba(184,245,11,.065), transparent);
  color: #34372f;
  font: italic 8.6pt/1.58 var(--serif);
}

.table-wrap {
  width: 100%;
  overflow: visible;
  margin-top: .16in;
}

table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 7.15pt;
}

th {
  padding: .085in .07in;
  background: #12140f;
  color: #fff;
  text-align: left;
  text-transform: uppercase;
  font-size: 5.8pt;
  letter-spacing: .015em;
  overflow-wrap: anywhere;
}

th:first-child { width: 39%; }
th:nth-child(2),
th:nth-child(3) { width: 30.5%; }

th:not(:first-child),
td:not(:first-child) { text-align: center; }

th small {
  display: block;
  margin-top: 2px;
  color: #c9cbc5;
  font-size: 5.4pt;
  font-weight: 400;
  text-transform: none;
}

td {
  padding: .085in .07in;
  border-bottom: 1px solid #dfe2d8;
  background: rgba(184,245,11,.025);
  overflow-wrap: anywhere;
}

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

td.winner {
  color: var(--lime-dark);
  font-weight: 800;
}

tfoot td {
  border-top: 1.6px solid var(--ink);
  border-bottom: 0;
  background: transparent;
  font-weight: 800;
}

.callout {
  margin-top: .26in;
  padding: .15in .2in;
  border: 1px solid #dde0d6;
  border-left: 4px solid var(--lime);
  border-radius: .1in;
  background: linear-gradient(100deg, rgba(184,245,11,.08), rgba(255,255,255,.64));
}

.callout h4 {
  margin: 0 0 .05in;
  font-size: 8.7pt;
}

.callout p {
  margin: 0;
  color: #454940;
  font-size: 8pt;
  line-height: 1.45;
}

.analysis-block {
  margin-top: .16in;
}

.analysis-block h4 {
  margin: 0 0 .05in;
  font-size: 8.6pt;
}

.analysis-block h4 b {
  margin-right: .05in;
}

.analysis-block p {
  margin-bottom: .08in;
}

.implications-title,
.cards-title {
  margin: .18in 0 .1in;
  font-size: 8.7pt;
}

.implications {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .07in .25in;
}

.implications div {
  display: flex;
  align-items: flex-start;
  gap: .09in;
}

.implications span {
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  margin-top: .05in;
  background: var(--lime);
}

.implications p {
  margin: 0;
  color: #3d4039;
  font-size: 7.25pt;
  line-height: 1.4;
}

.verdict { margin-top: 0; }

.conclusion-copy {
  margin-top: .23in;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .12in;
}

.cards article {
  min-height: 1.42in;
  padding: .14in;
  border: 1px solid #dce0d4;
  border-radius: .08in;
  background: rgba(255,255,255,.7);
}

.cards article > span {
  display: grid;
  place-items: center;
  width: .23in;
  height: .23in;
  border-radius: 50%;
  background: var(--lime);
  font-size: 7pt;
  font-weight: 800;
}

.cards h5 {
  margin: .09in 0 .04in;
  font-size: 8pt;
}

.cards p {
  margin: 0;
  color: #696d64;
  font-size: 7.1pt;
  line-height: 1.4;
}

/* Scale the fixed Letter page for smaller screens without reflowing it. */
@media screen and (max-width: 900px) {
  .publication-stack {
    --scale: calc((100vw - 24px) / 816);
    padding: 16px 0 28px;
  }

  .cover,
  .publication-page {
    transform: scale(var(--scale));
    transform-origin: top center;
    margin-bottom: calc((11in * var(--scale)) - 11in + 18px);
  }

  .publication-toolbar span {
    display: none;
  }
}

@page {
  size: Letter portrait;
  margin: 0;
}

@media print {
  html, body {
    width: 8.5in;
    margin: 0;
    padding: 0;
    background: #fff;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .publication-toolbar {
    display: none !important;
  }

  .publication-stack {
    padding: 0;
  }

  .cover,
  .publication-page {
    width: 8.5in;
    height: 11in;
    min-height: 11in;
    max-height: 11in;
    margin: 0;
    transform: none !important;
    box-shadow: none;
    page-break-after: always;
    break-after: page;
  }

  .publication-page:last-of-type {
    page-break-after: auto;
    break-after: auto;
  }
}


/* Ensure the homepage/cover remains solid black in browser and PDF output. */
.cover {
  background: #000 !important;
  color: #fff !important;
  -webkit-print-color-adjust: exact !important;
  print-color-adjust: exact !important;
}

.cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 0;
}

.cover-glow,
.cover::after {
  z-index: 1;
}

.cover-inner {
  z-index: 2;
}

html,
body,
.cover,
.publication-page {
  -webkit-print-color-adjust: exact !important;
  print-color-adjust: exact !important;
}

@media print {
  .cover {
    background: #000 !important;
    color: #fff !important;
  }

  .cover::before {
    background: #000 !important;
  }
}
