/* TRAVLA home page — phase 3 image-led design
   (design-handoff/travla-intercity/web/phase3-image-led).
   Components (buttons, chips, fields, cards, pills, toast) come from travla-web-v2.css;
   this file is the page layout and the image-led pieces. Mobile first in spirit, with one
   breakpoint at 900px: below it the 390 artboards' stacked layouts, above it the 1440 grids.
   Text on the page is the site's existing copy (kept as-is on purpose). */

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; }
.ico { width: 20px; height: 20px; flex-shrink: 0; display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico-sm { width: 16px; height: 16px; }
.ico-lg { width: 24px; height: 24px; }

.wrap { max-width: 1248px; margin: 0 auto; padding: 0 24px; }
.sec { padding: 96px 0; }
.sec-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-bottom: 48px; }
.sec-head.center { margin-inline: auto; text-align: center; align-items: center; }
.sec-head p { margin: 0; color: var(--ink-3); font: 500 17px/1.5 var(--font-body); }
.h2x { font: 700 44px/1.08 var(--font-display); letter-spacing: -.02em; color: var(--ink); margin: 0; }
.cap-title { font: 600 17px/1.3 var(--font-body); color: var(--ink); }
.cap-text { margin: 0; color: var(--ink-3); font: 500 15px/1.55 var(--font-body); }
.val { font-variant-numeric: tabular-nums; }

/* Kente: a 10px colour band (under the hero, above the footer); the footer itself carries the faint navy weave. */
.kente-band { display: block; width: 100%; height: 10px; }

/* Photo slots and the scrims that keep text on photos at AA contrast. */
.slot { position: relative; overflow: hidden; background: #EFECE5; }
.slot > img, .slot > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.scrim-b { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,25,60,0) 35%, rgba(0,25,60,.82) 100%); }
.scrim-l { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,22,52,.86) 0%, rgba(0,22,52,.62) 38%, rgba(0,22,52,0) 68%); }
.scrim-hm { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,22,52,.6) 0%, rgba(0,22,52,.3) 25%, rgba(0,22,52,.62) 50%, rgba(0,22,52,.92) 100%); }

/* Phone frame around real app screens. */
.phone { border-radius: 38px; padding: 9px; background: #10272C; box-shadow: 0 30px 60px rgba(0,25,60,.28); }
.phone .scr { border-radius: 30px; overflow: hidden; position: relative; background: #fff; }
.phone .scr > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Tier medallions (Bronze / Silver / Gold). */
.disc { width: 86px; height: 86px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(0,0,0,.55); flex-shrink: 0;
  box-shadow: inset 0 -6px 12px rgba(0,0,0,.2), inset 0 4px 8px rgba(255,255,255,.5), 0 10px 20px rgba(0,25,60,.18); }
.disc .ico { width: 50%; height: 50%; }
.disc-bronze { background: radial-gradient(circle at 32% 28%, #F4C79A 0%, #B8763E 45%, #7A4A20 100%); }
.disc-silver { background: radial-gradient(circle at 32% 28%, #FFFFFF 0%, #C4CCD0 45%, #7E8A90 100%); }
.disc-gold { background: radial-gradient(circle at 32% 28%, #FFF1B8 0%, #F2A93B 45%, #9A6410 100%); }
.disc-name { font: 700 14px/1 var(--font-display); color: var(--ink); }
.discs { display: flex; gap: 14px; justify-content: center; }
.discs > div { display: flex; flex-direction: column; align-items: center; gap: 8px; }

/* ── header (over the hero photo; solid navy once you scroll or open the menu) ── */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .2s, box-shadow .2s; }
.site-header.scrolled, .site-header.menu-open { background: var(--primary-900); box-shadow: 0 6px 24px rgba(0,25,60,.28); }
.nav { height: 84px; display: flex; align-items: center; gap: 40px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; flex-shrink: 0; }
.brand:hover { color: #fff; }
.brand img { width: 38px; height: 38px; display: block; }
.brand .wordmark { color: #fff; }
/* INTERCITY badge after the wordmark: the same white pill + navy text as the
   Intercity phone app's header and splash lockup. */
.brand-tag { display: inline-flex; align-items: center; margin-left: -4px; padding: 4px 7px 3px; border-radius: 5px; background: #fff; color: #003165; font: 800 11px/1 var(--font-display); letter-spacing: .12em; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: #fff; font: 600 15px/1 var(--font-body); opacity: .92; }
.nav-links a:hover { color: #fff; opacity: 1; }
.nav-cta { margin-left: auto; display: flex; gap: 12px; }
.btn-ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav-toggle { display: none; margin-left: auto; color: #fff; }
.nav-toggle:hover { background: rgba(255,255,255,.1); color: #fff; }
.mobile-menu { display: none; border-top: 1px solid rgba(255,255,255,.12); padding: 8px 0 20px; }
.mobile-menu.open { display: block; }
.mobile-menu a.m-link { display: flex; align-items: center; height: 48px; padding: 0 12px; border-radius: 10px; color: #CBE4F3; font: 600 16px/1 var(--font-body); }
.mobile-menu a.m-link:hover { background: rgba(255,255,255,.1); color: #fff; }
.mobile-menu .btn { margin-top: 12px; }

/* ── hero ── */
/* Desktop: the photo covers the whole hero, behind the copy AND the search card.
   Mobile: it covers .hero-top only, and the card overlaps its bottom edge by 64px. */
.hero { position: relative; background: var(--primary-900); min-height: 820px; padding-bottom: 80px; overflow: hidden; }
.hero-top { position: static; }
.hero-photo { position: absolute; inset: 0; display: block; }
/* Desktop photo is the driver shot extended on the left with navy (driver-wide-*), positioned from the
   page centre so his thumbs-up clears the Find-your-trip card at every common width. */
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: calc(50% + 40px) 35%; display: block; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,22,52,.86) 0%, rgba(0,22,52,.62) 38%, rgba(0,22,52,0) 68%), linear-gradient(180deg, rgba(0,22,52,.35) 0%, rgba(0,22,52,0) 18%); }
.hero-inner { position: relative; z-index: 4; padding-top: 140px; }
.hero-copy { max-width: 640px; display: flex; flex-direction: column; gap: 22px; }
.hero-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 15px; background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); color: #fff; font: 600 13px/1 var(--font-body); }
.hero h1 { margin: 0; font: 800 76px/1 var(--font-display); color: #fff; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: var(--gold-500); }
.hero-sub { margin: 0; color: rgba(255,255,255,.9); font: 500 18px/1.5 var(--font-body); max-width: 560px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.chipd { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 14px; border-radius: 18px; background: rgba(255,255,255,.14); color: #fff; font: 600 14px/1.2 var(--font-body); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.chipd b { font: 700 15px/1 var(--font-display); }
.chipd .ico { width: 16px; height: 16px; stroke-width: 2; }
.hero-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.search-wrap { position: relative; z-index: 4; margin-top: 24px; }
.search-card { width: 480px; max-width: 100%; padding: 22px; border-radius: 18px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 24px 60px rgba(0,20,50,.35); color: var(--ink); }
.search-card h3 { margin: 0; font: 700 20px/1.2 var(--font-display); letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.search-card h3 .icon-circle { width: 40px; height: 40px; }
.city-row { display: flex; gap: 10px; align-items: flex-end; }
.city-row > div { flex: 1; min-width: 0; }
.swap-btn { flex-shrink: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--field-border); }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.field select:invalid, .field select option[value=""] { color: #5B6E72; }
.field .chev { color: var(--ink-3); pointer-events: none; }
.field input[type=date] { cursor: pointer; }
.date-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.date-row .field { width: auto; flex: 1; min-width: 170px; height: 40px; }

/* ── trust strip (under the kente band) ── */
.trust-band { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 22px; padding-bottom: 22px; }
.trust-item { display: flex; align-items: center; gap: 12px; font: 600 15px/1.35 var(--font-body); color: var(--ink); }
.trust-item .icon-circle { width: 44px; height: 44px; flex-shrink: 0; }

/* ── features: six visual tiles ── */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.tile { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.tile-vis { height: 380px; border-radius: 24px; background: linear-gradient(160deg, #FFFFFF 0%, #F1ECE2 100%); box-shadow: var(--hairline); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.tile figcaption { text-align: center; display: flex; flex-direction: column; gap: 6px; padding: 0 6px; }
.tile-phone { width: 170px; transform: rotate(-3deg); }
.tile-phone .scr { height: 290px; }
.pass { width: 230px; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 18px 40px rgba(0,25,60,.18); }
.pass-top { background: var(--primary-900); padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; }
.pass-top img { width: 22px; height: 22px; display: block; }
.pass-top span { font: 700 11px/1 var(--font-body); letter-spacing: .12em; color: #BFDDF0; }
.pass-body { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px; }
.pass-body b { font: 700 18px/1 var(--font-display); color: var(--ink); }
.pass-qr { padding: 8px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); line-height: 0; }
.pass-qr img { width: 120px; height: 120px; }
.pass-code { font: 600 15px/1 var(--font-mono); letter-spacing: .04em; color: var(--ink); }
.pay { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; max-width: 300px; }
.pay > span { width: 90px; height: 60px; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: flex; }
.pay > span img { width: 100%; height: 100%; object-fit: contain; }
.pay .pay-mtn { background: #FFCC00; }
.pay .pay-tel img { padding: 8px; }
.pay .pay-at img { padding: 6px; }
.pay .pay-card { background: #10272C; align-items: center; justify-content: center; color: #fff; gap: 6px; font: 700 13px/1 var(--font-body); box-shadow: none; }
.lock { width: 190px; }
.lock .scr { height: 294px; background: #0B2E55; }
.lock .scr > img { position: absolute; inset: 0; object-position: 50% 60%; }
.lock-tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,22,52,.5), rgba(0,22,52,.2)); }
.lock-ui { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: 22px 10px 10px; gap: 4px; color: #fff; }
.lock-ui > span { font: 600 12px/1 var(--font-body); opacity: .9; }
.lock-ui > b { font: 700 52px/1 var(--font-display); }
.lock-note { margin-top: auto; display: flex; gap: 8px; align-items: flex-start; width: 100%; padding: 10px; border-radius: 14px; background: rgba(255,255,255,.92); color: var(--ink); text-align: left; }
.lock-note img { width: 26px; height: 26px; flex-shrink: 0; }
.lock-note .ln-head { display: flex; justify-content: space-between; }
.lock-note .ln-head b { font: 700 11px/1 var(--font-body); }
.lock-note .ln-head span { font: 500 10px/1 var(--font-body); color: var(--ink-3); }
.lock-note .ln-msg { font: 600 12px/1.3 var(--font-body); }
.dswap { display: flex; gap: 14px; align-items: center; justify-content: center; }
.dchip { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 16px; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.dchip span { font: 600 12px/1 var(--font-body); opacity: .85; }
.dchip b { font: 700 22px/1 var(--font-display); }
.dchip.old b { text-decoration: line-through; color: var(--ink-3); }
.dchip.new { background: var(--primary-700, #155E86); color: #fff; box-shadow: 0 10px 24px rgba(29,117,166,.35); }
.dswap-icon { width: 44px; height: 44px; border-radius: 22px; background: var(--gold-50); color: var(--gold-700); display: flex; align-items: center; justify-content: center; }

/* ── how it works: three tilted phones ── */
.how { background: var(--primary-50); }
.how-row { display: flex; gap: 64px; justify-content: center; align-items: flex-start; }
.how-step { margin: 0; display: flex; flex-direction: column; align-items: center; width: 300px; }
.how-phone { position: relative; width: 260px; z-index: 1; }
.how-phone .scr { height: 540px; }
.how-step:nth-child(1) .how-phone { transform: rotate(-4deg); }
.how-step:nth-child(3) .how-phone { transform: rotate(4deg); }
.how-num { position: absolute; left: -14px; top: -14px; z-index: 3; width: 40px; height: 40px; border-radius: 20px; background: var(--gold-500); color: var(--ink); display: flex; align-items: center; justify-content: center; font: 800 18px/1 var(--font-display); box-shadow: 0 6px 14px rgba(0,25,60,.25); }
.how-step figcaption { margin-top: 26px; text-align: center; display: flex; flex-direction: column; gap: 6px; }
.how-step figcaption .cap-title { font-size: 18px; }
.how-cta { display: flex; justify-content: center; margin-top: 48px; }

/* ── why TRAVLA: pickup map, tiers, fleet, and the other three advantages ── */
.why-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: stretch; }
.why-fig { margin: 0; display: flex; flex-direction: column; }
.why-fig .slot { aspect-ratio: 4 / 3; border-radius: 24px; }
.why-fig .slot img { object-fit: cover; }
.why-cap { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.tier-panel { display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: 24px; background: var(--surface); box-shadow: var(--hairline); justify-content: center; }
.tier-panel .disc { width: 72px; height: 72px; }
.tier-offs { display: flex; gap: 12px; flex-wrap: wrap; }
.tier-off { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: var(--sunk); }
.tier-off b { font: 700 15px/1 var(--font-display); color: var(--ink); }
.tier-off .pct { font: 800 26px/1 var(--font-display); color: var(--ink-2); }
.tier-off.gold { background: var(--gold-50); }
.tier-off.gold .pct { color: var(--gold-700); }
.tier-off .t-small { color: var(--ink-3); }
.fleet-block { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.fleet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fleet .slot { aspect-ratio: 16 / 10; border-radius: 18px; }
.fleet-tag { position: absolute; left: 12px; bottom: 12px; z-index: 5; padding: 6px 12px; border-radius: 14px; background: var(--primary-900); color: #fff; font: 700 13px/1 var(--font-body); }
.why-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.why-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 18px; background: var(--surface); box-shadow: var(--hairline); }
.why-card .icon-circle { width: 44px; height: 44px; flex-shrink: 0; }
.why-card b { display: block; margin-bottom: 6px; }

/* ── routes: fare cards (no photos: this block is for booking, not sightseeing) ── */
.routes-sec { background: var(--bg); }
.routes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.route { background: var(--surface); border-radius: 20px; color: var(--ink); display: flex; flex-direction: column; }
.route-cities { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font: 700 20px/1.15 var(--font-display); color: var(--ink); }
.route-cities .ico { color: var(--gold-700); stroke-width: 2.2; flex-shrink: 0; }
.route-duration { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); font: 600 14px/1 var(--font-body); white-space: nowrap; }
.route-duration .ico { width: 16px; height: 16px; stroke-width: 2; }
.route-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* bookable: a ticket-like card with a route line between the two cities */
.route.live { grid-column: span 2; padding: 28px; gap: 18px; box-shadow: 0 0 0 1px rgba(16,39,44,.06), 0 12px 32px rgba(0,49,101,.08); }
.route.live .route-cities { display: grid; grid-template-columns: auto minmax(40px, 1fr) auto; gap: 16px; font-size: 30px; letter-spacing: -.01em; }
.route-line { position: relative; height: 32px; display: flex; align-items: center; justify-content: center; }
.route-line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed var(--primary-100); }
.route-line::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - 4px); height: 8px; background: radial-gradient(circle at 4px 4px, var(--primary-600) 3.5px, transparent 4px) left / 8px 8px no-repeat, radial-gradient(circle at 4px 4px, var(--gold-500) 3.5px, transparent 4px) right / 8px 8px no-repeat; }
.route-line .ico { position: relative; z-index: 1; width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: var(--primary-50); color: var(--primary-700); }
.route.live .route-foot { margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line); }
.route-price { color: var(--ink); font-variant-numeric: tabular-nums; display: inline-flex; align-items: baseline; }
.route-price .from { font: 600 14px/1 var(--font-body); color: var(--ink-3); margin-right: 8px; }
.route-price b { font: 800 28px/1 var(--font-display); color: var(--primary-900); }
.route.live .btn { height: 48px; padding: 0 24px; font-size: 15px; }
.route-price-list { display: flex; flex-direction: column; gap: 6px; min-width: 190px; }
.price-row { display: flex; justify-content: space-between; gap: 16px; font: 500 14px/1.3 var(--font-body); color: var(--ink-3); }
.price-row .vprice { font: 700 16px/1.3 var(--font-display); color: var(--primary-900); font-variant-numeric: tabular-nums; }

/* coming soon: quieter, so the routes you can book today lead */
.route.soon { padding: 20px; gap: 16px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line); }
.route.soon .route-cities { font-size: 18px; color: var(--ink-2); }
.route.soon .route-duration { font-size: 13px; }
.route.soon .coming-soon { background: var(--sunk); color: var(--ink-2); }
.routes-more { display: flex; justify-content: center; margin-top: 32px; }

/* ── loyalty: tier ladder on navy ── */
.loyalty-sec { background: var(--primary-900); color: #fff; }
.loy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; align-items: end; }
.loy-copy { display: flex; flex-direction: column; gap: 16px; }
.loy-copy .h2x { color: #fff; }
.loy-copy p { margin: 0; color: #CBE4F3; font: 500 17px/1.55 var(--font-body); }
.loy-copy .btn { align-self: flex-start; margin-top: 6px; }
.ladder { display: flex; gap: 20px; align-items: flex-end; }
.rung { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; }
.rung-head { display: flex; align-items: center; gap: 14px; }
.rung-head .disc { width: 76px; height: 76px; }
.rung-head b { font: 700 24px/1 var(--font-display); color: #fff; }
.rung-bar { border-radius: 20px 20px 0 0; background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.05)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; }
.rung:nth-child(1) .rung-bar { height: 120px; }
.rung:nth-child(2) .rung-bar { height: 190px; }
.rung:nth-child(3) .rung-bar { height: 260px; }
.rung-bar b { font: 800 64px/1 var(--font-display); color: var(--gold-500); }
.rung-bar span { font: 600 14px/1 var(--font-body); color: #BFDDF0; }

/* ── get the app ── */
.install-sec { background: linear-gradient(140deg, #17608A 0%, #003165 65%); color: #fff; padding: 96px 0; overflow: hidden; }
.install-grid { display: flex; gap: 40px; align-items: center; justify-content: space-between; }
.install-copy { display: flex; flex-direction: column; gap: 18px; max-width: 520px; min-width: 0; flex: 1 1 auto; }
.install-copy .t-eyebrow { color: #BFDDF0; }
.install-copy .h2x { color: #fff; }
.install-copy > p { margin: 0; color: #CBE4F3; font: 500 18px/1.45 var(--font-body); }
.install-feats { display: flex; flex-direction: column; gap: 10px; }
.install-feat { display: flex; align-items: center; gap: 10px; color: #fff; font: 500 15px/1.4 var(--font-body); }
.install-feat .ico { color: #7FD3A8; }
.store-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.store-badges a { line-height: 0; }
.store-badges img { height: 56px; width: auto; }
.install-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.install-phones { display: flex; align-items: flex-end; height: 560px; margin-bottom: -96px; flex-shrink: 0; }
.install-phones .phone { position: relative; }
.ip-1 { width: 270px; transform: rotate(-6deg); margin-right: -80px; margin-bottom: -80px; z-index: 1; }
.ip-2 { width: 300px; z-index: 2; }
.ip-3 { width: 270px; transform: rotate(6deg); margin-left: -80px; margin-bottom: -60px; z-index: 1; }
.ip-1 .scr, .ip-3 .scr { height: 560px; }
.ip-2 .scr { height: 620px; }

/* ── testimonials ── */
.tst-sec { background: var(--surface); }
.tst-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tcard { margin: 0; padding: 28px; border-radius: 22px; display: flex; flex-direction: column; gap: 16px; background: var(--surface); box-shadow: var(--hairline), 0 1px 2px rgba(16,39,44,.04); }
.tcard-author { display: flex; align-items: center; gap: 16px; }
.tcard-avatar { width: 104px; height: 104px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; font: 800 36px/1 var(--font-display); box-shadow: 0 0 0 4px #fff, 0 8px 20px rgba(0,25,60,.15); }
.tcard:nth-child(1) .tcard-avatar { background: #1E6B45; }
.tcard:nth-child(2) .tcard-avatar { background: #17608A; }
.tcard:nth-child(3) .tcard-avatar { background: #3897C6; }
.tcard-name { font: 700 20px/1.1 var(--font-display); color: var(--ink); }
.tcard-route { font: 600 13px/1.4 var(--font-body); color: var(--ink-3); }
.stars { display: flex; gap: 2px; color: var(--gold-500); }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.tcard blockquote { margin: 0; font: 600 18px/1.45 var(--font-display); color: var(--ink); letter-spacing: -.005em; }

/* ── closing CTA over the open road ── */
.cta-sec { position: relative; min-height: 620px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: var(--primary-900); }
.cta-sec > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.cta-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,22,52,.35) 0%, rgba(0,22,52,.78) 100%); }
.cta-inner { position: relative; z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 96px 24px; }
.cta-inner h2 { margin: 0; font: 800 56px/1.06 var(--font-display); color: #fff; letter-spacing: -.02em; max-width: 1080px; }
.cta-inner p { margin: 0; color: rgba(255,255,255,.9); font: 500 18px/1.5 var(--font-body); max-width: 600px; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cta-btns .btn { min-width: 220px; }

/* ── footer ── */
/* Navy kente, as on the Intercity app's splash and Search header: the same 32px weave in white at 7% on navy. */
.site-footer { background-color: var(--primary-900); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.07'%3E%3Crect x='0' y='2' width='16' height='3'/%3E%3Crect x='0' y='7' width='16' height='1.5'/%3E%3Crect x='0' y='11' width='16' height='3'/%3E%3Crect x='18' y='0' width='3' height='16'/%3E%3Crect x='23' y='0' width='1.5' height='16'/%3E%3Crect x='27' y='0' width='3' height='16'/%3E%3Crect x='2' y='16' width='3' height='16'/%3E%3Crect x='7' y='16' width='1.5' height='16'/%3E%3Crect x='11' y='16' width='3' height='16'/%3E%3Crect x='16' y='18' width='16' height='3'/%3E%3Crect x='16' y='23' width='16' height='1.5'/%3E%3Crect x='16' y='27' width='16' height='3'/%3E%3C/g%3E%3C/svg%3E"); background-size: 32px 32px; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 64px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col .t-eyebrow { color: #8FB9D3; }
.footer-col a { color: #CBE4F3; font: 500 15px/1.4 var(--font-body); display: inline-flex; align-items: center; gap: 8px; }
.footer-col a:hover { color: #fff; }
.footer-col a.tel { color: #fff; font: 700 17px/1.2 var(--font-display); }
.footer-col a.tel .ico { color: var(--gold-500); stroke-width: 2; }
.footer-brand { gap: 14px; }
.footer-brand p { margin: 0; color: #CBE4F3; max-width: 320px; font: 500 14px/1.5 var(--font-body); }
.footer-brand .store-badges img { height: 48px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.16); margin-top: 40px; padding: 20px 0 32px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom > span { color: #8FB9D3; font: 500 12px/1.4 var(--font-body); }
.social { display: flex; gap: 8px; }
.social a { width: 40px; height: 40px; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center; color: #CBE4F3; background: rgba(255,255,255,.08); }
.social a:hover { background: rgba(255,255,255,.16); color: #fff; }
.social svg { width: 18px; height: 18px; }

/* ── toast, back-to-top, open-app sheet (behaviour unchanged) ── */
#landing-toast { position: fixed; top: 20px; left: 50%; z-index: 300; transform: translateX(-50%); max-width: calc(100% - 32px); display: none; }
#landing-toast.show { display: flex; }
#landing-toast .ico { color: #F2A93B; }
#landing-toast.success .ico { color: #7FD3A8; }
#landing-toast.info .ico { color: #BFDDF0; }
#scroll-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px; border-radius: 24px; border: 0; background: var(--primary-600); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-pop); opacity: 0; pointer-events: none; transition: opacity .2s; }
#scroll-top.visible { opacity: 1; pointer-events: auto; }
#scroll-top:hover { background: var(--primary-700); }
#book-sheet-overlay { position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-end; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .2s; }
#book-sheet-overlay.open { opacity: 1; pointer-events: auto; }
#book-sheet { width: 100%; max-width: 480px; background: var(--surface); border-radius: 20px 20px 0 0; padding: 12px 24px 32px; display: flex; flex-direction: column; gap: 12px; transform: translateY(100%); transition: transform .3s var(--ease-pop); }
#book-sheet-overlay.open #book-sheet { transform: none; }
.sheet-handle { width: 40px; height: 4px; border-radius: 2px; background: var(--line); align-self: center; margin-bottom: 8px; }
.sheet-head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.sheet-head img { width: 48px; height: 48px; }
.sheet-head h2 { margin: 0; font: 700 20px/1.2 var(--font-display); }
.sheet-head p { margin: 0; color: var(--ink-3); font-size: 14px; }
#book-sheet-ios { display: none; }
.sheet-store { display: flex; justify-content: center; padding: 16px; border-radius: 14px; background: var(--primary-900); line-height: 0; }
.sheet-store img { height: 48px; width: auto; }

/* ── tablet widths above the breakpoint ── */
@media (max-width: 1180px) {
  .nav { gap: 24px; }
  .nav-links { gap: 20px; }
  .install-phones { transform: scale(.82); transform-origin: bottom right; margin-left: -60px; }
  .install-copy .h2x { font-size: 36px; }
}
@media (max-width: 1060px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .how-row { gap: 32px; }
  .how-phone { width: 220px; }
  .how-phone .scr { height: 460px; }
  .ip-3 { display: none; }
  .cta-inner h2 { font-size: 46px; }
}

/* ── mobile: the 390 artboards ── */
@media (max-width: 899px) {
  html { scroll-padding-top: 64px; }
  .wrap { padding: 0 16px; }
  .sec { padding: 56px 0; }
  .sec-head { margin-bottom: 28px; }
  .sec-head p { font-size: 16px; }
  .h2x { font-size: 30px; line-height: 1.12; }

  .nav { height: 60px; gap: 12px; }
  .brand { gap: 10px; }
  .brand img { width: 32px; height: 32px; }
  .brand .wordmark { font-size: 17px; }
  .brand-tag { font-size: 10px; padding: 3px 6px 2px; }

  .hero { min-height: 0; padding-bottom: 0; background: var(--bg); overflow: visible; }
  .hero-top { position: relative; background: var(--primary-900); overflow: hidden; }
  /* Phones: the driver photo is a band across the top (face + thumbs-up in view),
     the copy sits below it on navy, not over the photo. */
  .hero-top { --band: clamp(360px, 75vw, 560px); }
  .hero-photo { bottom: auto; height: var(--band); }
  .hero-scrim { background: linear-gradient(180deg, rgba(0,22,52,.55) 0px, rgba(0,22,52,0) 110px, rgba(0,22,52,0) calc(var(--band) - 110px), rgba(0,22,52,1) var(--band)); }
  .hero-inner { padding-top: calc(var(--band) - 30px); padding-bottom: 88px; display: flex; align-items: flex-end; }
  .hero-copy { gap: 14px; }
  .hero h1 { font-size: 44px; line-height: 1.02; letter-spacing: -.02em; }
  .hero-sub { font-size: 16px; }
  .hero-ctas .btn { flex: 1; }
  .search-wrap { margin-top: -64px; position: relative; z-index: 5; padding-bottom: 28px; }
  .search-card { width: auto; padding: 18px; }
  .city-row { flex-direction: column; align-items: stretch; }
  .swap-btn { align-self: center; transform: rotate(90deg); }

  .trust { grid-template-columns: 1fr; gap: 14px; padding-top: 20px; padding-bottom: 20px; }

  .tiles { grid-template-columns: 1fr; gap: 28px; }
  .tile-vis { height: 330px; }
  .tile-phone { width: 150px; }
  .tile-phone .scr { height: 250px; }
  .pass { width: 210px; }
  .disc { width: 70px; height: 70px; }
  .pay > span { width: 78px; height: 52px; }
  .lock { width: 170px; }
  .lock .scr { height: 263px; }

  .how-row { flex-direction: column; align-items: center; gap: 40px; }
  .how-step { width: 100%; max-width: 340px; }
  .how-phone { width: 220px; }
  .how-phone .scr { height: 450px; }
  .how-step:nth-child(1) .how-phone { transform: rotate(-3deg); }
  .how-step:nth-child(2) .how-phone { transform: rotate(2deg); }
  .how-step:nth-child(3) .how-phone { transform: rotate(-2deg); }
  .how-step figcaption { margin-top: 18px; }
  .how-cta .btn { width: 100%; }

  .why-grid { grid-template-columns: 1fr; gap: 20px; }
  .tier-panel { padding: 24px; gap: 14px; }
  .tier-panel .disc { width: 56px; height: 56px; }
  .fleet-block { margin-top: 28px; }
  .fleet { grid-template-columns: 1fr; }
  .why-more { grid-template-columns: 1fr; margin-top: 28px; }

  .routes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .route.live { grid-column: 1 / -1; padding: 20px; gap: 14px; }
  .route.live .route-cities { font-size: 24px; gap: 10px; }
  .route.live .route-foot { padding-top: 14px; }
  .route-price b { font-size: 24px; }
  .route.live .btn { height: 44px; padding: 0 18px; }
  .route.soon { grid-column: 1 / -1; padding: 14px 16px; gap: 10px; }
  .route.soon .route-cities { font-size: 17px; }
  .routes-more .btn { width: 100%; }

  .loy-grid { grid-template-columns: 1fr; gap: 28px; }
  .loy-copy .btn { align-self: stretch; }
  .ladder { flex-direction: column; align-items: stretch; gap: 12px; }
  .rung { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: 18px; background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.05)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
  .rung-head .disc { width: 64px; height: 64px; }
  .rung-head b { font-size: 20px; }
  .rung .rung-bar { height: auto !important; padding: 0; background: none; box-shadow: none; align-items: flex-end; text-align: right; }
  .rung-bar b { font-size: 40px; }

  .install-sec { padding: 56px 0 0; }
  .install-grid { flex-direction: column; align-items: stretch; gap: 32px; }
  .install-actions .btn { flex: 1; }
  .install-phones { transform: none; margin: 8px auto 0; height: 420px; justify-content: center; overflow: hidden; width: 100%; }
  .ip-1 { width: 190px; transform: rotate(-6deg); margin-right: -40px; margin-bottom: -60px; }
  .ip-1 .scr { height: 400px; }
  .ip-2 { width: 210px; transform: rotate(4deg); }
  .ip-2 .scr { height: 430px; }
  .ip-3 { display: none; }

  .tst-grid { grid-template-columns: 1fr; gap: 16px; }
  .tcard { padding: 22px; }
  .tcard-avatar { width: 88px; height: 88px; font-size: 30px; }
  .tcard blockquote { font-size: 17px; }

  .cta-sec { min-height: 0; aspect-ratio: 3 / 4; align-items: flex-end; }
  .cta-sec > picture > img { object-position: 50% 70%; }
  .cta-inner { padding: 0 16px 48px; gap: 18px; }
  .cta-inner h2 { font-size: 34px; }
  .cta-inner p { font-size: 16px; }
  .cta-btns { width: 100%; }
  .cta-btns .btn { min-width: 0; flex: 1; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 48px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .cta-sec { aspect-ratio: auto; min-height: 520px; }
  .rung-bar b { font-size: 34px; }
}

/* real app screenshots (600x1024): frames take the screenshot's shape so nothing is cut off at the sides */
.how-phone .scr, .install-phones .scr, .tile-phone .scr { height: auto !important; aspect-ratio: 600 / 1024; }
/* Narrow laptops: keep his face on screen (the thumb may tuck slightly under the card edge). */
@media (min-width: 900px) and (max-width: 1199px) { .hero-photo img { object-position: 50% 35%; } }
@media (max-width: 899px) { .hero-photo img { object-position: 50% 62%; } }

/* leaner sections after removing repeated content */
.tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.why-side { display: flex; flex-direction: column; gap: 16px; }
.why-side .why-card { flex: 1; align-items: center; }
@media (max-width: 1060px) and (min-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) { .tiles { grid-template-columns: 1fr; } }

/* pickup card: the real live-tracking screen in an Android phone frame */
.phone-stage { flex: 1; min-height: 520px; border-radius: 24px; display: flex; align-items: center; justify-content: center; padding: 36px 24px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 100%, #CBE4F3 0%, #E7F3FA 55%, #F6F4EF 100%); }
.android { position: relative; width: 236px; aspect-ratio: 720 / 1600; padding: 7px; border-radius: 34px; background: #16191D;
  box-shadow: 0 0 0 1.5px #2B3036, 0 30px 60px rgba(0,49,101,.22), 0 8px 18px rgba(0,49,101,.12); }
.android > img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 27px; }
.android::before { content: ""; position: absolute; top: 15px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #0B0D10; box-shadow: inset 0 0 0 2px #22272D; z-index: 2; }
.android::after { content: ""; position: absolute; right: -3px; top: 96px; width: 3px; height: 56px; border-radius: 0 2px 2px 0; background: #2B3036; box-shadow: 0 74px 0 #2B3036; }
@media (max-width: 899px) { .phone-stage { min-height: 0; padding: 28px 16px; } .android { width: 210px; } }
