/* ==========================================================================
   Xpress Rentals V3: site pages (index, fleet, requirements, about, apply, privacy, terms).
   Loads after css/v3.css, which holds the shared tokens, buttons, form fields, terms list,
   FAQ, footer basics and the phone "Reserve a car" bar. reserve.html loads v3.css only.
   ========================================================================== */

/* The hidden attribute always wins over a component display rule (application lanes, menu sheet, notices) */
[hidden] { display: none !important; }

/* ---------- Header: logo, five links, Call, Reserve. Transparent over the home photo, solid elsewhere ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(9, 9, 11, .97); border-bottom: 1px solid var(--line); }  /* no backdrop-filter: it would trap the fixed menu sheet inside the header */
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.site-header .logo img { height: 40px; width: auto; }
.site-nav { display: none; margin-left: auto; }
.site-nav ul { display: flex; gap: 4px; list-style: none; padding: 0; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: var(--fs-16); font-weight: 600; color: var(--ink-2); text-decoration: none; border-radius: 8px; transition: color 160ms var(--ease-out); }
.site-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 10px; }
.head-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.head-actions .btn { min-height: 44px; font-size: var(--fs-16); padding: 0 16px; }
.head-call { display: none; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--r); background: transparent; color: var(--ink); cursor: pointer; }
.menu-btn { position: relative; }
.menu-btn svg { position: absolute; width: 20px; height: 20px; transition: opacity 160ms var(--ease-out), filter 160ms var(--ease-out), transform 160ms var(--ease-out); }
.menu-btn .close, .site-header.open .menu-btn .open { opacity: 0; filter: blur(4px); transform: scale(.8); }
.site-header.open .menu-btn .close { opacity: 1; filter: none; transform: none; }
@media (prefers-reduced-motion: reduce) { .menu-btn svg { transition: none; } }
@media (hover: hover) and (pointer: fine) { .site-nav a:hover { color: var(--ink); } }

/* Phone menu: full-screen sheet under the header bar */
.menu-sheet { position: fixed; inset: 64px 0 0; z-index: 29; display: grid; align-content: start; gap: 4px; padding: 16px 16px calc(24px + env(safe-area-inset-bottom)); background: var(--bg); overflow-y: auto; }
.menu-sheet[hidden] { display: none; }
.menu-sheet a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); font-family: var(--f-hero); font-size: var(--fs-30); font-weight: 800; text-transform: uppercase; text-decoration: none; color: var(--ink); }
.menu-sheet a[aria-current="page"] { color: var(--accent-ink); }
.menu-sheet .menu-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.menu-sheet .menu-contact .btn { font-family: var(--f-body); font-size: var(--fs-16); text-transform: none; border-bottom: 1px solid var(--line-strong); }
.menu-sheet .menu-contact .btn-primary { border-color: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .menu-sheet:not([hidden]) { animation: sheet-in 220ms var(--ease-out) both; }
  @keyframes sheet-in { from { opacity: 0; transform: translateY(-6px); } }
}

@media (min-width: 1100px) {
  .site-header .wrap { height: 80px; }
  .site-header .logo img { height: 52px; }
  .site-nav { display: block; }
  .head-actions { margin-left: 8px; }
  .head-call { display: inline-flex; }
  .menu-btn, .menu-sheet { display: none !important; }
}

/* Home: header sits on the photo until the page scrolls */
.home .site-header { position: fixed; inset: 0 0 auto; background: transparent; border-bottom-color: transparent; transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out); }
.home .site-header.solid, .home .site-header.open { background: rgba(9, 9, 11, .97); border-bottom-color: var(--line); }

/* ---------- Home hero ---------- */
.home-hero { position: relative; isolation: isolate; min-height: 100svh; display: grid; align-items: end; }
.home-hero .hero-photo { position: absolute; inset: 0; height: auto; z-index: -1; }
.home-hero .hero-photo::after { background: linear-gradient(180deg in oklch, rgba(9,9,11,.55) 0%, rgba(9,9,11,.45) 28%, rgba(9,9,11,.9) 52%, #09090B 78%); }
.home-hero .wrap { display: grid; gap: 20px; padding: 120px 0 40px; }
.home-hero h1 { font-family: var(--f-hero); font-weight: 800; font-size: var(--fs-d1); line-height: .9; letter-spacing: -.02em; text-transform: uppercase; text-wrap: balance; max-width: 12ch; }
.home-hero .price { font-size: var(--fs-18); color: var(--ink); }
.home-hero .price strong { font-size: var(--fs-36); }
.home-hero .lede { color: var(--ink-2); font-size: var(--fs-18); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-actions .btn { flex: 1 1 200px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; padding: 0; margin-top: 8px; font-size: var(--fs-14); font-weight: 600; color: var(--ink-2); }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
@media (min-width: 1024px) {
  .home-hero .hero-photo::after { background: linear-gradient(90deg in oklch, rgba(9,9,11,.92) 0%, rgba(9,9,11,.6) 50%, rgba(9,9,11,.3) 100%), linear-gradient(0deg in oklch, #09090B 0%, transparent 35%); }
  .home-hero .wrap { padding: 160px 0 96px; gap: 24px; }
  .home-hero .price { font-size: var(--fs-20); line-height: 1.5; }
  .home-hero .price strong { font-size: var(--fs-48); }
  .home-hero .lede { font-size: var(--fs-20); line-height: 1.55; }
  .hero-actions .btn { flex: 0 0 auto; padding: 0 28px; }
}

/* ---------- Inner page head ---------- */
.page-head { padding: clamp(48px, 8vw, 104px) 0 clamp(32px, 5vw, 56px); }
.page-head h1 { font-family: var(--f-hero); font-weight: 800; font-size: var(--fs-d2); line-height: .92; letter-spacing: -.015em; text-transform: uppercase; text-wrap: balance; max-width: 16ch; }
.page-head .lede { margin-top: 20px; color: var(--ink-2); font-size: var(--fs-lede); max-width: 52ch; }
.page-head .hero-actions { margin-top: 24px; }
@media (min-width: 1024px) { .page-head .hero-actions .btn { flex: 0 0 auto; } }

/* Section intro used beside or above content */
.intro h2 + .lede, .intro .lede { margin-top: 16px; }
.section-top { display: grid; gap: 12px; margin-bottom: clamp(28px, 4vw, 48px); }

/* ---------- How it works: three steps in a row, a thin rule runs through them ---------- */
.steps { display: grid; gap: 0; list-style: none; padding: 0; counter-reset: step; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 4px 16px; padding: 24px 0; border-bottom: 1px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step); grid-row: span 2; font-family: var(--f-hero); font-size: var(--fs-48); font-weight: 800; line-height: 1; color: var(--accent-ink); }
.steps h3 { font-size: var(--fs-20); font-weight: 800; line-height: 1.3; }
.steps p { color: var(--ink-2); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .steps li { grid-template-columns: 1fr; padding: 28px 32px 0 0; border-bottom: 0; border-top: 2px solid var(--line-strong); }
  .steps li:first-child { border-top-color: var(--accent); }
  .steps li::before { grid-row: auto; margin-bottom: 16px; font-size: var(--fs-64); }
}

/* ---------- Who it's for: a photo beside an editorial list ---------- */
.who { display: grid; gap: 32px; }
.who-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.who-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease-out); }
.who-list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.who-list li { display: grid; gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.who-list h3 { font-family: var(--f-hero); font-size: var(--fs-d4); font-weight: 800; line-height: 1; text-transform: uppercase; }
.who-list p { color: var(--ink-2); }
.who-list .needs { font-size: var(--fs-14); font-weight: 600; color: var(--ink); }
.who-list .needs::before { content: "Needs: "; color: var(--ink-3); font-weight: 600; }
.fine { margin-top: 16px; font-size: var(--fs-13); color: var(--ink-3); }
@media (min-width: 1024px) {
  .who { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
  .who-photo { aspect-ratio: 4 / 5; position: sticky; top: 112px; }
}
@media (hover: hover) and (pointer: fine) { .who-photo:hover img { transform: scale(1.025); } }

/* ---------- Included: two columns of plain facts ---------- */
.included { display: grid; gap: 0; list-style: none; padding: 0; border-top: 1px solid var(--line); }
.included li { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.included strong { font-size: var(--fs-18); }
.included span { color: var(--ink-2); }
@media (min-width: 760px) { .included { grid-template-columns: 1fr 1fr; column-gap: 48px; } }

/* ---------- Service area: map + places ---------- */
.area { display: grid; gap: 24px; }
.area-map { position: relative; height: 380px; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.area-map-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--ink-2); font-weight: 600; }
.area-map.map-ready .area-map-fallback { display: none; }
.area-map.map-style-green { background: #EEF4EF; }
.area-map.map-style-green .area-map-fallback { color: #0F172A; }
.area-label { font-family: var(--f-body); font-weight: 700; font-size: var(--fs-13); padding: 4px 8px; border-radius: 8px; }
.area-map.map-style-green .area-label { background: #FFFFFF; color: #0F172A; border: 1px solid #15803D; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.area-map.map-style-green .area-label-center { background: #166534; color: #FFFFFF; border-color: #FFFFFF; }
.area-notes { color: var(--ink-2); }
.area-notes strong { color: var(--ink); }
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.area-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: var(--fs-14); font-weight: 600; color: var(--ink-2); }
.area-chip svg { width: 15px; height: 15px; flex: none; color: var(--ok); }
@media (min-width: 1024px) {
  .area { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
  .area-map { height: 520px; }
}

/* ---------- Closing band ---------- */
.close-band { padding-block: clamp(72px, 10vw, 136px); border-top: 1px solid var(--line); }
.close-band .wrap { display: grid; gap: 24px; }
.close-band h2 { font-family: var(--f-hero); font-weight: 800; font-size: var(--fs-d2); line-height: .92; text-transform: uppercase; text-wrap: balance; max-width: 14ch; }
.close-band p { color: var(--ink-2); font-size: var(--fs-18); max-width: 44ch; }

/* ---------- Footer (site) ---------- */
.site-footer { padding: 56px 0 calc(104px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--ink-2); font-size: var(--fs-16); }
.site-footer .foot-grid { display: grid; gap: 32px; }
.site-footer .foot-brand img { height: 48px; width: auto; }
.site-footer .foot-brand p { margin-top: 12px; max-width: 34ch; }
.site-footer h2 { font-family: var(--f-body); font-size: var(--fs-13); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; color: var(--ink-2); }
.site-footer .hours li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); max-width: 300px; }
.site-footer .hours li span:last-child { color: var(--ink); font-variant-numeric: tabular-nums; }
.site-footer .legal { display: grid; gap: 8px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: var(--fs-13); color: var(--ink-3); }
.site-footer .legal a { color: var(--ink-2); }
@media (min-width: 900px) { .site-footer .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; } }
@media (min-width: 1024px) { .site-footer { padding-bottom: 56px; } }
@media (hover: hover) and (pointer: fine) { .site-footer li a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; } }

/* ---------- Fleet ---------- */
.car { display: grid; gap: 32px; }
.photo-slot { display: grid; place-items: center; gap: 12px; aspect-ratio: 4 / 3; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); background: var(--surface); color: var(--ink-2); text-align: center; padding: 24px; }
.photo-slot svg { width: 56px; height: 56px; color: var(--ink-3); }
.status { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: var(--fs-14); font-weight: 700; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.status[data-status="available"]::before { background: var(--ok); }
.status[data-status="coming-soon"]::before { background: #FBBF24; }
.status[data-status="rented"]::before { background: var(--danger); }
.car h2 { font-family: var(--f-hero); font-size: var(--fs-d3); font-weight: 800; line-height: .95; text-transform: uppercase; margin-top: 16px; }
.car .lede { margin-top: 12px; color: var(--ink-2); font-size: var(--fs-18); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 24px; border-top: 1px solid var(--line); }
.specs div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: var(--fs-13); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.specs dd { margin: 4px 0 0; font-size: var(--fs-20); font-weight: 700; line-height: 1.3; }
.ticks { list-style: none; padding: 0; margin-top: 24px; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; color: var(--ink-2); }
.ticks li::before { content: ""; width: 12px; height: 7px; margin-top: 8px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
@media (min-width: 1024px) { .car { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; } }

/* ---------- Requirements ---------- */
.groups { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.groups li { display: grid; gap: 8px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.groups h2 { font-family: var(--f-hero); font-size: var(--fs-d4); font-weight: 800; line-height: 1; text-transform: uppercase; }
.groups p { color: var(--ink-2); max-width: 62ch; }
@media (min-width: 900px) { .groups li { grid-template-columns: 320px 1fr; gap: 32px; align-items: baseline; } }
.bring { display: grid; gap: 28px; margin-top: 40px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.bring h3 { font-size: var(--fs-13); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.bring .no li::before { border: 0; width: 12px; height: 2px; margin-top: 12px; transform: none; background: var(--ink-3); }
@media (min-width: 760px) { .bring { grid-template-columns: 1fr 1fr; } }

/* ---------- About ---------- */
.story { display: grid; gap: 20px; max-width: 68ch; }
.story p { color: var(--ink-2); font-size: var(--fs-18); }
.story strong { color: var(--ink); }

/* ---------- Long text: privacy and terms ---------- */
.prose { max-width: 62ch; }
.prose h2 { font-family: var(--f-body); font-size: var(--fs-24); font-weight: 800; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; display: grid; gap: 8px; margin-top: 12px; }
.prose a { color: var(--accent-ink); }
.draft-note { margin-top: 16px; padding: 12px 16px; border: 1px dashed var(--line-strong); border-radius: var(--r); color: var(--ink-2); font-size: var(--fs-16); }

/* ==========================================================================
   Full application (apply.html). Markup and ids are unchanged from V2 so js/script.js
   keeps working: lanes, uploads, validation, the "not connected" notice.
   ========================================================================== */
.apply-layout { display: grid; gap: 32px; }
@media (min-width: 1024px) { .apply-layout { grid-template-columns: 340px minmax(0, 1fr); gap: 56px; align-items: start; } .apply-aside { position: sticky; top: 104px; } }
.apply-aside { display: grid; gap: 16px; }
.aside-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.aside-card h2, .aside-card h3 { font-size: var(--fs-13); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.aside-price { font-family: var(--f-hero); font-size: var(--fs-48); font-weight: 800; line-height: 1; }
.aside-price-tax:empty { display: none; }
.aside-price-tax { font-size: var(--fs-18); margin-left: 8px; color: var(--ink-2); }
.aside-price-sub { color: var(--ink-3); font-weight: 600; margin-top: 2px; }
.aside-list { list-style: none; padding: 0; margin-top: 16px; display: grid; gap: 12px; }
.aside-list li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; color: var(--ink-2); font-size: var(--fs-16); }
.aside-list svg { width: 18px; height: 18px; margin-top: 2px; color: var(--ok); }
.aside-subhead { margin-top: 20px; font-weight: 700; }
.addon-list, .faq-zones { list-style: none; padding: 0; margin-top: 8px; border-top: 1px solid var(--line); }
.addon-list li, .faq-zones li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-16); }
.addon-price { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.addon-name { color: var(--ink-2); }
.aside-fine { margin-top: 12px; font-size: var(--fs-13); color: var(--ink-3); }
.mk-bang { color: var(--danger); font-weight: 800; }

.application-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.application-banner { display: flex; justify-content: space-between; gap: 16px; padding: 24px 24px; border-bottom: 1px solid var(--line); }
.application-banner h2 { font-family: var(--f-body); font-size: var(--fs-24); font-weight: 800; line-height: 1.2; text-transform: none; letter-spacing: 0; }
.application-banner p { color: var(--ink-2); }
.online-badge { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: var(--fs-13); font-weight: 700; color: var(--ink-2); }
.online-badge svg { width: 10px; height: 10px; color: var(--ok); }
.application-form { padding: 24px; }
.form-grid { display: grid; gap: 28px; }
.form-step { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; border: 0; padding: 0; margin: 0; min-width: 0; }
.form-step > legend { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 16px; font-size: var(--fs-20); font-weight: 800; }
.step-badge { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-size: var(--fs-14); }
.form-field { grid-column: 1 / -1; display: grid; gap: 8px; align-content: start; }
.form-field.half { grid-column: span 1; }
@media (max-width: 520px) { .form-field.half { grid-column: 1 / -1; } }
.form-field > label, .app-choices legend { font-size: var(--fs-14); font-weight: 600; color: var(--ink-2); }
.req { color: var(--danger); margin-left: 2px; }
.form-field input[type="text"], .form-field input[type="email"], .form-field input[type="tel"], .form-field select {
  width: 100%; height: 48px; padding: 0 16px; font-size: var(--fs-16); color: var(--ink); background: var(--field);
  border: 1px solid var(--line-strong); border-radius: var(--r); transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
.form-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.form-field input::placeholder { color: #8A8D99; }
.form-field input:focus, .form-field select:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px rgba(124, 58, 237, .35); }
.error-msg { display: none; font-size: var(--fs-13); font-weight: 600; color: var(--danger); }
.form-field.invalid .error-msg { display: block; }
.form-field.invalid input, .form-field.invalid select, .form-field.invalid .upload-dropzone { border-color: var(--danger); }
.upload-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 96px; padding: 16px; border: 1px dashed var(--line-strong); border-radius: var(--r); background: var(--field); color: var(--ink-2); font-size: var(--fs-14); text-align: center; cursor: pointer; transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out); }
.upload-dropzone svg { width: 22px; height: 22px; }
.upload-dropzone.has-file { border-style: solid; border-color: var(--ok); color: var(--ink); }
.upload-input:focus-visible + .error-msg, .upload-input:focus-visible ~ * { outline: none; }
.form-field:has(.upload-input:focus-visible) .upload-dropzone { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .upload-dropzone:hover { border-color: var(--ink-3); } }
.app-choices { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.app-choices legend { width: 100%; margin-bottom: 8px; }
.app-choices label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--field); font-weight: 600; cursor: pointer; }
.app-choices label:has(input:checked) { border-color: var(--accent); background: rgba(124, 58, 237, .18); }
.app-choices input, .checkbox-field input { width: 18px; height: 18px; accent-color: var(--accent); }
.checkbox-field { grid-template-columns: 22px 1fr; column-gap: 12px; }
.checkbox-field > label { font-weight: 500; color: var(--ink-2); }
.checkbox-field .error-msg { grid-column: 2; }
.field-note { color: var(--ink-2); font-size: var(--fs-14); }
.form-actions { display: grid; gap: 16px; margin-top: 28px; }
.form-actions .trust { display: flex; }
.privacy-note, .form-note { font-size: var(--fs-13); color: var(--ink-3); }
.form-note { margin-top: 16px; }
.form-success { display: none; grid-template-columns: 24px 1fr; gap: 12px; margin-top: 16px; padding: 16px 16px; border: 1px solid var(--danger); border-radius: var(--r); background: rgba(248, 113, 113, .08); }
.form-success.visible { display: grid; }
.form-success svg { width: 22px; height: 22px; color: var(--danger); }
.form-success p { color: var(--ink-2); margin-top: 4px; }
.form-confirm { padding: 32px 24px; display: grid; gap: 12px; }
.form-confirm[hidden] { display: none; }
.form-confirm h3 { font-size: var(--fs-24); font-weight: 800; }
.form-confirm ol { padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); }
.confirm-ok { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--ok); color: #09090B; font-weight: 900; }
.confirm-fine { font-size: var(--fs-14); color: var(--ink-3); }

/* apply.html start mode: the short form sits beside the pricing card (Nov 25) */
.apply-lead-card h2 { font-size: var(--fs-24); margin-bottom: 4px; }

/* apply.html (Dec 1): on phones the form comes first. On the private link (body.apply-finish) the pricing
   card goes, so "What You'll Need" sits right above the uploads. The form column stops at a readable width. */
.apply-main { max-width: 640px; }
.apply-finish .apply-aside > .aside-card:first-child { display: none; }
@media (max-width: 1023px) {
  .apply-main { order: -1; }
  .apply-finish .apply-main { order: 0; }
  .apply-finish .apply-aside > .aside-card:last-child { display: none; }
}

/* Fleet (Dec 1): until real photos exist, the car's name set large on a lighter surface (depth by lightness,
   not shadow), instead of a camera icon. */
.car-plate { display: grid; align-content: end; gap: 4px; aspect-ratio: 4 / 3; padding: 32px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface-2, var(--surface)); overflow: hidden; }
.car-plate-make { font-family: var(--f-hero); font-weight: 800; font-size: var(--fs-24); line-height: 1; letter-spacing: .02em; text-transform: uppercase; color: var(--ink-2); }
.car-plate-model { font-family: var(--f-hero); font-weight: 800; font-size: var(--fs-d1); line-height: .85; letter-spacing: -.02em; text-transform: uppercase; color: var(--ink); }
.car-plate-note { margin-top: 16px; max-width: 34ch; font-size: var(--fs-14); line-height: 1.5; color: var(--ink-2); }
.car-next { margin-top: 24px; font-size: var(--fs-16); line-height: 1.5; color: var(--ink-2); }

/* Phones and tablets (Dec 1): never two "Reserve a car" buttons at once. When the bottom bar shows,
   the header button becomes "Call or text", so calling is one tap from anywhere. */
@media (max-width: 1023px) {
  body:has(.dock.show) .head-actions .btn-primary { display: none; }
  body:has(.dock.show) .head-call { display: inline-flex; }
}

/* Readability (Dec 2026, reservation flow Part F): helper and footer text 14px+, tap targets 44px+. */
.aside-card h2, .aside-card h3, .aside-fine, .privacy-note, .form-note, .fine,
.site-footer h2, .site-footer .legal { font-size: var(--fs-14); }
.site-footer li a { min-height: 44px; }
.site-footer .legal a { display: inline-block; padding-block: 13px; }
