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

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/onest-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: "Noto Serif Display";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/noto-serif-display-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Noto Serif Display";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/noto-serif-display-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 {
  --ink: #101719;
  --ink-2: #273135;
  --muted: #59656b;
  --faint: #8b979d;
  --paper: #fbfcfb;
  --line: rgba(16, 23, 25, .15);
  --line-2: rgba(16, 23, 25, .25);
  --blue: #0b3b63;
  --blue-2: #0f527d;
  --green: #245d4e;
  --wash: #eef3f4;
  --wash-2: #e7eeee;
  --shadow: 0 34px 80px rgba(16, 23, 25, .12);
  --sans: "Onest", Arial, system-ui, sans-serif;
  --serif: "Noto Serif Display", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  text-rendering: geometricPrecision;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(16, 23, 25, .045) 1px, transparent 1px) center top / min(8.333vw, 120px) 100%,
    radial-gradient(circle at 78% 18%, rgba(15, 82, 125, .08), transparent 30%),
    var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(330px, 390px) minmax(430px, 1fr) auto;
  gap: clamp(18px, 2.3vw, 34px);
  align-items: center;
  min-height: 76px;
  padding: 0 clamp(28px, 3.5vw, 56px);
  background: rgba(251, 252, 251, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: max-content;
}

.brand-emblem {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  flex: 0 0 50px;
}

.brand-emblem img {
  display: block;
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.wordmark__text {
  display: block;
  min-width: 0;
}

.wordmark strong {
  display: block;
  max-width: 315px;
  margin-top: 6px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.06;
}

.wordmark small {
  display: block;
  color: var(--ink-2);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: clamp(18px, 2.6vw, 42px);
  justify-content: center;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}

.main-nav a {
  padding: 8px 0;
}

.main-nav__mobile-action,
.home-burger {
  display: none;
}

.home-burger {
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.home-burger span {
  display: block;
  width: 19px;
  height: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.home-burger span + span {
  margin-top: 5px;
}

.menu-open .home-burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .home-burger span:nth-child(2) {
  opacity: 0;
}

.menu-open .home-burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.header-actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 730;
  border: 1px solid transparent;
  border-radius: 3px;
}

.header-actions a:first-child {
  background: rgba(255, 255, 255, .46);
  border-color: rgba(11, 59, 99, .24);
}

.header-actions__forum {
  color: #fff !important;
  background: var(--blue);
  border-radius: 3px;
  box-shadow: 0 16px 36px rgba(11, 59, 99, .18);
}

.hero {
  display: grid;
  grid-template-columns: minmax(430px, .78fr) minmax(640px, 1fr);
  gap: clamp(36px, 4.4vw, 82px);
  min-height: 650px;
  padding: 50px clamp(28px, 3.5vw, 56px) 52px;
  border-bottom: 1px solid var(--line);
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px;
  padding-top: 8px;
}

.institution-label {
  max-width: 540px;
  margin: 0 0 22px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 620px;
  font-size: clamp(64px, 6.8vw, 108px);
  line-height: .89;
}

.hero__lead {
  max-width: 600px;
  margin: 30px 0 0;
  color: var(--ink-2);
  font-size: 19px;
  line-height: 1.58;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
  border-left: 1px solid var(--line);
}

.trust-row div {
  min-height: 78px;
  padding: 0 20px;
  border-right: 1px solid var(--line);
}

.trust-row span {
  display: block;
  color: var(--faint);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.trust-row strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 610;
  line-height: 1.38;
}

.entry-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 38px;
}

.entry-point {
  display: grid;
  grid-template-columns: 58px 1fr 22px;
  gap: 18px;
  align-items: center;
  min-height: 118px;
  padding: 24px 24px;
  background: rgba(255, 255, 255, .76);
  border: 1px solid var(--line-2);
  border-radius: 4px;
}

.entry-point--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #092c4e);
  border-color: transparent;
  box-shadow: 0 28px 54px rgba(11, 59, 99, .22);
}

.entry-point__icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
}

.entry-point svg {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.entry-point strong {
  display: block;
  font-size: 21px;
  font-weight: 780;
  letter-spacing: -.03em;
}

.entry-point small {
  display: block;
  max-width: 230px;
  margin-top: 8px;
  color: currentColor;
  font-size: 13px;
  font-weight: 440;
  line-height: 1.36;
  opacity: .78;
}

.entry-point b {
  font-size: 28px;
  font-weight: 400;
}

.hero-system {
  position: relative;
  min-height: 560px;
  align-self: center;
  background-image:
    linear-gradient(rgba(16, 23, 25, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 23, 25, .045) 1px, transparent 1px);
  background-size: 24px 24px;
  isolation: isolate;
}

.hero-system::after {
  position: absolute;
  inset: auto 0 0 18%;
  z-index: -1;
  height: 38%;
  content: "";
  background: linear-gradient(180deg, rgba(11, 59, 99, 0), rgba(11, 59, 99, .08));
  border-bottom: 1px solid rgba(11, 59, 99, .14);
}

.connectors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.connectors path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
}

.connectors path:nth-child(2),
.connectors path:nth-child(3) {
  stroke: var(--green);
}

.connectors path:nth-child(1) {
  stroke-dasharray: 7 7;
}

.connectors circle {
  fill: var(--blue);
}

.document {
  position: absolute;
  background: rgba(255, 255, 255, .83);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 70px rgba(16, 23, 25, .12);
}

a.document,
a.cabinet-card {
  color: inherit;
}

a.document,
a.route-card,
a.cabinet-card {
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

a.document:hover,
a.route-card:hover,
a.cabinet-card:hover,
a.document:focus-visible,
a.route-card:focus-visible,
a.cabinet-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(11, 59, 99, .42);
}

a.document:focus-visible,
a.route-card:focus-visible,
a.cabinet-card:focus-visible,
.forum-card a:focus-visible,
.route-proof a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.document--main {
  top: 34px;
  left: 96px;
  width: 306px;
  height: 340px;
  padding: 36px 36px 28px;
}

.document--small {
  right: 206px;
  bottom: 48px;
  width: 178px;
  height: 205px;
  padding: 28px 26px;
}

.document__fold {
  position: absolute;
  top: 0;
  right: 0;
  width: 58px;
  height: 58px;
  background:
    linear-gradient(135deg, transparent 49%, var(--line-2) 50%, transparent 51%),
    linear-gradient(135deg, rgba(16, 23, 25, .06) 0 50%, transparent 50%);
}

.document span {
  display: block;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.document strong {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 610;
}

.document i,
.document small {
  display: block;
  height: 2px;
  margin-top: 13px;
  background: rgba(16, 23, 25, .42);
}

.document i:nth-of-type(1) {
  width: 100%;
  margin-top: 34px;
}

.document i:nth-of-type(2) {
  width: 96%;
}

.document i:nth-of-type(3) {
  width: 82%;
}

.document i:nth-of-type(4) {
  width: 52%;
}

.document__rows {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 10px 16px;
  margin-top: 54px;
}

.document__rows small {
  height: 5px;
  margin: 0;
  background: rgba(16, 23, 25, .22);
}

.document em {
  display: block;
  width: 54px;
  height: 54px;
  margin-top: 28px;
  border: 2px solid rgba(11, 59, 99, .35);
  border-radius: 999px;
}

.route-card {
  position: absolute;
  top: 180px;
  left: 256px;
  z-index: 4;
  width: 264px;
  min-height: 290px;
  padding: 30px 30px 28px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .08), transparent 44%),
    #092c4e;
  border-radius: 6px;
  box-shadow: 0 36px 80px rgba(11, 59, 99, .34);
}

.route-card h2,
.forum-card h2,
.cabinet-card h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 760;
  line-height: 1.22;
  letter-spacing: -.02em;
}

.route-card ol {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.route-card li {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 12px;
  font-weight: 520;
}

.route-card li + li::before {
  position: absolute;
  top: -18px;
  left: 12px;
  width: 1px;
  height: 18px;
  content: "";
  background: rgba(255, 255, 255, .42);
}

.route-card span {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  place-items: center;
  font-size: 12px;
  font-weight: 760;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 999px;
}

.route-card li:nth-child(2) span {
  background: var(--blue-2);
  border-color: var(--blue-2);
}

.forum-card,
.cabinet-card {
  position: absolute;
  background: rgba(250, 252, 252, .9);
  border: 1px solid rgba(11, 59, 99, .22);
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(16, 23, 25, .09);
  backdrop-filter: blur(8px);
}

.forum-card {
  top: 50px;
  right: 6px;
  width: 278px;
  padding: 22px 24px 18px;
}

.forum-card h2 {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.forum-card a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(16, 23, 25, .09);
  transition: color .18s ease, transform .18s ease;
}

.forum-card a:hover {
  color: var(--blue);
  transform: translateX(3px);
}

.forum-card a:last-child {
  border-bottom: 0;
}

.forum-card span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 610;
  line-height: 1.35;
}

.forum-card small {
  color: var(--muted);
  font-size: 10px;
}

.cabinet-card {
  right: 24px;
  bottom: 76px;
  width: 226px;
  min-height: 180px;
  padding: 24px;
  background: rgba(235, 244, 238, .9);
}

.cabinet-card div {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 14px;
  color: var(--ink-2);
  font-size: 12px;
  border-top: 1px solid var(--line);
}

.cabinet-card p {
  margin: 28px 0 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 650;
}

.situation-strip {
  padding: 30px clamp(28px, 3.5vw, 56px) 46px;
  border-bottom: 1px solid var(--line);
}

.strip-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 32px;
  align-items: end;
  margin-bottom: 34px;
}

.strip-heading p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.strip-heading h2 {
  font-size: 30px;
  line-height: 1.05;
}

.strip-heading a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 650;
}

.situations {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-left: 1px solid var(--line);
}

.situations a {
  display: grid;
  grid-template-rows: 42px auto auto;
  min-height: 118px;
  padding: 0 28px;
  border-right: 1px solid var(--line);
}

.situations svg {
  width: 33px;
  height: 33px;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.situations strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.25;
}

.situations span {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.35;
}

.system-section {
  padding: 42px clamp(28px, 3.5vw, 56px) 80px;
  background: linear-gradient(180deg, rgba(11, 59, 99, .045), transparent 46%);
}

.system-section h2 {
  max-width: 540px;
  font-size: 42px;
  line-height: 1;
}

.system-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 42px;
  border-left: 1px solid var(--line);
}

.system-steps article {
  min-height: 126px;
  padding: 0 34px;
  border-right: 1px solid var(--line);
}

.system-steps span {
  display: block;
  color: var(--ink);
  font-size: 21px;
  font-weight: 520;
}

.system-steps strong {
  display: block;
  max-width: 150px;
  margin-top: 26px;
  font-size: 14px;
  font-weight: 560;
  line-height: 1.35;
}

.search-context {
  padding: clamp(68px, 7vw, 112px) clamp(28px, 3.5vw, 56px);
  background:
    linear-gradient(180deg, rgba(11, 59, 99, .035), transparent 42%),
    rgba(255, 255, 255, .46);
  border-top: 1px solid var(--line);
}

.search-context__layout {
  display: grid;
  grid-template-columns: minmax(340px, .74fr) minmax(600px, 1fr);
  gap: clamp(34px, 5.4vw, 86px);
  align-items: start;
}

.search-context__intro {
  position: relative;
}

.section-kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.search-context h2 {
  max-width: 620px;
  font-size: clamp(42px, 4.5vw, 70px);
  line-height: .98;
}

.search-context__intro p:not(.section-kicker) {
  max-width: 460px;
  margin: 24px 0 0;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.58;
}

.route-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.route-proof__item {
  min-height: 214px;
  padding: clamp(22px, 2.7vw, 34px);
  background: rgba(255, 255, 255, .66);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.route-proof__item--wide {
  grid-column: 1 / -1;
  min-height: 190px;
  background: rgba(251, 252, 251, .78);
}

.route-proof__item span,
.route-proof__item--notice strong {
  display: block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.route-proof__item h3 {
  max-width: 420px;
  margin: 24px 0 0;
  color: var(--ink);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 780;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.route-proof__item p {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.58;
}

.route-proof a {
  color: var(--blue);
  font-weight: 760;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.route-proof__item--notice {
  display: grid;
  min-height: 0;
  align-content: center;
  background: rgba(255, 255, 255, .72);
}

.route-proof__item--notice p {
  color: var(--ink-2);
}

.home-mobile-actions {
  display: none;
}

.home-footer {
  display: block;
  padding: 54px 0 62px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(11, 59, 99, .055), rgba(11, 59, 99, .018)),
    #f3f7f7;
  border-top: 1px solid rgba(11, 59, 99, .16);
}

.home-footer__inner {
  display: grid;
  width: min(calc(100% - 96px), 1340px);
  margin: 0 auto;
  grid-template-areas:
    "brand important nav"
    "status important nav";
  grid-template-columns: minmax(270px, 1.08fr) minmax(320px, 1fr) minmax(300px, .9fr);
  gap: 10px clamp(34px, 4.6vw, 70px);
  align-items: start;
}

.home-footer__brand {
  display: flex;
  grid-area: brand;
  gap: 14px;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.home-footer__brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.home-footer__brand strong {
  display: block;
  max-width: 310px;
  font-size: 20px;
  font-weight: 820;
  line-height: 1.08;
}

.home-footer__status {
  grid-area: status;
  max-width: 370px;
  margin: 8px 0 0 60px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 520;
  line-height: 1.56;
}

.home-footer__important {
  grid-area: important;
}

.home-footer__nav {
  display: grid;
  grid-area: nav;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  align-content: start;
}

.home-footer h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 820;
  line-height: 1.15;
}

.home-footer__nav h2 {
  grid-column: 1 / -1;
}

.home-footer__important p,
.home-footer__nav a {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 520;
  line-height: 1.56;
}

.home-footer__important p {
  max-width: 420px;
  margin: 0;
}

.home-footer__nav a {
  min-height: 34px;
  padding: 5px 0;
  color: var(--blue);
  font-weight: 730;
  text-decoration: none;
}

.home-footer__nav a:hover,
.home-footer__nav a:focus-visible,
.home-footer__brand:focus-visible {
  color: var(--blue);
}

@media (max-width: 1220px) {
  .site-header {
    grid-template-columns: 310px 1fr auto;
  }

  .main-nav {
    gap: 16px;
    font-size: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero__content {
    max-width: none;
  }

  .hero-system {
    min-height: 620px;
  }

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

@media (max-width: 860px) {
  body {
    background: var(--paper);
  }

  body.home-redesign {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: 72px;
    padding: 0 18px;
  }

  .wordmark {
    width: auto;
    max-width: calc(100vw - 100px);
    min-width: 0;
  }

  .wordmark__text {
    min-width: 0;
  }

  .home-burger {
    display: grid;
    justify-self: end;
  }

  .main-nav {
    display: none;
  }

  .menu-open .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 12px;
    left: 12px;
    z-index: 50;
    display: grid;
    gap: 0;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line-2);
    border-radius: 8px;
    box-shadow: 0 28px 70px rgba(16, 23, 25, .16);
  }

  .main-nav a {
    min-height: 44px;
    padding: 13px 14px;
    font-size: 14px;
    border-bottom: 1px solid rgba(16, 23, 25, .08);
  }

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

  .main-nav__mobile-action {
    display: flex;
    align-items: center;
    color: var(--blue);
    font-weight: 800;
  }

  .main-nav__mobile-action--forum {
    color: #fff !important;
    background: var(--blue);
    border-radius: 5px;
  }

  .header-actions {
    display: none;
  }

  .hero {
    gap: 32px;
    padding: 42px 20px 38px;
  }

  h1 {
    font-size: clamp(54px, 15vw, 74px);
  }

  .hero__lead {
    margin-top: 24px;
    font-size: 17px;
  }

  .trust-row,
  .entry-points,
  .system-steps {
    grid-template-columns: 1fr;
  }

  .entry-points {
    order: 1;
    margin-top: 28px;
  }

  .trust-row {
    order: 2;
    margin-top: 24px;
  }

  .trust-row {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .trust-row div {
    min-height: 0;
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .entry-point {
    grid-template-columns: 48px 1fr 20px;
    min-height: 98px;
    padding: 20px;
  }

  .entry-point strong {
    font-size: 20px;
  }

  .entry-point__icon,
  .entry-point svg {
    width: 42px;
    height: 42px;
  }

  .hero-system {
    min-height: 724px;
    overflow: hidden;
  }

  .connectors {
    display: none;
  }

  .document--main {
    top: 0;
    left: 0;
    width: 72%;
  }

  .route-card {
    top: 196px;
    right: 0;
    left: auto;
    color: var(--ink);
    background:
      linear-gradient(145deg, rgba(11, 59, 99, .07), rgba(255, 255, 255, 0) 46%),
      rgba(255, 255, 255, .92);
    border: 1px solid var(--line-2);
    box-shadow: 0 26px 58px rgba(16, 23, 25, .16);
  }

  .route-card li + li::before {
    background: rgba(11, 59, 99, .22);
  }

  .route-card span {
    color: var(--blue);
    border-color: rgba(11, 59, 99, .42);
  }

  .route-card li:nth-child(2) span {
    color: #fff;
  }

  .forum-card {
    top: 500px;
    right: auto;
    left: 0;
    width: calc(100% - 96px);
  }

  .cabinet-card {
    right: 0;
    bottom: 0;
  }

  .document--small {
    display: none;
  }

  .situation-strip,
  .system-section,
  .search-context {
    padding-right: 20px;
    padding-left: 20px;
  }

  .strip-heading {
    grid-template-columns: 1fr;
  }

  .situations {
    grid-template-columns: 1fr;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .situations a {
    grid-template-columns: 46px 1fr;
    grid-template-rows: auto auto;
    gap: 4px 16px;
    min-height: 94px;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .situations svg {
    grid-row: 1 / 3;
  }

  .system-steps {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .system-steps article {
    min-height: 0;
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .search-context__layout {
    grid-template-columns: 1fr;
  }

  .search-context h2 {
    max-width: 760px;
  }

  .route-proof {
    grid-template-columns: 1fr;
    border-left: 0;
  }

  .route-proof__item,
  .route-proof__item--wide {
    min-height: 0;
    padding: 22px 0;
    background: transparent;
    border-right: 0;
  }

  .route-proof__item--notice {
    padding: 20px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--line);
    border-radius: 6px;
  }

  .route-proof__item--notice strong {
    color: var(--blue);
  }

  .route-proof__item--notice p {
    color: var(--ink-2);
  }

  .route-proof__item h3 {
    margin-top: 16px;
  }

  .route-proof__item p {
    font-size: 15px;
  }

  .home-footer {
    display: block;
    padding: 30px 0 calc(116px + env(safe-area-inset-bottom));
    color: var(--ink);
    background:
      linear-gradient(180deg, rgba(11, 59, 99, .06), rgba(11, 59, 99, .018)),
      #f3f7f7;
    border-top: 1px solid rgba(11, 59, 99, .16);
  }

  .home-footer__inner {
    display: grid;
    width: auto;
    margin: 0;
    gap: 22px;
    grid-template-areas: none;
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .home-footer__brand {
    display: flex;
    grid-area: auto;
    gap: 14px;
    align-items: center;
    color: var(--ink);
    text-decoration: none;
  }

  .home-footer__brand img {
    width: 44px;
    height: 44px;
    object-fit: contain;
  }

  .home-footer__brand strong {
    display: block;
    max-width: 230px;
    font-size: 18px;
    font-weight: 820;
    line-height: 1.08;
  }

  .home-footer__status,
  .home-footer__important p,
  .home-footer__nav a {
    color: var(--ink-2);
    font-size: 14px;
    font-weight: 520;
    line-height: 1.55;
  }

  .home-footer__status {
    grid-area: auto;
    max-width: 330px;
    margin: -8px 0 0 58px;
  }

  .home-footer__important,
  .home-footer__nav {
    grid-area: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(11, 59, 99, .14);
  }

  .home-footer h2 {
    margin: 0 0 12px;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 18px;
    font-weight: 820;
    line-height: 1.15;
  }

  .home-footer__important p {
    max-width: 340px;
    margin: 0;
  }

  .home-footer__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .home-footer__nav h2 {
    grid-column: 1 / -1;
    margin-bottom: 12px;
  }

  .home-footer__nav a {
    min-height: 42px;
    padding: 10px 0;
    color: var(--blue);
    border-top: 1px solid rgba(11, 59, 99, .09);
    font-weight: 730;
    line-height: 1.25;
    text-decoration: none;
  }

  .home-footer__nav a:hover,
  .home-footer__nav a:focus-visible,
  .home-footer__brand:focus-visible {
    color: var(--blue);
  }

  .home-mobile-actions {
    position: fixed;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 12px;
    z-index: 80;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    gap: 8px;
    padding: 8px;
    background: rgba(251, 252, 251, .96);
    border: 1px solid rgba(16, 23, 25, .22);
    border-radius: 6px;
    box-shadow: 0 18px 48px rgba(16, 23, 25, .18);
    backdrop-filter: blur(18px);
  }

  .home-mobile-actions a {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    color: var(--blue);
    background: #fff;
    border: 1px solid rgba(11, 59, 99, .24);
    border-radius: 4px;
    font-size: 16px;
    font-weight: 820;
    text-decoration: none;
  }

  .home-mobile-actions__primary {
    color: #fff !important;
    background: var(--blue) !important;
    border-color: var(--blue) !important;
  }

  .home-footer a:focus-visible,
  .home-mobile-actions a:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 4px;
  }
}

@media (max-width: 520px) {
  .site-header {
    min-height: 66px;
  }

  .brand-emblem,
  .brand-emblem img {
    width: 42px;
    height: 42px;
  }

  .brand-emblem {
    flex-basis: 42px;
  }

  .wordmark {
    gap: 11px;
  }

  .wordmark strong {
    max-width: 158px;
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.05;
  }

  .wordmark small {
    font-size: 8.5px;
    letter-spacing: .06em;
  }

  .header-actions .header-actions__forum {
    display: inline-flex;
    min-height: 38px;
    padding: 0 13px !important;
    font-size: 12px;
  }

  .institution-label {
    max-width: 330px;
    margin-bottom: 18px;
    font-size: 10px;
    line-height: 1.55;
    letter-spacing: .1em;
  }

  h1 {
    font-size: clamp(48px, 14.4vw, 56px);
    line-height: .94;
  }

  .hero__lead {
    font-size: 16px;
    line-height: 1.52;
  }

  .entry-point {
    grid-template-columns: 42px 1fr 18px;
    gap: 14px;
    padding: 18px;
  }

  .entry-point__icon,
  .entry-point svg {
    width: 38px;
    height: 38px;
  }

  .entry-point strong {
    font-size: 19px;
  }

  .entry-point small {
    max-width: none;
    font-size: 12px;
  }

  .hero-system {
    min-height: 736px;
  }

  .document--main {
    width: 100%;
  }

  .route-card {
    top: 260px;
    width: 86%;
  }

  .forum-card {
    top: 554px;
    width: 100%;
  }

  .cabinet-card {
    display: none;
  }
}

@media (max-width: 430px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .header-actions {
    display: none;
  }
}
