/* Goose Run public website — same palette and font (Poppins) as the User
   App's lib/theme/app_colors.dart, so web and app read as one brand. */

@font-face { font-family: 'Poppins'; font-weight: 400; font-display: swap; src: url('fonts/Poppins-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Poppins'; font-weight: 500; font-display: swap; src: url('fonts/Poppins-Medium.ttf') format('truetype'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url('fonts/Poppins-SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Poppins'; font-weight: 700; font-display: swap; src: url('fonts/Poppins-Bold.ttf') format('truetype'); }
@font-face { font-family: 'Poppins'; font-weight: 800; font-display: swap; src: url('fonts/Poppins-ExtraBold.ttf') format('truetype'); }

:root {
    --yellow: #FCD303;        /* AppColors.primary */
    --yellow-dark: #D4B102;   /* AppColors.primaryDark */
    --ink: #16192C;           /* AppColors.textPrimary */
    --ink-soft: #6B7180;      /* AppColors.textSecondary */
    --dark: #08090B;          /* AppColors.darkBackground */
    --dark-2: #141519;        /* AppColors.darkSurface */
    --cream: #FCF3DC;         /* AppColors.heroBackground */
    --cream-soft: #FDFAF1;
    --muted: #F3F5FB;         /* AppColors.surfaceMuted */
    --border: #E3E6ED;        /* AppColors.border */
    --error: #E0483E;
    --radius: 16px;
    --container: 1200px;
    --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    border: 0; border-radius: 12px; cursor: pointer;
    font-weight: 700; line-height: 1; white-space: nowrap;
    transition: background-color .15s, transform .15s, box-shadow .15s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #ffdc1f; box-shadow: 0 6px 18px rgba(252, 211, 3, .35); }
.btn-yellow:active { transform: translateY(1px); }
.btn-sm { padding: 11px 18px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 18px 32px; font-size: 18px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.site-header {
    position: absolute; inset: 0 0 auto; z-index: 50;
    padding: 18px 0;
    transition: background-color .2s, padding .2s, box-shadow .2s;
}
.site-header.is-solid {
    position: fixed; background: rgba(8, 9, 11, .92); padding: 10px 0;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, .25);
}
.header-inner { display: flex; align-items: center; gap: 24px; }
.brand img { height: 44px; width: auto; }
.site-header.is-solid .brand img { height: 36px; }
.site-nav { display: flex; align-items: center; gap: 28px; flex: 1; margin-left: 16px; }
.site-nav a { color: #fff; font-size: 15px; font-weight: 500; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.site-nav a:not(.btn):hover { color: var(--yellow); }
.site-nav .btn { text-shadow: none; color: var(--ink); }
.nav-spacer { flex: 1; }
.nav-toggle, .header-cta { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 2; min-height: 760px; padding: 150px 0 80px; color: #fff; isolation: isolate; }
/* clip only the photo — the address suggestions must be able to hang below the hero */
.hero-bg { overflow: hidden; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg { z-index: -2; }
/* hero.webp is the bridge shot with extra sky added on top so its shape
   matches the hero — anchored to the bottom, so any trim comes off the sky. */
.hero-bg img { object-fit: cover; object-position: 65% bottom; }
.hero::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(90deg, rgba(6, 33, 72, .78) 0%, rgba(6, 33, 72, .5) 38%, rgba(6, 33, 72, 0) 62%),
        linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 22%);
}
.hero-inner { position: relative; }
.hero-title {
    font-size: clamp(44px, 6.4vw, 84px); font-weight: 800; line-height: 1.02; letter-spacing: -.02em;
    text-shadow: 0 4px 24px rgba(0, 0, 0, .3);
}
.hero-title span { color: var(--yellow); }
.hero-lead { margin-top: 18px; max-width: 440px; font-size: clamp(16px, 1.6vw, 20px); font-weight: 500; text-shadow: 0 2px 12px rgba(0, 0, 0, .4); }

.book-card {
    margin-top: 32px; max-width: 520px;
    background: #fff; color: var(--ink);
    border-radius: 20px; padding: 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}
.book-card h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; margin-bottom: 18px; }
.book-fields { display: flex; align-items: center; gap: 12px; }
.book-inputs { flex: 1; display: grid; gap: 12px; min-width: 0; }
.field {
    display: flex; align-items: center; gap: 12px;
    border: 1.5px solid var(--border); border-radius: 12px; padding: 0 16px;
    transition: border-color .15s, box-shadow .15s;
}
.field:focus-within { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(252, 211, 3, .2); }
.field-icon { width: 24px; height: 24px; flex: none; }
.field input {
    flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
    padding: 16px 0; font: inherit; font-size: 16px; color: var(--ink);
}
.field input::placeholder { color: var(--ink-soft); }
.swap-btn {
    width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%;
    background: var(--muted); color: var(--ink); cursor: pointer; display: grid; place-items: center;
    transition: background-color .15s, transform .25s;
}
.swap-btn:hover { background: var(--cream); }
.swap-btn.is-flipped { transform: rotate(180deg); }
.swap-btn svg { width: 22px; height: 22px; }
/* "What are you sending?" — the app's Home category tiles + More */
.send-what { margin-top: 16px; }
.send-what h3 { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cat-tile {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    min-width: 0; padding: 10px 6px; background: #fff; border: 1px solid var(--border); border-radius: 14px;
    font: inherit; color: var(--ink); cursor: pointer; text-align: center;
    transition: border-color .15s, background-color .15s;
}
.cat-tile:hover { border-color: #cfd4de; }
.cat-tile.is-selected { background: var(--cream); border: 1.5px solid var(--yellow); padding: 9.5px 5.5px; }
.cat-tile.is-selected::after {
    content: ""; position: absolute; top: 6px; right: 6px; width: 18px; height: 18px; border-radius: 50%;
    background-color: var(--yellow); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%2316192C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: center; background-size: 12px;
}
.cat-icon { width: 44px; height: 44px; display: grid; place-items: center; flex: none; }
.cat-icon img { width: 100%; height: 100%; object-fit: contain; }
.cat-name { font-size: 12.5px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.cat-more-btn .cat-icon { width: 40px; height: 40px; margin: 2px; border-radius: 50%; border: 1px solid var(--border); }
.cat-more-btn .cat-icon svg { width: 22px; height: 22px; transition: transform .3s; }
.cat-more-btn.is-open .cat-icon svg { transform: rotate(90deg); }
.cat-more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .35s ease, opacity .3s ease; }
.cat-more.is-open { grid-template-rows: 1fr; opacity: 1; }
.cat-more-inner { overflow: hidden; min-height: 0; }
.cat-more-inner .cat-grid { padding-top: 8px; }
.cat-grid-page { gap: 14px; }
.cat-grid-page .cat-tile { padding: 20px 10px; border-radius: 16px; gap: 10px; }
.cat-grid-page .cat-tile.is-selected { padding: 19.5px 9.5px; }
.cat-grid-page .cat-icon { width: 56px; height: 56px; }
.cat-grid-page .cat-name { font-size: 14px; }

.book-quote {
    margin-top: 14px; padding: 12px 14px; border-radius: 12px;
    background: var(--cream); font-size: 14px; font-weight: 500;
}
.book-quote strong { font-size: 17px; font-weight: 800; }
.book-error { margin-top: 12px; color: var(--error); font-size: 14px; font-weight: 500; }
.book-card .btn-block { margin-top: 18px; }

/* Desktop hero: ~80% of the screen height, content starting right under
   the header, and the photo shifted up so the goose's head isn't cropped. */
@media (min-width: 901px) {
    .hero { min-height: 80vh; padding: 92px 0 28px; display: flex; align-items: center; }
    .hero-inner { width: 100%; }
    .hero-bg img { object-position: 65% 72%; }
    .hero-title { font-size: clamp(42px, 4vw, 58px); }
    .hero-lead { margin-top: 10px; max-width: 620px; font-size: 18px; }
    .book-card { margin-top: 20px; padding: 20px 24px; }
    .book-card h2 { margin-bottom: 12px; font-size: 24px; }
    .book-inputs { gap: 10px; }
    .field input { padding: 13px 0; }
    .book-card .btn-block { margin-top: 14px; }
    .btn-lg { padding: 16px 28px; }
}

/* Google Places dropdown */
.pac-container { border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 12px 30px rgba(0, 0, 0, .12); font-family: 'Poppins', sans-serif; margin-top: 6px; }
.pac-item { padding: 8px 12px; font-size: 13px; cursor: pointer; }
.pac-item-query { font-size: 14px; color: var(--ink); }

/* ---------- Features ---------- */
.features { background: var(--cream-soft); border-bottom: 1px solid #F2EBD6; padding: 36px 0; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon {
    width: 56px; height: 56px; flex: none; border-radius: 50%;
    background: var(--cream); display: grid; place-items: center;
}
.feature-icon svg { width: 28px; height: 28px; fill: var(--ink); }
.feature h3 { font-size: 16px; font-weight: 700; }
.feature p { margin-top: 4px; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }

/* ---------- Shared section bits ---------- */
.eyebrow {
    display: flex; align-items: center; gap: 14px;
    color: var(--yellow-dark); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.eyebrow::before, .title-bar { content: ''; display: block; width: 40px; height: 4px; border-radius: 2px; background: var(--yellow); }
.section-title { font-size: clamp(32px, 4vw, 50px); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; margin-top: 16px; }
.section-lead { margin-top: 14px; font-size: clamp(16px, 1.5vw, 19px); color: #3B3F52; max-width: 520px; }

/* ---------- Become a Driver (/drive) ---------- */
.site-nav a.is-current { color: #fff; box-shadow: inset 0 -2px 0 var(--yellow); }
.drv-hero { position: relative; overflow: hidden; background: var(--dark); color: #fff; min-height: 600px; display: flex; align-items: center; padding: 120px 0 64px; isolation: isolate; }
.drv-hero-img { position: absolute; top: 0; right: 0; width: 62%; height: 100%; object-fit: cover; object-position: 40% 30%; z-index: -1;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%); mask-image: linear-gradient(90deg, transparent 0%, #000 28%); }
.drv-hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 140px; z-index: -1; background: linear-gradient(rgba(8, 9, 11, .7), transparent); }
.drv-hero-inner { width: 100%; }
.drv-hero-title { font-size: clamp(44px, 5.6vw, 76px); font-weight: 800; line-height: 1.04; letter-spacing: -.02em; }
.drv-hero-title span { color: var(--yellow); }
.drv-hero-lead { margin: 20px 0 28px; max-width: 440px; font-size: clamp(16px, 1.5vw, 19px); font-weight: 500; color: rgba(255, 255, 255, .9); }
.drv-hero .btn-lg, .drv-start .btn-lg { min-width: 260px; }
.drv-hero .btn svg, .drv-start .btn svg { width: 22px; height: 22px; }
.drv-icon svg { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--ink); }
.features .drv-icon { background: #FCEFB4; }
.drv-title { margin-top: 14px; font-size: clamp(28px, 3vw, 38px); font-weight: 800; line-height: 1.12; letter-spacing: -.01em; }
.drv-title-sm { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 18px; }
.drv-lead { margin-top: 10px; font-size: clamp(15px, 1.3vw, 17px); color: var(--ink-soft); }

.drv-start { padding: clamp(48px, 6vw, 80px) 0; background: #fff; }
.drv-start-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 56px); align-items: center; }
.drv-start-img { position: relative; aspect-ratio: 370 / 322; border-radius: 20px; overflow: hidden; }
.drv-start-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 20%; }
.drv-start-body { min-width: 0; }
.drv-steps { list-style: none; margin: 32px 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.drv-steps li { position: relative; }
.drv-steps li:not(:last-child)::after { content: ""; position: absolute; top: 14px; right: 0; width: 18px; height: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M2 8h18m-5-5 5 5-5 5' fill='none' stroke='%2316192C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.drv-steps span { width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-size: 18px; font-weight: 800; }
.drv-steps strong { display: block; margin-top: 14px; font-size: 15px; font-weight: 700; }
.drv-steps p { margin-top: 4px; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }

.drv-earn { padding: clamp(48px, 6vw, 80px) 0; background: #FDFCF8; border-top: 1px solid #F2EBD6; }
.drv-earn-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.drv-perks { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 32px; }
.drv-perks > div { padding: 0 20px; border-left: 1px solid var(--border); }
.drv-perks > div:first-child { padding-left: 0; border-left: 0; }
.drv-perks .drv-icon { width: 46px; height: 46px; border-radius: 50%; background: #FCEFB4; display: grid; place-items: center; }
.drv-perks .drv-icon svg { width: 24px; height: 24px; }
.drv-perks strong { display: block; margin-top: 12px; font-size: 15px; font-weight: 700; }
.drv-perks p { margin-top: 4px; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }
.drv-avg-card { padding: 28px 24px; border-radius: 20px; background: #FDF3CF; }
.drv-avg-label { display: flex; align-items: center; justify-content: space-between; font-size: 16px; font-weight: 600; }
.drv-avg-label svg { width: 28px; height: 28px; fill: var(--yellow); }
.drv-avg-card b { display: block; margin-top: 8px; font-size: clamp(38px, 3.6vw, 46px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.drv-avg-unit { font-size: 20px; color: var(--ink-soft); }
.drv-avg > p { margin-top: 12px; font-size: 12px; color: var(--ink-soft); line-height: 1.5; padding: 0 4px; }

.drv-more { padding: clamp(48px, 6vw, 80px) 0; background: #fff; }
.drv-more-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 48px; }
.drv-vehicles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.drv-vehicle { padding: 16px 18px 20px; border: 1px solid var(--border); border-radius: 16px; background: #fff; transition: transform .15s, box-shadow .15s; }
.drv-vehicle:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(22, 25, 44, .08); }
.drv-vehicle img { width: 100%; height: 110px; object-fit: contain; mix-blend-mode: multiply; }
.drv-vehicle strong { display: block; margin-top: 10px; font-size: 15px; font-weight: 700; }
.drv-vehicle p { margin-top: 2px; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }
.drv-faq { padding-left: 32px; border-left: 1px solid var(--border); }
.drv-faq details { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px; background: #fff; transition: border-color .15s; }
.drv-faq details[open] { border-color: var(--yellow); }
.drv-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; font-size: 14px; font-weight: 500; cursor: pointer; list-style: none; }
.drv-faq summary::-webkit-details-marker { display: none; }
.drv-faq summary::after { content: "+"; font-size: 20px; font-weight: 400; line-height: 1; color: var(--ink); transition: transform .2s; }
.drv-faq details[open] summary::after { transform: rotate(45deg); }
.drv-faq details p { padding: 0 16px 16px; font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }
/* Home page FAQ — the Driver page's accordion on its own, full width, in two columns of three. */
.home-faq .drv-faq { padding-left: 0; border-left: 0; }
.home-faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; margin-top: 32px; }
.home-faq-grid details:last-child { margin-bottom: 0; }
@media (max-width: 1080px) {
    .home-faq-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
    /* One column now, so the "column gap" reads as the gap between items — match the
       10px gap .drv-faq details already uses between items, not the old 2-column gap. */
    .home-faq-grid { gap: 10px; margin-top: 24px; }
}

.drv-cta-wrap { padding: 0 0 clamp(40px, 5vw, 64px); background: #fff; }
.drv-cta { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 260px; overflow: hidden; border-radius: 20px; background: var(--dark); color: #fff; }
.drv-cta-body { position: relative; z-index: 1; padding: clamp(28px, 4vw, 44px); align-self: center; }
.drv-cta-body h2 { margin-top: 14px; font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; line-height: 1.15; }
.drv-cta-body > p:not(.eyebrow) { margin-top: 6px; color: rgba(255, 255, 255, .85); }
.drv-cta-body .eyebrow { color: var(--yellow); }
.drv-cta-body .store-badges { margin-top: 24px; }
.drv-cta-body .store-badge { border-color: rgba(255, 255, 255, .5); }
.drv-cta-img { position: absolute; top: 0; right: 0; width: 52%; height: 100%; object-fit: cover; object-position: 55% 45%; clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%); }

@media (max-width: 1080px) {
    .drv-earn-grid, .drv-more-grid { grid-template-columns: 1fr; }
    .drv-avg { max-width: 420px; }
    .drv-faq { padding-left: 0; border-left: 0; }
    .drv-perks { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
    .drv-perks > div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 900px) {
    .drv-hero { min-height: 0; padding: 0 0 40px; flex-direction: column; align-items: stretch; }
    .drv-hero-img { position: relative; width: 100%; height: 340px; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%); mask-image: linear-gradient(180deg, #000 60%, transparent 100%); }
    .drv-hero::before { height: 100px; }
    .drv-hero-inner { margin-top: -40px; }
    .drv-start-grid { grid-template-columns: 1fr; }
    .drv-steps { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
    .drv-steps li:nth-child(2)::after { display: none; }
    .drv-cta { grid-template-columns: 1fr; }
    .drv-cta-img { position: relative; width: 100%; height: 220px; clip-path: none; order: -1; }
}
@media (max-width: 600px) {
    .drv-hero-img { height: 280px; }
    .drv-hero .btn-lg, .drv-start .btn-lg { width: 100%; min-width: 0; }
    .drv-steps li::after { display: none; }
    .drv-perks { grid-template-columns: 1fr 1fr; gap: 20px 0; }
    .drv-perks > div { padding: 0 12px 0 0; border-left: 0; }
    .drv-vehicles { grid-template-columns: 1fr 1fr; }
    /* The download CTA stays a rounded card inside the page gutter, with
       space below it, like the home page's "Your package. Our run." —
       not a full-bleed band running into the footer. */
    .drv-cta { border-radius: 22px; }
}

/* ---------- Privacy & Terms ---------- */
.legal-hero { padding: 120px 0 40px; background: var(--cream-soft); border-bottom: 1px solid #F2EBD6; }
.legal-hero h1 { margin-top: 14px; font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.legal-updated { margin-top: 10px; font-size: 14px; color: var(--ink-soft); }
.legal { padding: clamp(40px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); background: #fff; }
.legal-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: 96px; padding: 20px; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.legal-toc > p { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: grid; gap: 2px; }
.legal-toc li { counter-increment: toc; }
.legal-toc a { display: flex; gap: 10px; padding: 6px 8px; border-radius: 8px; font-size: 13.5px; color: var(--ink); line-height: 1.35; }
.legal-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--yellow-dark); font-weight: 700; font-size: 12px; padding-top: 1px; }
.legal-toc a:hover, .legal-toc a.is-active { background: var(--cream); }
.legal-body { max-width: 760px; font-size: 15.5px; line-height: 1.75; color: #33374A; }
.legal-intro { font-size: 17px; color: var(--ink); }
.legal-body h2 { display: flex; align-items: baseline; gap: 12px; margin: 44px 0 12px; font-size: 22px; font-weight: 700; color: var(--ink); line-height: 1.3; scroll-margin-top: 96px; }
.legal-body h2 span { font-size: 14px; font-weight: 800; color: var(--yellow-dark); }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { margin: 12px 0 0; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.legal-body li { position: relative; padding-left: 22px; }
.legal-body li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.legal-body ul + p { margin-top: 14px; }
.legal-body strong { color: var(--ink); }
.legal-body a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (max-width: 900px) {
    .legal-hero { padding: 100px 0 32px; }
    .legal-grid { grid-template-columns: 1fr; gap: 28px; }
    .legal-toc { position: static; }
    .legal-toc ol { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .legal-toc ol { grid-template-columns: 1fr; }
    .legal-body { font-size: 15px; }
}

/* ---------- Contact ---------- */
.contact-lead { margin-top: 10px; max-width: 560px; font-size: clamp(15px, 1.4vw, 17px); color: var(--ink-soft); }
.contact { padding: clamp(32px, 4vw, 56px) 0 clamp(56px, 7vw, 96px); background: #fff; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: start; }
.contact-ai-head { grid-template-columns: auto 1fr; margin-bottom: 14px; }
.contact-chat .acct-chat { height: 560px; min-height: 0; border: 1px solid var(--border); }
.contact-note { margin-top: 10px; font-size: 13px; color: var(--ink-soft); }
.contact-form { display: grid; gap: 8px; padding: 24px; border: 1px solid var(--border); border-radius: 20px; background: #fff; }
.contact-form h2 { font-size: 20px; font-weight: 700; }
.contact-sub { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 4px; }
.contact-form textarea { resize: vertical; }
.contact-form .btn-block { margin-top: 10px; }
.contact-sent { padding: 12px 14px; border-radius: 12px; background: #E6F7ED; color: #1E8A4A; font-size: 14px; font-weight: 500; }
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-chat .acct-chat { height: 480px; }
}

/* Customer + Rider FAQs — two .drv-faq groups (each its own two-column grid) stacked in one grey section. */
.contact-faq { background: #F7F7F5; }
.contact-faq .drv-faq + .drv-faq { margin-top: 48px; padding-top: 48px; border-top: 1px solid var(--border); }
/* This page already has its own big H1 above — "Customer FAQs"/"Rider FAQs" are sub-headers, not full section titles. */
.contact-faq .section-title { font-size: clamp(22px, 2.2vw, 28px); margin-top: 10px; }

/* Booking: "Restricted Items" (the app's _RestrictedItemsCard) + too-far notice */
.restricted-card { margin-top: 18px; border-radius: 16px; background: var(--cream); }
.restricted-card summary { display: flex; align-items: flex-start; gap: 12px; padding: 16px; cursor: pointer; list-style: none; font-size: 12.5px; line-height: 1.45; color: var(--ink-soft); }
.restricted-card summary::-webkit-details-marker { display: none; }
.restricted-card summary > svg { width: 34px; height: 34px; flex: none; color: var(--yellow-dark); }
.restricted-card summary span { flex: 1; }
.restricted-card strong { display: block; margin-bottom: 2px; font-size: 15px; font-weight: 700; color: var(--ink); }
.restricted-card summary i { width: 28px; height: 28px; flex: none; transition: transform .2s;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%2316192C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 24px; }
.restricted-card[open] summary i { transform: rotate(180deg); }
.restricted-card p { margin: -6px 16px 0 62px; padding-bottom: 16px; font-size: 12.5px; line-height: 1.45; color: var(--ink-soft); }
.pr-too-far { grid-column: 1 / -1; display: grid; justify-items: center; gap: 8px; padding: 32px 16px; text-align: center; border-radius: 16px; background: #FBE9E7; }
.pr-too-far strong { color: var(--error); font-size: 15px; }
.pr-too-far p { font-size: 13.5px; color: var(--ink-soft); }
.pr-too-far .btn { margin-top: 6px; padding: 11px 20px; font-size: 14px; }

/* ---------- Pricing (/pricing) ---------- */
.pr-hero .drv-hero-img { object-position: 50% 25%; }
.pr-kicker { font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--yellow-dark); }
.pr-title { margin-top: 6px; font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
.pr-lead { margin-top: 8px; font-size: clamp(15px, 1.3vw, 17px); color: #3B3F52; }
.pr-sizes { padding: clamp(40px, 5vw, 64px) 0 clamp(32px, 4vw, 48px); background: #F7F7F5; }
.pr-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pr-cats button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 10px; border-radius: 999px; border: 1.5px solid var(--border); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color .15s, background-color .15s; }
.pr-cats button:hover { border-color: #cfd4de; }
.pr-cats button.is-active { background: var(--yellow); border-color: var(--yellow); }
.pr-cats img { width: 26px; height: 26px; object-fit: contain; }
.pr-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.pr-card { overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 2px 12px rgba(22, 25, 44, .06); transition: transform .15s, box-shadow .15s; }
.pr-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(22, 25, 44, .1); }
.pr-card-img { aspect-ratio: 203 / 144; background: var(--muted); }
.pr-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pr-card-body { padding: 18px 20px 20px; }
.pr-card h3 { font-size: 19px; font-weight: 700; }
.pr-card-desc { margin-top: 2px; font-size: 13.5px; line-height: 1.45; color: #4B5060; min-height: 40px; }
.pr-from { display: block; margin-top: 16px; font-size: 13.5px; color: #4B5060; }
.pr-price { display: block; font-size: 32px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.pr-rate { display: block; font-size: 12.5px; color: var(--ink-soft); }
.pr-card ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.pr-card li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #3B3F52; }
.pr-card li svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.pr-est-wrap { padding: clamp(24px, 3vw, 32px) 0; background: #F7F7F5; }
.pr-est { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 32px; align-items: center; padding: clamp(28px, 4vw, 40px); border-radius: 22px; background: var(--dark); color: #fff; isolation: isolate; }
.pr-est-img { position: absolute; top: 0; bottom: 0; left: 30%; width: 30%; height: 100%; object-fit: cover; z-index: -1; opacity: .9;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%, #000 70%, transparent); mask-image: linear-gradient(90deg, transparent, #000 35%, #000 70%, transparent); }
.pr-est-text { max-width: 360px; }
.pr-est-text h2 { margin-top: 10px; font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.pr-est-text h2 span { color: var(--yellow); }
.pr-est-text > p:not(.pr-kicker) { margin-top: 16px; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .88); }
.pr-est-text .pr-kicker { color: var(--yellow); }
.pr-est-card { padding: 20px; border-radius: 16px; background: #fff; color: var(--ink); }
.pr-est-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pr-est-row label { display: grid; gap: 6px; font-size: 13px; color: #3B3F52; }
.pr-select { position: relative; display: block; }
.pr-select select { width: 100%; appearance: none; -webkit-appearance: none; padding: 10px 34px 10px 12px; border: 1.5px solid var(--border); border-radius: 10px; background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }
.pr-select select:focus { outline: 0; border-color: var(--yellow); }
.pr-select::after { content: ""; position: absolute; right: 12px; top: 50%; width: 10px; height: 6px; margin-top: -3px; pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%2316192C' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.pr-dist-head { display: flex; justify-content: space-between; margin-top: 18px; font-size: 13px; color: #3B3F52; }
.pr-dist-head b { font-weight: 500; }
#estDistance { --fill: 14.3%; width: 100%; margin: 12px 0 6px; height: 6px; border-radius: 3px; appearance: none; -webkit-appearance: none; cursor: pointer;
    background: linear-gradient(90deg, var(--yellow) var(--fill), #E7E9EE var(--fill)); }
#estDistance::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); border: 3px solid var(--yellow); box-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
#estDistance::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 3px solid var(--yellow); }
.pr-dist-scale { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-soft); }
.pr-est-result { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #FDF6DA; }
.pr-est-result div { display: grid; gap: 2px; }
.pr-est-result strong { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.pr-est-result span { font-size: 11.5px; color: var(--ink-soft); }
.pr-est-result b { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.pr-est-card .btn-block { margin-top: 14px; padding: 14px; font-size: 15px; }

.pr-incl { padding: clamp(40px, 5vw, 64px) 0; background: #F7F7F5; }
.pr-incl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 30px; text-align: center; }
.pr-incl-grid > div { display: grid; justify-items: center; }
.pr-incl-grid .drv-icon { width: 50px; height: 50px; border-radius: 50%; background: #FCEFB4; display: grid; place-items: center; }
.pr-incl-grid .drv-icon svg { width: 24px; height: 24px; stroke: none; }
.pr-incl-grid strong { margin-top: 14px; font-size: 16px; font-weight: 700; }
.pr-incl-grid p { margin-top: 4px; font-size: 13.5px; color: #4B5060; max-width: 180px; line-height: 1.45; }

/* "Send Almost Anything" hero — full /what-we-deliver page only. */
.send-hero { padding: clamp(100px, 11vw, 140px) 0 clamp(40px, 5vw, 56px); background: var(--cream); border-bottom: 1px solid #F2EBD6; }
.send-hero-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 40px; align-items: center; }
.send-hero h1 { margin-top: 14px; font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.send-hero-lead { margin-top: 14px; font-size: clamp(15px, 1.4vw, 17px); color: var(--ink-soft); max-width: 480px; }
.send-hero-visual img { width: 100%; height: auto; border-radius: 20px; }

/* "Send Almost Anything" tiles — homepage teaser header + shared partial grid. */
.send-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.send-all-btn { flex: none; }
.send-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 32px; }
.send-grid-5 { grid-template-columns: repeat(5, 1fr); margin-top: 0; }
.send-item { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 18px 14px 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); text-align: center; }
.send-photo { width: 100%; aspect-ratio: 4 / 3; display: grid; place-items: center; margin-bottom: 10px; }
.send-photo img { width: 100%; height: 100%; object-fit: contain; }
.send-item strong { font-size: 14.5px; font-weight: 700; }
.send-item p { font-size: 12px; line-height: 1.4; color: var(--ink-soft); }

.pr-cta-wrap { padding: 0 0 clamp(40px, 5vw, 64px); background: #F7F7F5; }
/* Home has no section above it on the same grey, so it needs its own top gap. */
.page-home .pr-cta-wrap { padding-top: clamp(40px, 5vw, 64px); }
.page-home .pr-cta-wrap + .pr-incl { padding-top: 0; }
.pr-cta { display: grid; grid-template-columns: 6fr 4fr; overflow: hidden; border-radius: 22px; background: var(--dark); color: #fff; min-height: 240px; }
.pr-cta img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
/* A product shot (not a scene) looks blown up when cover-cropped to fill a wide panel — shrink it to fit instead. */
.pr-cta-contain { min-height: 200px; }
.pr-cta-contain img { min-height: 200px; object-fit: contain; padding: 20px; }
.pr-cta-body { padding: clamp(24px, 3vw, 36px); align-self: center; }
.pr-cta-body .eyebrow { color: var(--yellow); }
.pr-cta-body h2 { margin-top: 10px; font-size: clamp(30px, 3.2vw, 40px); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; }
.pr-cta-body h2 span { color: var(--yellow); }
.pr-cta-body p { margin: 12px 0 20px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.pr-cta-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.pr-cta-link { font-size: 14px; font-weight: 600; color: #fff; text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 3px; }

@media (max-width: 1080px) {
    .pr-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pr-est { grid-template-columns: 1fr; }
    .pr-est-img { left: auto; right: 0; width: 45%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 50%); mask-image: linear-gradient(90deg, transparent, #000 50%); opacity: .6; }
    .pr-est-text { max-width: 520px; }
}
@media (max-width: 900px) {
    .pr-incl-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
    .pr-cta { grid-template-columns: 1fr; }
    .pr-cta img { height: 220px; min-height: 0; }
    .pr-cta-contain img { height: 160px; }
    .send-grid, .send-grid-5 { grid-template-columns: repeat(3, 1fr); }
    .send-hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .send-hero-visual { order: -1; }
}
@media (max-width: 600px) {
    .pr-cards { gap: 12px; }
    .pr-card-body { padding: 14px; }
    .pr-card h3 { font-size: 16px; }
    .send-head { flex-direction: column; }
    .send-all-btn { align-self: flex-start; }
    .send-grid, .send-grid-5 { grid-template-columns: 1fr 1fr; gap: 12px; }
    .pr-price { font-size: 26px; }
    .pr-card-desc { min-height: 0; font-size: 12.5px; }
    .pr-card li { font-size: 12.5px; align-items: flex-start; }
    .pr-est-row { grid-template-columns: 1fr; }
    .pr-est-img { display: none; }
}

/* ---------- App promo ---------- */
.app-promo { padding: clamp(64px, 8vw, 110px) 0; }
.app-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.app-visual img { width: 100%; height: auto; border-radius: 28px; box-shadow: 0 30px 70px rgba(22, 25, 44, .18); }

.store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store-badges-center { justify-content: center; }
.store-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: #000; color: #fff; border-radius: 10px; padding: 9px 18px 9px 14px;
    border: 1px solid #3a3a3a; transition: transform .15s, box-shadow .15s;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.store-badge svg { width: 28px; height: 28px; flex: none; }
.store-badge span { display: flex; flex-direction: column; font-size: 20px; font-weight: 600; line-height: 1.1; letter-spacing: -.01em; }
.store-badge small { font-size: 10px; font-weight: 500; letter-spacing: .02em; }

/* ---------- How it works ---------- */
.how { padding: clamp(24px, 3vw, 40px) 0 clamp(56px, 7vw, 96px); background: #fff; }
.how .section-title { margin-top: 18px; }
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding: 0 28px; border-left: 1px solid var(--border); }
.step:first-child { border-left: 0; padding-left: 0; }
.step:not(:last-child)::after {
    content: ''; position: absolute; right: 10px; top: 18px; width: 18px; height: 18px;
    background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6' fill='none' stroke='%2316192C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.step-num {
    width: 52px; height: 52px; border-radius: 50%; background: var(--yellow);
    display: grid; place-items: center; font-size: 22px; font-weight: 800;
}
.step h3 { margin-top: 20px; font-size: 19px; font-weight: 700; }
.step p { margin-top: 6px; font-size: 15px; color: var(--ink-soft); }

/* ---------- Business ---------- */
.business { display: grid; grid-template-columns: 5fr 7fr; background: var(--dark); color: #fff; }
.business-copy {
    display: flex; align-items: center;
    /* left edge lines up with the .container content above */
    padding: clamp(48px, 6vw, 80px) var(--gutter) clamp(48px, 6vw, 80px) max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
.business-copy-inner { max-width: 480px; width: 100%; }
.business .section-lead { color: rgba(255, 255, 255, .82); }
.business .btn { margin-top: 32px; }
.business-visual { min-height: 420px; }
.business-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Download band ---------- */
.download { position: relative; min-height: 460px; padding: clamp(80px, 11vw, 140px) 0; display: flex; align-items: center; text-align: center; overflow: hidden; isolation: isolate; }
.download-bg, .download-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.download-bg { z-index: -2; }
.download-bg img { object-fit: cover; }
.download-inner { width: 100%; }
.download::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .4) 60%, rgba(255, 255, 255, .22) 100%); }
.download h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.02em; text-shadow: 0 2px 16px rgba(255, 255, 255, .5); }
.download p { margin-top: 8px; font-size: clamp(17px, 1.6vw, 21px); font-weight: 500; text-shadow: 0 2px 16px rgba(255, 255, 255, .5); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .7); padding: 32px 0; font-size: 14px; }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 32px; }
.footer-inner img { height: 30px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a:hover { color: var(--yellow); }
.footer-copy { margin-left: auto; }

/* ================= Shared form + UI bits ================= */
.input {
    width: 100%; font: inherit; font-size: 15px; color: var(--ink);
    background: #fff; border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 14px;
    transition: border-color .15s, box-shadow .15s; outline: 0;
}
.input:focus { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(252, 211, 3, .2); }
select.input { appearance: none; -webkit-appearance: none; padding-right: 32px; cursor: pointer;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%236B7180' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; }
textarea.input { resize: vertical; min-height: 64px; }
.form-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.form-error { margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; background: #FBE9E7; color: var(--error); font-size: 14px; font-weight: 500; }
.muted { color: var(--ink-soft); }
.link-btn { background: none; border: 0; padding: 0; color: #1F5FD1; font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.link-danger { color: var(--error); }
.btn-outline { background: #fff; color: var(--ink); border: 1.5px solid var(--border); padding: 12px 18px; font-size: 15px; }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--border); padding: 15px 28px; font-size: 16px; font-weight: 600; }
.btn-ghost:hover { background: var(--muted); }
.btn.is-busy { position: relative; color: transparent !important; }
.btn.is-busy::after { content: ''; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(22, 25, 44, .25); border-top-color: var(--ink); animation: spin .7s linear infinite; }
.spinner { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--border); border-top-color: var(--yellow-dark); animation: spin .7s linear infinite; vertical-align: -3px; }
.spinner-dark { border-color: rgba(22, 25, 44, .2); border-top-color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-row { display: flex; align-items: center; gap: 10px; padding: 24px 4px; color: var(--ink-soft); font-size: 15px; }
.pill { white-space: nowrap; display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.pill-success { background: #E6F7ED; color: #1E8A4A; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
    border: 1.5px solid var(--border); background: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--ink);
}
.chip img { width: 22px; height: 22px; object-fit: contain; }
.chip.is-active { background: var(--cream); border-color: var(--yellow); }
.chip-sm { padding: 5px 12px; font-size: 12.5px; }

/* Address suggestions (GoosePlaces) */
.has-suggest { position: relative; }
.suggest {
    position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0;
    margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: 14px;
    border: 1px solid var(--border); box-shadow: 0 16px 40px rgba(22, 25, 44, .16); max-height: 320px; overflow-y: auto;
}
.suggest li { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border-radius: 10px; cursor: pointer; }
.suggest li:hover, .suggest li.is-active { background: var(--cream-soft); }
.suggest svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--ink-soft); }
.suggest strong { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.suggest small { display: block; font-size: 12.5px; color: var(--ink-soft); }

/* ================= App pages (book / delivery / account) ================= */
.page-solid-header .site-header { position: fixed; }
.app-page { background: #FAFBFD; min-height: 80vh; padding: 104px 0 64px; }
.container-narrow { max-width: 1040px; }
.panel { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 20px; box-shadow: 0 2px 10px rgba(22, 25, 44, .03); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.panel-head h2 { font-size: 17px; font-weight: 700; }

/* Stepper */
.stepper { list-style: none; margin: 8px 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.stepper li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.stepper li::before { content: ''; position: absolute; top: 15px; right: 50%; width: 100%; height: 2px; background: var(--border); z-index: 0; }
.stepper li:first-child::before { display: none; }
.stepper li.is-done::before, .stepper li.is-active::before { background: var(--yellow); }
.stepper span {
    position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
    background: #fff; border: 2px solid var(--border); color: var(--ink-soft); font-weight: 700; font-size: 14px;
}
.stepper em { font-style: normal; font-size: 12.5px; color: var(--ink-soft); font-weight: 500; }
.stepper .is-active span { background: var(--yellow); border-color: var(--yellow); color: var(--ink); box-shadow: 0 0 0 5px rgba(252, 211, 3, .25); }
.stepper .is-done span { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.stepper .is-active em { color: var(--ink); font-weight: 700; }

.step-title { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.01em; }
.step-sub { margin-top: 4px; margin-bottom: 20px; color: var(--ink-soft); font-size: 15px; }
.step-error { margin-top: 18px; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.step-nav .btn-lg { min-width: 200px; }
.pay-btn-slot .btn { margin-top: 16px; }

/* Step 1 */
.step1-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.addr-block + .addr-block { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border); }
.addr-row { display: flex; gap: 12px; align-items: flex-start; }
.addr-icon { width: 24px; height: 24px; flex: none; margin-top: 30px; }
.addr-main { flex: 1; min-width: 0; }
.field-plain { position: relative; display: block; border: 0; padding: 0; }
.field-plain:focus-within { box-shadow: none; }
.field-plain .input { padding-right: 40px; }
.field-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--muted); color: var(--ink-soft); cursor: pointer; display: grid; place-items: center; }
.field-clear svg { width: 14px; height: 14px; }
.addr-notes { margin: 8px 0 0 36px; }
.addr-notes summary { list-style: none; cursor: pointer; color: #1F5FD1; font-size: 14px; font-weight: 600; display: inline-flex; gap: 6px; }
.addr-notes summary::-webkit-details-marker { display: none; }
.addr-notes summary span { font-weight: 800; }
.addr-notes[open] summary span { transform: rotate(45deg); display: inline-block; }
.notes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.notes-grid label { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); display: grid; gap: 4px; }
.notes-grid .input { padding: 10px 12px; font-size: 14px; }
.span-2 { grid-column: span 2; }
.map-box { position: relative; min-height: 360px; height: 100%; border-radius: 18px; overflow: hidden; background: #E9EEF4; border: 1px solid var(--border); }
.map-tall { min-height: 420px; }
.map-empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center; color: var(--ink-soft); font-size: 14px; }
.map-box.is-ready .map-empty { display: none; }
.map-layer { position: absolute; inset: 0; }
.map-box.map-failed > div:not(.map-empty) { display: none !important; }
.map-box.map-failed .map-empty { display: grid; z-index: 2; background: #EEF1F5; }

/* Step 1 — stop cards (same fields as the app) */
.step1-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: stretch; }
.stops { display: grid; gap: 16px; }
.stop-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.stop-head h2 { font-size: 17px; font-weight: 700; flex: 1; }
.stop-badge { width: 30px; height: 30px; border-radius: 50%; flex: none; background: no-repeat center / 18px; }
.stop-pickup { background-color: var(--yellow); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s7-6.1 7-12a7 7 0 1 0-14 0c0 5.9 7 12 7 12z' fill='none' stroke='%2316192C' stroke-width='2.2'/%3E%3Ccircle cx='12' cy='10' r='2.6' fill='%2316192C'/%3E%3C/svg%3E"); }
.stop-dropoff { background-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 22V3' stroke='%23FCD303' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M6 3h12l-2.5 4L18 11H6z' fill='%23FCD303'/%3E%3C/svg%3E"); }
.saved-btn { font-size: 13.5px; }
.saved-list { list-style: none; margin: 8px 0 0; padding: 6px; border: 1px solid var(--border); border-radius: 12px; display: grid; gap: 2px; max-height: 240px; overflow-y: auto; }
.saved-list li.muted { padding: 10px; font-size: 14px; }
.saved-list button { width: 100%; text-align: left; background: none; border: 0; padding: 10px; border-radius: 10px; cursor: pointer; font: inherit; color: var(--ink); }
.saved-list button:hover { background: var(--cream-soft); }
.saved-list strong { display: block; font-size: 14px; }
.saved-list span { display: block; font-size: 12.5px; color: var(--ink-soft); }
.label-chips { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.label-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--border); background: #fff; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; color: var(--ink); }
.label-chip.is-active { background: var(--cream); border-color: var(--yellow); }
.label-chip span { display: inline-block; width: 16px; height: 16px; background-repeat: no-repeat; background-position: center; background-size: contain; }
.lc-home { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 11 12 4l9 7v9a1 1 0 0 1-1 1h-5v-6H9v6H4a1 1 0 0 1-1-1z' fill='%2316192C'/%3E%3C/svg%3E"); }
.lc-office { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 21V5l8-2v18zm10 0V9h6v12zM7 7h2v2H7zm0 4h2v2H7zm0 4h2v2H7z' fill='%2316192C'/%3E%3C/svg%3E"); }
.lc-other { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s7-6.1 7-12a7 7 0 1 0-14 0c0 5.9 7 12 7 12zm0-9.2a2.8 2.8 0 1 0 0-5.6 2.8 2.8 0 0 0 0 5.6z' fill='%2316192C' fill-rule='evenodd'/%3E%3C/svg%3E"); }
.stop-sub { font-size: 14.5px; font-weight: 700; margin: 18px 0 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-label-wrap { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: var(--ink); }
.field-error { display: block; margin-top: 4px; font-size: 12.5px; color: var(--error); font-weight: 500; }
.input.is-invalid { border-color: var(--error); }
.toggle-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.toggle-2 button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 12px; border: 1.5px solid var(--border); background: #fff; font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; color: var(--ink); }
.toggle-2 button.is-active { background: var(--cream); border-color: var(--yellow); }
.toggle-2 span { display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-position: center; background-size: contain; }
.ti-outside { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s7-6.1 7-12a7 7 0 1 0-14 0c0 5.9 7 12 7 12z' fill='none' stroke='%2316192C' stroke-width='2'/%3E%3Ccircle cx='12' cy='10' r='2.6' fill='%2316192C'/%3E%3C/svg%3E"); }
.ti-door { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 21V4a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v17M3 21h18' fill='none' stroke='%2316192C' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='15' cy='12' r='1.3' fill='%2316192C'/%3E%3C/svg%3E"); }
/* Desktop: the map is exactly as tall as the stop card beside it. */
.map-sticky { position: relative; min-height: 360px; }
.map-sticky .map-box { position: absolute; inset: 0; height: auto; min-height: 0; }
.summary-list small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-soft); }
.leaflet-container { font-family: 'Poppins', sans-serif; }

/* Step 2 / 3 options */
.option-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.option-card {
    position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left;
    background: #fff; border: 1.5px solid var(--border); border-radius: 18px; padding: 16px; cursor: pointer; font: inherit; color: var(--ink);
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
.option-card:hover { border-color: #cfd4de; transform: translateY(-1px); }
.option-card .option-img { width: 100%; aspect-ratio: 4 / 3; display: grid; place-items: center; margin-bottom: 6px; }
.option-card .option-img img { max-width: 80%; max-height: 100%; object-fit: contain; }
.option-card strong { font-size: 15.5px; font-weight: 700; line-height: 1.3; }
.option-price { font-size: 17px; font-weight: 800; }
.option-card.is-selected, .option-row.is-selected { border-color: var(--yellow); background: #FFFCEB; box-shadow: 0 0 0 3px rgba(252, 211, 3, .25); }
.check { position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--border); background: #fff; }
.is-selected .check { background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%2316192C' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 16px; border-color: var(--yellow); }
/* Package Type cards — the app's OptionCard, two per row */
.type-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.type-card {
    position: relative; display: flex; align-items: center; gap: 16px; text-align: left; width: 100%; min-width: 0;
    background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 16px 44px 16px 16px; cursor: pointer; font: inherit; color: var(--ink);
    transition: border-color .15s, background-color .15s;
}
.type-card:hover { border-color: #cfd4de; }
.type-card.is-selected { background: var(--cream); border: 1.5px solid var(--yellow); padding: 15.5px 43.5px 15.5px 15.5px; }
.type-img {
    width: 92px; height: 92px; flex: none; border-radius: 10px; overflow: hidden; background-color: #F3F5FB;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%2316192C' stroke-width='3.4' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M24 4 41 14v20L24 44 7 34V14z'/%3E%3Cpath d='M7 14l17 10 17-10M24 24v20M15.5 9 32.5 19v6'/%3E%3C/g%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 48px;
}
.type-card.is-selected .type-img { background-color: var(--yellow); }
.type-img img { width: 100%; height: 100%; object-fit: cover; display: block; background: #fff; }
.type-text { display: grid; gap: 2px; min-width: 0; }
.type-text strong { font-size: 16px; font-weight: 600; line-height: 1.3; }
.type-text small { font-size: 12.5px; color: var(--ink-soft); line-height: 1.4; }
.type-text b { margin-top: 4px; font-size: 15px; font-weight: 700; }
.type-check {
    position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 50%;
    background-color: var(--yellow); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%2316192C' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: center; background-size: 16px;
}
.speed-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.speed-card {
    position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 12px; text-align: left; min-width: 0;
    background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 16px; cursor: pointer; font: inherit; color: var(--ink);
    transition: border-color .15s, background-color .15s;
}
.speed-card:hover { border-color: #cfd4de; }
.speed-card.is-selected { background: #fff; border: 1.5px solid var(--yellow); padding: 15.5px; }
.speed-img {
    width: 78%; margin: 0 auto; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background-color: #F3F5FB;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%2316192C' stroke-width='2.2'/%3E%3Cpath d='M12 7v5l3 2' fill='none' stroke='%2316192C' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 40px;
}
.speed-card.is-selected .speed-img { background-color: var(--yellow); }
/* With a picture: show all of it, its white backdrop blending into the card. */
.speed-img:has(img), .speed-card.is-selected .speed-img:has(img) { background: none; border-radius: 0; }
.speed-img img { width: 100%; height: 100%; object-fit: contain; display: block; mix-blend-mode: multiply; }
.speed-eta {
    margin-top: 2px; padding-left: 19px; font-size: 13px; font-weight: 600;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%2316192C' stroke-width='2.2'/%3E%3Cpath d='M12 7v5l3 2' fill='none' stroke='%2316192C' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left center; background-size: 15px;
}
.load-failed { grid-column: 1 / -1; text-align: center; padding: 32px 16px; color: var(--ink-soft); }
.load-failed p { margin: 0 0 14px; }
.option-list { display: grid; gap: 12px; }
.option-row {
    position: relative; display: flex; align-items: center; gap: 18px; text-align: left; width: 100%;
    background: #fff; border: 1.5px solid var(--border); border-radius: 18px; padding: 14px 56px 14px 14px; cursor: pointer; font: inherit; color: var(--ink);
}
.option-row .option-img { width: 88px; height: 72px; flex: none; display: grid; place-items: center; }
.option-row .option-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.option-row .check { top: 50%; transform: translateY(-50%); right: 18px; }
.option-text { display: grid; gap: 2px; }
.option-text strong { font-size: 17px; }
.option-text small { color: var(--ink-soft); font-size: 14px; }

/* Step 4 */
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.summary-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.summary-list li { display: flex; gap: 12px; align-items: flex-start; }
.summary-list strong { display: block; font-size: 14px; font-weight: 700; }
.summary-list span { display: block; font-size: 13.5px; color: var(--ink-soft); line-height: 1.45; }
.sum-icon { width: 22px; height: 22px; flex: none; margin-top: 1px; background-repeat: no-repeat; background-position: center; background-size: contain; }
.sum-pin { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s7-6.1 7-12a7 7 0 1 0-14 0c0 5.9 7 12 7 12z' fill='none' stroke='%2316192C' stroke-width='2'/%3E%3Ccircle cx='12' cy='10' r='2.6' fill='%2316192C'/%3E%3C/svg%3E"); }
.sum-flag { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 22V3' stroke='%2316192C' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M5 3h12l-2.5 4L17 11H5z' fill='%2316192C'/%3E%3C/svg%3E"); }
.sum-box { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 8 12 3 3 8v8l9 5 9-5zM3 8l9 5 9-5M12 13v8' fill='none' stroke='%2316192C' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.sum-bolt { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 2 4 14h7l-1 8 9-12h-7z' fill='none' stroke='%2316192C' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.sum-ok { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='%232FAE60'/%3E%3Cpath d='m7 12 3.5 3.5L17 9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.fare-table { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--divider, #EDEFF4); display: grid; gap: 6px; }
.fare-table div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ink-soft); }
.fare-table dt, .fare-table dd { margin: 0; }
.fare-table dd { color: var(--ink); font-weight: 600; }
.fare-total { margin-top: 6px; padding-top: 10px; border-top: 1px solid #EDEFF4; }
.fare-total dt, .fare-total dd { font-size: 20px; font-weight: 800; color: var(--ink) !important; }
.pay-options { display: grid; gap: 10px; }
.pay-option {
    display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 1.5px solid var(--border); border-radius: 12px; cursor: pointer; font-size: 15px; font-weight: 500;
}
.pay-option input { width: 18px; height: 18px; accent-color: #16192C; margin: 0; }
.pay-option.is-selected { border-color: var(--yellow); background: #FFFCEB; }
.pay-icon { width: 24px; height: 24px; background: no-repeat center / contain; }
.pay-card { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='2' fill='none' stroke='%2316192C' stroke-width='1.8'/%3E%3Cpath d='M2.5 10h19' stroke='%2316192C' stroke-width='1.8'/%3E%3C/svg%3E"); }
.pay-cash { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2.5' y='6' width='19' height='12' rx='2' fill='none' stroke='%2316192C' stroke-width='1.8'/%3E%3Ccircle cx='12' cy='12' r='2.6' fill='none' stroke='%2316192C' stroke-width='1.8'/%3E%3C/svg%3E"); }
.pay-wallet { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 7h16a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2zM3 7l12-3v3' fill='none' stroke='%2316192C' stroke-width='1.8' stroke-linejoin='round'/%3E%3Ccircle cx='16.5' cy='13.5' r='1.3' fill='%2316192C'/%3E%3C/svg%3E"); }
.pay-apple { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M16.37 12.6c-.02-2.3 1.88-3.4 1.96-3.46-1.07-1.56-2.73-1.78-3.32-1.8-1.41-.15-2.76.83-3.48.83-.72 0-1.83-.81-3-.79-1.55.02-2.97.9-3.77 2.28-1.6 2.79-.41 6.9 1.15 9.16.77 1.1 1.68 2.34 2.87 2.3 1.15-.05 1.59-.75 2.98-.75s1.78.75 3 .72c1.24-.02 2.03-1.12 2.78-2.23.88-1.28 1.24-2.52 1.26-2.59-.03-.01-2.4-.92-2.43-3.67zM14.1 5.86c.63-.77 1.06-1.83.94-2.89-.91.04-2.02.61-2.67 1.37-.58.67-1.1 1.76-.96 2.8 1.02.08 2.06-.52 2.69-1.28z'/%3E%3C/svg%3E"); }
.pay-google { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234285F4' d='M21.6 12.2c0-.7-.1-1.4-.2-2H12v3.8h5.4a4.6 4.6 0 0 1-2 3v2.5h3.2c1.9-1.7 3-4.3 3-7.3z'/%3E%3Cpath fill='%2334A853' d='M12 22c2.7 0 5-.9 6.6-2.4l-3.2-2.5c-.9.6-2 1-3.4 1-2.6 0-4.8-1.8-5.6-4.1H3.1v2.6A10 10 0 0 0 12 22z'/%3E%3Cpath fill='%23FBBC04' d='M6.4 14c-.2-.6-.3-1.3-.3-2s.1-1.4.3-2V7.4H3.1a10 10 0 0 0 0 9.2z'/%3E%3Cpath fill='%23EA4335' d='M12 6c1.5 0 2.8.5 3.8 1.5l2.8-2.8A10 10 0 0 0 3.1 7.4L6.4 10C7.2 7.7 9.4 6 12 6z'/%3E%3C/svg%3E"); }
.card-element { margin-top: 12px; padding: 14px; border: 1.5px solid var(--border); border-radius: 12px; background: #fff; }
.pay-note { margin-top: 12px; font-size: 13.5px; color: var(--ink-soft); background: var(--muted); padding: 10px 12px; border-radius: 10px; }
.terms { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 13.5px; color: var(--ink-soft); cursor: pointer; }
.terms input { width: 18px; height: 18px; margin-top: 1px; accent-color: #16192C; flex: none; }
.terms a { color: var(--ink); font-weight: 600; text-decoration: underline; }
.secure-note { display: flex; gap: 6px; align-items: center; margin-top: 12px; font-size: 12.5px; color: var(--ink-soft); }
.secure-note svg { width: 14px; height: 14px; }

/* Login modal */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(8, 9, 11, .55); display: grid; place-items: center; padding: 16px; }
.modal-card { position: relative; width: 100%; max-width: 420px; background: #fff; border-radius: 22px; padding: 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.modal-card h2 { font-size: 22px; font-weight: 800; padding-right: 28px; }
.modal-sub { margin: 6px 0 18px; color: var(--ink-soft); font-size: 14.5px; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--muted); cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.modal-close svg { width: 16px; height: 16px; }
.modal .btn-block { margin-top: 16px; }
.modal .link-btn { display: block; margin: 14px auto 0; }
.phone-row { display: grid; grid-template-columns: 96px 1fr; gap: 8px; }
.input-code { font-size: 24px; letter-spacing: .4em; text-align: center; font-weight: 700; }
.modal-open { overflow: hidden; }

/* Shared empty state */
.empty-state { text-align: center; padding: 40px 20px; display: grid; gap: 10px; justify-items: center; }
.empty-state h2 { font-size: 20px; }

/* =====================================================================
   My Account — the app's dark Account screen + the screens it opens
   ===================================================================== */
.page-account { background: var(--dark); }
.acct-page { min-height: 100vh; padding: 96px 0 64px; background: var(--dark); color: #fff; }
.acct-grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 40px; align-items: start; }
.acct-side { position: sticky; top: 88px; }
.acct-loading { display: grid; place-items: center; padding: 48px 0; }
.acct-loading .spinner, .acct-sentinel .spinner { border-color: rgba(255, 255, 255, .15); border-top-color: var(--yellow); }
.acct-sentinel { display: grid; place-items: center; min-height: 24px; padding: 12px 0; }
.acct-head h1 { font-size: 26px; font-weight: 700; }
.acct-head p { margin-top: 2px; font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.acct-profile { display: flex; align-items: center; gap: 16px; margin-top: 20px; padding: 6px 0; border-radius: 20px; color: #fff; transition: background-color .15s; }
.acct-profile:hover { background: rgba(255, 255, 255, .04); }
.acct-avatar { position: relative; width: 76px; height: 76px; flex: none; border-radius: 50%; padding: 3px; background: var(--yellow); display: grid; place-items: center; }
.acct-avatar::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--dark-2); }
.acct-avatar .ico { position: relative; width: 36px; height: 36px; color: var(--yellow); }
.acct-avatar img { position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); border-radius: 50%; object-fit: cover; z-index: 1; }
.acct-profile-text { flex: 1; min-width: 0; display: grid; gap: 1px; }
.acct-profile-text strong { font-size: 22px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-profile-text span { font-size: 13.5px; color: rgba(255, 255, 255, .7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-verified { justify-self: start; margin-top: 6px; display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px; border-radius: 20px; background: var(--yellow); color: var(--ink); font-style: normal; font-size: 10.5px; font-weight: 700; }
.acct-verified .ico { width: 12px; height: 12px; stroke: none; color: var(--ink); }
.acct-verified .ico path { stroke: var(--yellow); stroke-width: 3; fill: none; }
.acct-edit { width: 40px; height: 40px; flex: none; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; }
.acct-edit .ico { width: 20px; height: 20px; }
.acct-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.acct-stats a { display: grid; justify-items: center; gap: 2px; padding: 16px 8px; border-radius: 16px; background: var(--dark-2); color: #fff; transition: background-color .15s; }
.acct-stats a:hover { background: #1d1f25; }
.acct-stats b { font-size: 18px; font-weight: 700; color: var(--yellow); white-space: nowrap; }
.acct-stats span { font-size: 12px; color: rgba(255, 255, 255, .7); }
.acct-title { margin: 24px 0 12px; font-size: 17px; font-weight: 700; color: #fff; }
.acct-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.acct-quick a { height: 118px; border-radius: 18px; background: #fff; color: var(--ink); display: grid; place-items: center; align-content: center; gap: 8px; font-size: 12.5px; font-weight: 600; transition: transform .15s; }
.acct-quick a:hover { transform: translateY(-2px); }
.acct-quick i, .acct-card i.is-yellow, .acct-ai-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; color: var(--ink); }
.acct-quick .ico { width: 22px; height: 22px; }
.acct-menu { background: #fff; border-radius: 20px; overflow: hidden; margin-bottom: 16px; }
.acct-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; background: none; border: 0; font: inherit; font-size: 14.5px; font-weight: 500; color: var(--ink); text-align: left; cursor: pointer; transition: background-color .15s; }
.acct-row + .acct-row { border-top: 1px solid #EEF0F4; }
.acct-row:hover, .acct-row.is-active { background: #FAFBFD; }
.acct-row.is-active { box-shadow: inset 3px 0 0 var(--yellow); }
.acct-row i { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--muted); display: grid; place-items: center; }
.acct-row i .ico { width: 19px; height: 19px; }
.acct-row span { flex: 1; }
.acct-chev { width: 22px; height: 22px; color: var(--ink-soft); }
.acct-row.is-danger { color: var(--error); }
.acct-row.is-danger i { background: #FBE9E7; }
.acct-delete-hint { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 8px; }
.acct-delete-hint b { color: var(--error); }

/* Sections */
.acct-main { min-width: 0; }
.acct-sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.acct-sec-head h2 { font-size: 26px; font-weight: 700; line-height: 1.2; }
.acct-sec-head p { font-size: 13px; color: rgba(255, 255, 255, .6); }
.acct-back { display: none; width: 40px; height: 40px; flex: none; border-radius: 50%; color: #fff; place-items: center; }
.acct-back:hover { background: rgba(255, 255, 255, .08); }
.acct-back[href="#help"] { display: grid; }
.acct-seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: 16px; background: var(--dark-2); margin-bottom: 16px; }
.acct-seg-2 { grid-template-columns: 1fr 1fr; }
.acct-seg button { padding: 11px 0; border: 0; border-radius: 12px; background: transparent; color: rgba(255, 255, 255, .7); font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background-color .18s, color .18s; }
.acct-seg button.is-active { background: var(--yellow); color: var(--ink); }
.acct-msg { display: grid; justify-items: center; gap: 14px; padding: 48px 16px; text-align: center; color: rgba(255, 255, 255, .7); font-size: 15px; }
.acct-msg-icon { width: 40px; height: 40px; color: rgba(255, 255, 255, .5); }
.acct-empty-mark { height: 64px; width: auto; opacity: .9; }
.acct-btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .4); padding: 11px 22px; font-size: 14px; }
.acct-btn-outline:hover { border-color: #fff; }
/* ---- Account: Business Account, Saved Addresses, Payment Methods, Receipts, Privacy */
.acct-sec-body { background: #fff; color: var(--ink); border-radius: 20px; padding: 20px; }
.acct-subtitle { font-size: 15px; font-weight: 700; margin: 20px 0 10px; }
.acct-subtitle:first-child { margin-top: 0; }
.acct-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.acct-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 14px; }
.acct-item > i { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--cream); display: grid; place-items: center; }
.acct-item > i .ico { width: 20px; height: 20px; }
.acct-item > div { flex: 1; min-width: 0; display: grid; gap: 1px; }
.acct-item strong { font-size: 14.5px; font-weight: 600; }
.acct-item span { font-size: 12.5px; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-item > em { font-style: normal; font-size: 12px; color: var(--ink-soft); white-space: nowrap; }
.acct-saved-card.is-default { border-color: var(--yellow); border-width: 1.5px; }
.acct-tag { font-style: normal; font-size: 11.5px; font-weight: 600; background: var(--cream); color: var(--ink) !important; padding: 3px 9px; border-radius: 8px; }
.acct-amount { font-size: 14.5px; font-weight: 700; white-space: nowrap; }
.link-btn { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; padding: 6px 4px; font: inherit; font-size: 13px; font-weight: 600; color: var(--yellow-dark); cursor: pointer; white-space: nowrap; }
.link-btn .ico { width: 16px; height: 16px; }
.link-btn.is-danger { color: var(--error); }
.acct-fine { font-size: 12px; margin-top: 10px; }
.acct-addcard { border: 1px solid var(--border); border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.card-field { padding: 14px; border: 1.5px solid var(--border); border-radius: 12px; }
.acct-addcard-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.acct-delete { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; background: #FBE9E7; color: var(--error); border: 0; }
.acct-delete .ico { width: 18px; height: 18px; }
.btn-dark { background: var(--ink); color: #fff; border: 0; }
.btn-dark:hover { background: #000; }
.acct-biz { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 20px; margin: 10px 0 18px; color: var(--ink); }
.acct-biz.is-switch { background: var(--yellow); }
.acct-biz.is-approved { background: #E6F7ED; }
.acct-biz.is-pending { background: var(--cream); }
.acct-biz.is-rejected { background: #FBE9E7; }
.acct-biz > i { width: 44px; height: 44px; flex: none; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.acct-biz > i .ico { width: 22px; height: 22px; }
.acct-biz > span { flex: 1; min-width: 0; display: grid; }
.acct-biz strong { font-size: 15.5px; font-weight: 700; }
.acct-biz > span > span { font-size: 12.5px; opacity: .75; }
.acct-biz.is-active { outline: 2px solid var(--yellow); outline-offset: 2px; }
.biz-hero { background: var(--yellow); border-radius: 16px; padding: 22px; margin-bottom: 18px; }
.biz-hero span { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.biz-hero h3 { font-size: 26px; font-weight: 800; line-height: 1.15; margin: 4px 0 6px; }
.biz-hero p { font-size: 14px; }
.biz-form h3 { font-size: 18px; font-weight: 700; margin: 18px 0 10px; }
.biz-field { display: grid; gap: 6px; margin-bottom: 12px; font-size: 13.5px; font-weight: 500; }
.biz-field .input { width: 100%; }
/* Column gap only — each .biz-field already has its own bottom margin, so a
   row gap doubled the space between fields once rows stack on phones. Fields
   align to the bottom so inputs stay level when one label wraps. */
.biz-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; align-items: end; }
.biz-row-3 { grid-template-columns: 2fr 1fr 1.3fr; }
.biz-benefits { display: flex; gap: 14px; background: var(--cream); border-radius: 14px; padding: 16px; margin: 8px 0 12px; }
.biz-benefits > b { width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-size: 24px; font-weight: 800; }
.biz-benefits strong { font-size: 16px; font-weight: 700; }
.biz-benefits p { font-size: 13.5px; color: var(--ink-soft); margin: 2px 0 8px; }
.biz-benefits ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; font-size: 13px; }
.biz-benefits li::before { content: '✓'; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 6px; border-radius: 50%; background: var(--yellow); font-size: 11px; font-weight: 800; }
.biz-notice { background: var(--muted); border-radius: 14px; padding: 14px 16px; margin-bottom: 14px; }
.biz-notice strong { font-size: 15px; font-weight: 700; }
.biz-notice p { font-size: 13px; color: var(--ink-soft); margin-top: 2px; line-height: 1.45; }
.biz-notice.is-ok { background: #E6F7ED; } .biz-notice.is-ok strong { color: #2FAE60; }
.biz-notice.is-wait { background: var(--cream); }
.biz-notice.is-bad { background: #FBE9E7; } .biz-notice.is-bad strong { color: var(--error); }
.biz-facts { margin: 0 0 14px; display: grid; gap: 10px; }
.biz-facts div { display: grid; grid-template-columns: 90px 1fr; gap: 10px; font-size: 14px; }
.biz-facts dt { color: var(--ink-soft); }
.biz-facts dd { margin: 0; font-weight: 500; }
@media (max-width: 600px) {
    .biz-row, .biz-row-3, .biz-benefits ul { grid-template-columns: 1fr; }
    .acct-item { flex-wrap: wrap; }
}

.acct-card { background: #fff; color: var(--ink); border-radius: 20px; padding: 20px; margin-bottom: 14px; }
.acct-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.acct-card h3:not(:first-child) { margin-top: 20px; }
.acct-muted { font-size: 13px; line-height: 1.5; color: var(--ink-soft); }

/* Order cards (my_orders_screen.dart) */
.acct-orders { display: grid; gap: 12px; }
.acct-order { position: relative; background: #fff; color: var(--ink); border-radius: 20px; padding: 16px; transition: transform .15s, box-shadow .15s; }
.acct-order:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.acct-order-link { position: absolute; inset: 0; border-radius: 20px; }
.acct-order-top { display: flex; align-items: center; gap: 12px; }
.acct-order-top > div { flex: 1; min-width: 0; display: grid; }
.acct-order-top strong { font-size: 15.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-order-top span { font-size: 12.5px; color: var(--ink-soft); }
.acct-order-icon { position: relative; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--muted); display: grid; place-items: center; padding: 9px; }
.acct-order-icon img { position: absolute; inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px); object-fit: contain; z-index: 1; background: var(--muted); }
.acct-order-icon .ico { width: 22px; height: 22px; }
.acct-status { flex: none; padding: 5px 10px; border-radius: 20px; font-style: normal; font-size: 11px; font-weight: 600; white-space: nowrap; }
.acct-status.is-ok { background: #E6F7ED; color: #1E8A4A; }
.acct-status.is-bad { background: #FBE9E7; color: var(--error); }
.acct-status.is-muted { background: var(--muted); color: var(--ink-soft); }
.acct-status.is-live { background: var(--yellow); color: var(--ink); }
.acct-route { display: grid; margin-top: 16px; font-size: 13px; }
.acct-route span { display: flex; align-items: center; gap: 10px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-route .ico { width: 18px; height: 18px; }
.acct-route .is-drop .ico { color: var(--yellow-dark); }
.acct-route i { width: 1.5px; height: 12px; margin-left: 8.25px; background: var(--border); }
.acct-order-foot { position: relative; display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #EEF0F4; pointer-events: none; }
.acct-order-foot > div { flex: 1; min-width: 0; display: grid; }
.acct-order-foot b { font-size: 17px; font-weight: 700; }
.acct-order-foot span { font-size: 12px; color: var(--ink-soft); }
.acct-card-btn { pointer-events: auto; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--border); background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; white-space: nowrap; }
.acct-card-btn.is-filled { background: var(--yellow); border-color: var(--yellow); }
.acct-card-btn:hover { filter: brightness(.97); }

/* Wallet (wallet_screen.dart) */
.acct-balance { display: grid; gap: 8px; padding: 24px; border-radius: 20px; background: var(--cream); color: var(--ink); margin-bottom: 16px; }
.acct-balance span { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.acct-balance span .ico { width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: #fff; color: var(--yellow-dark); }
.acct-balance b { font-size: 32px; font-weight: 800; }
.acct-amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.acct-amounts button { padding: 12px 4px; border-radius: 12px; border: 1.5px solid transparent; background: var(--muted); font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }
.acct-amounts button.is-active { background: var(--yellow); }
.acct-input { position: relative; display: flex; align-items: center; margin-bottom: 4px; }
.acct-input > .ico, .acct-input-pre { position: absolute; left: 14px; width: 20px; height: 20px; color: var(--ink-soft); pointer-events: none; font-size: 15px; font-weight: 600; display: grid; place-items: center; }
.acct-input .input { padding-left: 44px; width: 100%; }
.acct-input.is-readonly .input { background: var(--muted); color: var(--ink-soft); }
.acct-pay { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; border: 1.5px solid var(--yellow); background: var(--cream); margin-bottom: 12px; }
.acct-pay > .ico { width: 24px; height: 24px; color: var(--yellow-dark); }
.acct-pay div { flex: 1; display: grid; }
.acct-pay strong { font-size: 14.5px; }
.acct-pay span { font-size: 12px; color: var(--ink-soft); }
.acct-radio { width: 20px; height: 20px; border-radius: 50%; border: 6px solid var(--yellow-dark); background: #fff; }
.acct-card .btn-block { margin-top: 16px; }
.acct-tx-list { display: grid; gap: 10px; }
.acct-tx { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; background: #fff; color: var(--ink); }
.acct-tx > i { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; }
.acct-tx > i .ico { width: 18px; height: 18px; }
.acct-tx div { flex: 1; min-width: 0; display: grid; }
.acct-tx strong { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-tx span { font-size: 11.5px; color: var(--ink-soft); }
.acct-tx b { font-size: 14px; font-weight: 700; white-space: nowrap; }
.acct-tx .is-in { color: #1E8A4A; }
.acct-tx i.is-in { background: #E6F7ED; }
.acct-tx .is-out { color: var(--error); }
.acct-tx i.is-out { background: #FBE9E7; }

/* Forms (Personal Information, Help & Support) */
.acct-form { display: grid; gap: 8px; }
.acct-form h3 { margin-bottom: 4px; }
.acct-form textarea { resize: vertical; }
.acct-form .btn-block { margin-top: 12px; }
.acct-label { margin-top: 8px; font-size: 13px; font-weight: 600; }
.acct-photo { position: relative; justify-self: center; margin-bottom: 8px; cursor: pointer; }
.acct-avatar-lg { width: 104px; height: 104px; }
.acct-avatar-lg::before { background: var(--cream); }
.acct-avatar-lg .ico { width: 44px; height: 44px; color: var(--yellow-dark); }
.acct-photo em { position: absolute; right: 2px; bottom: 2px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 1px solid var(--border); display: grid; place-items: center; color: var(--ink-soft); }
.acct-photo em .ico { width: 16px; height: 16px; }

/* Notifications */
.acct-notes { display: grid; gap: 10px; }
.acct-note { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-radius: 18px; background: #fff; color: var(--ink); }
.acct-note > i { width: 42px; height: 42px; flex: none; border-radius: 50%; background: var(--cream); color: var(--yellow-dark); display: grid; place-items: center; }
.acct-note > i .ico { width: 20px; height: 20px; }
.acct-note div { flex: 1; min-width: 0; }
.acct-note strong { display: block; font-size: 15px; font-weight: 600; }
.acct-note p { font-size: 13px; line-height: 1.4; color: var(--ink-soft); margin-top: 2px; }
.acct-note span { display: block; margin-top: 6px; font-size: 11.5px; color: var(--ink-soft); }
.acct-note .acct-chev { align-self: center; }

/* Help & Support + AI chat */
.acct-ai { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 20px; border-radius: 20px; background: var(--cream); color: var(--ink); margin-bottom: 14px; }
.acct-ai strong { font-size: 16px; font-weight: 700; }
.acct-ai p { font-size: 13px; color: var(--ink-soft); line-height: 1.45; margin-top: 2px; }
.acct-ai .btn { grid-column: 1 / -1; padding: 14px; font-size: 15px; }
.acct-ai .btn .ico, .acct-code .btn .ico { width: 20px; height: 20px; }
.acct-ai-icon .ico { width: 22px; height: 22px; }
.acct-chat { display: flex; flex-direction: column; height: min(640px, calc(100vh - 220px)); min-height: 420px; background: #fff; color: var(--ink); border-radius: 20px; overflow: hidden; }
.acct-chat-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.acct-chat-empty { margin: auto 0; display: grid; justify-items: center; text-align: center; gap: 8px; }
.acct-chat-empty h3 { font-size: 18px; font-weight: 700; margin-top: 6px; }
.acct-chat-empty p { font-size: 13.5px; color: var(--ink-soft); max-width: 380px; line-height: 1.5; }
.acct-suggest { display: grid; gap: 8px; width: 100%; max-width: 420px; margin-top: 10px; }
.acct-suggest button { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--border); background: #fff; font-size: 13.5px; text-align: left; color: var(--ink); cursor: pointer; }
.acct-suggest button:hover { border-color: var(--yellow); background: var(--cream); }
.acct-suggest .ico { width: 18px; height: 18px; flex: none; }
.acct-bubble { max-width: 80%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.acct-bubble.is-user { align-self: flex-end; background: var(--yellow); border-bottom-right-radius: 4px; }
.acct-bubble.is-bot { align-self: flex-start; background: var(--muted); border-bottom-left-radius: 4px; }
.acct-bubble.is-error { background: #FBE9E7; color: var(--error); }
.acct-typing { display: flex; gap: 4px; padding: 14px; }
.acct-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-soft); animation: acct-dot 1.2s infinite ease-in-out; }
.acct-typing i:nth-child(2) { animation-delay: .15s; }
.acct-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes acct-dot { 0%, 80%, 100% { opacity: .3; transform: scale(.8); } 40% { opacity: 1; transform: scale(1); } }
.acct-chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid #EEF0F4; }
.acct-chat-input .input { flex: 1; }
.acct-chat-input button { width: 48px; height: 48px; flex: none; border: 0; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; cursor: pointer; }
.acct-chat-input .ico { width: 22px; height: 22px; }

/* Invite & Earn */
.acct-card-head { display: flex; align-items: center; gap: 12px; }
.acct-card-head i.is-yellow { width: 40px; height: 40px; }
.acct-card-head strong { font-size: 15px; font-weight: 600; }
.acct-card i .ico { width: 20px; height: 20px; }
.acct-code { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0 12px; padding: 14px 16px; border-radius: 14px; border: 1.5px dashed var(--yellow-dark); background: var(--cream); }
.acct-code b { font-size: 24px; font-weight: 800; letter-spacing: 2px; }
.acct-code .btn { padding: 10px 16px; font-size: 14px; }
.acct-rewards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.acct-rewards .acct-card { display: grid; justify-items: center; gap: 4px; text-align: center; }
.acct-rewards i { width: 40px; height: 40px; border-radius: 50%; background: var(--cream); color: var(--yellow-dark); display: grid; place-items: center; margin-bottom: 4px; }
.acct-rewards b { font-size: 22px; font-weight: 800; }
.acct-rewards span { font-size: 12.5px; color: var(--ink-soft); }
.acct-card-row { display: flex; align-items: center; gap: 14px; }
.acct-card-row > i:not(.is-yellow) { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--cream); color: var(--yellow-dark); display: grid; place-items: center; }
.acct-card-row > i.is-yellow { flex: none; }
.acct-card-row p { font-size: 13.5px; }
.acct-card-row strong { font-size: 16px; font-weight: 700; }
.acct-steps { display: grid; gap: 18px; }
.acct-steps > div { display: flex; gap: 14px; }
.acct-steps i { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--cream); color: var(--yellow-dark); display: grid; place-items: center; }
.acct-steps strong { font-size: 14.5px; font-weight: 600; }
.acct-steps p { font-size: 13px; color: var(--ink-soft); line-height: 1.45; }

@media (max-width: 900px) {
    .acct-page { padding: 84px 0 40px; }
    .acct-grid { display: block; }
    .acct-side { position: static; }
    .acct-page.is-section .acct-side { display: none; }
    .acct-page:not(.is-section) .acct-main { display: none; }
    .acct-back { display: grid; margin-left: -8px; }
    .acct-sec-head h2 { font-size: 22px; }
    .acct-chat { height: calc(100vh - 190px); }
}
@media (max-width: 600px) {
    .acct-order-foot { flex-wrap: wrap; }
    .acct-order-foot > div { flex-basis: 100%; margin-bottom: 4px; }
    .acct-card-btn { flex: 1; text-align: center; }
    .acct-amounts { grid-template-columns: repeat(2, 1fr); }
    .acct-code b { font-size: 20px; }
}

.center-row { display: flex; justify-content: center; margin-top: 16px; }

/* ================= Responsive ================= */
@media (max-width: 1080px) {
    .site-nav { gap: 20px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 40px; }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .step:nth-child(3) { border-left: 0; padding-left: 0; }
    .step:nth-child(2)::after { display: none; }
}

@media (max-width: 900px) {
    /* Mobile menu */
    .header-cta { display: inline-flex; margin-left: auto; position: relative; z-index: 2; }
    .nav-toggle {
        display: flex; flex-direction: column; justify-content: center; gap: 6px;
        width: 40px; height: 44px; padding: 0 4px;
        background: none; border: 0; cursor: pointer;
    }
    .nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
    .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
    .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
    .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    .site-nav {
        position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); margin: 0;
        flex-direction: column; align-items: stretch; gap: 4px;
        background: var(--dark); padding: 88px 24px 24px;
        transform: translateX(100%); transition: transform .25s ease;
        z-index: -1; box-shadow: -10px 0 40px rgba(0, 0, 0, .4);
    }
    .nav-open .site-nav { transform: none; }
    .site-nav a { padding: 12px 4px; font-size: 17px; text-shadow: none; border-bottom: 1px solid rgba(255, 255, 255, .08); }
    .site-nav .btn { display: none; }
    .nav-spacer { display: none; }
    .nav-open { overflow: hidden; }
    .nav-toggle { position: relative; z-index: 2; }
    /* backdrop-filter would make the fixed drawer position relative to the header */
    .site-header.is-solid { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--dark); }

    .hero { min-height: 0; padding: 120px 0 56px; }
    .hero::before {
        background:
            linear-gradient(90deg, rgba(6, 33, 72, .62) 0%, rgba(6, 33, 72, .32) 50%, rgba(6, 33, 72, 0) 75%),
            linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 18%);
    }
    .app-grid { grid-template-columns: 1fr; gap: 40px; }
    .business { grid-template-columns: 1fr; }
    .business-copy-inner { margin: 0 auto; max-width: none; }
    .business-visual { min-height: 0; aspect-ratio: 16 / 10; }
}

@media (max-width: 600px) {
    .brand img { height: 34px; }
    .header-inner { gap: 12px; }
    .header-cta { padding: 11px 16px; font-size: 13px; border-radius: 12px; }
    /* hero-mobile.webp is IMG_3230 with its road extended (blurred, fading
       dark) downward, so it fills the whole tall hero while the full-length
       goose still fits beside the headline; the full-width card sits below. */
    .hero { padding: 96px 0 40px; }
    .hero-bg img { object-position: 30% top; }
    .hero-title { font-size: clamp(38px, 11.5vw, 52px); }
    .hero-lead { max-width: 64%; font-size: 15px; }
    .book-card { width: 100%; max-width: none; margin-top: 24px; padding: 18px 16px; border-radius: 16px; }
    .book-card h2 { font-size: 19px; margin-bottom: 14px; }
    .cat-grid { gap: 6px; }
    .cat-tile { padding: 8px 4px; }
    .cat-tile.is-selected { padding: 7.5px 3.5px; }
    .cat-icon { width: 38px; height: 38px; }
    .cat-name { font-size: 11.5px; }
    .field input { font-size: 15px; }
    .swap-btn { background: transparent; }
    .book-fields { gap: 8px; }
    .swap-btn { width: 38px; height: 38px; }
    .field { padding: 0 12px; gap: 10px; }
    .field input { padding: 14px 0; }
    .btn-lg { padding: 16px 24px; font-size: 17px; }
    .features { padding: 8px 0; }
    .features-grid { grid-template-columns: 1fr 1fr; gap: 0; }
    .feature { flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 22px 10px; }
    .feature:nth-child(odd) { border-right: 1px solid #EDE4CC; }
    .feature:nth-child(-n+2) { border-bottom: 1px solid #EDE4CC; }
    .feature-icon { width: 52px; height: 52px; }
    .feature h3 { font-size: 15px; }
    .feature p { font-size: 13px; }
    .steps { grid-template-columns: 1fr; row-gap: 0; margin-top: 32px; }
    .step, .step:nth-child(3) { border-left: 0; padding: 20px 0; border-top: 1px solid var(--border); display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; }
    .step:first-child { border-top: 0; padding-top: 0; }
    .step .step-num { grid-row: span 2; }
    .step h3 { margin-top: 2px; }
    .step::after { display: none !important; }
    .store-badge { flex: 1 1 140px; justify-content: center; padding: 9px 12px; }
    .store-badge span { font-size: 17px; white-space: nowrap; }
    .footer-copy { margin-left: 0; }
}

/* App pages on tablets / phones */
@media (max-width: 900px) {
    .step1-grid, .review-grid { grid-template-columns: 1fr; }
    .map-sticky { position: static; order: -1; min-height: 0; }
    .map-sticky .map-box { position: relative; inset: auto; height: 240px; min-height: 240px; }
    .map-box { min-height: 260px; height: 260px; }
    .option-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .app-page { padding: 84px 0 40px; }
    .stepper em { font-size: 10.5px; }
    .stepper span { width: 28px; height: 28px; font-size: 13px; }
    .stepper li::before { top: 13px; }
    .panel { padding: 16px; border-radius: 16px; }
    .notes-grid, .form-grid { grid-template-columns: 1fr; }
    .span-2 { grid-column: auto; }
    .addr-notes { margin-left: 0; }
    .option-card { padding: 12px; }
    .option-row { gap: 12px; padding-right: 48px; }
    .option-row .option-img { width: 64px; height: 56px; }
    .cat-grid-page { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .speed-grid { grid-template-columns: 1fr; gap: 10px; }
    .speed-card { flex-direction: row; align-items: center; gap: 14px; padding: 12px 40px 12px 12px; }
    .speed-card.is-selected { padding: 11.5px 39.5px 11.5px 11.5px; }
    .speed-img { width: 92px; height: 92px; margin: 0; flex: none; aspect-ratio: auto; }
    .type-grid { gap: 10px; }
    .type-card { flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px; }
    .type-card.is-selected { padding: 11.5px; }
    .type-img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
    .step-nav { position: sticky; bottom: 0; margin: 20px calc(var(--gutter) * -1) -40px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--border); z-index: 20; }
    .step-nav .btn-lg { min-width: 0; flex: 1; }
    .step-nav .btn-ghost { padding: 15px 20px; }
}

/* GooseDialog — the app's AppDialog */
body.dialog-open { overflow: hidden; }
.gdialog {
    position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px;
    background: rgba(8, 9, 11, .55); opacity: 0; transition: opacity .2s ease;
}
.gdialog.is-open { opacity: 1; }
.gdialog-card {
    width: 100%; max-width: 400px; max-height: calc(100vh - 48px); overflow-y: auto;
    background: #fff; border-radius: 20px; padding: 24px; text-align: center; color: var(--ink);
    transform: translateY(12px) scale(.97); transition: transform .2s ease;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}
.gdialog.is-open .gdialog-card { transform: none; }
.gdialog-icon { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--yellow-dark); }
.gdialog-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.is-destructive .gdialog-icon { background: #FBE9E7; color: var(--error); }
.gdialog-card h2 { font-size: 18px; font-weight: 700; line-height: 1.35; }
.gdialog-msg { margin-top: 8px; font-size: 13.5px; line-height: 1.45; color: var(--ink-soft); white-space: pre-line; }
.gdialog-card.gdialog-wide { max-width: 460px; }
.gdialog-body { margin-top: 16px; text-align: left; }
.gdialog-error { margin-top: 12px; color: var(--error); font-size: 13px; font-weight: 500; }
.gdialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.gdialog-actions .btn { min-height: 48px; padding: 0 12px; border-radius: 14px; font-size: 15px; font-weight: 600; white-space: nowrap; justify-content: center; }
.gdialog-cancel { background: #fff; color: var(--ink); border: 1.5px solid var(--border); }
.gdialog-cancel:hover { border-color: #cfd4de; }
.gdialog-ok { background: var(--yellow); color: var(--ink); border: 0; }
.gdialog-ok:hover { background: var(--yellow-dark); }
.is-destructive .gdialog-ok { background: var(--error); color: #fff; }
.is-destructive .gdialog-ok:hover { background: #c93d34; }
.is-destructive .gdialog-ok .spinner { border-color: rgba(255, 255, 255, .35); border-top-color: #fff; }
.gdialog-actions .btn:disabled { opacity: .6; cursor: default; }
.money-input { display: flex; align-items: center; gap: 8px; border-bottom: 1.5px solid var(--border); padding: 6px 2px; }
.money-input:focus-within { border-color: var(--yellow-dark); }
.money-input span, .money-input input { font-size: 18px; font-weight: 600; color: var(--ink); }
.money-input input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-family: inherit; padding: 4px 0; }
.money-input input::placeholder { font-size: 15px; font-weight: 400; color: var(--ink-soft); }

/* Tip your rider — summary_screen.dart's tip card */
.tip-card { margin-top: 18px; padding: 16px; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.tip-head { display: flex; align-items: center; gap: 12px; }
.tip-head > div { flex: 1; display: grid; }
.tip-head strong { font-size: 15px; font-weight: 600; }
.tip-head small { font-size: 12.5px; color: var(--ink-soft); }
.tip-icon { width: 22px; height: 22px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316192C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 14h2a2 2 0 0 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 16'/%3E%3Cpath d='m7 20 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9'/%3E%3Cpath d='m2 15 6 6'/%3E%3Cpath d='M19.5 8.5c.7-.7 1.5-1.6 1.5-2.7A2.73 2.73 0 0 0 16 4a2.78 2.78 0 0 0-5 1.8c0 1.2.8 2 1.5 2.8L16 12Z'/%3E%3C/svg%3E") no-repeat center / contain; }
.tip-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tip-chip {
    padding: 10px 16px; border-radius: 12px; border: 1.5px solid var(--border); background: #fff;
    font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer; transition: border-color .15s, background-color .15s;
}
.tip-chip:hover { border-color: #cfd4de; }
.tip-chip.is-active { background: var(--yellow); border-color: var(--yellow); font-weight: 700; }
.tip-chip:disabled { cursor: default; }

/* Dark map (Leaflet fallback) — close to the app's dark "Finding a Rider…" style */
.map-dark .leaflet-tile-pane { filter: grayscale(1) invert(1) brightness(.34) contrast(1.5) sepia(.65) saturate(1.6); }
.map-dark.leaflet-container, .map-dark .leaflet-container { background: #12151d; }

/* =====================================================================
   Delivery page — the app's tracking views
   ===================================================================== */
.delivery-page { --bar: 64px; min-height: 100vh; padding-top: var(--bar); background: #FAFBFD; }
.dv-loading { justify-content: center; padding: 120px 0; }
.dv-plain { padding: 40px 0 64px; }
.dv-plain .panel { margin-bottom: 16px; }
.dv-plain .empty-state { max-width: 520px; margin: 0 auto; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico.ico-fill { fill: currentColor; stroke: none; }
.dv-close { position: absolute; left: 0; top: 0; width: 44px; height: 44px; display: grid; place-items: center; color: #fff; border-radius: 50%; }
.dv-close:hover { background: rgba(255, 255, 255, .08); }
.dv-avatar { position: relative; display: grid; place-items: center; flex: none; border-radius: 50%; overflow: hidden; background: var(--muted); color: var(--ink-soft); }
.dv-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.dv-avatar .ico { width: 50%; height: 50%; }
.dv-toast {
    position: fixed; left: 50%; bottom: 24px; z-index: 1100; transform: translate(-50%, 20px); opacity: 0;
    background: #1F2230; color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: opacity .25s, transform .25s; max-width: calc(100% - 32px);
}
.dv-toast.is-in { opacity: 1; transform: translate(-50%, 0); }

/* ---- Finding a Rider… */
.dv-is-finding, .dv-is-delivered { background: var(--dark); }
.dv-finding { position: relative; min-height: calc(100vh - var(--bar)); overflow: hidden; color: #fff; background: var(--dark); }
.dv-finding-map { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.dv-finding-map .leaflet-control-attribution { pointer-events: auto; background: rgba(8, 9, 11, .6); color: #8a8f9c; }
.dv-finding-map .leaflet-control-attribution a { color: #b8bcc6; }
.dv-finding-fade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(#08090B 18%, rgba(8, 9, 11, 0) 36%, rgba(8, 9, 11, 0) 62%, #08090B 80%); }
.dv-finding-inner { position: relative; z-index: 2; max-width: 480px; min-height: calc(100vh - var(--bar)); margin: 0 auto; padding: 16px 16px 8px; display: flex; flex-direction: column; text-align: center; }
.dv-finding-inner .dv-close { left: 8px; top: 8px; }
.dv-finding h1 { margin-top: 48px; font-size: 26px; font-weight: 700; line-height: 1.2; }
.dv-finding-sub { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .75); }
.dv-pulse { position: relative; width: 200px; height: 200px; margin: auto; display: grid; place-items: center; flex: none; }
.dv-pulse-wave { position: absolute; width: 110px; height: 110px; border-radius: 50%; background: rgba(252, 211, 3, .18); animation: dv-wave 2s linear infinite; }
@keyframes dv-wave { from { transform: scale(1); opacity: 1; } to { transform: scale(1.818); opacity: 0; } }
.dv-pulse-arc { position: absolute; width: 118px; height: 118px; animation: spin 2s linear infinite; }
.dv-pulse-arc circle { fill: none; stroke: rgba(252, 211, 3, .2); stroke-width: 5; }
.dv-pulse-arc .arc { stroke: var(--yellow); stroke-dasharray: 253 352; stroke-linecap: butt; transform: rotate(-90deg); transform-origin: 60px 60px; }
.dv-pulse-mark { position: relative; width: 96px; height: 96px; border-radius: 50%; background: var(--dark-2); display: grid; place-items: center; padding: 20px; }
.dv-pulse-mark img { width: 100%; height: 100%; object-fit: contain; }
.dv-checklist { list-style: none; margin: 0; padding: 24px 24px 2px; background: #fff; border-radius: 24px; text-align: left; color: var(--ink); }
.dv-checklist li { position: relative; display: flex; gap: 16px; padding-bottom: 22px; font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.dv-checklist li.is-done, .dv-checklist li.is-active { color: var(--ink); }
.dv-checklist li:not(:last-child)::before { content: ""; position: absolute; left: 10.25px; top: 24px; bottom: 2px; width: 1.5px; background: var(--border); }
.dv-check { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid var(--border); display: grid; place-items: center; }
.is-done .dv-check { background: var(--ink); border-color: var(--ink); color: var(--yellow); }
.is-done .dv-check .ico { width: 15px; height: 15px; stroke-width: 3; }
.is-active .dv-check { border-color: rgba(212, 177, 2, .25); border-top-color: var(--yellow-dark); animation: spin .8s linear infinite; }
.dv-finding-cancel { margin: 8px auto 0; height: 48px; padding: 0 16px; background: none; border: 0; color: rgba(255, 255, 255, .75); font-size: 14px; cursor: pointer; border-radius: 10px; }
.dv-finding-cancel:hover { color: #fff; background: rgba(255, 255, 255, .06); }

/* ---- Track Delivery */
.dv-track { background: #FAFBFD; padding-bottom: 40px; }
.dv-track-bar { display: flex; align-items: center; gap: 12px; height: 64px; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); text-align: center; }
.dv-track-bar > div { flex: 1; }
.dv-track-bar h1 { font-size: 18px; font-weight: 700; line-height: 1.25; }
.dv-track-bar p { font-size: 12.5px; color: var(--ink-soft); }
.dv-round { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--muted); color: var(--ink); display: grid; place-items: center; }
.dv-round .ico { width: 20px; height: 20px; }
.dv-round:hover { background: #E6E9F2; }
/* Desktop: a contained map card beside the details panel. */
.dv-track-body { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 20px; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); height: min(560px, calc(100vh - var(--bar) - 104px)); min-height: 440px; }
.dv-map-wrap { position: relative; min-height: 0; isolation: isolate; border-radius: 20px; overflow: hidden; border: 1px solid var(--border); }
.dv-map { position: absolute; inset: 0; height: auto; min-height: 0; border: 0; border-radius: 0; }
.dv-bubble { position: absolute; left: 16px; top: 16px; z-index: 500; display: grid; gap: 2px; padding: 10px 14px; background: #fff; border-radius: 14px; box-shadow: 0 4px 12px rgba(0, 0, 0, .12); max-width: calc(100% - 32px); }
.dv-bubble strong { font-size: 13.5px; font-weight: 700; }
.dv-bubble span { font-size: 12px; color: var(--ink-soft); }
.dv-recenter { position: absolute; right: 16px; bottom: 24px; z-index: 500; width: 50px; height: 50px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 3px 10px rgba(0, 0, 0, .18); }
.dv-recenter .ico { width: 26px; height: 26px; }
.dv-sheet { position: relative; overflow-y: auto; padding: 0 16px 16px; background: #fff; border: 1px solid var(--border); border-radius: 20px; display: flex; flex-direction: column; gap: 12px; }
.dv-grabber { display: none; }
.dv-sheet > :first-of-type, .dv-sheet #statusBanner { margin-top: 16px; }
.dv-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; }
.dv-banner { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #fff; border: 1px solid var(--border); border-radius: 18px; }
.dv-banner > .ico { width: 26px; height: 26px; }
.dv-banner-text { flex: 1; min-width: 0; display: grid; }
.dv-banner-text strong { font-size: 16px; font-weight: 700; line-height: 1.3; }
.dv-banner-text span { font-size: 13px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dv-vr { width: 1px; align-self: stretch; margin: 0 4px; background: var(--border); flex: none; }
.dv-banner-eta { display: grid; flex: none; }
.dv-banner-eta span { font-size: 11.5px; color: var(--ink-soft); }
.dv-banner-eta b { font-size: 20px; font-weight: 800; line-height: 1.2; }
.dv-stop { background: #fff; border: 1.5px solid var(--yellow); border-radius: 18px; }
.dv-stop-addr { display: grid; padding: 16px 16px 0; }
.dv-stop-addr small { font-size: 12.5px; color: var(--ink-soft); }
.dv-stop-addr strong { margin-top: 2px; font-size: 20px; font-weight: 700; line-height: 1.25; }
.dv-stop-addr span { font-size: 13.5px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dv-stop-rider { display: grid; gap: 16px; margin: 0 16px; padding: 16px 0; border-top: 1px solid var(--border); }
.dv-rider-row { display: flex; align-items: center; gap: 12px; }
.dv-rider-row > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.dv-rider-row strong { font-size: 18px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dv-rider-row span:not(.dv-avatar) { font-size: 13px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dv-actions { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 12px; }
.dv-btn-outline { position: relative; height: 50px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid var(--border); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: border-color .15s, background-color .15s; }
.dv-btn-outline:hover { border-color: #cfd4de; background: #FAFBFD; }
.dv-btn-outline .ico { width: 22px; height: 22px; }
.dv-btn-outline .dv-badge { top: -9px; right: -9px; }
.dv-steps { list-style: none; margin: 0; padding: 16px 8px; display: grid; grid-template-columns: repeat(4, 1fr); }
.dv-steps li { position: relative; display: grid; justify-items: center; align-content: start; gap: 2px; text-align: center; }
.dv-steps li::before, .dv-steps li::after { content: ""; position: absolute; top: 23px; height: 2.5px; width: calc(50% - 24px); }
.dv-steps li::before { left: 0; background: var(--seg-in); }
.dv-steps li::after { right: 0; background: var(--seg-out); }
.dv-steps li:first-child::before, .dv-steps li:last-child::after { display: none; }
.dv-step-dot { --dot-bg: #fff; width: 38px; height: 38px; margin: 5px 0; border-radius: 50%; background: #fff; border: 1.5px solid var(--border); color: var(--ink-soft); display: grid; place-items: center; }
.dv-step-dot .ico { width: 19px; height: 19px; }
.is-done .dv-step-dot { --dot-bg: var(--yellow); background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.is-current .dv-step-dot { --dot-bg: var(--cream); width: 48px; height: 48px; margin: 0; background: var(--cream); border: 3.5px solid var(--yellow); color: var(--ink); }
.dv-steps strong { margin-top: 6px; font-size: 12px; font-weight: 500; color: var(--ink-soft); line-height: 1.3; }
.dv-steps .is-reached strong { font-weight: 700; color: var(--ink); }
.dv-steps small { font-size: 11px; color: var(--ink-soft); }
.dv-code { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--cream); border: 1.5px solid var(--yellow); border-radius: 18px; }
.dv-code > .ico { width: 34px; height: 34px; stroke-width: 1.6; }
.dv-code div { flex: 1; min-width: 0; display: grid; }
.dv-code strong { font-size: 14px; font-weight: 700; }
.dv-code span:not(.dv-vr) { font-size: 11.5px; line-height: 1.3; color: var(--ink-soft); }
.dv-code b { font-size: 26px; font-weight: 800; letter-spacing: 1.5px; }
.dv-cancel-muted { margin-top: 4px; height: 52px; flex: none; border-radius: 16px; border: 1.5px solid var(--border); background: #fff; color: var(--ink-soft); font-size: 15px; cursor: pointer; }
.dv-cancel-muted:hover { border-color: #cfd4de; }

/* ---- Quick Rebook (GooseRebook in site.js) */
.dv-rebook {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; align-self: center; height: 48px; margin-top: 4px;
    padding: 0 18px; border: 0; border-radius: 24px; background: none; color: var(--yellow); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
}
.dv-rebook:hover { background: rgba(252, 211, 3, .1); }
.dv-rebook .ico, #rebookBtn .ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#rebookBtn.btn { display: flex; align-items: center; justify-content: center; gap: 8px; }
#rebookBtn.is-busy { opacity: .6; pointer-events: none; }
.dv-book-new { margin-top: 10px; background: #fff; border: 1.5px solid var(--border); color: var(--ink); }

/* ---- Chat with the rider (chat.js) — the app's OrderChatScreen */
.dv-badge {
    position: absolute; top: -2px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
    background: var(--error); color: #fff; font-size: 11px; font-weight: 700; font-style: normal; line-height: 20px; text-align: center;
    box-shadow: 0 0 0 2px #fff;
}
.chat-panel { position: fixed; inset: 0; z-index: 1050; display: flex; justify-content: flex-end; background: rgba(8, 9, 11, 0); transition: background .25s; }
.chat-panel.is-open { background: rgba(8, 9, 11, .45); }
.chat-card {
    width: min(420px, 100%); height: 100%; background: #fff; display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform .25s ease; box-shadow: -12px 0 40px rgba(0, 0, 0, .15);
}
.chat-panel.is-open .chat-card { transform: none; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: center; }
.chat-head > div { flex: 1; min-width: 0; }
.chat-head h2 { font-size: 18px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-head p { font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.chat-head .dv-round { border: 0; padding: 0; cursor: pointer; }
.chat-head .ico { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.chat-head-spacer { width: 44px; flex: none; }
.chat-list { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chat-empty { margin: auto; max-width: 260px; text-align: center; color: var(--ink-soft); font-size: 14px; line-height: 1.45; }
.chat-empty svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.chat-msg { max-width: 78%; align-self: flex-start; display: grid; gap: 3px; justify-items: start; }
.chat-msg p { margin: 0; padding: 10px 14px; border-radius: 18px 18px 18px 4px; background: var(--muted); font-size: 15px; line-height: 1.35; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-msg time { font-size: 11px; color: var(--ink-soft); }
.chat-msg.is-mine { align-self: flex-end; justify-items: end; }
.chat-msg.is-mine p { background: var(--yellow); border-radius: 18px 18px 4px 18px; }
.chat-foot { border-top: 1px solid var(--border); padding: 10px 16px 14px; }
.chat-quick { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
.chat-chip { flex: none; height: 34px; padding: 0 14px; border: 0; border-radius: 17px; background: var(--muted); color: var(--ink); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
.chat-chip:hover:not(:disabled) { background: #E6E9F2; }
.chat-form { display: flex; align-items: flex-end; gap: 8px; }
.chat-form textarea {
    flex: 1; min-height: 46px; max-height: 120px; resize: none; padding: 12px 18px; border: 0; border-radius: 23px;
    background: var(--muted); font: inherit; font-size: 15px; color: var(--ink); outline: none;
}
.chat-form textarea:focus { box-shadow: 0 0 0 3px rgba(252, 211, 3, .35); }
.chat-send { width: 46px; height: 46px; flex: none; border: 0; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; cursor: pointer; }
.chat-send svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chat-send:disabled { opacity: .6; cursor: default; }
.chat-closed { margin: 4px 0; text-align: center; font-size: 13.5px; color: var(--ink-soft); }
.chat-toast { border: 0; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 600px) {
    .chat-card { width: 100%; box-shadow: none; }
}

/* ---- The Goose Has Landed! */
.dv-landed { position: relative; overflow: hidden; background: var(--dark); color: #fff; min-height: calc(100vh - var(--bar)); }
.dv-confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.dv-landed-inner { position: relative; max-width: 480px; margin: 0 auto; padding: 0 24px 16px; min-height: calc(100vh - var(--bar)); display: flex; flex-direction: column; }
.dv-landed-top { position: relative; height: 56px; display: grid; place-items: center; }
.dv-landed-top .dv-close { left: -6px; top: 6px; }
.dv-landed-top img { height: 34px; width: auto; }
/* complete.jpg cropped to its artwork (x 100–763, y 121–1076 of 850×1101);
   "lighten" lifts its pure-black backdrop to the page's #08090B. */
.dv-landed-art { position: relative; width: min(100%, calc((100vh - var(--bar) - 340px) * 663 / 955)); min-width: 190px; margin: 0 auto; aspect-ratio: 663 / 955; overflow: hidden; flex: none; }
.dv-landed-art img { position: absolute; width: 128.2%; max-width: none; left: -15.08%; top: -12.67%; mix-blend-mode: lighten; }
.dv-info { margin-top: 16px; background: #fff; color: var(--ink); border-radius: 20px; }
.dv-info-row { display: flex; align-items: center; gap: 16px; padding: 14px 16px; }
.dv-info-row + .dv-info-row { border-top: 1px solid #EEF0F4; }
.dv-info-lead { width: 52px; display: grid; place-items: center; flex: none; }
.dv-info-lead > .ico { width: 30px; height: 30px; }
.dv-info-row div { display: grid; gap: 2px; }
.dv-info-row span { font-size: 13px; color: var(--ink-soft); }
.dv-info-row strong { font-size: 15.5px; font-weight: 600; }
.dv-pill { position: relative; z-index: 3; width: 100%; height: 56px; flex: none; border-radius: 16px; font-size: 16px; font-weight: 600; cursor: pointer; margin-top: 12px; }
.dv-pill-yellow { margin-top: 16px; background: var(--yellow); color: var(--ink); border: 0; }
.dv-pill-yellow:hover { background: var(--yellow-dark); }
.dv-pill-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .6); }
.dv-pill-outline:hover { background: rgba(255, 255, 255, .06); }
.dv-rated { margin-top: 16px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 14.5px; color: rgba(255, 255, 255, .75); }
.dv-stars { display: inline-flex; }
.dv-stars span { color: rgba(255, 255, 255, .24); display: grid; }
.dv-stars span.on { color: var(--yellow); }
.dv-stars .ico { width: 20px; height: 20px; }
.dv-details { padding: 32px 0 64px; background: #FAFBFD; }
.dv-detail-list { display: grid; gap: 0; margin: 0; }
.dv-detail-list div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid #EEF0F4; }
.dv-detail-list div:last-child { border-bottom: 0; }
.dv-detail-list dt { font-size: 13.5px; color: var(--ink-soft); }
.dv-detail-list dd { margin: 0; font-size: 14px; font-weight: 600; }
.dv-photos-title { margin: 20px 0 10px; font-size: 16px; font-weight: 700; }
.dv-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dv-photos a { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.dv-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: var(--muted); }
.dv-book-again { margin-top: 20px; }

/* Rate Your Rider dialog */
.rate-stars { display: flex; justify-content: space-between; gap: 4px; }
.rate-stars button { background: none; border: 0; padding: 0; cursor: pointer; color: var(--border); transition: transform .1s, color .15s; }
.rate-stars button:hover { transform: scale(1.08); }
.rate-stars button.on { color: var(--yellow); }
.rate-stars .ico { width: 56px; height: 56px; }
.rate-label { margin-top: 24px; font-size: 14px; font-weight: 600; }
.rate-tips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.rate-tips button { height: 52px; border-radius: 14px; border: 1.5px solid var(--border); background: #fff; font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer; }
.rate-tips button.is-active { background: var(--yellow); border-color: var(--yellow); font-weight: 700; }
.gdialog-body .money-input { margin-top: 12px; }
.rate-comment { margin-top: 16px; width: 100%; resize: vertical; }
.rate-card { margin-top: 14px; }
.rate-card p { font-size: 13px; color: var(--ink-soft); margin-bottom: 8px; }

/* Cancelled */
.dv-cancelled { display: flex; align-items: center; gap: 12px; margin: 16px 0; padding: 16px; border-radius: 16px; background: #FBE9E7; border: 1px solid rgba(224, 72, 62, .3); color: var(--error); }
.dv-cancelled > span { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.dv-cancelled strong { font-size: 14.5px; font-weight: 600; }
.dv-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--muted); border: 0; }
.dv-summary div { display: grid; }
.dv-summary span { font-size: 12px; color: var(--ink-soft); }
.dv-summary b { font-size: 18px; font-weight: 700; }
.dv-refund { margin-top: 12px; font-size: 13px; }

@media (max-width: 900px) {
    .dv-track { padding-bottom: 0; background: #fff; }
    .dv-track-bar { padding: 0 16px; border-bottom: 1px solid #EEF0F4; }
    .dv-track-body { display: block; height: auto; min-height: 0; padding: 0; }
    .dv-map-wrap { height: 40vh; min-height: 260px; border: 0; border-radius: 0; }
    .dv-sheet { margin-top: -24px; z-index: 600; border: 0; border-radius: 24px 24px 0 0; box-shadow: 0 -4px 16px rgba(0, 0, 0, .08); overflow: visible; }
    .dv-grabber { display: block; width: 40px; height: 4px; margin: 10px auto 0; border-radius: 2px; background: var(--border); flex: none; }
    .dv-sheet #statusBanner { margin-top: 4px; }
    .dv-recenter { bottom: 40px; }
}
@media (max-width: 600px) {
    .delivery-page { --bar: 60px; }
    .dv-detail-list div { grid-template-columns: 1fr; gap: 2px; }
    .rate-stars .ico { width: 48px; height: 48px; }
    .dv-steps { padding: 14px 2px; }
    .dv-steps strong { font-size: 11px; }
    .dv-steps small { font-size: 10px; }
}

/* ---- Business Account prices + saved cards at checkout (book.js) */
.price-biz { color: #2FAE60; }
.price-biz s { color: var(--ink-soft); font-weight: 400; font-size: .9em; margin-right: 4px; }
.fare-save { color: #2FAE60; }
.fare-savings { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: #E6F7ED; color: #2FAE60; font-size: 13.5px; font-weight: 600; }
.pay-default { font-style: normal; font-size: 11px; font-weight: 600; background: var(--cream); padding: 2px 7px; border-radius: 6px; margin-left: 6px; }
.save-card { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13.5px; color: var(--ink); cursor: pointer; }
.save-card[hidden] { display: none; }

/* ---------- "Get the Full Experience" app pop-up (layout + site.js) ---------- */
.app-pop { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 16px; background: rgba(8, 9, 11, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
.app-pop[hidden] { display: none; }
.app-pop.is-open { opacity: 1; }
.app-pop-open { overflow: hidden; }
.app-pop-card { position: relative; width: min(940px, 100%); max-height: calc(100vh - 32px); display: grid; grid-template-columns: 40% 1fr; overflow: hidden; border-radius: 28px; background: #fff; color: var(--ink); box-shadow: 0 24px 60px rgba(0, 0, 0, .35); transform: translateY(16px) scale(.98); transition: transform .25s; }
.app-pop.is-open .app-pop-card { transform: none; }
.app-pop-visual { min-height: 0; background: #fff; }
.app-pop-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left bottom; }
.app-pop-body { position: relative; display: grid; align-content: center; padding: 56px 40px 64px 20px; }
.app-pop-close { position: absolute; top: 18px; right: 18px; z-index: 1; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; }
.app-pop-close:hover { background: var(--muted); }
.app-pop-close:focus { outline: none; }
.app-pop-close:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.app-pop-card:focus { outline: none; }
.app-pop-close svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.app-pop-logo { width: min(260px, 70%); height: auto; justify-self: center; margin-bottom: 22px; }
.app-pop-body h2 { padding-right: 32px; font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; line-height: 1.04; letter-spacing: -.02em; }
.app-pop-spark { width: .8em; height: .8em; margin: -.3em 0 0 .12em; vertical-align: top; fill: none; stroke: var(--yellow); stroke-width: 5; stroke-linecap: round; }
.app-pop-body > p { margin-top: 14px; max-width: 460px; font-size: 18px; line-height: 1.45; color: var(--ink); }
.app-pop-body .store-badges { margin-top: 26px; }
.app-pop-lines { position: absolute; right: 0; bottom: 22px; display: grid; justify-items: end; gap: 8px; pointer-events: none; }
.app-pop-lines i { display: block; height: 10px; border-radius: 5px 0 0 5px; background: var(--yellow); }
.app-pop-lines i:nth-child(1) { width: 90px; }
.app-pop-lines i:nth-child(2) { width: 150px; margin-right: 24px; border-radius: 5px; }
.app-pop-lines i:nth-child(3) { width: 210px; margin-right: 48px; border-radius: 5px; }
@media (max-width: 760px) {
    .app-pop-card { grid-template-columns: 1fr; overflow-y: auto; border-radius: 24px; }
    .app-pop-visual { display: none; }
    .app-pop-body { padding: 52px 22px 96px; text-align: center; }
    .app-pop-body h2 { padding-right: 0; font-size: 34px; }
    .app-pop-body > p { margin-inline: auto; font-size: 16px; }
    .app-pop-body .store-badges { justify-content: center; }
    .app-pop-lines i:nth-child(3) { width: 150px; }
}
@media (prefers-reduced-motion: reduce) {
    .app-pop, .app-pop-card { transition: none; }
}
