:root {
  --brand: #192766;
  --paper: #f4f6f8;
  --surface: #fff;
  --text: #1c2430;
  --muted: #3d4654;
  --line: #d5dbe3;
  --link: #0039a6;
  --hotline: #d52b1e;
  --hotline-hover: #b3241a;
  --header-muted: #c9d1e6;
  --header-h: 64px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/golos-text-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 900;
  font-display: swap;
  src: url("/fonts/golos-text-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/golos-text-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: "Golos Text Fallback";
  src: local("Segoe UI");
  size-adjust: 109.31%;
  ascent-override: 89.65%;
  descent-override: 20.13%;
  line-gap-override: 0%;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "Golos Text", "Golos Text Fallback", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}

body > main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--link);
}

:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 2px;
}

.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: #fff;
}

.skip {
  position: absolute;
  left: 16px;
  top: 8px;
  z-index: 20;
  padding: 8px 12px;
  background: var(--surface);
  color: var(--link);
  transform: translateY(-150%);
}

.skip:focus {
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
  padding: 0 24px;
  background: var(--brand);
  color: #fff;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-width: 0;
  min-height: 44px;
  margin-right: 8px;
  padding-right: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: auto;
  aspect-ratio: 119.67 / 111.03;
}

.brand__name {
  display: block;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid #fff;
  border-radius: 4px;
  background: transparent;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.site-nav > ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav > ul > li > a,
.menu > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.site-nav > ul > li > a:hover,
.menu > a:hover,
.site-nav > ul > li > a[aria-current],
.menu > a[aria-current] {
  color: #fff;
}

.menu {
  position: relative;
  display: flex;
  align-items: center;
}

.menu__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 44px;
  margin-left: -6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.menu__chevron {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.menu__btn[aria-expanded="true"] .menu__chevron {
  transform: translateY(1px) rotate(225deg);
}

.menu__list {
  display: none;
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  z-index: 20;
  min-width: 18rem;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(25, 39, 102, 0.14);
}

.menu__btn[aria-expanded="true"] + .menu__list {
  display: block;
}

.menu__list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  color: var(--text);
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

.menu__list a:hover {
  background: var(--paper);
}

.site-nav a[aria-current] {
  box-shadow: inset 0 -3px 0 #fff;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  flex-shrink: 0;
}

.cabinet,
.hotline {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-height: 44px;
  padding: 0 4px;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.cabinet img {
  display: block;
  width: 16px;
  height: auto;
}

@media (max-width: 1240px) {
  .cabinet span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

.cabinet span,
.hotline span {
  border-bottom: 1px solid transparent;
}

.cabinet:hover span {
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

.hotline:hover {
  color: #fff;
}

.hotline:hover span {
  border-bottom-color: var(--hotline);
}

.hotline svg {
  color: #f04a3c;
  flex-shrink: 0;
}

.menu__list a:focus-visible {
  outline-color: var(--link);
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

main.wrap {
  padding-top: 32px;
  padding-bottom: 48px;
}

.prose {
  max-width: none;
}

.prose p,
.prose ul,
.prose ol,
.prose figure,
.prose details {
  margin: 0 0 16px;
}

.prose ul,
.prose ol {
  padding-left: 1.25em;
}

.prose li + li {
  margin-top: 4px;
}

.prose a,
.crumbs a,
.toc a,
.site-footer a,
.confirm a,
.file {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: 600;
}

h1 {
  margin: 0 0 16px;
  font-size: 36px;
}

h2 {
  margin: 48px 0 16px;
  font-size: 24px;
}

h3 {
  margin: 24px 0 8px;
  font-size: 18px;
}

.crumbs {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.crumbs li {
  display: inline-flex;
  align-items: center;
}

.crumbs li + li::before {
  content: "/";
  margin: 0 0.45em;
}

.crumbs [aria-current="page"] {
  color: var(--text);
}

.toc {
  margin: 0 0 32px;
  padding-left: 1.25em;
}

.callout {
  margin: 0 0 32px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.callout p:last-child {
  margin-bottom: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 0;
}

a.button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--link);
  color: #fff;
  font: inherit;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  filter: brightness(1.08);
}

a.button.button--ghost,
.button.button--ghost {
  border-color: var(--link);
  background: transparent;
  color: var(--link);
}

a.button.button--ghost:hover,
.button.button--ghost:hover {
  background: rgba(0, 57, 166, 0.06);
  filter: none;
}

.note {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 24px 0 0;
}

.steps > section {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.steps > section:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -16px;
  z-index: 1;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--link);
  border-right: 2px solid var(--link);
  transform: translateY(-50%) rotate(45deg);
}

.steps h3 {
  margin-top: 0;
}

.steps + .prose > figure {
  margin-top: 40px;
}

.home__main {
  container-type: inline-size;
  padding-top: 28px;
  padding-bottom: 48px;
}

.side {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 48px;
}

.side__title {
  margin: 0 0 24px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.side__label {
  margin: 22px 0 8px;
  padding: 0 0 6px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.side__title + .side__label {
  margin-top: 0;
}

.side ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.side li + li {
  margin-top: 2px;
}

.side a {
  display: flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
}

.side a:hover {
  color: var(--link);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 0;
  margin: 32px auto 0;
  overflow: hidden;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 42%;
  filter: blur(3px);
  transform: scale(1.03);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(25, 39, 102, 0.62);
}

.hero__copy {
  position: relative;
  z-index: 1;
  padding: 32px 40px;
}

.hero h1,
.hero p {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.hero h1 {
  /* 22.6em — ширина второй строки названия. Первая тогда целиком «Централизованная автоматизированная». */
  max-width: 22.6em;
  margin: 0;
  font-size: clamp(28px, 2.4vw, 36px);
}

.hero p {
  max-width: 34rem;
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 1.45;
}

.hero .actions {
  align-items: center;
  margin-top: 24px;
}

.hero .button {
  min-height: 44px;
  padding: 0 18px;
  white-space: nowrap;
}

.hero a.button:not(.button--ghost) {
  border-color: transparent;
  background: #fff;
  color: var(--brand);
}

.hero a.button:not(.button--ghost):hover {
  background: #e6ebf4;
  filter: none;
}

.hero a.button.button--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.hero a.button.button--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  filter: none;
}

.hero :focus-visible {
  outline-color: #fff;
}

.catalog-view {
  display: block;
  width: 100%;
  height: calc(100dvh - var(--header-h) - 12rem);
  min-height: 36rem;
  border: 1px solid var(--line);
  background: #fff;
}

.flow,
.areas,
.covers {
  display: grid;
  gap: 16px;
  margin: 20px 0 0;
}

.flow {
  position: relative;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0 12px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.flow li {
  position: relative;
  min-width: 0;
}

.flow li::before {
  counter-increment: flow;
  content: counter(flow);
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  border: 1px solid var(--brand);
  border-radius: 50%;
  background: var(--paper);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
}

.flow li::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 13.5px;
  left: 28px;
  width: calc(100% - 16px);
  height: 1px;
  background: color-mix(in srgb, var(--brand) 35%, var(--paper));
}

.flow li:last-child::after {
  content: none;
}

@container (max-width: 40rem) {
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
  }

  .flow {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .flow li {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
    padding-bottom: 20px;
  }

  .flow li::before {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }

  .flow li::after {
    top: 28px;
    left: 13.5px;
    width: 1px;
    height: calc(100% - 28px);
  }

  .flow h3,
  .flow p {
    grid-column: 2;
  }
}

.flow h3,
.covers h3,
a.area h2,
a.area h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.flow p,
.covers p,
a.area p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.areas {
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

a.area {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
}

a.area:hover {
  border-color: var(--link);
}

.covers {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  list-style: none;
}

.confirm {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 0;
}

figure {
  margin: 24px 0;
}

figcaption,
.file__meta,
.table-note,
caption {
  color: var(--muted);
  font-size: 14px;
}

figcaption {
  margin-top: 8px;
}

.file {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}

.file::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  background: var(--brand);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm7 1.5V9h5.5z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2zm7 1.5V9h5.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.file:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.file__meta {
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

video,
.stage__video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  background: #111;
}

.stage {
  display: grid;
  gap: 12px;
  margin: 24px 0 8px;
}

.stage__video {
  border-radius: 8px;
}

.stage__clips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stage__clip {
  display: grid;
  gap: 6px;
  padding: 0 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.stage__clip img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 7px 7px 0 0;
}

.stage__clip span {
  padding: 0 10px;
}

.stage__clip[aria-pressed="true"] {
  border-color: var(--brand);
}

.files {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

summary::-webkit-details-marker {
  display: none;
}

summary::marker {
  content: "";
}

summary::after {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

summary:hover {
  background: var(--paper);
}

details[open] > summary {
  border-bottom: 1px solid var(--line);
  border-radius: 8px 8px 0 0;
  background: var(--paper);
}

details[open] > summary::after {
  transform: rotate(45deg);
}

.prose details > :not(summary) {
  margin: 12px 16px 0;
}

.prose details > :last-child {
  margin-bottom: 14px;
}

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.35;
}

.wide {
  width: max-content;
  min-width: 100%;
}

.wide th,
.wide td {
  min-width: 8rem;
}

.wide th:nth-child(2),
.wide td:nth-child(2) {
  min-width: 16rem;
}

.licences {
  width: 100%;
  table-layout: fixed;
  font-size: 12px;
}

.licences th,
.licences td {
  overflow-wrap: anywhere;
  vertical-align: top;
}

.licences th:nth-child(1),
.licences td:nth-child(1) {
  width: 2.5rem;
}

.licences th:nth-child(2),
.licences td:nth-child(2) {
  width: 7.5rem;
}

th,
td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word;
}

th {
  font-size: 14px;
  font-weight: 600;
}

td ol {
  margin: 0;
  padding-left: 1.25em;
}

dt {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

dd {
  margin: 0;
}

.doc {
  margin: 0 0 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.doc__body {
  display: grid;
  gap: 24px;
  align-items: start;
}

.doc__text dl {
  margin: 0;
}

.doc__text dt:first-child {
  margin-top: 0;
}

.doc__text > :last-child {
  margin-bottom: 0;
}

.preview {
  max-width: 100%;
}

.preview__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 11.5rem));
  gap: 12px;
  width: min(100%, calc(11.5rem * 2 + 12px));
}

.preview__open {
  display: grid;
  justify-items: start;
  gap: 6px;
  width: 11.5rem;
  max-width: 100%;
  color: var(--link);
  text-decoration: none;
}

.prose .preview__open {
  text-decoration: none;
}

.preview__row .preview__open {
  width: 100%;
  max-width: none;
}

.preview__open img {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}

.preview__open span {
  justify-self: stretch;
  text-align: center;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

.preview__open:hover img,
.preview__open:focus-visible img {
  border-color: var(--brand);
}

.preview__dialog {
  width: min(42rem, calc(100vw - 2rem));
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
}

.preview__dialog[open] {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.preview__dialog::backdrop {
  background: rgb(16 24 46 / 0.72);
}

.preview__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.preview__bar h2 {
  margin: 0;
  font-size: 18px;
}

.preview__bar form {
  margin: 0;
}

.preview__close {
  flex: none;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  line-height: 1.2;
  cursor: pointer;
}

.preview__close:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.preview__pages {
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 16px;
}

.preview__pages img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border: 1px solid var(--line);
}

.preview__pages img + img {
  margin-top: 16px;
}

html:has(dialog[open]) {
  overflow: hidden;
}

@media (min-width: 880px) {
  .doc__body {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 40px;
  }

  .preview {
    justify-self: end;
  }
}

.scheme {
  max-width: 640px;
}

[id] {
  scroll-margin-top: 80px;
}

.site-footer {
  padding: 28px 0 24px;
  background: #10182e;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 1.3fr) 2fr;
  gap: 48px;
  align-items: start;
}

.footer-brand img {
  display: block;
  width: 210px;
  height: auto;
}

.footer-brand p {
  max-width: 28rem;
  color: #c9d1e6;
  font-size: 14px;
}

.footer-contacts {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.footer-contacts li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 6px;
  color: #c9d1e6;
  font-size: 14px;
}

.footer-contacts svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #8ea0c8;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-cols__title {
  margin: 0 0 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.footer-cols ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-cols li + li {
  margin-top: 6px;
}

.footer-cols a,
.footer-contacts a {
  color: #c9d1e6;
  font-size: 14px;
  text-decoration: none;
}

.footer-cols a:hover,
.footer-contacts a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
  border-radius: 8px;
  background: rgba(0, 57, 166, 0.08);
  color: var(--link);
}

.icon svg {
  display: block;
}

.area__mark {
  display: block;
  width: auto;
  height: 40px;
}

.site-footer p {
  margin: 0 0 8px;
}

.footer-brand p {
  margin-top: 16px;
}

.site-footer a {
  color: #c9d1e6;
}

.site-footer a:hover {
  color: #fff;
}

@media (max-width: 960px) {
  .site-header {
    flex-wrap: wrap;
  }

  .brand {
    order: 1;
  }

  .nav-toggle {
    order: 2;
    margin-left: auto;
  }

  .header-tools {
    order: 3;
    flex-basis: 100%;
    margin-left: 0;
  }

  .site-nav {
    order: 5;
    flex-basis: 100%;
  }

  .site-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav > ul > li > a {
    width: 100%;
  }

  .menu > a {
    width: auto;
    flex: 1;
  }

  .menu {
    flex-wrap: wrap;
  }

  .menu__list {
    position: static;
    min-width: 0;
    padding: 0 0 8px 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .menu__list a {
    color: #fff;
    white-space: normal;
  }

  .menu__list a:hover {
    background: transparent;
    text-decoration: underline;
  }

  .menu__list a:focus-visible {
    outline-color: #fff;
  }
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 28px;
  margin: 0;
  padding: 0 0 28px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.facts div {
  min-width: 0;
}

.facts dd {
  margin: 0;
  color: var(--brand);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.facts dt {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

.facts + h2 {
  margin-top: 32px;
}

@media (min-width: 1350px) and (max-width: 1649px) {
  .home {
    display: grid;
    grid-template-columns: minmax(12rem, 13.5rem) minmax(0, 1120px);
    column-gap: 40px;
    justify-content: center;
    align-items: start;
    padding-inline: 16px;
  }

  .home > .hero,
  .home > .home__main {
    grid-column: 2;
    width: auto;
    margin-inline: 0;
  }

  .home > .hero {
    grid-row: 1;
    margin-top: 32px;
  }

  .home > .home__main {
    grid-row: 2;
    margin-top: 0;
    margin-bottom: 0;
  }

  .home > .side {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: auto;
    min-width: 0;
    margin: 32px 0 48px;
    position: sticky;
    top: calc(var(--header-h) + 8px);
    max-height: calc(100vh - var(--header-h) - 16px);
    overflow: auto;
  }
}

@media (min-width: 1650px) {
  .home {
    display: grid;
    grid-template-columns: minmax(13.5rem, 1fr) minmax(0, 1120px) minmax(13.5rem, 1fr);
    align-items: start;
  }

  .home > .hero,
  .home > .home__main {
    grid-column: 2;
    width: auto;
    margin-inline: 0;
  }

  .home > .hero {
    grid-row: 1;
    margin-top: 32px;
  }

  .home > .home__main {
    grid-row: 2;
    margin-top: 0;
    margin-bottom: 0;
  }

  .home > .side {
    grid-column: 1;
    grid-row: 1 / span 2;
    justify-self: end;
    align-self: start;
    width: min(13.5rem, calc(100% - 56px));
    margin: 32px 40px 48px 16px;
    position: sticky;
    top: calc(var(--header-h) + 8px);
    max-height: calc(100vh - var(--header-h) - 16px);
    overflow: auto;
  }
}

@media (max-width: 800px) {
  .hero {
    min-height: 0;
  }

  .hero__copy {
    padding: 24px 16px;
  }

  h1 {
    font-size: 30px;
  }

  .site-header {
    padding: 8px 16px;
  }

  .steps,
  .areas,
  .covers,
  .footer-grid,
  .footer-cols,
  .stage__clips {
    grid-template-columns: 1fr;
  }

  .steps > section:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 960px) and (scripting: enabled) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-toggle[aria-expanded="false"] + .site-nav {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0s !important;
    animation-duration: 0s !important;
  }
}

@media print {
  .site-header {
    position: static;
  }

  .site-nav,
  .nav-toggle,
  .skip,
  .header-tools {
    display: none !important;
  }

  .site-footer,
  .footer-brand p,
  .footer-contacts li,
  .footer-cols__title,
  .site-footer a {
    background: #fff;
    color: #000;
  }

  .table-scroll {
    overflow: visible;
  }

  .wide,
  .wide th,
  .wide td {
    width: auto;
    min-width: 0;
  }

  tr,
  img,
  figure {
    break-inside: avoid;
  }
}
