@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/golos-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/golos-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/golos-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/golos-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 {
  --bg: #ffffff;
  --band: #f3f3f3;
  --ink: #111111;
  --muted: #3d3d3d;
  --accent: #111111;
  --line: #d8d8d8;
  --on-dark: #f5f5f5;
  --on-dark-muted: #b5b5b5;
  --max: 1240px;
  --header: 72px;
  --radius: 2px;
  --pad: 20px 22px;
  --font: "Golos Text", "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 80;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--on-dark);
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.logo-mark {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  object-fit: contain;
  background: #111;
}

.logo-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav {
  display: flex;
  gap: 18px;
}

.nav a {
  text-decoration: none;
  font-size: 14px;
  color: var(--muted);
}

.nav a:hover,
.nav a.is-active {
  color: var(--ink);
}

.header-mail {
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  padding: 7px 12px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  text-decoration: none;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.btn-primary:hover {
  background: #000;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.btn-light:hover {
  background: transparent;
  color: #fff;
}

.btn-line {
  background: transparent;
  color: #fff;
  border-color: #777;
}

.btn-line:hover {
  border-color: #fff;
}

.hero {
  padding: 48px 0 64px;
  background: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 48px;
  align-items: stretch;
}

.kicker,
.section-kicker {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: 48px;
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.lead,
.section-intro {
  margin: 0 0 14px;
  max-width: 34em;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.lead + .lead,
.section-intro + .section-intro {
  margin-top: 0;
}

.hero-copy .lead:last-of-type {
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.proof {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.media {
  margin: 0;
  overflow: hidden;
  background: #111;
  min-height: 280px;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media {
  min-height: 420px;
}

.direction-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 40px;
  background: var(--line);
  border: 1px solid var(--line);
}

.direction {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: var(--pad);
  background: #fff;
}

.direction .num,
.card .num,
.task .num,
.service .num,
.scheme-node .num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.direction p,
.direction h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 500;
}

.band {
  padding: 72px 0;
  background: var(--band);
}

.band-alt {
  background: #fff;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
  margin-bottom: 32px;
}

.split-reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.split .media {
  min-height: 320px;
}

.band h2 {
  margin: 0 0 14px;
  font-size: 32px;
  line-height: 1.22;
  font-weight: 500;
  letter-spacing: -0.03em;
  max-width: 18em;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
}

.service + .service {
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 14px;
  padding: var(--pad);
  align-items: start;
}

.service h3 {
  margin: 0 0 4px;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 500;
}

.service .summary,
.service .details,
.card p,
.task p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.service .details {
  display: none;
  margin-top: 10px;
  max-width: 62ch;
}

.service .details.is-open {
  display: block;
}

.more {
  margin: 0;
  border: 0;
  padding: 4px 0 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  scroll-margin-top: 88px;
}

.section-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
}

.section-foot p {
  margin: 0;
  max-width: 48em;
  color: var(--muted);
}

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

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

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  padding: var(--pad);
  min-height: 100%;
}

.ico {
  width: 20px;
  height: 20px;
  display: block;
  flex: none;
  color: var(--ink);
}

.ico-wrap {
  display: flex;
  color: var(--ink);
}

.card h3,
.task h3 {
  margin: 8px 0 8px;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 500;
}

.infra-note {
  margin: 24px 0 0;
  color: var(--muted);
  max-width: 54em;
}

.task-list {
  display: grid;
  gap: 12px;
}

.task {
  display: grid;
  grid-template-columns: 28px minmax(12em, 0.85fr) minmax(0, 1.2fr);
  gap: 8px 20px;
  padding: var(--pad);
  background: #fff;
  border: 1px solid var(--line);
  align-items: center;
}

.task .ico-wrap {
  margin-top: 0;
}

.task h3 {
  margin: 0;
  font-size: 17px;
  max-width: none;
}

.about-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 280px;
}

.about-mark {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: contain;
  background: #111;
}

.about-word {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-align: center;
}

.about-copy p {
  max-width: 38em;
  line-height: 1.5;
}

.about-brand + div p,
.split p {
  color: var(--muted);
}

.split h2 + p,
.split p + p {
  margin-top: 10px;
}

.block-start {
  margin-top: 56px;
}

.faq-item + .faq-item {
  border-top: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0;
}

.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: var(--pad);
  border: 0;
  background: none;
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.faq-item button span {
  font-family: var(--mono);
  color: var(--muted);
}

.faq-item .answer {
  display: none;
  padding: 0 24px 22px;
  color: var(--muted);
  max-width: 62ch;
}

.faq-item.is-open .answer {
  display: block;
}

.contacts {
  background: #111;
  color: var(--on-dark);
  padding: 72px 0;
}

.contacts .kicker {
  color: #9a9a9a;
}

.contacts h2 {
  color: #fff;
  font-size: 32px;
  margin: 0 0 14px;
  font-weight: 500;
  letter-spacing: -0.03em;
  max-width: 18em;
}

.contacts .lead,
.contacts p {
  color: var(--on-dark-muted);
}

.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: end;
}

.email-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.email {
  font-size: 28px;
  letter-spacing: -0.03em;
  color: #fff;
  text-decoration: none;
  width: fit-content;
}

.email:hover {
  opacity: 0.75;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.copy-status {
  min-height: 20px;
  margin: 0;
  font-size: 14px;
  color: #cfcfcf;
}

.hint {
  margin: 20px 0 0;
  font-size: 14px;
}

.footer {
  background: #111;
  color: #9a9a9a;
  border-top: 1px solid #2a2a2a;
  padding: 22px 0 28px;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 28px;
  align-items: flex-end;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.scheme {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr) 18px minmax(0, 1fr);
  align-items: stretch;
  gap: 0 6px;
  margin: 0 0 28px;
}

.scheme-node {
  background: #fff;
  border: 1px solid var(--line);
  padding: var(--pad);
}

.scheme-node h3 {
  margin: 4px 0 6px;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 500;
}

.scheme-node p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.scheme-join {
  align-self: center;
  height: 1px;
  background: var(--line);
  position: relative;
}

.scheme-join::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  border: 4px solid transparent;
  border-left-color: var(--line);
  border-right-width: 0;
  transform: translate(2px, -50%);
}

.stack {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.stack-label {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.stack-text {
  margin: 0 0 16px;
  color: var(--muted);
  max-width: 36em;
}

.stack-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
}

.stack-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.stack-list img {
  height: 32px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
}

.stack-list span {
  font-size: 13px;
  color: var(--muted);
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

[id="1c"],
#infrastructure,
#tasks,
#workflow,
#contacts {
  scroll-margin-top: 80px;
}

@media (max-width: 1100px) {
  .hero h1 {
    font-size: 40px;
  }

  .band h2,
  .contacts h2 {
    font-size: 28px;
  }

  .header-mail {
    display: none;
  }

  .card-grid-4,
  .hero-grid,
  .split,
  .split-reverse,
  .scheme {
    grid-template-columns: 1fr;
  }

  .task {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .task p {
    grid-column: 2;
  }

  .scheme-join {
    width: 1px;
    height: 16px;
    margin: 0 auto;
  }

  .scheme-join::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: 0;
    border: 4px solid transparent;
    border-top-color: var(--line);
    border-bottom-width: 0;
    transform: translate(-50%, 2px);
  }


  .hero-media,
  .split .media {
    min-height: 280px;
  }
}

@media (max-width: 860px) {
  .wrap {
    width: min(var(--max), calc(100% - 32px));
  }

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

  .header-right > .btn {
    display: none;
  }

  .header-right {
    display: contents;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 8px 0;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    order: 5;
    padding-bottom: 8px;
  }

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

  .nav a {
    padding: 12px 0;
    border-top: 1px solid var(--line);
  }

  .hero {
    padding: 28px 0 40px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .about-brand {
    min-height: 0;
    padding: 12px 0 8px;
  }

  .about-mark {
    width: 96px;
    height: 96px;
  }

  .about-word {
    font-size: 22px;
  }

  .direction-row,
  .card-grid,
  .card-grid-3,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .service-row {
    grid-template-columns: 28px minmax(0, 1fr);
    padding: 20px 18px;
  }


  .more {
    grid-column: 2;
    justify-self: start;
  }

  .band {
    padding: 48px 0;
  }

  .email {
    font-size: 22px;
  }
}
