/* boda.co.tz · Boda look A: Figtree, deep green land, gold = the shop, mint = the driver, the dotted road. */
@font-face { font-family: Figtree; src: url(/fonts/Figtree_400Regular.ttf) format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Figtree; src: url(/fonts/Figtree_600SemiBold.ttf) format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: Figtree; src: url(/fonts/Figtree_700Bold.ttf) format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: Figtree; src: url(/fonts/Figtree_800ExtraBold.ttf) format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: Figtree; src: url(/fonts/Figtree_900Black.ttf) format('truetype'); font-weight: 900; font-display: swap; }

:root {
  --deep: #083D30; --green: #0A4D3C; --field: #1A5E4B; --ink: #16201B; --muted: #4F5A54;
  --gold: #F2C46D; --gold-ink: #4A3B12; --cream: #FBF0D6; --mint: #7FD6B8; --pale: #CFE6DD; --soft: #E2EFEA;
  --page: #F7F9F6; --line: #E1E4DE; --white: #fff;
  --out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(20px, 5vw, 64px);
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; scrollbar-color: var(--field) var(--page); }
body { margin: 0; overflow-x: clip; font-family: Figtree, system-ui, sans-serif; font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--page); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
::selection { background: var(--mint); color: var(--deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.mint { color: var(--mint); }
/* The wordmark, as in the logo: lowercase, the gold dot. */
.wm { font-weight: 900; letter-spacing: -0.045em; color: #fff; white-space: nowrap; }
.wm .dot, .mark .dot { color: var(--gold); }
.wm-dark { color: var(--deep); }

/* ---------- Header ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 20; height: 72px; display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter);
  color: #fff; transition: background-color .4s var(--out), box-shadow .4s var(--out); }
.top.solid { background: var(--deep); box-shadow: 0 6px 24px rgba(8, 61, 48, .18); }
.mark { font-weight: 900; font-size: 30px; letter-spacing: -0.045em; text-decoration: none; line-height: 1; color: #fff; }
.mark-sub { font-size: 17px; font-weight: 700; letter-spacing: 0; color: var(--pale); }
.nav { display: flex; gap: 24px; margin-left: 12px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--pale); padding: 8px 0; }
.nav a:hover { color: #fff; }
.top-end { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.top-link { font-size: 14px; font-weight: 700; color: var(--mint); text-decoration: none; padding: 8px 0; }
.top-link:hover { color: #fff; text-decoration: underline; }
.lang { display: flex; border-radius: 999px; padding: 3px; background: rgba(255, 255, 255, .1); }
.lang button { font: 700 13px Figtree, sans-serif; letter-spacing: .04em; color: var(--pale); background: none; border: 0; border-radius: 999px; min-width: 40px; height: 32px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--deep); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border-radius: 999px; font-weight: 800; font-size: 17px;
  text-decoration: none; transition: transform .25s var(--out), background-color .25s var(--out), box-shadow .25s var(--out); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-gold { background: var(--gold); color: var(--gold-ink); box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .35); }
.btn-gold:hover { background: #F5CF85; }
.btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(207, 230, 221, .45); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn-mint { background: var(--mint); color: var(--deep); }
.btn-mint:hover { background: #95DEC5; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--deep); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--deep); }

/* ---------- The route (hero + how it works) ---------- */
.route { position: relative; height: 320vh; background: var(--deep); }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; color: #fff;
  background: radial-gradient(ellipse 80% 60% at 70% 80%, #0B4A3A 0%, var(--deep) 70%); }
.stage::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 0% 0%, var(--deep) 0%, rgba(8, 61, 48, .9) 45%, rgba(8, 61, 48, 0) 100%); }
.map { position: absolute; inset: 0; width: 100%; height: 100%; }
.map .layer { transition: transform 1.4s var(--out); }
/* Drawn from OpenStreetMap: thin roads by rank, Meru in contour lines, the route in mint. */
.contour { fill: none; stroke: var(--pale); stroke-opacity: var(--o); stroke-width: 1.2; }
.meru-name { font: 700 14px Figtree, sans-serif; letter-spacing: .16em; text-transform: uppercase; fill: var(--pale); fill-opacity: .75; }
.meru-alt { font: 600 12px Figtree, sans-serif; letter-spacing: .06em; fill: var(--pale); fill-opacity: .5; }
.rd { fill: none; stroke: var(--pale); stroke-linecap: round; stroke-linejoin: round; }
.rd-minor { stroke-opacity: .1; stroke-width: 1; }
.rd-mid { stroke-opacity: .26; stroke-width: 1.8; }
.rd-major { stroke-opacity: .55; stroke-width: 3.2; }
.place-dot circle { fill: var(--pale); transition: transform .45s var(--out), fill .45s var(--out); transform-box: fill-box; transform-origin: center; }
.place-dot text { fill: var(--pale); fill-opacity: .72; font: 700 12.5px Figtree, sans-serif; letter-spacing: .12em; text-transform: uppercase; transition: fill-opacity .45s var(--out); }
.place-dot.big text { fill: #fff; fill-opacity: 1; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; text-transform: none; }
.place-dot.near circle { transform: scale(2); fill: var(--mint); }
.place-dot.near text { fill-opacity: 1; }
.trip-base { fill: none; stroke: var(--mint); stroke-opacity: .55; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1 7; }
.trip-done { fill: none; stroke: var(--mint); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.pin-shop path:first-child { fill: var(--gold); stroke: var(--deep); stroke-width: 2.5; }
.pin-home path:first-child { fill: #fff; stroke: var(--deep); stroke-width: 2.5; }
.pin .ico { fill: none; stroke: var(--deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pin-shop .ico { stroke: var(--gold-ink); }
.rider .halo { fill: var(--mint); opacity: .25; transform-box: fill-box; transform-origin: center; animation: breathe 2.4s var(--out) infinite; }
.rider .body { fill: var(--mint); stroke: var(--deep); stroke-width: 3; }
@keyframes breathe { 0% { transform: scale(.7); opacity: .4; } 100% { transform: scale(1.35); opacity: 0; } }

.hero-copy { position: relative; z-index: 2; padding: clamp(104px, 15vh, 150px) var(--gutter) 0; max-width: 780px; }
.display { margin: 0; font-weight: 900; font-size: clamp(2.6rem, 6.6vw, 6rem); line-height: .96; letter-spacing: -0.045em; text-wrap: balance; }
.display > span { display: block; }
.lede { margin: 22px 0 0; max-width: 32ch; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--pale); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
/* The headline arrives word by word, once. */
.js .display > span { opacity: 0; transform: translateY(.35em); filter: blur(8px); animation: rise 1s var(--out) forwards; }
.js .display > span + span { animation-delay: .18s; }
.js .lede, .js .actions { opacity: 0; animation: fade .9s var(--out) .45s forwards; }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }
@keyframes fade { to { opacity: 1; } }

.steps { position: absolute; z-index: 2; right: var(--gutter); top: clamp(104px, 15vh, 150px); width: min(400px, 34vw); margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.step { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 20px; background: rgba(8, 61, 48, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: .45; transform: translateX(10px); transition: opacity .5s var(--out), transform .5s var(--out), background-color .5s var(--out); }
.step b { display: block; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.step b + span { display: block; font-size: 15px; color: var(--pale); line-height: 1.45; margin-top: 2px; }
.step-n { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(207, 230, 221, .14); transition: background-color .5s var(--out); }
.step-n svg { width: 22px; height: 22px; fill: none; stroke: var(--pale); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.step.on { opacity: 1; transform: none; background: var(--field); }
.step.on .step-n { background: var(--mint); }
.step.on .step-n svg { stroke: var(--deep); }
.step[data-step="0"].on .step-n { background: var(--gold); }
.step[data-step="0"].on .step-n svg { stroke: var(--gold-ink); }
.step[data-step="3"].on .step-n { background: #fff; }

/* ---------- Shared section type ---------- */
section { position: relative; }
.h2 { margin: 0; font-weight: 900; font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
.display-mid { font-size: clamp(2.8rem, 7vw, 5.8rem); }
.sub { margin: 16px 0 0; color: var(--muted); font-size: 19px; max-width: 40ch; }

/* ---------- Phones that tilt toward you ---------- */
.phone { position: relative; margin: 0; justify-self: center; width: min(330px, 100%); padding: 10px; border-radius: 48px; background: var(--ink);
  box-shadow: 0 40px 70px -30px rgba(8, 61, 48, .55), 0 18px 30px -18px rgba(8, 61, 48, .4); }
.phone img { position: relative; border-radius: 38px; width: 100%; transform: translateZ(1px); }
/* The phone's sides: layers of frame stacked behind the screen, so a tilt shows its edge (added by the script). */
.phone.tilt { box-shadow: none; }
.phone .depth { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; transform: translateZ(calc(var(--z) * -1px));
  background: linear-gradient(135deg, #3B4743 0%, #1B2420 40%, #0E1512 100%); }
.phone .depth.last { box-shadow: 0 50px 70px -30px rgba(8, 61, 48, .6), 0 20px 30px -18px rgba(8, 61, 48, .45); }
.phone-stage { perspective: 1100px; display: grid; justify-items: center; }
.tilt { transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) rotate(var(--rz, 0deg)); transition: transform .9s var(--out); will-change: transform; }
.glare { position: absolute; inset: 10px; transform: translateZ(2px); border-radius: 38px; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 55%); opacity: .9; }

/* ---------- What you can order ---------- */
.order { padding: clamp(90px, 12vw, 150px) 0; background: var(--page); }
.order-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.kinds { list-style: none; margin: 34px 0 0; padding: 0; }
.kinds li { border-top: 1px solid var(--line); }
.kinds li:last-child { border-bottom: 1px solid var(--line); }
.kinds a, .kinds li > span:first-child { display: flex; gap: 18px; align-items: center; padding: 16px 4px; text-decoration: none; transition: transform .35s var(--out); }
.kinds a:hover { transform: translateX(8px); }
.kinds b { display: block; font-size: 21px; font-weight: 800; letter-spacing: -0.015em; }
.kinds b + span { color: var(--muted); }
.chip { flex: none; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; }
.chip svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip-gold { background: var(--gold); color: var(--gold-ink); }
.chip-cream { background: var(--cream); color: var(--gold-ink); }
.chip-mint { background: var(--soft); color: var(--green); }
.chip-green { background: var(--green); color: #fff; }

/* ---------- The four services ---------- */
/* The section holds still while the visitor scrolls through it; the picture and the words change in place. */
.services { height: 360vh; background: #fff; }
.svc-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(18px, 3.5vh, 40px); padding-top: 72px; overflow: hidden; }
.svc-head { display: grid; justify-items: center; gap: 18px; }
.svc-tabs { display: flex; gap: 4px; padding: 5px; background: var(--page); border: 1px solid var(--line); border-radius: 999px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.svc-tabs button { flex: none; position: relative; overflow: hidden; border: 0; background: none; font: 700 14px Figtree, sans-serif; color: var(--muted); padding: 0 16px; min-height: 40px; border-radius: 999px; cursor: pointer; transition: background-color .4s var(--out), color .4s var(--out); }
.svc-tabs button:hover { color: var(--ink); }
.svc-tabs button.on { background: var(--deep); color: #fff; }
.svc-tabs button.on::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--p, 0) * 100%); background: var(--mint); }
.services-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.scenes svg { display: block; width: min(100%, calc((100svh - 240px) * 1.07)); height: auto; margin: 0 auto; border-radius: 36px; box-shadow: 0 40px 80px -40px rgba(8, 61, 48, .6); }
.sc-bg { fill: var(--deep); }
.sc-road { fill: none; stroke: #2C6E5A; stroke-width: 22; stroke-linecap: round; }
.scene { opacity: 0; transition: opacity .6s var(--out); pointer-events: none; }
.scene.on { opacity: 1; }
.scene .shop, .scene .houses, .scene .parcels, .scene .tag, .scene .drop-pin, .scene .pin-s { transition: transform .9s var(--out), opacity .9s var(--out); }
/* 0 · shop */
.shop-wall { fill: var(--cream); }
.awning { fill: var(--gold); }
.awning-lines { stroke: #fff; stroke-width: 10; stroke-opacity: .55; }
.scallop { fill: none; stroke: var(--gold); stroke-width: 8; stroke-linecap: round; }
.window { fill: #fff; stroke: var(--gold-ink); stroke-opacity: .25; stroke-width: 2; }
.door { fill: var(--green); }
.knob { fill: var(--gold); }
.goods rect, .goods circle { fill: var(--mint); }
.goods circle { fill: var(--gold); }
.scene .shop { transform: translate(230px, 262px) scale(.7); }
.scene[data-scene="0"]:not(.on) .shop { transform: translate(237px, 292px) scale(.63); opacity: 0; }
.home-pin { fill: #fff; stroke: var(--deep); stroke-width: 3; }
.home-ico { fill: none; stroke: var(--deep); stroke-width: 2.4; stroke-linejoin: round; }
.sc-rider-body { fill: var(--mint); stroke: var(--deep); stroke-width: 4; }
.sc-rider-ico { fill: none; stroke: var(--deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bag { fill: var(--gold); stroke: var(--deep); stroke-width: 3; }
/* 1 · seller */
.houses rect { fill: var(--field); }
.house-picked { fill: var(--cream); }
.ring { fill: none; stroke: var(--gold); stroke-width: 3; }
.seller-pin { fill: var(--gold); stroke: var(--deep); stroke-width: 3; }
.seller-pin-dot { fill: var(--deep); }
.scene[data-scene="1"] .drop-pin { transform: translateY(-160px); opacity: 0; transition: transform .7s cubic-bezier(.3, 1.6, .5, 1), opacity .3s; }
.scene[data-scene="1"].on .drop-pin { transform: none; opacity: 1; transition-delay: .15s; }
.tag-bg { fill: #fff; }
.tag-t { font: 800 17px Figtree, sans-serif; fill: var(--ink); }
.tag-s { font: 600 13px Figtree, sans-serif; fill: var(--muted); }
.scene[data-scene="1"] .tag { opacity: 0; transform: translate(380px, 176px); }
.scene[data-scene="1"].on .tag { opacity: 1; transform: translate(360px, 176px); transition-delay: .7s; }
/* 2 · several */
.multi-route { fill: none; stroke: var(--mint); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.scene[data-scene="2"].on .multi-route { animation: draw 3.6s var(--out) .6s infinite; }
@keyframes draw { 0% { stroke-dashoffset: 1; opacity: 1; } 55% { stroke-dashoffset: 0; } 88% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.mp-c { fill: var(--gold); stroke: var(--deep); stroke-width: 4; }
.mp-t { font: 900 20px Figtree, sans-serif; fill: var(--gold-ink); }
.mp > * { transform-box: fill-box; transform-origin: center; }
.scene[data-scene="2"] .mp > * { transform: scale(0); transition: transform .6s cubic-bezier(.3, 1.6, .5, 1); }
.scene[data-scene="2"].on .mp > * { transform: none; transition-delay: calc(var(--i) * .12s + .1s); }
/* 3 · send */
.box-c { fill: var(--cream); stroke: var(--deep); stroke-width: 3; }
.box-gold { fill: var(--gold); }
.box-white { fill: #fff; }
.box-l { fill: none; stroke: var(--deep); stroke-width: 2.5; stroke-opacity: .5; }
.box-t { font: 800 15px Figtree, sans-serif; fill: var(--gold-ink); }
.scene[data-scene="3"] .box { transform: translateY(-120px); opacity: 0; transition: transform .7s cubic-bezier(.3, 1.4, .5, 1), opacity .3s; }
.scene[data-scene="3"].on .box { transform: none; opacity: 1; }
.scene[data-scene="3"].on .b2 { transition-delay: .18s; }
.scene[data-scene="3"].on .b3 { transition-delay: .36s; }
.send-arrow { fill: none; stroke: var(--mint); stroke-width: 5; stroke-linecap: round; stroke-dasharray: .04 .04; }
.scene[data-scene="3"].on .send-arrow { animation: march 1.4s linear infinite; }
@keyframes march { to { stroke-dashoffset: -.16; } }

.chapters { display: grid; align-items: center; }
.chapter { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 14px; opacity: 0; transform: translateY(26px); filter: blur(4px); pointer-events: none;
  transition: opacity .45s var(--out), transform .7s var(--out), filter .45s var(--out); }
.chapter.on { opacity: 1; transform: none; filter: none; pointer-events: auto; transition-delay: .12s; }
.chapter h3 { margin: 6px 0 0; font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 900; letter-spacing: -0.035em; line-height: 1.05; }
.chapter p { margin: 0; font-size: 18px; color: var(--muted); max-width: 44ch; }
.ticks { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3L17 9' fill='none' stroke='%230A4D3C' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }

/* ---------- Shops ---------- */
.shops { background: var(--gold); color: var(--ink); padding: clamp(80px, 10vw, 130px) 0; overflow: hidden; text-align: center; }
.marquee { margin: clamp(36px, 5vw, 56px) 0; display: grid; gap: 10px; }
.track { display: flex; width: max-content; animation: slide 60s linear infinite; }
.track-back { animation-direction: reverse; animation-duration: 70s; }
.track span { font-weight: 900; font-size: clamp(1.8rem, 4.4vw, 3.6rem); letter-spacing: -0.035em; white-space: nowrap; padding: 0 .55em; display: inline-flex; align-items: center; gap: 1.1em; }
.track span::after { content: ""; width: .22em; height: .22em; border-radius: 50%; background: var(--green); }
.track-back span { color: var(--gold-ink); }
.marquee:hover .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.shops-foot { display: grid; justify-items: center; gap: 16px; max-width: 760px; }
.shops-foot p { margin: 0; font-size: 19px; color: var(--ink); font-weight: 600; }
.shops-foot .small { font-size: 16px; font-weight: 400; color: var(--gold-ink); }
.shops-foot b { color: var(--ink); }

/* ---------- Trust ---------- */
.trust { background: var(--page); padding: clamp(90px, 12vw, 150px) 0 clamp(50px, 6vw, 70px); }
.trust-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.facts { margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 40px; }
.facts dt { font-weight: 900; font-size: 24px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.facts dt::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--soft); }
.facts dd { margin: 8px 0 0; color: var(--muted); }
.phones { position: relative; height: 640px; perspective: 1200px; }
.phones .phone { position: absolute; width: 290px; }
.phone-back { right: 0; top: 0; --rz: 4deg; }
.phone-front { left: 0; bottom: 0; --rz: -3deg; }
.note { margin-top: 36px; font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- Drivers ---------- */
.drivers { background: var(--deep); color: #fff; padding: clamp(110px, 14vw, 190px) 0; overflow: hidden; text-align: center; }
.riders { position: absolute; inset: 0; width: 100%; height: 100%; }
.r-path { fill: none; stroke: var(--pale); stroke-opacity: .22; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1 12; }
.r-end circle { stroke: var(--deep); stroke-width: 4; }
.r-end.gold circle { fill: var(--gold); }
.r-end.home circle { fill: #fff; }
.r-dot circle { fill: var(--mint); stroke: var(--deep); stroke-width: 4; }
.drivers::after, .d-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 50% 55% at 50% 50%, rgba(8, 61, 48, .92) 30%, rgba(8, 61, 48, 0) 100%); }
.drivers-inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 30px; }
.driver-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.driver-points li { padding: 12px 20px; border-radius: 999px; background: var(--field); color: var(--pale); font-weight: 600; }

/* ---------- Apps ---------- */
.apps { padding: clamp(90px, 11vw, 140px) 0; background: var(--soft); text-align: center; }
.apps-inner { display: grid; justify-items: center; gap: 18px; }
.app-icon { width: 132px; height: 132px; border-radius: 30px; box-shadow: 0 24px 40px -18px rgba(8, 61, 48, .6); margin-bottom: 8px; }
.apps-inner > p { margin: 0; max-width: 46ch; color: var(--muted); font-size: 18px; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 14px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 22px 0 18px; border-radius: 16px; background: var(--ink); color: #fff; font-weight: 800; font-size: 18px; text-align: left; cursor: default; }
.store small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--mint); line-height: 1.2; }
.store svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }
.stores .btn { min-height: 58px; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(90px, 11vw, 140px) 0; background: var(--page); }
.faq-inner { display: grid; gap: 40px; }
.qs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; align-items: start; }
details { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 0 22px; transition: border-color .3s var(--out); }
details[open] { border-color: var(--mint); }
summary { list-style: none; cursor: pointer; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 800; font-size: 18px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--out); }
details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
details p { margin: 0 0 20px; color: var(--muted); }

/* ---------- Footer ---------- */
.foot { background: var(--deep); color: var(--pale); padding: 56px 0 calc(48px + env(safe-area-inset-bottom)); }
.foot-inner { display: flex; flex-wrap: wrap; gap: 28px 60px; justify-content: space-between; align-items: flex-end; }
.mark-big { font-size: 44px; color: #fff; }
.foot p { margin: 10px 0 0; font-size: 15px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-links a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 0; }
.foot-links a:hover { color: #fff; text-decoration: underline; }

/* ---------- Driver page ---------- */
.d-hero { position: relative; min-height: 100vh; min-height: 100svh; background: var(--deep); color: #fff; overflow: hidden; display: grid; align-items: center; }
.d-hero .drivers-inner { padding-top: 90px; padding-bottom: 60px; }
.d-hero .lede { margin: 0 auto; max-width: 36ch; }
.d-steps { max-width: 760px; margin: 40px auto 0; }
.muted-line { margin: 28px auto 0; max-width: 52ch; color: var(--muted); }
.join-text { margin: 0; max-width: 46ch; color: var(--pale); font-size: 18px; }

/* ---------- Reveal: visible by default; hidden only once the script is running ---------- */
.js .reveal { opacity: 0; translate: 0 28px; filter: blur(6px); transition: opacity .9s var(--out), translate .9s var(--out), filter .9s var(--out); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; translate: 0 0; filter: none; }

/* ---------- Narrow screens ---------- */
@media (max-width: 1100px) { .top-link { display: none; } }
@media (max-width: 960px) {
  .nav { display: none; }
  .order-grid, .trust-grid { grid-template-columns: minmax(0, 1fr); }
  .order-grid .phone-stage { order: 2; }
  .services-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .scenes svg { width: min(100%, 440px, calc((100svh - 420px) * 1.07)); }
  .phones { height: 560px; max-width: 460px; width: 100%; margin: 0 auto; }
  .phones .phone { width: 250px; }
  .qs { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .top { height: 64px; gap: 12px; }
  .mark { font-size: 26px; }
  .top-end .btn { display: none; }
  .route { height: 260vh; }
  .hero-copy { padding-top: 92px; }
  .display { font-size: clamp(2.5rem, 12vw, 3.4rem); }
  .lede { margin-top: 14px; }
  .actions { margin-top: 20px; }
  .actions .btn { flex: 1 1 auto; min-height: 50px; padding: 0 18px; }
  .map { inset: auto 0 150px 0; height: 36%; -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
  .steps { left: var(--gutter); right: var(--gutter); top: auto; bottom: calc(20px + env(safe-area-inset-bottom)); width: auto; display: block; }
  .step { display: none; transform: none; opacity: 1; background: var(--field); }
  .step.on { display: flex; }
  .svc-stage { padding-top: 64px; gap: 14px; }
  .svc-head { gap: 12px; }
  .svc-head .h2 { font-size: 1.9rem; }
  .svc-tabs button { padding: 0 12px; font-size: 13px; min-height: 36px; }
  .scenes svg { border-radius: 26px; width: min(100%, 330px, calc((100svh - 430px) * 1.07)); }
  .chapter { gap: 8px; }
  .chapter .chip { display: none; }
  .chapter h3 { font-size: 1.6rem; margin: 0; }
  .chapter p { font-size: 15.5px; line-height: 1.5; }
  .ticks { gap: 4px; font-size: 14.5px; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .phones { height: 480px; }
  .phones .phone { width: 210px; padding: 8px; border-radius: 36px; }
  .phones .phone img, .phones .glare { border-radius: 29px; }
  .store, .stores .btn { width: 100%; justify-content: center; }
  .foot-inner { align-items: flex-start; }
}
@media (max-height: 620px) and (min-width: 701px) { .steps { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .route { height: auto; }
  .stage { position: relative; height: auto; min-height: 100svh; padding-bottom: 40px; }
  .map { position: relative; height: auto; aspect-ratio: 16 / 9; }
  .steps { position: relative; inset: auto; width: auto; margin: 0 var(--gutter); }
  .step { display: flex !important; opacity: 1; transform: none; }
  .rider .halo, .track, .js .display > span, .js .lede, .js .actions { animation: none; opacity: 1; transform: none; filter: none; }
  .js .reveal { opacity: 1; translate: none; filter: none; transition: none; }
  .tilt, .btn, .step, .map .layer { transition: none; }
  .scene, .chapter { transition: none; }
  .services { height: auto; }
  .svc-stage { position: relative; height: auto; padding: 100px 0 60px; }
  .chapters { gap: 30px; }
  .chapter { grid-area: auto; opacity: 1; transform: none; filter: none; }
  .svc-tabs { display: none; }
}
