@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  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 {
  color-scheme: dark;

  --lime: #b8ec4c;
  --lime-bright: #c9ff5f;
  --lime-tint: #19220e;
  --lime-stroke: #44521e;
  --black: #030404;
  --bg: #070908;
  --surface: #0e1110;
  --surface-2: #161b18;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #f4f7f2;
  --text-soft: #d4ddd5;
  --muted: #aab5ad;
  --muted-2: #758077;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 8px;
  --r-lg: 14px;
  --r-pill: 999px;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
  --container: 1180px;
  --gutter: 24px;
}

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

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

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

a {
  color: var(--lime);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--lime-bright);
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r);
  background: var(--lime);
  color: var(--black);
  font-weight: 700;
}

.skip:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 9, 8, 0.88);
  backdrop-filter: blur(12px);
}

.site-nav .container {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 68px;
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand svg {
  width: 28px;
  height: 28px;
}

.brand img {
  width: auto;
  height: 20px;
  margin-bottom: 6px;
}

.nav-links {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.nav-links a,
.nav-lang {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.nav-lang {
  padding: 0 8px;
}

.nav-links a:hover,
.nav-lang:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.nav-links + .nav-actions {
  margin-left: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--r);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.btn-primary,
.btn-primary:hover {
  color: var(--black);
}

.btn-primary {
  background: var(--lime);
}

.btn-primary:hover {
  background: var(--lime-bright);
}

.btn-secondary,
.btn-secondary:hover {
  color: var(--text);
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.14);
}

.btn-light,
.btn-light:hover {
  color: var(--black);
}

.btn-light {
  background: var(--text);
}

.btn-light:hover {
  background: #dfe7d6;
}

.site-nav .btn {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--lime);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
}

.lead {
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.55;
}

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 680px;
  margin: 0 0 44px;
}

.section-head .lead {
  color: var(--muted);
}

.hero {
  padding: 88px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

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

.mock {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  font-size: 14px;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.mock-bar .chan {
  margin-left: auto;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--text);
  font-size: 12px;
}

.mock-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.msg {
  max-width: 86%;
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  line-height: 1.45;
}

.msg small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
}

.msg-in {
  background: var(--surface-2);
}

.msg-draft {
  justify-self: end;
  border: 1px dashed var(--lime-stroke);
  background: var(--lime-tint);
}

.msg-draft small {
  color: var(--lime);
}

.mock-order {
  margin: 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface-2);
}

.mock-order ul {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.mock-order li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0;
}

.mock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px;
}

.mock-actions span {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 600;
}

.mock-actions span:first-child {
  border-color: transparent;
  background: var(--lime);
  color: var(--black);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  padding: 8px;
  border: 1px solid var(--lime-stroke);
  border-radius: var(--r);
  background: var(--lime-tint);
  color: var(--lime);
}

.card-wide {
  grid-column: span 2;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  padding: 24px 0 0;
  border-top: 1px solid var(--line-strong);
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 14px;
  color: var(--lime);
  font-size: 14px;
  font-weight: 800;
}

.steps p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.app-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 56px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 12px;
  border: 1px solid var(--lime-stroke);
  border-radius: var(--r-pill);
  background: var(--lime-tint);
  color: var(--lime);
  font-size: 13px;
  font-weight: 700;
}

.checks {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  gap: 12px;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.45;
}

.checks svg {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--lime);
}

.contact .section-head {
  margin-bottom: 28px;
}

.mail {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
}

.site-footer {
  margin-top: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 14px;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.site-footer nav a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}

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

.legal {
  margin: 0;
  font-size: 13px;
}

.doc {
  max-width: 760px;
  padding: 64px 0 40px;
}

.doc h1 {
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1.08;
}

.doc h2 {
  margin: 40px 0 12px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
}

.doc p,
.doc li {
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.65;
}

.doc strong {
  color: var(--text);
}

.doc ul {
  padding-left: 22px;
}

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

.doc .meta {
  margin: 12px 0 32px;
  color: var(--muted);
}

.doc .note {
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.doc .note p {
  margin: 0;
}

.notfound {
  padding: 120px 0;
  text-align: center;
}

.notfound .lead {
  margin-bottom: 32px;
}

.notfound .hero-actions {
  justify-content: center;
}

@media (max-width: 1023px) {
  .hero-grid,
  .app-panel {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 16px;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .section {
    padding: 56px 0;
  }

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

  .card-wide {
    grid-column: auto;
  }

  .card {
    padding: 24px;
  }

  .app-panel {
    gap: 32px;
    padding: 32px 24px;
  }

  .site-nav .container {
    height: 60px;
    gap: 8px;
  }

  .brand img {
    height: 18px;
  }

  .site-nav .btn {
    padding: 0 12px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }
}
