:root {
  --bg: #141628;
  --text: #f4f6fb;
  --dim: #d5dced;
  --muted: #b7c0d6;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #cbbaf8;
  --mint: #b7f3dc;
  --cyan: #9aeff8;
  --shadow: 0 24px 60px rgba(4, 6, 20, 0.28);
  --radius: 26px;
  --header: 74px;
  --font: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --display: "Outfit", "Manrope", "Segoe UI", sans-serif;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  background: #141628;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 88% 8%, rgba(126, 92, 186, 0.28), transparent 60%),
    radial-gradient(700px 480px at 8% -10%, rgba(64, 86, 168, 0.22), transparent 55%),
    linear-gradient(180deg, #1b1e38 0%, #15172c 38%, #121426 100%);
  min-height: 100vh;
}

body.lock {
  overflow: hidden;
}

html:not([lang="en"]) .en {
  display: none !important;
}

html[lang="en"] .ru {
  display: none !important;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
  color: inherit;
}

::selection {
  background: rgba(186, 164, 255, 0.38);
  color: white;
}

:focus-visible {
  outline: 2px solid #d5c8ff;
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  padding: 10px 14px;
  border-radius: 999px;
  background: #efeaff;
  color: #211a38;
  text-decoration: none;
  font-weight: 700;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 64px 0;
  scroll-margin-top: calc(var(--header) + 12px);
}

.display {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(28px, 3.3vw, 42px);
  line-height: 1.12;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.display .line {
  display: block;
}

.display .indent {
  padding-left: 28px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--header);
  backdrop-filter: blur(18px);
  background: rgba(16, 18, 36, 0.42);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(14, 16, 34, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

.header-inner {
  min-height: var(--header);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  justify-self: start;
}

.logo svg {
  width: 34px;
  height: 34px;
}

.logo-name {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav-panel {
  display: flex;
  justify-content: center;
  gap: 26px;
}

.nav-panel a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14.5px;
  font-weight: 600;
}

.nav-panel a:hover,
.nav-panel a[aria-current="location"] {
  color: white;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.header-phone svg {
  width: 16px;
  height: 16px;
}

.lang {
  display: flex;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.lang button {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.lang button[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.14);
  color: white;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  position: relative;
  padding: 0;
  cursor: pointer;
}

.burger span {
  position: absolute;
  left: 13px;
  width: 16px;
  height: 1.6px;
  border-radius: 2px;
  background: white;
  transition: transform 0.2s ease, top 0.2s ease;
}

.burger span:first-child {
  top: 17px;
}

.burger span:last-child {
  top: 23px;
}

.burger.is-open span:first-child {
  top: 20px;
  transform: rotate(45deg);
}

.burger.is-open span:last-child {
  top: 20px;
  transform: rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(180deg, #e4d9ff 0%, #c3b2f6 100%);
  color: #241b3d;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.btn-sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
}

.btn-ghost {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  filter: none;
}

.hero {
  position: relative;
  padding: 28px 0 4px;
  overflow: hidden;
  scroll-margin-top: calc(var(--header) + 8px);
}

.hero-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(54vw, 720px);
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent, #000 24%);
}

.orb {
  position: absolute;
  border-radius: 50%;
}

.o1 {
  width: 380px;
  height: 240px;
  right: 10%;
  top: 6%;
  background: linear-gradient(145deg, rgba(248, 186, 224, 0.98), rgba(196, 160, 250, 0.35) 72%);
}

.o2 {
  width: 460px;
  height: 280px;
  right: -40px;
  top: 26%;
  background: linear-gradient(160deg, rgba(154, 226, 248, 0.96), rgba(206, 176, 255, 0.34) 70%);
}

.o3 {
  width: 250px;
  height: 170px;
  right: 26%;
  top: 48%;
  background: linear-gradient(180deg, rgba(176, 246, 220, 0.95), rgba(164, 186, 255, 0.18));
}

.o4 {
  width: 620px;
  height: 520px;
  right: -80px;
  top: -40px;
  background: radial-gradient(circle, rgba(164, 126, 230, 0.42), transparent 68%);
  filter: blur(10px);
}

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

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ddd2fb;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px var(--mint);
  flex: none;
}

.hero h1 {
  width: fit-content;
  max-width: 100%;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(34px, 4.7vw, 68px);
  line-height: 0.92;
  letter-spacing: 0.012em;
  text-transform: uppercase;
}

.hero h1 .line {
  display: block;
  white-space: nowrap;
}

.aside {
  margin: 14px 0 0;
  max-width: 100%;
  text-align: left;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #f2eefe;
}

.aside a {
  color: inherit;
  text-underline-offset: 3px;
  text-decoration-color: rgba(242, 238, 254, 0.55);
}

.aside a:hover {
  color: white;
}

.offer {
  margin-top: 18px;
  color: var(--mint);
  font-weight: 700;
  font-size: 15px;
}

.lead {
  margin-top: 10px;
  max-width: 520px;
  color: var(--dim);
}

.hero .btn {
  margin-top: 20px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 18px 42px;
  width: fit-content;
  max-width: 100%;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stats strong {
  display: block;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.stats span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  max-width: 140px;
}

.stats strong span {
  display: inline;
  color: inherit;
  font-size: inherit;
  max-width: none;
}

.stats .star {
  display: inline;
  margin-left: 3px;
  font-size: 0.72em;
  line-height: 1;
}

.grid-4,
.grid-2,
.band-grid {
  display: grid;
  gap: 16px;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-2,
.band-grid {
  grid-template-columns: 1fr 1fr;
}

.card,
.job,
.panel,
.contact-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow);
}

.card {
  padding: 26px 20px 24px;
}

.card.center {
  text-align: center;
}

.icon {
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: white;
}

.center .icon {
  margin-inline: auto;
}

.icon svg {
  width: 22px;
  height: 22px;
}

.card h3,
.panel h3,
.job h3 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.card p,
.panel p,
.panel li,
.job li {
  color: var(--dim);
}

.card p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.55;
}

.card.feature {
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(120, 230, 242, 0.22), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  border-color: rgba(154, 239, 248, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 0 42px rgba(90, 210, 230, 0.16);
}

.card.feature .icon {
  color: #ddfbff;
  border-color: rgba(180, 245, 250, 0.45);
}

.index {
  display: block;
  margin-bottom: 12px;
  color: #cfc3f8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.jobs {
  display: grid;
  gap: 14px;
}

.job {
  padding: 26px 26px 22px;
}

.job-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.eyebrow {
  margin-bottom: 6px;
  color: #cfc3f8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.growth,
.when {
  color: var(--muted);
  font-size: 14px;
}

.growth {
  margin-top: 4px;
}

.when {
  white-space: nowrap;
  padding-top: 4px;
}

.job ul {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.job li {
  position: relative;
  padding-left: 16px;
}

.job li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #cbbaf8;
}

.panel {
  padding: 26px;
}

.panel h3 + p,
.panel .chips,
.panel ul,
.subhead {
  margin-top: 14px;
}

.subhead {
  margin-top: 22px;
}

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

.chip {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  color: #e7ebf8;
}

.panel li + li {
  margin-top: 8px;
}

.panel a {
  color: #efe8ff;
  text-decoration-color: rgba(239, 232, 255, 0.35);
  text-underline-offset: 3px;
}

.contact-box {
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.contact-box::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 180px;
  right: -40px;
  bottom: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(186, 160, 255, 0.28), transparent 70%);
  pointer-events: none;
}

.contact-box > * {
  position: relative;
  z-index: 1;
}

.contact-box .lead {
  margin-top: 0;
  max-width: 620px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

.contact-meta a {
  color: var(--dim);
  text-decoration: none;
}

.contact-meta a:hover {
  color: white;
}

.footer {
  padding: 10px 0 28px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 14px;
}

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

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

  .o1 {
    animation: float1 18s ease-in-out infinite;
  }

  .o2 {
    animation: float2 22s ease-in-out infinite;
  }

  .o3 {
    animation: float3 16s ease-in-out infinite;
  }
}

@keyframes float1 {
  50% {
    transform: translate3d(-18px, 16px, 0);
  }
}

@keyframes float2 {
  50% {
    transform: translate3d(14px, -18px, 0);
  }
}

@keyframes float3 {
  50% {
    transform: translate3d(-10px, -14px, 0);
  }
}

@media (max-width: 1180px) {
  .header-phone {
    display: none;
  }
}

@media (min-width: 800px) {
  .display .indent {
    padding-left: 72px;
  }

  .section {
    padding: 76px 0;
  }
}

@media (max-width: 980px) {
  .header-inner {
    display: flex;
    justify-content: space-between;
  }

  .burger {
    display: flex;
  }

  .nav-panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    flex-direction: column;
    gap: 4px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(16, 18, 38, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-panel.open {
    display: flex;
  }

  .nav-panel a {
    padding: 12px 12px;
    border-radius: 12px;
  }

  .nav-panel a:hover {
    background: rgba(255, 255, 255, 0.04);
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .hero-art {
    width: 100%;
    opacity: 0.4;
    mask-image: none;
  }

  .hero h1 {
    font-size: clamp(32px, 10vw, 46px);
  }

  .hero h1 .line {
    white-space: normal;
  }

  .grid-2,
  .band-grid,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .job-head {
    flex-direction: column;
    gap: 8px;
  }

  .when {
    white-space: normal;
  }

  .contact-box,
  .job,
  .panel {
    padding: 22px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .stats {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 560px) {
  .actions .btn {
    width: 100%;
  }

  .header-tools {
    gap: 8px;
  }

  .btn-sm {
    min-height: 34px;
    padding: 0 10px;
    font-size: 13px;
  }

  .hero h1 {
    font-size: clamp(30px, 9.2vw, 40px);
  }
}
