/* Public site, design B (Faiz 30-10-2026, status 4.18): light only and the app's own colours and logo, so the website and
   the apps look the same; one width for every screen (the page stops at 1,180 px and the text stops growing, so a 27- or
   29-inch monitor shows it centred, never stretched); no slideshow and no taxi photos, only Portsmouth's harbour.
   Loaded only by web/base.html, so the staff portal never picks it up. */
:root { --wrap: 1180px; --pad: clamp(16px, 4vw, 32px); --h1: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); --h2: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  --band: #EEF4F8; --foot: #E3EDF3; }
/* 4.239 (F): a soft colour wash at the top of every public page, white below */
body { background: radial-gradient(900px 520px at 8% -6%, #CDEAF4 0%, transparent 62%), radial-gradient(900px 520px at 96% -4%, #DCEAFB 0%, transparent 58%), #FBFDFE no-repeat; }
.wrap, .site-main { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.site-main { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(28px, 4vw, 48px); }
.b-hero ~ .site-main { padding-top: 0; padding-bottom: 0; } /* home: everything is in the full-width sections */

/* header: the app's logo, a sticky white bar */
.topbar { position: sticky; top: 0; z-index: 40; max-width: none; padding: 10px max(var(--pad), calc((100% - var(--wrap)) / 2 + var(--pad)));
  background: rgb(255 255 255 / 94%); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); gap: 8px 22px; min-height: 66px; }
.topbar .brand img { width: auto; height: 34px; }
.topbar nav a { color: var(--muted); }
.topbar nav a:hover, .topbar nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.button { border-radius: 999px; }
@media (min-width: 1000px) { .topbar { flex-wrap: nowrap; gap: 14px; } .topbar nav { flex-wrap: nowrap; gap: 2px; } .topbar nav a { padding: 8px; white-space: nowrap; } .topbar .button { white-space: nowrap; padding-left: 16px; padding-right: 16px; } }

/* the get-the-app card: QR + store buttons (web/_get_app.html) */
.a-app { display: flex; gap: 18px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 16px; box-shadow: var(--shadow); max-width: 470px; }
.a-app img { width: 128px; height: 128px; background: #fff; padding: 4px; border-radius: 10px; flex: none; }
.a-app b { font-size: 1.05rem; } .a-app p { margin: 2px 0 10px; }
.a-stores { display: flex; gap: 8px; flex-wrap: wrap; }
.a-store { background: #000; color: #fff; border-radius: 10px; padding: 8px 14px; font-weight: 700; text-decoration: none; line-height: 1.15; }
.a-store small { display: block; font-weight: 500; font-size: .68rem; opacity: .8; }
.a-store:hover { background: #222; }

/* sections */
.b-sec { padding: clamp(40px, 5vw, 72px) 0; }
.b-sec.band { background: var(--band); }
.b-sec h2 { font-size: var(--h2); line-height: 1.15; margin: 0 0 8px; }
.b-sub { color: var(--muted); margin: 0 0 26px; }
.b-grid { display: grid; gap: 16px; } .b-g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .b-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.a-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; color: var(--ink);
  text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
a.a-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent); }
.a-card b, .a-card h3 { display: block; font-size: 1.15rem; margin: 10px 0 4px; }
.car-pic { display: block; width: 100%; height: auto; aspect-ratio: 720 / 260; object-fit: contain; background: #fff; border-radius: 12px; }
.a-card span, .a-card p { color: var(--muted); margin: 0; }
.a-card .go { display: block; margin-top: 12px; color: var(--accent); font-weight: 700; }
.a-card .b-step { color: var(--accent-ink); }
.b-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; font-size: 1.3rem; }
.b-ico img { width: 26px; height: 26px; }
.b-step { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; }
/* our own car drawings on the tiles (Faiz 30-10), text left and picture right like a ride app */
.b-illo { display: block; width: 100%; max-width: 150px; height: auto; margin: -6px 0 2px auto; }
.b-split.b-top { align-items: start; }
/* Pay your way beside Where we pick up: the brands' own marks (Apple and Google artwork, unaltered) */
/* Faiz 25-11: cash and card as pictures, in the middle under the words */
.b-paybox { text-align: center; }
.b-pay { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; align-items: stretch; justify-content: center; }
.b-pay li { display: grid; justify-items: center; gap: 8px; min-width: 132px; padding: 16px 20px; box-sizing: border-box; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 24px rgb(11 34 51 / 7%); }
.b-pay img { height: 60px; width: auto; }
.b-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.b-photo { border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--shadow); }
.b-photo img { width: 100%; height: 100%; object-fit: cover; }
.a-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.a-chip { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 600; }
.a-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; margin: 0 0 10px; }
.a-faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; }
.a-faq details p { margin: 0 0 14px; color: var(--muted); }

/* footer: light, the app's colours, columns and the year */
.site-footer { background: var(--foot); border-top: 1px solid var(--line); padding: 48px 0 24px; font-size: 1rem; }
.b-fcols { display: grid; grid-template-columns: minmax(0, 1fr) repeat(4, max-content); gap: 40px clamp(32px, 5vw, 68px); }  /* Faiz 25-11: more room between the columns, every heading on one line */
.site-footer .b-fcols nav { display: block; }
.b-fcols img { width: auto; height: 34px; margin-bottom: 12px; }
.b-fcols h2 { margin: 0 0 18px; white-space: nowrap; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.b-fcols a { display: block; color: var(--ink); text-decoration: none; margin: 0 0 16px; }
.b-fcols a:hover { text-decoration: underline; }
.b-fbottom { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 16px; font-size: .9rem; color: var(--muted); }

/* How it works: four numbered steps with an icon, then the details */
.a-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: a-st; margin: 0 0 28px; }
.a-step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 52px 18px 18px;
  box-shadow: 0 8px 24px rgba(11, 34, 51, .06); counter-increment: a-st; transition: transform .15s, box-shadow .15s; }
.a-step:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(11, 34, 51, .12); }
.a-step::before { content: counter(a-st); position: absolute; top: 14px; left: 18px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 800; }
.a-step::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; border-radius: 18px 18px 0 0; background: var(--accent); }
.a-step h3 { margin: 0 0 6px; } .a-step p { margin: 0; color: var(--muted); }

/* Prices: tap a name, its line shows (radio buttons, no script) */
.a-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.a-tabs input { position: absolute; opacity: 0; }
.a-tabs label { border: 2px solid var(--line); border-radius: 999px; padding: 6px 14px; cursor: pointer; font-weight: 600; }
.a-tabs input:checked + label { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.a-tabs input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.a-tab { display: none; color: var(--muted); }
#ap-1:checked ~ .a-tab-1, #ap-2:checked ~ .a-tab-2, #ap-3:checked ~ .a-tab-3 { display: block; }

/* Privacy and terms: contents box */
/* the operator licence card on the terms page (Faiz 23-11): one click opens it, no script */
.licence-card { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); margin: 0 0 12px; }
.licence-card > summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--accent-text); list-style: none; }
.licence-card > summary::-webkit-details-marker { display: none; }
.licence-card > summary::after { content: "View the licence ›"; display: block; font-weight: 500; font-size: .92rem; color: var(--muted); margin-top: 4px; }
.licence-card[open] > summary::after { content: "Close ⌃"; }
.licence-card > summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 14px; }
.licence-body { padding: 0 18px 18px; display: grid; gap: 14px; }
.licence-body dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.licence-body dt { color: var(--muted); } .licence-body dd { margin: 0; font-weight: 600; }
.licence-body img { width: 100%; max-width: 560px; height: auto; border: 1px solid var(--line); border-radius: 10px; }
.a-toc { background: var(--surface-2); border-radius: 14px; padding: 14px 18px; margin: 0 0 18px; }
.a-toc ol { margin: 6px 0 0; padding-left: 20px; columns: 2; } .a-toc li { margin: 0 0 4px; break-inside: avoid; }

/* back to the top */
.a-top { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 46px; height: 46px; border-radius: 50%; display: grid;
  place-items: center; background: var(--accent); color: var(--accent-ink); font-size: 1.4rem; font-weight: 800; text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22); }
.a-top:hover { filter: brightness(1.08); } .a-top:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

@media (max-width: 999px) {   /* phones and tablets: logo and Get the app on one line, the menu one swipeable row below */
  .topbar { position: static; }
  .topbar nav { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: 2px; }
  .topbar nav a { white-space: nowrap; padding: 6px 8px; flex: none; }
  .topbar .button.secondary { display: none; }
}
@media (max-width: 980px) {
  .b-split { grid-template-columns: minmax(0, 1fr); }
  .b-g4, .a-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .b-g3 { grid-template-columns: minmax(0, 1fr); }
  .b-fcols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px 28px; }
  .b-fcols h2 { white-space: normal; }
}
@media (max-width: 600px) {
  .b-g4, .a-steps { grid-template-columns: minmax(0, 1fr); } .a-toc ol { columns: 1; }
  .a-app { flex-direction: column; align-items: flex-start; } .a-app img { display: none; } /* on the phone itself a QR is no use */
  .a-top { bottom: 96px; right: 12px; }
}
@media (prefers-reduced-motion: reduce) { .a-card, .a-step { transition: none; } a.a-card:hover, .a-step:hover { transform: none; } }

/* Get a price (Faiz 30-10): the form left, the map right like a ride app; one column on phones */
.pc { display: grid; grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: 24px; align-items: start; }
.pc-form h1 { font-size: 1.6rem; margin: 0; }
.pc-field label { display: block; font-weight: 700; margin-bottom: 4px; }
.pc-field input { width: 100%; box-sizing: border-box; }
/* Faiz 25-11: a magnifying glass in Pickup and Drop-off */
.pc-from input, .pc-to input { padding-left: 46px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B7A9C' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E") no-repeat 13px center / 22px 22px; }
.pc-form button[type="submit"] { width: 100%; }
.pc-map { position: sticky; top: 16px; min-height: 560px; height: calc(100vh - 140px); max-height: 760px; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); background: var(--band); }
.pc-map.b-photo { aspect-ratio: auto; }
.pc-results h2 { font-size: 1.2rem; margin: 8px 0 2px; }
.pc-cars { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 8px; }
.pc-cars li { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; }
.pc-cars li div { flex: 1; } .pc-cars span { display: block; color: var(--muted); font-size: .88rem; }
.pc-price { font-size: 1.15rem; }
.pc-table { margin-top: 32px; }
@media (max-width: 860px) {
  .pc { grid-template-columns: minmax(0, 1fr); }
  .pc-map { position: static; min-height: 320px; height: 50vh; }
}
/* 4.149 the website's driver sign-up */
.d-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.d-check input { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.d-docs { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.d-doc { display: grid; gap: 6px; padding: 12px 0; border-top: 1px solid var(--line, #DCE6EC); scroll-margin-top: 90px; }
.d-up { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.d-up input[type=file] { max-width: 100%; }
.d-st { font-size: var(--text-sm); font-weight: 600; color: var(--muted); }
.d-accepted, .d-approved { color: var(--green, #1E7A46); }
.d-rejected, .d-suspended { color: var(--coral); }
/* 4.174: the Driver Partner Agreement (public page, sign-up box, signed copy) */
.agreement-box { max-height: 420px; overflow: auto; border: 1px solid var(--line, #DCE6EC); border-radius: 12px; padding: 12px 16px; background: #fff; }
.agreement h2 { font-size: 1.15rem; } .agreement h3 { font-size: 1rem; margin: 18px 0 6px; } .agreement p { margin: 0 0 8px; }
dl.agreement-blanks { display: grid; grid-template-columns: minmax(140px, 260px) minmax(0, 1fr); gap: 4px 12px; margin: 10px 0; }
dl.agreement-blanks dt { color: var(--muted, #4F6577); } dl.agreement-blanks dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { dl.agreement-blanks { grid-template-columns: minmax(0, 1fr); } }

/* ---- 4.239 (Faiz 16-11): layouts B + F merged. F: the menu floats as a glass pill, cards float on a colour wash, the dark
   Drive panel sits beside the questions. B: the Spinnaker at dusk with a glass app card and a facts strip over its edge.
   Inside the one 1,180 px width on every screen; light only; motion off when the visitor asks for less. */
.topbar { top: 12px; width: calc(100% - 2 * var(--pad)); max-width: var(--wrap); margin: 12px auto 0; padding: 8px 10px 8px 20px;
  border-radius: 999px; border: 1px solid rgb(255 255 255 / 90%); background: rgb(255 255 255 / 78%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 6px 24px rgb(11 34 51 / 8%); min-height: 60px; }
.b-hero.x-hero { padding: 0; }
@media (min-width: 1000px) {  /* the photo runs up behind the floating menu */
  .b-hero.x-hero { margin-top: -84px; }
}
main [id] { scroll-margin-top: 92px; } /* a jump to /#airports lands below the floating menu */
.x-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.button.x-ghost { background: #fff; color: var(--ink); border-color: #fff; }
.button.x-ghost:hover { background: #EAF2F6; }
.x-facts { position: relative; z-index: 2; list-style: none; padding: 0; width: calc(100% - 2 * var(--pad) - 48px); max-width: calc(var(--wrap) - 48px);
  margin: -46px auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: 22px;
  overflow: hidden; box-shadow: 0 18px 44px rgb(11 34 51 / 14%); }
.x-facts li { background: #fff; padding: 18px 22px; }
.x-facts b { display: block; font-size: 1.2rem; letter-spacing: -.01em; }
.x-facts span { color: var(--muted); font-size: .9rem; }
.b-sec > .wrap:not(.b-split):not(.x-split) > h2, .b-sec > .wrap:not(.b-split):not(.x-split) > .b-sub { text-align: center; }
.b-sec.band { background: radial-gradient(520px 320px at 12% 0%, #CFEBF5 0%, transparent 70%), radial-gradient(620px 360px at 92% 30%, #DDEBFC 0%, transparent 65%),
  radial-gradient(480px 280px at 50% 100%, #E3F5EA 0%, transparent 70%), #F5FAFC; }
.a-card { border-radius: 22px; }
.b-sec.band .a-card { background: rgb(255 255 255 / 80%); border-color: rgb(255 255 255 / 95%); backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgb(11 34 51 / 8%); }
a.a-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgb(11 34 51 / 12%); }
.site-footer { background: #F1F6F9; }
/* the other public pages: F's big title and glass cards on the wash */
.site-main > h1:first-child, .site-main > .split > .stack > h1:first-child, .pc-form > h1 { font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.2rem);
  line-height: 1.04; letter-spacing: -.03em; margin: 8px 0 12px; }
.pc-form > h1 { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.2rem); }
.site-main .lead { font-size: 1.15rem; color: var(--muted); max-width: 52ch; }
.site-main .card, .a-app, .a-step, .a-faq details { border-radius: 22px; }
.site-main .card { background: rgb(255 255 255 / 86%); border-color: rgb(255 255 255 / 95%); backdrop-filter: blur(10px); box-shadow: 0 14px 40px rgb(11 34 51 / 9%); }
@media (max-width: 999px) { .topbar { border-radius: 24px; padding: 8px 12px; margin-top: 8px; } }
@media (max-width: 860px) {
  .x-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); width: calc(100% - 2 * var(--pad) - 24px); }
}
@media (max-width: 700px) {
  .x-facts li { padding: 14px 16px; } .x-facts b { font-size: 1.05rem; }
}

/* 4.282 (Faiz 19-11): a phone icon before every phone link, so a number reads as "tap to call" (icon: Material "call", Apache-2.0) */
a[href^="tel:"]::before { content: ""; display: inline-block; width: 1em; height: 1em; margin-right: .4em; vertical-align: -.14em; flex: none;
  background: currentColor; -webkit-mask: var(--tel-icon) center / contain no-repeat; mask: var(--tel-icon) center / contain no-repeat;
  --tel-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1C10.61 21 3 13.39 3 4c0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E"); }

/* ---- 4.295 (Faiz 19-11, design A): four photos fade one into the next behind the words and the price search (6 s each,
   24 s round; the first always underneath; still for visitors who ask for less motion); airports as photo tiles. */
.h-hero { position: relative; overflow: hidden; color: #fff; background: #0B2233; }
.h-slides, .h-slide, .h-slide img { position: absolute; inset: 0; width: 100%; height: 100%; }
.h-slide img { object-fit: cover; object-position: center 42%; }
.h-s2, .h-s3, .h-s4 { opacity: 0; animation: h-fade 24s linear infinite; }
.h-s2 { animation-delay: 6s; } .h-s3 { animation-delay: 12s; } .h-s4 { animation-delay: 18s; }
@keyframes h-fade { 0% { opacity: 0; } 5% { opacity: 1; } 25% { opacity: 1; } 30% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .h-s2, .h-s3, .h-s4 { animation: none; } }
.h-slides::after { content: ""; position: absolute; inset: 0;  /* the words stay readable on every photo; the picture stays clear on the right */
  background: linear-gradient(90deg, rgb(8 26 40 / 78%) 0%, rgb(8 26 40 / 40%) 48%, rgb(8 26 40 / 8%) 100%), linear-gradient(0deg, rgb(8 26 40 / 45%) 0%, transparent 40%); }
.h-in { position: relative; max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 420px);
  gap: clamp(24px, 5vw, 64px); align-items: center; min-height: clamp(520px, 74vh, 760px);
  padding: clamp(40px, 6vw, 80px) clamp(22px, 4vw, 52px) clamp(84px, 8vw, 110px); }
@media (min-width: 1000px) { .h-hero .h-in { padding-top: calc(84px + clamp(40px, 6vw, 80px)); } }
.h-hero h1 { font-size: clamp(2.3rem, 1.3rem + 3.4vw, 3.9rem); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 14px; color: #fff; max-width: 13ch;
  text-shadow: 0 2px 18px rgb(0 0 0 / 30%); }
.h-hero .lead { font-size: 1.15rem; color: #E3EEF4; max-width: 34ch; margin: 0 0 26px; }
.h-search { background: #fff; color: var(--ink); border-radius: 24px; padding: clamp(18px, 2.4vw, 26px); box-shadow: 0 24px 60px rgb(0 0 0 / 28%); }
.h-search h2 { font-size: 1.4rem; margin: 0; }
.h-search .pc-results { border-top: 1px solid var(--line); padding-top: 10px; }
.h-search .pc-results h3 { margin: 0; font-size: 1.15rem; }
.places-list li:not(.recent):not(.none) { display: flex; align-items: center; gap: 10px; }  /* a pin on each match, as in the app */
.places-list li:not(.recent):not(.none)::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg); background: #9DB4C2; margin: 0 4px; }
.places-list li.none { color: var(--muted); cursor: default; }
.places-list li.none:hover { background: none; }
.h-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; }
.h-steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 6px;
  box-shadow: 0 10px 30px rgb(11 34 51 / 6%); }
.h-steps img { width: 44px; height: 44px; }
.h-steps b { font-size: 1.1rem; } .h-steps li > span:last-child { color: var(--muted); }
.h-n { position: absolute; top: 18px; right: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: .95rem; }
.h-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.h-tile { position: relative; display: block; border-radius: 24px; overflow: hidden; color: #fff; text-decoration: none; box-shadow: 0 14px 36px rgb(11 34 51 / 12%); }
.h-tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; transition: transform .4s var(--ease, ease); }
.h-tile:hover img { transform: scale(1.04); }
.h-tile span { position: absolute; inset: auto 0 0 0; padding: 60px 22px 20px; background: linear-gradient(transparent, rgb(8 26 40 / 88%)); }
.h-tile b { display: block; font-size: 1.4rem; letter-spacing: -.01em; }
.h-tile:focus-visible { outline: 3px solid var(--focus, #0A7EA4); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .h-tile img { transition: none; } .h-tile:hover img { transform: none; } }
.h-drive { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 28px; overflow: hidden; color: #fff;
  background: radial-gradient(420px 260px at 100% 0%, rgb(10 126 164 / 55%) 0%, transparent 70%), linear-gradient(135deg, #0B2233, #0E3A55); }
.h-drive img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; display: block; }
.h-drive > div { padding: clamp(26px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.h-drive h2 { color: #fff; font-size: var(--h2); margin: 0; } .h-drive p { color: #B9CDD9; max-width: 40ch; margin: 0; }
.h-drive .button { align-self: flex-start; }
.h-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 20px; align-items: start; }
.h-more { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 36px; }
.h-more .a-app { max-width: none; }
@media (max-width: 960px) { .h-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .h-in { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .h-tiles, .h-drive, .h-faq, .h-more { grid-template-columns: minmax(0, 1fr); }
  .h-tile img { aspect-ratio: 16 / 10; }
}
@media (max-width: 520px) { .h-steps { grid-template-columns: minmax(0, 1fr); } }
.h-app { display: flex; justify-content: center; margin-top: 28px; } .h-app .a-app { max-width: 520px; }
/* Faiz 25-11: one Register menu in the header (Courier, Eat, Taxi, Taxi driver) */
.reg-menu { position: relative; flex: none; }
.reg-menu > summary { list-style: none; cursor: pointer; }
.reg-menu > summary::-webkit-details-marker { display: none; }
.reg-menu > summary::after { content: ""; width: 8px; height: 8px; margin: -4px 2px 0 10px; border: solid currentColor; border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); transition: transform .15s; }
.reg-menu[open] > summary::after { transform: translateY(4px) rotate(225deg); }
.topbar .reg-menu > nav p { margin: 6px 14px 2px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.reg-menu > summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.topbar .reg-menu > nav { position: absolute; right: 0; top: calc(100% + 12px); z-index: 60; display: grid; gap: 2px; width: 272px; padding: 8px; background: #fff;
  border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 44px rgb(11 34 51 / 18%); overflow: visible; order: 0; }
.topbar .reg-menu > nav a { display: block; padding: 10px 14px; border-radius: 12px; color: var(--ink); white-space: normal; }
.topbar .reg-menu > nav a b { display: block; } .topbar .reg-menu > nav a span { display: block; font-weight: 400; font-size: .88rem; color: var(--muted); }
@media (max-width: 999px) { .topbar .reg-menu > summary.button.secondary { display: inline-flex; } }
@media (max-width: 420px) { .topbar .reg-menu > summary { white-space: normal; line-height: 1.15; max-width: 110px; } }  /* "Register Business" on two lines keeps Get the app on the same row (Faiz 26-11) */
@media (max-width: 999px) { .topbar { position: relative; top: 0; } .reg-menu { position: static; } .topbar .reg-menu > nav { left: 12px; right: 12px; top: calc(100% + 6px); width: auto; } }
@media (max-width: 520px) { .topbar { gap: 6px 8px; } .topbar .brand img { height: 28px; } .topbar .spacer { display: none; } .reg-menu { margin-left: auto; } .reg-menu > summary::after { margin-left: 7px; }
  .topbar .button { padding: 8px 11px; font-size: .88rem; white-space: nowrap; } }
