/* Служебные страницы: «Скоро открываемся», 404, 403. Пути — от корня:
   страница ошибки отдаётся по любому адресу, относительные ссылки
   разрешались бы от него. 500.html — самодостаточная копия этих стилей
   (её может отдавать и прокси, когда сервер лежит). */
@font-face { font-family: "Nunito"; font-weight: 400; font-display: swap; src: url("/fonts/Nunito-400.ttf") format("truetype"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url("/fonts/Nunito-700.ttf") format("truetype"); }
@font-face { font-family: "Nunito"; font-weight: 800 900; font-display: swap; src: url("/fonts/Nunito-800.ttf") format("truetype"); }

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; font-family: "Nunito", -apple-system, "Segoe UI", Roboto, sans-serif; color: #102a56; background: #f7fbff; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: #0d63d9; text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #1677ff; outline-offset: 3px; border-radius: 8px; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.top { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 19px; color: #102a56; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; background: #0d63d9; color: #fff; font-weight: 800; font-size: 16px; border: 0; font-family: inherit; cursor: pointer; box-shadow: 0 10px 24px rgba(13, 99, 217, 0.25); }
.btn:hover { background: #0754c7; text-decoration: none; }
.btn.ghost { background: #eef6ff; color: #0d63d9; box-shadow: none; }
.btn.ghost:hover { background: #dceeff; }
.btn.small { min-height: 40px; padding: 8px 18px; font-size: 15px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- ошибки ---------- */
.err { flex: 1; width: 100%; max-width: 720px; margin: 0 auto; padding: 16px 24px 56px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.err .art { position: relative; width: 100%; display: flex; justify-content: center; align-items: center; min-height: 300px; }
.err .code { position: absolute; font-size: 220px; font-weight: 900; line-height: 1; letter-spacing: -0.04em; color: #dceeff; user-select: none; }
.err .art img { position: relative; width: auto; height: 280px; filter: drop-shadow(0 18px 24px rgba(16, 42, 86, 0.14)); }
.err h1 { margin: 16px 0 0; font-size: 44px; font-weight: 900; line-height: 1.08; letter-spacing: -0.01em; }
.err .lead { margin: 14px 0 0; font-size: 19px; color: #55657f; max-width: 540px; }
.err .cta { justify-content: center; }
.err .help { margin: 28px 0 0; color: #55657f; font-size: 15px; }
.err .help a { font-weight: 700; }
.e403 .code { color: #e6e0ff; }

footer { border-top: 1.5px solid #dceeff; }
footer .wrap { max-width: 1160px; margin: 0 auto; padding: 20px 24px 28px; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; color: #55657f; font-size: 14px; }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer .links a { color: #102a56; font-weight: 700; }

/* ---------- скоро открываемся ---------- */
.soon { background: radial-gradient(1200px 600px at 85% 20%, #e3f0ff 0%, rgba(227, 240, 255, 0) 60%), #f7fbff; }
.soon main { flex: 1; width: 100%; max-width: 1160px; margin: 0 auto; padding: 40px 24px 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.soon .pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1.5px solid #dceeff; color: #0d63d9; font-weight: 800; font-size: 14px; }
.soon .pill i { width: 8px; height: 8px; border-radius: 50%; background: #1a9d55; }
.soon h1 { margin: 18px 0 0; font-size: 56px; font-weight: 900; line-height: 1.04; letter-spacing: -0.01em; }
.soon h1 em { font-style: normal; color: #1677ff; }
.soon .lead { margin: 16px 0 0; font-size: 20px; color: #55657f; max-width: 520px; }
.soon .feats { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.soon .feats li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1.5px solid #dceeff; font-weight: 700; font-size: 15px; color: #29466f; }
.soon .feats .icon { color: #0d63d9; }
.soon .cta { margin-top: 32px; }
.soon .art { position: relative; }
.soon .art::before { content: ""; position: absolute; inset: 8% 6% 6% 6%; border-radius: 48% 52% 44% 56%; background: radial-gradient(circle at 45% 40%, #dceeff, #eef6ff 60%, rgba(238, 246, 255, 0) 72%); }
.soon .art img { position: relative; width: 100%; height: auto; }

@media (max-width: 900px) {
  .soon main { grid-template-columns: 1fr; text-align: center; padding-top: 16px; gap: 24px; }
  .soon .art { order: -1; max-width: 420px; margin: 0 auto; }
  .soon .feats, .soon .cta { justify-content: center; }
  .soon h1 { font-size: 38px; }
  .soon .lead { font-size: 17px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 700px) {
  .top .brand span { display: none; }
  .err .code { font-size: 132px; }
  .err .art { min-height: 240px; }
  .err .art img { height: 220px; }
  .err h1 { font-size: 32px; }
  .err .lead { font-size: 17px; }
  .cta .btn { flex: 1 1 100%; }
}
