/* motu.run — Señal design system tokens (design system artifact, project/tokens.json).
   Day is the default; Night follows the visitor's setting. Use the tokens and their
   meanings (yellow = the one action, blue = links/information, green = done), never a raw hex. */

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("/fonts/AtkinsonHyperlegibleNext-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Mono";
  src: url("/fonts/AtkinsonHyperlegibleMono-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --page: #f2f3f5;
  --surface: #ffffff;
  --surface-2: #e9ebee;
  --line: #d9dbe0;
  --line-strong: #7d828c;
  --ink: #111318;
  --ink-2: #454a54;
  --ink-3: #5f6570;
  --signal: #ffd400;
  --signal-press: #e6be00;
  --signal-soft: #fff4bf;
  --signal-edge: #111318;
  --on-signal: #111318;
  --info: #1f3fd1;
  --go: #005e45;
  --go-soft: #ddf3ea;
  --danger: #a11b12;
  --danger-soft: #fde3e1;
  --focus: #1f3fd1;
  --shadow-raised: 0 8px 24px rgba(17, 19, 24, 0.18);
  --sans: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Atkinson Hyperlegible Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius-md: 10px;
  --radius-lg: 14px;
  --gutter: 24px;
  color-scheme: light;
}

/* Night — the design system's night theme */
.night {
  --page: #0b0c0e;
  --surface: #17191d;
  --surface-2: #22252b;
  --line: #2e3238;
  --line-strong: #6b717c;
  --ink: #f5f5f2;
  --ink-2: #b4b8c0;
  --ink-3: #8c929c;
  --signal-soft: #332b00;
  --signal-edge: #ffd400;
  --info: #9db0ff;
  --go: #4fd18b;
  --go-soft: #0e2a1f;
  --danger: #ff8a80;
  --danger-soft: #3d1414;
  --focus: #ffd400;
  --shadow-raised: 0 8px 24px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #0b0c0e;
    --surface: #17191d;
    --surface-2: #22252b;
    --line: #2e3238;
    --line-strong: #6b717c;
    --ink: #f5f5f2;
    --ink-2: #b4b8c0;
    --ink-3: #8c929c;
    --signal-soft: #332b00;
    --signal-edge: #ffd400;
    --info: #9db0ff;
    --go: #4fd18b;
    --go-soft: #0e2a1f;
    --danger: #ff8a80;
    --danger-soft: #3d1414;
    --focus: #ffd400;
    --shadow-raised: 0 8px 24px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}

/* ----- base ----- */
*, *::before, *::after { 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;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
h1, h2, h3, p, ul, ol { margin: 0; }
a { color: var(--info); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
strong { font-weight: 700; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 16px; border-radius: var(--radius-md);
  background: var(--signal); color: var(--on-signal); border: 2px solid var(--signal-edge);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
@media (max-width: 600px) { :root { --gutter: 16px; } }

.icon { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ----- type ----- */
.h1 { font-size: 44px; line-height: 50px; font-weight: 700; letter-spacing: -0.02em; }
.h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.12; font-weight: 700; letter-spacing: -0.01em; }
.h3 { font-size: 24px; line-height: 30px; font-weight: 700; }
.lead { font-size: 21px; line-height: 31px; color: var(--ink-2); max-width: 32em; }
.body-lg { font-size: 19px; line-height: 29px; }
.small { font-size: 15px; line-height: 20px; }
.muted { color: var(--ink-2); }
.faint { color: var(--ink-3); }
.kicker { font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.figure { font-family: var(--mono); }
@media (max-width: 600px) {
  .h1 { font-size: 34px; line-height: 40px; }
  .lead { font-size: 19px; line-height: 28px; }
}

.stack-4 > * + * { margin-top: 4px; }
.stack-12 > * + * { margin-top: 12px; }
.stack-16 > * + * { margin-top: 16px; }
.stack-20 > * + * { margin-top: 20px; }
.stack-40 > * + * { margin-top: 40px; }

/* ----- buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 18px; border-radius: var(--radius-md);
  font: inherit; font-weight: 700; line-height: 20px; text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
}
.btn-lg { min-height: 56px; padding: 0 28px; }
.btn-block { display: flex; width: 100%; }
.btn-signal { background: var(--signal); border-color: var(--signal-edge); color: var(--on-signal); }
.btn-signal:hover { background: var(--signal-press); color: var(--on-signal); }
.btn-ink { background: var(--ink); color: var(--page); }
.btn-ink:hover { color: var(--page); opacity: 0.9; }
.btn-quiet {
  min-height: 48px; padding: 0 4px; border: 0; background: none; cursor: pointer;
  font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 3px;
}
.btn[disabled] { cursor: progress; }

/* ----- header ----- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.header-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding-top: 12px; padding-bottom: 12px; }
.logo-link { display: inline-flex; align-items: center; min-height: 48px; margin-right: auto; color: var(--ink); }
.logo { display: block; color: var(--ink); }
.logo-narrow { display: none; }
.logo-tile { fill: var(--signal); }
.logo-glyph { stroke: var(--on-signal); }
.logo-dot { fill: var(--on-signal); }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.nav-link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; color: var(--ink); text-decoration: none; }
.nav-link:hover { text-decoration: underline; color: var(--ink); }
.nav-link[aria-current="page"] { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-code { display: none; }
@media (max-width: 860px) {
  .header-row { padding-top: 8px; padding-bottom: 4px; }
  .logo-wide { display: none; }
  .logo-narrow { display: block; }
  .header-actions { order: 2; }
  .main-nav { order: 3; width: 100%; margin: 0 -8px; }
  .nav-link { padding: 0 8px; }
}
@media (max-width: 420px) {
  .lang-name { display: none; }
  .lang-code { display: inline; font-weight: 700; }
  .lang-menu > summary { padding: 0 8px; }
  .header-actions { gap: 4px; }
  .header-actions .btn-ink { padding: 0 12px; font-size: 15px; }
  .header-actions .btn-ink .icon { display: none; }
}

/* language menu */
.lang-menu { position: relative; }
.lang-menu > summary {
  display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 12px;
  border-radius: var(--radius-md); cursor: pointer; list-style: none; color: var(--ink);
}
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu > summary .icon { color: var(--ink-2); }
.lang-menu > summary:hover { background: var(--surface-2); }
.lang-menu[open] > summary { background: var(--surface-2); }
.lang-menu ul {
  position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; min-width: 220px;
  margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-raised);
}
.lang-menu li a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px; padding: 0 12px; border-radius: var(--radius-md);
  color: var(--ink); text-decoration: none;
}
.lang-menu li a:hover { background: var(--surface-2); color: var(--ink); }
.lang-menu li a[aria-current="true"] { background: var(--signal-soft); font-weight: 700; }
.lang-menu li a[aria-current="true"] .icon { stroke-width: 2.2; }
@media (max-width: 720px) { .lang-menu ul { right: auto; left: 0; } }

/* ----- home: hero ----- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 88px; }
.hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(42px, 5vw, 62px); line-height: 1.04; font-weight: 700; letter-spacing: -0.02em; }
.pill {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 15px; line-height: 20px; font-weight: 700;
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.app-download { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.app-label { font-size: 15px; line-height: 20px; font-weight: 700; color: var(--ink-2); }
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 56px; min-width: 176px; padding: 6px 20px; border-radius: var(--radius-md);
  background: var(--ink); color: var(--page); text-decoration: none;
}
.store-badge:hover { color: var(--page); opacity: 0.9; }
.store-small { font-size: 13px; line-height: 16px; }
.store-big { font-size: 20px; line-height: 24px; font-weight: 700; }
.stores-soon { font-weight: 700; }

.hero-art { flex: 1 1 360px; max-width: 500px; min-width: 0; }
.route-tile {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  background: var(--signal); border: 2px solid var(--signal-edge); border-radius: 28px;
}
.route-tile svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.route-streets { fill: none; stroke: var(--on-signal); stroke-opacity: 0.09; stroke-width: 14; }
.route-line { fill: none; stroke: var(--on-signal); stroke-width: 27; stroke-linecap: round; }
.route-ring { fill: none; stroke: var(--on-signal); stroke-width: 21.6; }
.route-dot { fill: var(--on-signal); }
.route-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; white-space: nowrap;
  background: var(--surface); border: 2px solid var(--on-signal);
  font-size: 15px; line-height: 20px; color: var(--ink);
}
.route-chip .figure { color: var(--ink-2); }
.route-chip-pickup { left: 33%; top: 79.2%; transform: translateY(-50%); }
.route-chip-dropoff { right: 6%; top: 44%; }
.marker { width: 10px; height: 10px; border-radius: 999px; }
.marker-ring { border: 3px solid var(--ink); }
.marker-dot { background: var(--ink); }
@media (max-width: 600px) {
  .hero { padding-top: 40px; padding-bottom: 56px; gap: 40px; }
  .route-chip { font-size: 14px; padding: 6px 10px; }
}

/* ----- sections, cards ----- */
.section { padding-top: 80px; padding-bottom: 80px; }
.band { background: var(--surface); color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 80px 0; }
.split { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px 56px; }
.split-a { flex: 1 1 380px; min-width: 0; }
.split-b { flex: 1 1 420px; min-width: 0; }
.cards { display: flex; flex-wrap: wrap; gap: 16px; }
.card {
  flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 12px;
  padding: 24px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
}
.cards-4 .card { flex-basis: 230px; }
.card-dark { background: var(--surface-2); }
.card h3 { font-size: 19px; line-height: 24px; font-weight: 700; }
.card p { color: var(--ink-2); }
.card-head { display: flex; align-items: center; gap: 10px; }
@media (max-width: 600px) {
  .section, .band { padding-top: 56px; padding-bottom: 56px; }
}

/* ----- contact ----- */
.contact { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 56px; scroll-margin-top: 24px; }
.faq { padding-top: 24px; }
.contact-intro { flex: 1 1 340px; min-width: 0; }
.contact-panel { flex: 1 1 460px; min-width: 0; }
.facts { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.facts li { display: flex; align-items: center; gap: 12px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.field-row { display: flex; flex-wrap: wrap; gap: 16px; }
.field-row .field { flex: 1 1 200px; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 15px; line-height: 20px; font-weight: 700; }
.optional { font-weight: 400; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border: 2px solid var(--line-strong); border-radius: var(--radius-md);
  background: var(--surface); color: var(--ink); font: inherit; font-size: 17px; line-height: 24px;
}
.field textarea { min-height: 132px; resize: vertical; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; } /* spam trap: people never see or fill it */
.form-error { padding: 12px 16px; border-radius: var(--radius-md); background: var(--danger-soft); color: var(--danger); }
.form-error a { color: inherit; }
.form-done { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.done-banner { display: flex; gap: 12px; align-items: flex-start; width: 100%; padding: 20px; border-radius: var(--radius-lg); background: var(--go-soft); }
.done-banner .icon { color: var(--go); stroke-width: 2; }
.done-title { font-size: 19px; line-height: 24px; font-weight: 700; color: var(--go); margin-bottom: 4px; }

/* ----- inner pages ----- */
.page { padding-top: 56px; padding-bottom: 80px; }
.page-head > * + * { margin-top: 12px; }
.page-head { margin-bottom: 40px; }
.narrow { max-width: 760px; }
.narrow .page-head { margin-bottom: 0; }

.support-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; }
.qa-list { flex: 2 1 560px; min-width: 0; padding: 0; }
.qa { padding: 24px; }
.qa + .qa { border-top: 1px solid var(--line); }
.qa h2 { font-size: 19px; line-height: 24px; font-weight: 700; margin-bottom: 8px; }
.qa p { color: var(--ink-2); }
.contact-card { flex: 1 1 300px; min-width: 0; }
.contact-email { font-size: 23px; line-height: 30px; font-weight: 700; overflow-wrap: anywhere; }

.steps { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps p { margin-top: 6px; }
.step-n {
  flex: none; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; border: 2px solid var(--ink); font-family: var(--mono); font-weight: 700;
}
.cards-2 .card { flex-basis: 300px; }

.note-box { padding: 12px 16px; border-radius: var(--radius-md); background: var(--surface-2); color: var(--ink-2); font-size: 15px; line-height: 20px; max-width: 760px; }
.privacy-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 56px; }
.toc { flex: 0 1 240px; min-width: 200px; }
.toc ul { list-style: none; padding: 0; margin-top: 8px; }
.toc li + li { border-top: 1px solid var(--line); }
.toc a { display: flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
/* legal pages: Markdown rendered by src/markdown.mjs */
.legal-body { flex: 1 1 520px; min-width: 0; max-width: 740px; }
.legal-body > * + * { margin-top: 16px; }
.legal-body h2 { margin-top: 48px; scroll-margin-top: 24px; }
.legal-body > h2:first-child { margin-top: 0; }
.legal-body h3 { margin-top: 28px; font-size: 19px; line-height: 24px; font-weight: 700; }
.legal-body p, .legal-body li { color: var(--ink-2); }
.legal-body strong { color: var(--ink); }
.legal-body ul { padding-left: 22px; }
.legal-body li + li { margin-top: 8px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 21px; }
.table-wrap th, .table-wrap td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap th { background: var(--surface-2); color: var(--ink); font-weight: 700; }
.table-wrap td { color: var(--ink-2); }
.table-wrap td:first-child { color: var(--ink); min-width: 12em; }
.table-wrap tr:last-child td { border-bottom: 0; }

/* home: questions */
.faq-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 28px 48px; margin-top: 32px; }
.faq-item h3 { font-size: 19px; line-height: 24px; font-weight: 700; margin-bottom: 8px; }
.faq-item p { color: var(--ink-2); }

/* ----- footer ----- */
.site-footer { border-top: 1px solid var(--line); background: var(--page); }
.site-footer .wrap { padding-top: 40px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 24px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 24px; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand p { font-size: 15px; line-height: 20px; color: var(--ink-2); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 8px; font-size: 15px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 8px; color: var(--ink-2); text-decoration: none; }
.footer-nav a:hover { color: var(--ink); text-decoration: underline; }
.footer-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; line-height: 20px; color: var(--ink-3); }
.footer-langs { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer-langs a { color: var(--ink-2); text-decoration: none; }
.footer-langs a:hover { color: var(--ink); text-decoration: underline; }
.footer-langs [aria-current="true"] { color: var(--ink); font-weight: 700; }
