@font-face {
  font-family: 'Onest';
  src: url('/assets/fonts/onest-latin-wght-normal.woff2') format('woff2');
  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('/assets/fonts/onest-cyrillic-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest Fallback';
  src: local('Arial');
  size-adjust: 104%;
  ascent-override: 95%;
  descent-override: 25%;
}

:root {
  --bg: #ffffff;
  --ink: #000000;
  --muted: #5c5c68;
  --line: #e3e3ea;
  --soft: #f3f4f8;
  --blue: #1f3bff;
  --blue-deep: #1229d1;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  color-scheme: light;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Onest', 'Onest Fallback', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2 {
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.5rem, 1.5rem + 4vw, 5rem);
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -80px;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip:focus {
  top: 10px;
}

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}
.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.btn-blue {
  background: var(--blue);
  color: #fff;
}
.btn-blue:hover {
  background: var(--blue-deep);
}
.btn-line {
  border-color: var(--ink);
}
.btn-line:hover {
  background: var(--ink);
  color: #fff;
}
.btn-white {
  background: #fff;
  color: var(--blue);
}
.btn-white:hover {
  background: var(--ink);
  color: #fff;
}
.btn-sm {
  min-height: 42px;
  padding: 0.5rem 1.1rem;
  font-size: 0.95rem;
}

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(255 255 255 / 0.96);
  border-bottom: 1px solid var(--line);
}
.header-in {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.logo svg {
  width: 32px;
  height: 32px;
}
.nav {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
}
.nav a {
  font-weight: 600;
  text-decoration: none;
}
.nav a:hover {
  color: var(--blue);
}
.lang {
  display: inline-flex;
  border: 2px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  min-height: 42px;
}
.lang span {
  display: grid;
  place-items: center;
  padding: 0 0.7rem;
}
.lang .on {
  background: var(--ink);
  color: #fff;
}
@media (max-width: 820px) {
  .nav {
    display: none;
  }
  .lang {
    margin-left: auto;
  }
  .header-tg span.label {
    display: none;
  }
  .header-tg {
    padding-inline: 0.8rem;
  }
}

/* Hero */

.hero {
  padding-block: clamp(3rem, 2rem + 5vw, 7rem) clamp(3.5rem, 2rem + 6vw, 8rem);
  overflow: hidden;
}
.hero-in {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-in {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  }
}
.hero h1 {
  font-size: clamp(3.25rem, 1.5rem + 5.6vw, 6.5rem);
}
.hero h1 span {
  display: block;
}
.hero p {
  margin-top: 1.75rem;
  max-width: 34rem;
  font-size: 1.3rem;
  line-height: 1.45;
  color: var(--muted);
}
.hero .btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}
.hero-price {
  position: relative;
  justify-self: center;
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.8;
  color: var(--blue);
  font-size: clamp(9rem, 4rem + 22vw, 22rem);
  user-select: none;
}
.hero-price small {
  position: absolute;
  right: 0.12em;
  bottom: -0.35em;
  font-size: 0.075em;
  letter-spacing: 0;
  font-weight: 700;
  color: var(--ink);
}
@media (max-width: 899px) {
  .hero-price {
    display: none;
  }
}

/* Prices */

.section {
  padding-block: clamp(4rem, 3rem + 4vw, 7rem);
}
.prices h2 {
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}
.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 3px solid var(--ink);
}
.price-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 900px) {
  .price-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 4rem;
  }
}
.price-big {
  background: var(--blue);
  color: #fff;
  border-radius: 24px;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  display: grid;
  align-content: end;
  min-height: clamp(220px, 30vw, 420px);
}
@media (min-width: 900px) {
  .price-big {
    position: sticky;
    top: 100px;
  }
}
.price-big strong {
  font-size: clamp(7rem, 4rem + 12vw, 15rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.8;
}
.price-big span {
  margin-top: 1rem;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  font-weight: 700;
}
.price-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem) 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 600px) {
  .price-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
  }
}
.price-row h3 {
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.price-row p {
  margin-top: 0.35rem;
  color: var(--muted);
  max-width: 30rem;
}
.price-row .btn {
  justify-self: start;
}

/* Steps */

.steps-list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 2rem;
}
@media (min-width: 820px) {
  .steps-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}
.steps-list li {
  border-top: 3px solid var(--ink);
  padding-top: 1.25rem;
}
.step-n {
  display: block;
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--blue);
  margin-bottom: 1rem;
}
.steps-list h3 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.steps-list p {
  margin-top: 0.4rem;
  color: var(--muted);
}
.steps-list a {
  font-weight: 700;
  color: var(--blue);
}

/* CTA + footer */

.cta {
  background: var(--soft);
}
.cta-in {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}
.cta-handle {
  display: block;
  margin-top: 1rem;
  font-size: clamp(1.75rem, 1rem + 3vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--blue);
  text-decoration: none;
  word-break: break-all;
}
.cta-handle:hover {
  text-decoration: underline;
}
.footer {
  padding-block: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--muted);
}
.footer-in {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}
.footer a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

/* 404 */

.nf {
  min-height: 60vh;
  display: grid;
  align-content: center;
  gap: 1.5rem;
  justify-items: start;
}
.nf h1 {
  font-size: clamp(3rem, 2rem + 5vw, 6rem);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* Blog */

.page-head {
  padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem) clamp(2rem, 1.5rem + 2vw, 3rem);
  border-bottom: 3px solid var(--ink);
}
.page-head h1 {
  margin-top: 1.5rem;
  font-size: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  max-width: 18ch;
}
.page-lede {
  margin-top: 1.25rem;
  max-width: 40rem;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--muted);
}
.meta {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.crumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.crumbs li + li::before {
  content: '/';
  margin-right: 0.4rem;
}
.crumbs a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.crumbs a:hover {
  color: var(--blue);
}
.prose {
  max-width: 44rem;
  font-size: 1.125rem;
  line-height: 1.7;
}
.prose h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 2.75rem 0 1rem;
}
.prose p + p {
  margin-top: 1rem;
}
.prose ul,
.prose ol {
  margin: 1rem 0;
  padding-left: 1.3rem;
}
.prose li + li {
  margin-top: 0.5rem;
}
.prose li::marker {
  color: var(--blue);
}
.article-body {
  padding-top: clamp(2rem, 1.5rem + 2vw, 3rem);
}
.article-offer {
  margin-top: 3rem;
  padding: 1.5rem;
  border: 3px solid var(--blue);
  border-radius: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.article-offer p {
  font-size: 1.25rem;
  font-weight: 700;
}
.article-offer strong {
  color: var(--blue);
  font-size: 1.6rem;
}
.article-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 3px solid var(--ink);
}
.blog-index .article-list {
  margin-top: 0;
  border-top: 0;
}
.article-list a {
  display: block;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.article-list h2,
.article-list h3 {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.article-list a:hover h2,
.article-list a:hover h3 {
  color: var(--blue);
}
.article-list p {
  margin-top: 0.4rem;
  color: var(--muted);
  max-width: 44rem;
}
.more {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 700;
  color: var(--blue);
}
.mini-prices {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-weight: 600;
}
.mini-prices strong {
  color: var(--blue);
}
.related {
  padding-top: 0;
}
.related h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
}
@media (max-width: 1080px) {
  .nav {
    gap: 1rem;
  }
}
