@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 400;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  --inset-x: 32px;
  --inset-y: clamp(16px, calc(25dvh - 100px), 80px);
  background: #000;
  color: #f4f4f4;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; overflow: clip; }
body { margin: 0; }
button, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: #2d4f6d; color: #fff; }

.routes {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.page {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  min-width: 0;
  padding: var(--inset-y) var(--inset-x);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(12px, calc(10dvh - 40px), 32px);
  isolation: isolate;
}
.intro { max-width: 384px; }
h1 { margin: 0 0 12px; font-size: 16px; line-height: 24px; font-weight: 500; }
h2 { font-weight: 500; }
p { margin: 0; }
.bio { color: #c9c9c9; line-height: 1.5; }
.examples { display: grid; gap: 14px; width: max-content; max-width: calc(100vw - var(--inset-x) * 2); overflow-x: auto; scrollbar-width: thin; scrollbar-color: #292929 transparent; margin-top: clamp(16px, calc(6dvh - 7.2px), 36px); color: #969696; line-height: 1.5; font-size: 14px; }
.examples p { padding-inline-start: 12px; border-inline-start: 2px solid #454545; font-weight: 450; white-space: nowrap; }
.cities { width: 100%; max-width: 384px; min-height: 0; }
.city-scroll {
  --fade-top: 0px;
  --fade-bottom: 0px;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 var(--fade-top), #000 calc(100% - var(--fade-bottom)), transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 var(--fade-top), #000 calc(100% - var(--fade-bottom)), transparent);
}
.city-scroll::-webkit-scrollbar { display: none; }
.city-scroll:focus-visible { outline: none; }
.cities:has(.city-scroll:focus-visible) { outline: 1px solid #454545; outline-offset: 4px; }
.city-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid #242424; }
.city-list li { border-top: 1px solid #242424; padding: 11px 12px; color: #a6a6a6; font-size: 14px; line-height: 21px; font-weight: 450; }
footer { width: fit-content; max-width: 100%; }
.copy-button {
  border: 1px solid #292929;
  border-radius: 999px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  height: 36px;
  background: #0c0c0c;
  color: #c6c6c6;
  font-size: 13px;
  font-weight: 450;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 1px 2px #0006;
  touch-action: manipulation;
}
.copy-button[data-width-animated="true"] {
  transition: width 280ms cubic-bezier(.18, 1.35, .32, 1);
}
@media (hover: hover) and (pointer: fine) {
  .copy-button:hover { color: #e8e8e8; background: #151515; border-color: #353535; box-shadow: 0 3px 9px #0008; }
}
.copy-button:focus-visible { outline: 1px solid #8f8f8f; outline-offset: 4px; }
.copy-button:active { background: #111; }
.button-label { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; min-width: 0; width: 100%; }
.button-label > span {
  grid-area: 1 / 1;
  width: max-content;
  white-space: nowrap;
  pointer-events: none;
  transform-origin: center;
  opacity: 0;
  filter: blur(3px);
  transform: scale(.94);
  transition: opacity 140ms cubic-bezier(.22, 1, .36, 1), filter 140ms cubic-bezier(.22, 1, .36, 1), transform 140ms cubic-bezier(.22, 1, .36, 1);
}
.copy-button:not([data-copied="true"]) .label-ready,
.copy-button[data-copied="true"] .label-copied {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
  transition-duration: 200ms, 240ms, 240ms;
  transition-delay: 45ms;
}
.manual-copy { position: absolute; z-index: 1; left: var(--inset-x); right: var(--inset-x); bottom: max(24px, env(safe-area-inset-bottom)); max-width: 384px; max-height: calc(100% - 48px); padding: 16px; overflow-y: auto; background: #101010; border: 1px solid #292929; border-radius: 12px; font-size: 13px; color: #b8b8b8; }
.manual-copy label { display: block; line-height: 1.5; }
.manual-copy textarea { width: 100%; max-height: 35dvh; margin-top: 10px; padding: 12px; border: 1px solid #444; background: #101010; color: #ddd; font-size: 13px; line-height: 1.5; resize: none; }
.no-script { max-width: 384px; margin-top: 14px; color: #999; font-size: 13px; overflow-wrap: anywhere; }
.no-script a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (min-width: 1600px) { :root { --inset-x: 40px; } }
@media (max-width: 600px) {
  :root { --inset-x: 24px; --inset-y: 40px; }
  .page { padding-top: max(var(--inset-y), env(safe-area-inset-top)); padding-bottom: max(var(--inset-y), env(safe-area-inset-bottom)); }
  .intro { max-width: 350px; }
}
@media (prefers-reduced-motion: reduce) {
  .routes { display: none; }
  .copy-button, .copy-button[data-width-animated="true"] { transition: none; }
  .button-label > span { transition: none; filter: none; transform: none; }
}

/* The dock-centered map fills the right column and fades into the page. */
.page { grid-template-columns: 384px minmax(0, 1fr); column-gap: clamp(40px, 6vw, 104px); }
.intro { grid-column: 1; grid-row: 1; }
.cities { grid-column: 1; grid-row: 2; }
footer { grid-column: 1; grid-row: 3; }
.city-list li { padding: 0; }
.city-button { display: block; width: 100%; position: relative; border: 0; padding: 11px 12px; background: transparent; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.city-button::before { content: ''; position: absolute; width: 4px; height: 4px; top: calc(50% - 2px); left: 0; border-radius: 50%; background: #fff; opacity: 0; }
.city-button[aria-pressed="true"] { color: #fff; }
.city-button[aria-pressed="true"]::before { opacity: 1; }
.city-button:focus-visible { outline: 1px solid #606060; outline-offset: -3px; }
.map-panel { grid-column: 2; grid-row: 1 / -1; margin: 0; min-width: 0; min-height: 0; position: relative; }
/* The map fades into the page without labels, controls, or a visible frame. */
.map-stage {
  position: absolute;
  inset: 0;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 48%, #000e 65%, #0009 79%, #0003 92%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, #000 48%, #000e 65%, #0009 79%, #0003 92%, transparent 100%);
}
.map-layer { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 180ms ease-out; }
.map-layer.is-visible { opacity: 1; }
footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.map-attribution { color: #858585; font-size: 11px; line-height: 16px; text-decoration: none; }
.map-attribution:hover { color: #bbb; }
.map-attribution:focus-visible { outline: 1px solid #606060; outline-offset: 4px; }
.manual-copy { flex-basis: 100%; }
@media (max-width: 1000px) and (min-width: 761px) { .page { grid-template-columns: 350px minmax(0, 1fr); column-gap: 32px; } }
@media (max-width: 760px) {
  :root { --inset-x: 24px; --inset-y: 24px; --picker-height: 176px; --picker-row: 44px; }
  .page {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: minmax(0, 1fr) 36px auto auto var(--picker-height);
    gap: 0 12px;
    padding-top: max(20px, env(safe-area-inset-top));
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }
  .map-panel { grid-column: 1 / -1; grid-row: 1; margin-bottom: 20px; }
  .intro, footer { display: contents; }
  h1 { grid-column: 1; grid-row: 2; align-self: center; margin: 0; white-space: nowrap; }
  .copy-button { grid-column: 2; grid-row: 2; justify-self: end; }
  .bio { grid-column: 1 / -1; grid-row: 3; margin-top: 12px; }
  .examples { grid-column: 1 / -1; grid-row: 4; margin-block: 24px 20px; }
  .cities { grid-column: 1 / -1; grid-row: 5; max-width: none; position: relative; }
  .cities::before {
    content: ''; position: absolute; pointer-events: none; inset-inline: 0;
    top: calc((var(--picker-height) - var(--picker-row)) / 2);
    height: var(--picker-row); border-block: 1px solid #242424;
  }
  .city-scroll {
    scroll-snap-type: y mandatory;
    touch-action: pan-y;
    overflow-anchor: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  }
  .city-list { position: relative; border: 0; padding-block: calc((var(--picker-height) - var(--picker-row)) / 2); }
  .city-list li { height: var(--picker-row); border: 0; font-size: 17px; line-height: var(--picker-row); scroll-snap-align: center; }
  .city-button { height: 100%; padding: 0 12px; text-align: center; backface-visibility: hidden; transition: color 180ms cubic-bezier(.2, 0, 0, 1); }
  .city-button::before { display: none; }
  .city-button[aria-selected="true"] { color: #f4f4f4; }
  .map-attribution { position: absolute; right: 0; bottom: 0; }
  .map-attribution:focus-visible { outline-offset: -1px; }
  .manual-copy, .no-script { grid-column: 1 / -1; }
}
@media (max-width: 760px) and (max-height: 680px) {
  :root { --picker-height: clamp(88px, calc(33dvh - 66px), 132px); }
  .page { padding-block: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-bottom)); }
  .map-panel { margin-bottom: 16px; }
  .examples { margin-block: 20px 16px; }
}
@media (max-width: 760px) and (max-height: 500px) {
  :root { --picker-height: clamp(44px, calc(25dvh - 24px), 100px); }
  .page { padding-block: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-bottom)); }
  .map-panel { margin-bottom: 12px; }
  .bio { margin-top: 8px; }
  .examples { gap: 10px; margin-block: 12px; }
}
@media (max-width: 360px) { :root { --inset-x: 16px; } }
@media (prefers-reduced-motion: reduce) { .map-layer, .city-button { transition: none; } }
