@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  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;
}

:root {
  --bg: #07080d;
  --text: #f2f3f7;
  --text-2: #a7abba;
  --muted: #7a8094;
  --line: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.04);
  --violet: #8b5cf6;
  --pink: #ec4899;
  --teal: #14b8a6;
  --brand: linear-gradient(135deg, #8b5cf6, #ec4899 50%, #14b8a6);
  --ustwo: #e8728f;
  --finbalance: #2dd4bf;
  --radius: 24px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  color-scheme: dark;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  position: relative;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid #c4b5fd;
  outline-offset: 3px;
  border-radius: 8px;
}

.container {
  width: min(1160px, 100% - 40px);
  margin-inline: auto;
}

/* Background */
.bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(circle 720px at 0 0, rgba(139, 92, 246, 0.26), transparent 70%),
    radial-gradient(circle 640px at 100% 640px, rgba(236, 72, 153, 0.18), transparent 70%),
    radial-gradient(circle 760px at 20% calc(100% - 260px), rgba(20, 184, 166, 0.17), transparent 70%);
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1100px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(#000 0, transparent 100%);
  mask-image: linear-gradient(#000 0, transparent 100%);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 8, 13, 0.72);
  border-bottom: 1px solid var(--line);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .header {
    background: rgba(7, 8, 13, 0.55);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
  }
}

.header__in {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo img {
  width: 32px;
  height: 32px;
}

.grad {
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav .nav__about {
  display: none;
}

.header .btn {
  display: none;
}

@media (min-width: 640px) {
  .nav .nav__about {
    display: inline-block;
  }

  .header .btn {
    display: inline-flex;
  }
}

/* Buttons */
.btn {
  --btn: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn--sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.9375rem;
}

.btn--primary {
  background: var(--accent, var(--text));
  color: #0b0a10;
  box-shadow: 0 8px 28px -8px var(--accent, rgba(255, 255, 255, 0.4));
}

.btn--brand {
  background: var(--brand);
  color: #07080d;
  box-shadow: 0 10px 34px -10px rgba(236, 72, 153, 0.7);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.btn[aria-disabled="true"] {
  border-style: dashed;
  background: transparent;
  color: var(--text-2);
  cursor: default;
}

.btn[aria-disabled="true"]:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.2);
  background: transparent;
}

/* Typography */
h1 {
  font-size: clamp(2.4rem, 5vw + 1rem, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.8rem, 3vw + 1rem, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h3 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  color: var(--text-2);
  font-size: 0.875rem;
  font-weight: 600;
}

.lead {
  max-width: 62ch;
  color: var(--text-2);
  font-size: 1.1875rem;
}

.sub {
  margin-top: 12px;
  color: var(--text-2);
}

/* Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 5px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
}

/* Glass */
.glass {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--glass);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.8);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .glass {
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
}

/* Hero */
.hero {
  padding: 64px 0 56px;
}

.hero__in {
  display: grid;
  gap: 56px;
}

.hero .lead {
  margin-top: 24px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero .chips {
  margin-top: 32px;
}

.tiles {
  position: relative;
  display: grid;
  gap: 20px;
  max-width: 440px;
  padding: 8px 0;
}

.tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  text-decoration: none;
  transition: transform 0.25s;
}

.tile:hover {
  transform: translateY(-4px);
}

.tile img {
  border-radius: 22px;
}

.tile strong {
  display: block;
  font-size: 1.25rem;
  line-height: 1.3;
}

.tile span {
  display: block;
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.tile--ustwo {
  box-shadow: 0 0 80px -20px rgba(232, 114, 143, 0.55), 0 24px 60px -30px rgba(0, 0, 0, 0.8);
}

.tile--finbalance {
  box-shadow: 0 0 80px -20px rgba(45, 212, 191, 0.5), 0 24px 60px -30px rgba(0, 0, 0, 0.8);
}

.pix {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--brand);
  opacity: 0.85;
}

.pix--1 {
  top: -14px;
  right: 24px;
}

.pix--2 {
  top: 46%;
  left: -22px;
  width: 12px;
  height: 12px;
  opacity: 0.6;
}

.pix--3 {
  right: -8px;
  bottom: 30%;
  width: 26px;
  height: 26px;
  opacity: 0.5;
}

.pix--4 {
  bottom: -14px;
  left: 40px;
  width: 14px;
  height: 14px;
}

@media (min-width: 640px) {
  .tiles {
    max-width: 480px;
  }
}

@media (min-width: 960px) {
  .hero {
    padding: 104px 0 96px;
  }

  .hero__in {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    align-items: center;
    gap: 48px;
  }

  .tiles {
    gap: 36px;
    max-width: none;
    padding: 24px 0 24px 24px;
  }

  .tile--ustwo {
    margin-right: 56px;
  }

  .tile--finbalance {
    margin-left: 56px;
  }
}

/* Sections */
.section {
  padding: 64px 0;
}

.section__head {
  margin-bottom: 36px;
}

@media (min-width: 960px) {
  .section {
    padding: 96px 0;
  }

  .section__head {
    margin-bottom: 48px;
  }
}

/* App cards (overview) */
.cards2 {
  display: grid;
  gap: 20px;
}

.appcard {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  text-decoration: none;
  transition: transform 0.25s, border-color 0.25s;
}

.appcard:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.appcard img {
  border-radius: 22px;
}

.appcard h3 {
  font-size: 1.375rem;
}

.appcard p {
  margin-top: 4px;
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.5;
}

.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 2px 10px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 800;
}

@media (min-width: 960px) {
  .cards2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* Accents */
.is-ustwo {
  --accent: var(--ustwo);
  --accent-soft: rgba(232, 114, 143, 0.14);
}

.is-finbalance {
  --accent: var(--finbalance);
  --accent-soft: rgba(45, 212, 191, 0.12);
}

/* App blocks */
.app {
  position: relative;
  overflow: hidden;
  padding: 28px 20px;
}

.app::before {
  content: "";
  position: absolute;
  top: -260px;
  right: -200px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 68%);
  pointer-events: none;
}

.app > * {
  position: relative;
}

.app__wrap {
  padding-block: 28px;
}

.app__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.app__head img {
  border-radius: 22px;
  box-shadow: 0 0 50px -12px var(--accent);
}

.app__title {
  margin-right: auto;
}

.app__title h2 {
  font-size: clamp(1.8rem, 3vw + 1rem, 2.75rem);
}

.app__title p {
  color: var(--text-2);
  font-weight: 600;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.875rem;
  font-weight: 700;
}

.pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.pill--soon::before {
  background: #fbbf24;
}

.app .lead {
  margin-top: 28px;
}

.app .chips {
  margin-top: 24px;
}

.dl {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.note {
  max-width: 62ch;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 16px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.links a {
  color: var(--text-2);
  text-underline-offset: 3px;
}

.links a:hover {
  color: var(--accent);
}

.howto {
  max-width: 62ch;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.howto summary {
  padding: 14px 18px;
  font-weight: 700;
  cursor: pointer;
}

.howto__body {
  padding: 0 18px 18px;
  color: var(--text-2);
  font-size: 0.9375rem;
}

.howto ol {
  margin: 0 0 12px;
  padding-left: 1.25rem;
}

.howto li + li {
  margin-top: 6px;
}

.howto p + p {
  margin-top: 12px;
}

.sha {
  display: block;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.8125rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* Features */
.features {
  display: grid;
  gap: 14px;
  margin-top: 40px;
}

.feature {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.feature .icon {
  box-sizing: content-box;
  width: 22px;
  height: 22px;
  padding: 11px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}

.feature p {
  margin-top: 6px;
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.55;
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .app {
    padding: 44px 40px;
  }
}

@media (min-width: 960px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }

  .app {
    padding: 56px;
  }
}

/* Gallery */
.gallery {
  position: relative;
  margin: 44px -20px 0;
}

.track {
  display: flex;
  gap: 16px;
  padding: 8px 28px 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 28px;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
}

.track::-webkit-scrollbar {
  display: none;
}

.track li {
  flex: 0 0 82%;
  scroll-snap-align: start;
}

.shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: none;
  color: inherit;
  cursor: zoom-in;
  transition: transform 0.25s;
}

.shot:hover {
  transform: translateY(-4px);
}

.shot img {
  width: 100%;
  border-radius: 18px;
  background: #11131c;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.9);
}

.track--phones li {
  flex-basis: 62%;
}

.phone {
  display: block;
  padding: 7px;
  border-radius: 34px;
  background: #14161f;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 22px 44px -18px rgba(0, 0, 0, 0.9);
}

.phone img {
  border-radius: 27px;
  box-shadow: none;
}

.gbtn {
  position: absolute;
  top: calc(50% - 24px);
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(15, 16, 24, 0.85);
  color: var(--text);
  cursor: pointer;
  transition: opacity 0.2s, background-color 0.2s;
}

.gbtn:hover {
  background: rgba(40, 42, 58, 0.95);
}

.gbtn:disabled {
  opacity: 0;
  pointer-events: none;
}

.gbtn--prev {
  left: 12px;
}

.gbtn--next {
  right: 12px;
}

@media (min-width: 640px) {
  .gallery {
    margin-inline: -8px;
  }

  .gbtn {
    display: inline-flex;
  }

  .track li {
    flex-basis: 54%;
  }

  .track--phones li {
    flex-basis: 30%;
  }
}

@media (min-width: 960px) {
  .track li {
    flex-basis: 46%;
  }

  .track--phones li {
    flex-basis: calc((100% - 48px) / 4);
  }
}

/* About */
.about__text {
  max-width: 62ch;
  margin-top: 20px;
  color: var(--text-2);
  font-size: 1.1875rem;
}

.cards4 {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

.card {
  padding: 26px;
}

.card .icon {
  box-sizing: content-box;
  width: 22px;
  height: 22px;
  padding: 11px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.16);
  color: #c4b5fd;
}

.card p {
  margin-top: 8px;
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.stack {
  margin-top: 32px;
}

@media (min-width: 640px) {
  .cards4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .cards4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Contacts */
.contact {
  padding: 36px 24px;
  text-align: center;
}

.contact p {
  max-width: 52ch;
  margin: 16px auto 0;
  color: var(--text-2);
}

.contact__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.contact .btn--lg {
  min-height: 56px;
  padding: 0 32px;
  font-size: 1.125rem;
}

@media (min-width: 960px) {
  .contact {
    padding: 64px;
  }
}

/* Footer */
.footer {
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9375rem;
}

.footer__in {
  display: grid;
  gap: 12px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
}

.footer a {
  color: var(--text-2);
  text-underline-offset: 3px;
}

.footer a:hover {
  color: var(--text);
}

@media (min-width: 960px) {
  .footer__in {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

/* 404 */
.nf {
  padding: 96px 0 120px;
  text-align: center;
}

.nf__code {
  font-size: clamp(5rem, 18vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.nf h1 {
  margin-top: 16px;
  font-size: clamp(1.8rem, 3vw + 1rem, 3rem);
}

.nf .btn {
  margin-top: 32px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(4, 5, 9, 0.94);
  color: var(--text);
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(4, 5, 9, 0.94);
}

.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 64px 16px;
  touch-action: pan-y;
}

.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9);
}

.lightbox .gbtn {
  display: inline-flex;
  position: absolute;
}

.lightbox .gbtn:disabled {
  opacity: 0.25;
  pointer-events: none;
}

.lightbox__close {
  top: 12px;
  right: 12px;
  left: auto;
}

.lightbox__count {
  position: absolute;
  top: 24px;
  left: 20px;
  color: var(--text-2);
  font-size: 0.9375rem;
  font-weight: 700;
}

@media (min-width: 960px) {
  .lightbox__stage {
    padding: 64px 96px;
  }
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  @media (scripting: enabled) {
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .reveal.in {
      opacity: 1;
      transform: none;
    }
  }

  .float {
    animation: float 7s ease-in-out infinite;
  }

  .float--b {
    animation-duration: 9s;
    animation-delay: -3s;
  }

  .pix {
    animation: float 6s ease-in-out infinite;
  }

  .pix--2 {
    animation-delay: -2s;
  }

  .pix--3 {
    animation-delay: -4s;
  }

  @keyframes float {
    50% {
      transform: translateY(-10px);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
