@font-face {
  font-family: "Space Grotesk";
  src: url("/fonts/space-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("/fonts/literata-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("/fonts/literata-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --paper: #f7f4ec;
  --ink: #1c2621;
  --muted: #55615a;
  --edge: #d9d3c4;
  --moss: #2e6a4c;
  --moss-fill: #e3efe7;
  --on-moss: #f7f4ec;
  --clay: #c4693a;
  --clay-text: #9c4e26;
  --clay-fill: #f6e6db;
  --band: #2e6a4c;
  --band-ink: #f7f4ec;
  --code-bg: #0e1411;
  --code-ink: #e8e4da;
  --code-edge: #30363d;
  --display: "Space Grotesk", system-ui, sans-serif;
  --text: "Literata", Georgia, serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --stem: 3.5rem;
  --line: 3px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0e1411;
    --ink: #e8e4da;
    --muted: #a3ada6;
    --edge: #30363d;
    --moss: #7cc49a;
    --moss-fill: #1b2b22;
    --on-moss: #0e1411;
    --clay: #e59a6b;
    --clay-text: #e59a6b;
    --clay-fill: #2e211a;
    --band: #1b2b22;
    --band-ink: #e8e4da;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 1.5rem;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--text);
  font-variant-numeric: lining-nums;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
main,
.docs {
  flex: 1;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
figure {
  margin: 0;
}
a {
  color: var(--moss);
  text-underline-offset: 0.16em;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 3px solid var(--moss);
  outline-offset: 2px;
  border-radius: 2px;
}
h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
}
p {
  margin: 0 0 1em;
}
code {
  font-family: var(--mono);
  font-size: 0.86em;
  overflow-wrap: anywhere;
}
main:not(.prose) code {
  white-space: nowrap;
}
pre {
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  overflow-x: auto;
  background: var(--code-bg);
  color: var(--code-ink);
  border: 1px solid var(--code-edge);
  border-radius: 6px;
  font-size: 0.875rem;
  line-height: 1.55;
}
pre code {
  font-size: inherit;
  overflow-wrap: normal;
}

.wrap {
  width: 100%;
  max-width: calc(74rem + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.skip {
  position: absolute;
  left: -100vw;
}
.skip:focus {
  left: var(--gutter);
  top: 0.5rem;
  z-index: 2;
  background: var(--paper);
  padding: 0.25rem 0.5rem;
}

.topbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-block: 1.25rem;
}
.logo {
  display: block;
  /* Clear space from the brand rules: the hit area keeps it free of other links. */
  padding-block: 0.25rem;
}
.logo img {
  width: 10.5rem;
  margin-left: -0.25rem;
}
.topbar nav {
  display: flex;
  gap: 0.25rem 1.5rem;
  font-family: var(--display);
  font-weight: 500;
}
.topbar nav a {
  color: var(--ink);
  text-decoration: none;
  padding-block: 0.5rem;
}
.topbar nav a:hover {
  text-decoration: underline;
}

/* The hero is the mark at full size: the recording is the note, planted in the ground line. */
.hero {
  border-bottom: var(--line) solid var(--ink);
}
.hero-grid {
  display: grid;
  gap: 2.5rem;
}
.hero-grid:not(.hero-note) {
  padding-top: clamp(1.5rem, 5vw, 4rem);
  padding-bottom: var(--stem);
}
.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.lead {
  font-size: 1.1875rem;
  line-height: 1.55;
  max-width: 34rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin: 1.5rem 0 0;
  font-family: var(--display);
  font-weight: 500;
}
.button {
  display: inline-block;
  padding: 0.7rem 1.15rem;
  border-radius: 6px;
  background: var(--moss);
  color: var(--on-moss);
  text-decoration: none;
  transition: transform 100ms ease-out;
}
.button:hover {
  text-decoration: underline;
}
.button:active {
  transform: scale(0.97);
}
.button.on-band {
  background: var(--band-ink);
  color: var(--band);
}
.planted {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 668px;
}
.planted img {
  width: 100%;
}
/* On a phone every pixel of width goes to the terminal text. */
@media (max-width: 39.99rem) {
  .planted {
    width: calc(100% + 2 * var(--gutter) - 0.5rem);
    max-width: none;
    margin-inline: calc(0.25rem - var(--gutter));
  }
}
.planted::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  width: 4px;
  height: var(--stem);
  margin-left: -2px;
  background: var(--moss);
}
.planted::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: calc(100% + var(--stem) + var(--line) / 2);
  left: 50%;
  width: 1.25rem;
  height: 1.25rem;
  margin: -0.625rem 0 0 -0.625rem;
  border-radius: 50%;
  background: var(--clay);
}
.hero-note {
  padding-top: 1rem;
  color: var(--muted);
  font-size: 0.9375rem;
}
.hero-note p {
  justify-self: center;
  width: 100%;
  max-width: 668px;
  margin: 0;
}

.ground {
  border-bottom: 2px solid var(--ink);
  margin-top: clamp(3.5rem, 8vw, 6rem);
}
.ground h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.025em;
  padding-bottom: 0.6rem;
}
.section-body {
  padding-top: clamp(2rem, 4vw, 3rem);
}
h3 {
  font-size: 1.375rem;
  margin-bottom: 0.9rem;
}
.steps:not(.quick) h3 {
  font-size: 1.0625rem;
  letter-spacing: -0.005em;
  margin-bottom: 0.2rem;
}
.measure {
  max-width: 40rem;
}
.split {
  display: grid;
  gap: 2rem;
}
.split > figure,
.split > .scroll {
  min-width: 0;
}
.split figure img {
  width: 100%;
}
/* On a phone the diagrams nearly reach the edge, so their text stays readable. */
@media (max-width: 39.99rem) {
  .split > figure {
    margin-inline: calc(0.25rem - var(--gutter));
  }
}

.said {
  display: grid;
  gap: 2rem;
}
blockquote {
  margin: 0;
}
.said-label {
  font-family: var(--display);
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.said-quote {
  font-family: var(--display);
  font-size: clamp(1.375rem, 3.2vw, 1.875rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0;
}
.source {
  position: relative;
  padding-left: 1.75rem;
}
.source::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--clay);
}
.source .said-quote {
  color: var(--clay-text);
}

.steps {
  list-style: none;
  counter-reset: step;
  margin: 0 0 1.25rem;
  padding: 0;
}
.steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 2.25rem;
  margin-bottom: 1.1rem;
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.06em;
  font: 600 1.25rem/1.3 var(--display);
  color: var(--moss);
}
.steps p {
  margin: 0;
}
.quick {
  max-width: 52rem;
  margin-top: 1.5rem;
}
.quick h3 {
  font-size: 1.125rem;
  margin-bottom: 0.4rem;
}
.quick pre {
  margin-bottom: 0;
}
.stages {
  margin: 0 0 1.25rem;
}
.stages > div {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  margin-bottom: 1rem;
}
.stages dt {
  font: 600 1.25rem/1.3 var(--display);
  color: var(--moss);
}
.stages dd {
  margin: 0;
}
.abroad {
  color: var(--clay-text);
}
.abroad-note {
  background: var(--clay-fill);
  border-radius: 6px;
  padding: 1.25rem 1.4rem 0.5rem;
  color: var(--ink);
}
.abroad-note h3 {
  color: var(--clay-text);
  font-size: 1.1875rem;
  margin-bottom: 0.5rem;
}

.scroll {
  max-width: 100%;
  overflow-x: auto;
  margin-bottom: 1.25rem;
}
table {
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.45;
}
caption {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.numbers {
  width: 100%;
  font-family: var(--display);
  font-variant-numeric: lining-nums tabular-nums;
}
.numbers th,
.numbers td {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--edge);
  text-align: right;
  white-space: nowrap;
  vertical-align: top;
}
.numbers thead th {
  font-weight: 600;
  white-space: normal;
  vertical-align: bottom;
  border-bottom: 2px solid var(--ink);
}
.numbers thead td {
  border-bottom: 2px solid var(--ink);
}
.numbers tbody th {
  font-weight: 400;
  text-align: left;
  white-space: normal;
  padding-left: 0;
}
/* On a phone the row label takes the full width and the values sit below it as a grid. */
@media (max-width: 39.99rem) {
  .numbers,
  .numbers thead,
  .numbers tbody {
    display: block;
  }
  .numbers tr {
    display: grid;
    border-bottom: 1px solid var(--edge);
    padding-block: 0.45rem;
  }
  .numbers.cols-2 tr {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .numbers.cols-3 tr {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .numbers thead tr {
    border-bottom: 2px solid var(--ink);
  }
  .numbers thead td {
    display: none;
  }
  .numbers th,
  .numbers td,
  .numbers thead th {
    border-bottom: 0;
    padding: 0.1rem 0;
  }
  .numbers tbody th {
    grid-column: 1 / -1;
    padding-bottom: 0.25rem;
  }
}
.flag {
  display: inline-block;
  padding-inline: 0.35em;
  border: 1px solid var(--muted);
  border-radius: 3px;
  color: var(--muted);
  font-size: 0.8125rem;
}

.plain {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}
.plain li {
  margin-bottom: 0.7rem;
}
.status {
  display: grid;
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.status > div {
  padding: 1.25rem 1.4rem 0.5rem;
  border-radius: 6px;
}
.status-built {
  border: 1px solid var(--edge);
}
.status-planned {
  border: 1px dashed var(--muted);
}
.status .plain li {
  font-size: 1rem;
}

.band {
  margin-top: clamp(4rem, 8vw, 6rem);
  background: var(--band);
  color: var(--band-ink);
  padding-block: 2.5rem;
  font-family: var(--display);
}
.band a {
  color: inherit;
}
.band :focus-visible {
  outline-color: var(--band-ink);
}
.band .button.on-band {
  color: var(--band);
}
.cta {
  padding-block: 1.5rem 3rem;
}
.cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.025em;
}
.operator {
  margin-bottom: 0.5rem;
}
.footer-links a {
  display: inline-block;
  padding-block: 0.2rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.75rem;
  margin: 0;
  padding: 0;
  font-size: 0.9375rem;
}

.page {
  padding-top: clamp(2rem, 5vw, 4rem);
}
.page > * {
  max-width: 40rem;
}
.page h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}
address {
  font-style: normal;
  margin-bottom: 1.5rem;
}
.page h2 {
  font-size: 1.25rem;
  margin-top: 1.75rem;
  margin-bottom: 0.4rem;
}
.legal dt {
  font-family: var(--display);
  font-weight: 600;
}
.legal dd {
  margin: 0 0 1rem;
}

.docs {
  display: grid;
  gap: 1.5rem;
  padding-top: 1rem;
}
.docs-side {
  display: none;
}
.docs-menu {
  border: 1px solid var(--muted);
  border-radius: 6px;
  padding: 0.6rem 0.9rem;
  font-family: var(--display);
}
.docs-menu summary {
  cursor: pointer;
  font-weight: 500;
}
.docs-nav h2 {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
  margin: 1.1rem 0 0.3rem;
  color: var(--muted);
}
.docs-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.docs-nav {
  font-family: var(--display);
  font-size: 0.9375rem;
  line-height: 1.35;
}
.docs-nav a {
  display: block;
  padding-block: 0.22rem;
  color: var(--ink);
  text-decoration: none;
}
.docs-nav a:hover {
  text-decoration: underline;
}
.docs-nav a[aria-current="page"] {
  color: var(--moss);
  font-weight: 600;
}
.docs-nav .toc {
  margin: 0.15rem 0 0.5rem;
  padding-left: 0.75rem;
  border-left: 2px solid var(--edge);
  font-size: 0.875rem;
}
.docs-nav .toc a {
  color: var(--muted);
}
.prose {
  min-width: 0;
  max-width: 46rem;
  overflow-wrap: break-word;
}
.prose h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}
.prose h2 {
  font-size: 1.625rem;
  margin: 2.5rem 0 0.75rem;
}
.prose h3 {
  font-size: 1.25rem;
  margin: 2rem 0 0.6rem;
}
.prose h4 {
  margin: 1.5rem 0 0.5rem;
}
.anchor {
  margin-left: 0.4em;
  color: var(--muted);
  text-decoration: none;
  font-weight: 400;
  opacity: 0;
}
h1:hover > .anchor,
h2:hover > .anchor,
h3:hover > .anchor,
h4:hover > .anchor,
.anchor:focus-visible {
  opacity: 1;
}
.prose p,
.prose li,
.prose blockquote {
  max-width: 38rem;
}
.only-english {
  border: 1px solid var(--muted);
  border-radius: 6px;
  padding: 0.6rem 0.9rem;
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.9375rem;
}
.prose ul,
.prose ol {
  padding-left: 1.4rem;
  margin: 0 0 1em;
}
.prose li {
  margin-bottom: 0.35em;
}
.prose blockquote {
  margin: 0 0 1em;
  padding-left: 1rem;
  border-left: 3px solid var(--edge);
  color: var(--muted);
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--edge);
  margin: 2rem 0;
}
.prose th,
.prose td {
  padding: 0.5rem 0.75rem 0.5rem 0;
  border-bottom: 1px solid var(--edge);
  text-align: left;
  vertical-align: top;
  min-width: 7rem;
}
.prose th {
  font-family: var(--display);
  font-weight: 600;
  border-bottom: 2px solid var(--ink);
}
.prose td code {
  overflow-wrap: normal;
}
.edit {
  margin-top: 3rem;
  font-family: var(--display);
}
.docs-index dt {
  font-family: var(--display);
  font-weight: 600;
}
.docs-index dd {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

@media (min-width: 52rem) {
  .status {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 62rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 3.5rem;
    align-items: end;
  }
  .hero-note p {
    grid-column: 2;
  }
  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 3.5rem;
    align-items: start;
  }
  .split > figure {
    position: sticky;
    top: 1.5rem;
  }
  .split-even {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 2.5rem;
  }
  .docs {
    grid-template-columns: 15rem minmax(0, 1fr);
    gap: 3.5rem;
    align-items: start;
  }
  .docs-menu {
    display: none;
  }
  .docs-side {
    display: block;
    position: sticky;
    top: 1rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
  .button:active {
    transform: none;
  }
}
