/* G-Ride website. Colours: the RIDER navy of the logos and G-Ride gold. */
:root {
  --navy: #07196b;
  --navy-2: #0b2a8c;
  --gold: #f5b921;
  --gold-ink: #141c36;
  --gold-deep: #b87d00; /* gold for large headings on light backgrounds (bright gold is too faint there) */
  --ink: #111624;
  --muted: #4d5568;
  --bg: #f7f9fc;
  --card: #ffffff;
  --line: #dee5f0;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(7, 25, 107, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 14px; }
.gold { color: var(--gold-deep); }
.navy .gold, .section.navy .gold { color: var(--gold); }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 1.02rem;
  text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-gold { background: var(--gold); color: var(--gold-ink); }
.btn-outline { border: 2px solid var(--navy); color: var(--navy); }
.btn-sm { padding: 10px 18px; font-size: .95rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 10px; }
.small { font-size: .9rem; color: var(--muted); }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(247, 249, 252, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand img { width: 140px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; color: var(--navy); font-size: .97rem; }
.nav a:hover { color: var(--navy-2); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; text-decoration-thickness: 3px; }

/* Sign up dropdown */
.signup { position: relative; }
.signup summary { list-style: none; cursor: pointer; user-select: none; }
.signup summary::-webkit-details-marker { display: none; }
.signup .chev { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s ease; }
.signup[open] .chev { transform: translateY(2px) rotate(-135deg); }
.signup summary:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.signup-menu { position: absolute; right: 0; top: calc(100% + 10px); width: 290px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 40px rgba(7, 25, 107, .16); padding: 8px; z-index: 30; }
.signup-menu a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.signup-menu a:hover, .signup-menu a:focus-visible { background: var(--bg); outline: none; }
.signup-menu a + a { margin-top: 2px; }
.signup-menu b { display: block; color: var(--navy); font-size: 1rem; }
.signup-menu small { display: block; color: var(--muted); font-size: .85rem; margin-top: 2px; }
.signup-menu .ico { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.signup-menu .ico-ride { background: var(--navy); }
.signup-menu .ico-drive { background: var(--gold-deep); }

/* hero */
.hero { padding: 56px 0 30px; background: linear-gradient(160deg, #e6edfa 0%, var(--bg) 48%, #fbf4ec 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.tag { display: inline-block; background: var(--gold); color: var(--gold-ink); font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 8px; margin-bottom: 16px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-art img { border-radius: 32px; box-shadow: var(--shadow); }

/* three apps */
.apps { padding: 18px 0 8px; }
.apps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.app-card { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; box-shadow: var(--shadow); }
.app-card img { width: 52px; border-radius: 14px; flex: none; }
.app-card strong { display: block; color: var(--navy); font-size: 1.08rem; }
.app-card span { display: block; color: var(--muted); font-size: .94rem; }
.app-card em { font-style: normal; font-weight: 700; color: var(--navy-2); font-size: .9rem; }
.app-card:hover { border-color: var(--gold); }

/* real app screens */
.screens-note { color: var(--muted); margin: 8px 0 0; }
.screens { display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); gap: 28px; justify-content: center; margin-top: 28px; }
.screens figure { margin: 0; }
.screens img { display: block; width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(7, 25, 107, .10); }
.screens figcaption { margin-top: 10px; font-weight: 600; text-align: center; font-size: .95rem; }
@media (max-width: 720px) { .screens { grid-template-columns: minmax(0, 280px); } }

/* sections */
.section { padding: 76px 0; }
.section.alt { background: #eef3fb; }
.section.navy { background: var(--navy); color: #e8edfb; }
.section.navy h2 { color: #fff; }
.eyebrow { display: inline-block; font-weight: 800; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-2); margin-bottom: 10px; }
.eyebrow.gold { color: var(--gold); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.rounded { border-radius: 28px; box-shadow: 0 16px 40px rgba(0, 0, 0, .14); }

.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.steps b { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); font-weight: 800; margin-bottom: 12px; }
.steps p { color: var(--muted); font-size: .97rem; margin: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; } /* the photos are 3:2 and carry their own words: never crop them */
.card h3, .card p { padding: 0 20px; }
.card h3 { margin-top: 18px; }
.card p { color: var(--muted); padding-bottom: 20px; margin: 0; }

.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { position: relative; padding-left: 36px; margin-bottom: 14px; color: var(--muted); }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); font-weight: 800; font-size: .8rem; display: grid; place-items: center; }
.ticks strong { color: var(--navy); }

.facts { list-style: none; padding: 0; margin: 18px 0 20px; display: grid; gap: 10px; }
.facts li { display: flex; gap: 14px; align-items: baseline; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; padding: 12px 16px; }
.facts b { color: var(--gold); font-size: 1.45rem; min-width: 4.4em; }

.cities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 24px; }
.city { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.city strong { display: block; color: var(--navy); font-size: 1.2rem; }
.city span { color: var(--muted); font-size: .94rem; }
.city.live { background: var(--navy); border-color: var(--navy); }
.city.live strong { color: var(--gold); }
.city.live span { color: #dfe6fb; }

.support { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: center; }
.support .small { grid-column: 1 / -1; margin: 0; }
.contact { display: grid; gap: 12px; }
.contact a { display: flex; justify-content: space-between; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; text-decoration: none; box-shadow: var(--shadow); }
.contact span { color: var(--muted); }
.contact b { color: var(--navy); text-align: right; overflow-wrap: anywhere; }
.contact a:hover { border-color: var(--gold); }

.final { text-align: center; }
.final-inner { display: grid; justify-items: center; }

/* footer */
.foot { background: #050f45; color: #c9d3f2; padding: 48px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.foot img { width: 120px; background: #fff; border-radius: 10px; padding: 6px 8px; margin-bottom: 10px; }
.foot h3 { color: #fff; font-size: .95rem; margin-bottom: 8px; }
.foot nav a { display: block; text-decoration: none; padding: 3px 0; color: #c9d3f2; overflow-wrap: anywhere; }
.foot nav a:hover { color: var(--gold); }
.copy { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 28px; padding-top: 18px; font-size: .88rem; }

/* tablets and phones */
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .cities { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .top-inner { justify-content: space-between; }
  .brand img { width: 120px; }
  .hero { padding-top: 32px; }
  .hero-grid, .split, .support, .apps-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { order: -1; }
  .cards { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .btn { width: 100%; }
  .btn-sm { width: auto; }
  .top-inner { gap: 10px; }
  .brand { margin-right: auto; }
  /* on a phone the menu spans the header (a fixed menu would be trapped by the header's blur) */
  .top-inner { position: relative; }
  .signup { position: static; }
  .signup-menu { left: 0; right: 0; top: calc(100% + 6px); width: auto; }
  .contact a { flex-direction: column; gap: 2px; }
  .contact b { text-align: left; }
}
@media (max-width: 420px) {
  .steps, .cities { grid-template-columns: 1fr; }
  .brand img { width: 104px; }
  .btn-sm { padding: 9px 14px; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
.mt { margin-top: 28px; }

/* Verify G-Ride staff (verify-staff.html): what a scan of a staff ID card shows */
.staff-check { padding-top: 40px; }
.staff-wrap { max-width: 720px; }
.staff-check .lead { color: #3d4657; margin: 0 0 20px; }
.staff-result { margin: 0 0 22px; }
.staff-card { border-radius: 18px; padding: 20px; border: 2px solid; background: #fff; }
.staff-card.good { border-color: #15803d; }
.staff-card.bad { border-color: #ce2020; background: #fff6f6; }
.staff-head { margin: 0 0 12px; font-size: 1.25rem; }
.staff-card.good .staff-head { color: #15803d; }
.staff-card.bad .staff-head { color: #ce2020; }
.staff-row { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.staff-photo { width: 130px; height: 158px; object-fit: cover; border-radius: 12px; border: 4px solid var(--gold); }
.staff-name { font-size: 1.35rem; font-weight: 800; color: var(--navy); margin: 0 0 6px; }
.staff-info { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 0; }
.staff-info dt { color: #5b6475; }
.staff-info dd { margin: 0; font-weight: 700; color: #141c36; }
.staff-say { margin: 14px 0 0; color: #3d4657; }
.staff-loading { padding: 16px; background: #f4f6fb; border-radius: 14px; margin: 0; }
.staff-form { background: #f4f6fb; border-radius: 18px; padding: 18px; }
.staff-form label { font-weight: 700; color: var(--navy); display: block; margin-bottom: 8px; }
.staff-form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.staff-form input { flex: 1 1 220px; min-width: 0; font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid #cfd6e4; letter-spacing: 0.08em; text-transform: uppercase; }
.staff-note { color: #ce2020; margin: 8px 0 0; min-height: 1em; }
.staff-tips { margin-top: 26px; }
.staff-tips h2 { font-size: 1.15rem; }
.staff-tips ol { padding-left: 20px; color: #3d4657; }

/* rider app coming soon (launch.js) and the driver enrolment advert (owner, 2026-11-14) */
.soon-pill { background: var(--card); color: var(--navy); border: 2px dashed var(--line); cursor: default; }
.soon-pill:hover { transform: none; box-shadow: none; }
.app-card.soon { opacity: .85; }
.app-card.soon:hover { border-color: var(--line); }
.app-card.soon em { color: var(--gold-deep); }
.signup-menu .soon-item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; color: var(--ink); opacity: .75; cursor: default; }
.signup-menu .soon-item + a { margin-top: 2px; }
.foot-soon { display: block; padding: 3px 0; color: #c9d3f2; opacity: .75; }
.enrol-ad { background: var(--navy); color: #fff; }
.enrol-inner { display: flex; align-items: center; gap: 16px; padding: 14px 0; flex-wrap: wrap; }
.enrol-inner p { margin: 0; flex: 1 1 320px; font-size: .98rem; }
.enrol-inner b { color: var(--gold); }
.ad-tag { background: var(--gold); color: var(--gold-ink); font-weight: 800; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; }
