/* Mishwar website — same identity as the app (design.md): taxi yellow means "go",
   ink for trust, lime white for the page; the meter is the one bold element. */

@font-face { font-family: "Readex Pro"; font-weight: 400; font-display: swap; src: url("fonts/readex-pro-400.woff2") format("woff2"); }
@font-face { font-family: "Readex Pro"; font-weight: 500; font-display: swap; src: url("fonts/readex-pro-500.woff2") format("woff2"); }
@font-face { font-family: "Readex Pro"; font-weight: 600; font-display: swap; src: url("fonts/readex-pro-600.woff2") format("woff2"); }
@font-face { font-family: "Readex Pro"; font-weight: 700; font-display: swap; src: url("fonts/readex-pro-700.woff2") format("woff2"); }

:root {
  --yellow: #FFC61A;
  --yellow-press: #F0B400;
  --ink: #14213D;
  --blue: #163B73;
  --pickup: #1D5FAD;
  --bg: #F3F5F8;
  --surface: #FFFFFF;
  --field: #F3F5F8;
  --text: #14213D;
  --muted: #5E6A80;
  --line: #E1E6EE;
  --error: #C8102E;
  --success: #2C7A4B;
  --band: #14213D;
  --band-text: #FFFFFF;
  --band-muted: #C5CCDA;
  --shadow: 0 28px 64px -28px rgba(20, 33, 61, .32);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --blue: #FFC61A;
    --bg: #0D1526;
    --surface: #162038;
    --field: #0D1526;
    --text: #ECEFF5;
    --muted: #9AA6BC;
    --line: #26324D;
    --error: #FF6B6B;
    --success: #4FD18B;
    --band: #070D1A;
    --shadow: 0 28px 64px -28px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 "Readex Pro", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.25; }
p { margin: 0; }
a { color: var(--blue); text-underline-offset: 3px; }
img, svg { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 6px; }
::selection { background: rgba(255, 198, 26, .45); }

.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 24px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 10; background: var(--yellow); color: var(--ink); padding: 8px 14px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* Roof sign: the brand, as on the roof of a Tunisian taxi */
.sign {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 16px; border-radius: 11px;
  background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 19px; line-height: 1;
  text-decoration: none; box-shadow: 0 6px 18px -8px rgba(20, 33, 61, .45);
}
.sign::after { content: ""; position: absolute; bottom: -5px; inset-inline: 22%; height: 3px; border-radius: 2px; background: var(--ink); opacity: .85; }
.sign-sm { height: 32px; font-size: 15px; padding: 0 12px; border-radius: 9px; }

/* Buttons: yellow is the one main action */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 24px; border-radius: 14px; border: 1.5px solid transparent;
  font: 600 16px/1 "Readex Pro", system-ui, sans-serif; text-decoration: none; cursor: pointer;
  transition: background-color .15s, transform .1s;
}
.btn:active { transform: scale(.985); }
.btn svg { width: 22px; height: 22px; fill: currentColor; }
.btn-go { background: var(--yellow); color: var(--ink); }
.btn-go:hover { background: var(--yellow-press); }
.btn-go:focus-visible { outline-color: var(--ink); }
.btn-line { border-color: currentColor; color: var(--text); background: transparent; }
.btn-line:hover { background: rgba(20, 33, 61, .05); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 11px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: progress; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 20px; height: 72px; }
.nav { display: flex; gap: 22px; margin-inline-start: 8px; }
.nav a { position: relative; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; padding-block: 6px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 3px; border-radius: 2px; background: var(--yellow); }
.login { color: var(--text); }
.nav-extra { display: none !important; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; fill: currentColor; }
.langs { display: flex; gap: 2px; margin-inline-start: auto; padding: 3px; border-radius: 11px; background: color-mix(in srgb, var(--line) 70%, transparent); }
.langs a { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: var(--muted); font: 500 13px/1 "Readex Pro", system-ui, sans-serif; height: 32px; min-width: 38px; padding: 0 10px; border-radius: 8px; }
.langs a:hover { color: var(--text); }
.langs a[lang="ar"] { font-size: 15px; padding-bottom: 4px; }
.langs a[aria-current="true"] { background: var(--surface); color: var(--text); font-weight: 600; box-shadow: 0 1px 3px rgba(20, 33, 61, .12); }
.lang-hint { margin: 0; padding: 6px 16px; text-align: center; font-size: 13px; background: color-mix(in srgb, var(--line) 45%, transparent); }
.lang-hint a { color: var(--text); font-weight: 600; }

/* Hero */
.hero { padding: 76px 0 96px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.4vw, 70px); line-height: 1.14; letter-spacing: 0; max-width: 11em; text-wrap: balance; }
html[lang="fr"] .hero h1, html[lang="en"] .hero h1 { letter-spacing: -.02em; line-height: 1.08; font-size: clamp(38px, 4.6vw, 60px); max-width: 12em; }
.lead { margin-top: 24px; font-size: 19px; line-height: 1.7; color: var(--muted); max-width: 33em; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 36px; }
.soon { flex-basis: 100%; color: var(--muted); font-size: 15px; }

/* The meter */
.meter-card { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 26px; box-shadow: var(--shadow); }
.meter-title { font-size: 20px; font-weight: 600; }
.trips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.trip {
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  font: 500 14px/1 "Readex Pro", system-ui, sans-serif; height: 38px; padding: 0 14px; border-radius: 999px; cursor: pointer;
}
.trip:hover { border-color: var(--muted); }
.trip[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (prefers-color-scheme: dark) { .trip[aria-checked="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--ink); } }
.meter { background: var(--ink); color: #fff; border-radius: 18px; padding: 18px 22px 20px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
@media (prefers-color-scheme: dark) { .meter { background: #070D1A; } }
.meter-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.meter-name { color: #9AA6BC; font-size: 13px; font-weight: 500; }
.meter-tariff { color: var(--yellow); border: 1px solid rgba(255, 198, 26, .5); border-radius: 999px; font-size: 12px; font-weight: 600; padding: 3px 10px; }
.meter-route { margin-top: 10px; color: #C5CCDA; font-size: 14px; min-height: 1.6em; }
.meter-digits { margin-top: 2px; color: var(--yellow); font-weight: 700; font-size: clamp(46px, 5.6vw, 66px); line-height: 1.15; font-variant-numeric: tabular-nums; white-space: nowrap; }
.meter-digits .approx { font-size: .6em; margin-inline-end: .2em; opacity: .85; }
.meter-digits .cur { font-size: .5em; font-weight: 600; unicode-bidi: isolate; }
.meter.loading .meter-digits { opacity: .55; }
.meter-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; color: #C5CCDA; font-size: 14px; min-height: 1.6em; }
.meter-facts span { display: inline-flex; align-items: center; gap: 6px; }
.meter-facts svg { width: 16px; height: 16px; fill: #9AA6BC; }
.meter-note { margin-top: 14px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }

/* How it works: the three steps sit on a route, from the pickup dot to the destination square */
.how { padding: 88px 0; background: var(--surface); border-block: 1px solid var(--line); }
.how h2, .promise h2, .cities h2, .faq h2 { font-size: clamp(28px, 3.2vw, 38px); }
.route-steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; position: relative; }
.route-steps::before { content: ""; position: absolute; top: 19px; inset-inline: 20px calc(33.33% - 20px); border-top: 3px dotted color-mix(in srgb, var(--muted) 55%, transparent); }
.step { position: relative; }
.step .mark { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 22px; }
.step-pickup .mark::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--pickup); box-shadow: 0 0 0 5px var(--surface), 0 0 0 6px var(--line); }
.step-car .mark { border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 5px var(--surface); }
.step-car .mark svg { width: 20px; height: 20px; fill: var(--yellow); stroke: var(--yellow); stroke-width: 1; transform: rotate(-90deg); }
html[dir="rtl"] .step-car .mark svg { transform: rotate(-90deg) scaleY(-1); }
.step-drop .mark::before { content: ""; width: 20px; height: 20px; border-radius: 5px; background: var(--ink); box-shadow: 0 0 0 5px var(--surface), 0 0 0 6px var(--line); }
@media (prefers-color-scheme: dark) { .step-drop .mark::before { background: var(--text); } .step-car .mark { background: #070D1A; } }
.step h3 { font-size: 21px; font-weight: 600; }
.step p { margin-top: 8px; color: var(--muted); max-width: 22em; }

/* Promises */
.promise { padding: 96px 0; }
.promise-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.promises { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; }
.promises dt { font-size: 20px; font-weight: 600; line-height: 1.4; }
.promises dd { margin: 8px 0 0; color: var(--muted); }

/* Cities: the type itself is the visual */
.cities { padding: 0 0 96px; }
.city-line { margin-top: 18px; font-size: clamp(26px, 3.6vw, 46px); font-weight: 600; line-height: 1.45; max-width: 24em; text-wrap: balance; }
.city-note { margin-top: 16px; color: var(--muted); max-width: 40em; }

/* Drivers band */
.drivers { background: var(--band); color: var(--band-text); padding: 96px 0; }
.drivers-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.drivers h2 { font-size: clamp(30px, 3.6vw, 44px); max-width: 13em; }
.drivers .lead { color: var(--band-muted); }
.drivers h3 { font-size: 17px; font-weight: 600; margin-top: 36px; color: var(--yellow); }
.needs { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; }
.needs li { position: relative; padding-inline-start: 34px; }
.needs li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--yellow)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 11-11-1.4-1.4z' fill='%2314213D'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.next { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: next; display: grid; gap: 12px; }
.next li { counter-increment: next; position: relative; padding-inline-start: 34px; color: var(--band-muted); }
.next li::before { content: counter(next); position: absolute; inset-inline-start: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--yellow); color: var(--yellow); font-size: 12px; font-weight: 700; display: grid; place-items: center; line-height: 1; }

.lead-form, .sent { background: var(--surface); color: var(--text); border-radius: 24px; padding: 30px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .55); }
.lead-form h3, .sent h3 { margin: 0 0 18px; font-size: 22px; color: var(--text); }
.field { margin: 0 0 16px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; padding: 0; }
.opt { color: var(--muted); font-weight: 400; }
.field input:not([type]), .field input[type="tel"], .field textarea {
  width: 100%; border: 1px solid var(--line); background: var(--field); color: var(--text);
  border-radius: 12px; min-height: 50px; padding: 12px 14px; font: 400 16px/1.4 "Readex Pro", system-ui, sans-serif;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px rgba(255, 198, 26, .55); }
.field input[dir="ltr"] { text-align: start; }
html[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 12px; background: var(--field); border: 1px solid var(--line); }
.seg label { margin: 0; position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 40px; padding: 0 16px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--muted); }
.seg input:checked + span { background: var(--surface); color: var(--text); font-weight: 600; box-shadow: 0 1px 3px rgba(20, 33, 61, .14); }
.seg input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 1px; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.6; color: var(--muted); margin: 6px 0 8px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex-shrink: 0; }
.err { display: none; color: var(--error); font-size: 13px; margin-top: 6px; }
.invalid .err, .err.show { display: block; }
.invalid input, .invalid textarea { border-color: var(--error); }
.lead-form .btn-block { margin-top: 14px; }
.form-status { margin-top: 12px; font-size: 14px; color: var(--error); min-height: 1.4em; }
.sent p { color: var(--muted); }
.sent bdi { color: var(--text); font-weight: 600; }

/* FAQ */
.faq { padding: 96px 0; }
.faq-wrap > * { max-width: 860px; }
.faq h2 { margin-bottom: 24px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 22px 0; font-size: 19px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; width: 11px; height: 11px; margin-top: 7px; flex-shrink: 0; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: rotate(225deg); margin-top: 14px; }
details p { padding: 0 0 22px; color: var(--muted); max-width: 44em; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 28px; background: var(--surface); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-brand .tagline { margin-top: 18px; color: var(--muted); font-size: 15px; max-width: 22em; }
.foot nav { display: flex; flex-direction: column; gap: 10px; }
.foot nav h2 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.foot nav a { color: var(--muted); font-size: 14px; text-decoration: none; width: fit-content; }
.foot nav a:hover { color: var(--text); text-decoration: underline; }
.contact { color: var(--muted); font-size: 14px; margin-top: 12px; }
.contact a { color: inherit; }
.foot-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }
.copy { color: var(--muted); font-size: 13px; }

/* Inner pages */
.page-hero { padding: 64px 0 56px; }
.page-hero h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.18; max-width: 15em; text-wrap: balance; }
html[lang="fr"] .page-hero h1, html[lang="en"] .page-hero h1 { letter-spacing: -.015em; }
.hero-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; align-items: center; }
.phone { margin: 0; justify-self: center; width: min(300px, 100%); padding: 10px; border-radius: 42px; background: #0B1222; box-shadow: var(--shadow), inset 0 0 0 2px rgba(255, 255, 255, .06); }
.phone img { width: 100%; height: auto; border-radius: 32px; display: block; }
.page-hero.with-shot { padding-bottom: 64px; }
.kicker { display: inline-block; margin-bottom: 18px; padding: 4px 12px; border-radius: 999px; background: color-mix(in srgb, var(--yellow) 26%, transparent); color: var(--text); font-size: 14px; font-weight: 600; }
.lead-sm { font-size: 17px; margin-top: 12px; }
.section { padding: 80px 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section h2, .band h2 { font-size: clamp(26px, 3vw, 36px); }
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 48px; align-items: start; }
.prose { font-size: 18px; line-height: 1.75; max-width: 40em; }
.note { margin-top: 14px; color: var(--muted); font-size: 15px; }
.cards { display: grid; gap: 20px; margin-top: 32px; }
.split .cards, .wrap.cards { margin-top: 0; }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.section.alt .card { background: var(--bg); }
.card h3 { font-size: 19px; font-weight: 600; }
.card p { margin-top: 8px; color: var(--muted); }
.numbered { list-style: none; counter-reset: n; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.numbered li { counter-increment: n; }
.numbered li::before { content: counter(n); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 12px; background: var(--ink); color: var(--yellow); font-weight: 700; font-size: 18px; }
@media (prefers-color-scheme: dark) { .numbered li::before { background: #070D1A; } }
.numbered h3 { font-size: 19px; font-weight: 600; }
.numbered p { margin-top: 8px; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-inline-start: 32px; }
.ticks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--yellow)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 11-11-1.4-1.4z' fill='%2314213D'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.card .ticks { color: var(--text); font-size: 16px; }
.big-figures { display: flex; flex-wrap: wrap; gap: 12px 40px; font-size: 18px; }
.big-figures strong { display: block; font-size: clamp(40px, 5vw, 60px); line-height: 1.1; font-variant-numeric: tabular-nums; }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 600; text-decoration: none; color: var(--blue); }
.more:hover span { text-decoration: underline; }
.more .arrow { width: 18px; height: 18px; fill: currentColor; }
html[dir="rtl"] .more .arrow { transform: scaleX(-1); }
.band { background: var(--band); color: var(--band-text); padding: 64px 0; }
.band-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.band .cta { margin-top: 0; }
.band .btn-line { color: var(--band-text); }
.band .soon { color: var(--band-muted); }
.city-list { margin-top: 14px; font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; line-height: 1.5; }
.tariff { width: 100%; border-collapse: collapse; font-size: 16px; }
.tariff th, .tariff td { padding: 12px 8px; text-align: start; border-bottom: 1px solid var(--line); }
.tariff thead th { color: var(--muted); font-size: 13px; font-weight: 600; }
.tariff tbody th { font-weight: 500; }
.tariff td { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tariff tr:last-child th, .tariff tr:last-child td { border-bottom: 0; }
.tariff .muted { color: var(--muted); font-weight: 400; }
.try { max-width: 620px; }
.numbers { margin: 12px 0 0; display: grid; gap: 4px; }
.numbers div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.numbers div:last-child { border-bottom: 0; }
.numbers dt { color: var(--muted); }
.numbers dd { margin: 0; }
.numbers a { font-size: 28px; font-weight: 700; color: var(--text); text-decoration: none; font-variant-numeric: tabular-nums; }
.contact-lines { margin-top: 16px; font-weight: 600; }
.legal-dl { margin: 0; display: grid; gap: 0; }
.legal-dl div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.legal-dl dt { color: var(--muted); }
.legal-dl dd { margin: 0; font-weight: 500; }
.help-groups h2 { font-size: 22px; margin: 36px 0 4px; }
.help-groups h2:first-child { margin-top: 0; }
.help-groups summary { font-size: 17px; }

/* Tablets */
@media (max-width: 980px) {
  .hero-grid, .drivers-grid, .promise-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero { padding: 48px 0 72px; }
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; inset-inline: 0; top: 100%; margin: 0; flex-direction: column; gap: 0; padding: 8px 24px 16px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -20px rgba(20, 33, 61, .35); }
  .top.open .nav { display: flex; }
  .nav a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav a[aria-current="page"]::after { inset-inline: auto; inset-inline-start: -24px; top: 12px; bottom: 12px; width: 4px; height: auto; }
  .langs { margin-inline-start: auto; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero-split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .phone { width: min(260px, 80%); }
  .cards-3, .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numbered { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
/* Phones */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .top-row { gap: 12px; height: 64px; }
  .get-app, .login { display: none !important; }
  .top.open .nav-extra:not([hidden]) { display: block !important; }
  .nav-app { color: var(--text) !important; font-weight: 600 !important; }
  .nav { padding-inline: 16px; }
  .nav a[aria-current="page"]::after { inset-inline-start: -16px; }
  .hero { padding: 36px 0 56px; }
  .lead { font-size: 17px; }
  .cta .btn { flex: 1 1 100%; }
  .meter-card { padding: 18px; border-radius: 22px; }
  .how, .promise, .drivers, .faq { padding: 64px 0; }
  .cities { padding-bottom: 64px; }
  .route-steps { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 32px; }
  .route-steps::before { inset-inline: 18px auto; top: 20px; bottom: 60px; border-top: 0; border-inline-start: 3px dotted color-mix(in srgb, var(--muted) 55%, transparent); }
  .step { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 18px; }
  .step .mark { grid-row: span 2; margin: 0; }
  .promises { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .lead-form, .sent { padding: 22px; border-radius: 20px; }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .page-hero { padding: 40px 0 36px; }
  .section { padding: 56px 0; }
  .cards-2, .cards-3, .cards-4, .numbered { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 20px; }
  .prose { font-size: 17px; }
  .band { padding: 48px 0; }
  .band .cta .btn { flex: 1 1 100%; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .legal-dl div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .tariff { font-size: 15px; }
  .tariff th, .tariff td { padding: 10px 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* 404 */
.lost { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; padding-block: 72px; }
.lost .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.lost h1 { font-size: clamp(32px, 4.4vw, 52px); max-width: 14em; }
.lost .lead { margin-top: 0; }
