@font-face {
  font-family: Archivo;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/archivo-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: Archivo;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/archivo-latin-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: Archivo;
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/fonts/archivo-latin-900-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
}

:root {
  --ink: #16313d;
  --paper: #f7f6f1;
  --field: #fff;
  --cleared: #1b7a4b;
  --muted: #5c6e76;
  --manifest: #c77b27;
  color: var(--ink);
  background: var(--paper);
  font-family: Archivo, Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(rgb(22 49 61 / 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 32px;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--manifest);
  outline-offset: 3px;
}

.docket {
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto;
  border: 2px solid var(--ink);
  background: var(--paper);
}

.masthead {
  display: grid;
  grid-template-columns: 1fr auto auto;
  border-bottom: 1.5px solid var(--ink);
  background: var(--field);
}

.wordmark,
.masthead-cell,
.masthead-cta {
  padding: 18px 22px;
  font: 600 11px/1.3 'IBM Plex Mono', monospace;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Archivo, sans-serif;
  font-size: 15px;
  font-weight: 900;
}

.wordmark::before {
  width: 10px;
  height: 10px;
  background: var(--cleared);
  content: '';
}

.masthead-cell,
.masthead-cta {
  border-left: 1.5px solid var(--ink);
}

.masthead-cell span {
  display: block;
  color: var(--muted);
  font-size: 9px;
}

.masthead-cta {
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--cleared);
}

.route-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1.5px solid var(--ink);
  background: var(--field);
}

.route-nav a {
  display: flex;
  min-height: 44px;
  align-items: center;
  padding: 11px 16px;
  border-right: 1px solid rgb(22 49 61 / 0.35);
  font: 500 10px/1.2 'IBM Plex Mono', monospace;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
  min-height: 500px;
  border-bottom: 2px solid var(--ink);
}

.hero-copy {
  display: grid;
  align-content: center;
  padding: clamp(46px, 7vw, 92px);
  border-right: 1.5px solid var(--ink);
}

.eyebrow,
.route-ref,
.source-stamp,
.section-label,
.field-label,
.limitations,
.breadcrumbs,
.footer {
  font: 500 10px/1.55 'IBM Plex Mono', monospace;
  letter-spacing: 0.07em;
}

.eyebrow,
.section-label,
.field-label {
  color: var(--muted);
}

.hero h1 {
  max-width: 14ch;
  margin: 18px 0;
  font-size: clamp(43px, 6.5vw, 82px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 62ch;
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
}

.hero-ledger {
  display: grid;
  align-content: end;
  padding: 28px;
  color: var(--paper);
  background: var(--ink);
}

.route-ref {
  align-self: start;
  color: rgb(247 246 241 / 0.64);
}

.stamp {
  display: grid;
  place-items: center;
  width: 180px;
  height: 180px;
  margin: auto;
  border: 3px solid currentColor;
  outline: 2px solid currentColor;
  outline-offset: -14px;
  border-radius: 50%;
  rotate: -5deg;
  font: 600 13px/1.3 'IBM Plex Mono', monospace;
  text-align: center;
}

.review-cell {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 36px;
  padding-top: 14px;
  border-top: 1px solid rgb(247 246 241 / 0.45);
  font: 500 9px/1.5 'IBM Plex Mono', monospace;
  color: rgb(247 246 241 / 0.74);
}

.breadcrumbs {
  padding: 12px 24px;
  border-bottom: 1.5px solid var(--ink);
  background: var(--manifest);
}

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

.sheet {
  min-height: 280px;
  padding: clamp(30px, 5vw, 60px);
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  background: rgb(255 255 255 / 0.42);
}

.sheet:nth-child(2n) {
  border-right: 0;
}

.sheet h2 {
  max-width: 20ch;
  margin: 12px 0 18px;
  font-size: clamp(27px, 3.4vw, 44px);
  line-height: 1.02;
}

.sheet p,
.sheet li {
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.65;
}

.sheet ul,
.sheet ol {
  padding-left: 20px;
}

.fact-table {
  margin-top: 28px;
  border-top: 1.5px solid var(--ink);
}

.fact-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.45fr) 1fr;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgb(22 49 61 / 0.45);
}

.fact-row strong {
  font-size: 15px;
  line-height: 1.45;
}

.source-stamp {
  grid-column: 1 / -1;
  padding: 26px;
  border-bottom: 1.5px solid var(--ink);
  color: var(--paper);
  background: var(--ink);
}

.source-register {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(36px, 6vw, 72px);
  border-bottom: 1.5px solid var(--ink);
  background: var(--field);
}

.source-register h2 {
  max-width: 14ch;
  margin: 12px 0 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
}

.source-register p {
  max-width: 54ch;
  line-height: 1.6;
}

.source-register ol {
  margin: 0;
  padding: 0;
  border-top: 1.5px solid var(--ink);
  list-style: none;
  counter-reset: source;
}

.source-register li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 4px 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgb(22 49 61 / 0.4);
  counter-increment: source;
}

.source-register li::before {
  grid-row: 1 / 3;
  content: counter(source, decimal-leading-zero);
  font: 500 10px/1.5 'IBM Plex Mono', monospace;
}

.source-register a {
  font-weight: 700;
}

.source-register li span {
  color: var(--muted);
  font: 500 9px/1.5 'IBM Plex Mono', monospace;
  letter-spacing: 0.06em;
}

.source-stamp a {
  color: var(--paper);
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: clamp(32px, 5vw, 64px);
  border-bottom: 1.5px solid var(--ink);
  background: var(--field);
}

.cta-band h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 48px);
}

.cta-band p {
  max-width: 64ch;
  margin: 0;
  line-height: 1.55;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 17px 22px;
  color: var(--paper);
  background: var(--cleared);
  border: 1.5px solid var(--ink);
  font: 600 11px/1.3 'IBM Plex Mono', monospace;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 22px;
  background: var(--paper);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.limitations {
  padding: 14px 22px;
  color: var(--paper);
  background: var(--manifest);
}

@media (max-width: 760px) {
  .docket {
    width: min(100% - 16px, 1180px);
    margin: 8px auto;
  }

  .masthead {
    grid-template-columns: 1fr auto;
  }

  .masthead-cell {
    display: none;
  }

  .wordmark,
  .masthead-cta {
    padding: 15px 13px;
  }

  .hero,
  .content-grid,
  .cta-band,
  .source-register {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 440px;
    padding: 42px 22px;
    border-right: 0;
    border-bottom: 1.5px solid var(--ink);
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .hero-ledger {
    min-height: 360px;
  }

  .sheet,
  .sheet:nth-child(2n) {
    min-height: 0;
    padding: 34px 22px;
    border-right: 0;
  }

  .fact-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .cta-band {
    justify-items: start;
    padding: 38px 22px;
  }

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

@media print {
  body {
    background: white;
  }

  .docket {
    width: 100%;
    margin: 0;
    border: 1px solid var(--ink);
  }

  .masthead-cta,
  .route-nav,
  .cta-band {
    display: none;
  }

  .hero,
  .content-grid {
    break-inside: avoid;
  }
}

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