/* BBUber landing page styles. */
:root {
  --black: #0b0b0c;
  --black-2: #151518;
  --ink: #141414;
  --paper: #f6f2ea;
  --paper-2: #ede7db;
  --white: #ffffff;
  --muted: #5f5a51;
  --muted-light: #b3aea4;
  --line: #ddd5c6;
  --amber: #e8a33d;
  --amber-2: #c9822b;
  --amber-ink: #1a1206;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.muted-light { color: var(--muted-light); }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 10px;
  padding: 13px 20px;
  font: 700 16px/1.1 var(--font);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn-amber { background: var(--amber); color: var(--amber-ink); }
.btn-amber:hover { background: var(--amber-2); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #26262b; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--paper); }

/* ---------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--black); color: var(--white); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.wordmark { font-weight: 800; font-size: 25px; letter-spacing: -0.035em; text-decoration: none; color: var(--white); }
.wordmark span { color: var(--amber); }
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: #e6e1d7; text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--white); }
.nav-cta { margin-left: auto; padding: 10px 16px; font-size: 15px; }
@media (max-width: 760px) { .nav-links { display: none; } }

/* --------------------------------------------------------------- hero */
.hero { background: var(--black); color: var(--white); padding: 56px 0 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.eyebrow { color: var(--amber); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px; margin: 0; }
.hero h1 { font-size: clamp(40px, 6.2vw, 68px); line-height: 1; letter-spacing: -0.04em; margin: 14px 0 18px; font-weight: 800; }
.hero-sub { font-size: 18px; color: #cfcac0; max-width: 540px; margin: 0; }

.quote-card { background: var(--white); color: var(--ink); border-radius: 18px; padding: 18px; margin-top: 30px; max-width: 540px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); }
.field { position: relative; display: flex; align-items: center; gap: 12px; background: #f1ede5; border-radius: 10px; padding: 0 14px; margin-bottom: 10px; }
.field select {
  flex: 1;
  min-width: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  font: 600 16px var(--font);
  padding: 15px 22px 15px 0;
  color: var(--ink);
  cursor: pointer;
}
.field::after { content: "▾"; position: absolute; right: 14px; color: var(--muted); pointer-events: none; }
.field:focus-within { box-shadow: 0 0 0 2px var(--amber); }
.mk { flex: 0 0 auto; }
.mk-dot { width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--ink); }
.mk-sq { width: 11px; height: 11px; background: var(--amber); }
.quote-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.quote-results:empty { display: none; }
.quote-results { margin-top: 16px; border-top: 1px solid #ece6da; padding-top: 12px; }
.q-head { display: flex; flex-direction: column; margin: 0 0 8px; }
.q-head span { color: var(--muted); font-size: 14px; }
.q-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
}
a.q-row:hover { background: #f6f2ea; }
.q-row.off { opacity: 0.5; }
.q-ic { font-size: 28px; width: 40px; text-align: center; }
.q-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.q-name small { color: var(--muted); font-size: 13px; }
.q-price { display: flex; flex-direction: column; text-align: right; font-variant-numeric: tabular-nums; }
.q-price small { color: var(--muted); font-size: 12px; }
.q-go { color: var(--muted); font-size: 22px; }
.q-msg { display: flex; align-items: center; gap: 10px; margin: 4px 0; color: var(--muted); }
.q-note { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 3px solid #e2dbcd; border-top-color: var(--amber); animation: spin 0.8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.proof-chip { display: inline-block; background: var(--amber); color: var(--amber-ink); font-weight: 700; border-radius: 999px; padding: 4px 10px; font-size: 13px; white-space: nowrap; }
.proof-chip.small { padding: 1px 7px; font-size: 12px; }
.proof-chip.calm { background: #2c2c33; color: var(--white); }

/* ------------------------------------------------------ phone mockup */
.phone-col { display: flex; flex-direction: column; align-items: center; }
.phone {
  width: 340px;
  height: 700px;
  border-radius: 54px;
  background: #050505;
  padding: 13px;
  box-shadow: 0 0 0 2px #3b3a38, 0 0 0 7px #1b1b1d, 0 40px 90px rgba(232, 163, 61, 0.16), 0 30px 60px rgba(0, 0, 0, 0.6);
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: var(--black); }
.phone-screen iframe { width: 100%; height: 100%; border: 0; display: block; background: var(--black); }
.status-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px 0 32px;
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  pointer-events: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.sb-icons { display: flex; align-items: center; gap: 5px; }
.island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 100px; height: 29px; border-radius: 20px; background: #000; pointer-events: none; }
.home-bar { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 120px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.75); pointer-events: none; }
.phone-cover { display: none; }
.phone-note { color: var(--muted-light); font-size: 14px; margin: 22px 0 0; text-align: center; }

@media (max-width: 900px), (hover: none) {
  .phone-screen iframe { pointer-events: none; }
  .phone-cover {
    display: flex;
    position: absolute;
    inset: 0;
    align-items: flex-start;
    justify-content: center;
    padding-top: 42%;
    text-decoration: none;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.35));
  }
  .phone-note { display: none; }
}
@media (max-width: 900px) {
  .hero { padding: 36px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .phone { width: 300px; height: 620px; border-radius: 48px; padding: 11px; }
  .phone-screen { border-radius: 38px; }
}

/* ----------------------------------------------------------- sections */
.section { padding: 88px 0; }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--black); color: var(--white); }
.section h2 { font-size: clamp(32px, 4.6vw, 50px); letter-spacing: -0.035em; line-height: 1.04; margin: 0 0 16px; max-width: 820px; font-weight: 800; }
.kicker { text-transform: uppercase; letter-spacing: 0.09em; font-size: 13px; font-weight: 700; color: var(--amber-2); margin: 0 0 10px; }
.kicker.amber { color: var(--amber); }
.lead { font-size: 18px; color: var(--muted); max-width: 660px; margin: 0 0 28px; }
.lead.light { color: #cfcac0; }
@media (max-width: 700px) { .section { padding: 64px 0; } }

.cards3, .cards4 { display: grid; gap: 18px; margin-top: 36px; }
.cards3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .cards4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) { .cards3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cards4 { grid-template-columns: 1fr; } }
.card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 24px; margin: 0; }
.card .ic { font-size: 34px; display: block; }
.card h3 { margin: 12px 0 6px; font-size: 20px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); }
.step { position: absolute; top: 20px; right: 22px; font-weight: 800; font-size: 44px; line-height: 1; color: var(--paper-2); }
.quote .stars { color: var(--amber); letter-spacing: 2px; }
.quote blockquote { margin: 10px 0 14px; font-size: 17px; line-height: 1.5; }
.quote figcaption { color: var(--muted); font-size: 14px; font-weight: 600; }

/* --------------------------------------------------------- ride types */
.tier-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .tier-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tier-cards { grid-template-columns: 1fr; } }
.tier-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; }
.tier-card.off { background: #f7f4ee; }
.tier-card.off .tier-ic { filter: grayscale(0.6); }
.tier-ic { font-size: 44px; line-height: 1; }
.tier-card h3 { margin: 14px 0 4px; font-size: 20px; }
.tier-card p { margin: 0; color: var(--muted); }
.tier-meta { font-size: 13px; margin-top: 8px !important; }
.tier-price { margin-top: auto !important; padding-top: 16px; font-weight: 800; font-size: 24px; color: var(--ink) !important; display: flex; flex-direction: column; }
.tier-price s { color: var(--muted); font-weight: 700; font-size: 20px; }
.tier-price small { font-size: 12.5px; color: var(--muted); font-weight: 500; }

.pricing-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; }
@media (max-width: 860px) { .pricing-grid { grid-template-columns: 1fr; } }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.panel h3 { margin: 0 0 6px; font-size: 20px; }
.panel > p { margin: 0 0 14px; }
.panel-dark { background: var(--black-2); border-color: #2a2a30; color: var(--white); }
.rates { width: 100%; border-collapse: collapse; font-size: 15px; }
.rates th { text-align: left; font-weight: 500; color: var(--muted); padding: 9px 0; border-bottom: 1px solid #efe9de; }
.rates td { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; padding: 9px 0; border-bottom: 1px solid #efe9de; }
.rates tr:last-child th, .rates tr:last-child td { border-bottom: 0; }
.proof-now { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: rgba(232, 163, 61, 0.1); border: 1px solid rgba(232, 163, 61, 0.3); border-radius: 12px; padding: 12px; margin-bottom: 14px; font-size: 14px; }
.proof-schedule { list-style: none; margin: 0; padding: 0; }
.proof-schedule li { display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; padding: 10px 0; border-bottom: 1px solid #2a2a30; }
.proof-schedule li:last-child { border-bottom: 0; }
.proof-schedule b { grid-row: span 2; color: var(--amber); font-size: 20px; }
.proof-schedule small { color: var(--muted-light); }

/* --------------------------------------------------------------- drive */
.drive-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
@media (max-width: 860px) { .drive-grid { grid-template-columns: 1fr; } }
.checklist { list-style: none; margin: 10px 0 0; padding: 0; }
.checklist li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid #2a2a30; color: #e6e1d7; }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 9px; width: 22px; height: 22px; border-radius: 50%; background: var(--amber); color: var(--amber-ink); font-weight: 800; font-size: 13px; display: grid; place-items: center; }

/* ---------------------------------------------------------------- app */
.app-grid { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.app-icon { width: 160px; height: 160px; border-radius: 36px; box-shadow: 0 20px 50px rgba(232, 163, 61, 0.2); flex: 0 0 auto; }
@media (max-width: 700px) { .app-grid { flex-direction: column-reverse; align-items: flex-start; } .app-icon { width: 110px; height: 110px; border-radius: 26px; } }
.badges { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--ink);
  border: 0;
  border-radius: 12px;
  padding: 10px 18px 10px 14px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
}
.badge:hover { background: var(--paper); }
.badge-ic { font-size: 26px; }
.badge small { display: block; font-size: 11px; font-weight: 500; }
.badge b { display: block; font-size: 17px; letter-spacing: -0.01em; }
.text-link { color: var(--amber); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* -------------------------------------------------------------- footer */
.footer { background: #060607; color: #cfcac0; padding: 48px 0 56px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: #cfcac0; font-size: 15px; }
.footer-links a:hover { color: var(--white); }
.tagline { color: var(--white); font-weight: 600; margin: 22px 0 8px; }
.disclaimer { max-width: 760px; font-size: 14px; line-height: 1.6; color: #a39f96; border-left: 3px solid var(--amber); padding-left: 14px; }
.credits { font-size: 12.5px; color: #7c786f; margin-top: 18px; }

/* -------------------------------------------------------------- dialog */
.dialog { border: 0; border-radius: 18px; padding: 24px; max-width: min(440px, calc(100vw - 32px)); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4); font-family: var(--font); color: var(--ink); }
.dialog::backdrop { background: rgba(0, 0, 0, 0.55); }
.dialog h3 { margin: 0 0 10px; font-size: 20px; }
.dialog p { margin: 0 0 10px; }
.dialog .btn { width: 100%; margin-top: 8px; }

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