/* ===================================================================
   DriverHub — landing page styles
   Theme: modern dark + blue→green brand gradient (matches logo)
   =================================================================== */

:root {
  --bg:        #0A0E13;
  --bg-2:      #0E131A;
  --surface:   #131922;
  --surface-2: #18202B;
  --border:    rgba(255, 255, 255, 0.08);
  --border-2:  rgba(255, 255, 255, 0.14);
  --text:      #EDEFF2;
  --muted:     #9AA3AE;
  --muted-2:   #828C98; /* AA contrast on --bg/--bg-2 (was #6B7480, ~3.9:1) */
  --accent:    #1AA7E0;
  --accent-2:  #36C06A;
  --accent-ink: #052A40;
  --accent-soft: rgba(26, 167, 224, 0.12);
  --radius:    16px;
  --radius-lg: 24px;
  --maxw:      1140px;
  --shadow:    0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --font:      'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display:   'Space Grotesk', var(--font);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 820px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-ink);
  box-shadow: 0 10px 30px -10px rgba(26, 167, 224, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(26, 167, 224, 0.65); }

/* ===================================================================
   Header
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 13, 16, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: inline-flex; }
.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.brand-name span {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav { display: flex; align-items: center; gap: 6px; }
.nav > a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}
.nav > a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-cta { color: var(--accent-ink) !important; margin-left: 8px; }
.nav-cta:hover { color: var(--accent-ink) !important; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.lang-toggle .lang-opt { transition: color .2s ease; }
.lang-toggle .lang-opt.active {
  color: var(--accent);
  text-decoration: underline;             /* state is not conveyed by colour alone */
  text-underline-offset: 3px;
}
.lang-sep { color: var(--muted-2); }

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.menu-btn span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================================================================
   Hero
   =================================================================== */
.hero { position: relative; overflow: hidden; padding: 72px 0 80px; }
.hero-glow {
  position: absolute;
  top: -180px; right: -120px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(26,167,224,0.16), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(26,167,224,.2);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 32px;
}

/* Store buttons */
.store-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.store-buttons.center { justify-content: center; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  padding: 11px 20px;
  color: var(--text);
  transition: transform .15s ease, border-color .2s ease, background .2s ease;
}
.store-btn:hover { transform: translateY(-2px); border-color: var(--accent); background: var(--surface-2); }
.store-btn svg { color: var(--text); flex-shrink: 0; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-btn small { font-size: 11px; color: var(--muted); }
.store-btn strong { font-size: 17px; font-weight: 600; font-family: var(--display); }

/* Hero QR */
.hero-qr { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.qr-card {
  background: #fff;
  padding: 9px;
  border-radius: 12px;
  line-height: 0;
  box-shadow: var(--shadow);
}
.qr-card.big { padding: 14px; border-radius: 16px; }
.hero-qr p { font-size: 14px; font-weight: 600; }
.hero-qr p span { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }

/* ---------- Phone mockup ---------- */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative;
  width: min(300px, calc(100vw - 48px)); /* never wider than the padded viewport (320px screens) */
  height: 610px;
  background: #0a0c0f;
  border: 10px solid #1c2128;
  border-radius: 46px;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.05);
  overflow: hidden;
  animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.phone-notch {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 26px;
  background: #1c2128;
  border-radius: 0 0 16px 16px;
  z-index: 5;
}
.phone-screen { position: absolute; inset: 0; border-radius: 36px; overflow: hidden; }

.map {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, #1b2a25, transparent 55%),
    radial-gradient(circle at 80% 70%, #25201a, transparent 55%),
    #11151a;
}
.map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 38px 38px;
}
.route {
  position: absolute;
  left: 22%; top: 26%;
  width: 56%; height: 38%;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  border-radius: 0 0 0 18px;
  box-shadow: 0 0 20px rgba(26,167,224,.4);
  opacity: .9;
}
.pin {
  position: absolute;
  width: 16px; height: 16px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}
.pin-a { left: 20%; top: 24%; background: var(--accent); }
.pin-b { left: 75%; top: 60%; background: var(--accent-2); }
.driver-dot {
  position: absolute;
  width: 10px; height: 10px;
  background: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(52,211,153,.2);
}
.driver-dot.d1 { left: 40%; top: 40%; animation: pulse 2.4s infinite; }
.driver-dot.d2 { left: 62%; top: 30%; animation: pulse 2.4s .8s infinite; }
.driver-dot.d3 { left: 30%; top: 62%; animation: pulse 2.4s 1.6s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(52,211,153,.25);} 50% { box-shadow: 0 0 0 8px rgba(52,211,153,0);} }

.app-topbar {
  position: absolute;
  top: 48px; left: 16px; right: 16px;
  display: flex; align-items: center; gap: 10px;
  z-index: 4;
}
.search-pill {
  flex: 1;
  background: rgba(20,24,30,.92);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 13px;
  color: var(--muted);
}
.avatar {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 13px; font-weight: 700;
  border-radius: 50%;
}

.trip-sheet {
  position: absolute;
  left: 10px; right: 10px; bottom: 12px;
  background: rgba(15,18,22,.96);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 12px 16px 18px;
  z-index: 4;
}
.sheet-handle {
  width: 40px; height: 4px;
  background: var(--border-2);
  border-radius: 4px;
  margin: 0 auto 14px;
}
.tier-row { display: flex; gap: 8px; margin-bottom: 14px; }
.tier {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 0;
  border-radius: 10px;
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--border);
}
.tier.active { background: var(--accent-soft); color: var(--accent); border-color: rgba(26,167,224,.3); }
.car-line {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 12px;
  margin-bottom: 14px;
  font-size: 12.5px;
  color: var(--text);
}
.car-line .car-ico { display: inline-flex; color: var(--accent); }
.eta-row { display: flex; justify-content: space-between; margin-bottom: 14px; }
.eta-row > div { text-align: center; flex: 1; }
.eta-row strong { display: block; font-size: 15px; font-family: var(--display); }
.eta-row small { font-size: 11px; color: var(--muted); }
.book-cta {
  display: block;
  text-align: center;
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 13px;
  font-weight: 700;
  font-size: 15px;
  font-family: var(--font);
  color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  cursor: default;
}

/* Concept label on the phone mockup (pre-launch honesty) */
.concept-chip {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  padding: 6px 14px;
}

.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  background: rgba(20,24,30,.97);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
}
.float-card strong { display: block; font-size: 13px; }
.float-card small { font-size: 11px; color: var(--muted); }
.fc-1 { top: 80px; left: -14px; animation: floatY 5s ease-in-out infinite; }
.fc-dot { width: 10px; height: 10px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.2); }

/* ===================================================================
   Sections
   =================================================================== */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-2); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.kicker {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-head h2, .section h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.section-lead { color: var(--muted); font-size: 18px; margin-top: 16px; }

/* Vision / Mission */
.vm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vm-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .25s ease, border-color .25s ease;
}
.vm-card:hover { transform: translateY(-4px); border-color: var(--border-2); }
.vm-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  background: var(--accent-soft);
  border-radius: 14px;
  margin-bottom: 16px;
  color: var(--accent);
}
.vm-card h3 { font-family: var(--display); font-size: 21px; margin-bottom: 10px; }
.vm-card p { color: var(--muted); font-size: 15px; }

/* Steps */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
}
.step-num {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  font-family: var(--display);
  font-weight: 700; font-size: 19px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(26,167,224,.25);
  margin-bottom: 18px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; font-family: var(--display); }
.step p { color: var(--muted); font-size: 14.5px; }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
/* With exactly 7 cards the last one is stranded on the left of its own row —
   centre it. Applies only in the 3-column layout, and only at 7 cards. */
@media (min-width: 961px) {
  .feature-grid > :nth-child(7):nth-last-child(1) { grid-column: 2; }
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.feature:hover { transform: translateY(-4px); border-color: var(--border-2); background: var(--surface-2); }
.feature-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  background: var(--accent-soft);
  border-radius: 14px;
  margin-bottom: 18px;
  color: var(--accent);
}
.feature h3 { font-size: 18px; margin-bottom: 8px; font-family: var(--display); }
.feature p { color: var(--muted); font-size: 14.5px; }

/* For drivers */
.section-driver {
  background:
    radial-gradient(circle at 85% 10%, rgba(26,167,224,.08), transparent 45%),
    var(--bg);
}
.driver-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.driver-copy h2 { margin-bottom: 18px; }
.driver-copy > p { color: var(--muted); font-size: 17px; margin-bottom: 24px; }
.driver-benefits { list-style: none; margin-bottom: 30px; display: grid; gap: 12px; }
.driver-benefits li {
  position: relative;
  padding-left: 32px;
  font-size: 15.5px;
}
.driver-benefits li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  font-size: 12px; font-weight: 700;
}
.driver-steps {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.driver-steps h2, .driver-steps h3 { font-family: var(--display); font-size: 21px; letter-spacing: normal; margin-bottom: 24px; }
.kyc-step { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--border); }
.kyc-step:first-of-type { border-top: 0; padding-top: 0; }
.kyc-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-ink);
  font-weight: 700; font-family: var(--display);
}
.kyc-step strong { display: block; margin-bottom: 4px; font-size: 16px; }
.kyc-step p { color: var(--muted); font-size: 14px; }

/* Download */
.download-section { position: relative; overflow: hidden; }
.download-inner {
  position: relative;
  text-align: center;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-2);
  border-radius: 32px;
  padding: 64px 32px;
}
.download-glow {
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 480px; height: 360px;
  background: radial-gradient(circle, rgba(26,167,224,.18), transparent 65%);
  pointer-events: none;
}
.download-inner h2 { position: relative; margin-bottom: 14px; }
.download-inner > p { position: relative; color: var(--muted); font-size: 18px; max-width: 520px; margin: 0 auto 32px; }
.download-inner .store-buttons { position: relative; margin-bottom: 36px; }
.download-qr { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 12px; }
.download-qr span { font-size: 14px; color: var(--muted); }

/* FAQ */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 22px;
  transition: border-color .2s ease;
}
.faq-item[open] { border-color: var(--border-2); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 16.5px;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  content: "+" / ""; /* alt-text form: decorative, not read by screen readers */
  font-size: 24px;
  color: var(--accent);
  font-weight: 400;
  transition: transform .25s ease;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); font-size: 15px; padding: 0 0 20px; max-width: 92%; }

/* ===================================================================
   Footer
   =================================================================== */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); padding-top: 56px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 48px; padding-bottom: 40px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; margin-top: 14px; max-width: 280px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h3, .footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-2); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); font-size: 14.5px; padding: 5px 0; transition: color .2s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 22px; padding-bottom: 28px;
  font-size: 13.5px;
  color: var(--muted);
}
.footer-bottom a:hover { color: var(--accent); }

/* ===================================================================
   Reveal animation
   =================================================================== */
/* Only hide reveal-elements when JS is running (html.js set by inline head script);
   without JS the page stays fully visible. */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  /* copy + waitlist CTA first on mobile; the concept mockup follows */
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-copy { text-align: center; }
  .store-buttons, .hero-qr { justify-content: center; }
  .vm-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .driver-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .vm-grid, .feature-grid, .steps { grid-template-columns: 1fr; }
  .download-inner { padding: 44px 22px; }
  .hero { padding: 48px 0 56px; }
  .hero-qr { flex-direction: column; text-align: center; gap: 12px; }
}

/* Nav collapses at 840px: below that the 6 desktop links + language toggle
   no longer fit the 72px header row (they overflowed at 768px tablets). */
@media (max-width: 840px) {
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(11,13,16,.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    transform: translateY(-120%);
    /* visibility keeps the closed menu out of the tab order and a11y tree */
    visibility: hidden;
    transition: transform .3s ease, visibility .3s;
    z-index: 90;
  }
  .nav.open { transform: translateY(0); visibility: visible; }
  .nav > a { padding: 13px 16px; font-size: 16px; }
  .nav-cta { margin: 8px 0 0; text-align: center; }
  .menu-btn { display: flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .lang-toggle { min-height: 44px; }
}

@media (max-width: 480px) {
  /* long Danish labels (e.g. "Privatlivspolitik") don't fit three columns */
  .footer-cols { grid-template-columns: 1fr; gap: 20px; }
  /* let button labels wrap instead of forcing containers wider */
  .btn { white-space: normal; }
  .store-buttons { flex-direction: column; align-items: center; }
  .store-btn { width: 100%; max-width: 280px; justify-content: center; }
}

@media (max-width: 420px) {
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ===================================================================
   v3 additions — designated-driver copy, two apps, new sections
   =================================================================== */

/* Hero CTAs + "no" pills */
.btn-ghost { background: var(--surface); border: 1px solid var(--border-2); color: var(--text); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--accent); }
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-nos { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-nos li {
  font-size: 13.5px; font-weight: 600; color: var(--text);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 7px 14px;
}
.hero-nos li::before { content: "✕"; color: var(--accent); font-weight: 700; margin-right: 7px; }

/* Hero trust badges (above the fold) */
.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 24px;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.hero-trust li::before {
  content: "✓";
  color: var(--accent-2);
  font-weight: 800;
}

/* Lead band */
.section-tight { padding: 56px 0; }
.lead-band { text-align: center; max-width: 760px; margin: 0 auto; }
.lead-band h2 { font-family: var(--display); font-size: clamp(24px, 3.6vw, 34px); letter-spacing: -0.02em; }
.lead-band .lead-sub { color: var(--accent); font-weight: 600; font-size: 18px; margin-top: 6px; }
.lead-band p:not(.lead-sub) { color: var(--muted); font-size: 17px; margin-top: 18px; }

/* 3-up steps */
.steps-3 { grid-template-columns: repeat(3, 1fr); }

/* Timeline */
.timeline { list-style: none; position: relative; margin-top: 8px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: var(--border-2); }
.tl-item { position: relative; padding: 0 0 26px 40px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: 2px; top: 3px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}
.tl-time { display: block; font-family: var(--display); font-weight: 700; color: var(--accent); font-size: 14px; letter-spacing: .03em; }
.tl-text { color: var(--text); font-size: 16.5px; margin-top: 2px; }
.tl-foot { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }
.tl-foot span {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 600; color: var(--muted);
}

/* Check grids (safety + why-choose) */
.check-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; max-width: 760px; margin: 0 auto; }
.check-grid li { position: relative; padding-left: 36px; font-size: 16px; }
.check-grid li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  border-radius: 50%; font-size: 13px; font-weight: 700;
}
.safety-foot { text-align: center; margin-top: 32px; font-family: var(--display); font-size: 19px; color: var(--text); }

/* Nationwide coverage band */
.coverage-band {
  text-align: center; max-width: 720px; margin: 0 auto;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-2); border-radius: 24px; padding: 44px 32px;
}
.coverage-flag { display: flex; justify-content: center; margin-bottom: 14px; }
.coverage-flag svg { border-radius: 4px; box-shadow: 0 4px 14px -6px rgba(0,0,0,.6); }
.coverage-band h2 { font-family: var(--display); font-size: clamp(24px, 3.6vw, 34px); letter-spacing: -0.02em; }
.coverage-band p { color: var(--muted); font-size: 17px; margin-top: 14px; }

/* Driver requirements note */
.driver-note { font-size: 13.5px; color: var(--muted-2); margin: -14px 0 26px; }
.driver-note--center { margin: 28px 0 0; text-align: center; }
.driver-req {
  font-size: 14px; color: var(--muted);
  background: var(--accent-soft); border: 1px solid rgba(26,167,224,.22);
  border-radius: 12px; padding: 12px 16px; margin-bottom: 26px;
}

/* Footer extras */
.footer-slogan { font-weight: 600; color: var(--text) !important; }
.footer-eco { font-size: 13px !important; color: var(--muted-2) !important; margin-top: 8px !important; }

/* Social links (real brand marks, footer) */
.social-links {
  list-style: none;
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;              /* comfortable touch target */
  border-radius: 13px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .15s ease, border-color .2s ease, background .2s ease;
}
.social-links a:hover {
  transform: translateY(-2px);
  border-color: var(--border-2);
  background: var(--surface-2);
}
.social-links svg { border-radius: 6px; }
.footer-eco a, .footer-company {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 600;
}
.footer-company:hover, .footer-eco a:hover { text-decoration: underline; }

/* ===================================================================
   Legal pages (privacy / terms)
   =================================================================== */
.legal-main { padding: 56px 0 80px; }
.legal-head { max-width: 820px; margin: 0 auto 28px; }
.legal-head h1 { font-family: var(--display); font-size: clamp(30px, 5vw, 44px); letter-spacing: -0.02em; }
.legal-updated { color: var(--muted-2); font-size: 14px; margin-top: 12px; }
.legal { max-width: 820px; margin: 0 auto; }
.legal .lead { font-size: 17px; color: var(--text); margin-bottom: 8px; }
.legal h2 {
  font-family: var(--display); font-size: 22px;
  margin: 38px 0 12px; padding-top: 22px; border-top: 1px solid var(--border);
}
.legal h3 { font-size: 16.5px; margin: 22px 0 8px; color: var(--text); }
.legal p, .legal li { color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.legal p { margin-bottom: 12px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--accent); }
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--text); font-weight: 600; }
.legal-note {
  background: var(--surface); border: 1px solid var(--border-2);
  border-left: 3px solid var(--accent); border-radius: 12px;
  padding: 14px 18px; font-size: 14.5px; margin: 18px 0;
}
.legal-note p { margin-bottom: 0; }

/* Responsive for v3 */
@media (max-width: 960px) {
  .hero-cta-row, .hero-nos, .hero-trust { justify-content: center; }
  .steps-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .check-grid { grid-template-columns: 1fr; gap: 12px; max-width: 420px; }
}

/* ===================================================================
   Accessibility: skip link + visible keyboard focus
   =================================================================== */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 0 0 12px 12px;
  transition: top .2s ease;
}
.skip-link:focus-visible { top: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.faq-item summary:focus-visible { outline-offset: -2px; }
