@font-face {
  font-family: "Onest";
  src: url("fonts/onest-latin.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Onest";
  src: url("fonts/onest-cyrillic.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --paper: #f2f4f7;
  --surface: #ffffff;
  --ink: #132036;
  --ink-soft: #2a3850;
  --muted: #5b6679;
  --line: #d9dfe7;
  --money: #168f6c;
  --money-soft: #e3f3ed;
  --seal: #c23a2e;
  --skin-a: #3b4fc4;
  --skin-b: #b3641b;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Onest", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

:lang(zh-CN) {
  --font: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Onest", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "tnum" 1;
  text-rendering: optimizeLegibility;
  overflow-wrap: anywhere;
}

h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--money);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}

.top__row {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}

.mark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.mark__glyph {
  display: inline-block;
  padding: 5px 10px 6px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  line-height: 1;
}

.mark--small .mark__glyph { font-size: 13px; padding: 4px 8px 5px; }

.menu {
  display: flex;
  gap: 24px;
  margin-left: 8px;
  font-size: 15px;
}

.menu a {
  color: var(--muted);
  text-decoration: none;
}
.menu a:hover { color: var(--ink); }

.langs {
  display: flex;
  gap: 4px;
  margin-left: auto;
  font-size: 14px;
}

.langs__item {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
}
.langs__item:hover { color: var(--ink); }
.langs__item[aria-current="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { background: var(--ink-soft); }
.btn .icon { width: 20px; height: 20px; }

.btn--small { min-height: 40px; padding: 0 16px; font-size: 14px; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn--ghost:hover { background: var(--surface); }

.btn--invert { background: #fff; color: var(--ink); }
.btn--invert:hover { background: var(--money-soft); }

.btn--ghost-invert { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6); }
.btn--ghost-invert:hover { background: rgba(255, 255, 255, 0.08); }

.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ctas__address {
  margin-top: 16px;
  font-size: 15px;
}

.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero__eyebrow {
  color: var(--money);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 18px;
}

.hero__title {
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.04;
  font-weight: 750;
  letter-spacing: -0.025em;
  max-width: 14ch;
  text-wrap: balance;
}

:lang(ru) .hero__title { max-width: 16ch; }
:lang(zh-CN) .hero__title { max-width: 13em; letter-spacing: 0; line-height: 1.2; font-weight: 700; }

.hero__lead {
  margin: 24px 0 36px;
  max-width: 34em;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 19px);
}

.ticket {
  position: relative;
  padding: 26px 26px 22px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 0 var(--line), 0 24px 60px -30px rgba(19, 32, 54, 0.35);
  font-size: 15px;
}

.ticket__head {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
}

.ticket__id { font-weight: 600; color: var(--ink); }

.ticket__sums {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
  margin: 18px 0 24px;
  padding-bottom: 22px;
  border-bottom: 1px dashed var(--line);
}

.ticket__sum dt { color: var(--muted); font-size: 13px; }
.ticket__sum dd { font-weight: 650; font-size: 18px; white-space: nowrap; }
.ticket__sum--main { grid-column: 1 / -1; }
.ticket__sum--main dd { font-size: 34px; letter-spacing: -0.02em; font-weight: 750; }

.track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 20px;
}

.track__step {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
}

.track__step::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 14px;
  right: 0;
  height: 2px;
  background: var(--line);
}
.track__step:last-child::before { display: none; }

.track__dot {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: inset 0 0 0 2px var(--line);
}

.track__label { padding-right: 6px; }

.log { display: grid; gap: 8px; }

.log__row {
  display: flex;
  gap: 12px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: var(--paper);
  font-size: 14px;
}

.log__row time { color: var(--muted); }

.stamp {
  position: absolute;
  right: 30px;
  top: 60px;
  padding: 6px 14px 7px;
  border: 2.5px solid var(--seal);
  border-radius: var(--radius-sm);
  color: var(--seal);
  font-weight: 800;
  font-size: 15px;
  transform: rotate(-8deg);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .track__dot {
    animation: dot-on 0.35s ease-out both;
    animation-delay: calc(0.5s + var(--i) * 0.9s);
  }
  .track__step::before {
    background: linear-gradient(var(--money), var(--money)) left / 0 100% no-repeat, var(--line);
    animation: line-on 0.9s linear both;
    animation-delay: calc(0.85s + var(--i) * 0.9s);
  }
  .track__label {
    animation: label-on 0.35s ease-out both;
    animation-delay: calc(0.5s + var(--i) * 0.9s);
  }
  .log__row {
    animation: row-in 0.45s ease-out both;
    animation-delay: calc(1.35s + var(--i) * 0.9s);
  }
  .stamp {
    animation: stamp-in 0.4s cubic-bezier(0.2, 1.6, 0.4, 1) both;
    animation-delay: 3.4s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .track__dot { background: var(--money); box-shadow: none; }
  .track__step::before { background: var(--money); }
  .track__label { color: var(--ink); }
}

@keyframes dot-on {
  from { background: var(--surface); box-shadow: inset 0 0 0 2px var(--line); }
  to { background: var(--money); box-shadow: 0 0 0 4px var(--money-soft); }
}

@keyframes line-on { to { background-size: 100% 100%; } }

@keyframes label-on { to { color: var(--ink); } }

@keyframes row-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@keyframes stamp-in {
  from { opacity: 0; transform: rotate(-8deg) scale(1.6); }
  to { opacity: 1; transform: rotate(-8deg) scale(1); }
}

.section { padding: clamp(64px, 9vw, 120px) 0; }

.section--surface { background: var(--surface); }

.section__head { max-width: 40em; margin-bottom: clamp(36px, 5vw, 60px); }

.section__title {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1;
  font-weight: 720;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

:lang(zh-CN) .section__title { letter-spacing: 0; line-height: 1.3; }

.section__lead {
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
  max-width: 36em;
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  counter-reset: flow;
}

.flow__step {
  position: relative;
  padding-top: 58px;
}

.flow__step::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 44px;
  right: -28px;
  height: 2px;
  background: var(--line);
}
.flow__step:last-child::before { display: none; }

.flow__num {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

.flow__step:last-child .flow__num { background: var(--money); }

.flow__title { font-size: 18px; line-height: 1.3; font-weight: 650; margin-bottom: 10px; }
.flow__text { color: var(--muted); font-size: 15px; }

.mods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 48px;
}

.mods__item {
  display: grid;
  align-content: start;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 16px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.mods__icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--paper);
  color: var(--ink);
}

.mods__title { font-size: 18px; font-weight: 650; line-height: 1.3; margin: 2px 0 8px; }
.mods__text { color: var(--muted); font-size: 15px; }

.wl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.wl__points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
  margin-top: 40px;
}

.wl__point dt { font-weight: 650; font-size: 17px; margin-bottom: 6px; }
.wl__point dd { color: var(--muted); font-size: 15px; }

.wl__visual {
  position: relative;
  min-height: 380px;
}

.cab {
  position: absolute;
  width: 78%;
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 0 var(--line), 0 24px 50px -28px rgba(19, 32, 54, 0.4);
  overflow: hidden;
}

.cab--a { --skin: var(--skin-a); left: 0; top: 0; }
.cab--b { --skin: var(--skin-b); right: 0; bottom: 0; }

.cab__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  padding: 0 16px;
  background: var(--skin);
  color: #fff;
}

.cab__logo {
  padding: 3px 10px;
  border: 1.5px dashed rgba(255, 255, 255, 0.75);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}

.cab__user { width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); }

.cab__body {
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: 14px;
  padding: 16px;
}

.cab__side { display: grid; gap: 10px; align-content: start; }
.cab__side i { display: block; height: 10px; border-radius: 5px; background: var(--paper); }
.cab__side i:first-child { background: color-mix(in srgb, var(--skin) 22%, white); }

.cab__main { display: grid; gap: 9px; }
.cab__row { display: block; height: 22px; border-radius: 6px; background: var(--paper); }
.cab__row--head { height: 14px; width: 55%; background: color-mix(in srgb, var(--skin) 30%, white); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.steps__item {
  display: grid;
  gap: 14px;
  align-content: start;
}

.steps__num {
  font-size: 44px;
  line-height: 1;
  font-weight: 750;
  color: #aab4c2;
  letter-spacing: -0.03em;
}

.steps__title { font-size: 18px; font-weight: 650; margin-bottom: 8px; }
.steps__text { color: var(--muted); font-size: 15px; }

.contact {
  padding: clamp(64px, 9vw, 112px) 0;
  background: var(--ink);
  color: #fff;
}

.contact__inner { max-width: calc(760px + 2 * var(--gutter)); margin-left: max(0px, calc((100% - var(--wrap)) / 2 - var(--gutter))); }

.contact__title {
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.08;
  font-weight: 740;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

:lang(zh-CN) .contact__title { letter-spacing: 0; line-height: 1.3; }

.contact__lead {
  margin: 18px 0 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  max-width: 34em;
}

.contact .ctas__address a { color: rgba(255, 255, 255, 0.72); }

.foot {
  padding: 28px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.foot__row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot .mark__glyph { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.foot .langs__item { color: rgba(255, 255, 255, 0.6); }
.foot .langs__item[aria-current="true"] { background: rgba(255, 255, 255, 0.1); color: #fff; box-shadow: none; }

@media (max-width: 1080px) {
  .menu { display: none; }
  .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .flow__step:nth-child(3)::before { display: none; }
  .mods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .hero__grid, .wl { grid-template-columns: minmax(0, 1fr); }
  .ticket { max-width: 480px; }
  .wl__visual { min-height: 320px; max-width: 520px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .top__row { gap: 12px; min-height: 60px; }
  .top .btn--small { display: none; }
  .langs__item { padding: 6px 7px; }
  .flow { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .flow__step { padding: 0 0 32px 60px; }
  .flow__step::before { top: 44px; bottom: 4px; left: 19px; right: auto; width: 2px; height: auto; }
  .flow__step:nth-child(3)::before { display: block; }
  .flow__step:last-child { padding-bottom: 0; }
  .mods { grid-template-columns: minmax(0, 1fr); }
  .wl__points { grid-template-columns: minmax(0, 1fr); }
  .wl__visual { min-height: 280px; }
  .cab { width: 86%; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .steps__item { grid-template-columns: 48px minmax(0, 1fr); }
  .steps__num { font-size: 34px; }
  .ticket { padding: 20px 18px 18px; }
  .ticket__sum--main dd { font-size: 28px; }
  .stamp { top: 58px; right: 16px; font-size: 13px; }
  .ctas .btn { flex: 1 1 100%; }
}
