@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("./golos-cyr.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 800;
  font-display: swap;
  src: url("./golos-latin.woff2") format("woff2");
}

:root {
  --ink: #172238;
  --muted: #44536d;
  --blue: #2d52e8;
  --blue-hover: #1f40c9;
  --wash: #eff4ff;
  --line: #d9e2f3;
  --paper: #fff;
  --edge: clamp(18px, 5vw, 64px);
  color: var(--ink);
  font-family: "Golos Text", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { line-height: 1.06; letter-spacing: -.045em; }
h2 { font-size: clamp(31px, 4vw, 54px); }
h3 { font-size: 21px; line-height: 1.2; letter-spacing: -.024em; }
p { line-height: 1.55; }
[id] { scroll-margin-top: 24px; }
:focus-visible { outline: 3px solid #0b61a4; outline-offset: 5px; }
.wrap { width: min(1200px, calc(100% - 2 * var(--edge))); margin-inline: auto; }

.skip {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: var(--paper);
}
.skip:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: .98;
  text-decoration: none;
}
.brand img { flex: none; }
.header-nav { display: flex; gap: clamp(22px, 3.3vw, 48px); }
.header-nav a, .worker-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.worker-link { color: #2346c8; }
.header-nav a:hover, .worker-link:hover, .footer-inner > a:not(.brand):hover { text-decoration: underline; }

.hero { background: var(--wash); }
.hero-inner {
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  align-items: center;
  gap: clamp(32px, 5.4vw, 78px);
  padding-block: clamp(48px, 6vw, 86px);
}
.section-label { color: #2346c8; font-size: 15px; font-weight: 700; margin-bottom: 19px; }
h1 { font-size: clamp(44px, 5.3vw, 76px); font-weight: 800; }
.lead {
  max-width: 480px;
  margin-top: 21px;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 21px);
}
.hero-action { margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 19px;
  min-height: 56px;
  padding: 13px 22px;
  border-radius: 12px;
  background: var(--blue);
  color: var(--paper);
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.button:hover { background: var(--blue-hover); }
.button span { font-size: 21px; line-height: 1; }
.action-note { margin-top: 10px; color: var(--muted); font-size: 14px; }
.hero-photo { position: relative; align-self: stretch; min-width: 0; }
.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 24px;
  object-fit: cover;
  object-position: 51% 44%;
  background: #d6e3ff;
}
.hero-photo figcaption {
  position: absolute;
  bottom: 15px;
  left: 15px;
  max-width: calc(100% - 30px);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 9px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 600;
}
.photo-marker { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }

.section { padding-block: clamp(53px, 7vw, 96px); }
.section > h2 { max-width: 790px; }
.task-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2.1vw, 30px); margin-top: 30px; }
.task { min-width: 0; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.task img { width: 100%; height: auto; aspect-ratio: 560 / 344; object-fit: cover; border-radius: 14px; background: var(--wash); }
.task h3 { margin-top: 16px; }
.task p, .steps p, .questions p { color: var(--muted); margin-top: 6px; }

.process { background: var(--wash); }
.process-inner, .faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.23fr);
  gap: clamp(30px, 7vw, 100px);
}
.process-inner { padding-block: clamp(49px, 6vw, 86px); }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 39px minmax(0, 1fr); gap: 16px; padding: 0 0 21px; }
.steps li + li { padding-top: 20px; border-top: 1px solid var(--line); }
.steps li:last-child { padding-bottom: 0; }
.step-no {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  color: #2346c8;
  background: #dce6ff;
  font-weight: 700;
}
.questions { border-top: 1px solid var(--line); }
.questions details { border-bottom: 1px solid var(--line); }
.questions summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 2px;
  list-style: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
}
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+" / ""; color: #2346c8; font-size: 24px; line-height: 1; }
.questions details[open] summary::after { content: "−" / ""; }
.questions p { margin: 0 20px 17px 2px; overflow-wrap: anywhere; }

.closing-wrap { padding-bottom: clamp(45px, 6vw, 85px); }
.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(26px, 4.5vw, 64px);
  border-radius: 24px;
  background: var(--blue);
  color: var(--paper);
}
.closing h2 { max-width: 590px; }
.button-light { color: #2346c8; background: var(--paper); }
.button-light:hover { background: #e6edff; }
.button-light:focus-visible { outline-color: var(--paper); }
.closing .action-note { color: var(--paper); }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 95px; }
.footer-inner > a:not(.brand) { font-size: 14px; color: var(--muted); text-decoration: none; }

@media (max-width: 960px) {
  .hero-inner { gap: 26px; }
  .hero-photo img { min-height: 350px; }
}

@media (max-width: 680px) {
  .header-inner { min-height: 63px; gap: 16px; }
  .header-nav { display: none; }
  .brand { font-size: 15px; }
  .header-inner .brand img { width: 36px; height: 36px; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 35px 24px; }
  h1 { font-size: clamp(37px, 10vw, 57px); }
  .section-label { margin-bottom: 12px; }
  .lead { margin-top: 15px; }
  .hero-action { margin-top: 22px; }
  .hero-photo img { min-height: 0; height: auto; aspect-ratio: 1.54; border-radius: 16px; }
  .task-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 23px; }
  .task img { aspect-ratio: 1.8; }
  .process-inner, .faq { grid-template-columns: 1fr; gap: 22px; }
  .closing { flex-direction: column; align-items: flex-start; gap: 21px; border-radius: 17px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 15px; padding-block: 23px; }
}
