:root {
  --blue: #1c5bc4;
  --blue-deep: #123f8c;
  --blue-ink: #0d2c63;
  --blue-wash: #e8effb;
  --green: #17a35a;
  --green-wash: #e3f5ea;
  --amber: #e8820c;
  --ink: #111a2b;
  --ink-2: #44506a;
  --ink-3: #5d6880;
  --paper: #f6f5f1;
  --paper-2: #efede6;
  --line: #dedbd2;
  --grid: rgba(28, 91, 196, 0.06);
  --white: #fff;
  --radius: 18px;
  --shadow-phone: 0 2px 4px rgba(13, 44, 99, .08), 0 28px 56px -18px rgba(13, 44, 99, .42);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: #b9c3d6; border-radius: 8px; border: 3px solid var(--paper-2); }
html { scrollbar-color: #b9c3d6 var(--paper-2); }

h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.2vw, 4.4rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.22rem); color: var(--ink-2); max-width: 36em; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.ic { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#i-apple path { fill: currentColor; stroke: none; }
.ic-lg { width: 30px; height: 30px; }

.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { top: 12px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.32rem; letter-spacing: -0.03em; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .98rem; }
.nav a:hover { color: var(--blue); }
.lang { display: inline-flex; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button {
  font: inherit; font-size: .84rem; font-weight: 700; letter-spacing: .02em;
  border: 0; background: transparent; color: var(--ink-3);
  padding: 6px 12px; border-radius: 999px; cursor: pointer; min-width: 44px; min-height: 34px;
}
.lang button[aria-pressed="true"] { background: var(--white); color: var(--blue); box-shadow: 0 1px 3px rgba(13, 44, 99, .14); }

/* ---------- buttons ---------- */
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px 12px 18px; border-radius: 16px;
  text-decoration: none; line-height: 1.2; min-height: 60px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s;
}
.btn b { display: block; font-weight: 700; font-size: 1.02rem; }
.btn small { display: block; font-size: .8rem; opacity: .82; margin-top: 2px; }
.btn .ic { width: 26px; height: 26px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(13, 44, 99, .2), 0 12px 24px -10px rgba(28, 91, 196, .7); }
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 2px 4px rgba(13, 44, 99, .2), 0 18px 30px -12px rgba(28, 91, 196, .75); }
.btn-primary:active { transform: translateY(0); }
.btn-soon { background: var(--white); color: var(--ink-3); border: 1px dashed #b8bfcd; cursor: default; }
.btn-ghost { background: var(--white); color: var(--blue-ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--blue); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--blue-ink); box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .45); }
.btn-light:hover { transform: translateY(-2px); }

/* ---------- phones ---------- */
.phone {
  margin: 0; background: #0f1828; border-radius: 40px; padding: 8px;
  box-shadow: var(--shadow-phone);
}
.phone img { border-radius: 32px; width: 100%; aspect-ratio: 720 / 1469; object-fit: cover; background: #fff; }
.phone-sm { border-radius: 32px; padding: 7px; }
.phone-sm img { border-radius: 26px; }
.phone.crop img { aspect-ratio: 720 / 1060; object-position: top; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 88px; isolation: isolate; }
.map {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.16) 0%, rgba(0,0,0,.16) 34%, #000 60%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.16) 0%, rgba(0,0,0,.16) 34%, #000 60%);
}
.arc { stroke: rgba(28, 91, 196, .28); stroke-width: 2; stroke-dasharray: 2 7; }
.arc.main { stroke: var(--blue); stroke-width: 4; stroke-dasharray: none; }
.car { fill: var(--green); stroke: #fff; stroke-width: 3; }
.cities circle { fill: #fff; stroke: var(--blue); stroke-width: 2.5; }
.cities circle.hub { fill: var(--blue); stroke: #fff; stroke-width: 3; }
.cities text { font: 600 15px "Onest", system-ui, sans-serif; fill: #5a6882; paint-order: stroke; stroke: var(--paper); stroke-width: 5px; stroke-linejoin: round; }

.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; min-height: min(720px, calc(100svh - 120px)); }
.hero-copy { display: grid; gap: 26px; padding: 20px 0; }
.hero-copy h1 { max-width: 12.5em; }
.hero-copy .lead {
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  border-radius: 12px;
}
.note { font-size: .92rem; color: var(--ink-3); max-width: 34em; }

.hero-phones { position: relative; height: 640px; }
.hero-phones .phone { position: absolute; width: 268px; }
.p-front { right: 34%; top: 20px; z-index: 2; transform: rotate(-3deg); }
.p-back { right: 2%; top: 92px; transform: rotate(4deg); }
.chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 999px; padding: 10px 16px 10px 12px;
  font-weight: 600; font-size: .92rem; color: var(--ink);
  box-shadow: 0 2px 4px rgba(13, 44, 99, .08), 0 14px 28px -12px rgba(13, 44, 99, .35);
  white-space: nowrap;
}
.chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-wash); }
.chip .ic { width: 20px; height: 20px; color: var(--green); }
.chip-a { left: -4%; top: 168px; }
.chip-b { right: -2%; bottom: 70px; }

/* ---------- sections ---------- */
section { padding: 104px 0; }
section h2 { max-width: 20em; }

.uses { background: var(--white); }
.uses-grid { display: grid; grid-template-columns: 1fr 250px 1fr; gap: 56px; align-items: center; margin-top: 60px; }
.use { display: grid; gap: 16px; }
.use-head { display: flex; align-items: center; gap: 14px; }
.use-head .ic { color: var(--blue); }
.use-head .ic-amber { color: var(--amber); }
.use-head h3 { font-size: 1.6rem; }
.use p { color: var(--ink-2); }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 500; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317a35a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.uses-grid .use:last-child { text-align: left; }

.how { background: var(--paper); }
.steps { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: s; }
.steps li { display: grid; gap: 28px; align-content: start; }
.steps .phone { width: min(250px, 80%); justify-self: center; }
.steps li:nth-child(2) .phone { transform: translateY(28px); }
.step-text { display: grid; gap: 8px; position: relative; padding-top: 4px; }
.steps li:nth-child(2) .step-text { padding-top: 32px; }
.step-n {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue); color: #fff; font-weight: 800; font-variant-numeric: tabular-nums; margin-bottom: 6px;
}
.step-text p { color: var(--ink-2); }

.trust { background: var(--white); }
.trust-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: center; }
.facts { margin: 52px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 40px; }
.facts dt { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.08rem; }
.facts dt .ic { color: var(--blue); width: 24px; height: 24px; }
.facts dd { margin: 8px 0 0; color: var(--ink-2); font-size: .98rem; }
.trust-phones { position: relative; height: 600px; }
.trust-phones .phone { position: absolute; width: 250px; }
.t-a { left: 0; top: 0; transform: rotate(-3deg); }
.t-b { right: 0; bottom: 0; transform: rotate(3deg); }

.drivers { background: var(--blue-ink); color: #fff; position: relative; overflow: hidden; }
.drivers::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(transparent 39px, rgba(255, 255, 255, .05) 40px) 0 0 / 40px 40px,
    linear-gradient(90deg, transparent 39px, rgba(255, 255, 255, .05) 40px) 0 0 / 40px 40px;
  pointer-events: none;
}
.drivers-in { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.drivers .lead { color: #c9d7f2; margin-top: 20px; }
.drv-list { list-style: none; padding: 0; margin: 32px 0 36px; display: grid; gap: 16px; }
.drv-list li { position: relative; padding-left: 34px; color: #e6edfa; }
.drv-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 6px;
  background: rgba(23, 163, 90, .22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2350d68f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.drivers-phones { position: relative; height: 620px; }
.drivers-phones .phone { position: absolute; width: 260px; background: #050b16; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.d-a { left: 0; top: 0; transform: rotate(-4deg); }
.d-b { right: 4%; bottom: 0; transform: rotate(3deg); }

.faq { background: var(--paper); }
.faq-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.qa { display: grid; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 4px; font-weight: 600; font-size: 1.1rem;
}
summary::-webkit-details-marker { display: none; }
summary .ic { color: var(--blue); transition: transform .3s var(--ease); }
details[open] summary .ic { transform: rotate(45deg); }
summary:hover { color: var(--blue); }
details p { padding: 0 4px 24px; color: var(--ink-2); max-width: 40em; }

.final { background: var(--blue-wash); padding: 88px 0; }
.final-in { display: grid; gap: 30px; justify-items: center; text-align: center; }
.final .cta { justify-content: center; }

.foot { background: var(--ink); color: #c7cfdd; padding: 64px 0 28px; }
.foot-in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot .brand { color: #fff; }
.foot-brand p { margin-top: 12px; max-width: 22em; }
.foot-contacts { display: grid; gap: 12px; }
.foot-contacts h2 { font-size: 1.05rem; color: #fff; letter-spacing: 0; margin-bottom: 4px; }
.foot-contacts a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.foot-contacts a:hover { color: #fff; text-decoration: underline; }
.foot-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; color: #8f9ab0; }

/* ---------- motion: the route map draws itself once ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .arc { stroke-dashoffset: 0; animation: arc-in 1.6s var(--ease) both; animation-delay: var(--d); }
  .js .arc:not(.main) { animation-name: arc-fade; }
  .js .arc.main { stroke-dasharray: 1200; animation-name: arc-draw; animation-duration: 2s; }
  .js .hero-phones .phone { animation: rise 1.1s var(--ease) both; }
  .js .p-back { animation-delay: .15s; }
  .js .chip { animation: rise 1s var(--ease) both; animation-delay: .7s; }
  .js .chip-b { animation-delay: .9s; }
}
@media (prefers-reduced-motion: reduce) { .car { display: none; } html { scroll-behavior: auto; } }
@keyframes arc-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes arc-draw { from { stroke-dashoffset: 1200; } to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; translate: 0 40px; filter: blur(6px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .map { -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.14) 0%, rgba(0,0,0,.14) 45%, #000 70%); mask-image: linear-gradient(180deg, rgba(0,0,0,.14) 0%, rgba(0,0,0,.14) 45%, #000 70%); }
  .nav { display: none; }
  .lang { margin-left: auto; }
  .hero-in { grid-template-columns: 1fr; min-height: 0; }
  .hero-phones { height: 520px; max-width: 520px; width: 100%; justify-self: center; }
  .hero-phones .phone { width: 228px; }
  .p-front { right: auto; left: 8%; }
  .uses-grid { grid-template-columns: 1fr 1fr; }
  .uses-grid .phone { display: none; }
  .trust-in, .drivers-in, .faq-in { grid-template-columns: 1fr; gap: 48px; }
  .trust-phones, .drivers-phones { height: 540px; max-width: 520px; width: 100%; justify-self: center; }
  .drivers-phones { order: 2; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .top-in { height: 60px; }
  section { padding: 72px 0; }
  .hero { padding: 28px 0 56px; }
  .hero-copy { gap: 20px; }
  .cta { flex-direction: column; align-items: stretch; }
  .btn { justify-content: flex-start; }
  .hero-phones { height: 430px; }
  .hero-phones .phone { width: 190px; border-radius: 30px; padding: 6px; }
  .hero-phones .phone img { border-radius: 25px; }
  .p-front { left: 4%; }
  .p-back { right: 2%; top: 60px; }
  .chip { font-size: .84rem; padding: 8px 12px 8px 10px; }
  .chip-a { left: 0; top: 18px; }
  .chip-b { right: 0; bottom: 18px; }
  .uses-grid { grid-template-columns: 1fr; gap: 44px; margin-top: 40px; }
  .steps { grid-template-columns: 1fr; gap: 56px; margin-top: 40px; }
  .steps li { grid-template-columns: 132px 1fr; gap: 20px; align-items: center; }
  .steps .phone { width: 132px; border-radius: 22px; padding: 5px; }
  .steps .phone img { border-radius: 18px; }
  .steps li:nth-child(2) .phone { transform: none; }
  .steps li:nth-child(2) .step-text { padding-top: 4px; }
  .facts { grid-template-columns: 1fr; gap: 26px; margin-top: 36px; }
  .trust-phones, .drivers-phones { height: 420px; }
  .trust-phones .phone, .drivers-phones .phone { width: 190px; border-radius: 28px; padding: 6px; }
  .trust-phones .phone img, .drivers-phones .phone img { border-radius: 23px; }
  summary { font-size: 1.02rem; padding: 18px 2px; }
}
