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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }

.doc { max-width: 720px; margin: 0 auto; padding: 26px 20px 72px; }

.doc__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.doc__brand { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.doc__back { font-size: 14px; text-decoration: none; }

.doc__title {
  margin: 22px 0 10px;
  font-size: clamp(25px, 6vw, 33px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.018em;
}

.doc__lead { margin: 0 0 14px; color: var(--ink-soft); }

.doc__meta {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-soft);
}

.doc h2 { margin: 34px 0 10px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.doc h3 { margin: 22px 0 8px; font-size: 16px; font-weight: 600; }
.doc p { margin: 0 0 12px; }
.doc ul, .doc ol { margin: 0 0 14px; padding-left: 22px; }
.doc li { margin-bottom: 7px; }

.doc hr { border: 0; border-top: 1px solid var(--hairline); margin: 34px 0; }

.doc__note {
  margin: 18px 0;
  padding: 13px 16px;
  border-left: 3px solid var(--accent);
  background: var(--accent-tint);
}
.doc__note p:last-child { margin-bottom: 0; }

.doc__requisites {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid var(--hairline-strong);
  background: var(--surface);
  font-size: 14.5px;
}
.doc__requisites p { margin: 0 0 6px; }
.doc__requisites p:last-child { margin-bottom: 0; }

.doc__table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 14.5px; }
.doc__table th {
  width: 40%;
  text-align: left;
  vertical-align: top;
  padding: 7px 12px 7px 0;
  font-weight: 400;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--hairline);
}
.doc__table td { vertical-align: top; padding: 7px 0; border-bottom: 1px solid var(--hairline); }

.doc__foot {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  font-size: 14px;
  color: var(--ink-soft);
}

/* Строки подвала разделены заметно: при шести пикселях ссылки и текст
   под ними слипались в один блок */
.doc__foot p { margin: 0 0 14px; }
.doc__foot p:last-child { margin-bottom: 0; }
.doc__foot a { white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; }
}
