/* The public website. Same brand as the driver app and the panel: Manrope, amber on night. */
@font-face {
  font-family: Manrope;
  src: url("/site/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --night: #0b0f14;
  --night-2: #131a23;
  --night-line: #222c38;
  --amber: #ffb71f;
  --amber-ink: #1b1300;
  --paper: #f3f5f7;
  --white: #ffffff;
  --ink: #0f141b;
  --slate: #566272;
  --line: #dfe4ea;
  --go: #1fbf89;
  --on-night: #e9eef3;
  --on-night-dim: #9aa6b3;
  --wrap: 1160px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  font-feature-settings: "ss01" on;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; font-weight: 800; }
h1 { font-size: clamp(40px, 5.6vw, 68px); letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: 19px; letter-spacing: -0.01em; font-weight: 700; line-height: 1.3; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--amber-ink); padding: 8px 14px; border-radius: 8px; z-index: 50; font-weight: 700; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.light-bg :focus-visible { outline-color: var(--ink); }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 15, 20, 0.9);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--on-night);
}
.top-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -0.015em; min-width: 0; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile { width: 36px; height: 36px; border-radius: 10px; background: var(--amber); display: grid; place-items: center; flex: none; }
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--on-night-dim); transition: color .15s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.call-btn {
  display: inline-flex; align-items: center; gap: 9px; flex: none;
  background: var(--amber); color: var(--amber-ink); text-decoration: none;
  font-weight: 800; font-size: 15px; padding: 10px 16px; border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.call-btn:hover { background: #ffc54a; }

/* ---------- night sections ---------- */
.night { background: var(--night); color: var(--on-night); position: relative; overflow: hidden; }
.night p { color: var(--on-night-dim); }
/* The city at night: the faint street grid the driver app's map uses */
.streets::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(120% 90% at 70% 30%, #000 0%, transparent 75%);
}

/* ---------- hero ---------- */
.hero { padding: 88px 0 104px; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.9fr); gap: 64px; align-items: center; }
.hero h1 { color: var(--white); max-width: 13ch; }
.lede { font-size: 19px; line-height: 1.6; margin-top: 22px; max-width: 46ch; }
.facts { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; }
.facts li { display: flex; gap: 12px; align-items: center; color: var(--on-night); font-weight: 600; font-size: 16px; }
.facts svg { color: var(--amber); flex: none; }

/* The call card: an amber taxi with its roof light switched on */
.call-card { position: relative; margin-top: 26px; }
.roof {
  position: absolute; top: -27px; left: 0; right: 0; margin: 0 auto;
  width: 132px; height: 30px; background: #151b23;
  clip-path: polygon(9% 0, 91% 0, 100% 100%, 0 100%);
  border-radius: 6px 6px 0 0;
  display: grid; place-items: center;
  font-weight: 800; font-size: 13px; letter-spacing: 0.34em; padding-left: 0.34em;
  color: var(--amber);
  text-shadow: 0 0 10px rgba(255, 183, 31, 0.9), 0 0 22px rgba(255, 183, 31, 0.45);
}
.card-body {
  background: var(--amber); color: var(--amber-ink);
  border-radius: 24px; padding: 34px 32px 30px;
  box-shadow: 0 40px 90px -30px rgba(255, 183, 31, 0.45), inset 0 -3px 0 rgba(0, 0, 0, 0.08);
}
.call-label { font-weight: 700; font-size: 16px; color: var(--amber-ink) !important; opacity: 0.8; }
.call-number {
  display: block; margin: 6px 0 4px; text-decoration: none;
  font-size: clamp(38px, 4.4vw, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.call-sub { font-size: 15px; color: var(--amber-ink) !important; opacity: 0.75; }
.call-go {
  margin-top: 24px; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--amber-ink); color: var(--amber); text-decoration: none;
  font-weight: 800; font-size: 17px; padding: 15px 20px; border-radius: 14px;
}
.call-go:hover { background: #2a2006; }
.call-email { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--amber-ink); }

/* ---------- light sections ---------- */
.section { padding: 96px 0; }
.paper { background: var(--paper); }
.head { max-width: 640px; margin-bottom: 48px; }
.head p { color: var(--slate); font-size: 18px; margin-top: 14px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: step; }
.steps.four { grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 22px; }
.steps li::before {
  content: counter(step); display: block; font-weight: 800; font-size: 15px; color: var(--slate);
  margin-bottom: 14px; font-variant-numeric: tabular-nums;
}
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--slate); font-size: 16px; }
.steps a { font-weight: 700; }

.rows { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 56px; }
.row-item { display: flex; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.row-item .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--amber); display: grid; place-items: center; flex: none; }
.row-item p { color: var(--slate); font-size: 16px; margin-top: 4px; }

/* Fares */
.fares { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.fares th, .fares td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.fares thead th { font-size: 14px; font-weight: 700; color: var(--slate); background: #fafbfc; }
.fares tbody tr:last-child td, .fares tbody tr:last-child th { border-bottom: 0; }
.fares td { font-variant-numeric: tabular-nums; font-weight: 700; font-size: 18px; white-space: nowrap; }
.fares tbody th { font-weight: 800; font-size: 17px; }
.fares tbody th small { display: block; font-weight: 500; font-size: 15px; color: var(--slate); margin-top: 2px; }
.fare-notes { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; margin-top: 40px; }
.extras { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 0; }
.extras dt, .extras dd { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.extras dt b { display: block; }
.extras dt span { color: var(--slate); font-size: 15px; }
.extras dd { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; padding-left: 24px; }
.how-meter { color: var(--slate); font-size: 16px; }
.how-meter p + p { margin-top: 12px; }
.how-meter b { color: var(--ink); }

/* Businesses and drivers */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo.solo { grid-template-columns: 1fr; }
.biz { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 32px 30px; background: var(--white); }
.biz .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--amber); display: grid; place-items: center; }
.biz p { color: var(--slate); margin-top: 8px; max-width: 52ch; }
.biz-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: auto; }
.btn {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 800; font-size: 16px;
  padding: 13px 20px; border-radius: 12px; border: 1.5px solid var(--ink); color: var(--ink); background: transparent;
}
.btn.solid { background: var(--ink); color: var(--white); }
.btn:hover { background: var(--ink); color: var(--white); }
.night .btn { border-color: rgba(255, 255, 255, 0.28); color: var(--white); }
.night .btn:hover { background: rgba(255, 255, 255, 0.08); }
.night .btn.amber { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.night .btn.amber:hover { background: #ffc54a; }

/* ---------- contact band ---------- */
.contact { padding: 96px 0; }
.contact-in { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; }
.contact h2 { color: var(--white); }
.contact .big {
  display: inline-block; margin-top: 18px; text-decoration: none; color: var(--amber);
  font-size: clamp(44px, 7vw, 92px); font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.contact .big:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: var(--on-night); font-size: 16px; min-width: 260px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list svg { color: var(--on-night-dim); flex: none; margin-top: 3px; }
.contact-list a { color: var(--on-night); }

/* ---------- footer ---------- */
.foot { background: #070a0e; color: var(--on-night-dim); font-size: 14px; padding: 40px 0 48px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: var(--on-night-dim); text-decoration: none; }
.foot a:hover { color: var(--white); }
.foot p { line-height: 1.7; }

/* ---------- drivers page ---------- */
.d-hero { padding: 80px 0 0; }
.d-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: end; }
.d-hero h1 { color: var(--white); max-width: 12ch; }
.d-hero .copy { padding-bottom: 88px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-phone { justify-self: center; width: min(320px, 78%); margin-bottom: -1px; }
.hero-phone .phone { border-radius: 40px 40px 0 0; padding: 10px 10px 0; box-shadow: 0 0 0 1px #2a3440, 0 -30px 80px -30px rgba(255, 183, 31, 0.28); }
.hero-phone img { border-radius: 31px 31px 0 0; height: auto; aspect-ratio: 390 / 640; object-fit: cover; object-position: bottom; }

.phone { background: #0c1015; border-radius: 34px; padding: 8px; box-shadow: 0 0 0 1px #29313b, 0 28px 50px -22px rgba(15, 20, 27, 0.55); }
.phone img { border-radius: 27px; width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; background: #0a0d12; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px; }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 18px; }
.gallery figcaption b { display: block; font-size: 17px; }
.gallery figcaption span { display: block; color: var(--slate); font-size: 15px; margin-top: 4px; line-height: 1.5; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.checks li { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); font-weight: 600; }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks svg { color: var(--go); flex: none; margin-top: 3px; }
.need { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.need aside { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; }
.need aside p { color: var(--slate); font-size: 16px; margin-top: 8px; }
.need aside .steps li { border-top: 1px solid var(--line); padding-top: 18px; }
.need aside .steps li::before { margin-bottom: 6px; }

/* ---------- 404 ---------- */
.missing { padding: 120px 0 140px; }
.missing h1 { color: var(--white); }
.missing p { margin-top: 16px; font-size: 18px; }

/* ---------- one moment of motion: the roof light switches on ---------- */
@media (prefers-reduced-motion: no-preference) {
  .call-card { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
  .call-card .roof { animation: light-on 1.4s .55s steps(1, end) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes light-on {
    0% { color: #5a4a20; text-shadow: none; }
    20% { color: var(--amber); text-shadow: 0 0 10px rgba(255,183,31,.9), 0 0 22px rgba(255,183,31,.45); }
    28% { color: #5a4a20; text-shadow: none; }
    40%, 100% { color: var(--amber); text-shadow: 0 0 10px rgba(255,183,31,.9), 0 0 22px rgba(255,183,31,.45); }
  }
}

/* ---------- small screens ---------- */
@media (max-width: 1000px) {
  .gallery { grid-template-columns: repeat(5, minmax(220px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin: 0 -22px; padding-left: 22px; padding-right: 22px; scrollbar-width: thin; }
  .gallery li { scroll-snap-align: start; }
  .steps.four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .top-in { gap: 14px; justify-content: space-between; }
  .hero { padding: 56px 0 72px; }
  .hero-in, .d-hero-in, .contact-in, .need, .fare-notes { grid-template-columns: 1fr; gap: 40px; }
  .call-card { margin-top: 30px; }
  .card-body { padding: 30px 24px 24px; }
  .section, .contact { padding: 72px 0; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .rows { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .biz { padding: 28px 24px; }
  .d-hero .copy { padding-bottom: 0; }
  .hero-phone { width: min(300px, 82%); }
  /* Fares as stacked cards */
  .fares thead { display: none; }
  .fares, .fares tbody, .fares tr, .fares th, .fares td { display: block; width: 100%; }
  .fares tr { padding: 18px 20px; border-bottom: 1px solid var(--line); }
  .fares tbody th, .fares td { padding: 0; border: 0; }
  .fares td { display: flex; justify-content: space-between; font-size: 16px; padding-top: 8px; }
  .fares td::before { content: attr(data-label); font-weight: 600; color: var(--slate); }
  .fares tbody th { padding-bottom: 6px; }
}
@media (max-width: 520px) {
  .call-btn span.label { display: none; }
  .brand { font-size: 16px; }
  .steps.four { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(5, 72vw); }
  .biz-actions { flex-wrap: wrap; }
}
