/* Служебные страницы peresvet.it (политика, согласие, 404): шрифты, цвета и шапка главной */
@font-face { font-family: "Suisse Int'l Book"; src: url('/assets/fonts/suisse-intl-book.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('/assets/fonts/inter-400-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('/assets/fonts/inter-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --c-white: #f8f6f5;
  --c-black: #000;
  --c-accent: #243afe;
  --c-accent-hover: #3348ff;
  --bg-1: #f8f6f5;
  --bg-3: #eceae9;
  --font: "Suisse Int'l Book", 'Inter', sans-serif;
  --page-pad: 24px;
}
@media (max-width: 879.98px) { :root { --page-pad: 16px; } }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { font-family: var(--font); color: var(--c-black); background: var(--bg-1); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; }
h1, h2, h3 { font-weight: 400; }

.doc-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 16px var(--page-pad); }
.doc-logo { display: block; width: 96px; height: 30px; color: var(--c-black); }
.doc-logo svg { display: block; width: 100%; height: 100%; }
.doc-home { font-size: 15px; line-height: 20px; text-transform: uppercase; text-decoration: none; padding-top: 4px; }
.doc-home:hover { color: var(--c-accent); }

.doc { flex: 1; width: 100%; max-width: calc(880px + 2 * var(--page-pad)); padding: 48px var(--page-pad) 72px; }
.doc-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; line-height: 16px; text-transform: uppercase; color: var(--c-accent); margin-bottom: 16px; }
.doc-label::before { content: ''; width: 6px; height: 6px; background: currentColor; }
.doc h1 { font-size: 32px; line-height: 38px; text-transform: uppercase; margin-bottom: 12px; }
.doc-meta { font-size: 14px; line-height: 20px; opacity: .6; margin-bottom: 40px; }
.doc h2 { font-size: 20px; line-height: 26px; text-transform: uppercase; margin: 40px 0 16px; padding-top: 12px; border-top: 2px solid currentColor; }
.doc p, .doc li { font-size: 17px; line-height: 26px; }
.doc p + p, .doc p + ul, .doc ul + p { margin-top: 12px; }
.doc ul { list-style: none; margin-top: 8px; }
.doc li { position: relative; padding-left: 20px; }
.doc li + li { margin-top: 6px; }
.doc li::before { content: ''; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; background: var(--c-accent); }
.doc a { color: var(--c-accent); text-decoration: none; }
.doc a:hover { text-decoration: underline; }
.doc-toc { background: var(--bg-3); padding: 20px; margin-bottom: 8px; }
.doc-toc p { font-size: 14px; line-height: 20px; text-transform: uppercase; margin-bottom: 8px; }
.doc-toc ol { list-style: none; columns: 2 280px; column-gap: 24px; }
.doc-toc li { font-size: 15px; line-height: 22px; padding: 0; }
.doc-toc li::before { display: none; }
.doc-card { background: var(--bg-3); padding: 20px; margin-top: 16px; }
.doc-card p { font-size: 16px; line-height: 24px; }
@media (max-width: 879.98px) {
  .doc { padding-top: 24px; }
  .doc h1 { font-size: 24px; line-height: 30px; }
  .doc h2 { font-size: 18px; line-height: 24px; }
  .doc p, .doc li { font-size: 16px; line-height: 24px; }
}

.doc-footer { background: var(--c-accent); color: var(--c-white); padding: 20px var(--page-pad); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; line-height: 20px; }
.doc-footer a { text-decoration: none; border-bottom: 1px solid rgba(248,246,245,.5); }
.doc-footer a:hover { border-color: var(--c-white); }

/* 404 */
.nf { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 48px var(--page-pad) 96px; }
.nf-code { font-size: clamp(96px, 22vw, 320px); line-height: .9; color: var(--c-accent); letter-spacing: -0.02em; }
.nf h1 { font-size: 28px; line-height: 34px; text-transform: uppercase; margin: 24px 0 12px; }
.nf p { font-size: 17px; line-height: 26px; max-width: 560px; opacity: .7; }
.nf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { border: 0; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 48px; padding: 0 16px; background: var(--c-accent); color: var(--c-white); font-size: 14px; line-height: 16px; text-transform: uppercase; text-decoration: none; transition: background .2s; }
.btn:hover { background: var(--c-accent-hover); }
.btn .arr { font-size: 20px; line-height: 16px; transition: transform .2s; }
.btn:hover .arr { transform: translateX(6px); }
.btn--ghost { background: transparent; color: var(--c-black); box-shadow: inset 0 0 0 2px currentColor; }
.btn--ghost:hover { background: rgba(0,0,0,.04); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn .arr { transition: none; } }
