/* ============================================================
   UI Journeys — journeys as transit lines, screens as stations
   ============================================================ */

/* ---------- fonts ---------- */
@font-face { font-family: "Clash Display"; src: url("/fonts/clash-display-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("/fonts/clash-display-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("/fonts/clash-display-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/fonts/general-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/fonts/general-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/fonts/general-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  --canvas: #f2f3f6;
  --surface: #ffffff;
  --ink: #101319;
  --ink-70: #3c4250;
  --ink-45: #6d7484;
  --hairline: #dcdfe6;

  --line-blue: #2b59ff;
  --line-green: #009a66;
  --line-amber: #eda400;
  --line-coral: #e8452f;

  --display: "Clash Display", "Avenir Next", sans-serif;
  --body: "General Sans", "Helvetica Neue", sans-serif;
  --mono: "Plex Mono", "SF Mono", monospace;

  --wrap: 1080px;
  --r-phone: 18px;
}

/* ---------- base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
img, svg { display: block; }
a { color: inherit; }
::selection { background: var(--line-blue); color: #fff; }

.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;
}

:focus-visible {
  outline: 2.5px solid var(--line-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.9rem, 7.2vw, 5.2rem); }
h1 em { font-style: normal; color: var(--line-blue); }
h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-bottom: 18px; }
h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.01em; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-45);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px; height: 3px;
  border-radius: 2px;
  background: var(--line-blue);
  margin-right: 10px;
  vertical-align: 3px;
}
.eyebrow-light { color: rgba(255, 255, 255, 0.62); }

.lede, .section-lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-70);
  max-width: 34em;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--body); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; border: none;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background 200ms ease, transform 200ms ease;
}
.btn:active { transform: scale(0.98); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--line-blue); }
.btn-paper { background: #fff; color: var(--ink); }
.btn-paper:hover { background: var(--line-blue); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 0.92rem; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  padding: 18px max(24px, calc((100vw - 1080px) / 2 + 24px));
  display: flex; align-items: center; justify-content: space-between;
  transition: background 250ms ease, box-shadow 250ms ease;
}
.nav.is-stuck {
  background: rgba(242, 243, 246, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--hairline);
}
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-size: 1.18rem;
  letter-spacing: -0.01em; text-decoration: none;
}
.wordmark-glyph { width: 34px; height: 14px; color: var(--ink); }
.wordmark-sm { font-size: 1rem; }

/* ---------- hero ---------- */
.hero { padding: 64px 0 0; overflow: hidden; }
.hero-wrap { position: relative; }
.hero-map {
  position: absolute;
  top: 34px; right: -36px;
  width: min(34vw, 440px);
  pointer-events: none;
}
@media (max-width: 1150px) { .hero-map { display: none; } }

/* page-load choreography: lines draw in, stops fade, a train departs */
.hero-map .map-line {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: map-draw 1.15s cubic-bezier(0.65, 0.05, 0.3, 1) forwards;
}
.hero-map .l-blue { animation-delay: 0.15s; }
.hero-map .l-amber { animation-delay: 0.4s; }
.hero-map .l-green { animation-delay: 0.62s; }
@keyframes map-draw { to { stroke-dashoffset: 0; } }
.hero-map .map-stops,
.hero-map .map-labels,
.hero-map .map-train {
  opacity: 0;
  animation: map-fade 0.55s ease forwards 1.55s;
}
@keyframes map-fade { to { opacity: 1; } }
.hero h1 { margin-bottom: 24px; max-width: 11em; }
.hero .lede { margin-bottom: 36px; }

/* ---------- waitlist form ---------- */
.waitlist-form {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  max-width: 520px; position: relative;
  scroll-margin-top: 110px;
}
/* arrival highlight when a "Join the waitlist" button brings you here */
.waitlist-form input[type="email"].input-pulse {
  animation: input-pulse 1.6s ease-out;
  border-color: var(--line-blue);
}
@keyframes input-pulse {
  0%, 45% { box-shadow: 0 0 0 3px rgba(43, 89, 255, 0.35); }
  70% { box-shadow: 0 0 0 9px rgba(43, 89, 255, 0.12); }
  100% { box-shadow: 0 0 0 3px rgba(43, 89, 255, 0.18); }
}
.waitlist-form input[type="email"] {
  flex: 1 1 240px;
  font-family: var(--body); font-size: 1rem; color: var(--ink);
  padding: 14px 20px; border-radius: 999px;
  border: 1.5px solid var(--hairline); background: var(--surface);
  transition: border-color 150ms ease;
}
.waitlist-form input[type="email"]::placeholder { color: var(--ink-45); }
.waitlist-form input[type="email"]:focus {
  outline: none; border-color: var(--line-blue);
  box-shadow: 0 0 0 3px rgba(43, 89, 255, 0.18);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note {
  flex-basis: 100%;
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.02em;
  color: var(--ink-45);
}
.form-status { flex-basis: 100%; font-size: 0.95rem; font-weight: 500; min-height: 1.4em; }
.form-status.is-error { color: var(--line-coral); }
.form-status.is-success { color: var(--line-green); }
.waitlist-form.is-done input[type="email"],
.waitlist-form.is-done button[type="submit"],
.waitlist-form.is-done .form-note,
.waitlist-form.is-quiet input[type="email"],
.waitlist-form.is-quiet button[type="submit"],
.waitlist-form.is-quiet .form-note { display: none; }
.waitlist-form.is-done .form-status,
.waitlist-form.is-quiet .form-status {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* compact signed-up state (shown in the form the visitor didn't use) */
.quiet-note {
  display: none;
  flex-basis: 100%;
  font-family: var(--mono); font-size: 0.85rem; letter-spacing: 0.02em;
  color: var(--ink-70);
}
.quiet-note::before {
  content: "";
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: var(--line-green); margin-right: 10px;
}
.quiet-note strong { color: var(--ink); font-weight: 500; }
.waitlist-form.is-quiet .quiet-note { display: block; }

/* add-another link, shown in both signed-up states */
.again {
  display: none;
  background: none; border: none; padding: 2px 0;
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.03em;
  color: var(--ink-45); cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
  transition: color 180ms ease;
}
.again:hover { color: var(--line-blue); }
.waitlist-form.is-done .again,
.waitlist-form.is-quiet .again { display: inline-block; }

.waitlist .quiet-note { color: rgba(255, 255, 255, 0.75); }
.waitlist .quiet-note strong { color: #fff; }
.waitlist .again { color: rgba(255, 255, 255, 0.5); }
.waitlist .again:hover { color: var(--line-amber); }

/* boarding pass shown on successful signup */
.ticket { display: none; }
.waitlist-form.is-done .ticket {
  display: flex;
  flex-basis: 100%;
  max-width: 460px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  box-shadow: 0 20px 44px -20px rgba(16, 19, 25, 0.35);
  overflow: hidden;
  animation: ticket-pop 450ms cubic-bezier(0.2, 1.4, 0.4, 1);
}
@keyframes ticket-pop {
  from { transform: scale(0.94) translateY(6px); opacity: 0; }
}
.ticket-stripe {
  width: 8px; flex: none;
  background: linear-gradient(var(--line-blue), var(--line-green), var(--line-amber), var(--line-coral));
}
.ticket-body { flex: 1; padding: 18px 20px; display: flex; flex-direction: column; gap: 7px; }
.ticket-head {
  font-family: var(--mono); font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-45);
}
.ticket-title {
  font-family: var(--display); font-size: 1.55rem; font-weight: 600;
  color: var(--ink); letter-spacing: -0.01em; margin-bottom: 4px;
}
.ticket-row {
  display: flex; gap: 12px; align-items: baseline;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.03em;
}
.ticket-row > span { color: var(--ink-45); text-transform: uppercase; flex: none; width: 74px; }
.ticket-row strong { color: var(--ink); font-weight: 500; word-break: normal; overflow-wrap: anywhere; }
.ticket-stub {
  flex: none; width: 72px;
  border-left: 2px dashed var(--hairline);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  color: var(--line-green);
}
.ticket-stub svg { width: 26px; height: 26px; }
.ticket-stub::before, .ticket-stub::after {
  content: ""; position: absolute; left: -11px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--notch, var(--canvas));
}
.ticket-stub::before { top: -10px; }
.ticket-stub::after { bottom: -10px; }
.waitlist .ticket { --notch: var(--ink); border-color: transparent; }

/* ---------- journey strip (signature) ---------- */
.journeys {
  margin-top: 72px;
  padding: 44px 0 52px;
  background: var(--surface);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.journey-marquee { overflow: hidden; }
.journey-track {
  display: flex; align-items: flex-start; gap: 44px;
  width: max-content;
  padding: 0 22px;
  position: relative;
  animation: journey-pan 55s linear infinite;
}
.journey-marquee:hover .journey-track { animation-play-state: paused; }
@keyframes journey-pan {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-1 * var(--pan, 50%))); }
}

.line-badge {
  align-self: center;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 0.72rem; line-height: 1.5;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-45);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 10px 16px;
  background: var(--canvas);
}
.line-badge strong { color: var(--ink); font-weight: 500; }
.line-badge .badge-meta { font-style: normal; font-size: 0.64rem; color: var(--ink-45); }
.line-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }

.station { display: flex; flex-direction: column; align-items: center; position: relative; }

/* the route line runs through the stops */
.station .stop {
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--surface);
  border: 4px solid var(--line);
  margin-top: 22px;
  position: relative; z-index: 1;
}
.station .stop-end { background: var(--line); }
.station::after {
  /* line segment connecting to the next station */
  content: "";
  position: absolute;
  bottom: 42px;
  left: 50%;
  width: calc(100% + 44px);
  height: 4px;
  background: var(--line);
  opacity: 0.85;
}
.station:has(.stop-end)::after { display: none; }
.station .stop-label {
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.04em;
  color: var(--ink-45); margin-top: 10px; white-space: nowrap;
}

/* ---------- mini phone screens ---------- */
.phone {
  width: 128px; height: 240px;
  background: var(--surface);
  border: 1.5px solid var(--hairline);
  border-radius: var(--r-phone);
  box-shadow: 0 12px 28px -14px rgba(16, 19, 25, 0.22);
  padding: 14px 12px;
  display: flex; flex-direction: column; gap: 8px;
  overflow: hidden;
  position: relative;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.station:hover .phone {
  transform: translateY(-8px);
  border-color: var(--line);
  box-shadow: 0 24px 42px -18px rgba(16, 19, 25, 0.35);
}
.station .stop-label { transition: color 200ms ease; }
.station:hover .stop-label { color: var(--ink); }
/* skeleton primitives */
.ln { display: block; height: 6px; border-radius: 3px; background: #e7e9ee; }
.ln.ink { background: #c3c8d4; }
.ln-20 { width: 20%; } .ln-30 { width: 30%; } .ln-40 { width: 40%; }
.ln-50 { width: 50%; } .ln-60 { width: 60%; } .ln-70 { width: 70%; } .ln-80 { width: 80%; }

.pill { display: block; height: 20px; border-radius: 10px; background: #eef0f4; border: 1px solid #e2e5eb; }
.pill-active { border-color: var(--line-blue); box-shadow: 0 0 0 2px rgba(43, 89, 255, 0.15); }
.banner { display: block; height: 52px; border-radius: 8px; background: linear-gradient(120deg, #dfe6ff, #eef1f9); }
.banner.alt { background: linear-gradient(120deg, #d9f3e7, #eef9f4); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.grid2 i { height: 40px; border-radius: 6px; background: #eef0f4; }

.row { display: flex; gap: 7px; align-items: center; }
.row > span { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.thumb { width: 26px; height: 26px; border-radius: 6px; background: #e7e9ee; flex: none; }

.hero-img { display: block; height: 74px; border-radius: 8px; background: linear-gradient(160deg, #e3e7f2, #f0f2f7); }
.price { display: block; width: 34%; height: 9px; border-radius: 4px; background: var(--ink); margin-top: 2px; }
.cta { display: block; height: 24px; border-radius: 12px; background: var(--ink); margin-top: auto; }
.cta-line { background: var(--line, var(--ink)); }

.divider { display: block; height: 1px; background: var(--hairline); margin: 2px 0; }
.total { display: flex; justify-content: space-between; align-items: center; }
.total .ln { display: inline-block; }

.brandmark {
  width: 34px; height: 34px; border-radius: 9px; background: var(--line, var(--ink));
  margin: auto auto 6px;
}
.brandmark.round { border-radius: 50%; }
.s-launch { justify-content: center; align-items: center; }
.s-launch .ln { margin: 0 auto auto; }

.s-pay { background: #e8eaef; justify-content: flex-end; padding: 0; }
.sheet {
  background: var(--surface); border-radius: 14px 14px var(--r-phone) var(--r-phone);
  padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 8px;
  box-shadow: 0 -6px 18px rgba(16, 19, 25, 0.08);
}
.grab { width: 28px; height: 4px; border-radius: 2px; background: #d5d9e1; margin: 0 auto 2px; }
.opt { display: flex; align-items: center; gap: 7px; padding: 4px 0; }
.radio { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #c3c8d4; flex: none; }
.radio.on { border-color: var(--line, var(--ink)); background: var(--line, var(--ink)); box-shadow: inset 0 0 0 2.5px var(--surface); }

.s-otp { padding-top: 30px; gap: 12px; }
.otp { display: flex; gap: 6px; }
.otp i { width: 22px; height: 28px; border-radius: 6px; border: 1.5px solid var(--hairline); background: var(--surface); }
.otp i.filled { border-color: var(--line, var(--ink)); background: #eef2ff; }

.field { display: flex; align-items: center; height: 30px; border: 1.5px solid var(--hairline); border-radius: 8px; padding: 0 8px; margin-top: 4px; }
.s-input { padding-top: 30px; gap: 10px; }

.s-permit { background: #e8eaef; justify-content: center; }
.modal {
  background: var(--surface); border-radius: 12px; padding: 12px 10px;
  display: flex; flex-direction: column; gap: 7px;
  box-shadow: 0 10px 24px rgba(16, 19, 25, 0.14);
}
.modal-actions { display: flex; gap: 6px; margin-top: 4px; }
.modal-actions i { flex: 1; height: 18px; border-radius: 9px; background: #eef0f4; }
.modal-actions i.on { background: var(--line, var(--ink)); }

.s-success { justify-content: center; align-items: center; gap: 9px; }
.check {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--line, var(--ink)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.check svg { width: 22px; height: 22px; }
.s-success .ln { margin: 0; }

/* ---------- sections ---------- */
.library, .search, .who { padding: 110px 0; }
.section-lede { margin-bottom: 40px; }

/* library cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 26px;
}
.card h3 { margin: 22px 0 8px; }
.card p { color: var(--ink-70); font-size: 0.98rem; }
.card-visual {
  height: 150px; border-radius: 12px; background: var(--canvas);
  position: relative; overflow: hidden;
}

.v-screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; }
.v-screens i { border-radius: 8px; background: var(--surface); border: 1px solid var(--hairline); position: relative; }
.v-screens i::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 30%; border-radius: 8px 8px 0 0; background: #e7e9ee; }
.v-screens i:nth-child(2)::before { background: var(--line-blue); opacity: 0.75; }
.v-screens i:nth-child(4)::before { background: var(--line-amber); opacity: 0.75; }
.v-screens i:nth-child(6)::before { background: var(--line-green); opacity: 0.75; }

.v-journeys { display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 20px 24px; }
.mini-line { position: relative; height: 4px; border-radius: 2px; display: flex; align-items: center; justify-content: space-between; }
.mini-line i { width: 11px; height: 11px; border-radius: 50%; background: var(--canvas); border: 3px solid currentColor; }
.mini-line.l1 { background: var(--line-blue); color: var(--line-blue); }
.mini-line.l2 { background: var(--line-coral); color: var(--line-coral); width: 62%; }
.mini-line.l3 { background: var(--line-green); color: var(--line-green); width: 82%; }

.v-elements { padding: 16px; }
.el { position: absolute; background: var(--surface); border: 1px solid var(--hairline); }
.el-toggle { width: 46px; height: 26px; border-radius: 13px; top: 18px; left: 18px; background: var(--line-green); border: none; }
.el-toggle i { position: absolute; right: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; }
.el-btn { width: 88px; height: 30px; border-radius: 15px; background: var(--ink); border: none; top: 24px; right: 20px; }
.el-tab { width: 120px; height: 34px; border-radius: 10px; bottom: 20px; left: 18px; display: flex; align-items: center; justify-content: space-around; padding: 0 10px; }
.el-tab i { width: 14px; height: 14px; border-radius: 4px; background: #dcdfe6; }
.el-tab i:first-child { background: var(--line-blue); }
.el-sheet { width: 84px; height: 44px; border-radius: 12px 12px 0 0; bottom: 0; right: 34px; }
.el-badge { width: 34px; height: 18px; border-radius: 9px; background: var(--line-coral); border: none; top: 74px; left: 84px; }

/* search */
.search { padding-top: 0; }
.searchbar {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface);
  border: 1.5px solid var(--hairline);
  border-radius: 999px;
  padding: 20px 28px;
  max-width: 620px;
  box-shadow: 0 18px 40px -22px rgba(16, 19, 25, 0.25);
}
.searchbar-icon { width: 22px; height: 22px; color: var(--ink-45); flex: none; }
.searchbar-text { font-family: var(--mono); font-size: 1.02rem; color: var(--ink); min-height: 1.4em; }
.caret { width: 2px; height: 1.25em; background: var(--line-blue); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; max-width: 640px; }
.chips .chip {
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.02em;
  color: var(--ink-70);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.chips .chip:hover {
  border-color: var(--line-blue);
  color: var(--ink);
  transform: translateY(-1px);
}
.chips .chip:active { transform: none; }

/* who */
.who { padding-top: 0; }
.who-rows { margin-top: 44px; border-top: 1px solid var(--hairline); }
.who-row {
  display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: baseline;
  padding: 30px 0 30px 26px;
  border-bottom: 1px solid var(--hairline);
  position: relative;
}
.who-row::before {
  content: "";
  position: absolute; left: 0; top: 26px; bottom: 26px; width: 4px;
  border-radius: 2px;
  background: var(--line);
}
.who-row p { color: var(--ink-70); }

/* waitlist band */
.waitlist {
  background: var(--ink);
  color: #fff;
  padding: 110px 0 120px;
}
.waitlist h2 { max-width: 12em; }
.waitlist .section-lede { color: rgba(255, 255, 255, 0.72); margin-bottom: 26px; }
.drop-tiles { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 40px; }
.drop-tiles li {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 8px 16px 8px 13px;
}
.drop-tiles li::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--line);
}
.waitlist .eyebrow::before { background: var(--line-amber); }
.waitlist .waitlist-form input[type="email"] {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.waitlist .waitlist-form input[type="email"]::placeholder { color: rgba(255, 255, 255, 0.45); }
.waitlist .waitlist-form input[type="email"]:focus {
  border-color: var(--line-amber);
  box-shadow: 0 0 0 3px rgba(237, 164, 0, 0.25);
}
.waitlist .form-note { color: rgba(255, 255, 255, 0.5); margin-top: 14px; }
.band-cta { padding: 16px 34px; font-size: 1.05rem; }
.band-cta.is-signed::before {
  content: "";
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: var(--line-green); margin-right: 10px;
}
.waitlist .form-status.is-success { color: #5fd6a2; }
.waitlist .form-status.is-error { color: #ff8f7d; }
.waitlist :focus-visible { outline-color: var(--line-amber); }

/* footer */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.6); padding: 30px 0 44px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.footer .wordmark { color: #fff; }
.footer .wordmark-glyph { color: rgba(255, 255, 255, 0.85); }
.footer-meta { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; text-align: right; }
.footer-meta a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.footer-meta a:hover { text-decoration: underline; }

/* ---------- legal pages ---------- */
.legal {
  max-width: 700px;
  margin: 0 auto;
  padding: 28px 24px 90px;
}
.legal .eyebrow { margin-bottom: 12px; }
.legal h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.legal-updated {
  font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.04em;
  color: var(--ink-45); margin-bottom: 34px;
}
.legal h2 { font-size: 1.15rem; margin: 34px 0 8px; }
.legal p, .legal li { color: var(--ink-70); margin-bottom: 14px; font-size: 0.99rem; line-height: 1.65; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--line-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal strong { color: var(--ink); font-weight: 600; }
.footer-meta a { color: inherit; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 550ms ease, transform 550ms ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .cards { grid-template-columns: 1fr; }
  .who-row { grid-template-columns: 1fr; gap: 6px; }
  .library, .search, .who { padding: 72px 0; }
  .search, .who { padding-top: 0; }
  .waitlist { padding: 80px 0 90px; }
  .footer-meta { text-align: left; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero { padding-top: 40px; }
  .journeys { margin-top: 52px; }
  .waitlist-form .btn { flex: 1 1 100%; }
  .nav { padding: 14px 24px; }

  /* headline wraps naturally on narrow screens */
  h1 br { display: none; }

  /* boarding pass: stack label over value, slim the stub */
  .waitlist-form.is-done .ticket { max-width: none; }
  .ticket-body { padding: 16px; gap: 9px; }
  .ticket-row { flex-direction: column; gap: 2px; align-items: flex-start; }
  .ticket-row > span { width: auto; font-size: 0.62rem; }
  .ticket-stub { width: 52px; }
  .again { padding: 10px 0; }

  /* denser journey strip so more of it is on screen */
  .journey-track { gap: 30px; padding: 0 16px; }
  .station::after { width: calc(100% + 30px); }
  .line-badge { padding: 8px 12px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .journey-track { animation: none; }
  .journey-marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .caret { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
  .hero-map .map-line { animation: none; stroke-dashoffset: 0; }
  .hero-map .map-stops, .hero-map .map-labels { animation: none; opacity: 1; }
  .hero-map .map-train { display: none; }
  .waitlist-form.is-done .ticket { animation: none; }
  .phone, .station .stop-label, .chips .chip { transition: none; }
  .waitlist-form input[type="email"].input-pulse { animation: none; }
}
