/* The websites' shared look (preview.cyclistrescue.com and beta.cyclistrescue.com; src/server/site-gate.ts). */
/* VOICE  occasion: a launch poster for a NYC street service, confident and fast
   IDEA   the ops map at night: the city dark, our mechanics as yellow lights riding real streets
   PICTURE the full-bleed dark map with riders, trails and pinging stops, plus a live "on the way" card
   COLOUR  brand only: black ground, yellow #f3bf26, white, greys #f0efec #919191 #464647
   TYPE    Archivo: 900 at 125% width in capitals for display (the brand's), 400-700 for text
   LAYOUT  hero full bleed, title in the map's quiet left corner, card bottom right; phone: title, map, card */
:root {
  color-scheme: dark;
  --k: #000;
  --ink: #0b0d10;
  --raised: #16181c;
  --y: #f3bf26;
  --w: #fff;
  --paper: #f0efec;
  --g2: #919191;
  --g3: #464647;
  --line: rgba(255, 255, 255, 0.1);
}
* {
  box-sizing: border-box;
  min-width: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--w);
  font:
    16px/1.55 var(--font-archivo, Archivo),
    ui-sans-serif,
    system-ui,
    sans-serif;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
.disp {
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin: 0;
}
.wrap {
  max-width: 1240px;
  margin: 0 auto;
}
.band {
  padding: clamp(56px, 8vw, 112px) max(5vw, 16px);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 0;
  font:
    800 15px/1 var(--font-archivo, Archivo),
    sans-serif;
  font-stretch: 112%;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s;
}
.btn:active {
  transform: scale(0.97);
}
.btn:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 3px solid var(--y);
  outline-offset: 3px;
}
.btn.y {
  background: var(--y);
  color: var(--k);
}
.btn.k {
  background: var(--k);
  color: var(--w);
}
.btn.o {
  background: transparent;
  color: var(--w);
  box-shadow: inset 0 0 0 2px var(--w);
}

/* nav */
nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px max(5vw, 16px);
  background: linear-gradient(180deg, rgba(11, 13, 16, 0.92), rgba(11, 13, 16, 0));
  transition: background 0.25s;
}
nav.solid {
  background: rgba(11, 13, 16, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
nav img {
  height: 28px;
  width: auto;
}
nav .links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 600;
  font-size: 15px;
}
nav .links a {
  text-decoration: none;
  opacity: 0.85;
}
nav .links a:hover {
  opacity: 1;
}
nav .btn {
  height: 42px;
  padding: 0 18px;
  font-size: 13px;
}

/* hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(100svh, 940px);
  display: grid;
  align-items: end;
  padding: 120px max(5vw, 16px) clamp(40px, 6vw, 72px);
}
#city {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  background: var(--ink);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(11, 13, 16, 0.94) 0%,
      rgba(11, 13, 16, 0.6) 36%,
      rgba(11, 13, 16, 0) 62%
    ),
    linear-gradient(0deg, rgba(11, 13, 16, 0.9) 0%, rgba(11, 13, 16, 0) 30%);
}
.hero .wrap {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 32px;
  align-items: end;
}
.hero h1 {
  font-size: clamp(56px, 9vw, 128px);
  color: var(--y);
}
.hero .lede {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.45;
  max-width: 30ch;
  margin: 22px 0 8px;
  color: rgba(255, 255, 255, 0.92);
}
.serving {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--g2);
  margin: 0 0 26px;
}
.dot {
  position: relative;
  width: 10px;
  height: 10px;
  flex: none;
}
.dot::before,
.dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--y);
}
.dot::before {
  animation: ping 2.2s cubic-bezier(0.2, 0.6, 0.35, 1) infinite;
}
@keyframes ping {
  0% {
    transform: scale(0.6);
    opacity: 0.7;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}
form.join {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 520px;
}
form.join input {
  flex: 1 1 220px;
  height: 52px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  background: rgba(11, 13, 16, 0.7);
  color: var(--w);
  font:
    16px var(--font-archivo, Archivo),
    sans-serif;
  padding: 0 22px;
}
form.join input::placeholder {
  color: var(--g2);
}
.note {
  font-size: 13px;
  color: var(--g2);
  margin: 12px 0 0;
  min-height: 20px;
}
.note.ok {
  color: var(--y);
}

/* live card */
.live {
  justify-self: end;
  width: min(100%, 370px);
  background: var(--w);
  color: var(--k);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.live .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--g3);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--k);
  color: var(--y);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-stretch: 110%;
}
.live h3 {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.05;
  margin: 12px 0 14px;
  letter-spacing: -0.01em;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--g2);
  font-weight: 600;
}
.steps li i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #cfcdc8;
  flex: none;
  display: grid;
  place-items: center;
}
.steps li.done {
  color: var(--k);
}
.steps li.done i {
  background: var(--k);
  border-color: var(--k);
}
.steps li.done i::after {
  content: "";
  width: 6px;
  height: 3px;
  border: 2px solid var(--y);
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg) translate(1px, -1px);
}
.steps li.now {
  color: var(--k);
  font-weight: 800;
}
.steps li.now i {
  border-color: var(--y);
  background: var(--y);
  box-shadow: 0 0 0 4px rgba(243, 191, 38, 0.3);
}
.mech {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e6e4df;
}
.av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--k);
  color: var(--y);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 14px;
  flex: none;
}
.mech b {
  display: block;
  font-size: 15px;
}
.mech span {
  font-size: 13px;
  color: var(--g3);
}
.sample {
  font-size: 12px;
  color: var(--g2);
  text-align: right;
  margin: 8px 4px 0;
}

/* how */
.how {
  background: var(--k);
}
.h2 {
  font-size: clamp(36px, 5vw, 64px);
}
.sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 52ch;
  margin: 16px 0 0;
}
.three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.card {
  background: var(--raised);
  border-radius: 24px;
  padding: 28px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.card svg {
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
}
.card h3 {
  font-size: 22px;
  margin: 0 0 8px;
  font-weight: 800;
}
.card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}
.card .n {
  font-weight: 900;
  font-stretch: 125%;
  color: var(--y);
  font-size: 15px;
  margin-bottom: 6px;
  display: block;
}

/* menu */
.menu {
  background: var(--paper);
  color: var(--k);
}
.menu .head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}
.menu .sub {
  color: var(--g3);
}
.fixes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 40px;
}
.fix {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  background: var(--w);
  border-radius: 18px;
  padding: 20px 22px;
}
.fix b {
  font-size: 17px;
}
.fix span {
  font-size: 13px;
  color: var(--g3);
  display: block;
  font-weight: 500;
}
.fix em {
  font-style: normal;
  font-weight: 900;
  font-size: 22px;
  white-space: nowrap;
}
.fine {
  font-size: 14px;
  color: var(--g3);
  margin: 18px 0 0;
}

/* rescue+ */
.plus {
  background: var(--y);
  color: var(--k);
}
.plus .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.price {
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(64px, 9vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.price small {
  font-size: 0.3em;
  font-stretch: 100%;
  letter-spacing: 0;
}
.perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.perks li {
  background: var(--k);
  color: var(--w);
  border-radius: 18px;
  padding: 18px 22px;
  font-size: 17px;
  font-weight: 600;
  display: flex;
  gap: 14px;
  align-items: center;
}
.perks li::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--y);
  flex: none;
}

/* split bands */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.tile {
  border-radius: 28px;
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 340px;
}
.tile.dark {
  background: var(--raised);
  box-shadow: inset 0 0 0 1px var(--line);
}
.tile.lite {
  background: var(--w);
  color: var(--k);
}
.tile h2 {
  font-size: clamp(32px, 3.6vw, 48px);
}
.tile p {
  margin: 0;
  font-size: 17px;
  max-width: 44ch;
}
.tile.dark p {
  color: rgba(255, 255, 255, 0.75);
}
.langs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}
.langs span {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  font-weight: 700;
  font-size: 16px;
}
.bubbles {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}
.bub {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 15px;
}
.bub.a {
  background: var(--ink);
  justify-self: start;
}
.bub.b {
  background: var(--y);
  color: var(--k);
  justify-self: end;
}
.bub small {
  display: block;
  font-size: 12px;
  opacity: 0.65;
  margin-top: 2px;
}
.tile.lite .btn {
  margin-top: auto;
  align-self: flex-start;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 4px 0 8px;
  display: grid;
  gap: 8px;
  font-weight: 600;
}
.ticks li::before {
  content: "→ ";
  color: var(--g3);
}

/* rescue now + footer */
.soon {
  background: var(--k);
  position: relative;
  overflow: hidden;
}
.soon .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}
.soon h2 {
  font-size: clamp(40px, 6vw, 84px);
  color: var(--y);
}
footer {
  background: var(--k);
  border-top: 1px solid var(--line);
  padding: 40px max(5vw, 16px) 48px;
  color: var(--g2);
  font-size: 14px;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
footer img {
  height: 26px;
  width: auto;
}

@media (max-width: 900px) {
  nav .links a:not(.btn) {
    display: none;
  }
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .live {
    justify-self: start;
  }
  .three {
    grid-template-columns: minmax(0, 1fr);
  }
  .card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 22px;
  }
  .card svg {
    grid-row: span 3;
    margin: 0;
  }
  .fixes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fixes .fix:last-child {
    grid-column: 1/-1;
  }
  .plus .wrap,
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-top: 92px;
  }
  .hero::before {
    display: none;
  }
  .hero .wrap {
    display: contents;
  }
  .copy {
    order: 0;
  }
  #city {
    order: 1;
    position: relative;
    inset: auto;
    display: block;
    height: 340px;
    width: calc(100% + 2 * max(5vw, 16px));
    margin: 22px calc(-1 * max(5vw, 16px)) -80px;
  }
  .hero .wrap > div:last-child {
    order: 2;
    position: relative;
    z-index: 2;
    width: 100%;
    align-self: stretch;
  }
  .live {
    width: 100%;
  }
  .serving {
    align-items: flex-start;
  }
  .serving .dot {
    margin-top: 6px;
  }
  form.join .btn {
    width: 100%;
    justify-content: center;
  }
  .fixes {
    grid-template-columns: minmax(0, 1fr);
  }
  .card {
    grid-template-columns: minmax(0, 1fr);
  }
  .card svg {
    grid-row: auto;
    margin-bottom: 18px;
  }
  .soon .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  nav img {
    height: 22px;
  }
  nav .btn {
    height: 38px;
    padding: 0 14px;
    font-size: 12px;
    white-space: nowrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dot::before {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* the password page */
.sr {
  position: absolute;
  left: -9999px;
}
.gate {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(243, 191, 38, 0.12), transparent 60%), var(--ink);
}
.gate-card {
  width: min(100%, 420px);
  display: grid;
  gap: 14px;
  background: var(--raised);
  border-radius: 28px;
  padding: 32px;
  box-shadow:
    inset 0 0 0 1px var(--line),
    0 30px 80px rgba(0, 0, 0, 0.5);
}
.gate-card img {
  height: 26px;
  width: auto;
  margin-bottom: 10px;
}
.gate-card .pill {
  justify-self: start;
  margin: 0;
}
.gate-card h1 {
  font-size: 44px;
  color: var(--y);
}
.gate-sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}
.gate-card input[type="password"] {
  height: 52px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  background: var(--ink);
  color: var(--w);
  font:
    16px var(--font-archivo, Archivo),
    sans-serif;
  padding: 0 22px;
}
.gate-card .btn {
  justify-content: center;
}
.note.bad {
  color: #ff8a7a;
}

/* the beta site's own pages */
.page {
  padding: 120px max(5vw, 16px) 80px;
  min-height: 80svh;
}
.page .wrap {
  max-width: 880px;
}
.page h1 {
  font-size: clamp(44px, 7vw, 88px);
  color: var(--y);
}
.page .sub {
  margin-bottom: 36px;
}
.formcard {
  background: var(--raised);
  border-radius: 28px;
  padding: clamp(22px, 4vw, 40px);
  box-shadow: inset 0 0 0 1px var(--line);
  display: grid;
  gap: 22px;
}
.field {
  display: grid;
  gap: 8px;
}
.field > span,
.field legend {
  font-weight: 700;
  font-size: 15px;
}
.field small {
  color: var(--g2);
  font-size: 13px;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  background: var(--ink);
  color: var(--w);
  font:
    16px var(--font-archivo, Archivo),
    sans-serif;
  padding: 12px 18px;
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
fieldset.field {
  border: 0;
  padding: 0;
  margin: 0;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chips label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.22);
  font-weight: 600;
  cursor: pointer;
}
.chips label:has(input:checked) {
  background: var(--y);
  color: var(--k);
  box-shadow: none;
}
.chips input {
  accent-color: var(--k);
}
.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.thanks {
  background: var(--y);
  color: var(--k);
  border-radius: 28px;
  padding: clamp(28px, 4vw, 48px);
}
.thanks h2 {
  font-size: clamp(32px, 4vw, 48px);
}
.thanks p {
  font-size: 18px;
  margin: 12px 0 0;
}
.errs {
  color: #ff8a7a;
  margin: 0;
  font-weight: 600;
}
.doors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.door {
  background: var(--raised);
  border-radius: 24px;
  padding: 28px;
  box-shadow: inset 0 0 0 1px var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.door h2 {
  font-size: 26px;
  margin: 0;
  font-weight: 900;
}
.door p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}
.door .btn {
  margin-top: auto;
  align-self: flex-start;
}
.door .soon-tag {
  font-size: 13px;
  color: var(--g2);
}
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 60px;
  padding: 0 22px;
  border-radius: 14px;
  background: var(--k);
  color: var(--w);
  text-decoration: none;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35);
}
.store svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.store span {
  display: grid;
  line-height: 1.1;
}
.store small {
  font-size: 11px;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.store b {
  font-size: 19px;
}
.app {
  background: var(--raised);
}
.app .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.phone {
  justify-self: center;
  width: 250px;
  aspect-ratio: 9/19;
  border-radius: 38px;
  background: var(--k);
  box-shadow:
    inset 0 0 0 3px #2a2d33,
    0 30px 80px rgba(0, 0, 0, 0.5);
  padding: 18px;
  display: grid;
  align-content: start;
  gap: 12px;
}
.phone .bar {
  height: 6px;
  width: 70px;
  border-radius: 9px;
  background: #2a2d33;
  justify-self: center;
  margin-bottom: 8px;
}
.phone .row {
  background: var(--raised);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
}
.phone .row b {
  color: var(--y);
}
.phone .cta {
  background: var(--y);
  color: var(--k);
  border-radius: 999px;
  text-align: center;
  font-weight: 900;
  padding: 12px;
  font-size: 13px;
  text-transform: uppercase;
  margin-top: 6px;
}
.navlink-login {
  font-weight: 700;
}
@media (max-width: 900px) {
  .doors,
  .app .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .two {
    grid-template-columns: minmax(0, 1fr);
  }
  .page {
    padding-top: 96px;
  }
}
