:root {
  --ink: #14110e;
  --paper: #efece4;
  --sheet: #fffdf7;
  --muted: #6f675d;
  --accent: #b3402a;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--ink);
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--ink);
}

img {
  max-width: 100%;
}

.sheet {
  width: min(1040px, calc(100% - 48px));
  margin: 48px auto;
  padding: 64px 72px 40px;
  background: var(--sheet);
  border: 1px solid var(--ink);
}

.masthead {
  padding-bottom: 32px;
  border-bottom: 2px solid var(--ink);
}

.masthead-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 56px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 28px;
  height: 28px;
  filter: brightness(0);
}

.brand-name {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.doc-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 600;
}

.lede {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: 20px;
  line-height: 1.45;
  color: #2b2620;
}

.masthead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border: 1px solid var(--ink);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-solid {
  background: var(--ink);
  color: var(--sheet);
}

.btn-solid:hover {
  background: var(--sheet);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--sheet);
}

.meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 40px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--ink);
}

.meta div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta dt {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.meta dd {
  margin: 0;
  font-size: 15px;
}

.contents {
  padding: 28px 0 32px;
  border-bottom: 1px solid var(--ink);
}

.contents h2 {
  margin: 0 0 16px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.contents li {
  break-inside: avoid;
  margin: 0 0 8px;
}

.contents a {
  display: flex;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  border-bottom: 1px solid transparent;
}

.contents a:hover {
  border-bottom-color: var(--ink);
}

.contents a span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  padding-top: 5px;
}

.section {
  padding: 44px 0;
  border-bottom: 1px solid var(--ink);
}

.section:last-of-type {
  border-bottom: 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 22px;
}

.section-no {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
}

.section h2 {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.section h3 {
  margin: 0 0 6px;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.section p {
  margin: 0 0 14px;
  max-width: 720px;
}

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

.lead-text {
  font-size: 20px;
  line-height: 1.5;
}

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

.feature {
  padding: 20px 0;
  border-top: 1px solid var(--ink);
}

.feature-label {
  display: block;
  margin-bottom: 10px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.logic-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
}

.logic-item {
  padding: 20px 0;
  border-top: 1px solid var(--ink);
}

.compare {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
  font-size: 15.5px;
}

.compare th,
.compare td {
  padding: 12px 14px 12px 0;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--ink);
}

.compare thead th {
  padding-top: 0;
  padding-bottom: 10px;
  border-top: 0;
  border-bottom: 1px solid var(--ink);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.compare td:first-child {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 14px;
  border-top: 2px solid var(--ink);
}

.stat-value {
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.roadmap {
  list-style: none;
  margin: 0;
  padding: 0;
}

.roadmap li {
  display: flex;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--ink);
  font-size: 17px;
}

.roadmap li span {
  flex: 0 0 56px;
  padding-top: 5px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.map-figure {
  margin: 0;
}

.map-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px;
  background: var(--sheet);
  border: 1px solid var(--ink);
  border-bottom: 0;
}

.map-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.map-launch {
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.map-launch:hover {
  text-decoration: underline;
}

.map-figure iframe {
  display: block;
  width: 100%;
  height: 520px;
  background: #e7e3da;
  border: 1px solid var(--ink);
}

.map-figure figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.small {
  font-size: 13px;
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--ink);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .sheet {
    width: 100%;
    margin: 0;
    padding: 28px 20px 32px;
    border: 0;
    border-top: 1px solid var(--ink);
  }

  .masthead-top {
    margin-bottom: 36px;
  }

  .meta {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contents ol {
    columns: 1;
  }

  .feature-grid,
  .logic-list {
    grid-template-columns: 1fr;
  }

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

  .map-figure iframe {
    height: 380px;
  }

  .compare th,
  .compare td {
    padding-right: 8px;
  }
}

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

  body {
    background: #fff;
    font-size: 11pt;
  }

  .sheet {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .masthead-actions,
  .map-launch,
  .map-figure iframe,
  .contents {
    display: none;
  }

  .map-figure {
    padding: 12px;
    border: 1px solid #000;
  }

  .map-figure::after {
    content: "Live map available online.";
    font-family: var(--sans);
    font-size: 9pt;
  }

  .section {
    break-inside: avoid;
  }

  a {
    color: #000;
    text-decoration: none;
  }
}
