/* getmysteryrun.com. The App Store screenshots' world: pale lavender
   ground, Luckiest Guy headlines in night-purple ink, the app's own dark
   screens, and Strava orange only ever on a route. One theme on purpose:
   the store page and the app's share cards are light, and every colour
   below is set explicitly so the page holds on any host ground. */

@font-face {
  font-family: "Luckiest Guy";
  src: url("/fonts/luckiest-guy.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree-var.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ground: #eee8fa;
  --ground-hi: #f7f3fe;
  --paper: #ffffff;
  --ink: #1c1038;
  --body: #3d2f66;
  --muted: #5e4d8c;
  --faint: #8577ad;
  --line: #ddd4f2;
  --night: #1c1038;
  --night-2: #281a4d;
  --night-3: #32215e;
  --night-line: #43306f;
  --cream: #fff7ea;
  --dim: #b5a6da;
  --blue: #3bb8f5;
  --blue-deep: #1f9fe0;
  --orange: #fc4c02;
  --map: #efeef3;
  --iris: linear-gradient(135deg, #ff5fa2 0%, #9a6be8 36%, #3bb8f5 68%, #4fe087 100%);

  --display: "Luckiest Guy", "Arial Black", "Helvetica Neue", sans-serif;
  --text: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --h1: clamp(3.1rem, 1.6rem + 6.2vw, 6.6rem);
  --h2: clamp(2.2rem, 1.5rem + 2.7vw, 3.5rem);
  --h3: clamp(1.35rem, 1.2rem + 0.5vw, 1.6rem);
  --lede: clamp(1.15rem, 1.05rem + 0.35vw, 1.32rem);

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;
  --section: clamp(72px, 8vw, 120px);
  --radius: 22px;
  --shadow: 0 30px 60px -26px rgba(44, 22, 102, 0.4), 0 10px 20px -12px rgba(44, 22, 102, 0.22);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground) linear-gradient(180deg, var(--ground-hi) 0, var(--ground) 720px) no-repeat;
  color: var(--body);
  font: 400 1.0625rem/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p a, li a, dd a { color: var(--ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: rgba(28, 16, 56, 0.35); }
p a:hover, li a:hover, dd a:hover { text-decoration-color: var(--orange); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: #ffd0bb; color: var(--ink); }
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--cream); padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }

h1, h2, .display {
  font-family: var(--display);
  font-weight: 400;
  color: var(--ink);
  line-height: 0.96;
  letter-spacing: 0.004em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.lede { font-size: var(--lede); line-height: 1.5; color: var(--muted); max-width: 36ch; }

/* ---- header ------------------------------------------------------------ */

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 243, 254, 0.85);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 rgba(221, 212, 242, 0.8);
}
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.brand span { font-family: var(--display); font-size: 1.15rem; padding-top: 3px; letter-spacing: 0.03em; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--muted); padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--orange); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  background: var(--blue);
  color: #fff;
  font: 800 0.95rem/1 var(--text);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.btn:hover { background: var(--blue-deep); }
@media (max-width: 880px) { .nav { display: none; } .top .btn { margin-left: auto; } }

.badge { display: inline-block; line-height: 0; border-radius: 11px; transition: transform 0.15s; }
.badge:hover { transform: translateY(-1px); }
.badge img { height: 54px; width: auto; }

/* ---- hero -------------------------------------------------------------- */

.hero { padding: clamp(36px, 6vw, 84px) 0 clamp(8px, 2vw, 24px); }
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.hero .lede { margin-top: 24px; }
.hero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 36px; }
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
}

/* ---- the run card: map, route, caption bar (the app's share card) ------- */

.runcard {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--map);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  isolation: isolate;
}
.runcard > img, .runcard > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.runcard .route, .runcard .halo { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.runcard .route { stroke: var(--orange); stroke-width: 13; }
.runcard .halo { stroke: rgba(255, 255, 255, 0.92); stroke-width: 23; }
.runcard .head { fill: #fff; stroke: var(--ink); stroke-width: 6; }
.runcard .osm { position: absolute; top: 10px; right: 14px; font-size: 0.66rem; color: rgba(28, 16, 56, 0.42); }
.caption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px 18px;
  background: var(--night);
  color: var(--cream);
}
.caption .who { display: flex; align-items: center; gap: 7px; font-family: var(--display); font-size: 0.7rem; letter-spacing: 0.07em; color: var(--dim); }
.caption .who i { width: 17px; height: 17px; border-radius: 5px; background: var(--blue); display: grid; place-items: center; font-style: normal; color: #fff; font-size: 0.68rem; padding-top: 2px; }
.caption .name { font-weight: 800; font-size: clamp(1.1rem, 0.95rem + 0.7vw, 1.45rem); margin-top: 5px; line-height: 1.15; }
.caption .sub { font-size: 0.8rem; color: var(--dim); margin-top: 3px; font-variant-numeric: tabular-nums; min-height: 1.25em; }
.caption .miles { font-family: var(--display); font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.45rem); line-height: 0.9; font-variant-numeric: tabular-nums; white-space: nowrap; }
.caption .miles small { font-size: 0.45em; margin-left: 3px; }

/* The hero card sits on the app icon's gradient, turned the other way. */
.stage { position: relative; width: 100%; max-width: 460px; justify-self: center; }
.stage::before, .stage::after {
  content: "";
  position: absolute;
  inset: 0 0 64px;
  border-radius: var(--radius);
  transform: rotate(4.5deg) translate(16px, 8px);
}
.stage::before { background: var(--iris); }
.stage::after { background-image: radial-gradient(rgba(255, 255, 255, 0.55) 2.5px, transparent 3px); background-size: 22px 22px; }
.stage .runcard { transform: rotate(-2deg); z-index: 1; }
.stage .name.mystery { color: var(--dim); }
.stage .pop { animation: pop 0.5s cubic-bezier(0.2, 1.5, 0.4, 1) both; }
@keyframes pop { from { transform: scale(0.7); opacity: 0; } to { transform: none; opacity: 1; } }
.stage-controls { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 30px; height: 34px; }
.dots { display: flex; gap: 4px; }
.dots button { width: 22px; height: 22px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #c9bce8; transition: background 0.2s, transform 0.2s; }
.dots button[aria-current="true"]::before { background: var(--ink); transform: scale(1.15); }
.textbtn {
  border: 0;
  background: none;
  padding: 6px 2px;
  font: 700 0.92rem/1 var(--text);
  color: var(--ink);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(28, 16, 56, 0.3);
}
.textbtn:hover { text-decoration-color: var(--orange); }

/* ---- sections ---------------------------------------------------------- */

.section { padding: var(--section) 0; }
.section.tight-top { padding-top: clamp(48px, 5vw, 72px); }
.section.flush-top { padding-top: 0; }
.intro { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.intro.center { margin-inline: auto; text-align: center; justify-items: center; }

/* how it works: number, title, the screen it happens on */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.step { display: grid; justify-items: center; align-content: start; text-align: center; gap: 12px; }
.num {
  width: 46px; height: 46px; border-radius: 50%;
  border: 3px solid var(--ink);
  display: grid; place-items: center;
  font-family: var(--display); font-size: 1.35rem; color: var(--ink); padding-top: 4px;
}
.step h3 { font-family: var(--display); font-weight: 400; font-size: var(--h3); line-height: 1; margin-top: 4px; }
.step p { color: var(--muted); max-width: 28ch; }
.phone {
  margin-top: 22px;
  width: min(100%, 290px);
  aspect-ratio: 9 / 14.5;
  border-radius: 44px 44px 0 0;
  background: #120a26;
  padding: 10px 10px 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  -webkit-mask-image: linear-gradient(180deg, #000 76%, transparent 99%);
          mask-image: linear-gradient(180deg, #000 76%, transparent 99%);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 35px 35px 0 0; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; gap: 56px; } }

/* real runs */
.runs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px); }
.runs figure { margin: 0; }
.runs .runcard { --radius: 18px; }
.runs .caption { padding: 12px 16px 14px; }
.runs figcaption { margin-top: 12px; font-size: 0.88rem; color: var(--faint); font-variant-numeric: tabular-nums; }
@media (max-width: 880px) {
  .runs {
    grid-template-columns: repeat(6, 80%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 10px;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .runs::-webkit-scrollbar { display: none; }
  .runs figure { scroll-snap-align: start; }
}

/* two-column feature rows */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.split .copy { display: grid; gap: 20px; align-content: start; }
.split .copy p { max-width: 44ch; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split .art { order: 2; } }

/* dark band: the app's own night screens */
.night { background: var(--night); color: var(--dim); }
.night h2 { color: var(--cream); }
.night p { color: var(--dim); }
.night p strong { color: var(--cream); font-weight: 700; }
.night p a.on-night { color: var(--cream); font-weight: 700; text-decoration-color: rgba(255, 247, 234, 0.4); }
.night p a.on-night:hover { text-decoration-color: var(--orange); }
.strava-shot { max-width: 420px; width: 100%; justify-self: center; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.65); background: #fff; transform: rotate(1.5deg); }
.strava-shot img { width: 100%; }

/* the lock screen and what the voice says */
.lock {
  width: min(100%, 320px);
  margin-inline: auto;
  aspect-ratio: 9 / 18;
  border-radius: 50px;
  background: radial-gradient(120% 70% at 50% 0%, #3a2a74 0%, #1a0f36 58%, #0f0822 100%);
  border: 10px solid #0c0619;
  box-shadow: var(--shadow);
  padding: 52px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
}
.lock .date { font-weight: 600; font-size: 0.95rem; opacity: 0.8; }
.lock .time { font-weight: 700; font-size: 4.6rem; line-height: 1; letter-spacing: -0.03em; margin-top: 2px; }
.lock .bubble {
  margin-top: auto;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  border-radius: 18px 18px 18px 6px;
  padding: 11px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.5);
}
.lock .bubble small { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 700; color: var(--faint); margin-bottom: 3px; letter-spacing: 0.02em; }
.lock .bubble small svg { width: 13px; height: 13px; }
.playing { margin-top: 12px; align-self: stretch; border-radius: 20px; background: rgba(255, 255, 255, 0.12); padding: 13px; display: grid; gap: 11px; font-size: 0.82rem; }
.playing .track { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; line-height: 1.3; }
.playing .art { width: 40px; height: 40px; border-radius: 8px; background: linear-gradient(135deg, #ff5fa2, #ffd644); }
.playing small { display: block; opacity: 0.62; }
.playing .vol { display: grid; grid-template-columns: 14px 1fr 14px; gap: 8px; align-items: center; opacity: 0.85; }
.playing .vol svg { width: 14px; height: 14px; }
.playing .bar { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.playing .bar i { display: block; height: 100%; width: 72%; background: #fff; animation: duck 5s ease-in-out infinite; }
@keyframes duck { 0%, 34%, 78%, 100% { width: 72%; } 42%, 70% { width: 24%; } }
@media (prefers-reduced-motion: reduce) { .playing .bar i { animation: none; } }

.said { list-style: none; padding: 0; margin: 6px 0 0; display: grid; }
.said li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 18px; padding: 13px 0; border-top: 1px solid var(--line); align-items: baseline; }
.said li:last-child { border-bottom: 1px solid var(--line); }
.said span { font-size: 0.82rem; color: var(--faint); font-weight: 600; line-height: 1.35; }
.said q { quotes: none; color: var(--ink); font-weight: 600; font-size: 1.02rem; line-height: 1.4; }
@media (max-width: 560px) { .said li { grid-template-columns: 1fr; gap: 2px; } }

/* drawings */
.tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.tiles li { display: grid; }
.tile {
  background: var(--paper);
  border-radius: 16px;
  padding: 16px 8px 13px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(221, 212, 242, 0.9), 0 6px 14px -12px rgba(44, 22, 102, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}
a.tile:hover { transform: translateY(-3px); box-shadow: 0 14px 24px -14px rgba(44, 22, 102, 0.45); }
.tile:target { box-shadow: 0 0 0 3px var(--orange), 0 14px 24px -14px rgba(44, 22, 102, 0.45); }
.tile svg { width: 58px; height: 58px; }
.tile path { fill: none; stroke: var(--orange); stroke-width: 4.2; stroke-linejoin: round; stroke-linecap: round; }
.tile b { font-size: 0.88rem; font-weight: 700; line-height: 1.2; }
.tile span { font-size: 0.76rem; color: var(--faint); font-weight: 600; font-variant-numeric: tabular-nums; margin-top: -4px; }
.tiles.big { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.tiles.big .tile { padding: 22px 10px 16px; }
.tiles.big .tile svg { width: 84px; height: 84px; }
.tiles.big .tile path { stroke-width: 3.4; }
@media (max-width: 560px) {
  .tiles, .tiles.big { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .tiles.big .tile { padding: 16px 6px 12px; }
  .tiles.big .tile svg { width: 58px; height: 58px; }
}
.more { margin-top: 26px; font-weight: 700; }
.more a { text-decoration: none; color: var(--ink); box-shadow: inset 0 -2px 0 rgba(252, 76, 2, 0.45); }
.more a:hover { box-shadow: inset 0 -2px 0 var(--orange); }

/* cities */
.regions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px clamp(24px, 3vw, 44px); }
.regions h3 { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.regions ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.regions a { text-decoration: none; font-weight: 600; color: var(--ink); }
.regions a:hover { color: var(--orange); }
.after { margin-top: clamp(32px, 4vw, 48px); max-width: 62ch; color: var(--muted); }
@media (max-width: 880px) { .regions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* questions */
.qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 72px); margin: 0; }
.qa > div { padding: 22px 0 24px; border-top: 1px solid var(--line); }
.qa dt { font-weight: 800; color: var(--ink); font-size: 1.08rem; line-height: 1.35; }
.qa dd { margin: 8px 0 0; color: var(--muted); }
@media (max-width: 880px) { .qa { grid-template-columns: 1fr; } }

/* last call, in the app icon's world */
.finale { position: relative; background: var(--iris); color: #fff; text-align: center; overflow: hidden; padding: clamp(80px, 10vw, 136px) 0; }
.finale::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.4) 3px, transparent 3.5px); background-size: 34px 34px; }
.finale .wrap { position: relative; display: grid; justify-items: center; gap: 24px; }
.finale h2 { font-size: clamp(2.8rem, 1.6rem + 5vw, 5.6rem); color: var(--cream); text-shadow: 0 5px 0 rgba(28, 16, 56, 0.25); max-width: 12ch; }
.finale .icon { width: 92px; height: 92px; border-radius: 21px; box-shadow: 0 16px 30px -10px rgba(28, 16, 56, 0.5); }

/* footer */
footer { background: var(--night); color: var(--dim); padding: 56px 0 36px; font-size: 0.92rem; }
footer .cols { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 32px; }
footer h2 { font-family: var(--text); margin: 0 0 12px; color: var(--cream); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.4; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer a, footer li a { color: var(--dim); text-decoration: none; }
footer a:hover, footer li a:hover { color: var(--cream); }
footer .brand { color: var(--cream); }
footer .made { margin-top: 14px; max-width: 30ch; }
footer .legal { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--night-line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.8rem; }
@media (max-width: 880px) { footer .cols { grid-template-columns: 1fr 1fr; } footer .cols > :first-child { grid-column: 1 / -1; } }

/* ---- inner pages -------------------------------------------------------- */

.page-head { padding: clamp(36px, 5vw, 72px) 0 clamp(36px, 4.5vw, 60px); }
.page-head .lede { margin-top: 20px; max-width: 48ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.88rem; color: var(--faint); font-weight: 600; padding: 0; margin: 0 0 20px; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #b9aedb; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }

/* city pages */
.city .hero h1 { font-size: clamp(2.9rem, 1.6rem + 4.6vw, 5.5rem); }
.city .hero .note { margin-top: 28px; font-size: 0.9rem; color: var(--faint); max-width: 44ch; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
@media (max-width: 880px) { .pair { grid-template-columns: 1fr; } }
.route-notes { display: grid; gap: 18px; align-content: start; }
.route-notes h3 { font-family: var(--display); font-weight: 400; font-size: var(--h3); line-height: 1; }
.route-notes .stats { color: var(--faint); font-weight: 600; font-size: 0.95rem; margin-top: -8px; font-variant-numeric: tabular-nums; }
.voice { background: var(--night); color: var(--cream); border-radius: 18px; padding: 18px 20px 20px; }
.voice ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: cue; }
.voice li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: 0.95rem; line-height: 1.4; counter-increment: cue; }
.voice li::before { content: counter(cue); width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 0.75rem; display: grid; place-items: center; }
.voice p { font-size: 0.8rem; color: var(--dim); margin-bottom: 12px; font-weight: 600; }
.route-notes .streets { color: var(--muted); font-size: 0.95rem; }
.route-notes .streets b { color: var(--ink); }
.mini-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.mini-steps li { display: grid; gap: 12px; align-content: start; }
.mini-steps h3 { font-family: var(--display); font-weight: 400; font-size: var(--h3); line-height: 1; }
.mini-steps p { color: var(--muted); }
@media (max-width: 880px) { .mini-steps { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.chips a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--paper); text-decoration: none; font-weight: 700; font-size: 0.9rem; color: var(--ink); box-shadow: 0 1px 0 rgba(221, 212, 242, 0.9); }
.chips a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.nearby { margin-top: clamp(56px, 7vw, 88px); }
.nearby h2 { font-family: var(--text); font-size: 1.05rem; font-weight: 800; line-height: 1.3; }

/* cities index */
.citygrid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: clamp(16px, 2vw, 24px); }
.citycard { display: grid; gap: 10px; text-decoration: none; color: var(--ink); }
.citycard img { border-radius: 16px; aspect-ratio: 4 / 5; width: 100%; object-fit: cover; background: var(--map); box-shadow: 0 14px 28px -20px rgba(44, 22, 102, 0.55); transition: transform 0.15s; }
.citycard:hover img { transform: translateY(-3px); }
.citycard b { font-size: 1.02rem; line-height: 1.2; }
.citycard span { display: block; font-size: 0.82rem; color: var(--faint); font-weight: 600; margin-top: 2px; }
.region + .region { margin-top: clamp(48px, 6vw, 72px); }
.region > h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); margin-bottom: 22px; }

/* drawings page */
.pack + .pack { margin-top: clamp(56px, 7vw, 88px); }
.pack .intro { margin-bottom: 26px; }
.pack h2 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.7rem); }
.pack p { color: var(--muted); max-width: 60ch; }
.table-wrap { overflow-x: auto; border-radius: 18px; background: var(--paper); box-shadow: 0 1px 0 rgba(221, 212, 242, 0.9); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.95rem; }
th, td { text-align: left; padding: 14px 18px; vertical-align: top; }
thead th { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); font-weight: 800; border-bottom: 1px solid var(--line); }
tbody tr + tr td, tbody tr + tr th { border-top: 1px solid #eee8fa; }
tbody th { color: var(--ink); font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
td.n { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 700; text-align: right; white-space: nowrap; }
td .none { color: var(--faint); }

/* long-form: guide, privacy, support */
.prose { max-width: 680px; margin-inline: auto; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.8rem, 1.35rem + 1.6vw, 2.5rem); margin-top: 2.1em; }
.prose h3 { font-size: 1.2rem; font-weight: 800; margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: 0.7em; }
.prose p, .prose li { color: var(--body); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--faint); font-weight: 700; }
.prose strong { color: var(--ink); }
.prose figure { margin: 2em 0; }
.prose figcaption { margin-top: 12px; font-size: 0.88rem; color: var(--faint); }
.prose figure > .runcard { max-width: 400px; }
.prose figure > .runcard + figcaption { max-width: 400px; }
.prose .pair-fig { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.prose .outline { background: var(--paper); border-radius: 18px; display: grid; place-items: center; padding: 28px; box-shadow: 0 1px 0 rgba(221, 212, 242, 0.9); }
.prose .outline svg { width: 100%; }
.prose .outline path { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 3.5 3.5; }
.prose .callout { background: var(--night); color: var(--dim); border-radius: 20px; padding: 28px 30px; margin-top: 2.4em; }
.prose .callout h2 { color: var(--cream); margin-top: 0; }
.prose .callout p { color: var(--dim); }
.prose .callout > * + * { margin-top: 1em; }
.prose .callout .badge { margin-top: 20px; }
.legal-doc .updated { color: var(--faint); font-weight: 600; font-size: 0.95rem; }
.article-head { max-width: 680px; }
.article-head .lede { max-width: 52ch; }
.toc { padding: 18px 22px; background: var(--paper); border-radius: 16px; box-shadow: 0 1px 0 rgba(221, 212, 242, 0.9); }
.toc b { display: block; color: var(--ink); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* 404 */
.lost { padding: clamp(64px, 10vw, 140px) 0; display: grid; gap: 22px; justify-items: start; }
.lost p { color: var(--muted); max-width: 40ch; font-size: var(--lede); }
