/* RideCabby v1.30.0 — Marketing Homepage
   Mobile-first: base rules target small screens, @media (min-width:...) layers on
   desktop enhancements. Reuses the app's existing CSS custom properties (--c-brand,
   --c-muted, --c-border, --c-bg-card) with hard-coded fallbacks so this stylesheet
   still renders correctly even if loaded without rider.css/brand-override.css. */

:root {
  --mk-orange: var(--c-brand, #FF9D1A);
  --mk-ink: #0B1220;
  --mk-panel: #101E38;
  --mk-muted: var(--c-muted, #6B7280);
  --mk-border: var(--c-border, #E5E7EB);
}

.mk-page { overflow-x: hidden; }
.mk-page * { box-sizing: border-box; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.mk-hero {
  position: relative;
  background: var(--mk-ink);
  color: #fff;
  overflow: hidden;
}
.mk-hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
}
.mk-hero-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.mk-hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,18,32,.15) 0%, rgba(11,18,32,.85) 100%);
}
.mk-hero-inner {
  position: relative;
  padding: 28px 20px 32px;
}
.mk-hero h1 {
  margin: 0 0 6px;
  font-size: clamp(28px, 7vw, 40px);
  line-height: 1.12;
  font-weight: 800;
}
.mk-hero .mk-hero-highlight {
  display: block;
  color: var(--mk-orange);
}
.mk-hero-sub {
  margin: 12px 0 18px;
  font-size: 15px;
  color: rgba(255,255,255,.82);
  max-width: 46ch;
}
.mk-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}
.mk-badge {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: #fff;
}
.mk-badge-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,157,26,.16);
  color: var(--mk-orange);
  font-size: 13px; flex-shrink: 0;
}
.mk-hero-actions {
  display: flex; flex-direction: column; gap: 10px;
}
.mk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 700; font-size: 15px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, opacity .12s ease;
}
.mk-btn:active { transform: scale(.98); }
.mk-btn--primary { background: var(--mk-orange); color: #1a1200; }
.mk-btn--primary:hover { opacity: .92; }
.mk-btn--outline-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.mk-btn--outline-dark:hover { background: rgba(255,255,255,.08); }
.mk-btn--outline-light { background: transparent; color: #fff; border-color: #fff; }
.mk-btn--outline-light:hover { background: rgba(255,255,255,.12); }
.mk-btn--dark { background: var(--mk-ink); color: #fff; }
.mk-btn--dark:hover { opacity: .9; }

@media (min-width: 900px) {
  .mk-hero-flex { display: flex; align-items: stretch; }
  .mk-hero-media { width: 52%; aspect-ratio: auto; order: 2; }
  .mk-hero-inner { width: 48%; order: 1; padding: 64px 48px; display: flex; flex-direction: column; justify-content: center; }
  .mk-hero-media::after { background: linear-gradient(90deg, rgba(11,18,32,.55) 0%, rgba(11,18,32,0) 40%); }
  .mk-badges { flex-direction: row; gap: 22px; }
  .mk-hero-actions { flex-direction: row; }
  .mk-btn { padding: 15px 26px; }
}

/* ── Section shell ────────────────────────────────────────────────────── */
.mk-section { padding: 44px 20px; }
.mk-section-inner { max-width: 1120px; margin: 0 auto; }
.mk-eyebrow { text-align: center; margin-bottom: 30px; }
.mk-eyebrow h2 { font-size: clamp(24px, 5vw, 32px); font-weight: 800; margin: 0; color: var(--mk-ink); }
.mk-eyebrow .mk-hl { color: var(--mk-orange); }
.mk-eyebrow-rule { width: 52px; height: 3px; background: var(--mk-orange); border-radius: 2px; margin: 10px auto 0; }

/* ── Benefit cards ────────────────────────────────────────────────────── */
.mk-benefits { display: grid; grid-template-columns: 1fr; gap: 26px; }
.mk-benefit { text-align: center; }
.mk-benefit-icon {
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(255,157,26,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin: 0 auto 14px;
}
.mk-benefit h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: var(--mk-ink); }
.mk-benefit p { margin: 0; font-size: 14px; color: var(--mk-muted); line-height: 1.5; }
@media (min-width: 760px) { .mk-benefits { grid-template-columns: repeat(3, 1fr); } }

/* ── Stat bar ─────────────────────────────────────────────────────────── */
.mk-statbar-wrap { padding: 0 16px; }
.mk-statbar {
  max-width: 1120px; margin: 0 auto;
  background: var(--mk-ink); color: #fff;
  border-radius: 16px;
  padding: 26px 20px;
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
.mk-stat { display: flex; align-items: center; gap: 12px; }
.mk-stat-icon {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,157,26,.18); color: var(--mk-orange);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.mk-stat-num { font-weight: 800; font-size: 16px; }
.mk-stat-label { font-size: 12.5px; color: rgba(255,255,255,.72); }
@media (min-width: 860px) { .mk-statbar { grid-template-columns: repeat(4, 1fr); } }

/* ── Steps ────────────────────────────────────────────────────────────── */
.mk-steps-section { background: #FAF7F2; }
.mk-steps { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 8px; }
.mk-step { text-align: center; position: relative; }
.mk-step-num {
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff; border: 2px solid var(--mk-orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin: 0 auto 12px; position: relative;
}
.mk-step-num .mk-step-badge {
  position: absolute; top: -8px; right: -8px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--mk-orange); color: #1a1200;
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.mk-step h4 { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: var(--mk-ink); }
.mk-step p { margin: 0; font-size: 13px; color: var(--mk-muted); line-height: 1.45; }
@media (min-width: 860px) {
  .mk-steps { grid-template-columns: repeat(7, 1fr); align-items: start; }
  .mk-step { grid-column: span 1; }
  .mk-step-arrow { display: flex; align-items: center; justify-content: center; color: var(--mk-orange); font-size: 20px; padding-top: 10px; }
  .mk-step-arrow-hide { display: none; }
}
@media (max-width: 859px) { .mk-step-arrow { display: none; } }

/* ── Comparison table ─────────────────────────────────────────────────── */
.mk-compare-flex { display: flex; flex-direction: column; gap: 26px; }
.mk-compare-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 12px; border: 1px solid var(--mk-border); font-size: 13.5px; }
.mk-compare-table th, .mk-compare-table td { padding: 12px 10px; text-align: center; }
.mk-compare-table th:first-child, .mk-compare-table td:first-child { text-align: left; }
.mk-compare-table thead th { background: #F3F4F6; color: var(--mk-ink); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.mk-compare-table thead th.mk-compare-us { background: var(--mk-orange); color: #1a1200; }
.mk-compare-table tbody tr:nth-child(even) { background: #FAFAFA; }
.mk-compare-table tbody td { color: var(--mk-ink); border-top: 1px solid var(--mk-border); }
.mk-compare-yes { color: var(--mk-orange); font-weight: 800; }
.mk-compare-no { color: var(--mk-muted); }
.mk-phone-mock { max-width: 280px; margin: 0 auto; }
.mk-phone-mock img { width: 100%; display: block; }
@media (min-width: 900px) {
  .mk-compare-flex { flex-direction: row; align-items: center; gap: 40px; }
  .mk-compare-flex > .mk-compare-table-wrap { flex: 1 1 60%; }
  .mk-compare-flex > .mk-phone-mock { flex: 1 1 32%; max-width: 320px; margin: 0; }
}

/* ── Driver CTA (dark) ────────────────────────────────────────────────── */
.mk-driver-cta { background: var(--mk-ink); color: #fff; padding: 0; }
.mk-driver-cta-media { width: 100%; aspect-ratio: 4/3; overflow: hidden; }
.mk-driver-cta-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mk-driver-cta-body { padding: 36px 20px; }
.mk-driver-cta h2 { font-size: clamp(24px, 6vw, 32px); font-weight: 800; margin: 0 0 12px; line-height: 1.2; }
.mk-driver-cta .mk-hl { color: var(--mk-orange); }
.mk-driver-cta p { color: rgba(255,255,255,.78); font-size: 14.5px; margin: 0 0 20px; max-width: 52ch; }
.mk-driver-bullets { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.mk-driver-bullets li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.mk-driver-bullets .mk-bullet-icon {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,157,26,.16); color: var(--mk-orange);
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.mk-driver-login-note { margin-top: 18px; font-size: 12.5px; color: rgba(255,255,255,.6); }
.mk-driver-login-note a { color: var(--mk-orange); text-decoration: none; }
@media (min-width: 900px) {
  .mk-driver-cta-flex { display: flex; align-items: stretch; }
  .mk-driver-cta-media { width: 42%; aspect-ratio: auto; order: 2; }
  .mk-driver-cta-body { width: 58%; order: 1; padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; }
}

/* ── Testimonials ─────────────────────────────────────────────────────── */
.mk-testimonials { display: grid; grid-template-columns: 1fr; gap: 18px; }
.mk-testimonial {
  background: #fff; border: 1px solid var(--mk-border); border-radius: 12px;
  padding: 20px; box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.mk-quote-mark { color: var(--mk-orange); font-size: 26px; font-weight: 800; line-height: 1; }
.mk-testimonial blockquote { margin: 4px 0 12px; font-size: 15px; font-weight: 700; color: var(--mk-ink); line-height: 1.4; }
.mk-stars { color: var(--mk-orange); font-size: 14px; margin-bottom: 12px; }
.mk-testimonial-who { display: flex; align-items: center; gap: 10px; }
.mk-testimonial-who img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.mk-who-name { font-size: 13.5px; font-weight: 700; color: var(--mk-ink); }
.mk-who-role { font-size: 12px; color: var(--mk-muted); }
@media (min-width: 860px) { .mk-testimonials { grid-template-columns: repeat(3, 1fr); } }

/* ── Final CTA banner ─────────────────────────────────────────────────── */
.mk-final-cta { background: var(--mk-orange); padding: 32px 20px; }
.mk-final-cta-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 20px;
}
.mk-final-cta h2 { margin: 0 0 6px; font-size: clamp(22px, 5.5vw, 28px); font-weight: 800; color: #1a1200; }
.mk-final-cta p { margin: 0; font-size: 14px; color: rgba(26,18,0,.82); max-width: 52ch; }
.mk-final-cta-actions { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 760px) {
  .mk-final-cta-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .mk-final-cta-actions { flex-direction: row; flex-shrink: 0; }
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.mk-footer { background: var(--mk-ink); color: rgba(255,255,255,.8); padding: 36px 20px 20px; }
.mk-footer-inner { max-width: 1120px; margin: 0 auto; }
.mk-footer-brand { color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 8px; }
.mk-footer-tagline { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.5; max-width: 30ch; }
.mk-footer-social { display: flex; gap: 12px; margin-top: 16px; }
.mk-footer-social a {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none; font-size: 13px;
}
.mk-footer-cols { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 28px; }
.mk-footer-col h5 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.5); margin: 0 0 12px; }
.mk-footer-col a { display: block; color: rgba(255,255,255,.78); text-decoration: none; font-size: 13.5px; margin-bottom: 10px; }
.mk-footer-col a:hover { color: #fff; }
.mk-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 16px; font-size: 12px; color: rgba(255,255,255,.4); }
@media (min-width: 760px) {
  .mk-footer-top { display: flex; justify-content: space-between; gap: 20px; }
  .mk-footer-cols { grid-template-columns: repeat(4, 1fr); flex: 1 1 auto; margin-top: 0; margin-left: 40px; }
}

/* v1.36.0 — footer legal disclaimer column. Stacks under the brand block on mobile
   (default grid, single column); sits side-by-side with it at desktop widths. */
.mk-footer-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.mk-footer-disclaimer { font-size: 11.5px; line-height: 1.6; color: rgba(255,255,255,.45); margin: 0; }
@media (min-width: 760px) {
  .mk-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
  .mk-footer-disclaimer-col { max-width: 440px; justify-self: end; text-align: left; }
}

/* ── RTL ──────────────────────────────────────────────────────────────── */
[dir="rtl"] .mk-hero-media::after { transform: scaleX(-1); }
[dir="rtl"] .mk-eyebrow-rule { margin: 10px auto 0; }
[dir="rtl"] .mk-compare-table th:first-child, [dir="rtl"] .mk-compare-table td:first-child { text-align: right; }
