/* Layout: a kerbside. Content runs along one wide road; the hero pairs the
   promise with one stay played out: the day's rules, the timer, the reminder, the space freed. */
:root {
  --bg: #161818; /* deep graphite, lifted from the app's ground */
  --surface: #1f2323;
  --raised: #282d2d;
  --line: #343a3a;
  --fg: #e3e3e3; /* mist grey */
  --muted: #a3aeb1; /* soft steel, darkened for text */
  --accent: #e1fb5b; /* signal lime: fills only */
  --on-accent: #1e2121;
  --accent-ink: #e1fb5b; /* lime as readable ink on this ground */
  --kerb-yellow: #f2c230; /* road-marking yellow */
  --ok: #4cc38a;
  --paid: #6ea8ff;
  --stop: #ff6b5e;

  --display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --wrap: 1180px;
  --r: 14px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) {
    --bg: #f1f2ee;
    --surface: #ffffff;
    --raised: #e8eae5;
    --line: #d3d8d4;
    --fg: #1e2121;
    --muted: #545e60;
    --accent: #e1fb5b;
    --on-accent: #1e2121;
    --accent-ink: #4f5c00;
    --kerb-yellow: #d9a400;
    --ok: #1c8a57;
    --paid: #2463c9;
    --stop: #c93a2e;
    color-scheme: light;
  }
}
:root[data-theme='light'] {
  --bg: #f1f2ee;
  --surface: #ffffff;
  --raised: #e8eae5;
  --line: #d3d8d4;
  --fg: #1e2121;
  --muted: #545e60;
  --accent: #e1fb5b;
  --on-accent: #1e2121;
  --accent-ink: #4f5c00;
  --kerb-yellow: #d9a400;
  --ok: #1c8a57;
  --paid: #2463c9;
  --stop: #c93a2e;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
}
img,
svg {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
body {
  background: var(--bg);
  color: var(--fg);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
h1,
h2,
h3 {
  font-family: var(--display);
  text-wrap: balance;
  margin: 0;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
}
.eyebrow {
  font: 700 12px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

/* ---------- top bar ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--bg);
}
.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 9;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 12px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 800 20px/1 var(--display);
  font-stretch: 112%;
}
.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--on-accent);
  display: grid;
  place-items: center;
  font: 900 18px/1 var(--display);
}
.top nav {
  margin-left: auto;
  display: flex;
  gap: 22px;
  align-items: center;
}
.top nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
}
.top nav a:hover {
  color: var(--fg);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  background: var(--accent);
  color: var(--on-accent);
  font: 700 15px/1 var(--body);
  padding: 13px 18px;
  border-radius: 999px;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -10px color-mix(in srgb, var(--accent) 70%, transparent);
}
.top .btn {
  padding: 10px 14px;
  font-size: 14px;
  color: var(--on-accent);
}
@media (max-width: 760px) {
  .top nav a:not(.btn) {
    display: none;
  }
}

/* ---------- hero ---------- */
.hero {
  padding-block: clamp(40px, 7vw, 88px) clamp(40px, 6vw, 72px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}
.status {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px 7px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font: 500 13px/1.2 var(--mono);
  color: var(--muted);
}
.status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent);
}
h1 {
  font-size: clamp(44px, 7.4vw, 92px);
  line-height: 0.92;
  font-weight: 900;
  font-stretch: 118%;
  letter-spacing: -0.03em;
}
h1 .lime {
  color: var(--on-accent);
  background: var(--accent);
  padding: 0 0.12em;
  border-radius: 0.08em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
  max-width: 33em;
}
.lede strong {
  color: var(--fg);
  font-weight: 600;
}

/* waitlist form */
.join {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 520px;
}
.join-row {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.join-row:focus-within {
  border-color: var(--accent-ink);
}
.join input[type='email'] {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--fg);
  font: 500 16px/1 var(--body);
  padding: 0 14px;
  outline: none;
}
.join input::placeholder {
  color: var(--muted);
}
.platforms {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}
.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  cursor: pointer;
  font: 600 13px/1 var(--body);
  color: var(--muted);
  background: transparent;
}
.chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.chip:has(input:checked) {
  border-color: var(--accent-ink);
  color: var(--fg);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.chip:has(input:focus-visible) {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.fine {
  font-size: 13px;
  color: var(--muted);
}
.form-error {
  color: var(--stop);
  font-size: 14px;
}
.done {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--r);
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  border: 1px solid var(--accent-ink);
  max-width: 520px;
}
.done b {
  display: block;
  font-family: var(--display);
  font-size: 18px;
  font-stretch: 110%;
}
.done .tick {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  display: grid;
  place-items: center;
  font-weight: 900;
}
@media (max-width: 460px) {
  .join-row {
    flex-direction: column;
    border-radius: 18px;
  }
  .join input[type='email'] {
    padding: 12px 10px;
  }
}

/* ---------- the stay demo: timeline, session, reminder, leaving ---------- */
.demo {
  position: relative;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(16px, 2.2vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.6);
}
.demo-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  flex-wrap: wrap;
}
.demo-head .eyebrow {
  color: var(--muted);
}
.example-tag {
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px dashed var(--line);
  padding: 5px 8px;
  border-radius: 6px;
}

/* The kerb, seen from above: three bays, ours in the middle. */
.kerb {
  position: relative;
  height: 92px;
  border-radius: 14px;
  overflow: hidden;
  background: #3a3f40;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 6%;
}
.kerb::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 12px;
  background: #5a6062;
}
.kerb::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  height: 2px;
  background: repeating-linear-gradient(90deg, #e9e9e2 0 22px, transparent 22px 38px);
  opacity: 0.6;
}
.bay {
  position: relative;
  margin-top: 12px;
  height: 48px;
  border-left: 2px solid #e9e9e2;
  display: grid;
  place-items: center;
}
.bay:last-child {
  border-right: 2px solid #e9e9e2;
}
.car {
  width: 74%;
  height: 30px;
  border-radius: 9px 14px 14px 9px;
  background: var(--car, #bdc8cb);
  position: relative;
  box-shadow: 0 6px 12px -6px rgba(0, 0, 0, 0.6);
  transition:
    transform 1.4s cubic-bezier(0.5, 0, 0.75, 0.2),
    opacity 1.4s ease;
}
.car::before {
  content: '';
  position: absolute;
  right: 16%;
  top: 4px;
  bottom: 4px;
  width: 18%;
  border-radius: 4px;
  background: rgba(20, 24, 24, 0.55);
}
.car.ours {
  --car: var(--accent);
}
.bay-flag {
  position: absolute;
  inset: 6px 8%;
  border-radius: 8px;
  border: 2px dashed var(--accent);
  display: grid;
  place-items: center;
  font: 700 11px/1.1 var(--mono);
  color: var(--accent);
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease 0.9s;
}
.demo[data-scene='4'] .car.ours {
  transform: translate(160%, 26px) rotate(8deg);
  opacity: 0;
}
.demo[data-scene='4'] .bay-flag {
  opacity: 1;
}

/* The place card, as in the app. */
.pcard {
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.place-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.place-row b {
  display: block;
  font: 800 18px/1.15 var(--display);
  font-stretch: 108%;
}
.place-row span {
  font-size: 13px;
  color: var(--muted);
}
.now-chip {
  flex: none;
  font: 700 13px/1 var(--mono);
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--raised);
  font-variant-numeric: tabular-nums;
}

.tl-wrap {
  position: relative;
  padding-top: 4px;
}
.tl {
  display: flex;
  height: 26px;
  border-radius: 7px;
  overflow: hidden;
}
.tl i {
  display: grid;
  place-items: center;
  font: 700 12px/1 var(--mono);
  font-style: normal;
  color: var(--bg);
}
.tl .free {
  background: var(--ok);
}
.tl .paid {
  background: var(--paid);
}
.stay {
  position: absolute;
  top: 4px;
  height: 26px;
  left: var(--from);
  width: calc(var(--to) - var(--from));
  border-radius: 4px;
  background: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.6) 0 4px,
    transparent 4px 8px
  );
  outline: 2px solid var(--fg);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.demo[data-scene='2'] .stay,
.demo[data-scene='3'] .stay {
  opacity: 1;
}
.now-mark {
  position: absolute;
  top: 0;
  height: 34px;
  left: var(--now);
  width: 2px;
  background: var(--fg);
  transition: left 0.8s ease;
}
.now-mark::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--fg);
}
.tl-labels {
  position: relative;
  height: 14px;
  font: 600 11px/1 var(--mono);
  color: var(--muted);
}
.tl-labels span {
  position: absolute;
  transform: translateX(-50%);
}
.tl-labels span:first-child {
  transform: none;
}
.tl-labels span:last-child {
  transform: translateX(-100%);
}

/* One panel per step; only the current one is shown. */
.scene {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 176px;
}
@media (prefers-reduced-motion: no-preference) {
  .scene:not([hidden]) {
    animation: scene-in 0.45s ease both;
  }
  @keyframes scene-in {
    from {
      transform: translateY(8px);
    }
    to {
      transform: none;
    }
  }
}
.rule-line {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 14.5px;
}
.rule-line i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--c);
}
.rule-line em {
  font: 600 12.5px/1 var(--mono);
  font-style: normal;
  color: var(--muted);
}
.answer {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 14px;
}
.answer b {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.sheet-title {
  font: 800 17px/1.2 var(--display);
  font-stretch: 106%;
}
.pick {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.pick span {
  font: 600 12.5px/1 var(--body);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.pick span.on {
  border-color: var(--accent-ink);
  color: var(--fg);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}
.pick small {
  font: 700 10px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-left: 4px;
}
.fine-note {
  font-size: 12.5px;
  color: var(--muted);
}
.banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--on-accent);
}
.banner b {
  display: block;
  font: 800 15px/1.1 var(--display);
}
.banner .left {
  font: 700 18px/1.2 var(--mono);
  font-variant-numeric: tabular-nums;
}
.banner .act {
  flex: none;
  font: 700 12.5px/1 var(--body);
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--on-accent);
  color: var(--accent);
}
@media (prefers-reduced-motion: no-preference) {
  .demo[data-scene='3'] .act {
    animation: tap 0.6s ease 3.4s both;
  }
  @keyframes tap {
    50% {
      transform: scale(0.88);
    }
    100% {
      transform: none;
    }
  }
}
.notif {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: var(--raised);
  font-size: 13.5px;
  line-height: 1.4;
}
.notif .ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--on-accent);
  display: grid;
  place-items: center;
  font: 900 15px/1 var(--display);
}
.notif b {
  display: block;
  font-size: 14px;
}
.notif .meta {
  display: block;
  font: 600 11px/1 var(--mono);
  color: var(--muted);
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}
.notif.nearby {
  outline: 2px solid var(--accent-ink);
}

/* The steps under the card. The order is the story, so they are numbered. */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.steps button {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  border-radius: 10px;
  padding: 9px 10px 11px;
  font: 600 12.5px/1.2 var(--body);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.steps button span {
  font: 700 10.5px/1 var(--mono);
  letter-spacing: 0.08em;
}
.steps button[aria-current='step'] {
  color: var(--fg);
  border-color: var(--muted);
  background: var(--raised);
}
.steps button::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: var(--accent);
}
.steps button[aria-current='step']::after {
  width: 100%;
}
.demo.playing .steps button[aria-current='step']::after {
  animation: fill var(--step-ms, 6000ms) linear both;
}
@keyframes fill {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
@media (max-width: 460px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  .car,
  .bay-flag,
  .now-mark,
  .stay {
    transition: none;
  }
}

/* ---------- source ticker ---------- */
.ticker {
  border-block: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
}
.ticker-track {
  display: flex;
  gap: 40px;
  width: max-content;
  padding-block: 16px;
  animation: slide 46s linear infinite;
}
.ticker-track span {
  font: 600 13px/1 var(--mono);
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.ticker-track span b {
  color: var(--fg);
  font-weight: 700;
}
@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}
.ticker:hover .ticker-track {
  animation-play-state: paused;
}

/* ---------- sections ---------- */
section.block {
  padding-block: clamp(64px, 9vw, 120px);
}
.sec-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
h2 {
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1;
  font-weight: 850;
  font-stretch: 112%;
  letter-spacing: -0.02em;
}
.sec-head p {
  color: var(--muted);
  font-size: 18px;
  max-width: 38em;
}

/* numbers */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.stat {
  background: var(--bg);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.stat .n {
  font: 900 clamp(36px, 4.4vw, 54px)/1 var(--display);
  font-stretch: 112%;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.stat .n em {
  font-style: normal;
  color: var(--accent-ink);
}
.stat p {
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 860px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 420px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

/* features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) {
  .features {
    grid-template-columns: 1fr;
  }
}
.feat {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  min-width: 0;
}
.feat h3 {
  font-size: 23px;
  font-weight: 800;
  font-stretch: 108%;
  line-height: 1.1;
}
.feat p {
  color: var(--muted);
  font-size: 15.5px;
}
.feat .viz {
  height: 128px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.legend-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 600 13px/1 var(--mono);
}
.legend-row i {
  width: 26px;
  height: 8px;
  border-radius: 4px;
  background: var(--c);
}
.legend-row i.dash {
  background: transparent;
  border: 2px dashed var(--muted);
  height: 10px;
}
.evidence {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font: 500 12.5px/1.25 var(--mono);
}
.evidence div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.evidence span:last-child {
  color: var(--muted);
  text-align: right;
}
.remind {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ring {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  flex: none;
  background: conic-gradient(var(--accent) 0 78%, var(--raised) 78% 100%);
  display: grid;
  place-items: center;
}
.ring span {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--bg);
  display: grid;
  place-items: center;
  font: 700 14px/1 var(--mono);
}
.remind p {
  font-size: 13.5px;
}

/* free forever */
.free-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
@media (max-width: 860px) {
  .free-grid {
    grid-template-columns: 1fr;
  }
}
.free-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.free-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.free-list li::before {
  content: '✓';
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  display: grid;
  place-items: center;
  font: 900 13px/1 var(--body);
  margin-top: 2px;
}
.free-list b {
  display: block;
  font-weight: 600;
}
.free-list span {
  color: var(--muted);
  font-size: 15px;
}

/* the signs decide */
.signs {
  border-radius: 24px;
  padding: clamp(28px, 5vw, 56px);
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}
@media (max-width: 720px) {
  .signs {
    grid-template-columns: 1fr;
  }
}
.lines {
  width: 120px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lines i {
  height: 12px;
  border-radius: 3px;
  background: var(--kerb-yellow);
}
.signs h2 {
  font-size: clamp(30px, 4vw, 48px);
}
.signs p {
  color: var(--muted);
  margin-top: 12px;
  max-width: 40em;
}

/* faq */
.faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
}
@media (max-width: 820px) {
  .faq {
    grid-template-columns: 1fr;
  }
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding-block: 18px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-weight: 600;
  font-size: 17px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font: 500 22px/1 var(--mono);
  color: var(--accent-ink);
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  color: var(--muted);
  margin-top: 10px;
  font-size: 15.5px;
}

/* closing */
.closing {
  text-align: left;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: end;
}
@media (max-width: 860px) {
  .closing {
    grid-template-columns: 1fr;
  }
}
.closing h2 {
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.95;
  font-stretch: 118%;
  font-weight: 900;
}

footer {
  border-top: 1px solid var(--line);
  padding-block: 36px 48px;
  color: var(--muted);
  font-size: 13px;
}
footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
footer .row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.credits {
  max-width: 80em;
  line-height: 1.55;
}

/* load-in: visible at rest, a short rise on load only */
@media (prefers-reduced-motion: no-preference) {
  .rise {
    animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .rise.d2 {
    animation-delay: 0.08s;
  }
  .rise.d3 {
    animation-delay: 0.16s;
  }
  .rise.d4 {
    animation-delay: 0.24s;
  }
  @keyframes rise {
    from {
      transform: translateY(14px);
    }
    to {
      transform: none;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
  }
  .btn {
    transition: none;
  }
}

/* ---------- shared helpers (site build) ---------- */
.mt {
  margin-top: 18px;
}
.pt0 {
  padding-top: 0 !important;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stack .btn {
  align-self: flex-start;
}
.ticker a {
  text-decoration: none;
}
.ticker a:hover b {
  color: var(--accent-ink);
}

/* ---------- city cards ---------- */
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}
.city-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  min-width: 0;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  transition:
    border-color 0.15s ease,
    transform 0.15s ease;
}
.city-card:hover {
  border-color: var(--accent-ink);
  transform: translateY(-2px);
}
.city-card .top-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.city-card h3 {
  font-size: 22px;
  font-weight: 800;
  font-stretch: 110%;
}
.city-card .region {
  font: 600 11px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.city-card .count {
  font: 900 34px/1 var(--display);
  font-stretch: 112%;
  font-variant-numeric: tabular-nums;
}
.city-card .unit {
  font-size: 13px;
  color: var(--muted);
}
.city-card p {
  font-size: 14.5px;
  color: var(--muted);
}
.city-card .go {
  margin-top: auto;
  font: 700 13px/1 var(--mono);
  color: var(--accent-ink);
}

/* ---------- city page ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font: 500 13px/1.4 var(--mono);
  color: var(--muted);
}
.crumbs a {
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--fg);
}
.city-hero {
  padding-block: clamp(32px, 6vw, 72px) clamp(28px, 4vw, 48px);
}
.city-hero .wrap {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
}
@media (max-width: 880px) {
  .city-hero .wrap {
    grid-template-columns: 1fr;
  }
}
.city-hero .copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.city-hero h1 {
  font-size: clamp(42px, 6.6vw, 84px);
}
.count-plate {
  border-radius: 20px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.count-plate .n {
  font: 900 clamp(56px, 8vw, 96px)/0.95 var(--display);
  font-stretch: 115%;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
.count-plate .u {
  color: var(--muted);
  font-size: 16px;
}
.count-plate .facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.count-plate .facts span {
  font: 600 12.5px/1 var(--mono);
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.city-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 880px) {
  .city-body {
    grid-template-columns: 1fr;
  }
}
.city-body > * {
  min-width: 0;
}
.city-body h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  margin-bottom: 18px;
}
.parts {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
}
.parts td {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.parts td.num {
  text-align: right;
  font: 700 16px/1.3 var(--mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  padding-left: 16px;
}
.parts .note {
  display: block;
  font-size: 13px;
  color: var(--muted);
}
.bar {
  height: 4px;
  border-radius: 2px;
  background: var(--raised);
  margin-top: 8px;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}
.gaps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gaps li {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: 15px;
}
.source-box {
  margin-top: 22px;
  padding: 18px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
}
.source-box b {
  color: var(--fg);
  font-weight: 600;
}
.source-box a {
  color: var(--accent-ink);
  word-break: break-word;
}
.join-panel {
  border-radius: 22px;
  padding: clamp(24px, 4vw, 44px);
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}
@media (max-width: 820px) {
  .join-panel {
    grid-template-columns: 1fr;
  }
}
.join-panel h2 {
  font-size: clamp(28px, 3.6vw, 44px);
}
.notfound {
  padding-block: 96px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.ink {
  color: var(--fg);
}
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 20;
  background: var(--accent);
  color: var(--on-accent);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
}
.skip:focus {
  left: max(16px, env(safe-area-inset-left, 0px));
}
.btn:disabled {
  opacity: 0.6;
  cursor: progress;
}
