/* Hopy website. Brand tokens live here only: swap them when the brand guide lands. */
@font-face { font-family: "Sora"; src: url("../fonts/Sora.ttf") format("truetype"); font-weight: 100 800; font-display: swap; }

:root {
  --violet: #5B2EFF;
  --violet-deep: #2A1380;
  --violet-ink: #160A44;
  --violet-soft: #ECE7FF;
  --ink: #120E24;
  --muted: #5E5A72;
  --bg: #F6F6FA;
  --surface: #FFFFFF;
  --line: #E1DFEA;
  --on-violet: #FFFFFF;
  --pink: #FF4FA8;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-card: 28px;
  --r-btn: 999px;
  --wrap: 1240px;
  --hdr: 72px;
  --ease: cubic-bezier(.22,.8,.24,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
img, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; letter-spacing: -0.03em; margin: 0; font-weight: 700; }
p { margin: 0; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--surface); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.eyebrow { font: 600 13px/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--violet); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* page transitions (native, same-origin) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .42s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }

/* loader */
.loader { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--violet); transition: opacity .6s var(--ease), visibility .6s; }
.loader img { width: min(220px, 50vw); animation: pulse 1.6s ease-in-out infinite; }
.loader i { position: absolute; left: 50%; bottom: 18%; width: 160px; height: 2px; margin-left: -80px; background: rgba(255,255,255,.25); border-radius: 2px; overflow: hidden; }
.loader i::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .3s; }
.loaded .loader { opacity: 0; visibility: hidden; }
@keyframes pulse { 50% { opacity: .75; transform: scale(.97); } }

/* header */
.hdr { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hdr); color: #fff; transition: background .3s, color .3s, box-shadow .3s; }
.hdr .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.hdr .logo img { height: 34px; width: auto; }
.hdr .logo .dark { display: none; }
.hdr nav { display: flex; gap: 26px; margin-left: auto; }
.hdr nav a { text-decoration: none; font-weight: 600; font-size: 15px; opacity: .9; }
.hdr nav a:hover, .hdr nav a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.hdr.solid, .page .hdr { background: rgba(246,246,250,.96); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.hdr.solid .logo .light, .page .hdr .logo .light { display: none; }
.hdr.solid .logo .dark, .page .hdr .logo .dark { display: block; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: inherit; width: 44px; height: 44px; cursor: pointer; }
.menu-btn svg { width: 26px; height: 26px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: var(--r-btn); font: 600 16px/1 var(--font-display); text-decoration: none; cursor: pointer; border: 0; transition: transform .2s var(--ease), background .2s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--violet); color: var(--on-violet); }
.btn-primary:hover { background: #4A1FEA; }
.btn-light { background: #fff; color: var(--ink); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.24); }
.hdr .btn { min-height: 42px; padding: 0 18px; font-size: 14px; }

/* intro: light, centered */
.intro { padding: calc(var(--hdr) + clamp(40px, 7vw, 90px)) 0 clamp(36px, 5vw, 56px); text-align: center; }
.intro h1 { font-size: clamp(44px, 7.4vw, 104px); margin-top: 18px; }
.intro .lead { font-size: clamp(17px, 1.5vw, 21px); color: var(--muted); margin: 22px auto 0; max-width: 560px; }
.intro .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.btn-outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.center { text-align: center; margin-inline: auto; }
.center p { margin-inline: auto; }
.eyebrow.light { color: #CFC2FF; }

/* hero: drone orbit in a panel that opens to full bleed, scrubbed by scroll */
.hero { position: relative; height: 300vh; }
.hero .stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero .panel { position: absolute; inset: 0; clip-path: inset(var(--it, 0px) var(--ix, 20px) 0 round var(--ir, 28px)); background: var(--violet-ink); will-change: clip-path; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18,10,50,.7), rgba(18,10,50,0) 55%); opacity: var(--so, 0); }
.hero .copy { position: absolute; left: 0; right: 0; bottom: 11vh; color: #fff; }
.hero .beat { position: absolute; left: 0; bottom: 0; max-width: 640px; opacity: 0; visibility: hidden; will-change: opacity, transform; }
.hero h2 { font-size: clamp(36px, 5.4vw, 72px); }
.hero .lead { font-size: clamp(17px, 1.5vw, 21px); margin-top: 18px; max-width: 520px; opacity: .92; }
.hero .place { position: absolute; right: 24px; bottom: 20px; color: rgba(255,255,255,.75); font-size: 13px; }

/* sections */
section { position: relative; }
.sec { padding: clamp(80px, 11vw, 150px) 0; }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head h2 { font-size: clamp(36px, 5vw, 64px); margin-top: 14px; }
.sec-head p { color: var(--muted); font-size: 19px; margin-top: 18px; max-width: 600px; }

/* services rail: tall photo cards */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(360px, 78vw); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(20px, calc((100vw - var(--wrap)) / 2)); padding: 0 max(20px, calc((100vw - var(--wrap)) / 2)) 8px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.pc { position: relative; aspect-ratio: 3 / 4.2; border-radius: var(--r-card); overflow: hidden; scroll-snap-align: start; text-decoration: none; color: #fff; background: var(--ink); isolation: isolate; }
.pc > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .8s var(--ease); }
.pc:hover > img { transform: scale(1.04); }
.pc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,6,30,.78) 0%, rgba(10,6,30,.35) 34%, rgba(10,6,30,0) 58%); }
.pc-t { padding: 26px; }
.pc h3 { font-size: 30px; text-shadow: 0 1px 18px rgba(0,0,0,.35); }
.pc p { margin-top: 6px; opacity: .9; font-size: 16px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; margin-top: 16px; padding: 0 16px; border-radius: 999px; background: #fff; color: var(--ink); font: 600 14px/1 var(--font-display); text-decoration: none; }
.pc-dark { background: var(--violet); display: flex; flex-direction: column; }
.pc-dark .chip { background: var(--ink); color: #fff; }
.pc-dark .phone { margin: auto auto -22%; }
.rail-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.rb { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line); }
.rb:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.rb svg { width: 22px; height: 22px; }

/* real iPhone render with a real app screen inside */
.phone { position: relative; aspect-ratio: 1612 / 3448; width: 300px; }
.phone .scr { position: absolute; left: 4.16%; right: 4.34%; top: 1.71%; bottom: 3.54%; width: 91.5%; height: 94.75%; object-fit: cover; object-position: top; border-radius: 12% / 5.6%; }
.phone .frm { position: absolute; inset: 0; width: 100%; height: 100%; }
.phone.sm { width: 62%; }
.phone.md { width: min(300px, 70%); justify-self: center; }
.phone.lg { width: min(500px, 84vw); }

/* dark reveal: the bike rises into view */
.reveal { height: 220vh; background: #0B0618; color: #fff; }
.reveal .stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.reveal .copy { position: relative; z-index: 1; opacity: var(--o, 1); }
.reveal h2 { font-size: clamp(38px, 5.6vw, 76px); margin-top: 14px; }
.reveal .lead { font-size: 19px; margin-top: 18px; opacity: .85; max-width: 520px; }
.reveal img { width: min(1200px, 120vw); margin: -2vh auto 0; transform: translateY(var(--y, 30%)) scale(var(--z, .8)); will-change: transform; }

/* big tilted phone rising through the band (Bolt-style mechanic, Hopy violet case) */
.tilt { position: relative; height: min(140vh, 1200px); background: var(--violet); color: #fff; overflow: hidden; perspective: 900px; perspective-origin: 50% 20%; }
.tilt .copy { position: relative; z-index: 1; padding-top: clamp(80px, 11vw, 140px); }
.tilt h2 { font-size: clamp(38px, 5.6vw, 76px); }
.tilt .lead { font-size: 19px; margin-top: 16px; opacity: .9; max-width: 520px; }
.tilt .phone { position: absolute; left: 50%; top: 50%; width: min(700px, 120vw); transform: translate(-50%, var(--ty, 0)) rotateX(58deg); transform-origin: 50% 0; will-change: transform; }
.tilt .phone .scr { object-position: 50% 0; }

/* the case: a coloured bumper behind the frame */
.phone.case { isolation: isolate; }
.phone.case::before { content: ""; position: absolute; inset: -1.6% -2.6%; z-index: -1; border-radius: 15% / 7%; background: linear-gradient(160deg, #7B57FF, var(--violet-deep) 70%); box-shadow: inset 0 0 0 2px rgba(255,255,255,.18), 0 30px 80px rgba(10,4,40,.35); }
.tilt .phone.case::before { background: linear-gradient(180deg, #3B1BB8, #1E0B6E); }

/* split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.split + .split { margin-top: clamp(70px, 9vw, 120px); }
.split.flip .art { order: 2; }
.split .art { border-radius: var(--r-card); background: var(--surface); aspect-ratio: 1; display: grid; place-items: center; }
.split .art > img { width: 72%; }
.split .art.photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--line); }
.split .art.photo > img { width: 100%; height: 100%; object-fit: cover; }
.split h3, .map-wrap h3 { font-size: clamp(32px, 4vw, 52px); margin-top: 14px; }
.map-wrap .sub { color: var(--muted); font-size: 18px; margin-top: 16px; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.ticks li::before { content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--violet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/15px no-repeat; }
.ticks b { display: block; font-family: var(--font-display); }
.ticks span { color: var(--muted); font-size: 16px; }

/* earn: dark violet band */
.earn { background: var(--violet-ink); color: #fff; overflow: hidden; }
.earn .eyebrow { color: #B9A6FF; }
.earn .ticks span { color: rgba(255,255,255,.72); }
.earn .ticks li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B2EFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }

.earn .btn { margin-top: 34px; }

/* safety cards */
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--surface); border-radius: 22px; padding: 28px; }
.card .n { font: 700 14px/1 var(--font-display); color: var(--violet); }
.card h3 { font-size: 22px; margin-top: 46px; letter-spacing: -0.02em; }
.card p { color: var(--muted); font-size: 16px; margin-top: 10px; }
.safety-top { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-bottom: 40px; }
.safety-top img { width: min(360px, 100%); justify-self: end; }

/* Accra strip: horizontal track moved by vertical scroll */
.city { height: 300vh; background: var(--bg); }
.city .stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.city .sec-head { margin-bottom: 36px; }
.track { display: flex; gap: 20px; padding-left: max(20px, calc((100vw - var(--wrap)) / 2)); will-change: transform; }
.track figure { margin: 0; flex: 0 0 auto; }
.track img { height: min(58vh, 560px); width: auto; border-radius: 22px; object-fit: cover; background: var(--line); }
.track figcaption { margin-top: 12px; font: 600 15px/1.2 var(--font-display); }
.track figcaption span { display: block; font: 400 13px/1.4 var(--font-body); color: var(--muted); margin-top: 4px; }

/* download */
.dl { background: var(--violet); color: #fff; border-radius: 36px; padding: clamp(40px, 7vw, 90px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; overflow: hidden; }
.dl h2 { font-size: clamp(40px, 6vw, 80px); }
.dl p { margin-top: 18px; font-size: 19px; opacity: .9; max-width: 480px; }
.dl .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.dl { perspective: 1400px; }
/* download band: phone rises and straightens as the band scrolls in, then tilts toward the pointer; a soft light follows the pointer */
.dl { position: relative; isolation: isolate; --mx: 0; --my: 0; --e: 0; --gx: 70%; --gy: 40%; }
.dl::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px circle at var(--gx) var(--gy), rgba(255,255,255,.22), transparent 60%), radial-gradient(700px circle at 85% 110%, var(--pink), transparent 55%); opacity: .9; transition: background-position .3s; }
.dl-art { position: relative; transform-style: preserve-3d; }
.dl .phone { margin: -40px auto -140px; will-change: transform;
  transform: translateY(calc((1 - var(--e)) * 140px)) rotateX(calc(18deg * (1 - var(--e)) + var(--my) * -10deg)) rotateY(calc(-24deg * (1 - var(--e)) + var(--mx) * 14deg - 8deg)) rotateZ(calc(10deg * (1 - var(--e)) + 2deg)); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.chip-f { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--ink); font: 600 15px/1 var(--font-display); box-shadow: 0 14px 40px rgba(20,8,70,.28); opacity: var(--e);
  transform: translate3d(calc(var(--mx) * var(--d) * 1px), calc(var(--my) * var(--d) * 1px + (1 - var(--e)) * 40px), 120px); transition: transform .6s cubic-bezier(.2,.8,.2,1); animation: bob 5s ease-in-out infinite; }
.chip-f i { width: 10px; height: 10px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px var(--violet-soft); }
.chip-f.f1 { --d: 26; top: 14%; left: -6%; }
.chip-f.f2 { --d: -20; top: 46%; right: 0; z-index: 2; animation-delay: -1.6s; }
.chip-f.f3 { --d: 34; top: 72%; left: 2%; animation-delay: -3.2s; }
.chip-f.f3 i { background: var(--pink); box-shadow: 0 0 0 4px #FFD6EB; }
@keyframes bob { 50% { translate: 0 -8px; } }
.store { transition: transform .25s var(--ease), box-shadow .25s; }
.store:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(10,4,40,.35); }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 22px; border-radius: 16px; background: var(--ink); color: #fff; text-decoration: none; }
.store svg { width: 26px; height: 26px; }
.store small { display: block; font-size: 11px; opacity: .75; line-height: 1.2; }
.store b { display: block; font: 600 18px/1.2 var(--font-display); }

/* faq */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 44px 26px 0; position: relative; font: 600 20px/1.35 var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -10px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { color: var(--muted); padding: 0 0 26px; max-width: 700px; }

/* footer */
.ftr { background: var(--ink); color: rgba(255,255,255,.75); padding: 80px 0 40px; margin-top: clamp(80px, 10vw, 140px); }
.ftr .top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
.ftr img { height: 40px; width: auto; }
.ftr h2 { color: #fff; font: 600 15px/1 var(--font-display); margin: 6px 0 18px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: #fff; }
.ftr .base { margin-top: 60px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* sub-page hero */
.phero { padding: calc(var(--hdr) + clamp(50px, 8vw, 110px)) 0 clamp(60px, 8vw, 100px); }
.phero .split .art { background: var(--violet-soft); }
.phero h1 { font-size: clamp(46px, 7vw, 96px); margin-top: 16px; }
.phero p.lead { font-size: 20px; color: var(--muted); margin-top: 22px; max-width: 520px; }
.phero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.photo-band img { width: 100%; height: min(78vh, 760px); object-fit: cover; border-radius: var(--r-card); }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 980px) {
  .hdr nav, .hdr .btn { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .hdr.open { background: var(--bg); color: var(--ink); }
  .hdr.open .logo .light { display: none; }
  .hdr.open .logo .dark { display: block; }
  .hdr.open nav { display: flex; flex-direction: column; position: fixed; top: var(--hdr); left: 0; right: 0; bottom: 0; background: var(--bg); padding: 24px 20px; gap: 0; }
  .hdr.open nav a { font: 600 28px/1 var(--font-display); padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
  .cards4 { grid-template-columns: 1fr 1fr; }
  .split, .dl, .safety-top { grid-template-columns: 1fr; }
  .split.flip .art { order: 0; }
  .ftr .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .cards4 { grid-template-columns: 1fr; }
  .tilt { height: 115vh; }
  .tilt .phone { width: 92vw; top: 46%; }
  .reveal img { width: 150vw; max-width: none; margin-left: -25vw; }
  .hero .copy { bottom: 9vh; }
  .hero .place { display: none; }
  .dl .phone { margin: 0 auto -170px; width: 62%; }
  .chip-f { font-size: 13px; padding: 8px 12px; }
  .track img { height: 52vh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  @view-transition { navigation: none; }
  .hero, .reveal, .city { height: auto; }
  .hero .stage { height: 70vh; }
  .hero .panel { clip-path: none; }
  .reveal .stage { position: relative; height: auto; padding: 100px 0; }
  .reveal img { transform: none; }
  .city .stage { position: relative; height: auto; padding: 100px 0; }
  .track { overflow-x: auto; padding-bottom: 20px; }
  .rv { opacity: 1; transform: none; }
  .viz { opacity: 1 !important; transform: none !important; }
  .dl { --e: 1 !important; } .chip-f { animation: none; }
}
.split .phone-art { aspect-ratio: 4 / 5; background: var(--violet-soft); overflow: hidden; align-items: start; padding-top: 12%; }
.split .phone-art .phone { width: 58%; }
.phero .split .art.photo { background: var(--line); }

/* payment methods */
.split .sub { color: var(--muted); font-size: 18px; margin-top: 16px; max-width: 520px; }
.pays { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.pay { background: var(--surface); border-radius: 18px; padding: 20px; display: grid; gap: 4px; align-content: start; }
.pay .art { width: 56px; height: 56px; object-fit: contain; margin: -4px 0 8px -4px; }
.pay b { font-family: var(--font-display); font-size: 17px; }
.pay span { color: var(--muted); font-size: 15px; line-height: 1.45; }
.fine { color: var(--muted); font-size: 15px; margin-top: 18px; }
@media (max-width: 420px) { .pays { grid-template-columns: 1fr; } }

/* interactive safety strip: the active card widens and plays its animation */
.safe { display: flex; gap: 14px; height: 400px; }
.sf { all: unset; box-sizing: border-box; position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; border-radius: 24px; background: var(--surface); cursor: pointer; overflow: hidden; transition: flex .7s var(--ease), background .4s, color .4s; }
.sf:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.sf.on { flex: 2.4; background: var(--violet-ink); color: #fff; }
.sf .n { font: 700 14px/1 var(--font-display); color: var(--violet); position: absolute; top: 26px; left: 26px; }
.sf.on .n { color: #B9A6FF; }
.sf h3 { font-size: 22px; letter-spacing: -0.02em; }
.sf p { color: var(--muted); font-size: 16px; margin-top: 8px; max-width: 340px; }
.sf.on p { color: rgba(255,255,255,.75); }
.sf .bar { position: absolute; left: 26px; right: 26px; bottom: 14px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.15); overflow: hidden; opacity: 0; }
.sf.on .bar { opacity: 1; }
.sf .bar::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.sf.on .bar::after { animation: sfbar var(--dwell, 5s) linear forwards; }
.safe.hold .sf.on .bar::after { animation-play-state: paused; }
@keyframes sfbar { to { transform: scaleX(1); } }
.viz { position: absolute; top: 64px; left: 26px; right: 26px; height: 150px; display: flex; align-items: center; opacity: 0; transform: translateY(12px); transition: opacity .5s .15s, transform .5s .15s var(--ease); }
.sf.on .viz { opacity: 1; transform: none; }
/* docs ticking off */
.v-docs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; width: 100%; max-width: 280px; }
.v-docs li { display: flex; align-items: center; gap: 12px; padding: 9px 14px; border-radius: 12px; background: rgba(255,255,255,.08); font: 600 14px/1 var(--font-display); }
.v-docs li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); background: center/12px no-repeat; }
.sf.on .v-docs li::before { animation: tick .35s var(--ease) forwards; }
.sf.on .v-docs li:nth-child(1)::before { animation-delay: .5s; } .sf.on .v-docs li:nth-child(2)::before { animation-delay: 1.1s; }
.sf.on .v-docs li:nth-child(3)::before { animation-delay: 1.7s; } .sf.on .v-docs li:nth-child(4)::before { animation-delay: 2.3s; }
@keyframes tick { to { box-shadow: none; background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B2EFF' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); } }
/* PIN typing in */
.v-pin { gap: 12px; }
.v-pin span { width: 54px; height: 64px; border-radius: 14px; background: rgba(255,255,255,.08); display: grid; place-items: center; font: 700 28px/1 var(--font-display); color: transparent; box-shadow: inset 0 0 0 2px rgba(255,255,255,.18); }
.sf.on .v-pin span { animation: digit .3s var(--ease) forwards; }
.sf.on .v-pin span:nth-child(1) { animation-delay: .5s; } .sf.on .v-pin span:nth-child(2) { animation-delay: .9s; }
.sf.on .v-pin span:nth-child(3) { animation-delay: 1.3s; } .sf.on .v-pin span:nth-child(4) { animation-delay: 1.7s; }
@keyframes digit { from { transform: scale(.85); } to { color: #fff; box-shadow: inset 0 0 0 2px #fff; transform: none; } }
/* SOS pulse */
.v-sos { justify-content: flex-start; padding-left: 40px; }
.v-sos .vart { position: relative; width: 64px; height: 64px; object-fit: contain; }
.v-sos b { position: absolute; left: 40px; top: 50%; width: 64px; height: 64px; margin-top: -32px; border-radius: 50%; background: var(--pink); opacity: 0; }
.sf.on .v-sos b { animation: ring 2s ease-out infinite; }
.sf.on .v-sos b + b { animation-delay: 1s; }
@keyframes ring { from { opacity: .45; transform: scale(.6); } to { opacity: 0; transform: scale(2.6); } }
/* route drawing */
.v-route svg { width: 100%; max-width: 320px; }
.v-route .road { stroke: rgba(255,255,255,.18); stroke-width: 6; stroke-linecap: round; }
.v-route .go { stroke: #fff; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; }
.sf.on .v-route .go { animation: draw 2.4s .4s var(--ease) forwards; }
.v-route circle { fill: #B9A6FF; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (max-width: 980px) {
  .safe { flex-direction: column; height: auto; }
  .sf { flex: none; min-height: 150px; transition: min-height .6s var(--ease), background .4s, color .4s; }
  .sf.on { flex: none; min-height: 380px; }
  .sf { justify-content: flex-start; }
  .sf .n { position: static; display: block; margin-bottom: 14px; }
  .sf.on .viz { position: relative; top: auto; left: auto; right: auto; margin-bottom: 18px; }
  .sf:not(.on) .viz { display: none; }
}

/* bullets and pay cards come in one at a time as they scroll into view (Apple-style) */
.js .ticks li, .js .pay { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .ticks li::before { transform: scale(0); transition: transform .5s .15s cubic-bezier(.3,1.6,.5,1); }
.js .ticks li.in, .js .pay.in { opacity: 1; transform: none; }
.js .ticks li.in::before { transform: scale(1); }
@media (prefers-reduced-motion: reduce) { .js .ticks li, .js .pay, .js .ticks li::before { opacity: 1; transform: none; } }

/* safety page extras */
.v-helmet .vart { width: 120px; height: 120px; object-fit: contain; }
.sf.on .v-helmet .vart { animation: pop .7s .3s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes pop { from { transform: translateY(-40px) scale(.7); opacity: 0; } }
.v-call { justify-content: flex-start; padding-left: 30px; gap: 26px; }
.v-call .vart { position: relative; width: 48px; height: 48px; object-fit: contain; }
.v-call b { position: absolute; left: 30px; top: 50%; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; background: #B9A6FF; opacity: 0; }
.sf.on .v-call b { animation: ring 2s ease-out infinite; } .sf.on .v-call b + b { animation-delay: 1s; }
.v-call .mask { font: 600 18px/1 var(--font-display); letter-spacing: .04em; opacity: .85; }
.v-chat { flex-direction: column; align-items: flex-start; gap: 10px; }
.v-chat span { padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: rgba(255,255,255,.12); font: 600 14px/1.2 var(--font-display); opacity: 0; transform: translateY(10px); }
.v-chat .me { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: #fff; color: var(--violet-ink); }
.sf.on .v-chat span { animation: msg .4s var(--ease) forwards; } .sf.on .v-chat .me { animation-delay: .5s; } .sf.on .v-chat span:last-child { animation-delay: 1.4s; }
@keyframes msg { to { opacity: 1; transform: none; } }
.v-receipt { flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; padding: 18px; max-width: 220px; border-radius: 14px; background: rgba(255,255,255,.08); }
.v-receipt i { height: 8px; border-radius: 4px; background: rgba(255,255,255,.7); width: 0; }
.sf.on .v-receipt i { animation: line .5s var(--ease) forwards; }
.sf.on .v-receipt i:nth-child(1) { --w: 60%; animation-delay: .4s; } .sf.on .v-receipt i:nth-child(2) { --w: 90%; animation-delay: .7s; }
.sf.on .v-receipt i:nth-child(3) { --w: 75%; animation-delay: 1s; } .sf.on .v-receipt i:nth-child(4) { --w: 40%; animation-delay: 1.3s; }
@keyframes line { to { width: var(--w); } }

/* Accra map: real "Popular in Accra" places from the app, placed by lat/lng */
.map-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.map { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-card); overflow: hidden; background: radial-gradient(circle at 30% 20%, #2B1A7A, var(--violet-ink) 70%); background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px), radial-gradient(circle at 30% 20%, #2B1A7A, var(--violet-ink) 70%); background-size: 40px 40px, 40px 40px, auto; }
.map::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16%; background: linear-gradient(180deg, transparent, rgba(91,46,255,.55)); }
.map .sea { position: absolute; bottom: 4%; left: 50%; transform: translateX(-50%); z-index: 1; color: rgba(255,255,255,.55); font: 600 12px/1 var(--font-display); letter-spacing: .2em; text-transform: uppercase; }
.pin { all: unset; position: absolute; left: var(--x); top: var(--y); z-index: 2; cursor: pointer; transform: translate(-50%, -50%); }
.pin i { display: block; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.18); transition: transform .3s var(--ease), background .3s; }
.js .map-wrap .pin i { transform: scale(0); }
.map-wrap.in .pin i { transform: scale(1); transition-delay: calc(var(--i) * 90ms + .3s); }
.pin span { position: absolute; left: 50%; bottom: 22px; transform: translate(-50%, 6px); white-space: nowrap; padding: 7px 12px; border-radius: 999px; background: #fff; color: var(--ink); font: 600 13px/1 var(--font-display); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
.pin:hover span, .pin:focus-visible span, .pin.on span { opacity: 1; transform: translate(-50%, 0); }
.map-wrap .pin.on i { background: var(--pink); transform: scale(1.4); box-shadow: 0 0 0 8px rgba(255,79,168,.25); transition-delay: 0s; }
.places { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.places li { padding: 12px 14px; border-radius: 14px; cursor: pointer; transition: background .2s; }
.places li:hover, .places li.on { background: var(--violet-soft); }
.places b { display: block; font: 600 15px/1.3 var(--font-display); }
.places span { color: var(--muted); font-size: 13px; }
.sos-band { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; border-radius: 22px; background: var(--violet-ink); color: #fff; margin-bottom: 28px; }
.sos-band b { display: block; font: 700 20px/1.2 var(--font-display); }
.sos-band span { opacity: .75; }
.help-faq { max-width: 860px; }
@media (max-width: 980px) { .map-wrap { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .places { grid-template-columns: 1fr; } .sos-band { flex-direction: column; align-items: flex-start; } }

/* sub-pages: photo hero panel + sticky steps */
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; max-width: none; transform: scale(calc(1.06 - var(--so, 0) * .06)); }
.sub .hero { height: 240vh; }
.steps { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.steps-art { position: relative; height: 100%; }
.steps-pin { position: sticky; top: calc(var(--hdr) + 40px); height: calc(100vh - var(--hdr) - 80px); display: grid; place-items: center; background: var(--violet-soft); border-radius: var(--r-card); overflow: hidden; }
.steps-pin .phone { width: min(300px, 70%); }
.steps h2 { font-size: clamp(36px, 4.6vw, 60px); margin-top: 14px; }
.st-list { list-style: none; padding: 0; margin: 40px 0 0; }
.st { padding: 28px 0 28px 24px; min-height: 34vh; border-left: 3px solid var(--line); opacity: .35; transition: opacity .5s var(--ease), border-color .5s; }
.st.on { opacity: 1; border-color: var(--violet); }
.st .sn { font: 700 14px/1 var(--font-display); color: var(--violet); }
.st h3 { font-size: clamp(24px, 2.4vw, 32px); margin-top: 12px; }
.st p { color: var(--muted); font-size: 18px; margin-top: 8px; max-width: 460px; }
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .steps-pin { position: relative; top: 0; height: 520px; }
  .st { min-height: 0; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .st { opacity: 1; } .hero img.bg { transform: none; } }

.sf .ico { position: absolute; top: 14px; right: 14px; width: 64px; height: 64px; object-fit: contain; transition: transform .4s var(--ease); }

.sf:not(.on):hover { background: var(--violet-soft); }
.sf:not(.on):hover .ico { transform: scale(1.12); }
.sub .hero + .sec { padding-top: clamp(64px, 8vw, 120px) !important; }
.steps-pin.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

/* legal pages */
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 48px 0 14px; }
.legal h3 { font-size: 20px; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--ink); font-size: 17px; line-height: 1.7; }
.legal ul, .legal ol { padding-left: 22px; margin: 10px 0; }
.legal li { margin: 6px 0; }
.legal a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.legal table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.legal th { font-family: var(--font-display); background: var(--violet-soft); }
.legal .draft { padding: 14px 18px; border-radius: 14px; background: var(--violet-soft); font-size: 15px; margin-bottom: 8px; }
mark.todo { background: #FFE3F1; color: #8A1452; padding: 1px 5px; border-radius: 6px; }
@media (max-width: 620px) { .legal table { display: block; overflow-x: auto; } }

/* ---------- v2, 28 Nov (owner: "like Bolt", no generated pictures, 3D art or video): the app itself is the picture ---------- */
.shots-sec { padding-bottom: clamp(60px, 8vw, 110px); }
.shots { display: flex; justify-content: center; align-items: flex-start; gap: clamp(14px, 4vw, 56px); height: clamp(380px, 56vw, 720px); padding: clamp(32px, 6vw, 84px) 20px 0; border-radius: clamp(24px, 3vw, 40px); background: var(--violet-soft); overflow: hidden; }
.shots .phone { flex: none; width: clamp(170px, 23vw, 310px); }
.shots .phone:nth-child(odd) { margin-top: clamp(36px, 7vw, 110px); }
.shots .phone:only-child, .shots .phone:nth-child(2):last-child { margin-top: 0; }
.beats2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 90px); margin-top: clamp(40px, 6vw, 80px); }
.beats2 h2 { font-size: clamp(30px, 3.8vw, 52px); }
.beats2 p { color: var(--muted); font-size: 19px; margin-top: 16px; max-width: 480px; }
.shots-sec.bare .beats2 { margin-top: 0; padding-top: clamp(36px, 5vw, 60px); border-top: 1px solid var(--line); }

/* service cards without a photo: colour, type and (for the app) a real screen */
.pc.flat { display: flex; flex-direction: column; }
.pc.flat::before { display: none; }
.pc.flat h3 { text-shadow: none; }
.pc.flat .phone { width: 64%; margin: auto auto -24%; transition: transform .8s var(--ease); }
.pc.flat:hover .phone { transform: translateY(-10px); }
.pc.c-violet { background: var(--violet); }
.pc.c-ink { background: var(--violet-ink); }
.pc.c-pink { background: var(--pink); color: var(--ink); }
.pc.c-tint { background: var(--violet-soft); color: var(--ink); }
.pc.c-pink .chip, .pc.c-tint .chip { background: var(--ink); color: #fff; }
.pc p.pc-big { margin: auto 0 0; padding: 26px; font: 700 clamp(44px, 4.4vw, 58px)/.98 var(--font-display); letter-spacing: -.04em; opacity: 1; }
.pc.flat .phone.case::before { background: linear-gradient(160deg, #2A1380, #0E0630); }

/* a plain statement where the generated rider picture was */
.say { background: #0B0618; color: #fff; padding: clamp(110px, 16vw, 220px) 0; }
.say h2 { font-size: clamp(44px, 7.4vw, 108px); margin-top: 16px; }
.say .lead { font-size: 20px; margin: 22px auto 0; opacity: .85; max-width: 520px; }

/* text rows (no picture yet): heading left, points right */
.split.top { align-items: start; }
.split.top .ticks { margin-top: 0; }
.steps.solo { grid-template-columns: .8fr 1.2fr; }
.steps.solo .st-list { margin-top: 0; }
.pay { padding: 22px; }
.sf h3 { padding-right: 0; }

@media (max-width: 760px) {
  .shots { height: 118vw; gap: 12px; padding-top: 28px; }
  .shots .phone { width: 52vw; }
  .beats2, .steps.solo { grid-template-columns: 1fr; }
}

/* safety cards: a strong word instead of a drawn shape (owner 28 Nov: 'too basic'); real app crops replace these once captured */
.v-word { font: 700 clamp(44px, 5vw, 72px)/1 var(--font-display); letter-spacing: -.04em; color: #fff; }

/* useful pages (contact, delete account, partners, about, rules): type-led, built from WEB-NEW-PAGES.md */
.useful { max-width: 820px; }
.useful p, .useful li { font-size: 18px; }
.more { margin-top: 28px; font: 600 16px/1.6 var(--font-display); }
.more a { color: var(--violet); }
@media (min-width: 981px) { .ftr .top { grid-template-columns: 1.3fr repeat(4, 1fr); } }

/* try a ride: preset drop-offs swap in the real captured Ride info screen (no live map, nothing loaded from elsewhere) */
.try-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.try h2 { font-size: clamp(44px, 6.4vw, 96px); margin-top: 14px; }
.try .sub { color: var(--muted); font-size: 19px; margin-top: 18px; max-width: 460px; }
.try-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.try-b { min-height: 52px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 600 17px/1 var(--font-display); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.try-b:hover { border-color: var(--violet); }
.try-b.on { background: var(--violet); border-color: var(--violet); color: #fff; }
.try-b:focus-visible, .try-go:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.try .fine { margin-top: 26px; color: var(--muted); font-size: 14px; max-width: 460px; }
.try-phone { display: grid; place-items: center; padding: clamp(28px, 5vw, 60px) 0; border-radius: clamp(24px, 3vw, 40px); background: var(--violet-soft); }
.try-phone .phone { width: min(340px, 72vw); }
.try-phone .scr { transition: opacity .22s ease-out; }
.try-phone .scr.out { opacity: 0; }
.try-go { position: absolute; left: 38%; right: 7%; bottom: 6.5%; height: 7%; border-radius: 999px; }
/* get the app: floating cut-outs of real app screens */
.piece { position: absolute; z-index: 2; width: clamp(200px, 24vw, 330px); height: auto; border-radius: 18px; background: #fff; box-shadow: 0 18px 50px rgba(20,8,60,.28); animation: bob 6s ease-in-out infinite; }
.piece.p1 { top: 10%; left: -14%; }
.piece.p2 { top: 46%; right: -10%; animation-delay: -2s; }
.piece.p3 { top: 74%; left: -8%; animation-delay: -4s; }
@keyframes bob { 50% { translate: 0 -10px; } }
.piece { transform: translateZ(80px); max-width: none; } /* the phone is tilted in 3D: lift the pieces in front of it */
@media (prefers-reduced-motion: reduce) { .piece { animation: none; } .try-phone .scr { transition: none; } }
@media (max-width: 980px) { .try-grid { grid-template-columns: 1fr; } .piece { width: 46vw; } .piece.p1 { left: 0; } .piece.p2 { right: 0; } .piece.p3 { left: 4%; } }

/* safety cards: crops of the real app (the safety sheet's alert button, the shared-trip map) */
.v-shot img { width: 100%; max-width: 420px; height: auto; max-height: 150px; object-fit: cover; border-radius: 16px; display: block; }

/* useful pages on a phone: a table becomes stacked rows, so the third column is not cut off */
@media (max-width: 640px) {
  .useful table, .useful tbody, .useful tr, .useful td { display: block; width: 100%; }
  .useful thead { display: none; }
  .useful tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .useful td { border: 0; padding: 2px 0; }
  .useful td:first-child { font: 700 17px/1.4 var(--font-display); }
}
