/* RoutrexGo — single stylesheet, mobile first.
   Brand: Routrex Yellow #FFCC00, Routrex Black #0D0D0D, Asphalt #4A4A4A, white; Arial/Helvetica.
   Yellow is a fill colour only (buttons, highlights, badges) — never text on white (contrast). */

/* ---------- Tokens ---------- */
:root {
  --yellow: #FFCC00;
  --yellow-600: #F0BF00;
  --yellow-100: #FFF2BF;
  --yellow-50: #FFF9E0;
  --ink: #0D0D0D;
  --ink-2: #262626;
  --text: #4A4A4A;
  --muted: #6B6B6B;
  --line: #E8E8E5;
  --line-strong: #D6D6D2;
  --bg: #FFFFFF;
  --bg-soft: #F8F8F6;
  --dark: #0D0D0D;
  --dark-2: #191919;
  --dark-line: #2C2C2C;
  --dark-text: #BDBDBD;
  --danger: #C8102E;
  --danger-bg: #FDECEF;
  --success: #137A3E;

  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --pill: 999px;
  --shadow-sm: 0 1px 2px rgb(13 13 13 / 0.06);
  --shadow: 0 18px 40px -18px rgb(13 13 13 / 0.22), 0 2px 8px rgb(13 13 13 / 0.05);

  --container: 1180px;
  --gutter: 20px;
  --header-h: 64px;
  --section: clamp(64px, 9vw, 112px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 72px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: var(--font); font-size: 1rem; line-height: 1.6; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overflow-x: clip;
}
main { flex: 1; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.55rem + 3.4vw, 4rem); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 1.35rem + 1.9vw, 2.75rem); letter-spacing: -0.03em; }
h3 { font-size: 1.125rem; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
mark { color: inherit; background: linear-gradient(transparent 60%, var(--yellow) 60%, var(--yellow) 90%, transparent 90%); padding: 0 0.06em; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .section-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--yellow); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.narrow { max-width: 760px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--yellow); color: var(--ink); padding: 12px 18px; border-radius: var(--pill); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* Feature switches (config.js adds html.f-*): [data-on] shows only when the feature is live, [data-off] only when not */
html:not(.f-tracking) [data-on="tracking"], .f-tracking [data-off="tracking"],
html:not(.f-logins) [data-on="logins"], .f-logins [data-off="logins"],
html:not(.f-contact-api) [data-on="contact-api"], .f-contact-api [data-off="contact-api"] { display: none !important; }

.icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 18px; height: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border: 1.5px solid transparent; border-radius: var(--pill);
  font-weight: 700; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.18s, border-color 0.18s, color 0.18s, transform 0.18s var(--ease);
}
.btn .icon { width: 20px; height: 20px; transition: transform 0.18s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: var(--yellow-600); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2a2a; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-light { border-color: rgb(255 255 255 / 0.3); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
@media (hover: hover) { .btn:hover .icon-arrow { transform: translateX(3px); } }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; color: var(--ink); text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform 0.18s var(--ease); }
.link-arrow:hover { text-decoration: underline; }
@media (hover: hover) { .link-arrow:hover .icon { transform: translateX(3px); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; height: var(--header-h);
  background: rgb(255 255 255 / 0.9); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled, .menu-open .site-header { border-bottom-color: var(--line); }
.header-row { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; }
.brand img { width: 136px; }
@media (min-width: 768px) { .brand img { width: 152px; } }
.nav-desktop, .header-actions { display: none; }
.nav-desktop ul { display: flex; gap: 4px; list-style: none; }
.nav-desktop a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: var(--pill);
  font-size: 0.9375rem; font-weight: 600; color: var(--ink-2); text-decoration: none; transition: background-color 0.15s;
}
.nav-desktop a:hover { background: var(--bg-soft); color: var(--ink); }
.nav-desktop a[aria-current="page"] { background: var(--yellow-50); color: var(--ink); }
.header-actions { align-items: center; gap: 8px; }
.menu-toggle {
  width: 44px; height: 44px; display: inline-grid; place-content: center; gap: 5px; margin-right: -8px;
  border: 0; background: none; border-radius: var(--pill); cursor: pointer;
}
.menu-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.2s var(--ease), opacity 0.2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1080px) {
  .nav-desktop { display: block; }
  .header-actions { display: flex; margin-left: 8px; }
  .menu-toggle, .mobile-menu { display: none !important; }
  .brand { margin-right: 16px; }
  .nav-desktop { margin-right: auto; }
}

/* Dropdowns (<details>) */
.dropdown { position: relative; }
.dropdown > summary { list-style: none; }
.dropdown > summary::-webkit-details-marker { display: none; }
.dropdown > summary .icon-chevron { width: 16px; height: 16px; transition: transform 0.2s; }
.dropdown[open] > summary .icon-chevron { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); z-index: 70;
}
.menu-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm);
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.9375rem;
}
.menu-item:hover { background: var(--bg-soft); }
.menu-item small { display: block; font-weight: 400; color: var(--muted); font-size: 0.8125rem; }
.menu-item .icon { color: var(--muted); }
.btn-lang { min-height: 40px; padding: 0 12px; gap: 6px; border-radius: var(--pill); border: 0; background: none; font-weight: 700; font-size: 0.875rem; color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; }
.btn-lang:hover { background: var(--bg-soft); }
.btn-lang .icon { width: 18px; height: 18px; }

/* Mobile menu sheet */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 55; overflow-y: auto; overscroll-behavior: contain;
  background: #fff; padding: 8px 0 calc(32px + env(safe-area-inset-bottom));
}
.mobile-menu[hidden] { display: none; }
.mobile-nav { list-style: none; }
.mobile-nav a {
  display: flex; align-items: center; justify-content: space-between; min-height: 60px;
  border-bottom: 1px solid var(--line); font-size: 1.25rem; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
}
.mobile-nav a .icon { color: var(--muted); width: 20px; height: 20px; }
.mobile-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--yellow); padding-left: 14px; }
.mobile-block { margin-top: 28px; display: grid; gap: 12px; }
.mobile-label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.mobile-logins { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lang-pills { display: flex; gap: 8px; }
.lang-pills a { min-width: 52px; min-height: 44px; display: inline-grid; place-content: center; border: 1.5px solid var(--line-strong); border-radius: var(--pill); font-weight: 700; font-size: 0.875rem; text-decoration: none; color: var(--ink); }
.lang-pills a[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.menu-open { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu:not([hidden]) { animation: sheet-in 0.22s var(--ease); }
  @keyframes sheet-in { from { opacity: 0; transform: translateY(-8px); } }
}

/* ---------- Tracking form ---------- */
.track-form { display: flex; gap: 8px; }
.track-field { position: relative; flex: 1; min-width: 0; }
.track-field .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 20px; height: 20px; pointer-events: none; }
.track-field input {
  width: 100%; height: 52px; padding: 0 14px 0 44px; font-size: 1rem; /* >=16px: no iOS zoom */
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.track-field input::placeholder { color: #8A8A8A; }
.track-field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--yellow-100); }
.track-field input[aria-invalid="true"] { border-color: var(--danger); }
.track-form .btn { min-height: 52px; border-radius: var(--radius-sm); }
.track-error { display: flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--danger); font-size: 0.875rem; font-weight: 600; }
.track-error .icon { width: 16px; height: 16px; }
.track-error[hidden] { display: none; }
.notice { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 16px; border-radius: var(--radius); background: var(--yellow-50); border: 1px solid var(--yellow-100); }
.notice .badge-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--yellow); border-color: var(--yellow); }
.notice strong { display: block; color: var(--ink); margin-bottom: 2px; }
.notice p { font-size: 0.9375rem; }
.notice p a { color: var(--ink); font-weight: 600; }
.notice .btn { margin-top: 14px; }
.track-card .notice { margin-top: 16px; }
.track-panel .notice { padding: 22px; }
.track-lg .track-field input { height: 60px; font-size: 1.125rem; padding-left: 48px; }
.track-lg .btn { min-height: 60px; padding: 0 28px; }
@media (max-width: 479px) {
  .track-lg { flex-direction: column; }
  .track-lg .btn { width: 100%; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-soft { background: var(--bg-soft); }
.section-flush { padding-top: 0; }
.section-dark { background: var(--dark); color: var(--dark-text); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 700px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
h1 + .lead, h2 + .lead, .section-head h2 + p { margin-top: 16px; }
.lead { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.55; color: var(--text); }
.section-dark .lead { color: var(--dark-text); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px var(--yellow-100); }
.section-dark .eyebrow { color: #fff; }
.section-dark .eyebrow::before { box-shadow: 0 0 0 4px rgb(255 204 0 / 0.2); }

/* Grids */
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid { gap: 20px; } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Cards and icon badges */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease); }
.card h3 { margin: 18px 0 8px; }
.card p { font-size: 0.9688rem; }
@media (hover: hover) { .card-hover:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); } }
/* Compact cards on phones: icon beside the text instead of above it */
@media (max-width: 639px) {
  .cards-compact .card { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 18px; }
  .cards-compact .card .badge-icon { grid-row: 1 / span 3; }
  .cards-compact .card h3 { margin: 2px 0 4px; }
  .cards-compact .card p { margin-bottom: 0; }
  .cards-compact .service-card .tag { grid-column: 2; justify-self: start; margin-top: 12px; }
}
.badge-icon { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--yellow-50); color: var(--ink); border: 1px solid var(--yellow-100); }
.section-dark .badge-icon, .badge-dark { background: var(--dark-2); border-color: var(--dark-line); color: var(--yellow); }
.badge-yellow { background: var(--yellow); border-color: var(--yellow); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--pill); background: var(--bg-soft); border: 1px solid var(--line); font-size: 0.8125rem; font-weight: 600; color: var(--ink-2); }

/* Check list */
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--yellow); color: var(--ink); stroke-width: 2.6; margin-top: 1px; }

/* Brand route stripes: three slanted bars + three growing dots (brand manual "Pattern") */
.stripes { position: absolute; pointer-events: none; width: 220px; height: 220px; }
.stripes i { position: absolute; bottom: 0; width: 18px; height: 100%; border-radius: 4px; background: currentColor; opacity: 0.1; transform: skewX(-24deg); transform-origin: bottom; }
.stripes i:nth-child(1) { left: 60px; }
.stripes i:nth-child(2) { left: 100px; }
.stripes i:nth-child(3) { left: 140px; opacity: 1; color: var(--yellow); }
.stripes b { position: absolute; border-radius: 50%; background: currentColor; opacity: 0.14; }
.stripes b:nth-of-type(1) { width: 10px; height: 10px; left: 150px; top: -26px; }
.stripes b:nth-of-type(2) { width: 15px; height: 15px; left: 186px; top: -36px; }
.stripes b:nth-of-type(3) { width: 21px; height: 21px; left: 226px; top: -48px; opacity: 1; color: var(--yellow); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(36px, 7vw, 96px) clamp(56px, 8vw, 112px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(520px 380px at 85% 20%, rgb(255 204 0 / 0.22), transparent 70%),
    radial-gradient(420px 320px at 0% 100%, rgb(255 204 0 / 0.08), transparent 70%);
}
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 768px) { .hero h1 { max-width: 13ch; } }
.hero .lead { margin-top: 20px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 28px; font-size: 0.9375rem; font-weight: 600; color: var(--ink-2); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { width: 18px; height: 18px; color: var(--ink); stroke-width: 2.4; }
@media (max-width: 479px) { .hero-actions .btn { flex: 1 1 100%; } }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 56px; } }

.hero-visual { position: relative; }
.hero-visual .stripes { right: -40px; top: -10px; color: var(--ink); }
@media (max-width: 1023px) { .hero-visual .stripes { display: none; } }

/* Tracking card (hero) */
.track-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(20px, 4vw, 28px); max-width: 520px; margin-inline: auto; }
.track-card h2 { font-size: 1.25rem; letter-spacing: -0.015em; }
.track-card .track-hint { margin: 6px 0 16px; font-size: 0.9375rem; color: var(--muted); }
.track-demo { margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--line-strong); }
.track-demo-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.track-demo-head strong { color: var(--ink); font-size: 0.9375rem; }
.timeline { list-style: none; display: grid; gap: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: start; padding-bottom: 18px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 13px; top: 26px; bottom: 2px; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); border: 2px solid var(--line-strong); }
.timeline .dot .icon { width: 14px; height: 14px; stroke-width: 3; }
.timeline .done .dot { background: var(--yellow); border-color: var(--yellow); }
.timeline .done::before { background: var(--yellow); }
.timeline .now .dot { background: #fff; border-color: var(--ink); }
.timeline .now .dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .timeline .now .dot { animation: pulse 2s infinite; }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(13 13 13 / 0.25); } 70% { box-shadow: 0 0 0 10px rgb(13 13 13 / 0); } 100% { box-shadow: 0 0 0 0 rgb(13 13 13 / 0); } }
}
.timeline strong { display: block; color: var(--ink); font-size: 0.9375rem; line-height: 1.3; margin-top: 3px; }
.timeline span { display: block; font-size: 0.8125rem; color: var(--muted); }
.timeline time { font-size: 0.8125rem; color: var(--muted); font-variant-numeric: tabular-nums; margin-top: 4px; }
.timeline .todo strong { color: var(--muted); }

/* ---------- Benefits strip ---------- */
.benefits { padding-block: 8px clamp(56px, 7vw, 88px); }
.benefit { display: flex; gap: 16px; align-items: flex-start; }
.benefit h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.benefit p { font-size: 0.9375rem; }
.benefits .grid { border-top: 1px solid var(--line); padding-top: clamp(32px, 4vw, 48px); gap: 28px; }

/* ---------- Services ---------- */
.service-card { display: flex; flex-direction: column; }
.service-card .tag { margin-top: auto; align-self: flex-start; }
.service-card p { margin-bottom: 20px; }

/* ---------- Steps (route line) ---------- */
.steps { list-style: none; display: grid; gap: 0; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding-bottom: 36px; }
.step:last-child { padding-bottom: 0; }
.step::before { content: ""; position: absolute; left: 27px; top: 60px; bottom: 6px; border-left: 2px dashed var(--line-strong); }
.step:last-child::before { display: none; }
.step-num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 1.25rem; }
.step h3 { margin: 6px 0 6px; font-size: 1.25rem; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .step { grid-template-columns: 1fr; gap: 18px; padding: 0; }
  .step::before { left: 72px; right: -24px; top: 28px; bottom: auto; border-left: 0; border-top: 2px dashed var(--line-strong); }
  .step:last-child::before { display: none; }
  .step h3 { margin-top: 6px; }
}

/* ---------- Split layout ---------- */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split-reverse > :first-child { order: 2; } }
.feature-list { list-style: none; display: grid; gap: 22px; }
.feature-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.feature-list h3 { font-size: 1.0625rem; margin: 2px 0 4px; }
.feature-list p { font-size: 0.9688rem; }

/* Phone mockup (decorative, pure CSS) */
.phone {
  width: min(300px, 82vw); margin-inline: auto; padding: 12px; border-radius: 44px; background: var(--ink);
  box-shadow: 0 40px 80px -30px rgb(13 13 13 / 0.45), inset 0 0 0 2px #333;
}
.phone-screen { border-radius: 33px; overflow: hidden; background: #fff; }
.phone-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px 10px; font-size: 0.75rem; font-weight: 700; color: var(--ink); }
.phone-top img { width: 92px; }
.phone-map { position: relative; height: 210px; background: #EFEFEC; }
.phone-map svg { width: 100%; height: 100%; }
.phone-body { padding: 16px; display: grid; gap: 12px; }
.phone-status { display: flex; align-items: center; justify-content: space-between; }
.phone-status strong { color: var(--ink); font-size: 1rem; }
.phone-eta { font-size: 0.8125rem; color: var(--muted); }
.phone-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--pill); background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 0.75rem; }
.phone-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.phone-actions span { display: grid; justify-items: center; gap: 6px; padding: 10px 4px; border-radius: 12px; background: var(--bg-soft); font-size: 0.6875rem; font-weight: 600; color: var(--ink-2); text-align: center; line-height: 1.2; }
.phone-actions .icon { width: 20px; height: 20px; color: var(--ink); }
.phone-proof { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); font-size: 0.75rem; color: var(--ink-2); }
.phone-proof .icon { width: 18px; height: 18px; }

/* ---------- Business (dark) ---------- */
.business-points { display: grid; gap: 16px; margin-top: 32px; }
.business-point { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--dark-2); border: 1px solid var(--dark-line); }
.business-point h3 { margin: 2px 0 6px; font-size: 1.0625rem; }
.business-point p { font-size: 0.9375rem; }
.business-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 479px) { .business-actions .btn { flex: 1 1 100%; } }
.code-card { border-radius: var(--radius-lg); background: var(--dark-2); border: 1px solid var(--dark-line); overflow: hidden; box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.8); }
.code-head { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--dark-line); font-size: 0.8125rem; color: var(--dark-text); }
.code-head i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3a; }
.code-head span { margin-left: 8px; }
.code-card pre { margin: 0; padding: 20px 18px 24px; overflow-x: auto; font: 0.8438rem/1.75 var(--mono); color: #EDEDED; }
.code-card .k { color: #9CC8FF; }
.code-card .s { color: var(--yellow); }
.code-card .b { color: #8FE3A8; }
.code-card .c { color: #8A8A8A; }

/* ---------- Highlight (yellow) card ---------- */
.highlight { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--yellow); color: var(--ink); padding: clamp(28px, 5vw, 56px); display: grid; gap: 32px; }
.highlight h2 { color: var(--ink); }
.highlight p { color: var(--ink-2); }
.highlight .stripes { right: -90px; bottom: -120px; color: var(--ink); }
.highlight .stripes i:nth-child(3), .highlight .stripes b:nth-of-type(3) { color: var(--ink); opacity: 0.18; }
.highlight-points { list-style: none; display: grid; gap: 12px; position: relative; z-index: 1; }
.highlight-points li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--radius-sm); background: rgb(255 255 255 / 0.55); font-weight: 700; color: var(--ink); }
.highlight-points .icon { width: 22px; height: 22px; }
.highlight-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 1024px) { .highlight { grid-template-columns: 1.2fr 1fr; align-items: center; gap: 56px; } }
@media (max-width: 1023px) { .highlight .stripes { display: none; } }
@media (max-width: 479px) { .highlight-actions .btn { flex: 1 1 100%; } }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 32px; }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: 0.8fr 1.2fr; gap: 72px; } }
.faq-side p { margin-top: 16px; }
.faq-side .link-arrow { margin-top: 20px; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.0625rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--bg-soft); transition: transform 0.2s var(--ease), background-color 0.2s; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--yellow); }
.faq-answer { padding: 0 40px 22px 0; }
.faq-answer a { color: var(--ink); font-weight: 600; }

/* ---------- Final CTA (dark card) ---------- */
.cta-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--dark); color: var(--dark-text); padding: clamp(32px, 6vw, 72px); text-align: center; }
.cta-card h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.cta-card p, .cta-card .lead { max-width: 36em; margin: 16px auto 0; color: var(--dark-text); }
.cta-card .hero-actions { justify-content: center; }
.cta-card .stripes { left: -30px; bottom: -60px; color: #fff; }
@media (max-width: 767px) { .cta-card .stripes { display: none; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 88px) clamp(40px, 6vw, 72px); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px 320px at 90% 0%, rgb(255 204 0 / 0.2), transparent 70%); }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { margin-top: 20px; max-width: 36em; }
.page-hero.center { text-align: center; }
.page-hero.center h1, .page-hero.center .lead { margin-inline: auto; }
.track-panel { max-width: 640px; margin: 36px auto 0; text-align: left; }
.track-panel .track-help { margin-top: 14px; font-size: 0.9375rem; color: var(--muted); text-align: center; }

/* Driver hero card */
.pay-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 28px; max-width: 440px; margin-inline: auto; display: grid; gap: 18px; }
.pay-big { display: flex; align-items: baseline; gap: 10px; color: var(--ink); }
.pay-big strong { font-size: 4rem; line-height: 1; letter-spacing: -0.04em; }
.pay-big span { font-weight: 700; font-size: 1.125rem; }
.pay-card hr { border: 0; border-top: 1px dashed var(--line-strong); margin: 0; }

/* Requirements box */
.box { border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; padding: clamp(24px, 4vw, 36px); }
.box h3 { font-size: 1.25rem; margin-bottom: 20px; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: 40px; padding-bottom: var(--section); }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; } }
.contact-options { list-style: none; display: grid; gap: 12px; margin-top: 32px; }
.contact-option { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; text-decoration: none; }
a.contact-option:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.contact-option strong { display: block; color: var(--ink); }
.contact-option address { font-style: normal; font-size: 0.9375rem; }
.contact-option span { font-size: 0.9375rem; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(20px, 4vw, 36px); }
.form-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card form > p { color: var(--muted); font-size: 0.9375rem; margin-bottom: 24px; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; margin-bottom: 6px; font-weight: 700; font-size: 0.9375rem; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230D0D0D' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--yellow-100); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { display: flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--danger); font-size: 0.875rem; font-weight: 600; }
.field-error .icon { width: 16px; height: 16px; }
.field-error[hidden] { display: none; }
.phone-row { display: grid; grid-template-columns: 116px 1fr; gap: 8px; }
.field .consent { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; margin: 0; font-size: 0.9375rem; font-weight: 400; color: var(--text); cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); }
.consent a { color: var(--ink); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--danger-bg); color: var(--danger); font-weight: 600; font-size: 0.9375rem; }
.form-alert[hidden] { display: none; }
.form-note { font-size: 0.8125rem; color: var(--muted); text-align: center; }
.form-success { text-align: center; padding: 24px 0; display: grid; justify-items: center; gap: 12px; }
.form-success[hidden] { display: none; }
.mail-copy { width: 100%; display: grid; gap: 10px; margin-top: 8px; text-align: left; }
.mail-copy textarea { width: 100%; min-height: 168px; padding: 12px 14px; font: 0.875rem/1.5 var(--mono); color: var(--ink); background: var(--bg-soft); border: 1px solid var(--line-strong); border-radius: var(--radius-sm); resize: vertical; }
.mail-copy-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.mail-copy-actions a { color: var(--ink); font-weight: 700; }
.form-success .badge-icon { width: 64px; height: 64px; border-radius: 50%; }
.form-success .icon { width: 30px; height: 30px; stroke-width: 2.4; }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.spinner { width: 18px; height: 18px; border: 2px solid rgb(13 13 13 / 0.25); border-top-color: var(--ink); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.mtcaptcha { min-height: 0; }

/* ---------- Prose (legal) ---------- */
.prose { padding-bottom: var(--section); }
.prose h2 { font-size: 1.375rem; margin: 40px 0 12px; letter-spacing: -0.015em; }
.prose p, .prose li { font-size: 1.0313rem; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 22px; display: grid; gap: 8px; margin-top: 12px; }
.prose a { color: var(--ink); font-weight: 600; }
.prose .updated { color: var(--muted); font-size: 0.9375rem; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-block: clamp(72px, 14vw, 160px); }
.notfound .code { font-size: clamp(5rem, 18vw, 9rem); font-weight: 700; line-height: 1; letter-spacing: -0.05em; color: var(--ink); }
.notfound .code span { background: var(--yellow); border-radius: 0.2em; padding: 0 0.08em; }
.notfound h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-top: 20px; }
.notfound p { margin: 12px auto 0; max-width: 32em; }
.notfound .hero-actions { justify-content: center; }
.notfound .en { margin-top: 32px; font-size: 0.9375rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--dark-text); font-size: 0.9375rem; }
.footer-top { display: grid; gap: 40px; padding-block: 56px 40px; }
.footer-brand img { width: 220px; margin-bottom: 18px; }
.footer-brand p { max-width: 30em; }
.footer-col h2 { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 0; }
.footer-col a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; padding-block: 24px; border-top: 1px solid var(--dark-line); font-size: 0.875rem; }
.footer-bottom .lang-pills a { border-color: var(--dark-line); color: var(--dark-text); min-height: 44px; min-width: 52px; }
.footer-bottom .lang-pills a[aria-current="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.complaints { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--dark-line); border-radius: var(--pill); color: #fff; text-decoration: none; font-weight: 600; }
.complaints:hover { border-color: var(--yellow); }
.complaints .icon { width: 18px; height: 18px; color: var(--yellow); }
.footer-company { display: grid; gap: 4px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
@media (min-width: 360px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 20px; } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 640px) { .footer-top { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; } .footer-brand { grid-column: auto; } }

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgb(255 255 255 / 0.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgb(13 13 13 / 0.18);
  transform: translateY(110%); transition: transform 0.25s var(--ease); visibility: hidden;
}
.action-bar.is-visible { transform: none; visibility: visible; }
.action-bar .btn { flex: 1; min-height: 50px; }
.has-action-bar .site-footer { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
@media (min-width: 768px) { .action-bar { display: none; } .has-action-bar .site-footer { padding-bottom: 0; } }

/* ---------- Reveal on scroll (only when JS + motion allowed) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
