/* Общие стили для служебных страниц (юридические, 404) */
:root {
  --brand: #1667ff;
  --brand-dark: #0d3bb3;
  --text: #0b1c33;
  --muted: #475569;
  --bg: #f5f8ff;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
a { color: var(--brand-dark); }
.site-header {
  background: #fff;
  border-bottom: 1px solid rgba(12, 53, 126, .08);
}
.shell {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}
.site-header .shell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
}
.brand img { width: 32px; height: 32px; border-radius: 50%; }
main { padding: 48px 0 64px; }
h1 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); line-height: 1.25; margin: 0 0 .5rem; }
h2 { font-size: 1.15rem; margin: 2rem 0 .5rem; }
p, li { font-size: .975rem; color: #1e293b; }
.meta { color: var(--muted); font-size: .875rem; margin-bottom: 2rem; }
.updated { color: var(--muted); font-size: .8125rem; margin-top: 2.5rem; }
footer {
  border-top: 1px solid rgba(12, 53, 126, .08);
  background: #fff;
  padding: 20px 0;
  color: var(--muted);
  font-size: .875rem;
}
.back { display: inline-block; margin-top: 2.5rem; font-weight: 700; text-decoration: none; }
.error-code {
  font-size: clamp(3rem, 2rem + 6vw, 6rem);
  font-weight: 800;
  color: var(--brand);
  margin: 0;
  line-height: 1;
}
