@import url('/assets/fonts.css');

:root {
  --legal-ink: #171814;
  --legal-muted: #74766f;
  --legal-line: #dedfd7;
  --legal-bg: #f4f3ed;
  --legal-paper: #fff;
  --legal-lime: #caff32;
  --legal-soft: #efffc0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--legal-bg);
  color: var(--legal-ink);
  font-family: 'Onest', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--legal-line);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
}
.legal-header-inner,
.legal-shell,
.legal-footer-inner {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
}
.legal-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.legal-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 850; font-size: 19px; }
.legal-brand img { width: 28px; height: 28px; object-fit: contain; }
.legal-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; font-size: 14px; font-weight: 650; }
.legal-nav a { text-decoration: none; }
.legal-nav a:hover { text-decoration: underline; }
.legal-shell { padding: 54px 0 72px; }
.legal-hero { max-width: 900px; margin-bottom: 28px; }
.legal-kicker { display: inline-block; margin-bottom: 14px; padding: 7px 12px; border-radius: 999px; background: var(--legal-lime); font-size: 13px; font-weight: 800; }
h1 { margin: 0 0 18px; max-width: 900px; font-family: 'Dela Gothic One', 'Onest', sans-serif; font-size: clamp(34px, 6vw, 62px); font-weight: 400; line-height: 1.08; }
.legal-lead { max-width: 780px; margin: 0; color: var(--legal-muted); font-size: 18px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 22px; font-size: 14px; }
.legal-document { padding: 8px 0; }
.legal-document section { padding: 32px 0; border-top: 1px solid var(--legal-line); }
.legal-document h2 { margin: 0 0 16px; font-size: clamp(23px, 4vw, 32px); line-height: 1.2; }
.legal-document h3 { margin: 24px 0 8px; font-size: 18px; line-height: 1.35; }
.legal-document p { max-width: 860px; margin: 10px 0; }
.legal-document ul,
.legal-document ol { max-width: 860px; margin: 12px 0; padding-left: 24px; }
.legal-document li + li { margin-top: 8px; }
.legal-note { margin: 22px 0; padding: 20px 22px; border-radius: 16px; background: var(--legal-soft); }
.legal-table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--legal-line); border-radius: 16px; background: var(--legal-paper); }
.legal-table { width: 100%; min-width: 720px; border-collapse: collapse; }
.legal-table th,
.legal-table td { padding: 15px; border-bottom: 1px solid var(--legal-line); text-align: left; vertical-align: top; }
.legal-table th { background: #fbfbf8; font-size: 14px; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-requisites { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 860px; }
.legal-requisites div { padding: 17px 18px; border-radius: 14px; background: var(--legal-paper); border: 1px solid var(--legal-line); }
.legal-requisites span { display: block; margin-bottom: 4px; color: var(--legal-muted); font-size: 13px; }
.legal-footer { border-top: 1px solid var(--legal-line); background: var(--legal-paper); }
.legal-footer-inner { padding: 30px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 28px; }
.legal-footer-links { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 14px; }
@media (max-width: 720px) {
  .legal-header-inner,.legal-shell,.legal-footer-inner { width: min(100% - 24px, 1040px); }
  .legal-header-inner { min-height: 62px; }
  .legal-nav a:not(:last-child) { display: none; }
  .legal-shell { padding-top: 36px; }
  .legal-requisites { grid-template-columns: 1fr; }
  .legal-document section { padding: 26px 0; }
}
