@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/pt-sans-400-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/pt-sans-400-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;
}
@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/pt-sans-700-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/pt-sans-700-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;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-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 {
  --blue: #507AFF;
  --mint: #5BFFCD;
  --sky: #53A3F0;
  --navy: #0B1233;
  --ink: #111522;
  --blue-dark: #2F55E0;
  --light: #F2F5FB;
  --grey: #5A6178;
  --rule: #D9DFEC;
  --white: #FFFFFF;
  --font-sans: "PT Sans", Arial, sans-serif;
  --font-mono: "JetBrains Mono", Consolas, monospace;
  --gutter: clamp(24px, 4vw, 56px);
  --header-h: 76px;
  --section-pad: clamp(56px, 8vw, 104px);
}

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

html {
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  background: var(--navy);
}

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

body {
  margin: 0;
  font: 400 15px/1.4667 var(--font-sans);
  color: var(--ink);
  background: var(--white);
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
}

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

h1,
h2,
h3 {
  font-weight: 700;
}

h2 {
  font-size: 28px;
  line-height: 34px;
}

h3 {
  font-size: 20px;
  line-height: 26px;
}

.lead {
  font-size: 18px;
  line-height: 27px;
}

.label {
  font: 500 12px/16px var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-dark);
}

a {
  color: var(--blue-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--ink);
}

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

.dark {
  background: var(--navy);
  color: var(--white);
}

.sprite {
  display: none;
}

:where(.dark) a {
  color: inherit;
}

:where(.dark) a:hover {
  color: var(--mint);
}

.dark .label {
  color: var(--mint);
}

.dark .lead {
  color: var(--light);
}

.dark :focus-visible {
  outline-color: var(--white);
}

.container {
  width: min(calc(100% - 2 * var(--gutter)), 1200px);
  margin-inline: auto;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

.section {
  padding-block: var(--section-pad);
}

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

.section--flush {
  padding-top: 0;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 12px 16px;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 4px;
  font: 700 16px/1 var(--font-sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.button--mint {
  background: var(--mint);
  color: var(--navy);
}

.button--mint:hover {
  background: var(--white);
  color: var(--navy);
}

.button--ink {
  background: var(--ink);
  color: var(--white);
}

.button--ink:hover {
  background: var(--blue-dark);
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  white-space: nowrap;
}

.text-link svg {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform 0.15s ease;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.text-link:hover svg {
  transform: translateX(4px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: var(--header-h);
}

.logo img {
  width: 126px;
  height: auto;
}

.site-nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.site-nav a,
.site-header__phone {
  padding: 6px 0;
  font-size: 15px;
  line-height: 24px;
  text-decoration: none;
}

.site-nav a:hover,
.site-header__phone:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
  text-decoration-color: var(--mint);
}

.site-header__phone {
  font: 500 14px/24px var(--font-mono);
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  align-items: center;
  margin-left: auto;
  padding: 12px 0 12px 16px;
  border: 0;
  background: none;
  color: inherit;
  font: 500 12px/16px var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 56px;
}

.hero__text {
  max-width: 520px;
}

.hero--binary .hero__inner {
  pointer-events: none;
}

.hero--binary .hero__text {
  pointer-events: auto;
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(36px, 2.4vw + 22px, 64px);
  line-height: 1.06;
  letter-spacing: -0.005em;
}

.hero__lead {
  max-width: 480px;
  margin-top: 24px;
}

.hero .actions {
  margin-top: 36px;
}

.hero__phone {
  padding: 12px 0;
  font: 500 18px/24px var(--font-mono);
  text-decoration: none;
  white-space: nowrap;
}

.hero__phone:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.hero__stage {
  position: relative;
  height: 288px;
  margin-top: 12px;
}

.hero--binary .hero__stage {
  cursor: default;
  -webkit-tap-highlight-color: transparent;
}

.hero--binary .hero__stage:focus-visible {
  outline: 1px solid var(--mint);
  outline-offset: -12px;
}

.hero__sign {
  position: absolute;
  right: 0;
  bottom: -40px;
  width: auto;
  max-width: none;
  height: 336px;
  transform: translateX(24%);
}

.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particles span {
  position: absolute;
  font: 500 16px/1 var(--font-mono);
  transform: translate(-50%, -50%);
}

.hero--binary .hero__sign {
  transition: filter 0.25s ease;
}

.hero--binary .hero__stage:hover .hero__sign,
.hero--binary .hero__stage:focus-visible .hero__sign {
  filter: brightness(1.08);
}

.hero--binary canvas.particles {
  width: 100%;
  height: 100%;
}

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

@media (min-width: 1200px) {
  .hero {
    display: grid;
    align-content: center;
    min-height: min(calc(100svh - var(--header-h)), 680px);
  }

  .hero__inner {
    padding-block: 64px;
  }

  .hero__stage {
    position: absolute;
    inset: 0;
    z-index: 0;
    height: auto;
    margin: 0;
  }

  .hero__sign {
    top: 50%;
    bottom: auto;
    height: 86%;
    transform: translate(26%, -50%);
  }

  .hero--echo .hero__sign {
    transform: translate(15%, -50%);
  }
}

.section-head .label + h2 {
  margin-top: 16px;
}

.section-head h2 + .lead {
  margin-top: 16px;
}

.section-head + * {
  margin-top: clamp(32px, 5vw, 56px);
}

.split > .section-head + * {
  margin-top: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px 72px;
  align-items: start;
}

.rows {
  border-bottom: 1px solid var(--rule);
}

.row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 4px 16px;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
}

.row > * {
  grid-column: 2;
}

.row__num {
  grid-column: 1;
  font: 500 14px/26px var(--font-mono);
  color: var(--blue-dark);
}

.row p {
  color: var(--grey);
}

.band {
  padding-block: var(--section-pad) clamp(40px, 6vw, 72px);
}

.band .container {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px 48px;
  align-items: center;
}

.band__intro {
  max-width: 580px;
}

.band .label + h2 {
  margin-top: 16px;
}

.band h2 + .lead {
  margin-top: 16px;
}

.band .actions {
  margin-top: 32px;
}

.band__echo {
  width: min(100%, 500px);
  height: auto;
  justify-self: end;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--rule);
}

.feature {
  padding: 24px 40px 32px 0;
  border-top: 1px solid var(--rule);
}

.feature__num {
  font: 500 14px/20px var(--font-mono);
  color: var(--blue-dark);
}

.feature h3 {
  margin-top: 10px;
}

.feature p {
  margin-top: 8px;
  color: var(--grey);
}

.feature__list {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.feature__list li {
  position: relative;
  padding-left: 18px;
  color: var(--grey);
}

.feature__list li::before {
  content: "";
  position: absolute;
  top: 10.5px;
  left: 0;
  width: 8px;
  height: 1px;
  background: var(--blue);
}

.features--double {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.features--double .feature {
  padding-block: 32px 40px;
}

.terms {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding-top: 24px;
}

.terms dd {
  margin-top: 8px;
  font-size: 18px;
  line-height: 26px;
  font-weight: 700;
}

.terms .label {
  color: var(--grey);
}

.terms .text-link {
  padding: 0;
}

.stack {
  border-bottom: 1px solid var(--rule);
}

.stack__row {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 8px 56px;
  padding: 24px 0 28px;
  border-top: 1px solid var(--rule);
}

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

.stack__list li {
  font-size: 16px;
  line-height: 26px;
}

.stack__list li:not(:last-child)::after {
  content: ",";
}

.contacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 64px;
  border-bottom: 1px solid var(--rule);
}

.contact {
  padding: 24px 0 28px;
  border-top: 1px solid var(--rule);
}

.contact .label {
  color: var(--grey);
}

.contact dd {
  margin-top: 10px;
  font-size: 18px;
  line-height: 26px;
}

.contact dd a {
  text-decoration: none;
}

.contact dd a:hover {
  text-decoration: underline;
}

.contact__value--mono {
  font: 500 20px/26px var(--font-mono);
}

.contact__note {
  margin-top: 6px;
  font-size: 15px;
  line-height: 22px;
  color: var(--grey);
}

.office {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.office[data-state="open"]::before {
  background: var(--blue);
}

.site-footer {
  padding: 64px 0 32px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px 32px;
}

.site-footer__brand img {
  width: clamp(120px, 12vw, 160px);
  height: auto;
}

.site-footer__brand p {
  max-width: 320px;
  margin-top: 36px;
  font-size: 13px;
  line-height: 20px;
  color: var(--rule);
}

.site-footer .label {
  color: var(--rule);
}

.site-footer ul,
.site-footer address {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  font-size: 15px;
  line-height: 22px;
  font-style: normal;
}

.quote {
  padding-left: 24px;
  border-left: 2px solid var(--blue);
}

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

.quote footer {
  margin-top: 16px;
  font: 500 12px/16px var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
}

.facts {
  margin-top: 32px;
  border-bottom: 1px solid var(--rule);
}

.facts > div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}

.facts .label {
  color: var(--grey);
}

.plan {
  padding: 32px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--white);
}

.plan h3 {
  margin-top: 12px;
}

.plan h3 + p {
  margin-top: 8px;
  color: var(--grey);
}

.plan__price {
  margin-top: 24px;
  font: 500 32px/40px var(--font-mono);
  color: var(--blue-dark);
}

.plan__note {
  margin-top: 8px;
  color: var(--grey);
}

.plan ul {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.plan li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  font-size: 16px;
  line-height: 24px;
}

.plan li svg {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--blue-dark);
}

.plan .button {
  width: 100%;
  margin-top: 32px;
}

.demo {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px 56px;
  align-items: center;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 8px;
}

.demo h2 {
  margin-top: 16px;
}

.demo .lead {
  margin-top: 16px;
}

.demo-phone {
  font: 500 clamp(22px, 2.2vw, 30px)/1.3 var(--font-mono);
  color: var(--mint);
  text-decoration: none;
  white-space: nowrap;
}

.demo-phone:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.demo .actions {
  margin-top: 24px;
}

.demo__note {
  margin-top: 24px;
  font-size: 15px;
  line-height: 22px;
  color: var(--rule);
}

@media (max-width: 1199px) {
  .site-header__inner {
    gap: 24px;
  }

  .site-nav {
    gap: 24px;
  }

  .band .container {
    grid-template-columns: minmax(0, 1fr);
  }

  .band__echo {
    width: min(100%, 400px);
  }

  .split {
    gap: 32px 48px;
  }

  .features--double {
    grid-template-columns: minmax(0, 1fr);
  }

  .features--double .feature {
    padding-block: 24px 32px;
  }
}

@media (max-width: 979px) {
  .split,
  .features,
  .contacts,
  .demo {
    grid-template-columns: minmax(0, 1fr);
  }

  .split {
    gap: 40px;
  }

  .terms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stack__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__brand p {
    margin-top: 28px;
  }

  .demo {
    justify-items: start;
  }
}

@media (max-width: 900px) {
  html:not(.js) .site-header__inner {
    flex-wrap: wrap;
    row-gap: 8px;
    padding-block: 14px 8px;
  }

  html:not(.js) .site-nav {
    flex-basis: 100%;
    flex-wrap: wrap;
    gap: 0 24px;
    margin-left: 0;
  }

  html:not(.js) .site-nav a {
    padding: 8px 0;
  }

  .js .menu-toggle {
    display: inline-flex;
  }

  .js .site-nav {
    position: absolute;
    top: 100%;
    left: calc(-1 * var(--gutter));
    right: calc(-1 * var(--gutter));
    z-index: 1;
    display: none;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px 0 16px;
    padding-left: calc(var(--gutter) + env(safe-area-inset-left, 0px));
    padding-right: calc(var(--gutter) + env(safe-area-inset-right, 0px));
    background: var(--light);
    color: var(--ink);
  }

  .js .site-header.is-open .site-nav {
    display: flex;
  }

  .js .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--rule);
    font-size: 18px;
    line-height: 26px;
  }

  .js .site-nav a:last-child {
    border-bottom: 0;
  }

  .js .site-nav a:hover {
    text-decoration: none;
    color: var(--blue-dark);
  }
}

@media (max-width: 719px) {
  .hero__inner {
    padding-top: 40px;
  }

  .hero__stage {
    height: 240px;
  }

  .band__echo {
    display: none;
  }

  .hero__sign {
    bottom: -44px;
    height: 280px;
  }

  .hero--echo .hero__stage {
    height: 256px;
  }

  .hero--echo .hero__sign {
    bottom: -10px;
    height: 250px;
    transform: translateX(8%);
  }

  .feature {
    padding-right: 0;
  }
}

@media (max-width: 639px) {
  h2 {
    font-size: 24px;
    line-height: 30px;
  }

  .lead {
    font-size: 17px;
    line-height: 26px;
  }

  .features,
  .terms,
  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .facts > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .plan {
    padding: 24px;
  }

  .site-header__phone {
    display: none;
  }
}
