/* Стили только для страниц /legal/*.html */
:root {
  --bg: #fafafa;
  --text: #0a0a0b;
  --text-muted: #737373;
  --accent-hover: #262626;
  --border: #e5e5e5;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}
.legal-body {
  background: var(--bg);
}
.legal-header {
  border-bottom: 1px solid var(--border);
  background: rgba(250, 250, 250, 0.95);
}
.legal-header-inner {
  display: flex;
  align-items: center;
  height: 64px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.legal-doc {
  max-width: 720px;
  margin: 0 auto;
  padding-top: 2rem;
  padding-bottom: 3rem;
}
.legal-back {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
}
.legal-back a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}
.legal-back a:hover {
  color: var(--text);
  text-decoration: underline;
}
.legal-doc h1 {
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}
.legal-doc .legal-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
}
.legal-doc h2 {
  font-size: 1.1rem;
  margin: 2rem 0 0.65rem;
}
.legal-doc p,
.legal-doc li {
  font-size: 0.95rem;
  color: var(--text);
  margin: 0 0 0.85rem;
  line-height: 1.6;
}
.legal-doc a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-doc a:hover {
  color: var(--accent-hover);
}
.footer {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-brand {
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 0 4px;
}
.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin: 0.75rem 0 0.5rem;
  font-size: 0.8rem;
}
.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
}
.footer-legal a:hover {
  color: var(--text);
  text-decoration: underline;
}
