:root {
  --ink: #1f2328;
  --muted: #5a6169;
  --paper: #f8f6f2;
  --panel: #ffffff;
  --line: #e7e7e7;
  --brand: #1f2328;
  --brand-dark: #1f2328;
  --gold: #8b7355;
  --champagne: #a08d75;
  --gold-text: #6f5a40;
  --ivory: #f8f6f2;
  --charcoal: #1f2328;
  --charcoal-2: #2d3136;
  --glass: rgba(255, 255, 255, 0.72);
  --soft: #efe7d8;
  --sand: #cbb89d;
  --stone: #b7aa95;
  --shadow: 0 18px 44px rgba(31, 35, 40, 0.11);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

.hidden {
  display: none !important;
}

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

.topbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 32px;
  position: sticky;
  top: 0;
  transition: background 260ms ease, border-color 260ms ease, box-shadow 260ms ease, color 260ms ease;
  z-index: 10;
}

.home-page .topbar {
  background: linear-gradient(180deg, rgba(31, 35, 40, 0.38), rgba(31, 35, 40, 0));
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  position: absolute;
  width: 100%;
}

.home-page .topbar.scrolled {
  background: rgba(248, 246, 242, 0.94);
  border-bottom-color: rgba(139, 115, 85, 0.22);
  box-shadow: 0 14px 36px rgba(31, 35, 40, 0.12);
  color: var(--ink);
  position: fixed;
}

.home-page .brand {
  color: var(--ink);
}

.home-page .nav a {
  color: #fff;
}

.home-page .topbar.scrolled .brand,
.home-page .topbar.scrolled .nav a {
  color: var(--ink);
}

.home-page .brand-mark {
  background: var(--brand);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  box-shadow: 0 10px 28px rgba(31, 35, 40, 0.14);
}

.home-page .nav a:hover,
.home-page .nav a.active {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.home-page .topbar.scrolled .nav a:hover,
.home-page .topbar.scrolled .nav a.active {
  background: var(--soft);
  color: var(--ink);
}

.brand,
.nav {
  align-items: center;
  display: flex;
  gap: 12px;
}

.brand {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.46);
  transition: opacity 180ms ease, transform 180ms ease;
}

.brand:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.brand-mark {
  align-items: center;
  background: var(--brand);
  border-radius: 8px;
  color: white;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.nav a {
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
  padding: 10px 12px;
  position: relative;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav a:hover,
.nav a.active {
  background: var(--soft);
  color: var(--ink);
  transform: translateY(-1px);
}

.nav a.nav-beta {
  border: 1px solid rgba(139, 115, 85, 0.34);
  color: var(--ink);
  font-size: 13px;
}

.home-page .nav a.nav-beta {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.nav-toggle {
  align-items: center;
  background: rgba(31, 35, 40, 0.94);
  border: 1px solid rgba(139, 115, 85, 0.34);
  border-radius: 8px;
  cursor: pointer;
  display: none;
  height: 42px;
  justify-content: center;
  padding: 0;
  width: 44px;
}

.nav-toggle span {
  background: #fff;
  border-radius: 99px;
  display: block;
  height: 2px;
  position: absolute;
  transition: opacity 160ms ease, transform 160ms ease;
  width: 20px;
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-7px);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(7px);
}

.topbar.open .nav-toggle span:nth-child(1) {
  transform: rotate(45deg);
}

.topbar.open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.topbar.open .nav-toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

.home-page .nav-toggle {
  background: rgba(31, 35, 40, 0.44);
  border-color: rgba(255, 255, 255, 0.34);
}

.hero {
  align-items: center;
  background: var(--paper);
  color: white;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1fr);
  min-height: 100vh;
  padding: 128px clamp(22px, 5vw, 72px) 58px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  animation: hero-lux-zoom 18s ease-out both;
  background:
    radial-gradient(circle at 24% 78%, rgba(203, 184, 157, 0.16), transparent 34%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.72), rgba(12, 13, 14, 0.42) 48%, rgba(5, 5, 5, 0.2)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.2) 45%, rgba(0, 0, 0, 0.46)),
    url("/assets/main-image-limo.png");
  background-position: center;
  background-size: cover;
  content: "";
  inset: 0;
  position: absolute;
  transform: scale(1.018);
  transform-origin: center;
  z-index: -1;
}

.hero-copy {
  bottom: clamp(54px, 9vh, 110px);
  left: clamp(22px, 5vw, 72px);
  max-width: 760px;
  position: absolute;
  right: clamp(22px, 5vw, 72px);
  transform: none;
}

.home-page .hero-copy .eyebrow {
  animation: hero-fade-up 780ms ease both;
}

.home-page .hero-copy h1 {
  animation: hero-fade-up 900ms ease 140ms both;
}

.home-page .hero-copy .lede {
  animation: hero-fade-up 900ms ease 300ms both;
}

.home-page .hero-actions {
  animation: hero-fade-up 860ms ease 500ms both;
}

.eyebrow {
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.home-page .eyebrow {
  color: #eadfcd;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(48px, 7vw, 88px);
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: 24px;
}

h2 {
  font-size: 24px;
  letter-spacing: 0;
  line-height: 1.16;
}

h3 {
  font-size: 18px;
}

.lede {
  color: var(--muted);
  font-size: 22px;
  line-height: 1.45;
  max-width: 680px;
}

.home-page .lede {
  color: rgba(255, 255, 255, 0.9);
}

.home-page h1,
.home-page h2,
.home-page h3 {
  color: inherit;
}

.home-page .hero-copy {
  text-shadow: 0 16px 38px rgba(0, 0, 0, 0.58);
}

.hero-actions,
.ride-actions,
.dispatch-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nav {
  flex-wrap: wrap;
}

.button {
  align-items: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  box-shadow: 0 16px 36px rgba(31, 35, 40, 0.18);
  transform: translateY(-2px);
}

.button.primary {
  background: var(--brand);
  color: white;
}

.home-page .button.primary {
  background: var(--brand);
  box-shadow: 0 18px 42px rgba(31, 35, 40, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.18) inset;
  color: #fff;
}

.button.primary:hover,
.home-page .button.primary:hover {
  background: var(--gold);
  color: #fff;
}

.button.secondary {
  background: white;
  border: 1px solid var(--ink);
  color: var(--ink);
}

.home-page .button.secondary {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 1px rgba(31, 35, 40, 0.06) inset;
  color: var(--ink);
  backdrop-filter: blur(10px);
}

.button.small {
  font-size: 13px;
  min-height: 36px;
  padding: 0 12px;
}

.button.full {
  width: 100%;
}

.hero-panel {
  align-content: center;
  background:
    linear-gradient(160deg, rgba(31, 35, 40, 0.18), rgba(31, 35, 40, 0.44)),
    url("/assets/main-image-limo.png");
  background-position: center;
  background-size: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: white;
  display: grid;
  min-height: 520px;
  padding: 28px;
}

.home-page .hero-panel {
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(8px);
}

.route-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 18px;
  margin-top: auto;
  padding: 22px;
}

.label {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.route-meta,
.value-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.route-meta span,
.value-strip span,
.pill {
  background: var(--soft);
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 10px;
}

.value-strip {
  align-self: start;
}

.value-strip span {
  background: rgba(255, 255, 255, 0.18);
  color: white;
}

.band,
.app-shell {
  padding: 40px clamp(18px, 4vw, 56px) 64px;
}

.market-band {
  padding-top: 62px;
}

.section-head {
  max-width: 760px;
}

.feature-grid,
.metric-grid,
.admin-grid,
.requirement-list,
.document-grid {
  display: grid;
  gap: 16px;
}

.document-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.vehicle-grid,
.service-card-grid,
.guide-grid {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.vehicle-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feature-grid article,
.vehicle-card,
.service-card-grid article,
.guide-card,
.choice-grid article,
.metric-grid article,
.reward-hero {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(31, 35, 40, 0.06);
}

.panel,
.approval-card,
.approval-document,
.ride-card,
.reward-item,
.compact-list article,
.requirement-list article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(16, 32, 28, 0.05);
}

.feature-grid article,
.service-card-grid article,
.guide-card,
.choice-grid article,
.vehicle-card {
  padding: 24px;
}

.choice-band {
  background: linear-gradient(180deg, #ffffff, var(--paper));
}

.choice-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 26px;
}

.choice-grid article {
  min-height: 150px;
}

.choice-grid span {
  color: var(--gold-text);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 18px;
}

.choice-grid h3 {
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.18;
  margin: 0;
}

.vehicle-card {
  background:
    radial-gradient(circle at 20% 10%, rgba(203, 184, 157, 0.26), transparent 32%),
    linear-gradient(145deg, #ffffff, #f4eee4);
  border-color: rgba(139, 115, 85, 0.22);
  box-shadow: 0 24px 70px rgba(31, 35, 40, 0.12);
  color: var(--ink);
  min-height: 280px;
  overflow: hidden;
  position: relative;
}

.fleet-showcase .vehicle-card {
  display: grid;
  gap: 16px;
}

.fleet-showcase .vehicle-card img {
  aspect-ratio: 3 / 2;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(239, 231, 216, 0.6));
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  height: auto;
  object-fit: contain;
  padding: 0;
  width: 100%;
}

.vehicle-card::before {
  background: linear-gradient(90deg, rgba(139, 115, 85, 0), rgba(139, 115, 85, 0.58), rgba(139, 115, 85, 0));
  content: "";
  height: 1px;
  left: 20px;
  position: absolute;
  right: 20px;
  top: 0;
}

.vehicle-card span,
.guide-card span {
  color: var(--gold-text);
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.vehicle-card h3 {
  color: var(--ink);
  font-size: clamp(25px, 3vw, 36px);
  margin-bottom: 12px;
}

.vehicle-card p {
  color: var(--muted);
  line-height: 1.62;
}

.vehicle-card ul {
  color: var(--ink);
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 20px;
}

.service-card-grid article,
.guide-card {
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.service-card-grid article:hover,
.guide-card:hover,
.vehicle-card:hover {
  border-color: rgba(139, 115, 85, 0.42);
  box-shadow: 0 24px 60px rgba(31, 35, 40, 0.14), 0 0 0 1px rgba(139, 115, 85, 0.08) inset;
  transform: translateY(-4px);
}

.service-card-grid h3,
.guide-card h3 {
  margin-bottom: 10px;
}

.service-card-grid p,
.guide-card p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.home-page .market-band,
.home-page .service-band,
.home-page .explore-band,
.home-page .why-band {
  background:
    radial-gradient(circle at 86% 10%, rgba(203, 184, 157, 0.18), transparent 30%),
    linear-gradient(180deg, var(--paper), #ffffff);
  color: var(--ink);
}

.home-page .section-head h2,
.home-page .feature-grid h3,
.home-page .service-card-grid h3,
.home-page .guide-card h3 {
  color: var(--ivory);
}

.home-page .section-head h2,
.home-page .feature-grid h3,
.home-page .service-card-grid h3,
.home-page .guide-card h3 {
  color: var(--ink);
}

.home-page .market-band .eyebrow,
.home-page .choice-band .eyebrow,
.home-page .service-band .eyebrow,
.home-page .explore-band .eyebrow,
.home-page .why-band .eyebrow {
  color: var(--ink);
}

.home-page .feature-grid article,
.home-page .service-card-grid article,
.home-page .guide-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 246, 242, 0.9)),
    #ffffff;
  border-color: rgba(139, 115, 85, 0.2);
  box-shadow: 0 22px 56px rgba(31, 35, 40, 0.1);
  color: var(--ink);
}

.home-page .feature-grid p,
.home-page .service-card-grid p,
.home-page .guide-card p,
.home-page .muted,
.home-page .empty {
  color: var(--muted);
}

.explore-band {
  padding: 56px clamp(18px, 4vw, 56px) 70px;
}

.cta-band {
  align-items: center;
  background:
    radial-gradient(circle at 82% 8%, rgba(203, 184, 157, 0.34), transparent 30%),
    linear-gradient(135deg, var(--brand), #343027);
  color: #fff;
  display: flex;
  gap: clamp(18px, 4vw, 44px);
  justify-content: space-between;
  margin: 0;
  padding: clamp(28px, 5vw, 54px) clamp(18px, 4vw, 56px);
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 48px);
  margin: 0;
  max-width: 880px;
}

.cta-band .eyebrow {
  color: rgba(248, 246, 242, 0.82);
}

.cta-band .button.primary {
  background: #fff;
  color: var(--ink);
  flex: 0 0 auto;
}

.cta-actions,
.business-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-actions .button,
.business-actions .button {
  flex: 0 0 auto;
}

.footer-cta {
  margin-top: 0;
}

.testimonials-band {
  background: var(--paper);
  padding: 48px clamp(18px, 4vw, 56px);
}

.feature-grid p,
.muted,
.empty {
  color: var(--muted);
}

.activities-band {
  background:
    radial-gradient(circle at 12% 8%, rgba(203, 184, 157, 0.24), transparent 28%),
    linear-gradient(180deg, #ffffff, var(--soft));
  color: var(--ink);
  overflow: hidden;
  padding: 64px clamp(18px, 4vw, 56px) 78px;
}

.activities-band .section-head {
  max-width: 900px;
}

.activities-band h2 {
  color: var(--ink);
  font-size: clamp(30px, 4vw, 52px);
  max-width: 900px;
}

.activity-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.activity-card {
  background: #fff;
  border: 1px solid rgba(139, 115, 85, 0.22);
  border-radius: 8px;
  box-shadow: 0 20px 45px rgba(31, 35, 40, 0.1);
  overflow: hidden;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.activity-card:hover {
  border-color: rgba(139, 115, 85, 0.44);
  box-shadow: 0 28px 64px rgba(31, 35, 40, 0.14), 0 0 0 1px rgba(139, 115, 85, 0.08);
  transform: translateY(-5px);
}

.activity-media {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.62)),
    var(--activity-image);
  background-position: center;
  background-size: cover;
}

.activity-media.coachella {
  --activity-image: url("https://images.unsplash.com/photo-1492684223066-81342ee5ff30?auto=format&fit=crop&w=900&q=80");
}

.activity-media.tennis {
  --activity-image: url("https://images.unsplash.com/photo-1622279457486-62dcc4a431d6?auto=format&fit=crop&w=900&q=80");
}

.activity-media.film {
  --activity-image: url("https://images.unsplash.com/photo-1485846234645-a62644f84728?auto=format&fit=crop&w=900&q=80");
}

.activity-media.arena {
  --activity-image: url("https://images.unsplash.com/photo-1540039155733-5bb30b53aa14?auto=format&fit=crop&w=900&q=80");
}

.activity-media.airport {
  --activity-image: url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=900&q=80");
}

.activity-media.resorts {
  --activity-image: url("https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?auto=format&fit=crop&w=900&q=80");
}

.activity-copy {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035)),
    #11100e;
  color: var(--ivory);
  padding: 20px;
}

.activity-copy span {
  color: var(--champagne);
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.activity-copy h3 {
  color: var(--ivory);
  font-size: 21px;
  margin-bottom: 10px;
}

.activity-copy p {
  color: rgba(247, 241, 223, 0.72);
  line-height: 1.62;
  margin-bottom: 0;
}

@keyframes activity-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-lux-zoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.035);
  }
}

.reveal-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 720ms ease, transform 720ms ease;
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.activity-card.reveal-item.is-visible:hover,
.feature-grid article.reveal-item.is-visible:hover {
  transform: translateY(-5px);
}

.feature-grid article {
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.feature-grid article:hover {
  border-color: rgba(139, 115, 85, 0.34);
  box-shadow: 0 18px 42px rgba(31, 35, 40, 0.1);
  transform: translateY(-4px);
}

.compact {
  font-size: 13px;
  line-height: 1.35;
  margin: -2px 0 0;
}

.approval-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  padding: 16px;
}

.approval-card-head,
.approval-row {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.approval-card-head span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.approval-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.approval-grid div {
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 10px;
}

.approval-grid span:first-child {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.status-chip {
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 9px;
  text-transform: capitalize;
}

.status-chip.ok {
  background: rgba(22, 101, 52, 0.12);
  color: #166534;
}

.status-chip.warn {
  background: rgba(161, 98, 7, 0.14);
  color: #92400e;
}

.status-chip.bad {
  background: rgba(153, 27, 27, 0.12);
  color: #991b1b;
}

.approval-document {
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.document-preview {
  align-items: center;
  background: #101010;
  border: 1px solid #222;
  border-radius: 8px;
  color: #f7f2df;
  display: flex;
  justify-content: center;
  min-height: 160px;
  overflow: hidden;
}

.document-preview img {
  display: block;
  height: 100%;
  max-height: 260px;
  object-fit: contain;
  width: 100%;
}

.document-preview.empty-doc,
.document-preview.file-doc {
  color: #cbc7be;
  font-size: 13px;
  padding: 16px;
  text-align: center;
}

.doc-frame {
  height: 240px;
  width: 100%;
}

.page-title {
  margin-bottom: 26px;
  max-width: 920px;
}

.reward-hero {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 22px;
}

.reward-hero h2 {
  margin-bottom: 8px;
}

.reward-hero p:last-child {
  margin-bottom: 0;
}

.reward-balance {
  background: var(--ink);
  border-radius: 8px;
  color: white;
  min-width: 230px;
  padding: 18px;
}

.reward-balance span {
  color: #c7c7cc;
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.reward-balance strong {
  display: block;
  font-size: 42px;
  line-height: 1;
}

.page-title h1 {
  font-size: clamp(36px, 5vw, 60px);
}

.private-shell {
  margin: 0 auto;
  max-width: 720px;
}

.private-shell .page-title h1 {
  color: var(--ivory);
}

.private-shell .page-title .eyebrow {
  color: var(--champagne);
}

.login-panel {
  max-width: 460px;
}

.login-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}

.link-button {
  background: transparent;
  border: 0;
  color: var(--brand-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.link-button:hover {
  color: var(--gold-text);
}

.two-column {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(340px, 0.8fr) minmax(0, 1fr);
}

.two-column.narrow-left {
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
}

.panel {
  padding: 20px;
}

.panel-head {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.panel-head.subhead {
  border-top: 1px solid var(--line);
  margin-bottom: 4px;
  margin-top: 10px;
  padding-top: 16px;
}

.panel-head h2 {
  margin: 0;
}

.stack {
  display: grid;
  gap: 18px;
}

.form {
  display: grid;
  gap: 14px;
}

.notice {
  background: rgba(202, 184, 142, 0.08);
  border: 1px solid rgba(202, 184, 142, 0.3);
  border-radius: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  padding: 12px 14px;
}

.chauffeur-draft-notice {
  color: var(--ink);
}

.file-save-status {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.legal-acceptance-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 14px;
}

.legal-acceptance-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 10px 12px;
}

.legal-acceptance-row span {
  font-weight: 850;
}

.legal-acceptance-row strong {
  color: var(--bronze);
  font-size: 12px;
  white-space: nowrap;
}

body.modal-open {
  overflow: hidden;
}

.legal-review-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 18px;
  position: fixed;
  z-index: 1000;
}

.legal-review-backdrop {
  background: rgba(12, 12, 12, 0.62);
  inset: 0;
  position: absolute;
}

.legal-review-panel {
  background: var(--paper);
  border: 1px solid rgba(31, 35, 40, 0.14);
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  color: var(--ink);
  display: grid;
  gap: 14px;
  max-height: min(84vh, 820px);
  max-width: 860px;
  padding: 18px;
  position: relative;
  width: min(100%, 860px);
}

.legal-review-head,
.legal-review-actions {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.legal-review-head h2 {
  margin: 0;
}

.legal-review-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  line-height: 1.65;
  max-height: 58vh;
  overflow: auto;
  padding: 18px;
}

.legal-review-content a {
  color: var(--bronze);
  font-weight: 800;
  text-decoration: underline;
}

.legal-review-content h1,
.legal-review-content h2,
.legal-review-content h3 {
  color: var(--ink);
}

label {
  color: var(--muted);
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 7px;
}

.checkbox-row {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  line-height: 1.45;
}

.checkbox-row input {
  min-height: auto;
  margin-top: 3px;
  width: auto;
}

input,
select,
textarea {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 44px;
  padding: 11px 12px;
  width: 100%;
}

label small {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 5px;
}

textarea {
  resize: vertical;
}

.split {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 130px;
}

.form-message {
  color: var(--brand-dark);
  font-weight: 800;
  margin: 0;
  min-height: 22px;
}

.points {
  color: var(--brand-dark);
  font-size: 48px;
  font-weight: 950;
  line-height: 1;
}

.account-card {
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
  padding: 12px;
}

.account-card strong {
  font-size: 16px;
}

.account-card span {
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.ride-list,
.reward-list,
.compact-list {
  display: grid;
  gap: 12px;
}

.ride-card,
.reward-item,
.compact-list article,
.requirement-list article {
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.ride-list.large {
  gap: 14px;
}

.ride-main,
.route-line,
.ride-meta,
.reward-item,
.driver-stats {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.route-line,
.ride-meta {
  color: var(--muted);
  flex-wrap: wrap;
  font-size: 13px;
}

.route-line {
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.ride-meta {
  font-weight: 800;
  padding-top: 4px;
}

.map-link {
  color: var(--brand-dark);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  margin-top: 10px;
}

.contact-line {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 0;
}

.contact-line a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  padding: 22px clamp(18px, 4vw, 56px);
  text-align: center;
}

.legal-main {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) clamp(18px, 4vw, 34px);
}

.company-main {
  background:
    radial-gradient(circle at 18% 0%, rgba(203, 184, 157, 0.3), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 42%, var(--paper) 100%);
  min-height: calc(100vh - 72px);
  padding: clamp(30px, 6vw, 72px) clamp(18px, 4vw, 42px);
}

.company-page {
  margin: 0 auto;
  max-width: 1060px;
}

.company-hero {
  color: var(--ink);
  margin-bottom: 28px;
  max-width: 860px;
}

.company-hero h1 {
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  margin: 0 0 18px;
}

.company-hero p {
  color: var(--muted);
  font-size: clamp(18px, 2.6vw, 24px);
  line-height: 1.48;
  margin: 0;
}

.explore-hero-media {
  border: 1px solid rgba(139, 115, 85, 0.22);
  border-radius: 8px;
  box-shadow: 0 22px 64px rgba(31, 35, 40, 0.14);
  margin: 0 0 28px;
  overflow: hidden;
  position: relative;
}

.explore-hero-media::after {
  background: linear-gradient(180deg, transparent 50%, rgba(31, 35, 40, 0.08));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.explore-hero-media img {
  aspect-ratio: 16 / 9;
  display: block;
  height: auto;
  object-fit: cover;
  transition: transform 520ms ease, filter 520ms ease;
  width: 100%;
}

.explore-hero-media:hover img {
  filter: saturate(1.04) contrast(1.03);
  transform: scale(1.018);
}

.company-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 46px);
}

.company-card h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin: 34px 0 10px;
}

.company-card h2:first-child {
  margin-top: 0;
}

.company-card p,
.company-card li {
  color: #3e3a34;
  font-size: 16px;
  line-height: 1.72;
}

.company-card ul {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}

.company-card strong {
  color: var(--ink);
}

.business-benefits-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.business-roadmap {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 24px;
  padding: 24px;
}

.business-roadmap h3 {
  margin-top: 0;
}

.form-status {
  border-radius: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  margin: 12px 0 0;
  min-height: 24px;
}

.form-status.success {
  background: #eef7f0;
  border: 1px solid #b9dcc0;
  color: #166534;
  padding: 12px 14px;
}

.form-status.error {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #9f1239;
  padding: 12px 14px;
}

.company-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 22px 0;
}

.places-section {
  background: var(--soft);
  border: 1px solid rgba(139, 115, 85, 0.18);
  border-radius: 8px;
  margin-top: 34px;
  padding: clamp(20px, 3vw, 30px);
}

.places-section > h2 {
  margin-top: 0;
}

.places-section > p {
  max-width: 760px;
}

.place-grid {
  counter-reset: place-card;
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.place-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 246, 242, 0.86)),
    #fff;
  border: 1px solid rgba(31, 35, 40, 0.1);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(31, 35, 40, 0.08);
  counter-increment: place-card;
  display: grid;
  gap: 14px;
  overflow: hidden;
  padding: 20px;
  position: relative;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.place-card::before {
  align-items: center;
  background: var(--brand);
  border: 1px solid rgba(139, 115, 85, 0.32);
  border-radius: 999px;
  color: #fff;
  content: counter(place-card, decimal-leading-zero);
  display: inline-flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
  height: 34px;
  justify-content: center;
  letter-spacing: 0.08em;
  width: 34px;
}

.place-card::after {
  background: linear-gradient(90deg, var(--gold), transparent);
  content: "";
  height: 2px;
  left: 20px;
  opacity: 0.64;
  position: absolute;
  right: 20px;
  top: 0;
}

.place-card:hover {
  border-color: rgba(139, 115, 85, 0.38);
  box-shadow: 0 24px 52px rgba(31, 35, 40, 0.12);
  transform: translateY(-2px);
}

.place-card h3 {
  font-size: clamp(22px, 2.5vw, 30px);
  margin: 0;
}

.place-detail-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.place-detail {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(31, 35, 40, 0.08);
  border-radius: 8px;
  padding: 14px;
}

.place-detail strong {
  color: var(--gold-text);
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.place-detail p {
  margin: 0;
}

.company-callout {
  background: var(--brand);
  border: 1px solid rgba(139, 115, 85, 0.35);
  border-radius: 8px;
  color: #f7f2df;
  margin-top: 34px;
  padding: 22px;
}

.company-callout p {
  color: rgba(248, 246, 242, 0.82);
  margin-bottom: 0;
}

.explore-links,
.local-seo-block,
.explore-cta {
  border-radius: 8px;
  margin-top: 34px;
}

.explore-links {
  background: var(--paper);
  border: 1px solid rgba(139, 115, 85, 0.18);
  padding: 22px;
}

.explore-links h2,
.local-seo-block h2,
.explore-cta h2 {
  margin-top: 0;
}

.explore-links div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.explore-links a {
  background: #fff;
  border: 1px solid rgba(31, 35, 40, 0.12);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 900;
  padding: 10px 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.explore-links a:hover {
  border-color: rgba(139, 115, 85, 0.44);
  box-shadow: 0 14px 28px rgba(31, 35, 40, 0.08);
  color: var(--gold-text);
  transform: translateY(-2px);
}

.local-seo-block {
  background: #ffffff;
  border-left: 3px solid var(--gold);
  padding: 22px;
}

.local-seo-block p {
  margin-bottom: 12px;
}

.local-seo-block p:last-child {
  margin-bottom: 0;
}

.explore-cta {
  background:
    radial-gradient(circle at 78% 0%, rgba(203, 184, 157, 0.32), transparent 32%),
    linear-gradient(135deg, var(--brand), #343027);
  border: 1px solid rgba(139, 115, 85, 0.34);
  color: #fff;
  padding: clamp(22px, 4vw, 34px);
}

.explore-cta p {
  color: rgba(248, 246, 242, 0.82);
}

.explore-cta .button.secondary {
  background: transparent;
  border-color: rgba(248, 246, 242, 0.55);
  color: #fff;
}

.place-grid .explore-cta {
  grid-column: 1 / -1;
}

.company-contact {
  background: rgba(203, 184, 157, 0.16);
  border-left: 3px solid var(--gold);
  margin: 22px 0;
  padding: 16px 18px;
}

.company-contact a {
  color: var(--ink);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 46px);
}

.legal-kicker {
  color: var(--gold-text);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.legal-card h1 {
  font-size: clamp(34px, 6vw, 58px);
  line-height: 0.98;
  margin: 0 0 12px;
}

.legal-meta,
.legal-disclaimer {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.legal-disclaimer {
  background: rgba(202, 184, 142, 0.12);
  border-left: 3px solid var(--gold);
  margin: 24px 0 30px;
  padding: 14px 16px;
}

.legal-card h2 {
  font-size: 21px;
  margin: 28px 0 8px;
}

.legal-card p,
.legal-card li {
  color: #3e3a34;
  font-size: 16px;
  line-height: 1.72;
}

.legal-card ul {
  padding-left: 22px;
}

.legal-footer {
  background:
    radial-gradient(circle at 12% 0%, rgba(203, 184, 157, 0.14), transparent 26%),
    linear-gradient(180deg, #1f2328, #111315);
  border-top: 1px solid rgba(203, 184, 157, 0.16);
  color: rgba(248, 246, 242, 0.78);
  padding: 42px clamp(18px, 4vw, 56px) 22px;
}

.legal-footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  margin: 0 auto 30px;
  max-width: 1180px;
}

.legal-footer h3 {
  color: var(--ivory);
  font-size: 13px;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.legal-footer a,
.legal-footer span {
  color: rgba(248, 246, 242, 0.78);
  display: block;
  font-size: 14px;
  margin: 0 0 8px;
  text-decoration: none;
}

.legal-footer a {
  transition: color 160ms ease, letter-spacing 160ms ease, transform 160ms ease;
}

.legal-footer a:hover {
  color: var(--sand);
  letter-spacing: 0.01em;
  transform: translateX(3px);
}

.legal-footer-grid > div {
  transition: opacity 520ms ease, transform 520ms ease;
}

.city-links {
  column-gap: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.city-list {
  color: rgba(248, 246, 242, 0.78);
  font-size: 14px;
  line-height: 1.75;
  margin: 0;
}

.social-links {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.social-links a {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  margin-bottom: 0;
}

.social-links span {
  align-items: center;
  border: 1px solid rgba(203, 184, 157, 0.34);
  border-radius: 999px;
  color: var(--ivory);
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  height: 24px;
  justify-content: center;
  min-width: 24px;
  padding: 0 5px;
}

.app-store-links {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.app-store-badge {
  align-items: center;
  background: rgba(248, 246, 242, 0.04);
  border: 1px solid rgba(203, 184, 157, 0.28);
  border-radius: 8px;
  color: rgba(248, 246, 242, 0.86);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  gap: 10px;
  justify-content: flex-start;
  line-height: 1.2;
  margin: 0;
  min-height: 42px;
  padding: 9px 12px;
  width: min(170px, 100%);
}

.app-store-badge .app-store-icon {
  align-items: center;
  border: 0;
  border-radius: 0;
  display: inline-flex;
  height: 22px;
  justify-content: center;
  min-width: 22px;
  padding: 0;
}

.app-store-badge .app-store-icon svg {
  display: block;
  height: 18px;
  width: 18px;
}

.app-store-badge .app-store-icon-apple svg {
  fill: var(--ivory);
}

.app-store-badge .app-store-icon-google-play .play-cyan {
  fill: #5bc7df;
}

.app-store-badge .app-store-icon-google-play .play-green {
  fill: #67d391;
}

.app-store-badge .app-store-icon-google-play .play-gold {
  fill: #f1c66a;
}

.app-store-badge .app-store-icon-google-play .play-red {
  fill: #e66d62;
}

.app-store-badge .app-store-label {
  border: 0;
  color: rgba(248, 246, 242, 0.9);
  display: inline;
  font-size: 13px;
  font-weight: 900;
  height: auto;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.app-store-badge small {
  color: rgba(248, 246, 242, 0.52);
  display: inline;
  font-size: 11px;
  font-weight: 800;
  margin-left: auto;
  text-transform: uppercase;
}

.legal-footer-bottom {
  background: transparent;
  border: 0;
  color: rgba(248, 246, 242, 0.72);
  font-size: 13px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 1180px;
  padding: 0;
  text-align: center;
}

.reward-item {
  align-items: center;
}

.reward-item span,
.compact-list span,
.driver-stats span,
.requirement-list span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  margin-top: 3px;
}

.check-row {
  align-items: start;
  display: grid;
  gap: 10px;
  grid-template-columns: 18px 1fr;
}

.check-row input {
  min-height: auto;
  margin-top: 2px;
}

.dark-panel {
  background: var(--ink);
  color: white;
}

.dark-panel p {
  color: #d4d4d8;
  margin-bottom: 0;
}

.wide-select {
  margin-bottom: 16px;
}

.driver-stats,
.stake-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.driver-stats div,
.stake-grid div {
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.stake-grid {
  gap: 10px;
  margin-top: 16px;
}

.reward-progress {
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  margin: 16px 0;
  padding: 14px;
}

.compact-form {
  gap: 10px;
}

.progress-copy {
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.progress-copy strong {
  font-size: 14px;
}

.progress-copy span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.progress-bar {
  background: #e4e4e7;
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.progress-bar span {
  background: var(--ink);
  display: block;
  height: 100%;
}

.metric-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 18px;
}

.metric-grid article {
  padding: 16px;
}

.metric-grid span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 800;
}

.metric-grid strong {
  display: block;
  font-size: 26px;
  margin-top: 6px;
}

.admin-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
}

.admin-grid .wide {
  grid-row: span 3;
}

.admin-section-nav {
  align-items: center;
  background: #0c0c0d;
  border: 1px solid rgba(214, 168, 79, 0.28);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  padding: 10px;
  position: sticky;
  top: 78px;
  z-index: 5;
}

.admin-section-nav a {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #fff7df;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  text-transform: uppercase;
}

.admin-section-nav a:hover {
  background: rgba(214, 168, 79, 0.16);
  border-color: rgba(214, 168, 79, 0.55);
}

.admin-section {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
  padding: 18px;
}

.admin-section h3 {
  font-size: 17px;
  margin: 0 0 12px;
}

.admin-metrics {
  margin-bottom: 0;
}

.admin-list,
.admin-subsections {
  display: grid;
  gap: 14px;
}

.admin-subsections {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-subsections .panel {
  box-shadow: none;
}

.admin-live-map-controls {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 14px;
}

.admin-live-map-toggle {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  padding: 8px 12px;
}

.admin-live-map-toggle input {
  accent-color: #8b7355;
}

.admin-live-map-shell {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) 320px;
}

.admin-live-map {
  background: #111111;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 560px;
  overflow: hidden;
}

.admin-live-map-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  max-height: 560px;
  overflow: auto;
  padding: 14px;
}

.admin-live-map-legend {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-live-map-legend span,
.admin-live-map-row {
  align-items: center;
  color: var(--ink);
  display: flex;
  gap: 8px;
}

.live-map-dot {
  border: 2px solid #ffffff;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.18);
  display: inline-block;
  flex: 0 0 auto;
  height: 13px;
  width: 13px;
}

.live-map-dot.available {
  background: #16a34a;
}

.live-map-dot.active {
  background: #2563eb;
}

.live-map-dot.assigned {
  background: #d97706;
}

.live-map-dot.offline {
  background: #6b7280;
}

.admin-live-map-list {
  display: grid;
  gap: 10px;
}

.admin-live-map-row {
  background: #f8f6f2;
  border: 1px solid #e7e7e7;
  border-radius: 8px;
  cursor: pointer;
  padding: 10px;
  text-align: left;
  width: 100%;
}

.admin-live-map-row:hover {
  border-color: #a08d75;
  box-shadow: 0 8px 20px rgba(31, 35, 40, 0.08);
}

.admin-live-map-row span {
  display: grid;
  gap: 2px;
}

.admin-live-map-row small {
  color: #5a6169;
  font-size: 12px;
}

.admin-live-map-info {
  color: #1f2328;
  display: grid;
  gap: 8px;
  min-width: 220px;
}

.admin-live-map-info > span {
  color: #5a6169;
}

.admin-live-map-info dl {
  display: grid;
  gap: 6px;
  grid-template-columns: auto 1fr;
  margin: 0;
}

.admin-live-map-info dt {
  color: #5a6169;
  font-weight: 800;
}

.admin-live-map-info dd {
  margin: 0;
}

.form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid .wide {
  grid-column: 1 / -1;
}

.manual-reservation-panel {
  margin-top: 14px;
}

.admin-modal {
  align-items: center;
  background: rgba(0, 0, 0, 0.62);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 18px;
  position: fixed;
  z-index: 1000;
}

.admin-modal-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  max-height: 92vh;
  max-width: 980px;
  overflow: auto;
  padding: 22px;
  width: min(980px, 100%);
}

.admin-modal-head {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.blocked-reasons,
.ready-banner {
  border-radius: 8px;
  margin: 12px 0;
  padding: 12px;
}

.blocked-reasons {
  background: #fff8e8;
  border: 1px solid rgba(180, 116, 0, 0.28);
}

.blocked-reasons strong {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
}

.blocked-reasons ul {
  margin: 0;
  padding-left: 20px;
}

.blocked-reasons li {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  margin: 4px 0;
}

.admin-emergency-override {
  border-top: 1px solid rgba(180, 116, 0, 0.2);
  margin-top: 10px;
  padding-top: 10px;
}

.admin-emergency-override summary {
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-emergency-override p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  margin: 8px 0;
}

.ready-banner {
  background: #eefaf1;
  border: 1px solid rgba(24, 128, 56, 0.24);
  color: #12642d;
  font-size: 13px;
  font-weight: 900;
}

.admin-row-detail {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.admin-row-detail span {
  background: #f7f7f8;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 9px;
}

.dispatch-controls {
  margin-top: 12px;
}

.dispatch-controls select {
  max-width: 220px;
}

body[data-page="admin"] {
  background: var(--paper);
}

body[data-page="admin"] .topbar {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
}

body[data-page="admin"] .topbar .brand,
body[data-page="admin"] .topbar .nav a {
  color: var(--ink);
}

body[data-page="admin"] .topbar .nav a:hover,
body[data-page="admin"] .topbar .nav a.active {
  background: var(--soft);
  color: var(--ink);
}

.admin-console {
  --admin-bg: #f8f6f2;
  --admin-card: #ffffff;
  --admin-card-soft: #efe7d8;
  --admin-text: #1f2328;
  --admin-muted: #5a6169;
  --admin-border: #e7e7e7;
  --admin-gold: #8b7355;
  --admin-success: #22c55e;
  --admin-success-text: #166534;
  --admin-warning: #f59e0b;
  --admin-warning-text: #92400e;
  --admin-error: #ef4444;
  --admin-error-text: #991b1b;
  --admin-info: #60a5fa;
  --admin-info-text: #1d4ed8;
}

.admin-console,
.admin-console .admin-workspace {
  background: var(--admin-bg);
  color: var(--admin-text);
}

.admin-console h1,
.admin-console h2,
.admin-console h3,
.admin-console h4,
.admin-console strong,
.admin-console td,
.admin-console p,
.admin-console li {
  color: var(--admin-text);
}

.admin-console .muted,
.admin-console .empty,
.admin-console label,
.admin-console label small,
.admin-console .panel-head span,
.admin-console .approval-card-head span,
.admin-console .compact-list span,
.admin-console .reward-item span,
.admin-console .driver-stats span,
.admin-console .requirement-list span,
.admin-console .route-line,
.admin-console .ride-meta,
.admin-console .admin-row-detail {
  color: var(--admin-muted);
}

.admin-console .admin-section,
.admin-console .panel,
.admin-console .approval-card,
.admin-console .approval-document,
.admin-console .ride-card,
.admin-console .compact-list article,
.admin-console .requirement-list article,
.admin-console .admin-tool-card,
.admin-console .account-card,
.admin-console .admin-modal-card,
.admin-console .driver-stats div,
.admin-console .stake-grid div {
  background: var(--admin-card);
  border-color: var(--admin-border);
  box-shadow: none;
  color: var(--admin-text);
}

.admin-console .approval-grid div,
.admin-console .admin-row-detail span,
.admin-console .blocked-reasons,
.admin-console .ready-banner {
  background: var(--admin-card-soft);
  border-color: var(--admin-border);
  color: var(--admin-text);
}

.admin-console .approval-grid span:first-child,
.admin-console .metric-grid span,
.admin-console .admin-row-detail span {
  color: var(--admin-muted);
}

.admin-console .pill {
  background: var(--admin-card-soft);
  border-color: var(--admin-border);
  color: var(--admin-muted);
}

.admin-console a,
.admin-console .map-link,
.admin-console .link-button {
  color: var(--admin-info-text);
}

.admin-console a:hover,
.admin-console .map-link:hover,
.admin-console .link-button:hover {
  color: #e0f2fe;
}

.admin-console input,
.admin-console select,
.admin-console textarea {
  background: var(--admin-card-soft);
  border-color: var(--admin-border);
  color: var(--admin-text);
}

.admin-console input::placeholder,
.admin-console textarea::placeholder {
  color: #9ca3af;
}

.admin-console input:disabled,
.admin-console select:disabled,
.admin-console textarea:disabled,
.admin-console button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.admin-console .button,
.admin-console button {
  background: var(--admin-gold);
  color: #ffffff;
}

.admin-console .button:hover,
.admin-console button:hover {
  box-shadow: 0 12px 28px rgba(31, 35, 40, 0.14);
}

.admin-console .button.secondary,
.admin-console button.secondary {
  background: var(--admin-card-soft);
  border: 1px solid var(--admin-border);
  color: var(--admin-text);
}

.admin-console .button.secondary:hover,
.admin-console button.secondary:hover {
  background: #e4dac9;
}

.admin-console .button.danger,
.admin-console button.danger {
  background: var(--admin-error);
  color: #ffffff;
}

.admin-console .form-message,
.admin-console .message {
  color: var(--admin-info-text);
}

.admin-console .form-message.error,
.admin-console .message.error {
  color: var(--admin-error-text);
}

.admin-console .table-wrap {
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  overflow: auto;
}

.admin-console table {
  background: var(--admin-card);
  border-collapse: collapse;
  color: var(--admin-text);
  width: 100%;
}

.admin-console th,
.admin-console td {
  border-bottom: 1px solid var(--admin-border);
  color: var(--admin-text);
}

.admin-console th {
  background: var(--admin-card-soft);
  color: var(--admin-muted);
}

.admin-console tbody tr:hover {
  background: #f3eee5;
}

.admin-console .status-ok,
.admin-console .status-chip.ok {
  background: rgba(34, 197, 94, 0.14);
  color: var(--admin-success-text);
}

.admin-console .status-chip.warn {
  background: rgba(245, 158, 11, 0.16);
  color: var(--admin-warning-text);
}

.admin-console .status-bad,
.admin-console .status-chip.bad {
  background: rgba(239, 68, 68, 0.16);
  color: var(--admin-error-text);
}

.admin-console .status-ok,
.admin-console .status-bad {
  border-radius: 999px;
  display: inline-flex;
  font-weight: 900;
  padding: 4px 8px;
}

.admin-console .blocked-reasons {
  border-left: 3px solid var(--admin-warning);
}

.admin-console .ready-banner {
  border-left: 3px solid var(--admin-success);
  color: var(--admin-success-text);
}

@media (max-width: 980px) {
  .hero,
  .two-column,
  .two-column.narrow-left,
  .admin-grid,
  .admin-subsections,
  .admin-live-map-shell,
  .form-grid,
  .reward-hero {
    grid-template-columns: 1fr;
  }

  .admin-live-map {
    min-height: 420px;
  }

  .admin-live-map-panel {
    max-height: none;
  }

  .reward-hero {
    align-items: stretch;
    display: grid;
  }

  .feature-grid,
  .activity-grid,
  .service-card-grid,
  .guide-grid,
  .choice-grid,
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .business-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr auto;
    min-height: 68px;
    padding: 14px 18px;
  }

  .nav-toggle {
    display: inline-flex;
    position: relative;
  }

  .nav {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: none;
    gap: 4px;
    grid-column: 1 / -1;
    padding: 8px;
    width: 100%;
  }

  .topbar.open .nav {
    display: grid;
  }

  .home-page .topbar.open {
    background: rgba(0, 0, 0, 0.78);
  }

  .home-page .nav {
    background: rgba(0, 0, 0, 0.88);
    border-color: rgba(255, 255, 255, 0.14);
  }

  .nav a {
    display: block;
    padding: 12px;
    width: 100%;
  }

  .home-page .nav a {
    color: #fff;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .home-page .hero {
    min-height: 100vh;
    padding-top: 220px;
  }

  .hero-copy {
    bottom: 42px;
    left: 18px;
    right: 18px;
    transform: none;
  }

  h1 {
    font-size: 44px;
  }

  .hero-panel {
    min-height: 420px;
  }

  .split,
  .feature-grid,
  .activity-grid,
  .vehicle-grid,
  .service-card-grid,
  .guide-grid,
  .choice-grid,
  .metric-grid,
  .company-grid,
  .place-detail-grid,
  .document-grid,
  .driver-stats,
  .stake-grid {
    grid-template-columns: 1fr;
  }

  .ride-main,
  .reward-item,
  .progress-copy {
    align-items: flex-start;
    flex-direction: column;
  }

  .reward-balance {
    min-width: 0;
  }

  .band,
  .app-shell {
    padding: 30px 16px 42px;
  }

  .choice-band {
    padding-bottom: 28px;
  }

  .market-band {
    padding-top: 34px;
  }

  .section-head h2 {
    font-size: clamp(26px, 8vw, 34px);
    line-height: 1.08;
  }

  .choice-grid {
    gap: 10px;
    margin-top: 16px;
  }

  .choice-grid article {
    min-height: 0;
    padding: 14px 16px;
  }

  .choice-grid h3 {
    font-size: 18px;
    line-height: 1.18;
  }

  .vehicle-grid,
  .service-card-grid,
  .guide-grid {
    gap: 14px;
    margin-top: 18px;
  }

  .vehicle-card,
  .service-card-grid article,
  .guide-card {
    min-height: 0;
    padding: 18px;
  }

  .fleet-showcase .vehicle-card {
    gap: 12px;
  }

  .fleet-showcase .vehicle-card img {
    aspect-ratio: 3 / 2;
  }

  .vehicle-card span,
  .guide-card span {
    margin-bottom: 6px;
  }

  .vehicle-card h3 {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .vehicle-card p {
    line-height: 1.5;
  }

  .vehicle-card ul {
    gap: 6px;
    margin-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .hero::before,
  .reveal-item,
  .reveal-item.is-visible {
    transform: none !important;
  }

  .reveal-item {
    opacity: 1 !important;
  }
}
