/* ============================================================
   Lozy 2026 — elevate layer (loads after style.css)
   White page, one bold headline face, a system body face that reads
   easily, grey tiles, black actions; orange is the brand spark, not the
   paint. Markup and i18n keys are untouched except the ways-to-book block.
   ============================================================ */

:root {
  --bg: #FFFFFF;
  --bg-2: #FFFFFF;
  --bg-section: #FFFFFF;
  --bg-card: #F3F3F3;
  --tile: #F3F3F3;
  --c-ground: #EDEBE6; --c-road: #FFFFFF; --c-dash: #D6D3CD; --c-l: #E5E2DC;
  --ink-solid: #111111;
  --act: #111111; --act-text: #FFFFFF;

  --r-sm: 6px; --r-md: 8px; --r-lg: 12px; --r-xl: 16px;
  --shadow-sm: none; --shadow-md: none; --shadow-lg: 0 12px 32px rgba(0,0,0,.10);
  --shadow-glow-red: none;

  /* headlines: Archivo, a tight grotesque; reading text: the phone's own UI face, which readers already find easy */
  --font-display: "Archivo", "Noto Sans Devanagari", "Noto Sans", system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", system-ui, sans-serif;
  --font-sub: var(--font-body);
  --font-mono: var(--font-body);
  --nav-bg: #FFFFFF;
}
:root[data-theme="dark"] {
  --bg-2: var(--bg); --bg-section: var(--bg);
  --bg-card: #1E1B19; --tile: #1E1B19;
  --c-ground: #1A1816; --c-road: #2B2825; --c-dash: #3D3935; --c-l: #2B2724;
  --act: #FFFFFF; --act-text: #111111; --nav-bg: #131110;
}

body { font-size: 17px; line-height: 1.6; letter-spacing: 0; font-variant-numeric: tabular-nums; }

/* ---- retired decoration ---- */
.bg-mesh, .grain, .sec-rail, .hero-rule, .marquee-wrap, .lozy-float, .sec-head .sec-num,
.card-glow, .sec-meta-row .sep, .sec-meta-row .sec-index, .hero-visual { display: none !important; }
.scroll-progress::before { background: var(--red); }
.page-loader { background: var(--ink-solid); }

/* ---- type ---- */
.hero-title, .sec-title, .zero-card h3, .card-title, .song-name, .cta-title, .cta-card h2,
.nav-logo, .loader-mark { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; }
.sec-title { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.05; }
.sec-title em, .zero-card h3 em { font-style: normal; color: var(--red-display); background: none; -webkit-text-fill-color: currentColor; }
.sec-title .muted { color: var(--text-mute); }
.sec-sub { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--text-soft); max-width: 640px; }
.accent-text { background: none !important; color: var(--red-ink) !important; -webkit-text-fill-color: currentColor; animation: none !important; }
.hero-title .line::after { display: none; }
.hero-title { transform: none !important; }

.sec-head { grid-template-columns: 1fr; gap: 12px; border: 0; padding-bottom: 8px; }
.sec-meta-row { font: 600 15px/1 var(--font-body); letter-spacing: 0; text-transform: none; color: var(--text-mute); }
.sec { padding: clamp(72px, 8vw, 120px) 0; border-bottom: 0; }
.sec.alt, .sec.tinted { background: var(--bg); }

/* ---- buttons: black, 8px shoulders ---- */
.btn { border-radius: 8px; font: 600 16px/1 var(--font-body); padding: 16px 24px; }
.btn::before { display: none !important; }
.btn-primary, .hero .btn-primary { background: var(--act); color: var(--act-text); box-shadow: none; }
.btn-primary:hover { background: var(--act); opacity: .86; transform: none; box-shadow: none; }
.btn-ghost { background: var(--tile); border: 0; color: var(--text); }
.btn-ghost:hover { background: var(--tile); filter: brightness(.96); }
.btn-magnetic { transform: none !important; }
.nav-cta { padding: 12px 18px; font-size: 15px; border-radius: 999px; background: var(--act); color: var(--act-text); }
.store-pill { border-radius: 8px; }

.nav.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 1px 0 var(--line); }
.nav-links a { font-weight: 500; font-size: 15px; }

/* ============================================================
   HERO — white, the fleet on the road
   ============================================================ */
.hero { background: var(--bg); min-height: 0; padding: 140px 0 0; justify-content: flex-start; border-bottom: 0; overflow: hidden; }
.hero .hero-inner { gap: 22px; }
.hero-title { font-size: clamp(44px, 6vw, 80px); line-height: 1; color: var(--text); }
.hero-sub { color: var(--text-soft); max-width: 600px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; }
.hero-sub strong.accent-text { color: var(--text) !important; font-weight: 600; }
.role-switch, .hero-cta, .hero-stores { max-width: 620px; }
.hero-kicker { background: none; border: 0; padding: 0; font: 600 15px/1 var(--font-body); letter-spacing: 0; text-transform: none; color: var(--text-mute); }
.hero-kicker .dot { background: #1E9E57; box-shadow: 0 0 0 4px rgba(30,158,87,.16); animation: none; }
.hero-kicker .dot::after { display: none; }

/* role switch: a grey track, the chosen path in black */
.role-switch { background: var(--tile); border: 0; border-radius: 12px; padding: 4px; gap: 4px; box-shadow: none; }
.role-btn { background: transparent; border: 0; border-radius: 9px; color: var(--text); box-shadow: none; padding: 12px 14px; gap: 12px; align-items: center; }
.role-btn:hover { background: rgba(var(--ink), .05); transform: none; }
.role-btn.active { background: var(--act); color: var(--act-text); box-shadow: none; }
.role-btn.active::before, .role-check { display: none; }
.role-btn.active .role-text small { color: inherit; opacity: .72; }
.role-btn.active .role-icon { background: transparent; color: inherit; border-color: currentColor; }
.role-icon { border-radius: 8px; }
.role-text strong { font: 600 15px/1.25 var(--font-body); }
.role-text small { font: 400 13px/1.35 var(--font-body); letter-spacing: 0; text-transform: none; color: var(--text-mute); }

.fleet { position: relative; margin-top: clamp(40px, 6vw, 72px); display: flex; flex-direction: column; }
.fleet-range { order: -1; width: 100%; max-width: 1240px; margin: 0 auto 6px; padding: 0 28px; text-align: right; font-size: 14px; color: var(--text-mute); }
.fleet-range b { font-weight: 700; color: var(--text); }
.fleet-lineup {
  max-width: 1240px; margin: 0 auto; padding: 0 28px 22px;
  display: flex; align-items: flex-end; justify-content: flex-end; gap: clamp(8px, 3vw, 52px);
  position: relative; z-index: 2;
}
.fleet-v { width: auto; filter: drop-shadow(0 18px 12px rgba(0,0,0,.16)); transition: opacity .5s var(--ease); }
.fleet-v--2w { height: clamp(92px, 13vw, 196px); }
.fleet-v--3w { height: clamp(116px, 17vw, 252px); }
.fleet-v--truck { height: clamp(146px, 24vw, 350px); }
.fleet.running .fleet-v { opacity: .4; }
.fleet.running .fleet-v.is-active { opacity: 1; }

/* the road: pickup pin green, drop pin red, the app's colours */
.fleet-road { position: relative; height: 136px; background: var(--tile); }
.fleet-road::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 40px; height: 4px;
  background: repeating-linear-gradient(90deg, var(--text) 0 56px, transparent 56px 112px); opacity: .18;
}
.road-pin { position: absolute; bottom: 12px; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text-soft); z-index: 1; }
.road-pin--pickup { left: max(28px, calc((100% - 1240px) / 2 + 28px)); }
.road-pin--drop { right: max(28px, calc((100% - 1240px) / 2 + 28px)); flex-direction: row-reverse; }
.road-pin i { width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 4px solid #1E9E57; display: grid; place-items: center; transition: background .3s, transform .3s var(--ease-out); }
.road-pin--drop i { border-color: #D8352A; }
.road-pin--drop.done i { background: #D8352A; transform: scale(1.35); }
.road-pin--drop.done i::after { content: ""; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.runner { position: absolute; left: 0; bottom: 30px; opacity: 0; z-index: 2; will-change: transform; }
.runner-v { height: 96px; width: auto; filter: drop-shadow(0 8px 6px rgba(0,0,0,.22)); }
.runner.driving .runner-v { animation: rumble .32s linear infinite; }
@keyframes rumble { 50% { translate: 0 -1.5px; } }
.runner-chip {
  position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  background: var(--act); color: var(--act-text); font: 600 13px/1 var(--font-body);
  padding: 7px 11px; border-radius: 999px; white-space: nowrap;
}
.parcel {
  position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 3px; opacity: 0; z-index: 3;
  background: #C98A4B linear-gradient(90deg, transparent 7px, #8E5A28 7px 11px, transparent 11px);
  box-shadow: inset 0 0 0 1.5px #8E5A28;
}

@media (min-width: 1081px) {
  .hero { min-height: clamp(800px, 100vh, 1000px); padding-top: 124px; padding-bottom: 160px; }
  .hero-stores { display: none !important; }
  .fleet { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; }
  .hero .hero-inner { gap: 20px; }
  .role-switch .role-icon { display: none; }
  .fleet-road { height: 112px; }
  .fleet-road::before { bottom: 34px; }
  .runner { bottom: 24px; } .runner-v { height: 84px; }
  /* lineup lives right of the 620px text column; the renders carry transparent margins, so they may overlap */
  .fleet-lineup { padding-left: 780px; gap: 0; }
  .fleet-v + .fleet-v { margin-left: -14px; }
  .fleet-v--2w { height: clamp(84px, 7vw, 104px); }
  .fleet-v--3w { height: clamp(110px, 9.5vw, 140px); }
  .fleet-v--truck { height: clamp(150px, 13vw, 190px); }
}
@media (max-width: 860px) {
  .hero { padding-top: 112px; }
  .fleet-lineup { justify-content: center; padding: 0 8px; gap: 0; }
  .fleet-v + .fleet-v { margin-left: -10px; }
  .fleet-v--2w { height: 76px; } .fleet-v--3w { height: 100px; } .fleet-v--truck { height: 132px; }
  .fleet-range { text-align: center; padding: 0 16px; }
  .fleet-road { height: 112px; }
  .fleet-road::before { bottom: 36px; background: repeating-linear-gradient(90deg, var(--text) 0 28px, transparent 28px 56px); }
  .road-pin--pickup { left: 16px; } .road-pin--drop { right: 16px; }
  .runner { bottom: 26px; } .runner-v { height: 64px; }
}
@media (prefers-reduced-motion: no-preference) {
  .c-bird.ring b { animation: buzz .45s ease-in-out infinite; }
  .c-bird.ring b::after { content: ""; position: absolute; inset: -6px; border-radius: 8px; border: 2px solid var(--red); animation: ringwave 1s ease-out infinite; }
  @keyframes buzz { 0%, 100% { rotate: -9deg; } 50% { rotate: 9deg; } }
  @keyframes ringwave { from { opacity: .9; scale: .8; } to { opacity: 0; scale: 1.9; } }
  .c-bird.won b, .c-bird.sent b { animation: pop .45s cubic-bezier(.2,.9,.3,1.4); }
  .c-bird-pick { animation: online 1.6s ease-out infinite; }
  /* arrive uses transform, float uses translate, so the two run together without fighting */
  .fleet-v { animation: arrive .9s var(--ease-out) backwards, float 4.2s ease-in-out 1s infinite alternate; }
  .fleet-v--3w { animation-delay: .12s, 1.6s; }
  .fleet-v--truck { animation-delay: .24s, 2.2s; }
  @keyframes float { from { translate: 0 0; } to { translate: 0 -14px; } }
  @keyframes arrive { from { transform: translateX(80px); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* ============================================================
   WAYS TO BOOK — pick a product, watch its four steps on a map
   ============================================================ */
.modes { margin-top: clamp(32px, 4vw, 48px); }
.modes-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mode-tab {
  text-align: left; background: var(--tile); border: 2px solid transparent; border-radius: 12px;
  padding: 18px 20px; display: grid; gap: 4px; transition: border-color .2s, background .2s;
}
.mode-tab strong { font: 800 20px/1.2 var(--font-display); letter-spacing: -0.02em; color: var(--text); }
.mode-tab span { font-size: 15px; line-height: 1.45; color: var(--text-mute); }
.mode-tab:hover { border-color: var(--line-strong); }
.mode-tab.is-on { background: var(--bg); border-color: var(--text); }
.mode-tab:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* the theatre: an isometric city (drawn by script.js) between the customer app and the driver app */
.theatre { position: relative; margin-top: 20px; height: 580px; border-radius: 20px; overflow: hidden; background: var(--c-ground); }
.city { position: absolute; inset: 0; }
.city canvas { display: block; width: 100%; height: 100%; }
.city-tags { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.c-tag { position: absolute; left: 0; top: 0; translate: -50% -100%; padding: 5px 9px; border-radius: 999px; background: var(--bg); color: var(--text); font: 600 12px/1 var(--font-body); box-shadow: 0 2px 8px rgba(0,0,0,.15); opacity: 0; transition: opacity .3s calc(var(--i) * .3s); }
.c-tag.is-on { opacity: 1; }
.c-tag.is-star { padding: 5px 7px; background: var(--red); color: #fff; transition-delay: 0s; }
/* from the air: each driver is a dot; its phone appears over it when the alert reaches it */
.city-birds { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: 0; }
.c-bird, .c-bird-pick, .c-bird-km, .c-fare { position: absolute; left: 0; top: 0; }
.c-bird i { position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--text); border: 2px solid var(--bg); box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: opacity .4s, background .4s; }
.c-bird b { position: absolute; left: -7px; top: -32px; width: 14px; height: 23px; border-radius: 4px; background: #111; opacity: 0; transition: opacity .3s; }
.c-bird b::before { content: ""; position: absolute; inset: 2px; border-radius: 2px; background: var(--red); transition: background .3s; }
.c-bird u { display: none; }
.c-bird.ring b, .c-bird.swipe b, .c-bird.won b, .c-bird.sent b { opacity: 1; }
.c-bird.out i, .c-bird.taken i { opacity: .35; }
.c-bird.is-win i { background: var(--red); }
.c-bird.is-win b { left: -12px; top: -50px; width: 24px; height: 40px; border-radius: 6px; }
.c-bird.is-win u { display: block; position: absolute; left: 4px; right: 4px; bottom: 6px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.35); }
.c-bird.is-win u::after { content: ""; position: absolute; left: 0; top: 0; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.c-bird.swipe u::after { left: calc(100% - 8px); transition: left .7s var(--ease); }
.c-bird.won b::before, .c-bird.sent b::before { background: #1E9E57; }
.c-bird.won u, .c-bird.sent u { display: none; }
.c-bird.won b::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 700 15px/1 var(--font-body); }
/* prices: a Market quote is the driver's (light); a Direct price is the shop's own (dark), and leaves it with the request */
.c-bird.sent::after, .c-bird-pick::after, .c-fare b { position: absolute; top: -34px; left: 0; translate: -50% -100%; padding: 4px 8px; border-radius: 999px; background: var(--bg); color: var(--text); font: 700 13px/1 var(--font-body); box-shadow: 0 2px 6px rgba(0,0,0,.18); transition: background .3s, color .3s; }
.c-bird.sent::after { content: attr(data-q); }
.c-bird-pick::after, .c-fare b { background: var(--text); color: var(--bg); }
.c-bird-pick::after { content: attr(data-p); left: 50%; top: -6px; }
.c-fare b { top: -15px; opacity: 0; transition: top .7s var(--ease), opacity .3s, background .3s, color .3s; } /* starts on the shop's price, rises over the phone as it lands */
.c-fare.go b { top: -34px; opacity: 1; }
.c-bird.is-win.sent::after, .c-fare.go.is-win b { top: -52px; }
.c-bird.picked::after, .c-fare.won b { background: #1E9E57; color: #fff; }
.c-bird-pick { width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #1E9E57; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(30,158,87,.25); }
.c-bird-pick.is-other { width: 12px; height: 12px; margin: -6px 0 0 -6px; border-width: 2px; box-shadow: none; animation: none; }
.c-bird-km { translate: 8px -50%; padding: 4px 9px; border-radius: 999px; background: #1E9E57; color: #fff; font: 700 13px/1 var(--font-body); }
/* names: drivers under their dot, shops beside theirs; Insta stays anonymous */
.c-bird em, .c-bird-pick em { position: absolute; left: 0; top: 9px; translate: -50% 0; padding: 3px 6px; border-radius: 999px; background: var(--bg); color: var(--text); font: 600 11px/1 var(--font-body); font-style: normal; white-space: nowrap; box-shadow: 0 1px 4px rgba(0,0,0,.18); transition: opacity .3s, background .3s, color .3s; }
.c-bird-pick em { left: calc(100% + 6px); top: 50%; translate: 0 -50%; font-weight: 700; }
.c-bird.fav em::before { content: "★ "; color: var(--red); }
.c-bird.out em, .c-bird.taken em { opacity: .6; }
.c-bird.won em, .c-bird.picked em { background: #1E9E57; color: #fff; }
.c-bird.won em::before { color: inherit; }
.c-bird.gone, .city-birds[data-mode="insta"] em, .city-birds:not([data-mode="direct"]) .is-other, .city-birds:not([data-mode="direct"]) .c-bird-pick::after, .city-birds:not([data-mode="insta"]) .c-bird-km { display: none; }
.ps-q, .ps-alert .ps-fare b { flex: none; font-weight: 700; color: #1E9E57; } /* money the driver earns is green, as in the app */

/* phones */
.phone { position: absolute; top: 50%; z-index: 2; width: 236px; transform: translateY(-50%); text-align: center; }
.phone--client { left: 28px; } .phone--driver { right: 28px; }
.phone-cap { display: inline-block; margin: 0 0 10px; padding: 6px 12px; border-radius: 999px; background: var(--bg); color: var(--text); font: 600 13px/1 var(--font-body); box-shadow: 0 2px 8px rgba(0,0,0,.08); transition: background .3s, color .3s; }
.phone.is-focus .phone-cap { background: var(--act); color: var(--act-text); }
.phone-frame { position: relative; height: 480px; padding: 7px; border-radius: 38px; background: #0E0E0E; box-shadow: 0 30px 60px -12px rgba(0,0,0,.35), inset 0 0 0 1.5px #2C2C2C; text-align: left; }
.phone-frame::before { content: ""; position: absolute; z-index: 3; top: 15px; left: 50%; width: 72px; height: 20px; margin-left: -36px; border-radius: 12px; background: #0E0E0E; }
.phone-screen { position: relative; height: 100%; border-radius: 31px; overflow: hidden; background: var(--bg); color: var(--text); font-size: 13px; line-height: 1.35; }
.ps { position: absolute; inset: 0; display: flex; flex-direction: column; }
.ps-status { flex: none; height: 38px; padding: 15px 22px 0; display: flex; justify-content: space-between; font: 600 11px/1 var(--font-body); }
.ps-status i { width: 20px; height: 9px; border-radius: 2px; border: 1.5px solid currentColor; opacity: .7; }
.mm { flex: 1 1 150px; min-height: 140px; display: block; width: 100%; background: var(--c-ground); }
.mm-block { fill: var(--c-l); } .mm-road { fill: none; stroke: var(--c-road); stroke-width: .9; }
.mm-route { fill: none; stroke: var(--text); stroke-width: .35; stroke-linecap: round; stroke-linejoin: round; }
.mm-done { fill: none; stroke: var(--c-dash); stroke-width: .35; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 0 1; }
.mm-pick { fill: #1E9E57; stroke: #fff; stroke-width: .15; } .mm-drop { fill: #D8352A; stroke: #fff; stroke-width: .15; }
.mm-car circle { fill: var(--act); stroke: var(--bg); stroke-width: .15; } .mm-car .mm-halo { fill: rgba(30,158,87,.25); stroke: none; }
.theatre:not([data-accepted]) .phone--client .mm-car { display: none; }
.ps-sheet { position: relative; flex: none; margin-top: -14px; padding: 14px 14px 14px; display: flex; flex-direction: column; gap: 8px; background: var(--bg); border-radius: 18px 18px 0 0; box-shadow: 0 -6px 16px rgba(0,0,0,.08); }
.ps-sheet--full { flex: 1; margin-top: 0; box-shadow: none; padding-top: 6px; }
.ps-h { margin: 0; font: 700 15px/1.25 var(--font-body); }
.ps-note { margin: 0; font-size: 12px; color: var(--text-mute); }
.ps-row { display: flex; align-items: center; gap: 10px; }
.ps-row small, .ps-driver small, .ps-nav small { display: block; font-size: 11px; color: var(--text-mute); }
.ps-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; border: 3px solid #1E9E57; }
.ps-dot--drop { border-color: #D8352A; } .ps-dot--goods { border-radius: 2px; border-color: var(--red); }
.typing { display: inline-block; vertical-align: bottom; overflow: hidden; white-space: nowrap; }
.ps-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ps-tile { display: grid; justify-items: center; padding: 4px 2px 6px; border-radius: 10px; background: var(--tile); border: 2px solid transparent; font-size: 11px; font-weight: 600; }
.ps-tile img { height: 30px; width: auto; }
.ps-tile.is-on { border-color: var(--text); background: var(--bg); }
.ps-fare { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; border-top: 1px solid var(--line); }
.ps-in { padding: 3px 8px; border: 1.5px solid var(--text); border-radius: 8px; font-size: 15px; } /* a box the customer types into */
.ps-btn { position: relative; margin-top: auto; width: 100%; padding: 12px; border: 0; border-radius: 10px; background: var(--act); color: var(--act-text); font: 600 14px/1 var(--font-body); cursor: default; }
.tap { position: absolute; left: 64%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: rgba(232,118,27,.35); border: 2px solid var(--red); opacity: 0; }
.ps-search, .ps-prog { height: 6px; border-radius: 3px; background: var(--tile); overflow: hidden; }
.ps-search i, .ps-prog i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--act); }
.ps-search i { width: 35%; }
.ps-av { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--tile); font-weight: 700; }
.ps-av.is-fav::after { content: "★"; position: absolute; right: -3px; bottom: -3px; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 9px; border: 2px solid var(--bg); }
.ps-favs { display: flex; gap: 14px; }
.ps-favs > span { display: grid; justify-items: center; gap: 3px; }
.ps-favs small { font-size: 11px; font-weight: 600; }
.ps-driver, .ps-offer, .ps-nav { display: flex; align-items: center; gap: 10px; }
.ps-txt { flex: 1; min-width: 0; }
.ps-ic { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--tile); }
.ps-ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ps-ic--sq { border-radius: 8px; }
.ps-offer { padding: 6px 8px; border-radius: 10px; background: var(--tile); border: 2px solid transparent; }
.ps-offer img { height: 26px; width: auto; }
.ps-offer small { display: block; font-size: 11px; color: var(--text-mute); }
.ps-offer.is-on { background: var(--bg); border-color: var(--text); }
.ps-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 2px; font-size: 10px; color: var(--text-mute); }
.ps-steps span { padding-top: 6px; border-top: 3px solid var(--tile); }
.ps-steps .is-on { border-color: var(--act); color: var(--text); font-weight: 600; }
.ps-nav .ps-ic { background: var(--act); color: var(--act-text); border-radius: 10px; width: 38px; height: 38px; }
.ps-online { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--tile); font-weight: 600; }
.ps-online i { width: 10px; height: 10px; border-radius: 50%; background: #1E9E57; box-shadow: 0 0 0 4px rgba(30,158,87,.2); }
.ps-swipe { position: relative; height: 44px; margin-top: auto; border-radius: 999px; background: var(--tile); display: grid; place-items: center; font-weight: 600; font-size: 13px; padding-left: 36px; }
.ps-swipe i { position: absolute; left: 4px; top: 4px; width: 36px; height: 36px; border-radius: 50%; background: var(--act); }
.ps-loaded { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.ps-loaded i, .ps-check { display: grid; place-items: center; border-radius: 50%; background: #1E9E57; }
.ps-loaded i { width: 20px; height: 20px; }
.ps-loaded i::after, .ps-check::after { content: ""; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.ps-done { display: grid; justify-items: center; gap: 4px; padding: 18px 0 8px; text-align: center; }
.ps-check { width: 52px; height: 52px; margin-bottom: 6px; }
.ps-check::after { width: 10px; height: 20px; border-width: 0 4px 4px 0; transform: translateY(-3px) rotate(45deg); }
.ps-done b { font: 800 20px/1.2 var(--font-display); letter-spacing: -0.02em; }
.ps-done small { color: var(--text-mute); }
/* the driver is in another app when the alert arrives */
.ps-other { position: absolute; inset: 0; background: #1A1A1A; color: #9A9A9A; display: grid; place-items: center; font-size: 11px; }
.ps-other::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 14px 0 14px 24px; border-color: transparent transparent transparent #5A5A5A; }
.ps-other span { position: absolute; top: 44px; left: 18px; }
.ps-alert { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 0 12px 12px; display: grid; gap: 8px; background: var(--bg); border-radius: 22px; box-shadow: 0 -10px 30px rgba(0,0,0,.35); overflow: hidden; }
.ps-alert-k { margin: 0 -12px; padding: 11px 12px; background: var(--red); color: #111; font: 700 13px/1.2 var(--font-body); }
.ps-alert-veh { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.ps-alert-veh img { height: 34px; width: auto; }
.ps-alert-act { display: flex; align-items: center; gap: 10px; }
.ps-alert-act .ps-swipe { flex: 1; margin: 0; }
.ps-ring { flex: none; width: 40px; height: 40px; transform: rotate(-90deg); }
.ps-ring circle { fill: none; stroke: var(--red); stroke-width: 3; stroke-dasharray: 100; }

/* timeline under the theatre */
.beats { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.beats li { position: relative; padding-top: 10px; border-top: 3px solid var(--line-strong); cursor: pointer; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--text-mute); }
.beats li b { display: block; font-size: 12px; font-weight: 600; color: var(--text-mute); }
.beats li i { position: absolute; left: 0; top: -3px; height: 3px; width: 0; background: var(--act); }
.beats li.is-past i { width: 100%; }
.beats li.is-on { color: var(--text); }
.beats li.is-on i { width: 100%; }
.beat-cap { margin: 14px 0 22px; min-height: 2.8em; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.5; color: var(--text-soft); max-width: 760px; }

@media (prefers-reduced-motion: no-preference) {
  .ps { animation: ps-in .45s var(--ease-out); }
  @keyframes ps-in { from { opacity: 0; transform: translateY(10px); } }
  .typing { width: 0; animation: type 1.1s steps(var(--n)) var(--d, .5s) forwards; }
  @keyframes type { to { width: calc(var(--n) * 1ch); } }
  .ps-in::after { content: ""; display: inline-block; width: 1.5px; height: 1em; margin-left: 1px; vertical-align: -2px; background: currentColor; animation: caret 1s steps(1) infinite; }
  @keyframes caret { 50% { opacity: 0; } }
  .ps-btn { animation: press .3s var(--t, 99s) both; }
  @keyframes press { 50% { transform: scale(.95); opacity: .8; } }
  .tap { animation: tap .8s var(--t, 99s) ease-out both; }
  @keyframes tap { 0% { opacity: 0; transform: scale(1.8); } 35% { opacity: 1; transform: scale(.8); } 100% { opacity: 0; transform: scale(1.3); } }
  .ps-search i { animation: search 1.1s ease-in-out infinite alternate; }
  @keyframes search { from { transform: translateX(-100%); } to { transform: translateX(290%); } }
  .ps-alert { animation: alert-in .5s .35s cubic-bezier(.2,.9,.3,1.2) backwards; }
  @keyframes alert-in { from { transform: translateY(110%); } }
  .ps-ring circle { animation: ring 3.4s .4s linear forwards; }
  @keyframes ring { to { stroke-dashoffset: 100; } }
  .ps-offer { animation: ps-in .4s var(--ease-out) backwards; }
  .ps-offer:nth-of-type(2) { animation-delay: .9s; } .ps-offer:nth-of-type(3) { animation-delay: 1.8s; }
  .ps-swipe i { animation: swipe 1.2s var(--sw, 1.3s) var(--ease) forwards; }
  @keyframes swipe { to { left: calc(100% - 40px); } }
  .ps-loaded { animation: ps-in .4s .9s var(--ease-out) backwards; }
  .ps-online i { animation: online 1.6s ease-out infinite; }
  @keyframes online { 50% { box-shadow: 0 0 0 7px rgba(30,158,87,0); } }
  .ps-check { animation: pop .5s cubic-bezier(.2,.9,.3,1.4) backwards; }
  @keyframes pop { from { transform: scale(.3); opacity: 0; } }
  .beats li.is-on i { width: 0; animation: beat var(--dur) linear forwards; }
  @keyframes beat { to { width: 100%; } }
}
@media (max-width: 1080px) {
  .phone { width: 210px; } .phone-frame { height: 440px; }
  .phone--client { left: 16px; } .phone--driver { right: 16px; }
}
/* phones: the city on top, then whichever app is acting, as a plain card */
@media (max-width: 860px) {
  .c-bird b { scale: .62; transform-origin: 50% 100%; }
  .c-bird em span, .c-bird-pick em span { display: none; }
  .c-bird em, .c-bird-pick em { padding: 2px 4px; font-size: 9px; }
  .c-bird.sent::after, .c-bird-pick::after, .c-fare b { padding: 3px 5px; font-size: 10px; }
  .c-bird.sent::after, .c-fare.go b { top: -25px; } /* clear of the phones scaled above */
  .c-bird.is-win.sent::after, .c-fare.go.is-win b { top: -37px; }
  .c-bird-pick.is-other::after, .c-fare.is-other { display: none; } /* too tight for every shop's price: only the story's own */
  .modes-tabs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(240px, 78%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .mode-tab { scroll-snap-align: start; }
  .theatre { height: auto; overflow: visible; background: none; border-radius: 0; display: grid; gap: 12px; }
  .city { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: var(--c-ground); }
  .phone { position: static; display: none; width: auto; transform: none; text-align: left; }
  .phone.is-focus { display: block; }
  .phone-cap { margin-bottom: 8px; box-shadow: none; }
  .phone-frame { height: auto; padding: 0; border-radius: 16px; background: none; box-shadow: none; }
  .phone-frame::before, .ps-status, .mm, .ps-other { display: none; }
  .phone-screen { height: 260px; border-radius: 16px; border: 1px solid var(--line-strong); }
  .ps-sheet { margin: 0; box-shadow: none; border-radius: 0; }
  .ps-alert { position: static; box-shadow: none; border-radius: 16px; height: 100%; align-content: start; }
  .beats { grid-template-columns: repeat(6, minmax(112px, 1fr)); overflow-x: auto; padding-bottom: 4px; }
  .modes .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   SURFACES — grey tiles, no borders, no glow
   ============================================================ */
.feature-card, .route-publish-card, .song-card, .quote, .faq, .reg-step, .fp-stat,
.reg-visual, .contact-card, .reel-card {
  background: var(--tile); border: 0; border-radius: var(--r-lg); box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none; transform: none !important;
}
.reg-step:hover, .contact-card:hover, .contact-card:focus-visible, .feature-card:hover {
  transform: none; background: var(--tile); box-shadow: inset 0 0 0 2px var(--text);
}
.reg-step.highlight, .faq.highlight, .contact-card--primary {
  background: var(--tile); box-shadow: inset 4px 0 0 var(--red);
}
.zero-card { background: var(--ink-solid); border: 0; box-shadow: none; border-radius: var(--r-xl); }
.zero-card::after { display: none; }
.zero-card h3 em { color: var(--red); }
.zero-tag { border-radius: 999px; background: none; border: 1px solid rgba(255,255,255,.3); text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-weight: 600; }
.zero-tag .dot { box-shadow: none; background: #1E9E57; }
.zero-num strong, .intro-stats .num, .fp-stat strong { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; }
.card-tag, .reg-tag, .rp-tag, .commission-badge { border-radius: 999px; letter-spacing: 0; }
.orbit { display: none; }
.logo-text { background: none; color: inherit; -webkit-text-fill-color: currentColor; }
.rp-line { background: var(--red); }
.reg-visual img { filter: drop-shadow(0 14px 10px rgba(0,0,0,.18)); }
:root[data-theme="dark"] .zero-card { background: var(--tile); }

/* numerals: solid and plain */
.step-num, .reg-num, .faq-num, .bullet-num { color: var(--text); -webkit-text-stroke: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; }
/* how it works: three numbered stops on one line (a vertical rail on phones), no cards */
.steps { gap: 0; margin-top: clamp(28px, 4vw, 48px); }
.step { position: relative; background: none; border: 0; border-radius: 0; min-height: 0; padding: 0 clamp(20px, 3vw, 40px) 0 0; gap: 8px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 20px; left: 56px; right: 16px; height: 2px; background: var(--line-strong); }
.step-num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; margin: 0 0 12px; background: var(--act); color: var(--act-text); font: 700 15px/1 var(--font-body); letter-spacing: 0; }
.step h3 { font-size: 20px; font-weight: 700; }
.step p { font-size: 16px; line-height: 1.55; max-width: 34ch; }
@media (max-width: 860px) {
  .step { padding: 0 0 28px 60px; min-height: 0; }
  .step:last-child { padding-bottom: 0; }
  .step-num { position: absolute; left: 0; top: -6px; }
  .step:not(:last-child)::after { top: 42px; bottom: 4px; left: 19px; right: auto; width: 2px; height: auto; }
}
.reg-num { font-size: 16px; background: var(--bg); border: 0; border-radius: 50%; }
.reg-step.highlight .reg-num { background: var(--act); color: var(--act-text); }
.card-icon, .reg-icon, .contact-ic { border-radius: 10px; background: var(--bg) !important; border: 0; }
.quote::before { display: none; }


/* the closing CTA is one solid orange block */
.cta-card { background: var(--red); color: var(--ink-solid); box-shadow: none; border-radius: var(--r-xl); }
.cta-bg { display: none; }
.cta-card p { color: rgba(17,17,17,.8); }
.cta-actions .btn-primary { background: #111; color: #fff; }
.song-art { background: var(--ink-solid); box-shadow: none; border-radius: 8px; color: var(--red); }
.contact-ic, .contact-ic svg { color: var(--red-ink) !important; stroke: currentColor; }

/* spaced capitals read as template work: labels set in sentence case, body face */
.kicker, .route-stat span, .zero-num span, .intro-stats small, .card-tag, .commission-badge, .rp-meta small,
.reel-badge, .reg-swipe-hint, .fp-stat small, .store-pill-tag,
.contact-label, .footer-contact > a small, .footer h5, .store-modal-kicker, .store-modal-option .meta small,
.fab-menu-head, .fab-opt-text small, .song-meta, .toc-tag, .sdg-label, .toc-cover small,
.lang-top-head, .rp-tag, .reg-slide-cap small, .quote figcaption small {
  font-family: var(--font-body) !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 600;
}
