/* Deliver Now: "Two Ticks"
   Ink is Deliver Now's voice, jacaranda is yours, msasa copper means delivered.
   Every bubble has one square corner: bottom-left when Deliver Now speaks, bottom-right when you do. */

:root {
  /* brand constants */
  --brand-ink: #1B1530;
  --msasa: #F0561D;
  --jac: #6B4FD8;
  --paper-white: #FFF9F2;

  /* light theme */
  --bg: #FBF7F1;
  --bg-2: #F4ECE0;
  --surface: #FFFFFF;
  --wall: #EFE6D8;
  --wall-dot: rgba(107, 79, 216, .10);
  --fg: #1B1530;
  --fg-2: #3E3756;
  --muted: #625B76;
  --line: #E6DCCD;
  --line-2: #D6C9B5;
  --accent-text: #B23F0E;
  --jac-text: #5A3DCB;
  --chip-bg: #ECE6FF;
  --chip-fg: #1B1530;
  --bubble-in: #FFFFFF;
  --bubble-out: #ECE6FF;
  --meta: #625B76;
  --meta-out: #4E4866;
  --sent: #8E86A8;
  --focus: #5A3DCB;
  --shadow-lg: 0 40px 80px -36px rgba(40, 24, 110, .45), 0 0 0 1px rgba(27, 21, 48, .06);

  /* always-dark "dusk" bands */
  --night: #15102B;
  --night-2: #201941;
  --night-3: #2C2457;
  --on-night: #F7F2EA;
  --on-night-2: #CFC6E4;
  --on-night-muted: #A69DC4;
  --foot: #15102B;

  --display: "Gabarito", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ui: "Onest", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --gut: 16px;
  --max: 1200px;
  color-scheme: light;
}

/* Harare at dusk */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #120E24;
    --bg-2: #171230;
    --surface: #1C1636;
    --wall: #171230;
    --wall-dot: rgba(183, 166, 255, .07);
    --fg: #F7F2EA;
    --fg-2: #CFC6E4;
    --muted: #A69DC4;
    --line: #2E2650;
    --line-2: #3D3468;
    --accent-text: #FF8A5C;
    --jac-text: #B7A6FF;
    --chip-bg: #3B2F7D;
    --chip-fg: #F7F2EA;
    --bubble-in: #241D45;
    --bubble-out: #3B2F7D;
    --meta: #A69DC4;
    --meta-out: #CFC6E4;
    --sent: #8E86A8;
    --focus: #B7A6FF;
    --shadow-lg: 0 40px 90px -36px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .07);
    --night: #0B0818;
    --night-2: #1A1436;
    --night-3: #261F49;
    --foot: #0B0818;
    color-scheme: dark;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.55 var(--ui);
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--jac-text); text-underline-offset: 3px; }
p { margin: 0; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.025em; color: inherit; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--max), 100% - 2 * var(--gut)); margin-inline: auto; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 99; background: var(--brand-ink); color: var(--paper-white); padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

/* the double tick, wherever it appears */
.tk { width: 1.45em; height: .9em; flex: none; color: var(--msasa); }

/* keyword chips: tiny outgoing messages */
kbd {
  font: 600 .8em/1 var(--mono);
  letter-spacing: .02em;
  background: var(--chip-bg);
  color: var(--chip-fg);
  padding: .3em .5em .26em;
  border-radius: .6em .6em .16em .6em;
  white-space: nowrap;
}

/* ---------- buttons: every call to action is a message you send ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  padding: 7px 8px 7px 22px;
  border-radius: 26px 26px 7px 26px;
  font: 650 16px/1.15 var(--ui);
  text-decoration: none;
  white-space: nowrap;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.btn kbd { font-size: 12.5px; padding: 9px 10px 8px; border-radius: 13px 13px 4px 13px; background: var(--brand-ink); color: var(--paper-white); }
.btn:hover { transform: translateY(-2px); }
.btn-lg { min-height: 58px; font-size: 17px; padding-left: 24px; }
.btn-sm { min-height: 42px; gap: 10px; padding: 5px 6px 5px 16px; font-size: 15px; border-radius: 21px 21px 6px 21px; }
.btn-sm kbd { font-size: 11.5px; padding: 7px 8px 6px; }
.btn-primary { background: var(--msasa); color: var(--brand-ink); box-shadow: 0 12px 28px -14px rgba(240, 86, 29, .9); }
.btn-primary:hover { background: #F26A35; }
.btn-ink { background: var(--brand-ink); color: var(--paper-white); }
.btn-ink kbd { background: var(--msasa); color: var(--brand-ink); }
.btn-ink:hover { background: #2A2247; }
.btn-line { background: transparent; color: var(--brand-ink); box-shadow: inset 0 0 0 2px var(--brand-ink); }
.btn-line:hover { background: rgba(27, 21, 48, .08); }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}
.bar { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: block; color: var(--fg); flex: none; border-radius: 6px; }
.logo { height: 26px; width: auto; }
.logo .l-ink { fill: currentColor; }
.logo .l-tick { fill: var(--msasa); }
.nav { display: none; gap: 2px; margin-left: auto; }
.nav a { color: var(--fg-2); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { background: var(--chip-bg); color: var(--fg); }
.top .btn { margin-left: auto; }
.hide-sm { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: clip;
  padding: 30px 0 34px;
  background:
    radial-gradient(800px 500px at 92% 0%, rgba(107, 79, 216, .12), transparent 62%),
    radial-gradient(560px 400px at 0% 100%, rgba(240, 86, 29, .07), transparent 62%),
    var(--bg);
}
.hero-grid { display: grid; gap: 34px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 650; font-size: 14px; color: var(--fg-2);
  background: var(--surface); border: 1px solid var(--line);
  padding: 6px 14px 6px 8px; border-radius: 999px;
}
.petal { width: 20px; height: 20px; color: var(--jac); }
.petal-eye { fill: var(--paper-white); }
h1 {
  font-weight: 800;
  font-size: clamp(48px, 14vw, 108px);
  line-height: .93;
  letter-spacing: -.04em;
  margin: 20px 0 20px;
  text-wrap: balance;
}
h1 .nw { white-space: nowrap; }
.h1-tk { display: inline-block; width: .62em; height: .4em; margin-left: .06em; vertical-align: baseline; fill: var(--msasa); }
.js .h1-tk { fill: var(--sent); transition: fill .7s ease; }
.js.is-delivered .h1-tk { fill: var(--msasa); }
.lede { font-size: 18px; line-height: 1.55; color: var(--fg-2); max-width: 33em; }
.cta { margin-top: 26px; display: grid; gap: 14px; }
.cta .btn-primary { width: 100%; }
.routes { display: grid; border-top: 1px solid var(--line); }
.route {
  display: flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 8px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--fg); text-decoration: none; font-weight: 600;
}
.route kbd { font-size: 12px; }
.route .ar { width: 20px; height: 20px; margin-left: auto; color: var(--accent-text); transition: transform .18s ease; }
.route:hover .ar { transform: translateX(4px); }
.cta-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.cta-note[hidden] { display: none; }
.cta-note--pending { padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: var(--surface); border: 1px dashed var(--line-2); color: var(--fg-2); }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.pills li { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--fg-2); background: var(--surface); border: 1px solid var(--line); padding: 6px 10px 6px 8px; border-radius: 13px 13px 13px 4px; }
.pills .tk { font-size: 12px; }

/* demo */
.demo { position: relative; padding-top: 22px; }
.demo-bubble { position: absolute; z-index: 0; top: 0; left: -2%; width: 104%; height: calc(100% - 92px); fill: var(--jac); transform: rotate(-3deg); }
.phone {
  position: relative; z-index: 1;
  width: 100%; max-width: 430px; margin-inline: auto;
  background: var(--surface);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
}
.chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--surface); }
.av { width: 40px; height: 40px; flex: none; }
.av-disc { fill: var(--msasa); }
.av-bubble { fill: var(--brand-ink); }
.chat-name b { display: block; font-size: 16px; line-height: 1.2; }
.chat-name small { display: block; font-size: 13px; color: var(--muted); }
.demo-tag {
  margin-left: auto; border: 0; cursor: default;
  font: 700 12px/1 var(--ui); letter-spacing: .06em; text-transform: uppercase;
  color: var(--jac-text); background: var(--chip-bg);
  padding: 8px 11px; border-radius: 999px;
}
button.demo-tag { cursor: pointer; min-height: 32px; }
button.demo-tag:hover { background: var(--jac); color: #fff; }
.log {
  list-style: none; margin: 0;
  padding: 14px 12px 12px;
  height: 460px; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 7px;
  scrollbar-width: thin;
  background-color: var(--wall);
  background-image:
    radial-gradient(circle at 20% 30%, var(--wall-dot) 0 4px, transparent 5px),
    radial-gradient(circle at 70% 70%, var(--wall-dot) 0 3px, transparent 4px),
    radial-gradient(circle at 80% 18%, var(--wall-dot) 0 2px, transparent 3px);
  background-size: 64px 64px, 64px 64px, 64px 64px;
}
.log:focus-visible { outline-offset: -3px; border-radius: 0; }
.day { align-self: center; font-size: 12px; font-weight: 600; color: var(--meta); background: var(--bubble-in); padding: 4px 10px; border-radius: 8px; margin-bottom: 4px; }
.msg { max-width: 86%; padding: 8px 11px 6px; border-radius: 16px; font-size: 15px; line-height: 1.42; position: relative; box-shadow: 0 1px 1px rgba(27, 21, 48, .1); }
.msg[hidden] { display: none; }
.msg.in { align-self: flex-start; background: var(--bubble-in); border-bottom-left-radius: 4px; }
.msg.out { align-self: flex-end; background: var(--bubble-out); border-bottom-right-radius: 4px; }
.msg.out .meta { color: var(--meta-out); }
.msg p + p, .msg p + .fare-card, .msg .fare-card + p { margin-top: 7px; }
.msg .hint { color: var(--muted); font-size: 14px; }
.meta { display: flex; justify-content: flex-end; align-items: center; gap: 4px; font-size: 11px; color: var(--meta); margin-top: 2px; line-height: 1; }
.meta .tk { font-size: 11px; color: var(--msasa); transition: color .4s ease; }
.js #log .msg.out:not(.read) .meta .tk { color: var(--sent); }
.msg code, .ref { font: 600 .86em/1 var(--mono); letter-spacing: .01em; white-space: nowrap; }
.msg code { background: var(--chip-bg); color: var(--chip-fg); padding: 3px 6px; border-radius: 6px 6px 2px 6px; }
.fare-card { display: grid; grid-template-columns: auto 1fr; gap: 5px 14px; margin: 2px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-size: 14px; }
.fare-card > div { display: contents; }
.fare-card dt { color: var(--muted); }
.fare-card dd { margin: 0; font-weight: 650; text-align: right; }
.fare-card > .fare { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--line-2); padding-top: 8px; margin-top: 3px; }
.fare-card .fare span { font-weight: 650; color: var(--jac-text); font-size: 13px; border: 1.5px dashed var(--jac-text); padding: 3px 8px; border-radius: 8px; }
.linkcard { display: block; margin-top: 7px; border-radius: 10px; background: var(--bg); border-left: 4px solid var(--jac); padding: 7px 10px; font-size: 13px; color: var(--muted); }
.linkcard b { display: block; color: var(--fg); font-size: 14px; }
.msg.done { background: var(--brand-ink); color: var(--paper-white); padding-top: 11px; max-width: 94%; }
.msg.done .meta { color: #B9B2D3; }
.delivered { display: flex; align-items: center; gap: 8px; font: 800 24px/1.1 var(--display); letter-spacing: -.02em; margin-top: 4px; }
.delivered .tk { font-size: 20px; }
.receipt { list-style: none; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 5px; font-size: 13.5px; color: #E4DEF3; }
.receipt li { display: flex; gap: 8px; align-items: center; }
.receipt .tk { font-size: 10px; }
.stamp {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 12px/1 var(--mono); letter-spacing: .06em;
  color: var(--msasa);
  border: 2px solid var(--msasa); border-radius: 8px 8px 2px 8px;
  padding: 6px 8px 5px; transform: rotate(-7deg);
}
.stamp .tk { font-size: 10px; }
.typing { display: flex; gap: 5px; padding: 13px 14px; }
.typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--sent); animation: blink 1.1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { transform: translateY(0); opacity: .55; } 30% { transform: translateY(-4px); opacity: 1; } }
.pop { animation: pop .32s cubic-bezier(.2, .9, .3, 1.25) both; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.95); } }
.done.pop .stamp { animation: stamp .5s .35s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes stamp { from { opacity: 0; transform: rotate(-16deg) scale(1.9); } }
.composer { border-top: 1px solid var(--line); background: var(--surface); padding: 10px 12px 12px; min-height: 66px; display: flex; flex-direction: column; justify-content: center; }
.chips { display: none; flex-wrap: wrap; gap: 7px; justify-content: flex-end; }
.js .chips { display: flex; }
.js .chips:empty { display: none; }
.js .chips:not(:empty) + .fakeinput { display: none; }
.chip {
  font: 650 14px/1 var(--ui);
  min-height: 40px; padding: 10px 13px;
  border-radius: 15px 15px 4px 15px;
  border: 2px solid var(--jac-text); color: var(--jac-text); background: var(--surface);
  cursor: pointer; transition: background-color .15s, color .15s, transform .15s;
}
.chip:hover, .chip.press { background: var(--jac); border-color: var(--jac); color: #fff; }
.chip.press { transform: scale(.95); }
.chip.ghost { border-style: dashed; }
.fakeinput { display: flex; align-items: center; gap: 10px; }
.fakeinput span { flex: 1; background: var(--bg); border-radius: 999px; padding: 11px 16px; color: var(--muted); font-size: 15px; }
.fakeinput i { width: 44px; height: 44px; border-radius: 50%; background: var(--msasa); color: var(--brand-ink); display: grid; place-items: center; flex: none; }
.fakeinput i svg { width: 20px; height: 20px; }
.demo-note { position: relative; z-index: 1; text-align: center; font-size: 13px; color: var(--muted); margin: 18px auto 0; max-width: 380px; }
.petals { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; border-radius: inherit; }
.petals i { position: absolute; top: -24px; width: 13px; height: 13px; border-radius: 70% 0 70% 0; background: #8C73EA; opacity: 0; }
.petals i:nth-child(3n) { background: #B7A6FF; width: 10px; height: 10px; }
.petals i:nth-child(4n) { background: var(--jac); }
.petals i:nth-child(5n) { background: var(--msasa); width: 9px; height: 9px; }
.petals i:nth-child(1) { left: 6%; } .petals i:nth-child(2) { left: 14%; } .petals i:nth-child(3) { left: 21%; }
.petals i:nth-child(4) { left: 28%; } .petals i:nth-child(5) { left: 35%; } .petals i:nth-child(6) { left: 41%; }
.petals i:nth-child(7) { left: 47%; } .petals i:nth-child(8) { left: 53%; } .petals i:nth-child(9) { left: 59%; }
.petals i:nth-child(10) { left: 64%; } .petals i:nth-child(11) { left: 69%; } .petals i:nth-child(12) { left: 74%; }
.petals i:nth-child(13) { left: 79%; } .petals i:nth-child(14) { left: 84%; } .petals i:nth-child(15) { left: 88%; }
.petals i:nth-child(16) { left: 92%; } .petals i:nth-child(17) { left: 96%; } .petals i:nth-child(18) { left: 10%; }
.petals.go i { animation: fall 2.8s cubic-bezier(.3, .1, .6, 1) forwards; }
.petals.go i:nth-child(2n) { animation-duration: 3.4s; animation-delay: .2s; }
.petals.go i:nth-child(3n) { animation-duration: 2.4s; animation-delay: .45s; --dx: -30px; --rot: -260deg; }
.petals.go i:nth-child(5n) { animation-delay: .1s; --dx: 26px; }
.petals.go i:nth-child(7n) { animation-delay: .65s; --dx: -18px; }
@keyframes fall {
  0% { opacity: 0; transform: translate(0, 0) rotate(0); }
  10% { opacity: 1; }
  100% { opacity: .15; transform: translate(var(--dx, 22px), 620px) rotate(var(--rot, 300deg)); }
}

/* words that work */
.keys { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: baseline; }
.keys-title { font: 700 12px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); width: 100%; }
.keys ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.keys li { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--muted); }
.keys li kbd + kbd { margin-left: -2px; }

/* ---------- section scaffolding ---------- */
.sec { position: relative; padding: 72px 0; }
.sec-head { max-width: 860px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 9px; font: 700 13px/1 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--jac-text); }
.kick { width: 20px; height: 20px; --mb: var(--fg); }
.m-bubble { fill: var(--mb, var(--brand-ink)); }
.m-ticks { fill: var(--msasa); }
h2 { font-weight: 800; font-size: clamp(38px, 8.8vw, 76px); line-height: .98; letter-spacing: -.035em; margin-top: 14px; text-wrap: balance; }
h2 kbd { font-size: .7em; vertical-align: .1em; padding: .1em .3em .08em; border-radius: .26em .26em .07em .26em; letter-spacing: 0; }
.sub { margin-top: 18px; font-size: 18px; color: var(--fg-2); max-width: 34em; }
.sec-head--center .sub { margin-inline: auto; }
.night { background: var(--night); color: var(--on-night); overflow: clip; }
.night .kicker { color: #C7B8FF; }
.night .kick { --mb: #FFF9F2; }
.night .sub { color: var(--on-night-2); }
.night kbd { background: rgba(199, 184, 255, .16); color: #EDE7FF; }
.night .btn kbd { background: var(--brand-ink); color: var(--paper-white); }

/* how it works */
.steps { list-style: none; margin-top: 44px; display: grid; gap: 18px; position: relative; }
.steps::before { content: ""; position: absolute; left: 27px; top: 30px; bottom: 30px; border-left: 3px dotted var(--line-2); }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 4px 18px; align-items: start; align-content: start; }
.num {
  grid-row: span 3; width: 56px; height: 56px; display: grid; place-items: center;
  background: var(--jac); color: #fff; font: 800 25px/1 var(--display);
  border-radius: 34% 50% 50% 7% / 34% 50% 50% 7%;
  box-shadow: 0 0 0 6px var(--bg);
}
.num--ink { background: var(--brand-ink); color: var(--paper-white); }
@media (prefers-color-scheme: dark) {
  .num--ink, .mini.ink { background: var(--paper-white); color: var(--brand-ink); }
  .msg.done { background: #2C2457; box-shadow: 0 0 0 1.5px rgba(240, 86, 29, .55); }
  .trail .last .dot { background: var(--paper-white); }
}
.step h3 { font-size: 24px; line-height: 1.1; margin-top: 6px; letter-spacing: -.02em; }
.step p { color: var(--fg-2); margin-top: 6px; }
.mini { justify-self: start; margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 16px 16px 16px 4px; background: var(--bubble-in); box-shadow: 0 1px 1px rgba(27, 21, 48, .08), 0 0 0 1px var(--line); font-weight: 650; font-size: 15px; }
.mini.out { background: var(--bubble-out); box-shadow: none; border-radius: 16px 16px 4px 16px; }
.mini.ink { background: var(--brand-ink); color: var(--paper-white); box-shadow: none; }
.mini .tk { font-size: 12px; }

.order { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 22px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 28px 28px 28px 8px; }
.order-copy h3 { font-size: 24px; letter-spacing: -.02em; }
.order-copy p { margin-top: 8px; color: var(--fg-2); }
.order-msg { margin: 0; display: grid; gap: 12px; }
.syntax { background: var(--bubble-out); padding: 14px 14px 12px; border-radius: 18px 18px 5px 18px; line-height: 2.05; font-size: 14px; color: var(--fg); }
.syntax b { font: 600 14px/1 var(--mono); margin-right: 4px; }
.syntax span { font: 500 13px/1 var(--mono); background: var(--surface); padding: 4px 7px; border-radius: 7px; white-space: nowrap; box-shadow: 0 0 0 1px var(--line); }
.syntax i { font: 600 14px/1 var(--mono); font-style: normal; color: var(--jac-text); margin: 0 1px; }
.example { display: grid; gap: 6px; }
.ex-label { font: 700 12px/1 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.example code, .track code { font: 500 13.5px/1.6 var(--mono); color: var(--fg); overflow-wrap: anywhere; }
.example code { background: var(--bg); border: 1px dashed var(--line-2); border-radius: 12px; padding: 10px 12px; }
.track { font-size: 15px; color: var(--fg-2); }
.track code { background: var(--chip-bg); color: var(--chip-fg); padding: 3px 7px; border-radius: 7px 7px 2px 7px; white-space: nowrap; font-weight: 600; }

/* promise */
.promise::before { content: ""; position: absolute; width: 900px; height: 900px; right: -360px; top: -400px; background: radial-gradient(closest-side, rgba(107, 79, 216, .5), rgba(107, 79, 216, .16) 55%, rgba(107, 79, 216, 0)); pointer-events: none; }
.promise::after { content: ""; position: absolute; width: 700px; height: 700px; left: -320px; bottom: -420px; background: radial-gradient(closest-side, rgba(240, 86, 29, .22), rgba(240, 86, 29, 0)); pointer-events: none; }
.promise .wrap { position: relative; z-index: 1; }
.ticks-list { list-style: none; margin-top: 44px; display: grid; }
.tick-row { display: grid; grid-template-columns: 1fr; gap: 18px; padding: 30px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.tick-row:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.big-tk { display: flex; align-items: center; height: 64px; }
.big-tk svg { height: 100%; width: auto; fill: var(--msasa); }
.tick-n { font: 600 12.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-muted); }
.tick-row h3 { font-size: clamp(34px, 8vw, 62px); line-height: 1; letter-spacing: -.035em; margin-top: 10px; }
.tick-row p:not(.tick-n) { margin-top: 14px; color: var(--on-night-2); font-size: 17px; max-width: 34em; }
.also { list-style: none; margin-top: 30px; display: grid; gap: 14px; }
.also li { color: var(--on-night-2); padding: 16px 18px; border-radius: 20px 20px 20px 6px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.also b { color: var(--on-night); }

/* shops */
.shops { background: var(--bg-2); }
.split { display: grid; gap: 44px; align-items: center; }
.feat { list-style: none; margin: 26px 0 30px; display: grid; gap: 16px; }
.feat li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; color: var(--fg-2); }
.feat .tk { font-size: 15px; margin-top: 5px; }
.feat b { color: var(--fg); }
.night .feat li { color: var(--on-night-2); }
.night .feat b { color: var(--on-night); }
.cash { margin: 0; position: relative; background: var(--surface); border-radius: 28px 28px 28px 8px; padding: 22px 20px; box-shadow: var(--shadow-lg); width: 100%; max-width: 480px; justify-self: center; }
.cash-top { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.cash-top b { display: block; font: 700 19px/1.2 var(--display); letter-spacing: -.01em; }
.cash-top small { color: var(--muted); font-size: 13px; }
.trail { list-style: none; margin-top: 16px; display: grid; }
.trail > li { display: grid; grid-template-columns: 32px 1fr; gap: 6px 12px; align-items: start; padding: 9px 0; position: relative; }
.trail > li::before { content: ""; position: absolute; left: 15px; top: 40px; bottom: -8px; border-left: 2px solid var(--line-2); }
.trail > li.last::before { display: none; }
.dot { width: 32px; height: 32px; border-radius: 34% 50% 50% 7% / 34% 50% 50% 7%; background: var(--chip-bg); color: var(--chip-fg); display: grid; place-items: center; font: 700 14px/1 var(--mono); }
.trail .last .dot { background: var(--brand-ink); }
.trail .last .tk { font-size: 11px; }
.trail b { display: block; font-size: 15px; line-height: 1.3; }
.trail small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.branch { grid-column: 2; display: flex; gap: 8px; align-items: flex-start; margin-top: 6px; padding: 9px 11px; border: 1.5px dashed var(--accent-text); border-radius: 12px 12px 12px 3px; font-size: 13.5px; color: var(--fg-2); }
.branch b { color: var(--accent-text); }
.br-ic { width: 18px; height: 18px; color: var(--accent-text); flex: none; margin-top: 1px; }
.balances { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.balances > div { border-radius: 16px 16px 16px 4px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); }
.balances > div:first-child { background: color-mix(in srgb, var(--msasa) 10%, var(--surface)); border-color: color-mix(in srgb, var(--msasa) 30%, var(--surface)); }
.balances small { display: block; font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.balances b { display: block; font: 700 17px/1.2 var(--display); margin-top: 6px; }
.balances span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }

/* couriers */
.couriers::after { content: ""; position: absolute; left: -260px; bottom: -340px; width: 760px; height: 760px; background: radial-gradient(closest-side, rgba(240, 86, 29, .24), rgba(240, 86, 29, 0)); pointer-events: none; }
.couriers::before { content: ""; position: absolute; right: -300px; top: -300px; width: 760px; height: 760px; background: radial-gradient(closest-side, rgba(107, 79, 216, .35), rgba(107, 79, 216, 0)); pointer-events: none; }
.couriers .wrap { position: relative; z-index: 1; }
.rider { margin: 0; width: 100%; max-width: 420px; justify-self: center; background: var(--night-2); border-radius: 28px; padding: 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px -40px #000; }
.log.log--rider { height: auto; overflow: visible; border-radius: 18px; padding: 14px 12px; background-color: var(--night-3); background-image: radial-gradient(circle at 20% 30%, rgba(183, 166, 255, .06) 0 4px, transparent 5px); background-size: 56px 56px; }
.log--rider .msg.in { background: #362C66; color: var(--on-night); }
.log--rider .msg.out { background: var(--jac); color: #fff; }
.log--rider .meta { color: #C9C0E8; }
.log--rider .msg.out .meta { color: #F1EDFF; }
.log--rider .msg.out .meta .tk { color: #FFD2BF; }
.offer { display: grid; gap: 7px; }
.offer .tag { justify-self: start; font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--brand-ink); background: var(--msasa); padding: 6px 8px 5px; border-radius: 6px 6px 2px 6px; }
.route-line { display: flex; align-items: center; gap: 8px; font: 800 23px/1.1 var(--display); letter-spacing: -.02em; }
.route-line svg { width: 22px; height: 22px; color: #C7B8FF; flex: none; }
.offer small { color: #D9D2EE; font-size: 13px; }
.acts { display: flex; margin-top: 3px; }
.acts span { flex: 1; text-align: center; padding: 9px 0 8px; border-radius: 12px 12px 3px 12px; background: var(--paper-white); color: var(--brand-ink); font: 600 13px/1 var(--mono); letter-spacing: .02em; }
.status { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.status div { padding: 10px 12px; border-radius: 14px 14px 14px 4px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.status small { display: block; font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--on-night-muted); }
.status b { display: block; font-size: 14px; margin-top: 4px; }

/* fleet + zones */
.fleet { list-style: none; display: grid; gap: 12px; margin-top: 36px; }
.vehicle { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px 24px 24px 6px; }
.veh { width: 112px; height: auto; }
.vehicle h3 { font-size: 22px; letter-spacing: -.02em; }
.vehicle p { color: var(--muted); font-size: 15px; margin-top: 2px; }
.v-shadow { fill: var(--line); }
.v-ink, .v-wheel { fill: var(--brand-ink); }
.v-hub { fill: var(--line-2); }
.v-wheel--ring { stroke: var(--surface); stroke-width: 3; }
.v-body { fill: var(--brand-ink); }
.v-glass { fill: #B7A6FF; }
.v-accent { fill: var(--msasa); }
.v-line, .v-guard { fill: none; stroke-linecap: round; stroke-width: 6; stroke: var(--brand-ink); }
.v-guard { stroke-width: 5; }
.v-lamp { fill: #FFB38F; stroke: var(--brand-ink); stroke-width: 2; }
.v-box { fill: var(--paper-white); stroke: var(--brand-ink); stroke-width: 3; }
.v-mark { fill: var(--brand-ink); }
.v-mark-r { fill: var(--paper-white); }
.v-tick { fill: var(--msasa); }
@media (prefers-color-scheme: dark) {
  .v-ink, .v-wheel, .v-body { fill: #E9E3F7; }
  .v-line, .v-guard { stroke: #E9E3F7; }
  .v-lamp { stroke: #E9E3F7; }
  .v-wheel--ring { stroke: var(--surface); }
  .v-hub { fill: var(--surface); }
  .v-box { stroke: #E9E3F7; }
  .v-mark-r { fill: var(--brand-ink); }
  .v-glass { fill: #4E3BA8; }
}
.zones-card { display: grid; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 30px 30px 30px 8px; padding: 22px 18px; margin-top: 16px; }
.zones-copy h3 { font-size: 28px; letter-spacing: -.02em; }
.zones-copy > p { color: var(--fg-2); margin-top: 8px; }
.zone-list { list-style: none; margin-top: 16px; display: grid; }
.zone-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.zone-list li:last-child { border-bottom: 1px solid var(--line); }
.zone-list b { font: 700 19px/1.2 var(--display); letter-spacing: -.01em; }
.zone-list span { color: var(--muted); font-size: 14px; }
.fine { font-size: 13px; color: var(--muted); margin-top: 12px; }
.map { width: 100%; height: auto; }
.m-land { fill: color-mix(in srgb, var(--jac) 7%, var(--surface)); stroke: color-mix(in srgb, var(--jac) 22%, var(--surface)); stroke-width: 2; }
.m-roads path { fill: none; stroke: var(--line); stroke-width: 12; stroke-linecap: round; }
.m-route path { fill: none; stroke: var(--jac); stroke-width: 3.5; stroke-dasharray: 2 11; stroke-linecap: round; }
.m-pin { fill: var(--jac); }
.m-pin--main { fill: var(--msasa); }
.m-hole { fill: var(--surface); }
.m-labels text { font: 700 22px var(--ui); fill: var(--fg); paint-order: stroke; stroke: var(--surface); stroke-width: 6px; stroke-linejoin: round; }
.m-labels .m-cbd { font-size: 25px; }
.m-stamp rect { fill: none; stroke: var(--accent-text); stroke-width: 3.5; stroke-dasharray: 8 5; }
.m-stamp text { font: 600 26px var(--mono); letter-spacing: .16em; fill: var(--accent-text); }
.m-north path { fill: var(--muted); }
.m-north text { font: 700 20px var(--ui); fill: var(--muted); }

/* faq as a conversation */
.faq {
  background-color: var(--wall);
  background-image: radial-gradient(circle at 20% 30%, var(--wall-dot) 0 5px, transparent 6px), radial-gradient(circle at 70% 75%, var(--wall-dot) 0 3px, transparent 4px);
  background-size: 80px 80px, 80px 80px;
}
.thread { max-width: 780px; margin: 40px auto 0; display: grid; gap: 14px; }
.thread details { display: grid; }
.thread summary {
  list-style: none; cursor: pointer; justify-self: end; max-width: 90%;
  background: var(--bubble-out); padding: 13px 16px 11px;
  border-radius: 22px 22px 6px 22px;
  font: 650 17px/1.35 var(--ui); color: var(--fg);
  box-shadow: 0 1px 1px rgba(27, 21, 48, .08);
  display: flex; gap: 12px; align-items: flex-end;
}
.thread summary::-webkit-details-marker { display: none; }
.thread summary .tk { font-size: 11px; color: var(--sent); margin-bottom: 4px; }
.thread details[open] summary .tk { color: var(--msasa); }
.thread summary:hover { filter: brightness(.98); }
.answer { display: flex; gap: 10px; align-items: flex-end; margin-top: 10px; max-width: 92%; }
.answer .av { width: 34px; height: 34px; }
.answer > div { background: var(--bubble-in); padding: 13px 16px; border-radius: 22px 22px 22px 6px; box-shadow: 0 1px 1px rgba(27, 21, 48, .08); color: var(--fg-2); }
.answer p + p { margin-top: 8px; }

/* closing: sunset over the avenues */
.closer { position: relative; background: var(--msasa); color: var(--brand-ink); overflow: clip; text-align: center; padding-top: 76px; }
.closer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 100%, rgba(255, 196, 120, .55), transparent 70%); pointer-events: none; }
.closer-in { position: relative; z-index: 1; }
.stage { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 30px; }
.big-out {
  display: inline-flex; align-items: flex-end; gap: 14px;
  background: var(--paper-white); color: var(--brand-ink);
  padding: 16px 22px 14px 28px;
  border-radius: 40px 40px 10px 40px;
  font: 800 clamp(64px, 20vw, 150px)/.9 var(--display); letter-spacing: -.045em;
  box-shadow: 0 30px 60px -30px rgba(27, 21, 48, .55);
  transform: rotate(-2deg);
}
.big-out small { display: flex; align-items: center; gap: 4px; font: 600 14px/1 var(--ui); letter-spacing: 0; color: #625B76; padding-bottom: 8px; }
.big-out .tk { font-size: 16px; }
.big-in { display: flex; gap: 6px; background: var(--paper-white); padding: 15px 17px; border-radius: 22px 22px 22px 6px; transform: translateX(-34%); box-shadow: 0 10px 30px -18px rgba(27, 21, 48, .6); }
.big-in i { width: 10px; height: 10px; border-radius: 50%; background: var(--sent); }
.closer h2 { color: var(--brand-ink); max-width: 12.5em; margin-inline: auto; }
.closer .sub { margin: 16px auto 0; color: var(--brand-ink); font-size: 18px; max-width: 30em; }
.closer .sub[hidden] { display: none; }
.closer-cta { margin-top: 28px; display: grid; gap: 10px; justify-content: stretch; }
.closer :focus-visible { outline-color: var(--brand-ink); }

.street { position: relative; height: 210px; margin-top: 40px; container-type: inline-size; view-timeline: --street block; }
.skyline { position: absolute; inset: 0; width: 100%; height: 100%; }
.s-hill { fill: #D94A17; }
.s-far { fill: #D2461A; }
.s-bloom circle { fill: #C9B8FF; }
.s-city path { fill: #2A1E3E; }
.s-windows path { fill: #FFB38F; }
.s-trees circle { fill: #7B61E0; }
.s-trees g circle:first-of-type { fill: #6B4FD8; }
.s-trunk { fill: #2A1E3E; }
.s-road { fill: var(--foot); }
.s-lane { stroke: rgba(255, 249, 242, .5); stroke-width: 3; stroke-dasharray: 26 22; }
.rider-run { position: absolute; left: 0; bottom: 6px; display: flex; align-items: flex-end; translate: calc(100cqw - 100% - 5cqw) 0; }
.bike { width: 128px; height: auto; }
.b-box { fill: var(--paper-white); stroke: var(--brand-ink); stroke-width: 3; }
.b-mark { fill: var(--brand-ink); }
.b-tick { fill: var(--msasa); }
.b-body { fill: #3A2E62; }
.b-dark { fill: #0B0818; }
.b-jacket { fill: var(--jac); }
.b-vest { fill: var(--msasa); }
.b-leg { fill: none; stroke: #2A1E3E; stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.b-arm { fill: none; stroke: var(--jac); stroke-width: 8; stroke-linecap: round; }
.b-helmet { fill: var(--paper-white); }
.b-visor { fill: var(--brand-ink); }
.b-fork { fill: none; stroke: #0B0818; stroke-width: 6; stroke-linecap: round; }
.b-lamp { fill: #FFE7A8; stroke: #0B0818; stroke-width: 2; }
.b-wheel { fill: #0B0818; stroke: #3A2E62; stroke-width: 2; }
.b-hub { fill: #8E86A8; }
.exhaust { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; margin-right: -4px; margin-bottom: 92px; }
.t-bub { font: 600 10px/1 var(--mono); letter-spacing: .04em; background: var(--bubble-out); color: var(--fg); padding: 6px 8px 5px; border-radius: 10px 10px 3px 10px; white-space: nowrap; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .5); }
.t-bub--in { background: var(--paper-white); color: var(--brand-ink); border-radius: 10px 10px 10px 3px; }
.t-bub:nth-child(1) { opacity: .55; transform: translateX(-34px); }
.t-bub:nth-child(2) { opacity: .8; transform: translateX(-16px); }

/* footer */
.foot { background: var(--foot); color: var(--on-night-2); padding: 48px 0 36px; font-size: 15px; }
.foot .brand { color: var(--on-night); }
.foot .logo { height: 30px; }
.foot-grid { display: grid; gap: 36px; }
.tagline { margin-top: 16px; font: 800 24px/1.15 var(--display); color: var(--on-night); letter-spacing: -.02em; }
.foot-brand p:last-child { margin-top: 6px; }
.foot h2 { font: 700 12px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase; color: var(--on-night-muted); margin: 0 0 12px; }
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.foot-nav ul { list-style: none; display: grid; gap: 8px; }
.foot-nav a { color: var(--on-night); text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }
.keytable { margin: 0; display: grid; gap: 0; }
.keytable > div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.keytable dt { font: 600 13px/1.5 var(--mono); color: var(--on-night); }
.keytable dd { margin: 0; font-size: 14px; color: var(--on-night-2); }
.legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: var(--on-night-muted); }
.foot :focus-visible { outline-color: #B7A6FF; }

/* ---------- larger screens ---------- */
@media (min-width: 560px) {
  .hide-sm { display: inline; }
  .cta .btn-primary { width: auto; justify-self: start; }
  .closer-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
  .keys-title { width: auto; }
}
@media (min-width: 720px) {
  :root { --gut: 32px; }
  .sec { padding: 104px 0; }
  .logo { height: 30px; }
  .routes { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px 32px; }
  .steps::before { display: none; }
  .step { grid-template-columns: 1fr; gap: 6px; }
  .num { grid-row: auto; margin-bottom: 12px; }
  .order { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; padding: 30px 32px; align-items: start; }
  .tick-row { grid-template-columns: 220px 1fr; gap: 36px; align-items: center; padding: 40px 0; }
  .big-tk { height: 96px; justify-content: flex-start; }
  .also { grid-template-columns: 1fr 1fr; }
  .fleet { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .vehicle { grid-template-columns: 1fr; gap: 14px; padding: 22px 22px 24px; align-items: start; }
  .veh { width: 150px; }
  .foot-nav { grid-template-columns: repeat(3, 1fr); }
  .street { height: 240px; }
  .bike { width: 150px; }
  .t-bub { font-size: 11px; }
  .exhaust { margin-bottom: 110px; }
}
@media (min-width: 1024px) {
  .nav { display: flex; }
  .nav + .btn { margin-left: 10px; }
  .hero { padding: 56px 0 46px; }
  .hero-grid { grid-template-columns: 1.04fr .96fr; gap: 64px; }
  .demo { padding-top: 30px; }
  .phone { max-width: 440px; }
  .log { height: 500px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 26px; }
  .steps::before { display: block; left: 28px; right: 14%; top: 28px; bottom: auto; border-left: 0; border-top: 3px dotted var(--line-2); }
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split.flip .copy { order: 2; }
  .zones-card { grid-template-columns: .72fr 1.28fr; gap: 48px; align-items: center; padding: 40px 44px; }
  .foot-grid { grid-template-columns: 1fr 1.3fr 1.2fr; gap: 48px; }
  .foot-nav { grid-template-columns: repeat(3, 1fr); }
  .tick-row { grid-template-columns: 280px 1fr; }
  .big-tk { height: 120px; }
  .street { height: 280px; }
  .bike { width: 170px; }
  .exhaust { margin-bottom: 124px; }
}

/* ---------- motion: progressive, never required ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .rise { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    @keyframes rise { from { opacity: 0; transform: translateY(26px); } }
    .rider-run { animation: ride linear both; animation-timeline: --street; animation-range: cover 0% cover 55%; }
    @keyframes ride { from { translate: -100% 0; } to { translate: calc(100cqw - 100% - 5cqw) 0; } }
  }
  .big-in i { animation: blink 1.1s 6 ease-in-out; }
  .big-in i:nth-child(2) { animation-delay: .15s; }
  .big-in i:nth-child(3) { animation-delay: .3s; }
}
@media print {
  .rise { animation: none; }
  .top { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
