/* ============================================================
   Glide — glide.wales
   Brand: deep purple #401268 (from logo)
   ============================================================ */

:root {
  --purple-950: #1f0833;
  --purple-900: #2a0b45;
  --purple-800: #401268;            /* brand */
  --purple-700: #542087;
  --purple-600: #6c35a8;
  --purple-500: #8450c4;
  --purple-300: #b794e6;
  --purple-100: #e9ddf7;
  --purple-50:  #f7f3fc;
  --ink:        #180f22;
  --muted:      #5f5372;
  --line:       #e6def2;
  --bg:         #ffffff;
  --card:       #ffffff;
  --success:    #14a06d;
  --radius:     20px;
  --radius-sm:  12px;
  --shadow-sm:  0 2px 10px rgba(42, 11, 69, .07);
  --shadow-md:  0 14px 40px rgba(42, 11, 69, .13);
  --shadow-lg:  0 30px 70px rgba(42, 11, 69, .20);
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.container { width: min(1180px, 92%); margin: 0 auto; }

section { padding: 96px 0; }

/* ---------- typography ---------- */
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.22rem; }

.kicker {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--purple-600);
  margin-bottom: 14px;
}

.lead { font-size: 1.13rem; color: var(--muted); max-width: 56ch; }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--purple-800); color: #fff; box-shadow: 0 8px 24px rgba(64, 18, 104, .32); }
.btn-primary:hover { background: var(--purple-700); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--purple-800); color: var(--purple-800); }
.btn-light { background: #fff; color: var(--purple-800); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-outline-light:hover { border-color: #fff; }

/* store badges */
.store-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.store-btn {
  display: flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff;
  padding: 10px 20px; border-radius: 14px;
  min-width: 175px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn small { display: block; font-size: .66rem; opacity: .75; line-height: 1.2; letter-spacing: .02em; }
.store-btn strong { font-size: 1.05rem; line-height: 1.2; }
.store-btn.light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(42,11,69,.06); }
.nav-inner { display: flex; align-items: center; gap: 36px; height: 76px; }
.brand { color: var(--purple-800); flex: none; }
.brand svg { height: 26px; width: auto; }
.logo-svg { height: 26px; width: auto; display: inline-block; }
.footer-brand .logo-svg { color: #fff; margin-bottom: 18px; height: 28px; }
.nav-links { display: flex; gap: 28px; align-items: center; list-style: none; }
.nav-links a { font-weight: 600; font-size: .95rem; color: var(--muted); transition: color .15s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--purple-800); }
.nav-cta { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.nav-cta .btn { padding: 11px 22px; font-size: .92rem; }
.nav-burger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px; margin-left: auto;
}
.nav-burger span {
  display: block; width: 22px; height: 2px; background: var(--ink);
  margin: 5px auto; border-radius: 2px; transition: transform .25s ease, opacity .25s ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 110px;
  background:
    radial-gradient(1100px 520px at 85% -10%, var(--purple-100) 0%, transparent 60%),
    radial-gradient(700px 420px at -10% 110%, var(--purple-50) 0%, transparent 55%),
    #fff;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--purple-50);
  border: 1px solid var(--purple-100);
  color: var(--purple-800);
  font-weight: 700; font-size: .85rem;
  padding: 8px 16px; border-radius: 999px;
  margin-bottom: 26px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--success);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(20,160,109,.45); }
  55%       { box-shadow: 0 0 0 7px rgba(20,160,109,0); }
}
.hero h1 .accent { color: var(--purple-800); }
.hero .lead { margin: 22px 0 34px; }
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--purple-800); letter-spacing: -.02em; }
.hero-stats div span { font-size: .84rem; color: var(--muted); }

/* ---------- phone mockups & screenshot placeholders ---------- */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  width: 300px;
  background: var(--purple-950);
  border-radius: 44px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.phone::after {
  content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 106px; height: 26px; background: var(--purple-950); border-radius: 999px; z-index: 3;
}
.phone .screen {
  width: 100%; aspect-ratio: 390 / 800;
  border-radius: 34px;
  overflow: hidden;
  background: #fff;
  position: relative;
}
.phone .screen img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* dashed placeholder shown until a real screenshot replaces it */
.screen-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; text-align: center; padding: 28px;
  background:
    linear-gradient(160deg, var(--purple-50) 0%, #fff 55%, var(--purple-50) 100%);
}
.screen-placeholder .ph-icon {
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--purple-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--purple-600);
}
.screen-placeholder p { font-weight: 700; font-size: .92rem; color: var(--purple-800); line-height: 1.35; }
.screen-placeholder small { color: var(--muted); font-size: .74rem; line-height: 1.45; }
.screen-placeholder .ph-frame {
  position: absolute; inset: 10px; border: 2px dashed var(--purple-300);
  border-radius: 26px; pointer-events: none; opacity: .55;
}

.phone.tilt-l { transform: rotate(-5deg); }
.phone.tilt-r { transform: rotate(5deg); }

/* smaller reusable phone frame for in-section UI screenshots */
.mini-phone {
  width: 180px;
  background: var(--purple-950);
  border-radius: 28px;
  padding: 8px;
  box-shadow: var(--shadow-md);
  position: relative;
  margin: 0 auto;
}
.mini-phone::after {
  content: ""; position: absolute; top: 13px; left: 50%; transform: translateX(-50%);
  width: 58px; height: 15px; background: var(--purple-950); border-radius: 999px; z-index: 3;
}
.mini-phone .screen {
  width: 100%; aspect-ratio: 390 / 800;
  border-radius: 21px;
  overflow: hidden;
  background: #fff;
  position: relative;
}
.mini-phone .screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini-phone .screen-placeholder { gap: 8px; padding: 16px; }
.mini-phone .screen-placeholder .ph-icon { width: 36px; height: 36px; border-radius: 11px; }
.mini-phone .screen-placeholder p { font-size: .74rem; }
.mini-phone .screen-placeholder small { font-size: .58rem; }
.mini-phone .screen-placeholder .ph-frame { inset: 7px; border-radius: 15px; border-width: 1.5px; }

/* how-it-works cards with phone slots */
.step-card .mini-phone { margin-bottom: 24px; }

/* safety layout: two cards | phone | two cards */
.safety-layout {
  display: grid;
  grid-template-columns: 1fr 230px 1fr;
  gap: 28px;
  align-items: center;
}
.safety-layout .safety-col { display: grid; gap: 22px; }
.safety-layout .mini-phone { width: 210px; }

/* floating UI cards around hero phone */
.float-card {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  font-size: .85rem;
  z-index: 5;
  border: 1px solid var(--line);
  animation: floaty 5.5s ease-in-out infinite;
}
.float-card strong { display: block; font-size: .95rem; }
.float-card .sub { color: var(--muted); font-size: .78rem; }
.float-card.fc-offer { top: 13%; left: -4%; animation-delay: .6s; }
.float-card.fc-driver { bottom: 16%; right: -6%; }
.float-card .row { display: flex; align-items: center; gap: 10px; }
.float-card .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--purple-100); color: var(--purple-800);
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.float-card .fare { color: var(--purple-800); font-weight: 800; font-size: 1.05rem; }
.float-card .stars { color: #f5a623; font-size: .8rem; letter-spacing: 1px; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* real screenshots include their own status bar — hide the faux notch */
.phone.has-shot::after,
.mini-phone.has-shot::after { display: none; }

/* ---------- trust strip ---------- */
.trust-strip {
  background: var(--purple-800);
  color: #fff;
  padding: 34px 0;
}
.trust-strip .container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center;
}
.trust-strip .t-icon {
  width: 40px; height: 40px; margin: 0 auto 12px;
  border-radius: 12px; background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
}
.trust-strip strong { display: block; font-size: 1.65rem; font-weight: 800; letter-spacing: -.02em; }
.trust-strip span { font-size: .86rem; opacity: .78; }

/* ---------- steps / how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step-num {
  position: absolute; top: 26px; right: 26px;
  font-size: 3rem; font-weight: 800; color: var(--purple-100); line-height: 1;
}
.step-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--purple-50); color: var(--purple-800);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.step-card h3 { margin-bottom: 10px; }
.step-card p { color: var(--muted); font-size: .96rem; }

/* ---------- fare demo ---------- */
.fare-section { background: var(--purple-50); }
.fare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.fare-points { list-style: none; margin-top: 28px; display: grid; gap: 18px; }
.fare-points li { display: flex; gap: 14px; align-items: flex-start; }
.fare-points .tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--purple-800); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; margin-top: 2px;
}
.fare-points strong { display: block; }
.fare-points span { color: var(--muted); font-size: .93rem; }

.fare-demo {
  background: #fff;
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  padding: 34px;
  border: 1px solid var(--line);
  max-width: 430px;
  justify-self: center;
  width: 100%;
}
.fare-demo .route { display: grid; gap: 0; margin-bottom: 26px; }
.fare-demo .route .pt { display: flex; gap: 14px; align-items: center; }
.fare-demo .route .pt .pin { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--purple-800); }
.fare-demo .route .pt.dest .pin { background: var(--success); border-radius: 3px; }
.fare-demo .route .connector { width: 2px; height: 22px; background: var(--line); margin-left: 5px; }
.fare-demo .route .pt span { font-weight: 600; font-size: .95rem; }
.fare-demo .route .pt small { color: var(--muted); margin-left: auto; }
.fare-demo label { font-size: .82rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.fare-demo .fare-readout {
  font-size: 2.7rem; font-weight: 800; color: var(--purple-800);
  letter-spacing: -.03em; margin: 6px 0 4px;
}
.fare-demo .fare-hint { font-size: .85rem; color: var(--muted); min-height: 22px; margin-bottom: 12px; transition: color .2s ease; }
.fare-demo .fare-hint.hot { color: var(--success); font-weight: 600; }
input[type="range"].fare-slider {
  width: 100%; appearance: none; -webkit-appearance: none;
  height: 8px; border-radius: 999px;
  background: linear-gradient(90deg, var(--purple-800) var(--fill, 40%), var(--purple-100) var(--fill, 40%));
  outline: none; margin: 12px 0 20px;
}
input[type="range"].fare-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: #fff; border: 3px solid var(--purple-800);
  box-shadow: var(--shadow-sm); cursor: grab;
}
input[type="range"].fare-slider::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 3px solid var(--purple-800); cursor: grab;
}
.fare-demo .demo-note { text-align: center; font-size: .75rem; color: var(--muted); margin-top: 14px; }
.fare-demo .btn { width: 100%; }

/* ---------- ride options ---------- */
.rides-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ride-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  background: #fff;
}
.ride-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--purple-300); }
.ride-card .ride-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--purple-50); color: var(--purple-800);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.ride-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.ride-card p { color: var(--muted); font-size: .9rem; }
.ride-card .tag {
  display: inline-block; margin-top: 16px;
  font-size: .74rem; font-weight: 700;
  background: var(--purple-50); color: var(--purple-700);
  padding: 5px 12px; border-radius: 999px;
}

/* ---------- safety ---------- */
.safety { background: linear-gradient(180deg, #fff 0%, var(--purple-50) 100%); }
.safety-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.safety-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; gap: 20px; align-items: flex-start;
  transition: transform .2s ease, box-shadow .2s ease;
}
.safety-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.safety-card .s-icon {
  flex: none; width: 50px; height: 50px; border-radius: 14px;
  background: var(--purple-800); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.safety-card h3 { font-size: 1.06rem; margin-bottom: 6px; }
.safety-card p { color: var(--muted); font-size: .92rem; }

/* ---------- swansea ---------- */
.wales-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.wales-list { list-style: none; display: grid; gap: 16px; margin-top: 28px; }
.wales-list li {
  display: flex; gap: 14px; align-items: center;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 16px 20px;
  font-weight: 600; font-size: .95rem;
  transition: transform .2s ease, border-color .2s ease;
}
.wales-list li:hover { transform: translateX(6px); border-color: var(--purple-300); }
.wales-list .li-icon { color: var(--purple-800); flex: none; }
.wales-list small { display: block; font-weight: 500; color: var(--muted); }
.cymru-flair {
  margin-top: 30px; font-weight: 700; color: var(--purple-800); font-size: .95rem;
  display: flex; align-items: center; gap: 10px;
}

.map-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 40%, rgba(64,18,104,.10) 0, transparent 34%),
    radial-gradient(circle at 68% 60%, rgba(64,18,104,.14) 0, transparent 30%),
    linear-gradient(150deg, #efe8f8 0%, #f9f6fd 60%, #ece3f7 100%);
  border: 1px solid var(--line);
  min-height: 440px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  padding: 30px;
}
.map-card .wales-svg { width: 100%; max-width: 420px; height: auto; position: relative; z-index: 1; }
.map-card .map-lines {
  position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(var(--purple-100) 1px, transparent 1px),
    linear-gradient(90deg, var(--purple-100) 1px, transparent 1px);
  background-size: 44px 44px;
}
.map-pin {
  position: absolute; display: flex; flex-direction: column; align-items: center; gap: 6px;
  transform: translate(-50%, -100%);
}
.map-pin .pin-dot {
  width: 40px; height: 40px; border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
  background: var(--purple-800);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
}
.map-pin .pin-dot svg { transform: rotate(45deg); color: #fff; }
.map-pin span {
  background: #fff; font-size: .74rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.map-pin.soon .pin-dot { background: var(--purple-300); }

/* ---------- driver banner ---------- */
.driver-banner {
  background:
    radial-gradient(900px 400px at 90% 0%, rgba(140, 80, 200, .35) 0%, transparent 60%),
    linear-gradient(135deg, var(--purple-950) 0%, var(--purple-800) 100%);
  color: #fff;
  border-radius: 34px;
  padding: 74px 66px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.driver-banner h2 { color: #fff; }
.driver-banner p { color: rgba(255,255,255,.78); margin: 18px 0 30px; font-size: 1.06rem; }
.driver-banner .btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.commission-compare { display: grid; gap: 14px; }
.commission-row {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px; padding: 18px 22px;
}
.commission-row .who { font-weight: 700; width: 108px; flex: none; }
.commission-row .bar-track { flex: 1; height: 10px; background: rgba(255,255,255,.14); border-radius: 999px; overflow: hidden; }
.commission-row .bar { height: 100%; border-radius: 999px; background: rgba(255,255,255,.45); width: 0; transition: width 1.1s cubic-bezier(.2,.7,.2,1); }
.commission-row.glide .bar { background: #9ff0c9; }
.commission-row .pct { font-weight: 800; width: 74px; text-align: right; flex: none; }
.commission-row.glide .pct { color: #9ff0c9; }
.commission-note { font-size: .8rem; color: rgba(255,255,255,.55); margin-top: 4px; }

/* ---------- download ---------- */
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.download-card {
  border: 1px solid var(--line); border-radius: 26px; padding: 44px;
  display: flex; gap: 30px; align-items: center;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.download-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.qr-placeholder {
  flex: none; width: 132px; height: 132px; border-radius: 18px;
  border: 2px dashed var(--purple-300);
  background: var(--purple-50);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  color: var(--purple-600); text-align: center; font-size: .68rem; font-weight: 700; padding: 10px;
}
.download-card h3 { margin-bottom: 6px; }
.download-card p { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }

/* ---------- page hero (subpages) ---------- */
.page-hero {
  padding: 90px 0 70px;
  background:
    radial-gradient(900px 420px at 90% -20%, var(--purple-100) 0%, transparent 60%),
    var(--purple-50);
}
.page-hero .lead { margin-top: 20px; }

/* ---------- drive page ---------- */
.earn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.earn-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.earn-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.earn-card .big { font-size: 2.2rem; font-weight: 800; color: var(--purple-800); letter-spacing: -.03em; }
.earn-card h3 { font-size: 1.05rem; margin: 8px 0 8px; }
.earn-card p { color: var(--muted); font-size: .92rem; }

.fee-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.fee-table th, .fee-table td { padding: 18px 22px; text-align: left; font-size: .95rem; }
.fee-table th { background: var(--purple-800); color: #fff; font-weight: 700; }
.fee-table tr:nth-child(even) td { background: var(--purple-50); }
.fee-table td strong { color: var(--purple-800); }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }

.req-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.req-list li {
  display: flex; gap: 14px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 22px; font-weight: 600; font-size: .95rem;
}
.req-list .tick {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--purple-50); color: var(--purple-800);
  display: flex; align-items: center; justify-content: center;
}

.timeline { display: grid; gap: 0; max-width: 720px; }
.timeline-item { display: grid; grid-template-columns: 56px 1fr; gap: 22px; }
.timeline-item .t-rail { display: flex; flex-direction: column; align-items: center; }
.timeline-item .t-dot {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--purple-800); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.timeline-item .t-line { flex: 1; width: 2px; background: var(--line); margin: 8px 0; min-height: 34px; }
.timeline-item:last-child .t-line { display: none; }
.timeline-item .t-body { padding-bottom: 40px; }
.timeline-item h3 { margin-bottom: 6px; font-size: 1.08rem; }
.timeline-item p { color: var(--muted); font-size: .95rem; max-width: 54ch; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 22px 26px; font: inherit; font-weight: 700; font-size: 1rem; text-align: left; color: var(--ink);
}
.faq-q .chev { flex: none; transition: transform .25s ease; color: var(--purple-800); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 26px 22px; color: var(--muted); font-size: .95rem; }

/* ---------- about ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.about-details {
  background: var(--purple-50); border: 1px solid var(--purple-100);
  border-radius: var(--radius); padding: 40px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.about-details h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--purple-600); margin-bottom: 10px; }
.about-details p { font-size: .95rem; color: var(--ink); }
.about-details a { color: var(--purple-800); font-weight: 700; }

/* ---------- decorative route ---------- */
.deco-route {
  position: absolute; pointer-events: none; z-index: 0;
}
.driver-banner .deco-route { right: -60px; bottom: -50px; width: 430px; opacity: .5; }
.cta-band .deco-route { right: -50px; top: 50%; transform: translateY(-50%); width: 400px; opacity: .9; }
.cta-band .deco-route-l { left: -70px; right: auto; transform: translateY(-50%) scaleX(-1); opacity: .45; }
.driver-banner > div, .cta-band > :not(.deco-route) { position: relative; z-index: 1; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center; background: var(--purple-50); border-radius: 34px; padding: 80px 40px;
  position: relative; overflow: hidden;
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { color: var(--muted); margin-bottom: 34px; }
.cta-band .store-buttons { justify-content: center; }

/* ---------- footer ---------- */
footer {
  background: var(--purple-950);
  color: rgba(255,255,255,.72);
  padding: 72px 0 36px;
  margin-top: 40px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand svg { height: 26px; width: auto; color: #fff; margin-bottom: 18px; }
.footer-brand p { font-size: .9rem; max-width: 34ch; }
.footer-brand .cymru { margin-top: 18px; font-size: .85rem; font-weight: 600; color: var(--purple-300); }
footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
footer ul { list-style: none; display: grid; gap: 12px; }
footer ul a { font-size: .92rem; transition: color .15s ease; }
footer ul a:hover { color: #fff; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 30px;
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: .8rem; color: rgba(255,255,255,.45);
}
.footer-legal .links { display: flex; gap: 22px; }
.footer-legal a:hover { color: #fff; }
.footer-company { font-size: .78rem; color: rgba(255,255,255,.45); margin-top: 14px; line-height: 1.7; }

/* ---------- legal pages ---------- */
.legal { max-width: 780px; margin: 0 auto; padding: 60px 0 40px; }
.legal .updated { color: var(--muted); font-size: .9rem; margin: 6px 0 40px; }
.legal h2 { font-size: 1.4rem; margin: 40px 0 14px; }
.legal h3 { font-size: 1.05rem; margin: 26px 0 8px; }
.legal p, .legal li { color: #3a2f48; font-size: 1rem; line-height: 1.75; }
.legal p { margin-bottom: 16px; }
.legal ul { margin: 0 0 16px 22px; display: grid; gap: 8px; }
.legal a { color: var(--purple-800); font-weight: 600; }
.legal .note {
  background: var(--purple-50); border: 1px solid var(--purple-100);
  border-radius: var(--radius-sm); padding: 18px 22px; margin: 24px 0; font-size: .95rem;
}
.legal table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; }
.legal table th, .legal table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: top; }
.legal table th { color: var(--purple-800); font-weight: 700; }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .rides-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 70px; }
  .hero-visual { margin-top: 10px; }
  .fare-grid, .wales-grid { grid-template-columns: 1fr; gap: 56px; }
  .driver-banner { grid-template-columns: 1fr; padding: 56px 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .earn-grid, .values-grid { grid-template-columns: 1fr 1fr; }
  .about-details { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  section { padding: 68px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .nav-mobile {
    flex-direction: column; gap: 4px;
    padding: 10px 0 24px; border-top: 1px solid var(--line);
  }
  .nav-mobile.open { display: flex; }
  .nav-mobile a { padding: 13px 6px; font-weight: 600; color: var(--ink); border-radius: 10px; }
  .nav-mobile a:hover { background: var(--purple-50); color: var(--purple-800); }
  .nav-mobile .btn { margin-top: 12px; }
  .trust-strip .container { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .safety-grid, .rides-grid, .download-grid { grid-template-columns: 1fr; }
  .safety-layout { grid-template-columns: 1fr; }
  .safety-layout .mini-phone { order: -1; }
  .earn-grid, .values-grid, .req-list, .about-details { grid-template-columns: 1fr; }
  .float-card.fc-offer { left: 0; }
  .float-card.fc-driver { right: 0; }
  .driver-banner { padding: 44px 28px; border-radius: 24px; }
  .download-card { flex-direction: column; align-items: flex-start; }
  .cta-band { padding: 60px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 56px 0 80px; }
  .hero-stats { gap: 26px; }
}
