/* Uzify landing pages. Tokens come from the Uzify design system (light theme for pages, dark for phone screens).
   No inline styles anywhere: the Content-Security-Policy allows stylesheets from this site only. */
:root {
  --navy: #0A2240; --night: #0B1C34; --lime: #C8FF00; --on-lime: #0A2240; --lime-tint: #EFFFB8;
  --surface: #FFFFFF; --surface-alt: #F5F5F7; --ink: #0A2240; --ink-muted: #5B6577; --line: #E3E6EC;
  --control: #7A8497; --danger: #C8281C; --success: #0F7A43;
  --d-alt: #13284A; --d-raised: #172E52; --d-muted: #A9B4C7; --d-line: #24395C; --d-control: #6B80A6; --d-success: #3DDC84;
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 32px; --pill: 999px;
  --shadow-card: 0 1px 2px rgba(10,34,64,0.06), 0 8px 24px rgba(10,34,64,0.08);
  --spring: cubic-bezier(0.34,1.3,0.64,1); --ease: cubic-bezier(0.45,0.05,0.25,1);
  --font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--surface); -webkit-font-smoothing: antialiased; font-size: 17px; line-height: 1.55; }
img, svg { display: block; }
[hidden] { display: none !important; }
a { color: var(--ink); }
h1, h2, h3, p, figure, blockquote, ul, ol { margin: 0; }
button, input, select { font: inherit; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.dark :focus-visible { outline-color: var(--lime); }
.skip { position: absolute; left: 12px; top: -60px; padding: 12px 16px; background: var(--lime); color: var(--on-lime); border-radius: var(--r-sm); font-weight: 600; z-index: 10; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* layout */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.sec { padding: clamp(72px, 10vw, 136px) 0; }
.sec--top0 { padding-bottom: 0; }
.sec--bottom-only { padding-top: 0; }
.sec--alt { background: var(--surface-alt); }
.dark { background: var(--night); color: #FFFFFF; }
.stack { display: flex; flex-direction: column; }
.g8 { gap: 8px; } .g14 { gap: 14px; } .g16 { gap: 16px; } .g22 { gap: 22px; } .g24 { gap: 24px; } .g56 { gap: 56px; }
.intro { display: flex; flex-direction: column; gap: 16px; max-width: 680px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.row > .grow { flex: 1 1 460px; min-width: 0; }
.row > .fixed { flex: 0 0 auto; margin: 0 auto; }
.row--rev { flex-wrap: wrap-reverse; }

/* type */
.eyebrow { font-size: 15px; font-weight: 600; color: var(--ink-muted); letter-spacing: 0.01em; }
.dark .eyebrow { color: var(--lime); }
.h1 { font-size: clamp(48px, 7vw, 84px); line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; }
.h2 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; }
.h3 { font-size: 24px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.h4 { font-size: 21px; line-height: 1.3; font-weight: 600; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--ink-muted); max-width: 500px; }
.sub { font-size: 19px; line-height: 1.5; color: var(--ink-muted); }
.muted { color: var(--ink-muted); }
.dark .lead, .dark .sub, .dark .muted { color: var(--d-muted); }
.small { font-size: 13px; line-height: 1.5; }
.step-label { font-size: 14px; font-weight: 600; color: var(--ink-muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: var(--pill); border: 0;
  font-size: 17px; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .25s var(--spring), filter .2s ease; }
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--lime); color: var(--on-lime); }
.btn--ghost { background: transparent; color: #FFFFFF; border: 1px solid var(--d-control); padding: 0 24px; }
.btn--line { background: var(--surface); color: var(--ink); border: 1px solid var(--control); padding: 0 22px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 600; color: var(--d-muted); }
.chips span { padding: 6px 12px; border-radius: var(--pill); border: 1px solid var(--d-line); }

/* header */
.promo { display: block; background: var(--d-alt); color: #FFFFFF; text-decoration: none; text-align: center; padding: 12px 16px; font-size: 15px; font-weight: 600; }
.promo em { font-style: normal; color: var(--lime); text-decoration: underline; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 22px 0; }
.top img { height: 32px; width: auto; }
.nav { display: flex; gap: 28px; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
.nav a { color: var(--d-muted); text-decoration: none; padding: 10px 0; }
.nav a:hover { color: #FFFFFF; }
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 112px); }
.hero .grow { display: flex; flex-direction: column; gap: 24px; }

/* steps and features */
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px 32px; }
.step { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.step > div { display: flex; flex-direction: column; gap: 8px; max-width: 320px; width: 100%; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px 48px; }
.ficon { width: 48px; height: 48px; border-radius: var(--pill); background: var(--lime-tint); display: flex; align-items: center; justify-content: center; }
.counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.counts b { display: block; font-size: 64px; line-height: 1; font-weight: 700; letter-spacing: -0.04em; }

/* drive */
.ticks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { flex: 0 0 auto; margin-top: 2px; }
.offer { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-lg); background: var(--d-alt); border: 1px solid var(--d-line); }
.offer .eyebrow { font-size: 14px; }
.offer strong { font-size: 24px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }

/* cities */
.cities { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px 32px; }
.city { display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: var(--ink); }
.city .ph { aspect-ratio: 4 / 3; border-radius: var(--r-lg); background: var(--surface-alt); display: flex; align-items: flex-end; padding: 16px; font-size: 13px; color: var(--ink-muted);
  transition: transform .35s var(--spring); }
.city:hover .ph { transform: scale(1.015); }
.city .name { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.badge { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: var(--pill); background: var(--lime-tint); color: var(--ink); }

/* founder */
.founder-photo { width: 200px; height: 200px; border-radius: var(--pill); background: var(--surface-alt); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--ink-muted); }
.founder figure { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.founder blockquote { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; font-weight: 600; letter-spacing: -0.015em; }
.founder figcaption { font-size: 15px; color: var(--ink-muted); }

/* FAQ */
.faq { display: flex; flex-wrap: wrap; gap: 48px; }
.faq > div:first-child { flex: 1 1 300px; min-width: 0; }
.faq > div:last-child { flex: 2 1 520px; min-width: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 19px; font-weight: 600; line-height: 1.35; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: 0 0 auto; transition: transform .25s var(--spring); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq p { margin: 0 0 22px; max-width: 680px; line-height: 1.6; color: var(--ink-muted); }

/* compare */
.scroll-x { overflow-x: auto; }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; line-height: 1.45; }
.compare th, .compare td { text-align: left; padding: 18px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.compare thead th { border-top: 0; padding-top: 0; font-size: 15px; }
.compare thead th:last-child { color: var(--ink-muted); font-weight: 600; }
.compare th[scope=row] { padding-left: 0; font-weight: 600; width: 34%; }
.compare td:last-child { color: var(--ink-muted); padding-right: 0; }
.compare .us { background: var(--lime-tint); }
.compare thead .us { border-radius: var(--r-md) var(--r-md) 0 0; font-weight: 700; }
.compare tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child .us { border-radius: 0 0 var(--r-md) var(--r-md); }

/* fare example */
.fare { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.fare > div:first-child { flex: 1 1 340px; min-width: 0; }
.card { background: var(--surface); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-card); }
.fare .card { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { min-height: 44px; padding: 0 16px; border-radius: var(--pill); border: 1px solid var(--control); background: var(--surface); color: var(--ink); font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.seg button[aria-pressed=true] { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.big { font-size: 52px; line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; }
.lines > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 16px; }
.lines span:first-child { color: var(--ink-muted); }
.lines span:last-child { font-weight: 600; white-space: nowrap; }

/* waitlist form */
.wl { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.wl > div { flex: 1 1 360px; min-width: 0; }
.wl > .card { flex: 1 1 420px; min-width: 0; }
.form { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 500; min-width: 0; }
.field .opt { font-weight: 400; color: var(--ink-muted); }
.input { height: 50px; padding: 0 16px; border-radius: var(--r-sm); border: 1px solid var(--control); font-size: 17px; font-weight: 400; color: var(--ink); background: var(--surface); min-width: 0; width: 100%; transition: border-color .15s ease; }
select.input { padding: 0 12px; }
.input:focus { border-color: var(--navy); }
.input[aria-invalid=true] { border-color: var(--danger); }
.err { font-size: 14px; font-weight: 500; color: var(--danger); }
.err:empty { display: none; }
.roles { margin: 0; padding: 0; border: 0; }
.roles legend { padding: 0 0 8px; font-size: 15px; font-weight: 500; }
.roles .track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: var(--pill); background: var(--surface-alt); }
.roles label { position: relative; display: flex; align-items: center; justify-content: center; height: 44px; border-radius: var(--pill); font-size: 15px; font-weight: 600; color: var(--ink-muted); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.roles input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.roles label:has(input:checked) { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(10,34,64,0.12); }
.roles label:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex: 0 0 auto; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status { font-size: 15px; font-weight: 500; }
.status:empty { display: none; }
.status--err { color: var(--danger); }
.done { display: flex; flex-direction: column; gap: 18px; }
.done[hidden] { display: none; }
.pop { width: 48px; height: 48px; border-radius: var(--pill); background: var(--navy); display: flex; align-items: center; justify-content: center; animation: pop .6s var(--spring) both; }
.pop path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: tick .35s ease-out .3s forwards; }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes tick { to { stroke-dashoffset: 0; } }

/* single-message pages (confirm, leave, 404, legal) */
.page { min-height: 70vh; padding: clamp(48px, 8vw, 112px) 0; }
.page .card { max-width: 560px; display: flex; flex-direction: column; gap: 18px; }
.page-top { background: var(--night); }
.legal { max-width: 720px; display: flex; flex-direction: column; gap: 18px; }
.legal h2 { font-size: 24px; line-height: 1.25; margin-top: 16px; }
.legal ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.todo { background: var(--lime-tint); padding: 2px 6px; border-radius: 4px; }

/* footer */
.foot { padding: 48px 0 56px; }
.foot .wrap:first-child { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.foot img { height: 28px; width: auto; }
.foot nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; }
.foot nav a, .foot p { color: var(--ink-muted); font-size: 14px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.foot .legal-lines { padding-top: 24px; display: flex; flex-direction: column; gap: 6px; }
.foot .legal-lines p { font-size: 13px; line-height: 1.5; }

/* phone mock (dark app theme, matches the rider and driver app designs) */
.phone { width: 320px; height: 660px; border: 10px solid #121A26; border-radius: 48px; background: var(--night); color: #FFFFFF; overflow: hidden; position: relative;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.14), 0 24px 60px rgba(10,34,64,0.28); }
.phone .notch { position: absolute; top: 10px; left: 50%; margin-left: -48px; width: 96px; height: 26px; border-radius: 13px; background: #121A26; z-index: 3; }
.phone .map { position: absolute; top: 0; left: 0; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; background: var(--d-alt); border-radius: 28px 28px 0 0; padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 14px; }
.sheet p { margin: 0; }
.p-muted { color: var(--d-muted); }
.p-13 { font-size: 13px; line-height: 1.4; } .p-14 { font-size: 14px; } .p-15 { font-size: 15px; } .p-16 { font-size: 16px; font-weight: 600; } .p-20 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.p-26 { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.p-28 { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.p-44 { font-size: 44px; line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; }
.p-btn { display: flex; align-items: center; justify-content: center; height: 50px; border-radius: var(--pill); background: var(--lime); color: var(--on-lime); font-size: 16px; font-weight: 600; }
.p-btn--line { height: 46px; border: 1px solid var(--d-control); background: transparent; color: #FFFFFF; font-size: 15px; }
.p-link { text-align: center; font-size: 15px; font-weight: 600; padding: 2px 0; }
.p-who { display: flex; align-items: center; gap: 12px; }
.p-who > div { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.avatar { width: 44px; height: 44px; border-radius: var(--pill); background: var(--d-line); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; flex: 0 0 auto; }
.plate { font-size: 13px; font-weight: 600; padding: 5px 8px; border-radius: var(--r-sm); border: 1px solid var(--d-control); letter-spacing: 0.04em; }
.why { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-md); background: var(--d-raised); }
.why > div { display: flex; flex-direction: column; gap: 1px; }
.locked { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--d-line); }
.locked span:first-child { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--d-muted); }
.locked span:last-child { font-size: 17px; font-weight: 600; }
.counter-amt { padding: 10px 0 12px; border-bottom: 2px solid #FFFFFF; }
.screen { position: absolute; inset: 0; padding: 56px 20px 20px; display: flex; flex-direction: column; gap: 16px; background: var(--night); }
.search { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border-radius: var(--r-md); background: var(--d-raised); font-size: 16px; color: var(--d-muted); }
.places > div { display: flex; align-items: center; gap: 14px; }
.places .ic { width: 36px; height: 36px; border-radius: var(--pill); background: var(--d-raised); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.places .tx { flex: 1 1 auto; padding: 14px 0; border-bottom: 1px solid var(--d-line); display: flex; flex-direction: column; gap: 2px; }
.places > div:last-child .tx { border-bottom: 0; }
.mini-map { margin-top: auto; height: 150px; border-radius: var(--r-lg); background: #0E2140; position: relative; overflow: hidden; }
.mini-map .rh { position: absolute; left: -10px; right: -10px; top: 56px; height: 10px; background: #1B3A66; }
.mini-map .rv { position: absolute; top: -10px; bottom: -10px; left: 120px; width: 10px; background: #1B3A66; }
.mini-map .dot { position: absolute; left: 112px; top: 48px; width: 26px; height: 26px; border-radius: var(--pill); background: var(--lime); border: 3px solid var(--night); }
.bar { height: 6px; border-radius: var(--pill); background: var(--d-line); overflow: hidden; }
.bar i { display: block; height: 6px; background: #FFFFFF; border-radius: var(--pill); }
.docs > div { display: flex; align-items: center; gap: 12px; }
.docs .tx { flex: 1 1 auto; padding: 12px 0; border-bottom: 1px solid var(--d-line); display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.docs .tx span:first-child { font-weight: 500; }
.docs .tx span:last-child { font-size: 13px; color: var(--d-muted); white-space: nowrap; padding-left: 8px; }
.tick-on { width: 22px; height: 22px; border-radius: var(--pill); background: var(--d-success); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.tick-off { width: 22px; height: 22px; border-radius: var(--pill); border: 2px solid var(--d-control); flex: 0 0 auto; }
.mt-auto { margin-top: auto; }

/* the car on the trip screen drives the route, like the rider app */
.car { offset-path: path("M70 300 V 250 C 110 246, 150 258, 205 248 L 190 120"); offset-rotate: auto; animation: drive 9s var(--ease) infinite; }
@keyframes drive { 0% { offset-distance: 0%; } 80%, 100% { offset-distance: 100%; } }

/* gentle entrance as sections scroll in (only when JS is on and motion is allowed) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s var(--spring); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .seg button, .faq summary svg, .city .ph, .input, .roles label { transition: none; }
  .car { animation: none; offset-distance: 55%; }
  .pop, .pop path { animation: none; stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 420px) {
  .phone { transform: scale(0.92); transform-origin: top center; margin-bottom: -52px; }
}
