@font-face {
  font-family: "Satoshi";
  src: url("Satoshi-Variable.ttf") format("truetype");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --paper: #F5F7FC;
  --surface: #FFFFFF;
  --ink: #141933;
  --ink-soft: #545B7A;
  --line: #DCE1EE;
  --blue: #4972F7;
  --red: #F26F66;
  --green: #21A88C;
  --violet: #7564D9;
  --route-start: #8A3BFF;
  --route-mid: #4F8BF5;
  --route-end: #12DCE2;
  --phone: #141933;
  --screen: #FBFCFE;
  --tile: #FFFFFF;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --paper: #0D1124;
  --surface: #161B33;
  --ink: #EEF1FA;
  --ink-soft: #A2A9C8;
  --line: #2A3154;
  --blue: #7D8CFF;
  --phone: #2A3154;
  --screen: #0F1328;
  --tile: #1A2040;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Satoshi", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10; padding-block: 14px;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 750; font-size: 1.375rem; letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 1rem; font-weight: 550; }
.site-nav a:not(.btn) { text-decoration: none; color: var(--ink-soft); }
.theme-toggle {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
  transition: border-color .2s ease, transform .2s ease;
}
.theme-toggle[hidden] { display: none; }
.theme-toggle:hover { border-color: var(--blue); }
.theme-toggle:active { transform: scale(.92); }
.theme-toggle svg { width: 19px; height: 19px; grid-area: 1 / 1; transition: opacity .25s ease, transform .35s ease; }
.theme-toggle .sun { opacity: 0; transform: rotate(-90deg) scale(.5); }
.theme-toggle[aria-pressed="true"] .moon { opacity: 0; transform: rotate(90deg) scale(.5); }
.theme-toggle[aria-pressed="true"] .sun { opacity: 1; transform: none; }
body { transition: background-color .3s ease, color .3s ease; }
@media (prefers-reduced-motion: reduce) { .theme-toggle svg, body { transition: none; } }
.site-nav a:not(.btn):hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-small { padding: 9px 16px; font-size: .9375rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-quiet { padding-inline: 4px; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.btn-quiet:hover { color: var(--ink); }

/* Route */
main { position: relative; overflow-x: clip; }
.route { position: absolute; inset: 0 auto auto 0; width: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.route-track { fill: none; stroke: var(--line); stroke-width: 3; stroke-dasharray: 2 12; stroke-linecap: round; }
.route-trail { fill: none; stroke: url(#routeGradient); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }

.stop-dot {
  position: absolute; width: 22px; height: 22px; border-radius: 50%;
  background: var(--paper); border: 4px solid var(--line);
  transition: border-color .3s ease, background-color .3s ease;
}
.stop-dot.reached { border-color: var(--blue); background: var(--surface); }

/* Hero */
.hero { position: relative; z-index: 1; padding-block: 48px 120px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero h1 {
  margin: 0 0 28px;
  font-size: clamp(3.25rem, 7.6vw, 6.5rem);
  line-height: .94; font-weight: 820; letter-spacing: -0.045em;
}
.origin {
  display: inline-block; width: .2em; height: .2em; margin-left: .05em;
  border-radius: 50%; background: var(--route-start);
  vertical-align: baseline; position: relative;
}
.hero-lede { max-width: 30rem; margin: 0 0 36px; color: var(--ink-soft); font-size: 1.25rem; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.hero-phone { justify-self: center; }

/* Stops */
.stop { position: relative; z-index: 1; padding-block: 72px 112px; }
.stop .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: center; }
.stop.flip .stop-text { order: 2; }
.stop-text { position: relative; padding-left: 56px; }
.stop-text .stop-dot { left: 0; top: .55em; }
.stop h2 {
  margin: 0 0 20px;
  font-size: clamp(2.25rem, 4.6vw, 3.6rem);
  line-height: 1; font-weight: 800; letter-spacing: -0.035em;
}
.stop p { margin: 0 0 24px; max-width: 32rem; color: var(--ink-soft); }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 32rem; }
.points li { position: relative; padding-left: 26px; font-weight: 550; }
.points li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--blue); }
.stop-visual { display: flex; justify-content: center; }

/* Phone with real app screenshots */
.phone {
  width: 300px; max-width: 100%;
  border-radius: 48px; padding: 10px;
  background: var(--phone);
  box-shadow: 0 30px 60px -30px rgba(20, 25, 51, .45);
}
.phone.cropped { border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 0; }
.screen { position: relative; border-radius: 38px; overflow: hidden; background: var(--screen); aspect-ratio: 598 / 1300; }
.phone.cropped .screen { aspect-ratio: auto; height: 500px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center var(--focus, 0%); }
.shot-dark { display: none !important; }
:root[data-theme="dark"] .shot-light { display: none !important; }
:root[data-theme="dark"] .shot-dark { display: block !important; }

/* Privacy */
.privacy .wrap { display: block; }
.privacy .stop-text { max-width: 44rem; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; margin: 48px 0 0; padding-left: 56px; }
.facts dt { font-weight: 750; font-size: 1.25rem; letter-spacing: -0.015em; margin-bottom: 6px; }
.facts dd { margin: 0; color: var(--ink-soft); max-width: 28rem; }

/* Finale */
.finale { position: relative; z-index: 1; padding-block: 40px 120px; text-align: center; }
.pin-slot { display: block; width: 64px; height: 84px; margin: 0 auto 28px; }
.pin { width: 64px; height: 84px; display: block; overflow: visible; }
.finale h2 { margin: 0 0 16px; font-size: clamp(2.5rem, 6vw, 4.75rem); line-height: 1; font-weight: 820; letter-spacing: -0.04em; }
.finale p { margin: 0 auto 32px; max-width: 28rem; color: var(--ink-soft); }

/* FAQ section: a few popular questions, the answers come in the chat */
.faq { position: relative; z-index: 1; padding-block: 96px; border-top: 1.5px solid var(--line); }
.faq-head { margin-bottom: 32px; }
.faq h2 { margin: 0 0 14px; font-size: clamp(2.25rem, 4.2vw, 3.4rem); line-height: 1; font-weight: 800; letter-spacing: -0.035em; }
.faq-head p { margin: 0; max-width: 32rem; color: var(--ink-soft); }
.faq-popular { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; max-width: 52rem; }
.faq-popular:empty { display: none; }
.faq-popular .chip { font-size: 1rem; padding: 12px 18px; }
.faq-fallback { margin: 24px 0 0; color: var(--ink-soft); }
.faq-fallback[hidden] { display: none; }
.faq-fallback a { color: inherit; }

/* Chips and topics, shared by the section and the chat */
.faq-chips, .faq-popular { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: inherit; font-size: .9375rem; font-weight: 600; line-height: 1.3; text-align: left;
  padding: 9px 15px; border-radius: 999px; cursor: pointer;
  color: var(--ink); background: var(--surface); border: 1.5px solid var(--line);
  transition: border-color .2s ease, transform .2s ease, opacity .25s ease, background-color .2s ease;
}
.chip:hover { border-color: var(--blue); transform: translateY(-2px); }
.chip:active { transform: scale(.96); }
.chip:disabled { cursor: default; }
.faq-chips .chip:disabled { opacity: .55; }
.faq-chips .chip:disabled:hover { transform: none; border-color: var(--line); }
.chip.restart { border-style: dashed; color: var(--ink-soft); }
.chip.asked { color: var(--ink-soft); }
.chip.asked::after { content: ""; display: inline-block; width: 6px; height: 10px; margin-left: 9px; border: solid var(--green); border-width: 0 2px 2px 0; rotate: 45deg; translate: 0 -2px; }
.chip mark { background: color-mix(in srgb, var(--blue) 22%, transparent); color: inherit; border-radius: 4px; padding: 0 1px; }
a.chip { text-decoration: none; display: inline-block; }
.chip small { display: block; margin-top: 4px; font-size: .8125rem; font-weight: 450; color: var(--ink-soft); line-height: 1.4; }
.faq-chips.results { flex-direction: column; align-items: flex-start; }
.faq-chips.results .chip { border-radius: 18px; }
.faq-chips .chip { animation: chip-in .3s ease both; }
.faq-chips .chip:nth-child(2) { animation-delay: .03s; } .faq-chips .chip:nth-child(3) { animation-delay: .06s; }
.faq-chips .chip:nth-child(4) { animation-delay: .09s; } .faq-chips .chip:nth-child(n+5) { animation-delay: .12s; }
@keyframes chip-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.faq-topics { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 8px; padding: 0 16px; }
.faq-topics::-webkit-scrollbar { display: none; }
.faq-topics[hidden] { display: none; }
.topic {
  flex: none; font: inherit; font-size: .8125rem; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  border: 0; background: transparent; color: var(--ink-soft); cursor: pointer; transition: background-color .2s ease, color .2s ease;
}
.topic:hover { color: var(--ink); }
.topic[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.faq-status { margin: 0 0 8px; font-size: .875rem; color: var(--ink-soft); }
.faq-status:empty { display: none; }

/* Floating chat button */
.chat-launcher {
  position: fixed; z-index: 40; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 9px; height: 54px; padding: 0 20px 0 17px; border-radius: 999px;
  font: inherit; font-size: 1rem; font-weight: 650; color: var(--paper); background: var(--ink); border: 0; cursor: pointer;
  box-shadow: 0 18px 40px -16px rgba(20, 25, 51, .55), 0 0 0 1px color-mix(in srgb, var(--paper) 10%, transparent);
  transition: transform .2s ease, box-shadow .3s ease, opacity .2s ease;
}
.chat-launcher svg { width: 22px; height: 22px; flex: none; }
.chat-launcher:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -16px color-mix(in srgb, var(--route-start) 70%, transparent); }
.chat-launcher:active { transform: scale(.95); }
.chat-open .chat-launcher { opacity: 0; pointer-events: none; transform: scale(.8); }
html.intro .chat-launcher { animation: fade-up .6s ease 1.4s backwards; }

/* Chat panel */
.chat-panel {
  position: fixed; z-index: 50; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; width: 400px; height: min(660px, calc(100dvh - 120px));
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 28px; overflow: hidden;
  box-shadow: 0 40px 90px -36px rgba(20, 25, 51, .55); transform-origin: bottom right;
}
.chat-panel[hidden] { display: none; }
.chat-head { flex: none; display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 18px; border-bottom: 1.5px solid var(--line); }
.chat-head img { width: 38px; height: 38px; padding: 6px; border-radius: 12px; background: var(--paper); flex: none; }
.chat-head > div { min-width: 0; }
.chat-head strong { display: block; font-size: 1rem; line-height: 1.2; }
.chat-head span { display: block; font-size: .8125rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-clear { white-space: nowrap; flex: none; margin-left: auto; font: inherit; font-size: .8125rem; font-weight: 600; color: var(--ink-soft); background: none; border: 0; padding: 6px 8px; border-radius: 8px; cursor: pointer; }
.chat-clear[hidden] { display: none; }
.chat-clear:hover { color: var(--ink); background: var(--paper); }
.chat-close {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; margin-left: auto; padding: 0; border-radius: 50%;
  color: var(--ink-soft); background: none; border: 0; cursor: pointer;
}
.chat-clear:not([hidden]) + .chat-close { margin-left: 0; }
.chat-close:hover { color: var(--ink); background: var(--paper); }
.chat-close svg { width: 20px; height: 20px; }

.chat-body { position: relative; flex: 1; min-height: 0; display: flex; }
.chat-log {
  flex: 1; overflow-y: auto; padding: 20px 16px; display: flex; flex-direction: column; gap: 10px;
  scrollbar-width: thin; overscroll-behavior: contain;
}
.chat-log::before { content: ""; margin-top: auto; }
.chat-empty {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px;
  padding: 24px; text-align: center; pointer-events: none;
}
.chat-empty[hidden] { display: none; }
.chat-empty img { width: 60px; height: 60px; padding: 11px; border-radius: 18px; background: var(--paper); }
.chat-empty p { margin: 0; max-width: 18rem; color: var(--ink-soft); font-size: 1rem; line-height: 1.55; }

.chat-suggest { flex: none; padding: 12px 16px 0; border-top: 1.5px solid var(--line); }
.chat-suggest[hidden] { display: none; }
.chat-suggest .faq-chips {
  max-height: 148px; overflow-y: auto; scrollbar-width: thin; padding: 2px 2px 12px; overscroll-behavior: contain;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 16px), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 16px), transparent);
}
.chat-suggest .faq-chips.results { max-height: 240px; }
.chat-suggest .chip { font-size: .875rem; padding: 8px 13px; }
.chat-error { margin: 0; padding: 0 20px 20px; color: var(--ink-soft); font-size: .9375rem; }
.chat-error[hidden] { display: none; }

.chat-input { flex: none; display: flex; align-items: center; gap: 8px; padding: 10px 12px 12px 16px; }
.chat-input[hidden] { display: none; }
.chat-input input {
  flex: 1; min-width: 0; height: 46px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--paper); outline: none;
  font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease;
}
.chat-input input::placeholder { color: var(--ink-soft); opacity: .8; }
.chat-input input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 18%, transparent); }
.chat-input button {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 50%;
  border: 0; background: var(--blue); color: #fff; cursor: pointer; transition: transform .15s ease;
}
.chat-input button:active { transform: scale(.92); }
.chat-input button svg { width: 20px; height: 20px; }

.bubble {
  max-width: 85%; padding: 11px 15px; border-radius: 22px; font-size: .9875rem; line-height: 1.5;
  transform-origin: bottom left; animation: bubble-pop .35s cubic-bezier(.2, .9, .3, 1.2) both;
}
.bubble.bot { align-self: flex-start; background: var(--paper); border-bottom-left-radius: 6px; }
.bubble.me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; transform-origin: bottom right; animation: none; font-weight: 550; }
.bubble.bot a { color: var(--blue); text-underline-offset: 3px; }
.bubble-extras { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.bubble-extras .chip { font-size: .875rem; text-align: left; }
.bubble.bot .bubble-extras a.chip { color: var(--ink-soft); text-decoration: none; }
.bubble.typing { display: flex; gap: 5px; padding: 16px 18px; }
.bubble.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-soft); animation: dot 1s ease-in-out infinite; }
.bubble.typing i:nth-child(2) { animation-delay: .15s; }
.bubble.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bubble-pop { from { opacity: 0; transform: scale(.85) translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }

/* Phones: the button shrinks to an icon, the chat fills the screen */
@media (max-width: 600px) {
  .chat-launcher { width: 56px; height: 56px; padding: 0; justify-content: center; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
  .chat-launcher span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .chat-launcher svg { width: 24px; height: 24px; }
  .chat-panel {
    inset: 0; width: auto; height: 100dvh; border: 0; border-radius: 0; box-shadow: none;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) 0 env(safe-area-inset-left);
  }
  .chat-input { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .chat-input input { font-size: 1rem; }
  html.chat-open, html.chat-open body { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .faq-chips .chip, .bubble, .bubble.typing i, html.intro .chat-launcher { animation: none; }
  .chip, .chat-launcher { transition: none; }
}

/* Footer */
.site-footer { padding-block: 40px 48px; border-top: 1.5px solid var(--line); font-size: .9375rem; color: var(--ink-soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }

/* Responsive */
@media (max-width: 900px) {
  .site-nav a:not(.btn) { display: none; }
  .hero { padding-bottom: 96px; }
  .hero .wrap, .stop .wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .stop.flip .stop-text { order: 0; }
  .stop { padding-block: 48px 88px; }
  .stop-text { padding-left: 40px; }
  .stop-visual { padding-left: 40px; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-left: 40px; }
  .faq { padding-block: 64px; }
  .faq-head { margin-bottom: 24px; }
}
@media (max-width: 420px) {
  .phone { width: 100%; }
}

/* Legal pages */
.legal-head { padding-block: 56px 48px; }
.legal-head h1 { margin: 0 0 18px; font-size: clamp(2.75rem, 6.4vw, 5rem); line-height: .98; font-weight: 820; letter-spacing: -0.04em; }
.legal-head p { margin: 0; color: var(--ink-soft); max-width: 36rem; }
.legal-route { display: flex; align-items: center; width: min(220px, 60%); margin: 0 0 32px; }
.legal-route::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--route-start); flex: none; }
.legal-route::after { content: ""; height: 6px; flex: 1; border-radius: 3px; margin-left: -2px; background: linear-gradient(90deg, var(--route-start), var(--route-mid), var(--route-end)); }

.legal-body { padding-bottom: 96px; }
.legal-body .wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 72px; align-items: start; }
.toc { position: sticky; top: 96px; font-size: .9375rem; }
.toc p { margin: 0 0 12px; font-weight: 700; }
.toc ol { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 2px solid var(--line); display: grid; gap: 8px; }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--ink); }

.prose { max-width: 42rem; font-size: 1.0625rem; line-height: 1.7; }
.prose > section { padding-top: 8px; margin-bottom: 48px; scroll-margin-top: 24px; }
.prose h2 { margin: 0 0 16px; font-size: 1.625rem; line-height: 1.2; font-weight: 780; letter-spacing: -0.02em; }
.prose h3 { margin: 28px 0 8px; font-size: 1.125rem; line-height: 1.35; font-weight: 720; }
.prose p, .prose ul, .prose dl { margin: 0 0 16px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--blue); }
.prose a { color: var(--blue); text-underline-offset: 3px; }
.prose dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 24px; }
.prose dt { font-weight: 700; }
.prose dd { margin: 0; }
.summary { background: var(--surface); border: 1.5px solid var(--line); border-radius: 20px; padding: 24px 28px; margin-bottom: 48px; }
.summary h2 { font-size: 1.25rem; margin-bottom: 12px; }
.summary ul { margin: 0; }

.todo {
  background: color-mix(in srgb, var(--red) 18%, transparent);
  color: var(--ink); padding: 1px 6px; border-radius: 6px;
  outline: 1.5px dashed var(--red); outline-offset: -1.5px;
}

@media (max-width: 900px) {
  .legal-body .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .toc { position: static; }
  .prose dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .prose dd { margin-bottom: 10px; }
}

/* Motion */
/* The tip is a small HTML element so the page-tall route SVG never becomes its own GPU layer (iOS limit). */
.route-tip { position: absolute; top: 0; left: 0; z-index: 0; width: 0; height: 0; pointer-events: none; opacity: 0; transition: opacity .3s ease; }
.route-tip.visible { opacity: 1; }
.route-tip span { position: absolute; border-radius: 50%; }
.route-tip .halo { width: 36px; height: 36px; left: -18px; top: -18px; background: var(--route-mid); opacity: .22; animation: halo 1.8s ease-in-out infinite; }
.route-tip .core { width: 14px; height: 14px; left: -7px; top: -7px; background: #fff; border: 4px solid var(--route-mid); box-sizing: content-box; translate: -4px -4px; }
@keyframes halo { 0%, 100% { transform: scale(.7); opacity: .28; } 50% { transform: scale(1.15); opacity: .1; } }

.stop-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--blue); opacity: 0; pointer-events: none;
}
.stop-dot.reached::after { animation: ripple 1.1s cubic-bezier(.2, .7, .3, 1) 1; }
@keyframes ripple { from { transform: scale(1); opacity: .7; } to { transform: scale(3.2); opacity: 0; } }

.phone { transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s ease; will-change: transform; }
.hero-phone .phone { transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.btn-primary { transition: transform .2s ease, box-shadow .3s ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--route-start) 70%, transparent); }
.site-header { transition: background-color .3s ease, box-shadow .3s ease; }
.site-header.scrolled { box-shadow: 0 10px 30px -24px rgba(20, 25, 51, .5); }

.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero h1 .line > span { display: inline-block; }

html.intro .site-header { animation: fade-down .7s ease both; }
html.intro .hero h1 .line > span { animation: rise 1s cubic-bezier(.2, .8, .2, 1) both; }
html.intro .hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
html.intro .origin { animation: pop .5s cubic-bezier(.3, 1.6, .5, 1) 1s both; }
html.intro .hero-lede { animation: fade-up .8s ease .45s both; }
html.intro .hero-actions { animation: fade-up .8s ease .58s both; }
html.intro .hero-phone { animation: phone-in 1.3s cubic-bezier(.2, .8, .2, 1) .2s both; }

html.intro .route path { stroke-opacity: 0; transition: stroke-opacity .6s ease; }
html.intro .route.shown path { stroke-opacity: 1; }

html.intro .stop h2 { clip-path: inset(0 0 100% 0); transform: translateY(.4em); transition: clip-path .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); }
html.intro .stop.arrived h2 { clip-path: inset(-20% -5% -25% -5%); transform: none; }

html.intro .pin { opacity: 0; transform: translateY(-70px) scale(.6); }
html.intro .pin-slot.landed .pin { animation: drop .8s cubic-bezier(.3, 1.4, .5, 1) both; }

@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes pop { from { transform: scale(0); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes phone-in { from { opacity: 0; transform: perspective(1400px) translateY(90px) rotateX(24deg) scale(.94); } to { opacity: 1; transform: perspective(1400px); } }
@keyframes drop { 0% { opacity: 0; transform: translateY(-70px) scale(.6); } 60% { opacity: 1; transform: translateY(6px) scale(1.04); } 100% { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .route-tip { display: none; }
  .stop-dot.reached::after, .route-tip .halo { animation: none; }
  .phone, .btn-primary { transition: none; }
}
