/* =========================================================
   Респект Такси — main page prototype
   ========================================================= */

:root{
  --accent:#FFD400;
  --accent-ink:#0A0A0A;       /* readable on accent */
  --bg:#F6F4EF;
  --surface:#FFFFFF;
  --surface-2:#EFECE4;
  --ink:#0A0A0A;
  --ink-2:#3A3A3A;
  --ink-3:#6B6B6B;
  --line:#E4E0D6;
  --line-strong:#0A0A0A;

  --r-xs:6px;
  --r-sm:10px;
  --r-md:16px;
  --r-lg:24px;
  --r-xl:36px;

  --pad-section: clamp(72px, 9vw, 140px);
  --pad-x: clamp(20px, 4vw, 64px);
  --maxw: 1320px;

  --f-display: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --f-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

[data-theme="dark"]{
  --bg:#0B0B0B;
  --surface:#141414;
  --surface-2:#1B1B1B;
  --ink:#F4F2EC;
  --ink-2:#C9C5BA;
  --ink-3:#8A867C;
  --line:#262626;
  --line-strong:#F4F2EC;
}

[data-radius="sharp"]{
  --r-xs:0px; --r-sm:0px; --r-md:0px; --r-lg:0px; --r-xl:0px;
}
[data-radius="soft"]{
  --r-xs:6px; --r-sm:10px; --r-md:16px; --r-lg:24px; --r-xl:36px;
}
[data-radius="round"]{
  --r-xs:10px; --r-sm:18px; --r-md:24px; --r-lg:36px; --r-xl:56px;
}

[data-density="compact"]{ --pad-section: clamp(48px, 6vw, 96px); }
[data-density="comfy"]  { --pad-section: clamp(96px, 12vw, 180px); }

*,*::before,*::after{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  background:var(--bg);
  color:var(--ink);
  font-family:var(--f-sans);
  font-size:16px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
button{ font-family:inherit; }
a{ color:inherit; text-decoration:none; }

.container{
  max-width:var(--maxw);
  margin-inline:auto;
  padding-inline:var(--pad-x);
}

.grain{
  pointer-events:none;
  position:fixed; inset:0; z-index:9;
  opacity:.07;
  mix-blend-mode:multiply;
  background-image:
    radial-gradient(rgba(0,0,0,.55) 1px, transparent 1px),
    radial-gradient(rgba(0,0,0,.35) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 2px;
}
[data-theme="dark"] .grain{ mix-blend-mode:screen; opacity:.05; }
body[data-grain="off"] .grain{ display:none; }

/* ===== HEADER ============================================= */
.hdr{
  position:sticky; top:0; z-index:50;
  background:color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom:1px solid var(--line);
}
.hdr-inner{
  display:flex; align-items:center; justify-content:space-between;
  height:72px;
}
.brand{ display:flex; align-items:center; gap:10px; font-family:var(--f-display); font-weight:700; }
.brand-mark{
  width:36px; height:36px; border-radius:var(--r-sm);
  background:var(--accent); color:var(--accent-ink);
  display:grid; place-items:center; font-weight:800;
  font-family:var(--f-display); font-size:18px;
  box-shadow: 2px 2px 0 var(--ink);
}
[data-theme="dark"] .brand-mark{ box-shadow: 2px 2px 0 var(--line); }
.brand-name{ font-size:15px; letter-spacing:.01em; }

.nav{ display:flex; align-items:center; gap:28px; }
.nav a{ color:var(--ink-2); font-size:14px; font-weight:500; }
.nav a:hover{ color:var(--ink); }
.hdr-cta{ display:flex; align-items:center; gap:12px; }
.hdr-phone{ display:flex; align-items:center; gap:8px; font-weight:600; font-size:14px; }
.hdr-phone .dot{ width:8px; height:8px; border-radius:50%; background:#22C55E; box-shadow:0 0 0 4px color-mix(in oklab, #22C55E 25%, transparent); }
.menu-toggle{
  display:none;
  width:42px;
  height:42px;
  border:1px solid var(--ink);
  border-radius:var(--r-sm);
  background:var(--surface);
  color:var(--ink);
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
  box-shadow:2px 2px 0 var(--ink);
}
.menu-toggle span{
  width:18px;
  height:2px;
  border-radius:999px;
  background:currentColor;
  transition:transform .18s ease, opacity .18s ease;
}
.menu-toggle.is-open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2){ opacity:0; }
.menu-toggle.is-open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
.mobile-menu{
  position:absolute;
  top:100%;
  left:0;
  right:0;
  z-index:45;
  background:color-mix(in oklab, var(--bg) 96%, white 4%);
  border-bottom:1px solid var(--line);
  box-shadow:0 18px 40px rgba(10,10,10,.12);
}
.mobile-menu-inner{
  display:grid;
  gap:8px;
  padding-top:14px;
  padding-bottom:18px;
}
.mobile-menu a{
  display:flex;
  align-items:center;
  min-height:46px;
  padding:0 14px;
  border-radius:var(--r-sm);
  background:var(--surface);
  border:1px solid var(--line);
  color:var(--ink);
  font-weight:700;
}
.mobile-menu a:hover{
  border-color:var(--ink);
}
.mobile-menu .mobile-menu-cta{
  justify-content:center;
  background:var(--accent);
  color:var(--accent-ink);
  border-color:transparent;
}

/* ===== BUTTONS =========================================== */
.btn{
  --bh:48px;
  display:inline-flex; align-items:center; gap:10px;
  height:var(--bh); padding:0 20px;
  border-radius:var(--r-sm);
  font-weight:600; font-size:15px;
  border:1px solid transparent;
  cursor:pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space:nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{
  background:var(--accent); color:var(--accent-ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.btn-primary:hover{ transform: translate(-1px,-1px); box-shadow:4px 4px 0 var(--ink); }
.btn-primary:active{ transform: translate(1px,1px); box-shadow:1px 1px 0 var(--ink); }
[data-theme="dark"] .btn-primary{ box-shadow:3px 3px 0 var(--line-strong); }

.btn-ghost{
  background:transparent; color:var(--ink); border-color:var(--ink);
}
.btn-ghost:hover{ background:var(--ink); color:var(--bg); }

.btn-dark{
  background:var(--ink); color:var(--bg);
}
.btn-dark:hover{ background:var(--ink-2); }

.btn-sm{ --bh:38px; padding:0 14px; font-size:13.5px; }
.btn-lg{ --bh:56px; padding:0 26px; font-size:16px; }

/* ===== HERO =============================================== */
.hero{
  position:relative;
  padding-top: clamp(40px, 6vw, 96px);
  padding-bottom: var(--pad-section);
  overflow:hidden;
}
.hero-grid{
  display:grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 4vw, 64px);
  align-items:end;
}
.hero[data-layout="stacked"] .hero-grid{ grid-template-columns:1fr; }

.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--f-mono); font-size:12px;
  text-transform:uppercase; letter-spacing:.14em;
  color:var(--ink-2);
  padding:8px 14px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--surface);
}
.eyebrow .pill-dot{ width:6px; height:6px; border-radius:50%; background:var(--accent); }

.h-display{
  font-family:var(--f-display);
  font-weight:700;
  font-size: clamp(46px, 7.4vw, 112px);
  line-height: .94;
  letter-spacing: -0.025em;
  margin: 20px 0 0;
  text-wrap: balance;
}
.h-display .accent-block{
  display:inline-block;
  background:var(--accent); color:var(--accent-ink);
  padding: 0 .18em .04em;
  border-radius: var(--r-xs);
  transform: rotate(-1deg);
  box-shadow: 4px 4px 0 var(--ink);
}
[data-theme="dark"] .h-display .accent-block{ box-shadow: 4px 4px 0 var(--line-strong); }

.h-sub{
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--ink-2);
  margin: 24px 0 0;
  max-width: 52ch;
  text-wrap:pretty;
}
.hero-ctas{ display:flex; gap:12px; margin-top:32px; flex-wrap:wrap; }

.hero-visual{
  position:relative;
  aspect-ratio: 5/6;
  border-radius: var(--r-lg);
  overflow:hidden;
  background:
    radial-gradient(120% 80% at 20% 10%, color-mix(in oklab, var(--accent) 50%, transparent) 0%, transparent 60%),
    linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
  border:1px solid var(--line);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-end;
  padding:64px 20px 20px;
}

/* Inline SVG taxi illustration sits inside .hero-visual */
.hero-visual svg.taxi-illus{
  width:88%;
  height:auto;
  margin-bottom:14px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.18));
}

.hero-stamp{
  position:absolute; top:20px; left:20px;
  font-family:var(--f-mono); font-size:11px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--ink-2);
  display:flex; align-items:center; gap:8px;
}
.hero-stamp::before{ content:""; width:24px; height:1px; background:var(--ink-3); }

.hero-meta{
  background:var(--ink); color:var(--bg);
  padding: 14px 18px;
  border-radius: var(--r-sm);
  font-size:12.5px;
  display:flex; align-items:center; gap:10px;
  font-family:var(--f-mono); letter-spacing:.04em;
  align-self:flex-end;
  max-width:100%;
  min-height:46px;
  white-space:nowrap;
  box-shadow:0 14px 28px rgba(0,0,0,.18);
}
.hero-meta .live-dot{ width:8px; height:8px; border-radius:50%; background:#22C55E; box-shadow:0 0 0 4px rgba(34,197,94,.2); animation: pulse 2s ease-in-out infinite; }
.driver-count{
  display:inline-block;
  min-width:5ch;
  color:var(--surface);
  font-variant-numeric: tabular-nums;
}
@keyframes pulse{ 0%,100%{opacity:1} 50%{opacity:.55} }

/* ===== STATS STRIP ====================================== */
.stats{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:var(--surface);
}
.stats-grid{
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap:0;
}
.stat{
  padding: 36px var(--pad-x);
  display:flex; flex-direction:column; gap:6px;
  border-left:1px solid var(--line);
}
.stat:first-child{ border-left:0; }
.stat-num{
  font-family:var(--f-display);
  font-weight:700;
  font-size: clamp(28px, 3.2vw, 44px);
  letter-spacing:-.02em;
  line-height:1;
}
.stat-num .accent{ color:var(--accent-ink); background:var(--accent); padding:0 .16em; border-radius: var(--r-xs); }
.stat-lbl{ color:var(--ink-3); font-size:14px; }

/* ===== SECTION HEADERS ================================== */
.section{ padding-block: var(--pad-section); }
.section-head{ display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom: clamp(32px, 4vw, 64px); flex-wrap:wrap; }
.section-kicker{
  font-family:var(--f-mono); font-size:12px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--ink-3); display:flex; align-items:center; gap:10px;
}
.section-kicker .num{
  width:28px; height:28px; border-radius:50%;
  display:grid; place-items:center; font-size:11px;
  background:var(--ink); color:var(--bg);
  font-family:var(--f-display); font-weight:600;
}
.section-title{
  font-family:var(--f-display);
  font-weight:700;
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1;
  letter-spacing:-.025em;
  margin: 16px 0 0;
  max-width: 18ch;
  text-wrap:balance;
}

/* ===== WHY US — featured cards ========================== */
.why-grid{
  display:grid; grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}

.why-card{
  position:relative;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  min-height: 360px;
  display:flex; flex-direction:column; justify-content:space-between; gap:24px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
  overflow:hidden;
}
.why-card:hover{ transform: translateY(-4px); border-color: var(--ink); }
.why-card.is-feature{
  background:var(--ink); color:var(--bg);
  border-color: var(--ink);
}
.why-card.is-feature .why-num{ color:var(--accent); }
.why-card .why-num{
  font-family:var(--f-display); font-weight:700;
  font-size:14px; color:var(--ink-3);
  display:flex; align-items:center; gap:8px;
}
.why-card .why-num::after{
  content:""; flex:1; height:1px; background: currentColor; opacity:.25;
}
.why-card h3{
  font-family:var(--f-display); font-weight:600;
  font-size: clamp(24px, 2.2vw, 32px); line-height:1.05;
  letter-spacing:-.015em; margin:0;
}
.why-card p{ margin:0; font-size:15px; color:var(--ink-2); }
.why-card.is-feature p{ color:#C9C5BA; }

.why-card.is-feature .why-visual{
  margin-top: auto; align-self:flex-end;
}
.why-glyph{
  position:absolute; right:-30px; bottom:-30px; width:200px; height:200px;
  opacity:.08; color:currentColor;
}
.why-card.is-feature .why-glyph{ color:var(--accent); opacity:.9; right:-40px; bottom:-40px; width:240px; height:240px; }

.why-meta{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--f-mono); font-size:11.5px; letter-spacing:.14em; text-transform:uppercase;
  color: inherit; opacity:.7;
}
.why-meta .dot{ width:6px; height:6px; border-radius:50%; background: var(--accent); }

/* ===== STEPS — Boarding pass style ====================== */
.steps-wrap{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius: var(--r-lg);
  overflow:hidden;
}
.steps-grid{
  display:grid; grid-template-columns: repeat(3, 1fr);
}
.step{
  position:relative;
  padding: 36px 32px;
  border-left:1px dashed var(--line);
  display:flex; flex-direction:column; gap:18px;
  min-height: 260px;
}
.step:first-child{ border-left:0; }
.step::before{
  content:""; position:absolute; left:-9px; top:50%; width:18px; height:18px; border-radius:50%;
  background:var(--bg); border:1px dashed var(--line);
  transform: translateY(-50%);
}
.step:first-child::before{ display:none; }

.step-num{
  font-family:var(--f-display); font-weight:700;
  font-size: 88px; line-height:.85; letter-spacing:-.04em;
  color:var(--ink);
  -webkit-text-stroke: 1.5px var(--ink);
  color:transparent;
  margin:0;
}
.step h3{ font-family:var(--f-display); font-weight:600; font-size:22px; margin:0; line-height:1.1; letter-spacing:-.01em; }
.step p{ margin:0; color:var(--ink-3); font-size:15px; }
.step-icon{ width:44px; height:44px; display:grid; place-items:center; background:var(--accent); border-radius:var(--r-sm); color:var(--accent-ink); margin-top:auto; }

/* ===== TRUST BLOCKS ===================================== */
.trust-section{
  padding-top:0;
}
.trust-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}
.trust-card{
  min-height:260px;
  padding:30px;
  border-radius:var(--r-lg);
  border:1px solid var(--line);
  background:var(--surface);
  display:flex;
  flex-direction:column;
  gap:18px;
  color:inherit;
  text-decoration:none;
}
a.trust-card:hover{
  border-color:var(--ink);
  transform:translateY(-2px);
}
.trust-step{
  width:44px;
  height:44px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--ink);
  color:var(--accent);
  font-family:var(--f-display);
  font-weight:800;
}
.trust-card h3{
  margin:0;
  font-family:var(--f-display);
  font-size:clamp(22px, 2.2vw, 30px);
  line-height:1.08;
}
.trust-card p{
  margin:0;
  color:var(--ink-2);
}
.docs-section{
  padding-top:0;
}
.docs-panel{
  display:grid;
  grid-template-columns:minmax(0, .9fr) minmax(0, 1.1fr);
  gap:clamp(24px, 4vw, 56px);
  align-items:start;
  padding:clamp(30px, 5vw, 58px);
  border-radius:var(--r-lg);
  border:1px solid var(--line);
  background:
    radial-gradient(90% 80% at 10% 0%, color-mix(in oklab, var(--accent) 30%, transparent), transparent 60%),
    var(--surface);
}
.docs-lead{
  max-width:52ch;
  margin:20px 0 0;
  color:var(--ink-2);
  font-size:17px;
}
.docs-list{
  display:grid;
  gap:12px;
}
.docs-item{
  display:grid;
  grid-template-columns:170px minmax(0, 1fr);
  gap:18px;
  padding:18px 0;
  border-bottom:1px solid var(--line);
}
.docs-item:first-child{
  padding-top:0;
}
.docs-item:last-child{
  padding-bottom:0;
  border-bottom:0;
}
.docs-item strong{
  font-family:var(--f-display);
  font-size:18px;
}
.docs-item span{
  color:var(--ink-2);
}

/* ===== SUPPORT BAND ===================================== */
.support{
  background: var(--ink); color:var(--bg);
  border-radius: var(--r-lg);
  padding: clamp(40px, 5vw, 72px);
  display:grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(24px, 4vw, 56px);
  align-items:center;
  position:relative; overflow:hidden;
}
.support .h-display{ color:var(--bg); }
.support .h-sub{ color:#C9C5BA; }
.support-actions{ display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.support-actions .btn-primary{ box-shadow:3px 3px 0 var(--bg); color:var(--accent-ink); }
.support-actions .btn-ghost{ color:var(--bg); border-color:var(--bg); }
.support-actions .btn-ghost:hover{ background:var(--bg); color:var(--ink); }
.support-actions .btn small{ display:block; font-weight:400; font-size:11px; opacity:.7; margin-top:2px; }
.support-actions .btn{ flex-direction:column; align-items:flex-start; height:auto; padding:14px 22px; gap:0; }

.support-visual{
  position:relative;
  aspect-ratio: 1/1;
  background:
    radial-gradient(120% 90% at 70% 10%, color-mix(in oklab, var(--accent) 30%, transparent) 0%, transparent 60%),
    linear-gradient(160deg, #1A1A1A, #0A0A0A);
  border-radius: var(--r-md);
  border:1px solid #262626;
  overflow:hidden;
}
.support-visual svg.op-illus{ width:100%; height:100%; }

.support-bg-text{
  position:absolute; right:-1%; top:-12%;
  font-family:var(--f-display); font-weight:800;
  font-size: clamp(140px, 22vw, 360px);
  letter-spacing:-.04em;
  color: rgba(255,255,255,.04);
  pointer-events:none;
  line-height:.85;
}

/* ===== FORM ============================================= */
.form-wrap{
  display:grid; grid-template-columns: 1fr 1.4fr;
  gap: clamp(24px, 4vw, 64px);
  align-items:start;
}
.form-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  padding: clamp(28px, 3vw, 40px);
}
.form-row-segmented{
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap:8px;
  background:var(--surface-2);
  padding:6px;
  border-radius:var(--r-sm);
  margin-bottom:20px;
}
.seg{
  appearance:none; border:0;
  background:transparent;
  color:var(--ink-2);
  font-weight:600; font-size:14px;
  padding:12px 8px;
  border-radius: calc(var(--r-sm) - 2px);
  cursor:pointer;
  transition: background .15s, color .15s, box-shadow .15s;
  text-align:center;
}
.seg.is-active{
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 0 0 1px var(--line);
}
[data-theme="dark"] .seg.is-active{ background:var(--ink); color:var(--accent); }

.form-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field{ display:flex; flex-direction:column; gap:6px; }
.field.full{ grid-column: 1/-1; }
.field label{ font-size:12.5px; color:var(--ink-3); font-weight:500; letter-spacing:.01em; }
.field input, .field select{
  appearance:none;
  background: var(--surface-2);
  border:1px solid transparent;
  border-radius:var(--r-sm);
  padding: 14px 14px;
  font-size:15px; color:var(--ink);
  font-family:inherit;
  transition: border-color .15s, background .15s;
}
.field input:focus, .field select:focus{
  outline:none;
  border-color: var(--accent-ink);
  background: var(--surface);
}
.field.is-invalid label{
  color:#991B1B;
}
.field.is-invalid input,
.field.is-invalid select{
  border-color:#DC2626;
  background:#FEF2F2;
  box-shadow:0 0 0 3px rgba(220, 38, 38, .12);
}
.field-error{
  margin:2px 0 0;
  color:#991B1B;
  font-size:12px;
  font-weight:700;
  line-height:1.35;
}
.field-error[hidden]{
  display:none;
}
.consent{
  display:flex; gap:10px; align-items:flex-start;
  font-size:13px; color:var(--ink-3); margin-top: 18px;
}
.consent input{ margin-top:3px; accent-color: var(--accent-ink); }
.form-actions{ margin-top:22px; display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.form-note{ font-size:12px; color:var(--ink-3); }
.form-note a{ text-decoration:underline; }
.form-success,
.form-error{
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  font-size: 13px;
}
.form-success{
  color: #166534;
  background: #DCFCE7;
}
.form-error{
  color: #991B1B;
  background: #FEE2E2;
}
[hidden]{
  display:none !important;
}
.sr-only{
  position:absolute;
  left:-10000px;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}
.field input:disabled,
.field select:disabled{
  opacity:.65;
}

.form-side h2{
  font-family:var(--f-display); font-weight:700;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1; letter-spacing:-.02em;
  margin:0 0 18px;
}
.form-side p{ color:var(--ink-2); max-width: 36ch; }
.form-promises{ display:flex; flex-direction:column; gap:12px; margin-top:24px; }
.form-promise{ display:flex; align-items:center; gap:12px; font-size:14px; }
.form-promise .check{
  width:28px; height:28px; border-radius:50%;
  background:var(--accent); color:var(--accent-ink);
  display:grid; place-items:center;
}

/* ===== FOOTER =========================================== */
.ftr{
  border-top:1px solid var(--line);
  padding-block: 40px;
  font-size: 13.5px;
  color: var(--ink-3);
}
.ftr-inner{ display:flex; flex-direction:column; gap:24px; }
.ftr-top{ display:flex; flex-wrap:wrap; gap:24px; align-items:center; justify-content:space-between; }
.ftr-legal{ display:flex; flex-wrap:wrap; gap:18px; }
.ftr-cta{ display:flex; gap:12px; }
.rt-call-bar{ display:none; }

@media (max-width: 960px){
  body{ padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .rt-call-bar{
    position:fixed;
    right:86px;
    bottom:calc(12px + env(safe-area-inset-bottom));
    left:12px;
    z-index:48;
    display:grid;
    grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
    gap:8px;
    max-width:430px;
  }
  .rt-call-bar a{
    display:flex;
    min-height:48px;
    align-items:center;
    justify-content:center;
    padding:0 12px;
    border:1px solid color-mix(in oklab, var(--ink) 16%, transparent);
    border-radius:var(--r-sm);
    box-shadow:0 12px 28px rgba(10,10,10,.18);
    font-weight:900;
    font-size:14px;
    line-height:1;
    white-space:nowrap;
  }
  .rt-call-bar-phone{ background:var(--ink); color:var(--bg); }
  .rt-call-bar-lead{ background:var(--accent); color:var(--accent-ink); }
}
.ftr-note{ max-width: 80ch; }
.ftr strong{ color: var(--ink-2); font-weight:600; }
.ftr-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
}
.ftr-links a{
  color:var(--ink-2);
  text-decoration:underline;
  text-underline-offset:3px;
}

.thanks-page{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:var(--pad-x);
  background:var(--bg);
}
.thanks-card{
  width:min(680px, 100%);
  padding:clamp(32px, 5vw, 56px);
  border-radius:var(--r-lg);
  background:var(--surface);
  border:1px solid var(--line);
  box-shadow:0 24px 80px rgba(10,10,10,.08);
}
.thanks-card h1{
  margin:0;
  font-family:var(--f-display);
  font-size:clamp(34px, 5vw, 60px);
  line-height:1;
  letter-spacing:-.03em;
}
.thanks-card p{
  margin:18px 0 0;
  color:var(--ink-2);
  font-size:17px;
}
.thanks-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}
.thanks-actions a{
  height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 18px;
  border-radius:var(--r-sm);
  font-weight:700;
}
.thanks-call{
  background:var(--accent);
  color:var(--accent-ink);
  box-shadow:3px 3px 0 var(--ink);
}
.thanks-back{
  border:1px solid var(--ink);
}

/* ===== TICKER ============================================ */
.ticker{
  background:var(--accent); color:var(--accent-ink);
  border-block:1px solid var(--ink);
  overflow:hidden;
  font-family:var(--f-display);
  font-weight:600;
  font-size: clamp(18px, 1.8vw, 24px);
  letter-spacing:-.01em;
}
.ticker-track{
  display:flex; gap:48px;
  padding-block: 14px;
  white-space:nowrap;
  animation: tickerScroll 40s linear infinite;
}
.ticker-track span{ display:inline-flex; align-items:center; gap:24px; }
.ticker-track span::after{ content:"★"; color:var(--ink); }
@keyframes tickerScroll{
  from{ transform: translateX(0); }
  to  { transform: translateX(-50%); }
}

/* ===== UTIL ============================================== */
.fade-up{ opacity:0; transform: translateY(14px); animation: fadeUp .8s ease forwards; }
.fade-up.d1{ animation-delay:.05s; }
.fade-up.d2{ animation-delay:.12s; }
.fade-up.d3{ animation-delay:.2s; }
.fade-up.d4{ animation-delay:.28s; }
@keyframes fadeUp{ to{ opacity:1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce){
  .fade-up{
    opacity:1;
    transform:none;
    animation:none;
  }
  .hero-meta .live-dot,
  .ticker-track{
    animation:none;
  }
}

/* small responsiveness */
@media (max-width: 1100px){
  .nav{ gap:18px; }
  .hdr-phone{ display:none; }
}
@media (max-width: 960px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-visual{ aspect-ratio: 16/10; padding-top:52px; }
  .nav{ display:none; }
  .menu-toggle{ display:inline-flex; }
  .stats-grid{ grid-template-columns:1fr; }
  .stat{ border-left:0; border-top:1px solid var(--line); }
  .stat:first-child{ border-top:0; }
  .why-grid{ grid-template-columns:1fr; }
  .trust-grid{ grid-template-columns:1fr; }
  .docs-panel{ grid-template-columns:1fr; }
  .steps-grid{ grid-template-columns:1fr; }
  .step{ border-left:0; border-top:1px dashed var(--line); min-height:auto; }
  .step:first-child{ border-top:0; }
  .step::before{ display:none; }
  .support{ grid-template-columns:1fr; }
  .form-wrap{ grid-template-columns:1fr; }
  .form-grid{ grid-template-columns:1fr; }
}
@media (max-width: 560px){
  :root{
    --pad-x: 18px;
    --pad-section: 64px;
    --r-lg: 18px;
  }
  .hdr-inner{ height:60px; }
  .brand-name{ display:none; }
  .hdr-cta{ gap:8px; }
  .hdr-cta .btn{ --bh:38px; padding:0 14px; font-size:13px; }
  .menu-toggle{ width:38px; height:38px; }

  .h-display{ font-size: clamp(40px, 11vw, 56px); }
  .hero{ padding-top:24px; }
  .hero-visual{ aspect-ratio: 5/4; border-radius: var(--r-md); padding:46px 12px 12px; }
  .hero-visual svg.taxi-illus{ width:92%; margin-bottom:10px; }
  .hero-meta{ font-size:11px; padding:10px 12px; min-height:38px; }
  .hero-stamp{ font-size:10px; top:14px; left:14px; }
  .hero-ctas .btn{ flex:1; justify-content:center; }
  .eyebrow{ font-size:10.5px; padding:6px 10px; gap:6px; }

  .stat{ padding:24px var(--pad-x); }
  .stat-num{ font-size: 30px; }
  .section-title{ font-size: 34px; }

  .why-card{ padding:24px; min-height:auto; }
  .why-card h3{ font-size:24px; }

  .steps-wrap{ border-radius:var(--r-md); }
  .step{ padding: 24px; }
  .step-num{ font-size:64px; }

  .support{ padding: 32px 24px; border-radius:var(--r-md); }
  .support-actions .btn{ flex:1; padding:12px 16px; min-width: 0; }
  .support-bg-text{ font-size: 180px; opacity:.7; }
  .trust-card{ padding:24px; min-height:auto; }
  .docs-panel{ padding:24px; border-radius:var(--r-md); }
  .docs-item{ grid-template-columns:1fr; gap:6px; }

  .form-card{ padding:22px; border-radius:var(--r-md); }
  .form-row-segmented{ grid-template-columns: 1fr; gap:4px; }
  .seg{ text-align:left; padding:12px 14px; }
  .form-actions .btn{ width:100%; justify-content:center; }
  .form-actions .form-note{ font-size:11.5px; }

  .ftr-top{ flex-direction:column; align-items:flex-start; gap:14px; }
  .ftr-cta{ width:100%; }
  .ftr-cta .btn{ flex:1; justify-content:center; }

  .ticker{ font-size:16px; }
}
