/* =====================================================================
   Snappy Shot — общие стили юр-страниц (oferta / privacy / consent).
   Подключается из всех 3 HTML-файлов через <link rel="stylesheet">.
   ===================================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  background: #061620;
  color: #cbd5e1;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.7;
}

/* === Sticky nav === */
.legal-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6,22,32,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(94,234,212,0.08);
}
.legal-nav__inner {
  max-width: 880px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.legal-nav__logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 16px; color: #f0fdfa;
  text-decoration: none;
}
.legal-nav__mark {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, #5eead4 0%, #14b8a6 100%);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: #052e2b; font-weight: 800; font-size: 14px;
  box-shadow: 0 4px 10px rgba(20,184,166,0.4);
}
.legal-nav__back {
  font-size: 14px; color: #94a3b8; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.2s;
}
.legal-nav__back:hover { color: #5eead4; }

/* === Article === */
.legal-page { max-width: 800px; margin: 0 auto; padding: 48px 24px 80px; }
article h1 {
  font-size: 32px;
  font-weight: 700;
  color: #f0fdfa;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 12px;
}
article h2 {
  font-size: 22px;
  font-weight: 700;
  color: #5eead4;
  margin-top: 40px;
  margin-bottom: 14px;
  line-height: 1.35;
}
article h3 {
  font-size: 18px;
  font-weight: 600;
  color: #99f6e4;
  margin-top: 28px;
  margin-bottom: 10px;
}
article p { margin-bottom: 16px; }
article strong { color: #f0fdfa; font-weight: 600; }
article em { font-style: italic; color: #e2e8f0; }
article a { color: #5eead4; text-decoration: underline; text-underline-offset: 2px; }
article a:hover { color: #99f6e4; }
article hr {
  border: none;
  border-top: 1px solid rgba(94,234,212,0.15);
  margin: 36px 0;
}
article ul, article ol { padding-left: 28px; margin-bottom: 16px; }
article li { margin-bottom: 6px; }
article blockquote {
  border-left: 3px solid #5eead4;
  padding: 8px 0 8px 18px;
  margin: 16px 0;
  background: rgba(94,234,212,0.04);
  color: #e2e8f0;
}
article blockquote p { margin: 0; }
article code {
  background: rgba(94,234,212,0.1);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.9em;
  color: #5eead4;
}
article table {
  border-collapse: collapse;
  width: 100%;
  margin: 16px 0;
  font-size: 14px;
}
article th, article td {
  padding: 10px 14px;
  border: 1px solid rgba(94,234,212,0.15);
  text-align: left;
  vertical-align: top;
}
article th { background: rgba(94,234,212,0.07); color: #f0fdfa; font-weight: 600; }

/* === Footer === */
.legal-footer {
  border-top: 1px solid rgba(94,234,212,0.08);
  padding: 32px 24px;
  background: #04111a;
}
.legal-footer__inner {
  max-width: 880px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
  font-size: 13px; color: #64748b;
}
.legal-footer a { color: #94a3b8; text-decoration: none; margin-right: 16px; }
.legal-footer a:hover { color: #5eead4; }

/* === Loading state === */
.legal-loading {
  text-align: center;
  padding: 80px 0;
  color: #64748b;
  font-size: 14px;
}

@media (max-width: 600px) {
  .legal-page { padding: 32px 16px 60px; }
  article h1 { font-size: 26px; }
  article h2 { font-size: 20px; }
  body { font-size: 15px; }
  article table { font-size: 13px; }
  article th, article td { padding: 8px 10px; }
}
