/* Страница скачивания Valiro. Тёмная тема бренда — сознательно одна:
   ночной асфальт, лаймовая разметка дороги из логотипа, янтарь такси. */
:root {
  color-scheme: dark;
  --ground: #07100b;
  --ground-2: #0b1710;
  --surface: #101f16;
  --card: #12251a;
  --line: rgba(144, 255, 147, .14);
  --line-strong: rgba(144, 255, 147, .3);
  --text: #f5fff6;
  --muted: #94aa99;
  --lime: #8ef08a;
  --lime-deep: #65d96c;
  --amber: #ffc76a;
  --asphalt: #18241c;
  --radius: 26px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(142, 240, 138, .10), transparent 60%),
    radial-gradient(700px 480px at -10% 30%, rgba(101, 217, 108, .07), transparent 60%),
    var(--ground);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.5;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

/* Шапка */
.top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -.02em;
}
.brand img { width: 40px; height: auto; }
.top-link {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color .2s, border-color .2s;
}
.top-link:hover { color: var(--text); border-color: var(--line-strong); }

/* Первый экран */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 48px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px 72px;
  /* Дорога — фон: по бокам не вылезает, иначе страница шире экрана. */
  overflow-x: clip;
}
.road {
  position: absolute;
  inset: -40px 0 -20px;
  width: 100%;
  height: calc(100% + 60px);
  z-index: 0;
  pointer-events: none;
  opacity: .9;
}
.road-bed { fill: none; stroke: var(--asphalt); stroke-width: 64; stroke-linecap: round; }
.road-edge { fill: none; stroke: rgba(142, 240, 138, .16); stroke-width: 66; stroke-linecap: round; mix-blend-mode: screen; opacity: .35; }
.road-line {
  fill: none;
  stroke: rgba(245, 255, 246, .55);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 26 22;
  animation: drive 3.2s linear infinite;
}
@keyframes drive { to { stroke-dashoffset: -48; } }

.hero-copy, .hero-visual { position: relative; z-index: 1; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 14px;
}
h1 {
  margin: 0;
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 900;
  text-wrap: balance;
}
.lead {
  margin: 20px 0 0;
  max-width: 34em;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
}

/* Кнопка скачивания */
.download { margin-top: 32px; }
.download-button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 28px 16px 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, #9bf597, var(--lime-deep));
  color: #08140c;
  text-decoration: none;
  box-shadow: 0 18px 50px rgba(101, 217, 108, .28), inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .18s ease, box-shadow .18s ease;
}
.download-button:hover { transform: translateY(-2px); box-shadow: 0 24px 60px rgba(101, 217, 108, .36), inset 0 1px 0 rgba(255, 255, 255, .5); }
.download-button:active { transform: translateY(0); }
.download-button:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }
.download-button svg {
  width: 34px;
  height: 34px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.download-button span { display: grid; gap: 2px; }
.download-button b { font-size: 21px; font-weight: 900; letter-spacing: -.01em; }
.download-button small {
  font-size: 13px;
  font-weight: 700;
  opacity: .72;
  font-variant-numeric: tabular-nums;
}
.reinstall-note {
  max-width: 34em;
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(142, 240, 138, .07);
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 14px;
}
.reinstall-note b { color: var(--text); }
.ios-note {
  max-width: 30em;
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 199, 106, .1);
  border: 1px solid rgba(255, 199, 106, .4);
  color: var(--amber);
  font-weight: 600;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.facts li { display: grid; }
.facts b { font-size: 17px; font-weight: 900; }
.facts span { color: var(--muted); font-size: 14px; }

/* Телефон */
.hero-visual { display: flex; justify-content: center; align-items: center; gap: 22px; }
.phone {
  width: 270px;
  flex: none;
  padding: 12px;
  border-radius: 44px;
  background: linear-gradient(160deg, #26352b, #0c140f);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .08);
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  width: 76px;
  height: 20px;
  margin-left: -38px;
  border-radius: 12px;
  background: #050906;
  z-index: 2;
}
.screen {
  height: 520px;
  border-radius: 34px;
  overflow: hidden;
  background: #0d1611;
  display: flex;
  flex-direction: column;
}
.map {
  position: relative;
  flex: 1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(160deg, #142219, #0d1611);
}
.map svg { position: absolute; inset: 18% 6% 8%; width: 88%; height: 74%; }
.map path {
  fill: none;
  stroke: var(--lime);
  stroke-width: 5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(142, 240, 138, .6));
}
.map .pin-start { fill: var(--amber); stroke: #0d1611; stroke-width: 3; filter: none; }
.map .pin-end { fill: var(--lime); stroke: #0d1611; stroke-width: 3; filter: none; }
.sheet {
  padding: 16px;
  background: #121c16;
  border-top: 1px solid var(--line);
  border-radius: 22px 22px 0 0;
  display: grid;
  gap: 10px;
}
.sheet-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
}
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot-start { background: var(--amber); }
.dot-end { background: var(--lime); border-radius: 3px; }
.sheet-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}
.sheet-bottom strong { font-size: 22px; font-weight: 900; }
.fake-button {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--lime);
  color: #08140c;
  font-weight: 900;
  font-size: 13px;
}

/* QR для тех, кто зашёл с компьютера */
.qr-card {
  width: 190px;
  padding: 16px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  align-self: flex-end;
}
.qr-card img {
  width: 132px;
  height: 132px;
  padding: 10px;
  border-radius: 14px;
  background: #f5fff6;
  margin: 0 auto;
}
.qr-card p { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.qr-card b { color: var(--text); }
.qr-card[hidden] { display: none; }

/* Разделы ниже */
section.steps, section.services, section.news {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 64px;
}
h2 {
  margin: 0 0 22px;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -.025em;
  font-weight: 900;
  text-wrap: balance;
}
.steps ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 24px 22px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: rgba(142, 240, 138, .12);
  color: var(--lime);
  font-weight: 900;
  font-size: 18px;
}
.steps h3, .services h3 { margin: 0 0 6px; font-size: 18px; font-weight: 900; }
.steps p, .services p { margin: 0; color: var(--muted); }

.services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.services article {
  padding: 22px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card), var(--surface));
  border: 1px solid var(--line);
}
.tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--lime);
  background: rgba(142, 240, 138, .1);
}
.tag-taxi { color: #241703; background: var(--amber); }

.news ul {
  margin: 0;
  padding: 22px 24px 22px 44px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  gap: 10px;
  max-width: 820px;
}
.news li::marker { color: var(--lime); }
.news[hidden] { display: none; }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 24px 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.foot a { text-decoration: none; font-weight: 700; }
.foot a:hover { color: var(--text); }

/* Планшет */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 20px; }
  .hero-visual { justify-content: flex-start; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Телефон */
@media (max-width: 640px) {
  .top { padding: 16px; }
  .hero { padding: 12px 16px 48px; }
  section.steps, section.services, section.news { padding: 0 16px 48px; }
  .foot { padding: 20px 16px 28px; }
  .download-button { display: flex; width: 100%; }
  .hero-visual { justify-content: center; }
  .phone { width: 236px; }
  .screen { height: 440px; }
  .qr-card { display: none; }
  .steps ol, .services { grid-template-columns: 1fr; }
  .facts { gap: 12px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .road-line { animation: none; }
  .download-button { transition: none; }
}
