* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f4f7fb;
  color: #172033;
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.page {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 22px;
}

.brand {
  color: #162846;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.back {
  border: 1px solid #cbd6e5;
  border-radius: 999px;
  background: #fff;
  padding: 10px 16px;
  color: #2563eb;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.doc {
  border: 1px solid #cbd6e5;
  border-radius: 28px;
  background: #fff;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 22px 60px rgba(24, 38, 66, 0.10);
}

.eyebrow {
  display: inline-flex;
  border-radius: 999px;
  background: #e8f1ff;
  padding: 8px 12px;
  color: #2563eb;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

h1 {
  margin: 18px 0 10px;
  color: #162846;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.08;
}

.lead {
  margin: 0 0 26px;
  color: #5f6878;
  font-size: 18px;
}

.updated {
  display: inline-flex;
  margin: 0 0 22px;
  border-radius: 999px;
  background: #f4f7fb;
  padding: 8px 12px;
  color: #5f6878;
  font-size: 14px;
  font-weight: 800;
}

.doc-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 26px;
}

.doc-nav a {
  border: 1px solid #d7e0eb;
  border-radius: 14px;
  background: #fff;
  padding: 12px 14px;
  color: #162846;
  font-size: 14px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.doc-nav a:hover,
.doc-nav a[aria-current="page"] {
  border-color: rgba(37, 99, 235, 0.40);
  background: #e8f1ff;
  color: #2563eb;
}

.notice {
  border-left: 5px solid #2563eb;
  border-radius: 18px;
  background: #f4f7fb;
  padding: 16px 18px;
  margin: 22px 0;
  color: #394456;
  font-size: 17px;
  font-weight: 700;
}

.content {
  color: #394456;
  font-size: 16px;
}

.content h2 {
  margin: 30px 0 10px;
  color: #162846;
  font-size: 23px;
  line-height: 1.25;
}

.content p {
  margin: 0 0 10px;
}

.content ul {
  margin: 6px 0 14px;
  padding-left: 24px;
}

.content li {
  margin: 0 0 6px;
}

.requisites {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.req-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 14px;
  border: 1px solid #d7e0eb;
  border-radius: 18px;
  background: #f9fbff;
  padding: 16px;
}

.req-label {
  color: #5f6878;
  font-weight: 800;
}

.req-value {
  color: #162846;
  font-weight: 850;
}

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

.btn {
  min-height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #fff;
  font-size: 16px;
  font-weight: 850;
  text-decoration: none;
}

.btn-main {
  background: #2563eb;
}

.btn-max {
  background: linear-gradient(135deg, #17c8ff 0%, #2f6bff 48%, #a43bf2 100%);
}

.footer-note {
  margin-top: 24px;
  color: #5f6878;
  font-size: 14px;
}

@media (max-width: 620px) {
  .top {
    align-items: flex-start;
    flex-direction: column;
  }

  .req-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .doc-nav {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }
}
