:root {
  --ink: #0f1c2e;
  --mist: #f2f6fb;
  --sky: #2f6fed;
  --sky-deep: #1a4db8;
  --teal: #1f8f7a;
  --ember: #e07a2f;
  --line: rgba(15, 28, 46, 0.12);
  --display: "Sora", sans-serif;
  --body: "Figtree", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  background:
    radial-gradient(1100px 640px at 8% -12%, #cfe0ff 0%, transparent 55%),
    radial-gradient(900px 520px at 100% 0%, #d7f0ea 0%, transparent 48%),
    radial-gradient(700px 480px at 70% 100%, #ffe4cc 0%, transparent 45%),
    linear-gradient(165deg, #f7f9fc 0%, #eef3f9 50%, #e8f1ef 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

.top,
main,
.foot {
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1.2rem, 4vw, 3rem);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 1rem 1.25rem;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lang-link {
  color: rgba(15, 28, 46, 0.45);
  text-decoration: none;
  transition: color 0.2s ease;
}

.lang-link:hover {
  color: var(--sky);
}

.lang-link.is-active {
  color: var(--ink);
}

.brand-mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}

.top-link {
  color: var(--sky-deep);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.top-link:hover {
  border-color: var(--sky);
  color: var(--sky);
}

.hero {
  min-height: calc(100vh - 4.2rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(1rem, 3vw, 2rem) clamp(1.2rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem);
}

.hero-copy {
  max-width: 34rem;
  animation: rise 0.9s ease both;
}

.brand {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: var(--sky-deep);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.lede {
  margin: 0 0 1.75rem;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  line-height: 1.55;
  color: rgba(15, 28, 46, 0.78);
  max-width: 28rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  align-items: center;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.45rem;
  background: var(--ink);
  color: var(--mist);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: 0.55rem;
  transition: transform 0.25s ease, background 0.25s ease;
}

.cta:hover {
  background: var(--sky-deep);
  transform: translateY(-2px);
}

.cta-ghost {
  color: var(--sky-deep);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 77, 184, 0.35);
  padding-bottom: 0.15rem;
  transition: border-color 0.25s ease;
}

.cta-ghost:hover {
  border-color: var(--sky);
}

.hero-visual {
  position: relative;
  min-height: clamp(280px, 52vh, 520px);
  border-radius: 1.25rem;
  overflow: hidden;
  background: #0a1628;
  animation: fade-in 1.1s ease 0.15s both;
  box-shadow: 0 30px 60px rgba(15, 28, 46, 0.18);
}

.hero-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: soft-pulse 7s ease-in-out infinite;
}

.glow {
  position: absolute;
  inset: auto -20% -30% -20%;
  height: 55%;
  background: radial-gradient(circle at 50% 0%, rgba(47, 111, 237, 0.35), transparent 70%);
  animation: drift 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.2rem, 4vw, 3rem);
  max-width: 72rem;
  margin: 0 auto;
}

.section-alt {
  border-block: 1px solid var(--line);
  background: rgba(47, 111, 237, 0.06);
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.section-lede {
  margin: 0 0 2.4rem;
  max-width: 36rem;
  color: rgba(15, 28, 46, 0.72);
  font-size: 1.05rem;
  line-height: 1.55;
}

.points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.6rem;
  max-width: 40rem;
}

.points li {
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
  animation: rise 0.7s ease both;
}

.points li:nth-child(2) { animation-delay: 0.08s; }
.points li:nth-child(3) { animation-delay: 0.16s; }

.points h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.points p {
  margin: 0;
  color: rgba(15, 28, 46, 0.7);
  line-height: 1.5;
}

.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 2rem;
}

.features li {
  animation: rise 0.7s ease both;
}

.features li:nth-child(2) { animation-delay: 0.05s; }
.features li:nth-child(3) { animation-delay: 0.1s; }
.features li:nth-child(4) { animation-delay: 0.15s; }
.features li:nth-child(5) { animation-delay: 0.2s; }
.features li:nth-child(6) { animation-delay: 0.25s; }
.features li:nth-child(7) { animation-delay: 0.3s; }
.features li:nth-child(8) { animation-delay: 0.35s; }
.features li:nth-child(9) { animation-delay: 0.4s; }
.features li:nth-child(10) { animation-delay: 0.45s; }
.features li:nth-child(11) { animation-delay: 0.5s; }
.features li:nth-child(12) { animation-delay: 0.55s; }
.features li:nth-child(13) { animation-delay: 0.6s; }
.features li:nth-child(14) { animation-delay: 0.65s; }
.features li:nth-child(15) { animation-delay: 0.7s; }
/* Дальше задержку не наращиваем: карточка уехала бы в анимацию через секунду после
   того, как её увидели. Все следующие всплывают вместе с шестнадцатой. */
.features li:nth-child(n+16) { animation-delay: 0.75s; }

.cmd {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--teal);
}

.features h3 {
  margin: 0 0 0.4rem;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.features p {
  margin: 0;
  color: rgba(15, 28, 46, 0.7);
  line-height: 1.5;
  max-width: 28rem;
}

.features code,
.features kbd {
  padding: 0.1em 0.35em;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(15, 28, 46, 0.04);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  /* Моноширинный на глаз крупнее соседнего текста — сбавляем. */
  font-size: 0.88em;
  color: rgba(15, 28, 46, 0.85);
}

/* Адрес длинный, а телефон узкий: клавише переноситься нечем, ссылке — есть где. */
.features kbd {
  white-space: nowrap;
}

.features code {
  overflow-wrap: anywhere;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
  animation: rise 0.7s ease both;
}

.steps li:nth-child(2) { animation-delay: 0.08s; }
.steps li:nth-child(3) { animation-delay: 0.16s; }

.steps .n {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ember);
  letter-spacing: -0.03em;
}

.steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.steps p {
  margin: 0;
  color: rgba(15, 28, 46, 0.7);
  line-height: 1.5;
}

/* Отступ вешаем на ряд, а не на кнопку: внутри flex-строки поднятая кнопка
   разъехалась бы по вертикали с соседней ссылкой. */
.finale .cta-row {
  margin-top: 0.4rem;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  padding: 1.5rem clamp(1.2rem, 4vw, 3rem) 2.2rem;
  color: rgba(15, 28, 46, 0.55);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; transform: scale(0.985); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes drift {
  from { transform: translateY(0); opacity: 0.7; }
  to { transform: translateY(-18px); opacity: 1; }
}

@keyframes soft-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: 280px;
    order: -1;
  }

  .brand {
    font-size: clamp(2.3rem, 12vw, 3.4rem);
  }

  .features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
