/* G Center. Night wayfinding: an ink ground, bone lines, and one vermilion
   that only ever means "selected" or "you are here". */

@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("/fonts/plex-mono-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("/fonts/plex-mono-medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --ink: #0b0c0f;
  --ink-2: #14161b;
  --ink-3: #1d2027;
  --bone: #f3efe6;
  --bone-2: #bdb8ad;
  --bone-3: #8f8a80;
  --verm: #ff4a1c;
  --hair: rgb(243 239 230 / 0.16);
  --rail: #3a3d46;
  --sheet-2: #4b483f;
  --sheet-hair: rgb(11 12 15 / 0.16);
  --sans: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(16px, 4vw, 48px);
  --gutter: 72px;
  color-scheme: dark;
}

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

html {
  background: var(--ink);
  scrollbar-color: var(--rail) var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font: 400 1.0625rem/1.55 var(--sans);
  font-variant-numeric: tabular-nums;
  caret-color: var(--verm);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--verm);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--verm);
  outline-offset: 3px;
}

h1,
h2,
h3,
p,
ol,
ul,
dl,
dd,
figure,
fieldset {
  margin: 0;
  padding: 0;
}

ol,
ul {
  list-style: none;
}

fieldset {
  border: 0;
  min-width: 0;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

img,
svg {
  display: block;
}

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.wrap {
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* Links that are part of the chrome carry no underline. Some browsers force
   one on every link, so it is pushed out of the box and clipped. */
.plain {
  display: inline-block;
  overflow: clip;
  text-decoration: none;
  text-underline-offset: 100vh;
}

.textlink {
  color: var(--bone);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-decoration-color: var(--bone-3);
  text-underline-offset: 0.3em;
  transition: text-decoration-color 0.2s;
}
.textlink:hover {
  text-decoration-color: var(--verm);
}
.textlink svg {
  display: inline-block;
  width: 0.95em;
  height: 0.95em;
  margin-left: 0.35em;
  vertical-align: -0.1em;
  transition: translate 0.35s var(--ease);
}
.textlink:hover svg {
  translate: 3px 0;
}
a.is-off {
  color: var(--bone-3);
  text-decoration: none;
  cursor: default;
}

/* The key bar: the G's own bar with its concave end, and the dot beside it. */
.keybar {
  --h: 48px;
  position: relative;
  display: inline-block;
  overflow: clip;
  padding-left: calc(var(--h) * 0.44);
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  line-height: var(--h);
  white-space: nowrap;
  text-decoration: none;
  text-underline-offset: 100vh;
  border: 0;
  background: none;
  cursor: pointer;
}
.keybar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: calc(var(--h) * 0.3);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--verm);
  translate: 0 -50%;
  transition: translate 0.4s var(--ease);
}
.keybar > span {
  display: block;
  padding: 0 calc(var(--h) * 0.5) 0 calc(var(--h) * 0.56);
  background: var(--bone);
  -webkit-mask: radial-gradient(
    circle calc(var(--h) * 1.184) at calc(var(--h) * -1.073) 50%,
    transparent calc(var(--h) * 1.184 - 0.6px),
    #000 calc(var(--h) * 1.184)
  );
  mask: radial-gradient(
    circle calc(var(--h) * 1.184) at calc(var(--h) * -1.073) 50%,
    transparent calc(var(--h) * 1.184 - 0.6px),
    #000 calc(var(--h) * 1.184)
  );
  transition: background-color 0.2s;
}
.keybar:hover::before {
  translate: calc(var(--h) * 0.1) -50%;
}
.keybar:hover > span {
  background: #fff;
}
.keybar.is-off {
  color: var(--ink);
  cursor: default;
}
.keybar.is-off > span,
.keybar.is-off:hover > span {
  background: var(--bone-3);
}
.keybar.is-off::before {
  background: var(--bone-3);
}
.keybar.is-off:hover::before {
  translate: 0 -50%;
}
.keybar--small {
  --h: 40px;
  font-size: 0.9375rem;
}

/* Top */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.brand {
  line-height: 0;
}
.brand img {
  width: auto;
  height: 32px;
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 36px);
}
.nav-link {
  position: relative;
  color: var(--bone-2);
  font-size: 1rem;
  line-height: 2.5;
  transition: color 0.2s;
}
.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--bone);
}
.nav-link[aria-current="page"] {
  padding-left: 13px;
}
.nav-link[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--verm);
  translate: 0 -50%;
}

/* The route: one line down the page, a ring where each section starts. */
.route {
  position: relative;
  padding: 0 0 clamp(80px, 10vw, 144px) var(--gutter);
}
.route::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--rail);
}
.stop {
  padding-top: clamp(72px, 9vw, 128px);
}
.stop-title {
  position: relative;
}
.stop-mark {
  position: absolute;
  left: calc(6px - var(--gutter));
  top: calc(0.5lh - 10px);
  width: 20px;
  height: 20px;
  border: 3.4px solid var(--bone);
  border-radius: 50%;
  background: var(--ink);
}
.stop-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--verm);
  scale: 0;
  transition: scale 0.5s var(--ease);
}
.is-here .stop-mark::after {
  scale: 1;
}

h1 {
  font-size: clamp(2.75rem, 5.4vw, 4.875rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.875rem, 3.1vw, 2.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.lede {
  max-width: 34em;
  margin-top: 20px;
  color: var(--bone-2);
  font-size: 1.1875rem;
  line-height: 1.5;
  text-wrap: pretty;
}
.note {
  max-width: 38em;
  margin-top: 16px;
  color: var(--bone-2);
  text-wrap: pretty;
}
.body {
  margin-top: clamp(28px, 3.4vw, 44px);
}

/* A section whose words sit beside the thing they describe. */
.stop--split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: auto 1fr;
  align-items: start;
  column-gap: clamp(28px, 4vw, 64px);
}
.stop--split > .body {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: none;
  margin-top: 0;
}
.stop--split > .aside {
  grid-column: 1;
  grid-row: 2;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
  padding-top: clamp(40px, 6vw, 80px);
}
.hero .lede {
  max-width: 27em;
  margin-top: 24px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 36px;
}

/* The interchange: every line runs into the bar of the G. */
.xchg {
  --row: 48px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
}
.xchg-fan .ln,
.xchg-fan .lit,
.xchg-fan .lit-stub,
.xchg-head .head-line {
  fill: none;
  stroke: var(--bone);
  stroke-width: var(--w);
  stroke-linejoin: round;
}
.xchg-fan .ln-planned {
  stroke: var(--bone-3);
  stroke-dasharray: 5 7;
}
.xchg-fan .lit-stub,
.xchg-head .head-line {
  stroke: var(--verm);
}
.xchg-fan .lit {
  stroke: var(--verm);
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
  transition: opacity 0.25s linear, stroke-dashoffset 0s 0.25s;
}
.xchg-fan .lit.is-on {
  stroke-dashoffset: 0;
  opacity: 1;
  transition: stroke-dashoffset 0.75s var(--ease), opacity 0s;
}
.xchg-fan .end {
  fill: var(--ink);
  stroke: var(--bone);
}
.xchg-fan .end-planned {
  stroke: var(--bone-3);
}
.xchg-fan .end-dot {
  fill: var(--verm);
  transform-box: fill-box;
  transform-origin: center;
  scale: 0;
  transition: scale 0.45s var(--ease);
}
.xchg-fan .end-dot.is-on {
  scale: 1;
}
.fan-mark path {
  fill: var(--bone);
}
.fan-mark circle {
  fill: var(--verm);
}
.xchg-head {
  display: none;
}
.xchg-lines {
  display: grid;
  grid-auto-rows: var(--row);
  min-width: 256px;
}
.line {
  position: relative;
  display: grid;
  align-content: center;
  gap: 3px;
  padding-left: 14px;
  color: var(--bone-2);
  cursor: pointer;
  transition: color 0.2s;
}
.line input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.line:has(input:focus-visible) {
  outline: 2px solid var(--verm);
  outline-offset: -2px;
}
.line-stop {
  display: none;
}
.line-name {
  font-size: 1.3125rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.line-fare {
  display: none;
  gap: 14px;
  color: var(--bone-3);
  font-size: 0.8125rem;
  line-height: 1.2;
  white-space: nowrap;
}
.line-fare b {
  margin-left: 0.3em;
  color: var(--bone);
  font-weight: 500;
}
.line.is-on,
.line:hover {
  color: var(--bone);
}
.line.is-on .line-fare {
  display: flex;
}
.xchg-note {
  grid-column: 2;
  padding: 10px 0 0 14px;
  color: var(--bone-3);
  font-size: 0.8125rem;
}

/* Home: the lines are services, and two of them are not built yet. */
.xchg--home {
  --row: 84px;
}
.xchg--home .xchg-lines {
  min-width: 288px;
}
.xchg--home .line {
  gap: 6px;
  padding-left: 16px;
  cursor: default;
}
.xchg--home a.line {
  cursor: pointer;
}
.xchg--home .line-name {
  font-size: 1.5rem;
}
.line-sub {
  color: var(--bone-3);
  font-size: 0.9375rem;
  line-height: 1.25;
}
.line.is-planned,
.line.is-planned:hover {
  color: var(--bone-3);
}
.line.is-on .line-sub,
a.line:hover .line-sub {
  color: var(--bone-2);
}

/* The posted sheet: models and rates, printed on bone. */
.sheet {
  padding: 24px;
  padding: clamp(20px, 3.2vw, 44px);
  background: var(--bone);
  color: var(--ink);
}
.sheet ::selection {
  background: var(--ink);
  color: var(--bone);
}
.rates {
  width: 100%;
  border-collapse: collapse;
}
.rates th {
  padding: 0 0 12px;
  border-bottom: 2px solid var(--ink);
  color: var(--sheet-2);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
}
.rates td {
  padding: 15px 0;
  border-bottom: 1px solid var(--sheet-hair);
  vertical-align: middle;
}
.rates .num {
  width: 14%;
  text-align: right;
}
.rates td.num {
  font-size: 1.125rem;
  font-weight: 500;
}
.rates-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.125rem;
  font-weight: 500;
}
.rates-ring {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
  border: 2.7px solid var(--ink);
  border-radius: 50%;
}
.rates-ring::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4.4px;
  height: 4.4px;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--verm);
  scale: 0;
  transition: scale 0.45s var(--ease);
}
.rates tr.is-on .rates-ring::after {
  scale: 1;
}
/* A mark, not a control: only the chosen model's row shows its ring. */
.rates tr:not(.is-on) .rates-ring {
  opacity: 0;
}
.rates-ring {
  transition: opacity 0.25s;
}
.id {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 400 0.875rem/1.2 var(--mono);
}
.copy {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  opacity: 0.62;
  cursor: pointer;
  transition: opacity 0.2s;
}
.copy:hover,
.copy:focus-visible,
.copy.is-done {
  opacity: 1;
}
.copy svg {
  width: 16px;
  height: 16px;
}
.copy .tick,
.copy.is-done .sheets {
  display: none;
}
.copy.is-done .tick {
  display: block;
}
.sheet :focus-visible {
  outline-color: var(--ink);
}
.sheet-foot {
  margin-top: 18px;
  color: var(--sheet-2);
  font-size: 0.9375rem;
}

/* Where to buy */
.markets {
  max-width: 760px;
  border-top: 1px solid var(--hair);
}
.market {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--hair);
}
.market-name {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.market-soon {
  color: var(--bone-3);
}
.market.is-open .market-soon,
.market:not(.is-open) .market-go {
  display: none;
}
.volume {
  max-width: 38em;
  margin-top: 28px;
  color: var(--bone-2);
}

/* Set up */
.setup {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(28px, 4vw, 64px);
}
.values > div {
  padding: 18px 0;
  border-bottom: 1px solid var(--hair);
}
.values > div:first-child {
  border-top: 1px solid var(--hair);
}
.values dt {
  color: var(--bone-3);
  font-size: 0.9375rem;
}
.values dd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}
.values .mono {
  font: 400 0.9375rem/1.4 var(--mono);
  white-space: nowrap;
}
.values dd > .mono {
  white-space: normal;
  overflow-wrap: anywhere;
}
.values p {
  color: var(--bone-2);
  font-size: 1rem;
}
.pick {
  position: relative;
  flex: 1;
}
.pick select {
  width: 100%;
  height: 44px;
  padding: 0 40px 0 14px;
  border: 1px solid var(--hair);
  border-radius: 0;
  background: var(--ink-2);
  font: 400 0.9375rem/1 var(--mono);
  appearance: none;
  cursor: pointer;
}
.pick select:hover {
  border-color: var(--bone-3);
}
.pick svg {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 14px;
  height: 14px;
  translate: 0 -50%;
  pointer-events: none;
}
.code {
  min-width: 0;
  border: 1px solid var(--hair);
  background: var(--ink-2);
}
.code-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 8px 0 4px;
}
.code-top ~ pre {
  border-top: 1px solid var(--hair);
}
.tabs {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab {
  position: relative;
  height: 48px;
  padding: 0 14px;
  border: 0;
  background: none;
  color: var(--bone-3);
  font-size: 0.9375rem;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s;
}
.tab:hover {
  color: var(--bone);
}
.tab[aria-selected="true"] {
  color: var(--bone);
}
.tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 2px;
  background: var(--verm);
}
.tab:focus-visible {
  outline-offset: -4px;
}
pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  font: 400 0.84375rem/1.65 var(--mono);
  scrollbar-color: var(--rail) var(--ink-2);
  tab-size: 2;
}
pre .k {
  color: var(--bone-3);
}
pre .v {
  color: var(--verm);
}

/* The machine: the one vermilion surface, where a key's credit is read. */
.machine {
  max-width: 760px;
  padding: 24px;
  padding: clamp(20px, 3.2vw, 40px);
  background: var(--verm);
  color: var(--ink);
}
.machine ::selection {
  background: var(--ink);
  color: var(--bone);
}
.machine :focus-visible {
  outline-color: var(--ink);
}
.machine label {
  display: block;
  font-weight: 600;
}
.machine-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.machine input {
  flex: 1;
  min-width: 0;
  height: 54px;
  padding: 0 16px;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: var(--bone);
  font: 400 0.9375rem/1 var(--mono);
}
.machine input::placeholder {
  color: var(--bone-3);
  opacity: 1;
}
.machine button {
  height: 54px;
  padding: 0 24px;
  border: 0;
  background: var(--ink);
  color: var(--bone);
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s;
}
.machine button:hover {
  background: var(--ink-3);
}
.machine button:disabled {
  background: rgb(11 12 15 / 0.55);
  cursor: progress;
}
.readout {
  margin-top: 22px;
  min-height: 124px;
}
.readout-msg {
  max-width: 34em;
  font-weight: 500;
}
.readout[data-state="ok"] .readout-msg,
.readout:not([data-state="ok"]) .readout-ok {
  display: none;
}
.readout-left {
  font-size: 1.0625rem;
  font-weight: 500;
}
.readout-n {
  margin-right: 0.18em;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}
.gauge {
  position: relative;
  height: 8px;
  margin: 20px 11px 14px;
  background: rgb(11 12 15 / 0.24);
}
.gauge-used {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform-origin: left;
  scale: var(--part, 0) 1;
  transition: scale 0.9s var(--ease);
}
.gauge-run {
  position: absolute;
  inset: 0;
  translate: calc(var(--part, 0) * 100%) 0;
  transition: translate 0.9s var(--ease);
}
.gauge-here {
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 22px;
  border: 3.7px solid var(--ink);
  border-radius: 50%;
  background: var(--verm);
  translate: -50% -50%;
}
.gauge-here::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  translate: -50% -50%;
  border-radius: 50%;
  background: var(--bone);
}
.readout-sub {
  font-weight: 500;
}
.terminal {
  max-width: 760px;
  margin-top: 28px;
}
.terminal p {
  margin-bottom: 10px;
  color: var(--bone-2);
}

/* Home: a purchase, stop by stop */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.step {
  position: relative;
  padding: 44px 28px 0 0;
}
.step::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 4px;
  background: var(--bone);
}
.step:last-child::before {
  right: auto;
  width: 10px;
}
.step::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border: 3.4px solid var(--bone);
  border-radius: 50%;
  background: var(--ink);
}
.step p {
  max-width: 17em;
  margin-top: 8px;
  color: var(--bone-2);
}

/* Foot: the line ends here. */
.foot {
  position: relative;
  padding: 0 0 56px var(--gutter);
}
.foot::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  width: 20px;
  height: 20px;
  border: 3.4px solid var(--bone);
  border-radius: 50%;
  background: var(--ink);
}
.foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 40px;
}
.foot-name {
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 20px;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
}
.foot-links a {
  color: var(--bone-2);
}
.foot-small {
  margin-top: 20px;
  color: var(--bone-3);
  font-size: 0.9375rem;
}

/* One authored moment: the lines draw in from their ends to the centre. */
@keyframes draw {
  from {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
  }
  to {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    translate: 0 6px;
  }
}
.js .xchg:not(.is-drawn) .ln:not(.ln-planned) {
  animation: draw 1.15s var(--ease) backwards;
  animation-delay: calc(var(--i) * 55ms);
}
.js .xchg:not(.is-drawn) .ln-planned {
  animation: rise 0.6s var(--ease) 0.5s backwards;
}

@media (max-width: 1179px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }
  .hero .lede {
    max-width: 32em;
  }
  .xchg {
    justify-self: start;
  }
  .setup {
    grid-template-columns: minmax(0, 1fr);
  }
  .stop--split {
    display: block;
  }
  .stop--split > .body {
    max-width: 760px;
    margin-top: clamp(28px, 3.4vw, 44px);
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }
  .step:nth-child(2)::before {
    right: auto;
    width: 10px;
  }
}

@media (max-width: 759px) {
  :root {
    --gutter: 0px;
  }
  .route::before,
  .foot::before,
  h1 .stop-mark {
    display: none;
  }
  .stop-mark {
    position: relative;
    left: auto;
    top: auto;
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 12px;
    border-width: 2.7px;
    vertical-align: 0.02em;
  }
  .stop-mark::after {
    width: 4.4px;
    height: 4.4px;
  }
  .nav-link {
    display: none;
  }
  .top {
    height: 64px;
  }
  .brand img {
    height: 28px;
  }

  /* One line with every stop on it, hanging from the mark. */
  .xchg,
  .xchg--home {
    --row: 56px;
    display: block;
    justify-self: stretch;
  }
  .xchg-fan {
    display: none;
  }
  .xchg-head {
    display: block;
  }
  .xchg-lines {
    min-width: 0;
    grid-auto-rows: minmax(var(--row), auto);
  }
  .line,
  .xchg--home .line {
    padding: 10px 0 10px 114px;
  }
  .line::before {
    content: "";
    position: absolute;
    left: 85px;
    top: 0;
    bottom: 0;
    width: 10px;
    background: var(--bone);
  }
  .line:last-child::before {
    bottom: 50%;
  }
  .line:has(~ .line.is-on)::before {
    background: var(--verm);
  }
  .line.is-on::before {
    background: linear-gradient(var(--verm) 50%, var(--bone) 50%);
  }
  .line.is-on:last-child::before {
    background: var(--verm);
  }
  .line.to-planned::before {
    background: linear-gradient(var(--bone) 50%, transparent 50%),
      repeating-linear-gradient(var(--bone-3) 0 5px, transparent 5px 12px);
  }
  .line.is-planned::before {
    background: repeating-linear-gradient(var(--bone-3) 0 5px, transparent 5px 12px);
  }
  .line-stop {
    position: absolute;
    left: 79px;
    top: 50%;
    display: block;
    width: 22px;
    height: 22px;
    border: 3.7px solid var(--bone);
    border-radius: 50%;
    background: var(--ink);
    translate: 0 -50%;
  }
  .is-planned .line-stop {
    border-color: var(--bone-3);
  }
  .line-stop::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 5px;
    height: 5px;
    translate: -50% -50%;
    border-radius: 50%;
    background: var(--verm);
    scale: 0;
    transition: scale 0.45s var(--ease);
  }
  .line.is-on .line-stop::after {
    scale: 1;
  }
  .line-fare {
    gap: 10px;
  }
  .xchg-note {
    padding: 12px 0 0;
  }

  /* The sheet folds each model into its own block. */
  .rates thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .rates tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 16px 0;
    border-bottom: 1px solid var(--sheet-hair);
  }
  .rates tr:first-child {
    border-top: 2px solid var(--ink);
  }
  .rates td {
    padding: 0;
    border: 0;
  }
  .rates td:nth-child(1),
  .rates td:nth-child(2) {
    grid-column: 1 / -1;
  }
  .rates td:nth-child(2) {
    margin: 2px 0 10px 28px;
  }
  .rates .num {
    width: auto;
    text-align: left;
  }
  .rates td.num::before {
    content: attr(data-label);
    display: block;
    color: var(--sheet-2);
    font-size: 0.8125rem;
    font-weight: 400;
  }
  .rates td.num:nth-child(3) {
    padding-left: 28px;
  }

  .machine-row {
    flex-direction: column;
  }
  .machine input {
    flex: none;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
  }
  .step,
  .step:nth-child(2) {
    padding: 0 0 32px 40px;
  }
  .step::before,
  .step:nth-child(2)::before,
  .step:last-child::before {
    left: 8px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 4px;
    height: auto;
  }
  .step:last-child::before {
    bottom: auto;
    height: 10px;
  }
  .step h3 {
    line-height: 20px;
  }
  .foot {
    padding-left: 0;
  }
}

/* Fingers need a larger target than a pointer does. */
@media (pointer: coarse) {
  .copy {
    width: 44px;
    height: 44px;
  }
  .keybar--small {
    --h: 44px;
  }
}

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