/* Stealthpin: a city at night, seen through glass.
   Everything floats over a dark map; panels are frosted glass in Apple's style. */

:root {
  --night: #0F1317;
  --titanium: #E6E9E8;
  --mist: #A7B0B8;
  --steel: #7A848E;
  --facet: #4C86FF;
  --facet-bright: #79A6FF;
  --signal: #FF4B3E;

  /* Map */
  --block: #151A20;
  --street: #222932;
  --avenue: #2C3540;
  --water: #0D1F33;
  --park: #12241B;
  --map-label: #4D5964;

  /* Glass */
  --glass-tint: rgb(28 34 42 / 0.42);
  --glass-tint-strong: rgb(22 27 34 / 0.62);
  --glass-edge: rgb(255 255 255 / 0.14);
  --glass-highlight: rgb(255 255 255 / 0.28);
  --glass-blur: blur(26px) saturate(175%);
  --hairline: rgb(255 255 255 / 0.10);

  --gutter: clamp(16px, 4vw, 48px);
  --measure: 62ch;
  --font: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; background: var(--night); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  color: var(--titanium);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* No background here: a body background paints over the city behind the page. */
}

img, svg { display: block; max-width: 100%; }
a { color: var(--facet-bright); text-underline-offset: 0.18em; }
a:hover { color: #A9C5FF; }

:focus-visible {
  outline: 2px solid var(--facet-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 760;
  font-stretch: 75%;
  letter-spacing: -0.012em;
  line-height: 1.02;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); }
h3 { font-size: 1.4rem; font-stretch: 85%; font-weight: 700; }
p { margin: 0; }
code { font-family: var(--mono); font-size: 0.88em; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 50;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--titanium);
  color: var(--night);
}
.skip:focus { left: 8px; }

/* The city behind everything */

.backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  z-index: -2;
  opacity: 1;
}
.glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40% 35% at 78% 18%, rgb(76 134 255 / 0.30), transparent 70%),
    radial-gradient(35% 30% at 12% 72%, rgb(140 107 255 / 0.22), transparent 70%),
    radial-gradient(30% 25% at 62% 90%, rgb(255 159 67 / 0.12), transparent 70%),
    linear-gradient(to bottom, rgb(15 19 23 / 0.05), rgb(15 19 23 / 0.35));
}

/* Glass, in Apple's style: tint, heavy blur with boosted color, a bright top edge,
   a soft inner glow and a deep shadow. */

.glass {
  position: relative;
  background: linear-gradient(160deg, rgb(255 255 255 / 0.09), rgb(255 255 255 / 0.02) 45%), var(--glass-tint);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    inset 0 0 24px rgb(255 255 255 / 0.03),
    0 24px 60px rgb(0 0 0 / 0.45),
    0 2px 6px rgb(0 0 0 / 0.25);
}
/* A specular sheen across the top edge, strongest at the left. */
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  padding: 1px;
  background: linear-gradient(115deg, rgb(255 255 255 / 0.45), rgb(255 255 255 / 0) 30%, rgb(255 255 255 / 0) 70%, rgb(255 255 255 / 0.16));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgb(24 29 36 / 0.94); }
}
@media (prefers-reduced-transparency: reduce) {
  .glass {
    background: #1A2027;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .backdrop { opacity: 0.35; }
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  color: #fff;
  font-weight: 650;
  font-stretch: 92%;
  font-size: 1.05rem;
  text-decoration: none;
  background: linear-gradient(180deg, #6B9CFF, var(--facet) 55%, #3A71EA);
  border: 1px solid rgb(255 255 255 / 0.25);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.45),
    0 8px 28px rgb(76 134 255 / 0.45);
  transition: box-shadow 160ms ease, filter 160ms ease;
}
.button:hover { color: #fff; filter: brightness(1.08); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.5), 0 10px 34px rgb(76 134 255 / 0.6); }
.button-small { padding: 8px 16px; font-size: 0.95rem; }

.glass-link,
.pill-button {
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  border-radius: 999px;
  color: var(--titanium);
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  background: rgb(255 255 255 / 0.07);
  border: 1px solid rgb(255 255 255 / 0.16);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  white-space: nowrap;
}
.glass-link:hover, .pill-button:hover { color: #fff; background: rgb(255 255 255 / 0.12); }
.pill-button { padding: 7px 15px; font-size: 0.9rem; }

.fine { font-size: 0.9rem; color: var(--mist); }

/* Header: a floating glass capsule */

.site-header {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 0 var(--gutter);
  pointer-events: none;
}
.nav-capsule {
  pointer-events: auto;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--titanium);
  text-decoration: none;
  font-weight: 760;
  font-stretch: 80%;
  font-size: 1.3rem;
}
.nav-capsule nav { display: flex; gap: 22px; }
.nav-capsule nav a {
  color: var(--mist);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.98rem;
}
.nav-capsule nav a:hover { color: var(--titanium); }

/* Hero: the live map, with glass over it */

.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
}
.hero-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  background: var(--block);
  cursor: crosshair;
  touch-action: manipulation;
}
.hero-inner {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 120px var(--gutter) clamp(28px, 4vw, 48px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  pointer-events: none;
}
.hero-inner > * { pointer-events: auto; }
.hero-card {
  max-width: 560px;
  padding: clamp(26px, 3.4vw, 40px);
  border-radius: 32px;
}
.hero-icon { margin-bottom: 22px; filter: drop-shadow(0 10px 22px rgb(0 0 0 / 0.5)); }
.hero h1 {
  font-size: clamp(2.9rem, 1.7rem + 4.4vw, 5.4rem);
  font-stretch: 68%;
  font-weight: 780;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.lede {
  margin-top: 22px;
  max-width: 40ch;
  font-size: 1.2rem;
  line-height: 1.55;
  color: #C9D0D5;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}
.hero-card .fine { margin-top: 18px; }

.map-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 440px;
  padding: 10px 10px 10px 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  color: #C9D0D5;
}

/* Map drawing (classes set by city.js) */

.m-block { fill: var(--block); }
.m-street { stroke: var(--street); stroke-width: 9; }
.m-avenue { stroke: var(--avenue); stroke-width: 16; }
.m-park { fill: var(--park); }
.m-water { fill: var(--water); }
.m-shore { fill: none; stroke: #16304D; stroke-width: 3; }
.m-label { font-family: var(--font); font-size: 14px; font-weight: 600; font-stretch: 80%; letter-spacing: 0.04em; fill: var(--map-label); }
.m-label-water { fill: #2E4E70; font-style: italic; }
.m-jump { stroke: var(--signal); stroke-width: 3; stroke-dasharray: 10 9; fill: none; }
.m-jump-x { stroke: var(--signal); stroke-width: 4; stroke-linecap: round; }
.m-trail { stroke: var(--facet); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; fill: none; filter: url(#trail-glow); }
.m-target { fill: var(--signal); }
.m-target-dot { fill: #fff; }
.m-ring { fill: var(--facet); fill-opacity: 0.14; stroke: var(--facet-bright); stroke-opacity: 0.5; stroke-width: 1.5; }
.m-halo { fill: var(--facet); opacity: 0.45; filter: url(#pin-glow); }
.m-pin { fill: var(--facet); stroke: #fff; stroke-width: 4; }
.backdrop .m-label { display: none; }
.backdrop .m-street { stroke: #29313C; }
.backdrop .m-avenue { stroke: #36414E; }
.b-route { fill: none; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; opacity: 0.7; filter: url(#backdrop-glow); }
.b-pin { stroke: #fff; stroke-width: 3; opacity: 0.85; }
.b-route.b-blue { stroke: var(--facet); }
.b-route.b-violet { stroke: #8C6BFF; }
.b-route.b-orange { stroke: #FF9F43; }
.b-pin.b-blue { fill: var(--facet); }
.b-pin.b-violet { fill: #8C6BFF; }
.b-pin.b-orange { fill: #FF9F43; }

/* Sections: glass panels */

main > .panel {
  max-width: 1180px;
  margin: clamp(28px, 5vw, 64px) auto 0;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 36px;
}
main > .panel:first-of-type { margin-top: clamp(36px, 6vw, 80px); }
main { padding: 0 var(--gutter); }
main > .hero { margin: 0 calc(var(--gutter) * -1); }

.section-intro { max-width: var(--measure); }
.section-intro p { margin-top: 16px; color: #C9D0D5; }

/* How it works: a three-stop sequence */

.relay {
  list-style: none;
  counter-reset: stop;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin: 52px 0 0;
  padding: 0;
}
.relay::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 20px;
  right: 20px;
  border-top: 2px dashed rgb(255 255 255 / 0.18);
}
.relay li { position: relative; counter-increment: stop; }
.relay-stop {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--facet);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 0 5px rgb(76 134 255 / 0.18), 0 0 22px rgb(76 134 255 / 0.6);
}
.relay-stop::after { content: counter(stop); }
.relay h3 { margin-bottom: 8px; }
.relay p { max-width: 32ch; color: #C9D0D5; }

/* Legend */

.legend-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 56px;
  margin: 44px 0 0;
}
.legend-item {
  padding: 26px 0 28px;
  border-top: 1px solid var(--hairline);
}
.legend-item dt {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.4rem;
  font-weight: 720;
  font-stretch: 80%;
  line-height: 1.15;
}
.legend-item dd {
  margin: 12px 0 0 64px;
  max-width: 46ch;
  color: #C9D0D5;
}
.glyph {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgb(10 13 17 / 0.55);
  border: 1px solid rgb(255 255 255 / 0.12);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12);
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.g-road { stroke: var(--facet-bright); stroke-width: 4; }
.g-jump { stroke: var(--signal); stroke-width: 2.5; stroke-dasharray: 3 3; }
.g-cross { stroke: var(--signal); stroke-width: 2.5; }
.g-ring { fill: var(--facet); fill-opacity: 0.16; stroke: var(--facet-bright); stroke-opacity: 0.55; stroke-width: 1.5; }
.g-trail { fill: var(--facet-bright); fill-opacity: 0.45; }
.g-dot { fill: var(--facet); stroke: #fff; stroke-width: 2.5; }
.g-track { stroke: #FF9F43; stroke-width: 3.5; }
.g-pause { fill: var(--titanium); }
.g-route { stroke: #A88BFF; stroke-width: 3.5; }
.g-stop { fill: #8C6BFF; stroke: #fff; stroke-width: 2.5; }
.g-star { fill: #FFC53D; stroke: #D99A16; stroke-width: 1.5; }
.g-clock { stroke: var(--mist); stroke-width: 3; }
.g-hand { stroke: var(--titanium); stroke-width: 3; }

/* Back to real: the one panel with a red glow */

main > .panel-signal {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 48px;
  align-items: center;
  background:
    radial-gradient(60% 90% at 85% 50%, rgb(255 75 62 / 0.16), transparent 70%),
    linear-gradient(160deg, rgb(255 255 255 / 0.09), rgb(255 255 255 / 0.02) 45%),
    var(--glass-tint);
}
.real-copy { max-width: var(--measure); }
.real-copy p { margin-top: 16px; color: #C9D0D5; }
.real-art { display: grid; justify-items: center; gap: 26px; }
.kill-button {
  display: inline-block;
  padding: 16px 30px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-stretch: 92%;
  font-size: 1.3rem;
  background: linear-gradient(180deg, #FF7468, var(--signal) 55%, #E4362A);
  border: 1px solid rgb(255 255 255 / 0.3);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.5), 0 12px 40px rgb(255 75 62 / 0.45);
}
.keys { display: flex; gap: 8px; }
kbd {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  font-family: var(--font);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--titanium);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.14), rgb(255 255 255 / 0.04));
  border: 1px solid rgb(255 255 255 / 0.18);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.3), 0 4px 0 rgb(0 0 0 / 0.35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* Setup: a real sequence, so numbered */

.steps {
  list-style: none;
  counter-reset: step;
  margin: 44px 0 0;
  padding: 0;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  column-gap: 8px;
  padding: 30px 0;
  border-top: 1px solid var(--hairline);
}
.steps li::before {
  content: counter(step);
  grid-row: span 6;
  font-size: 3.4rem;
  font-weight: 780;
  font-stretch: 70%;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.5px rgb(230 233 232 / 0.55);
}
.steps h3 { margin-bottom: 10px; }
.steps p { max-width: var(--measure); color: #C9D0D5; }
.steps .button { margin-top: 22px; justify-self: start; }
.steps .fine { margin-top: 12px; }
.steps .guide-link { margin-top: 18px; justify-self: start; }
.command {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 560px;
  margin-top: 16px;
  padding: 10px 10px 10px 18px;
  border-radius: 16px;
  background: rgb(8 10 13 / 0.6);
  border: 1px solid rgb(255 255 255 / 0.12);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08);
}
/* Break only between words, so a pasted command never looks split mid-name. */
.command code { font-size: 1rem; color: #DCE6FF; overflow-wrap: normal; word-break: normal; }

/* Questions */

.faq { margin-top: 32px; max-width: 820px; }
.faq details { border-top: 1px solid var(--hairline); }
.faq details:last-child { border-bottom: 1px solid var(--hairline); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 650;
  font-size: 1.18rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--mist); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; max-width: var(--measure); color: #C9D0D5; }

/* Footer */

.site-footer {
  max-width: 1180px;
  margin: clamp(48px, 7vw, 96px) auto 0;
  padding: 28px var(--gutter) 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.9rem;
  color: var(--mist);
  border-top: 1px solid var(--hairline);
}
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--titanium); }

/* Guides (developer-mode) */

main.guide > .panel:first-child { margin-top: clamp(96px, 12vw, 120px); }
.guide h1 { font-size: clamp(2.8rem, 1.6rem + 4vw, 4.6rem); font-stretch: 68%; line-height: 0.95; }
.guide .lede { max-width: var(--measure); }
.crumb { margin-bottom: 18px; font-size: 0.95rem; color: var(--mist); }
.crumb a { color: var(--mist); }
.section-body { margin-top: 16px; max-width: var(--measure); color: #C9D0D5; }

.facts, .needs, .callout ul { list-style: none; margin: 0; padding: 0; }
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}
.facts li {
  padding-top: 16px;
  border-top: 2px solid var(--facet);
  color: #C9D0D5;
}
.facts strong { display: block; margin-bottom: 4px; color: var(--titanium); font-stretch: 90%; }

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 40px;
  align-items: start;
  margin-top: 18px;
}
.two-col > p { color: #C9D0D5; }
.callout {
  padding: 22px 24px;
  border-radius: 22px;
  background: rgb(76 134 255 / 0.10);
  border: 1px solid rgb(121 166 255 / 0.28);
}
.callout h3 { margin-bottom: 10px; font-size: 1.2rem; }
.callout li { color: #C9D0D5; padding-left: 22px; position: relative; }
.callout li + li { margin-top: 6px; }
.callout li::before { content: "✓"; position: absolute; left: 0; color: var(--facet-bright); font-weight: 700; }

.needs { margin-top: 18px; display: grid; gap: 10px; }
.needs li { padding: 12px 0; border-top: 1px solid var(--hairline); color: #C9D0D5; }
.needs + .fine { margin-top: 14px; }

.guide-steps li {
  grid-template-columns: 84px minmax(0, 1fr) 250px;
  column-gap: 28px;
  align-items: start;
}
.guide-steps li::before { grid-row: 1; }
.step-text p + p { margin-top: 12px; }
.step-text .command { margin-top: 14px; }
.mock { margin: 0; justify-self: end; }
.key-inline {
  display: inline-grid;
  width: auto;
  height: auto;
  min-width: 1.8em;
  padding: 1px 7px;
  font-size: 0.9em;
  border-radius: 6px;
  border-bottom-width: 2px;
  vertical-align: 1px;
}

/* Drawn iPhone screens: approximations, so people know what to look for. */
.phone-mock {
  width: 220px;
  padding: 9px;
  border-radius: 38px;
  background: linear-gradient(160deg, #3A4048, #15181C);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25), 0 18px 40px rgb(0 0 0 / 0.5);
}
.phone-screen {
  position: relative;
  min-height: 300px;
  padding: 18px 12px;
  border-radius: 30px;
  background: #000;
  font-size: 0.78rem;
  line-height: 1.3;
  color: #F2F2F7;
  overflow: hidden;
}
.phone-screen.dimmed { background: radial-gradient(circle at 50% 40%, #232A33, #050607); display: grid; place-items: center; }
.ios-back { color: #0A84FF; margin-bottom: 4px; }
.ios-title { font-size: 1.25rem; font-weight: 700; font-stretch: 100%; margin-bottom: 12px; }
.ios-caption { margin: 12px 0 5px 10px; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.03em; color: #8E8E93; }
.ios-caption-note { margin: 8px 10px 0; font-size: 0.7rem; color: #8E8E93; }
.ios-group { border-radius: 10px; background: #1C1C1E; overflow: hidden; }
.ios-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px;
}
.ios-row + .ios-row { border-top: 1px solid #38383A; }
.ios-row.highlight { background: rgb(10 132 255 / 0.25); box-shadow: inset 0 0 0 2px #0A84FF; border-radius: 10px; }
.ios-value, .chev { color: #8E8E93; }
.ios-toggle {
  position: relative;
  width: 40px;
  height: 24px;
  border-radius: 999px;
  background: #39393D;
}
.ios-toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
}
.ios-toggle.on { background: #30D158; }
.ios-toggle.on::after { left: 18px; }
.ios-alert {
  width: 176px;
  border-radius: 14px;
  background: rgb(44 44 46 / 0.96);
  text-align: center;
  overflow: hidden;
}
.ios-alert-title { padding: 14px 12px 4px; font-weight: 700; font-stretch: 100%; }
.ios-alert-body { padding: 0 12px 12px; font-size: 0.7rem; color: #C7C7CC; }
.ios-alert-buttons span {
  display: block;
  padding: 9px;
  border-top: 1px solid #48484A;
  color: #0A84FF;
}
.ios-alert-buttons .pressed { font-weight: 700; background: rgb(10 132 255 / 0.18); }

.terminal-mock {
  width: 250px;
  padding: 0 12px 14px;
  border-radius: 12px;
  background: rgb(8 10 13 / 0.85);
  border: 1px solid rgb(255 255 255 / 0.14);
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.5;
  color: #DCE6FF;
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.5);
}
.terminal-bar { display: flex; gap: 6px; padding: 10px 0 12px; }
.terminal-bar span { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.terminal-bar span:nth-child(2) { background: #FEBC2E; }
.terminal-bar span:nth-child(3) { background: #28C840; }
.terminal-mock p + p { margin-top: 6px; }
.prompt { color: #7DD3A0; }
.cursor { display: inline-block; width: 7px; height: 1em; vertical-align: -2px; background: #DCE6FF; }

/* Plain pages (privacy, 404) */

.page {
  max-width: 820px;
  margin: 120px auto 0;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 36px;
}
.page h1 { margin-bottom: 22px; font-size: clamp(2.6rem, 1.6rem + 3.4vw, 3.8rem); font-stretch: 70%; }
.page h2 { margin: 38px 0 12px; font-size: 1.6rem; }
.page p, .page li { color: #C9D0D5; }
.page p + p { margin-top: 14px; }
.page ul { padding-left: 1.2em; }
.page li + li { margin-top: 8px; }
.page-wrap { padding: 0 var(--gutter); }

/* Narrow screens */

@media (max-width: 920px) {
  .nav-capsule nav { display: none; }
  .hero { min-height: auto; }
  .hero-inner { flex-direction: column; align-items: stretch; padding-top: 340px; }
  .map-pill { max-width: none; }
  main > .panel-signal { grid-template-columns: 1fr; }
  .legend-list { grid-template-columns: 1fr; }
  .facts, .two-col { grid-template-columns: 1fr; }
  .guide-steps li { grid-template-columns: 84px minmax(0, 1fr); }
  .guide-steps .mock { grid-column: 2; justify-self: start; margin-top: 22px; }
}
@media (max-width: 680px) {
  body { font-size: 1.0625rem; }
  main > .panel { border-radius: 28px; }
  .hero-card { border-radius: 26px; }
  .relay { grid-template-columns: 1fr; gap: 28px; }
  .relay::before { top: 20px; bottom: 20px; left: 19px; right: auto; border-top: none; border-left: 2px dashed rgb(255 255 255 / 0.18); }
  .relay li { padding-left: 60px; }
  .relay-stop { position: absolute; left: 0; top: 0; }
  .legend-item dd { margin-left: 0; }
  .steps li, .guide-steps li { grid-template-columns: 50px minmax(0, 1fr); }
  .steps li::before { font-size: 2.5rem; }
  .map-pill { flex-direction: column; align-items: flex-start; border-radius: 22px; padding: 14px 16px; }
  kbd { width: 48px; height: 48px; }
  .command { flex-wrap: wrap; }
  .command code { font-size: 0.92rem; flex: 1 1 100%; }
}
