/* Wells247 website styles. Colours come from brand/BRAND.md. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("/assets/fonts/bricolage-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("/assets/fonts/bricolage-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --green: #008751;
  --green-press: #006B40;
  --green-text: #007A49;
  --mint: #1EC47A;
  --white: #FFFFFF;
  --mist: #F4F8F6;
  --ink: #0F1A14;
  --night: #0B120E;
  --night-card: #16211B;
  --grey: #5B6660;
  --grey-night: #8D9690;
  --red: #D92D20;

  --bg: var(--white);
  --bg-alt: var(--mist);
  --text: var(--ink);
  --text-soft: var(--grey);
  --line: #DCE5E0;
  --accent: var(--green);
  --accent-text: var(--green-text);
  --band: var(--green);
  --story-bg: var(--green);
  --card: var(--white);

  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(64px, 9vw, 128px);
  --header-h: 68px;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem);
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.9rem);
  --step-4: clamp(2.4rem, 1.4rem + 4.4vw, 5rem);

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--night);
    --bg-alt: #101913;
    --text: #E8EFEA;
    --text-soft: #A3ADA7;
    --line: #24322A;
    --accent: #00A35C;
    --accent-text: #2BD487;
    --band: #007A49;
    --story-bg: #005E38;
    --card: var(--night-card);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 0.5em; text-wrap: balance; }
h2 { font-size: var(--step-3); font-weight: 750; font-stretch: 88%; letter-spacing: -0.015em; }
h3 { font-size: var(--step-1); font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--accent-text); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
ul, ol { padding: 0; margin: 0; list-style: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section-lede { font-size: var(--step-1); color: var(--text-soft); max-width: 38em; line-height: 1.5; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.7em 1.4em; border-radius: 999px;
  font: inherit; font-weight: 700; line-height: 1.1; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-press); }
.btn-ghost { background: transparent; color: var(--text); border-color: currentColor; }
.btn-ghost:hover { color: var(--accent-text); }
.btn-light { background: #fff; color: var(--green-press); }
.btn-light:hover { background: #E6F3EC; }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.85); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-small { min-height: 40px; padding: 0.45em 1.05em; font-size: 0.95rem; }
.btn-large { min-height: 56px; padding: 0.85em 1.7em; font-size: 1.1rem; }
.btn-icon { width: 1.2em; height: 1.2em; }
@media (prefers-color-scheme: dark) {
  .btn-primary { background: #00A35C; color: #04140B; }
  .btn-primary:hover { background: #2BB872; }
}

/* Store badges, drawn in HTML so they stay sharp */
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store-row-center { justify-content: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  min-width: 172px; height: 56px; padding: 0 18px 0 14px;
  background: #000; color: #fff; text-decoration: none;
  border-radius: 12px; border: 1px solid #000;
  transition: transform .15s ease;
}
.badge:hover { text-decoration: none; transform: translateY(-1px); }
.badge-icon { width: 28px; height: 28px; flex: none; }
.badge-text { display: flex; flex-direction: column; line-height: 1.05; }
.badge-text small { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.01em; }
.badge-text strong { font-size: 1.22rem; font-weight: 700; letter-spacing: -0.01em; }
.badge-on-dark, .badge { box-shadow: 0 0 0 1px rgba(255,255,255,0); }
@media (prefers-color-scheme: dark) { .badge { border-color: #4A5A51; } }
.app-driver .badge { border-color: #4A5A51; }
.badge.is-soon { cursor: default; background: transparent; color: var(--text); border: 1.5px dashed var(--text-soft); }
.badge.is-soon:hover { transform: none; }
.badge.is-soon .badge-text small { color: var(--text-soft); }
.app-driver .badge.is-soon { color: #E8EFEA; border-color: #6F7D75; }
.app-driver .badge.is-soon .badge-text small { color: #A3ADA7; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1440px; margin: 0 auto; height: var(--header-h);
  display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter);
}
.brand img { width: 132px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.97rem;
}
.main-nav a:hover { background: var(--bg-alt); color: var(--accent-text); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 10px;
  background: transparent; color: var(--text); cursor: pointer; place-items: center;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  position: relative; transition: transform .2s ease, background-color .2s ease;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1099px) {
  .nav-toggle { display: grid; }
  .header-actions { margin-left: auto; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px; display: none;
    box-shadow: 0 18px 30px -18px rgba(0,0,0,.25);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { padding: 14px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav li:last-child a { border-bottom: 0; }
}
@media (max-width: 380px) {
  .brand img { width: 112px; }
  .header-actions .btn-small { padding: 0.45em 0.85em; font-size: 0.9rem; }
}

/* HERO: green, white, green */
.hero {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) 10px;
  background: var(--bg);
}
.hero-band { background: var(--band); position: relative; }
.hero-band .phone { display: none; }
.hero-center {
  padding: clamp(40px, 7vw, 88px) clamp(14px, 4vw, 48px) 0;
  text-align: center; min-width: 0;
}
.hero-launch {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 12px; border-radius: 999px;
  background: var(--bg-alt); border: 1px solid var(--line);
  font-weight: 600; font-size: 0.95rem; margin-bottom: 24px;
}
.live-dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--mint); flex: none;
  box-shadow: 0 0 0 0 rgba(30,196,122,.6); animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(30,196,122,.55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(30,196,122,0); } }
.hero h1 {
  font-size: var(--step-4); font-weight: 800; font-stretch: 80%;
  letter-spacing: -0.025em; line-height: 0.98; margin: 0 auto 0.4em; max-width: 12em;
}
.hero-lede { font-size: clamp(1.08rem, 1rem + 0.4vw, 1.3rem); color: var(--text-soft); max-width: 34em; margin: 0 auto 32px; line-height: 1.55; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-note { margin: 14px 0 0; font-size: var(--step--1); color: var(--text-soft); }

.hero-phones-inline {
  display: flex; justify-content: center; align-items: flex-start; gap: 0;
  margin-top: 48px; height: clamp(300px, 72vw, 440px); overflow: hidden;
  position: relative;
}
.hero-phones-inline::before {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: min(78%, 420px); height: 80%; background: var(--band); border-radius: 24px 24px 0 0;
}
.hero-phones-inline .phone { position: relative; flex: none; }
.hero-phones-inline .phone-offset { margin-left: -28px; margin-top: 44px; }

@media (max-width: 599px) {
  .hero-center { text-align: left; }
  .hero h1 { margin-left: 0; }
  .hero-lede { margin-left: 0; }
  .hero-cta { justify-content: flex-start; }
  .hero-cta .btn { flex: 1 1 auto; }
}

@media (min-width: 1200px) {
  .hero {
    grid-template-columns: minmax(260px, 1fr) minmax(0, 700px) minmax(260px, 1fr);
    min-height: min(calc(100vh - var(--header-h)), 860px);
  }
  .hero-center { padding: clamp(64px, 8vh, 112px) 48px 72px; align-self: center; }
  .hero-phones-inline { display: none; }
  .hero-band .phone { display: block; position: absolute; top: 50%; }
  .hero-band-left .phone { right: -34px; transform: translateY(-46%) rotate(-5deg); }
  .hero-band-right .phone { left: -34px; transform: translateY(-54%) rotate(5deg); }
  .hero-band::after {
    content: ""; position: absolute; inset: 0;
    background: repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 28px);
    pointer-events: none;
  }
}
@media (min-width: 1200px) and (max-width: 1299px) {
  .hero-band .phone { --phone-w: 230px; }
}

/* PHONE MOCKUPS. Everything inside a screen is sized in em, so changing
   --phone-w scales the whole screen. */
.phone {
  --phone-w: 250px;
  width: var(--phone-w); aspect-ratio: 250 / 520;
  border-radius: calc(var(--phone-w) * 0.15);
  background: #0E1511; padding: calc(var(--phone-w) * 0.035);
  box-shadow: 0 1px 0 1px #2A362F inset, 0 30px 60px -20px rgba(4, 30, 17, 0.45), 0 12px 24px -12px rgba(4,30,17,.3);
  position: relative; z-index: 2;
}
.phone::before {
  content: ""; position: absolute; z-index: 3; top: calc(var(--phone-w) * 0.06); left: 50%; transform: translateX(-50%);
  width: 30%; height: calc(var(--phone-w) * 0.075); background: #0E1511; border-radius: 999px;
}
.phone-small { --phone-w: clamp(150px, 42vw, 210px); }
.phone-screen {
  --scr-bg: #FFFFFF; --scr-card: #F4F8F6; --scr-ink: #0F1A14; --scr-sub: #5B6660; --scr-line: #E1E9E4; --scr-green: #008751; --scr-on-green: #fff;
  font-size: calc(var(--phone-w) * 0.044);
  width: 100%; height: 100%; overflow: hidden; position: relative;
  border-radius: calc(var(--phone-w) * 0.12);
  background: var(--scr-bg); color: var(--scr-ink);
  padding: 4.6em 1.25em 1.2em; line-height: 1.35; text-align: left;
  display: flex; flex-direction: column; gap: 0.7em;
}
.phone-dark .phone-screen, .phone-screen.night {
  --scr-bg: #0B120E; --scr-card: #16211B; --scr-ink: #E8EFEA; --scr-sub: #8D9690; --scr-line: #24322A; --scr-green: #00A35C; --scr-on-green: #04140B;
}
@media (prefers-color-scheme: dark) {
  .phone { box-shadow: 0 0 0 1px #33433A, 0 30px 60px -20px rgba(0,0,0,.7); }
  .phone-screen {
    --scr-bg: #0B120E; --scr-card: #16211B; --scr-ink: #E8EFEA; --scr-sub: #8D9690; --scr-line: #24322A; --scr-green: #00A35C; --scr-on-green: #04140B;
  }
}
.phone-screen p { margin: 0; }
.s-title { font-weight: 800; font-size: 1.5em; letter-spacing: -0.01em; }
.s-greet { font-weight: 700; font-size: 1.12em; }
.s-sub { font-weight: 700; font-size: 0.92em; color: var(--scr-sub); margin-top: 0.3em !important; }
.s-field {
  display: flex; align-items: center; gap: 0.6em;
  background: var(--scr-card); border-radius: 0.7em; padding: 0.6em 0.75em; font-size: 0.95em; font-weight: 500;
}
.dot { width: 0.65em; height: 0.65em; border-radius: 50%; flex: none; }
.dot-from { background: var(--scr-green); }
.dot-to { background: var(--scr-ink); border-radius: 2px; }
.s-choice { display: flex; gap: 0.4em; }
.s-choice span, .s-cats span {
  padding: 0.35em 0.9em; border-radius: 999px; border: 1px solid var(--scr-line); font-weight: 600; font-size: 0.9em;
}
.s-choice .on, .s-cats .on { background: var(--scr-ink); color: var(--scr-bg); border-color: var(--scr-ink); }
.s-offer { display: flex; align-items: center; justify-content: space-between; gap: 0.5em; padding: 0.2em 0; }
.s-step {
  width: 2.3em; height: 2.3em; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--scr-line); font-weight: 700; font-size: 1.1em;
}
.s-amount { text-align: center; font-weight: 800; font-size: 1.85em; letter-spacing: -0.02em; line-height: 1.05; }
.s-amount small { display: block; font-size: 0.42em; font-weight: 600; color: var(--scr-sub); letter-spacing: 0; }
.s-btn {
  display: block; text-align: center; background: var(--scr-green); color: var(--scr-on-green);
  font-weight: 700; border-radius: 999px; padding: 0.75em 1em; font-size: 1em;
}
.s-btn-sm { padding: 0.45em 0.8em; font-size: 0.82em; display: inline-block; }
.s-btn-ghost { background: transparent; color: var(--scr-ink); border: 1px solid var(--scr-line); }

/* ride screen */
.screen-ride { padding: 0; gap: 0; }
.map { position: relative; flex: 1 1 auto; background: #E3EDE7; overflow: hidden; }
@media (prefers-color-scheme: dark) { .map { background: #142019; } }
.road { position: absolute; background: var(--scr-bg); }
.r1 { left: -10%; right: -10%; top: 30%; height: 0.9em; transform: rotate(-12deg); }
.r2 { top: -10%; bottom: -10%; left: 62%; width: 0.8em; transform: rotate(8deg); }
.r3 { left: -10%; right: -10%; top: 72%; height: 0.6em; transform: rotate(6deg); }
.r4 { top: -10%; bottom: -10%; left: 22%; width: 0.6em; }
.route {
  position: absolute; left: 24%; top: 44%; width: 42%; height: 32%;
  border: 0.32em solid var(--scr-green); border-left: 0; border-bottom: 0; border-radius: 0 1.2em 0 0;
}
.pin { position: absolute; width: 1.05em; height: 1.05em; border-radius: 50%; border: 0.28em solid var(--scr-bg); }
.pin-a { left: calc(24% - 0.5em); top: calc(76% - 0.5em); background: var(--scr-green); }
.pin-b { left: calc(66% - 0.4em); top: calc(44% - 0.5em); background: var(--scr-ink); border-radius: 3px; }
.car { position: absolute; width: 0.9em; height: 1.4em; border-radius: 0.3em; background: var(--scr-green); box-shadow: 0 0 0 0.18em var(--scr-bg); }
.c1 { left: 40%; top: 18%; transform: rotate(-12deg); }
.c2 { left: 75%; top: 60%; transform: rotate(80deg); }
.c3 { left: 12%; top: 50%; transform: rotate(4deg); }
.sheet {
  background: var(--scr-bg); border-radius: 1.4em 1.4em 0 0; margin-top: -1.4em; position: relative;
  padding: 1.2em 1.25em 1.3em; display: flex; flex-direction: column; gap: 0.6em;
}
.phone-small .screen-ride .sheet { gap: 0.5em; }

/* shop screen */
.s-search { background: var(--scr-card); border-radius: 999px; padding: 0.6em 1em; color: var(--scr-sub); font-size: 0.92em; }
.s-cats { display: flex; gap: 0.4em; flex-wrap: nowrap; overflow: hidden; }
.s-shop { display: flex; gap: 0.75em; align-items: center; padding: 0.35em 0; border-bottom: 1px solid var(--scr-line); }
.s-shop:last-of-type { border-bottom: 0; }
.s-shop b { display: block; font-size: 1em; }
.s-shop small { display: block; color: var(--scr-sub); font-size: 0.82em; }
.s-thumb { width: 3.4em; height: 3.4em; border-radius: 0.8em; flex: none; position: relative; overflow: hidden; }
.t1 { background: radial-gradient(circle at 40% 45%, #E4572E 0 28%, #F6B33C 29% 40%, #FFF3D6 41%); }
.t2 { background: linear-gradient(135deg, #7CC6A4, #2F7D5B); }
.t3 { background: radial-gradient(circle at 60% 50%, #8A3B12 0 30%, #C46A2C 31% 46%, #F2D9B8 47%); }
.tag {
  display: inline-block !important; width: max-content; margin: 0.15em 0;
  font-size: 0.72em !important; font-weight: 700; color: var(--scr-green) !important;
  background: color-mix(in srgb, var(--scr-green) 12%, transparent); padding: 0.1em 0.55em; border-radius: 999px;
}
.s-cartbar {
  margin-top: auto; display: flex; justify-content: space-between; align-items: center;
  background: var(--scr-green); color: var(--scr-on-green); border-radius: 999px; padding: 0.7em 1.1em; font-size: 0.95em;
}

/* errand screen */
.s-box { background: var(--scr-card); border-radius: 0.9em; padding: 0.8em 0.9em; }
.s-box small { color: var(--scr-sub); font-weight: 600; font-size: 0.8em; }
.s-box p { font-weight: 500; margin-top: 0.2em; }
.s-toggle { display: flex; align-items: center; gap: 0.6em; font-weight: 600; font-size: 0.92em; }
.sw { width: 2.3em; height: 1.35em; border-radius: 999px; background: var(--scr-line); position: relative; flex: none; }
.sw.on { background: var(--scr-green); }
.sw::after { content: ""; position: absolute; top: 0.17em; left: 0.17em; width: 1em; height: 1em; border-radius: 50%; background: #fff; }
.sw.on::after { left: auto; right: 0.17em; }
.s-hint { font-size: 0.8em; color: var(--scr-sub); }
.screen-errand .s-btn { margin-top: auto; }

/* driver earnings screen */
.s-status { display: flex; align-items: center; gap: 0.55em; font-size: 0.86em; font-weight: 600; color: var(--scr-green); }
.s-status .live-dot { width: 0.7em; height: 0.7em; }
.s-bal { background: var(--scr-card); border-radius: 1em; padding: 0.9em 1em; }
.s-bal small { display: block; color: var(--scr-sub); font-size: 0.82em; font-weight: 600; }
.s-bal b { font-size: 2.1em; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.s-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5em; }
.s-stats div { background: var(--scr-card); border-radius: 0.8em; padding: 0.55em 0.8em; }
.s-stats small { display: block; color: var(--scr-sub); font-size: 0.78em; }
.s-stats b { font-size: 1.1em; }
.s-moves li { display: flex; justify-content: space-between; gap: 0.5em; padding: 0.42em 0; border-bottom: 1px solid var(--scr-line); font-size: 0.86em; }
.s-moves li:last-child { border-bottom: 0; }
.s-moves span { color: var(--scr-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-moves b { color: #1EC47A; white-space: nowrap; }
.s-moves b.out { color: var(--scr-sub); }

/* seller screen */
.screen-seller { gap: 0.55em; }
.screen-seller .tag { margin-top: -0.4em; }
.s-bal-light b { color: var(--scr-green); }
.s-order { display: flex; justify-content: space-between; align-items: center; gap: 0.5em; padding: 0.5em 0; border-bottom: 1px solid var(--scr-line); font-size: 0.88em; }
.s-order b { display: block; }
.s-order span { color: var(--scr-sub); display: block; }
.s-order-new { flex-direction: column; align-items: stretch; background: var(--scr-card); border: 0; border-radius: 0.9em; padding: 0.7em 0.8em; }
.s-actions { display: flex; gap: 0.4em; }
.st { font-style: normal; font-weight: 700; font-size: 0.82em; white-space: nowrap; padding: 0.15em 0.6em; border-radius: 999px; }
.st-done { color: var(--scr-green); background: color-mix(in srgb, var(--scr-green) 12%, transparent); }
.st-way { color: #9A6A00; background: #FFF3D1; }
@media (prefers-color-scheme: dark) { .st-way { color: #F5C451; background: #2D2610; } }

/* Hero entrance: the one orchestrated moment on the page */
@media (prefers-reduced-motion: no-preference) {
  .hero-center > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero-center > :nth-child(2) { animation-delay: .06s; }
  .hero-center > :nth-child(3) { animation-delay: .12s; }
  .hero-center > :nth-child(4) { animation-delay: .18s; }
  .hero-center > :nth-child(5) { animation-delay: .22s; }
  .hero-center > :nth-child(6) { animation-delay: .3s; }
  @media (min-width: 1200px) {
    .hero-band-left .phone { animation: phone-left 1s cubic-bezier(.2,.7,.2,1) .25s both; }
    .hero-band-right .phone { animation: phone-right 1s cubic-bezier(.2,.7,.2,1) .4s both; }
  }
  .screen-ride .c1 { animation: drive1 9s ease-in-out infinite alternate; }
  .screen-ride .c2 { animation: drive2 11s ease-in-out infinite alternate; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes phone-left { from { opacity: 0; transform: translateY(-36%) rotate(-11deg); } to { opacity: 1; transform: translateY(-46%) rotate(-5deg); } }
@keyframes phone-right { from { opacity: 0; transform: translateY(-44%) rotate(11deg); } to { opacity: 1; transform: translateY(-54%) rotate(5deg); } }
@keyframes drive1 { to { left: 52%; top: 14%; } }
@keyframes drive2 { to { left: 70%; top: 40%; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* THREE APPS */
.apps-intro h2 { max-width: 16em; }
.app-tiles { display: grid; gap: 14px; margin-top: 40px; }
@media (min-width: 760px) { .app-tiles { grid-template-columns: repeat(3, 1fr); } }
.app-tile {
  display: flex; flex-direction: column; gap: 6px; height: 100%;
  padding: 26px 24px 28px; border-radius: 20px; text-decoration: none;
  border: 1px solid transparent; transition: border-color .15s ease;
}
.app-tile img { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 14px; }
.tile-name { font-size: var(--step-1); font-weight: 750; }
.tile-desc { line-height: 1.45; }
.tile-customer { background: var(--green); color: #fff; }
.tile-customer img { box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.tile-driver { background: var(--night); color: #E8EFEA; }
.tile-driver img { box-shadow: 0 0 0 1px #2A362F; }
.tile-seller { background: var(--bg); color: var(--text); border-color: var(--line); }
.tile-seller img { box-shadow: 0 0 0 1px var(--line); }
.app-tile:hover { border-color: var(--accent); text-decoration: none; }
.tile-desc { opacity: .88; }
@media (prefers-color-scheme: dark) {
  .tile-customer { background: #007A49; }
  .tile-driver { background: var(--night-card); }
}

/* APP SECTIONS */
.app-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) {
  .app-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 72px; }
  .app-grid-flip .app-visual { order: -1; }
}
.app-id { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-weight: 700; font-size: 1.05rem; }
.app-id img { width: 40px; height: 40px; border-radius: 10px; }
.app-section h2 { max-width: 14em; }
.app-lede { font-size: var(--step-1); line-height: 1.5; max-width: 34em; }
.app-visual { display: flex; justify-content: center; position: relative; padding: 32px 0; }
.app-visual::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  width: min(56%, 220px); background: var(--band); border-radius: 22px;
}
.app-visual .phone { --phone-w: clamp(230px, 64vw, 270px); }

.feature-list { display: grid; gap: 26px; margin-top: 30px; }
.feature-list li { padding-left: 20px; border-left: 3px solid var(--accent); }
.feature-list h3 { margin-bottom: 0.25em; }
.feature-list p { margin: 0; color: var(--text-soft); max-width: 36em; }

.app-driver { background: var(--night); color: #E8EFEA; }
.app-driver .app-lede, .app-driver .tick-list { color: #C9D3CD; }
.app-driver a { color: var(--mint); }
.app-driver .app-visual::before { background: #0F3D27; }
@media (prefers-color-scheme: dark) { .app-driver { background: #070C09; border-block: 1px solid var(--line); } }

.pass-facts { margin: 30px 0; display: grid; gap: 0; border-top: 1px solid #24322A; }
.pass-facts div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid #24322A; }
.pass-facts dt { font-size: var(--step-2); font-weight: 800; color: var(--mint); font-stretch: 85%; letter-spacing: -0.01em; }
.pass-facts dd { margin: 0; color: #C9D3CD; }

.tick-list { display: grid; gap: 12px; margin-top: 24px; max-width: 38em; }
.tick-list li { position: relative; padding-left: 32px; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.2 2.6 2.6L14 7.4' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.app-driver .tick-list li::before { background-color: #00A35C; }

.vehicle-table-wrap { margin-top: 30px; overflow-x: auto; }
.vehicle-table { width: 100%; max-width: 30rem; border-collapse: collapse; font-size: 0.98rem; }
.vehicle-table caption { text-align: left; font-weight: 700; margin-bottom: 10px; color: #E8EFEA; }
.vehicle-table th, .vehicle-table td { padding: 9px 10px; text-align: left; border-bottom: 1px solid #24322A; }
.vehicle-table thead th { color: #A3ADA7; font-weight: 600; font-size: 0.9rem; }
.vehicle-table tbody th { font-weight: 700; }
.vehicle-table .yes { color: var(--mint); font-weight: 700; }
.vehicle-table .no { color: #8D9690; }

.app-seller { background: var(--bg-alt); }

/* STORY */
.story { background: var(--story-bg); color: #fff; position: relative; overflow: hidden; }
.story-wrap { position: relative; }
.story-mark {
  position: absolute; width: clamp(220px, 34vw, 440px); top: -30px; right: calc(var(--gutter) * -1 - 40px);
  opacity: 0.1; pointer-events: none;
}
.letter { max-width: 40rem; position: relative; }
.letter h2 { color: #fff; font-size: var(--step-3); margin-bottom: 1em; }
.letter p { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem); line-height: 1.7; margin-bottom: 1.15em; }
.letter p:nth-of-type(2) { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); font-weight: 700; line-height: 1.3; font-stretch: 88%; margin: 1.2em 0; }
.signature { margin-top: 2em !important; padding-top: 1.2em; border-top: 1px solid rgba(255,255,255,.35); display: flex; flex-direction: column; font-weight: 700; }
.sig-name { font-size: 1.3em; }
.signature span:last-child { font-weight: 500; opacity: .92; }

/* HOW IT WORKS */
.tab-list {
  display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; margin: 16px 0 40px;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; max-width: 100%;
}
.tab-list button {
  font: inherit; font-weight: 700; font-size: 0.98rem; color: var(--text);
  background: transparent; border: 0; padding: 10px 18px; border-radius: 999px; cursor: pointer; min-height: 44px;
}
.tab-list button[aria-selected="true"] { background: var(--green); color: #fff; }
@media (prefers-color-scheme: dark) { .tab-list button[aria-selected="true"] { background: #00A35C; color: #04140B; } }
@media (max-width: 520px) {
  .tab-list { display: flex; border-radius: 16px; }
  .tab-list button { flex: 1 1 100%; border-radius: 12px; }
}
.steps { display: grid; gap: 28px; counter-reset: step; margin-bottom: 36px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 36px; } }
.steps li { counter-increment: step; padding-top: 18px; border-top: 2px solid var(--text); }
.steps li::before {
  content: counter(step); display: block; font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); font-weight: 800;
  font-stretch: 78%; line-height: 1; color: var(--accent-text); margin-bottom: 14px;
}
.steps p { color: var(--text-soft); margin: 0; }
.tab-panel:focus-visible { outline-offset: 8px; }

/* SAFETY */
.safety { background: var(--bg-alt); }
.safety-grid { display: grid; gap: 0 48px; margin-top: 40px; }
@media (min-width: 640px) { .safety-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .safety-grid { grid-template-columns: repeat(3, 1fr); } }
.safety-grid li { padding: 26px 0; border-top: 1px solid var(--line); }
.safety-grid svg { width: 34px; height: 34px; color: var(--accent-text); margin-bottom: 12px; }
.safety-grid h3 { margin-bottom: 0.3em; }
.safety-grid p { margin: 0; color: var(--text-soft); }

/* PRICING */
.pricing-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: 1fr minmax(0, 440px); gap: 80px; } }
.fine { color: var(--text-soft); font-size: 0.98rem; max-width: 34em; padding: 16px 18px; border-left: 3px solid var(--accent); background: var(--bg-alt); border-radius: 0 10px 10px 0; }
.receipt {
  background: var(--card); color: var(--text); padding: 28px 26px 34px; border-radius: 6px 6px 0 0;
  box-shadow: 0 1px 0 var(--line), 0 24px 50px -24px rgba(6, 40, 22, 0.3);
  border: 1px solid var(--line); border-bottom: 0;
  position: relative;
  --zig: 12px;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 90deg, #0000 91deg) 50% / calc(var(--zig) * 2) 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 90deg, #0000 91deg) 50% / calc(var(--zig) * 2) 100%;
  padding-bottom: calc(34px + var(--zig));
}
.receipt-head { font-weight: 800; font-size: 1.4rem; text-align: center; padding-bottom: 14px; border-bottom: 2px dashed var(--line); margin-bottom: 18px; letter-spacing: -0.01em; }
.receipt h3 { font-size: 1rem; margin: 18px 0 6px; color: var(--accent-text); }
.receipt dl { margin: 0; }
.receipt dl div { display: flex; align-items: baseline; gap: 8px; padding: 5px 0; }
.receipt dt { flex: 0 1 auto; }
.receipt dl div::after { content: none; }
.receipt dd { margin: 0 0 0 auto; font-weight: 700; text-align: right; white-space: nowrap; order: 3; }
.receipt dl div::before { content: ""; order: 2; flex: 1 1 24px; min-width: 16px; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.receipt-foot { margin: 20px 0 0; padding-top: 14px; border-top: 2px dashed var(--line); font-size: 0.88rem; color: var(--text-soft); text-align: center; }

/* CITIES */
.cities { padding-top: 0; }
.city-list { display: grid; gap: 36px; margin-top: 28px; padding-top: 32px; border-top: 1px solid var(--line); }
@media (min-width: 860px) { .city-list { grid-template-columns: 1.6fr 1fr; align-items: end; } }
.city-label { font-weight: 700; color: var(--text-soft); margin-bottom: 4px; }
.city-names { font-size: clamp(3.2rem, 1.8rem + 7vw, 8rem); font-weight: 800; font-stretch: 76%; line-height: 0.92; letter-spacing: -0.03em; margin: 0 0 14px; color: var(--accent-text); display: flex; flex-wrap: wrap; gap: 0 0.3em; }
.city-note { color: var(--text-soft); margin: 0; }
.city-next ul { display: grid; gap: 2px; }
.city-next li { font-size: var(--step-2); font-weight: 700; font-stretch: 88%; padding: 6px 0; border-bottom: 1px solid var(--line); }

/* FAQ */
.faq { background: var(--bg-alt); }
.faq-wrap { display: grid; gap: 40px; }
@media (min-width: 1000px) {
  .faq-wrap { grid-template-columns: 300px minmax(0, 1fr); gap: 72px; align-items: start; }
  .faq-intro { position: sticky; top: calc(var(--header-h) + 32px); }
}
.faq-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
@media (min-width: 1000px) { .faq-nav { flex-direction: column; align-items: flex-start; gap: 2px; } }
.faq-nav a {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--text); background: var(--bg);
}
@media (min-width: 1000px) { .faq-nav a { border: 0; background: none; padding: 6px 0; color: var(--accent-text); } }
.faq-group + .faq-group { margin-top: 44px; }
.faq-group h3 { font-size: var(--step-2); margin-bottom: 8px; font-stretch: 88%; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative;
  font-weight: 700; font-size: 1.08rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
  color: var(--accent-text); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent-text); }
.faq details p { margin: 0 0 20px; color: var(--text-soft); max-width: 42em; }

/* SUPPORT */
.support-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .support-grid { grid-template-columns: 1fr minmax(0, 480px); gap: 80px; align-items: start; } }
.contact-list { margin-top: 28px; border-top: 1px solid var(--line); }
.contact-list li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.c-label { color: var(--text-soft); font-weight: 600; }
.c-value { font-weight: 700; font-size: 1.1rem; overflow-wrap: anywhere; }
@media (max-width: 420px) { .contact-list li { grid-template-columns: 1fr; gap: 2px; } }

.contact-form { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 4vw, 32px); }
.contact-form h3 { font-size: var(--step-2); margin-bottom: 4px; }
.form-help { color: var(--text-soft); font-size: 0.95rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.98rem; }
.optional { font-weight: 500; color: var(--text-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg);
  border: 1.5px solid #A9B6AF; border-radius: 12px; padding: 12px 14px; min-height: 48px;
}
@media (prefers-color-scheme: dark) { .field input, .field select, .field textarea { border-color: #3A4A41; } }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field-error { color: var(--red); font-size: 0.92rem; font-weight: 600; margin: 6px 0 0; }
@media (prefers-color-scheme: dark) { .field-error { color: #FF7A6E; } }
.form-status { margin: 14px 0 0; font-weight: 600; color: var(--accent-text); }
.form-status:empty { display: none; }

/* FINAL CTA */
.final-cta { background: var(--green); color: #fff; padding: clamp(56px, 8vw, 96px) 0; text-align: center; }
@media (prefers-color-scheme: dark) { .final-cta { background: #005E38; } }
.final-cta h2 { color: #fff; max-width: 16em; margin: 0 auto 1em; }
.final-cta .btn-light { color: #005A35; }

/* FOOTER */
.site-footer { background: var(--night); color: #C9D3CD; padding: 64px 0 28px; font-size: 0.98rem; }
@media (prefers-color-scheme: dark) { .site-footer { background: #070C09; border-top: 1px solid var(--line); } }
.footer-grid { display: grid; gap: 36px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } .footer-brand { grid-column: auto; } }
.footer-brand img { width: 150px; margin-bottom: 14px; }
.footer-brand p { max-width: 22em; }
.site-footer h2 { font-size: 1rem; color: #fff; margin-bottom: 12px; font-stretch: 100%; letter-spacing: 0; }
.footer-nav li { margin-bottom: 8px; }
.site-footer a { color: #E8EFEA; text-decoration: none; }
.site-footer a:hover { color: var(--mint); text-decoration: underline; }
.social { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; }
.social a { font-weight: 600; }
.footer-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid #24322A; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 0.9rem; color: #A3ADA7; }
.footer-base p { margin: 0; }

/* DOWNLOAD DIALOG */
.get-dialog {
  border: 0; padding: 0; border-radius: 24px; width: min(440px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  background: var(--bg); color: var(--text); box-shadow: 0 40px 80px -20px rgba(0,0,0,.5);
}
.get-dialog::backdrop { background: rgba(7, 20, 13, 0.62); }
@media (prefers-color-scheme: dark) { .get-dialog { border: 1px solid var(--line); } }
.dialog-inner { padding: 36px 28px 30px; text-align: center; position: relative; }
.dialog-close {
  position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--bg-alt); color: var(--text); cursor: pointer; display: grid; place-items: center;
}
.dialog-close svg { width: 20px; height: 20px; }
.dialog-icon { width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 14px; box-shadow: 0 0 0 1px var(--line); }
.get-dialog h2 { font-size: var(--step-2); margin-bottom: 4px; }
.dialog-sub { color: var(--text-soft); margin-bottom: 18px; }
.qr { width: 196px; height: 196px; margin: 0 auto; padding: 10px; background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.qr:empty { display: none; }
.qr svg, .qr img { width: 100%; height: 100%; display: block; }
.get-dialog .store-row { margin-top: 22px; }
@media (prefers-reduced-motion: no-preference) {
  .get-dialog[open] { animation: pop .22s ease-out; }
}
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

/* SIMPLE PAGES (privacy, terms, notice, 404) */
.page { padding: clamp(48px, 7vw, 96px) 0 var(--section-y); }
.page .wrap { max-width: calc(46rem + var(--gutter) * 2); }
.page h1 { font-size: var(--step-3); font-weight: 800; font-stretch: 85%; letter-spacing: -0.02em; }
.page h2 { font-size: var(--step-2); margin-top: 1.6em; }
.page p, .page li { max-width: 40em; }
.page ul.bullets { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.page ul.bullets li { margin-bottom: 0.4em; }
.placeholder-box {
  border: 2px dashed #C08A00; background: #FFF8E1; color: #4A3700; border-radius: 14px; padding: 18px 20px; margin: 24px 0;
}
.placeholder-box strong { display: block; margin-bottom: 4px; }
@media (prefers-color-scheme: dark) { .placeholder-box { background: #241D07; color: #F5DE9C; border-color: #8A6A10; } }
.notice-text { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 4vw, 32px); margin: 24px 0; }
.notice-text h2 { margin-top: 0; }
.notfound { min-height: 60vh; display: grid; align-content: center; }
.notfound .big { font-size: clamp(5rem, 3rem + 10vw, 11rem); font-weight: 800; font-stretch: 75%; line-height: .9; color: var(--accent-text); margin: 0 0 12px; letter-spacing: -0.04em; }
.page .hero-cta { justify-content: flex-start; margin-top: 24px; }

/* ---- refinements after screenshot review ---- */
[hidden] { display: none !important; }
.apps-intro { padding-bottom: 0; }
.hero-band-left .phone { right: -18px; }
.hero-band-right .phone { left: -18px; }
.hero-lede { max-width: 31em; }
.app-visual { padding: 0; }
.app-visual::before {
  top: 12%; bottom: 12%; width: min(100%, 400px); border-radius: 28px;
}
.app-driver .phone { box-shadow: 0 0 0 1px #2E3D35, 0 30px 60px -20px rgba(0,0,0,.7); }
.s-order .s-btn { color: var(--scr-on-green); display: inline-block; }
.s-order .s-btn-ghost { color: var(--scr-ink); }
.screen-errand { gap: 0.55em; }
.screen-errand .s-field { font-size: 0.86em; }

@media (min-width: 960px) {
  .story-wrap { display: grid; grid-template-columns: minmax(0, 40rem) 1fr; gap: 64px; }
  .story-mark {
    position: sticky; top: calc(var(--header-h) + 64px); order: 2; justify-self: center;
    width: clamp(200px, 22vw, 320px); right: auto; opacity: 0.16; margin-top: 24px;
  }
}

.pay-ways-title { font-size: var(--step-1); margin-top: 32px; }
.pay-ways { margin-bottom: 24px; border-top: 1px solid var(--line); max-width: 36em; }
.pay-ways li { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pay-ways span { color: var(--text-soft); }
@media (max-width: 420px) { .pay-ways li { grid-template-columns: 1fr; gap: 2px; } }

.footer-base { border-top: 0; position: relative; }
.footer-base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid #24322A; }
@media (max-width: 759px) {
  .app-tile { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; row-gap: 2px; padding: 20px; align-items: start; }
  .app-tile img { width: 52px; height: 52px; margin: 0; grid-row: span 2; border-radius: 13px; }
}
@media (max-width: 480px) {
  .store-row { gap: 10px; }
  .badge { min-width: 0; flex: 1 1 150px; padding: 0 12px 0 10px; gap: 8px; height: 54px; }
  .badge-text strong { font-size: 1.1rem; }
  .badge-text small { font-size: 0.66rem; }
  .badge-icon { width: 24px; height: 24px; }
}
@media (min-width: 960px) {
  .app-visual { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
  .app-section .app-grid { align-items: start; }
  .app-section .app-copy { padding-top: 24px; }
}
@media (min-width: 600px) { .hero-phones-inline .phone-offset { margin-left: 4px; } }
.badge-text { white-space: nowrap; }
@media (max-width: 480px) {
  .get-dialog .badge { flex: 1 1 100%; justify-content: center; }
  .dialog-inner { padding: 32px 20px 24px; }
}
.brand + .header-actions { margin-left: auto; }

/* ---- Tablet and desktop polish (600px and up only; phones unchanged) ---- */

/* One container for everything: header lines up with every section */
.header-inner { max-width: calc(var(--wrap) + var(--gutter) * 2); }

/* Hero, stacked (tablet portrait): a slightly wider flag edge */
@media (min-width: 600px) and (max-width: 999px) {
  .hero { grid-template-columns: 20px minmax(0, 1fr) 20px; }
  .hero-center { padding-top: clamp(56px, 8vw, 80px); }
}

/* Hero, flag layout (iPad landscape, iPad Pro portrait and up) */
@media (min-width: 1000px) {
  .hero {
    grid-template-columns: minmax(180px, 1fr) minmax(0, 700px) minmax(180px, 1fr);
    min-height: min(calc(100vh - var(--header-h)), 860px);
    overflow-x: clip;
  }
  .hero-center { padding: clamp(56px, 8vh, 112px) 40px clamp(56px, 8vh, 80px); align-self: center; }
  .hero-phones-inline { display: none; }
  .hero-band .phone { --phone-w: clamp(184px, 18.5vw, 250px); display: block; position: absolute; top: 50%; }
  .hero-band-left .phone { right: -18px; transform: translateY(-46%) rotate(-5deg); }
  .hero-band-right .phone { left: -18px; transform: translateY(-54%) rotate(5deg); }
  .hero-band::after {
    content: ""; position: absolute; inset: 0;
    background: repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 28px);
    pointer-events: none;
  }
  @media (prefers-reduced-motion: no-preference) {
    .hero-band-left .phone { animation: phone-left 1s cubic-bezier(.2,.7,.2,1) .25s both; }
    .hero-band-right .phone { animation: phone-right 1s cubic-bezier(.2,.7,.2,1) .4s both; }
  }
}
@media (min-width: 1000px) and (max-width: 1199px) {
  .hero { grid-template-columns: minmax(200px, 1fr) minmax(0, 640px) minmax(200px, 1fr); }
  .hero h1 { font-size: clamp(3.4rem, 1rem + 4.6vw, 4.4rem); }
}
@media (min-width: 1200px) and (max-width: 1299px) {
  .hero-band .phone { --phone-w: 230px; }
}
@media (min-width: 1600px) {
  .hero { grid-template-columns: minmax(260px, 1fr) minmax(0, 760px) minmax(260px, 1fr); min-height: min(calc(100vh - var(--header-h)), 900px); }
  .hero-band .phone { --phone-w: 280px; }
  .hero-band-left .phone { right: -24px; }
  .hero-band-right .phone { left: -24px; }
}

/* App sections: copy beside the phone from tablet portrait up */
@media (min-width: 720px) {
  .app-grid {
    --visual-w: clamp(250px, 34%, 420px);
    grid-template-columns: minmax(0, 1fr) var(--visual-w);
    gap: clamp(40px, 6vw, 88px); align-items: center;
  }
  .app-grid-flip { grid-template-columns: var(--visual-w) minmax(0, 1fr); }
  .app-grid-flip .app-visual { order: -1; }
  .app-section .app-grid { align-items: center; }
  .app-section .app-copy { padding-top: 0; }
  .app-visual { position: relative; top: auto; align-self: center; padding: 0; }
  .app-visual .phone { --phone-w: clamp(220px, 26vw, 270px); }
  .app-visual::before { top: 14%; bottom: 14%; width: 100%; border-radius: 28px; }
  /* the driver copy is long: keep the phone in view while reading it */
  .app-driver .app-grid { align-items: start; }
  .app-driver .app-visual { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
  .vehicle-table { max-width: none; }
  .app-lede, .tick-list, .feature-list p { max-width: 36em; }
}
@media (min-width: 720px) and (max-width: 959px) {
  .app-section h2 { font-size: clamp(1.9rem, 1rem + 2vw, 2.3rem); }
  .app-lede { font-size: 1.12rem; }
  .pass-facts div { grid-template-columns: 6rem 1fr; }
  .vehicle-table { font-size: 0.92rem; }
  .vehicle-table th, .vehicle-table td { padding: 9px 6px; }
  .app-section .store-row { gap: 10px; }
  .app-section .badge { min-width: 0; padding: 0 14px 0 12px; }
}

/* Pricing: one measure for the whole left column */
@media (min-width: 900px) {
  .pricing-grid > div:first-child .section-lede,
  .pricing-grid .pay-ways,
  .pricing-grid .fine { max-width: 40rem; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .pricing-grid .pay-ways, .pricing-grid .fine { max-width: none; }
  .receipt { justify-self: center; width: min(100%, 480px); }
}

/* Cities: both labels share a top line */
@media (min-width: 860px) { .city-list { align-items: start; } }

/* Support: equal columns on small laptops so emails never break */
@media (min-width: 960px) and (max-width: 1199px) {
  .support-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
}
@media (min-width: 960px) { .c-value { overflow-wrap: normal; } }
/* Tablet portrait: pair the short form fields */
@media (min-width: 600px) and (max-width: 959px) {
  .contact-form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .contact-form > * { grid-column: 1 / -1; }
  .contact-form > .field:nth-of-type(-n+4) { grid-column: auto; }
  .contact-form > .btn { justify-self: start; }
}

/* Footer: no orphan column on tablets */
@media (min-width: 600px) and (max-width: 859px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 700px) and (max-width: 859px) {
  .city-list { grid-template-columns: 1.4fr 1fr; align-items: start; }
}

/* Account deletion page (16 Oct 2026) */
.page ol.howto { list-style: decimal; padding-left: 1.4em; margin: 0 0 4px; }
.page ol.howto li { margin-bottom: 0.45em; padding-left: 0.2em; }
.app-steps { display: grid; gap: 16px; margin: 24px 0 8px; }
.app-steps .notice-text { margin: 0; }
.app-steps .app-id { margin-bottom: 12px; }
.app-steps .app-id img { box-shadow: 0 0 0 1px var(--line); }
.app-steps p { margin: 10px 0 0; color: var(--text-soft); }
.page .delete-contacts { display: grid; gap: 10px; margin: 16px 0 20px; }
.page .delete-contacts li { display: grid; grid-template-columns: 12em minmax(0, 1fr); gap: 4px 12px; align-items: baseline; padding: 14px 16px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; }
@media (max-width: 520px) { .page .delete-contacts li { grid-template-columns: 1fr; } }
.page .delete-contacts a { overflow-wrap: anywhere; }
