@font-face { font-family: "Montserrat"; src: url("/fonts/Montserrat-Regular.woff2") format("woff2"); font-display: swap; font-weight: 400; }
@font-face { font-family: "Montserrat"; src: url("/fonts/Montserrat-Medium.woff2") format("woff2"); font-display: swap; font-weight: 500; }
@font-face { font-family: "Montserrat"; src: url("/fonts/Montserrat-SemiBold.woff2") format("woff2"); font-display: swap; font-weight: 600; }
@font-face { font-family: "Montserrat"; src: url("/fonts/Montserrat-Bold.woff2") format("woff2"); font-display: swap; font-weight: 700 900; }
body.legal-document-page {
  --legal-font: "Montserrat";
  --legal-header: #ffec35;
  --legal-banner: #ffec35;
  --legal-button: #000;
  --legal-card-border: 2px solid #000;
  --legal-shadow: none;
  --legal-divider: #ddd;
  --legal-content-link: #111;
  --legal-link-line: #ffd800;
  --legal-footer: #ffd800;
  --legal-nav-bg: #fff;
  --legal-nav-color: #000;
}
.legal-header { border-bottom: 1px solid rgba(0,0,0,.1); }
.legal-brand img { width: 191px; height: 58px; }
.legal-brand span { display: none; }
@media (max-width: 640px) { .legal-brand img { width: 148px; height: auto; } }

:root { color-scheme: light; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.legal-document-page {
  margin: 0; background: #fff; color: #040607;
  font-family: var(--legal-font), Arial, sans-serif;
  font-size: 16px; line-height: 1.7; overflow-wrap: break-word;
  /* На коротких документах прижимаем подвал к нижнему краю окна. */
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.legal-container { width: min(calc(100% - 40px), 980px); margin-inline: auto; }
.legal-header { background: var(--legal-header); color: #040607; }
.legal-header__inner {
  min-height: 98px; display: flex; align-items: center; justify-content: space-between;
  gap: 22px; padding-block: 12px;
}
.legal-brand { display: inline-flex; align-items: center; gap: 14px; min-width: 0; color: #040607; text-decoration: none; font-weight: 800; line-height: 1.25; }
.legal-brand img { display: block; width: auto; max-width: none; flex-shrink: 0; object-fit: contain; }
.legal-home-link {
  display: inline-flex; justify-content: center; align-items: center;
  flex-shrink: 0; min-height: 44px; border: 2px solid var(--legal-button);
  border-radius: 24px; background: var(--legal-button); color: #fff;
  font-family: var(--legal-font), Arial, sans-serif; font-size: 14px;
  line-height: 1.2; font-weight: 800; text-decoration: none;
  padding: 9px 22px; transition: background .15s ease, color .15s ease;
}
.legal-home-link:hover { background: transparent; color: #040607; }
.legal-hero { background: var(--legal-banner); }
.legal-intro { padding: 42px 0 58px; }
.legal-kicker { margin: 0 0 12px; color: #262626; font-size: 13px; font-weight: 700; letter-spacing: .025em; }
.legal-intro h1 {
  max-width: 960px; margin: 0 0 15px; color: #040607;
  font-size: clamp(26px, 3.6vw, 38px); line-height: 1.24; font-weight: 800; letter-spacing: -.025em;
}
.legal-lead { max-width: 800px; margin: 0; color: #333; font-size: 16px; font-weight: 500; line-height: 1.6; }
.legal-page { flex: 1 0 auto; padding: 0 0 68px; }
.legal-paper {
  position: relative; margin-top: -26px; padding: clamp(22px, 4vw, 42px);
  background: #fff; border: var(--legal-card-border);
  border-radius: 14px; box-shadow: var(--legal-shadow);
}
.legal-section + .legal-section { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--legal-divider); }
.legal-requisites-page .legal-section + .legal-section { border-top: 0; }
.legal-section h2 {
  margin: 0 0 13px; color: #040607;
  font-size: clamp(19px, 2.3vw, 23px); line-height: 1.35; font-weight: 800;
}
.legal-section p { margin: 0 0 15px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul { margin: 0 0 16px; padding-left: 23px; }
.legal-section li { padding-left: 2px; }
.legal-section li + li { margin-top: 8px; }
.legal-section a, .legal-footer-page a {
  color: var(--legal-content-link); font-weight: 700;
  text-decoration-color: var(--legal-link-line); text-underline-offset: 4px;
}
.legal-section a:hover, .legal-footer-page a:hover { text-decoration-thickness: 2px; }
.legal-details { margin: 0; }
.legal-details div {
  display: grid; grid-template-columns: minmax(120px, 200px) minmax(0, 1fr);
  gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--legal-divider);
}
.legal-details dt { font-weight: 600; color: #555; }
.legal-details dd { margin: 0; font-weight: 700; }
.legal-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.legal-nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  border: 2px solid var(--legal-button); border-radius: 24px;
  padding: 8px 16px; background: var(--legal-nav-bg);
  color: var(--legal-nav-color); font-size: 13px;
  font-weight: 700; text-decoration: none; line-height: 1.3;
  transition: background .15s ease, color .15s ease;
}
.legal-nav a:hover, .legal-nav a[aria-current="page"] {
  background: var(--legal-button); color: #fff;
}
.legal-footer-page {
  background: var(--legal-footer); color: #040607;
  padding: 25px 0; font-size: 13px; font-weight: 600;
  border-top: 1px solid rgba(0, 0, 0, .12);
}
.legal-footer-page__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 24px; }
.legal-footer-page p { margin: 0; }
a:focus-visible { outline: 3px solid #3979d0; outline-offset: 3px; }
@media (max-width: 640px) {
  .legal-container { width: min(calc(100% - 28px), 980px); }
  .legal-header__inner { min-height: 82px; gap: 12px; }
  .legal-brand { gap: 9px; font-size: 14px; }
  .legal-home-link { padding: 8px 14px; font-size: 13px; }
  .legal-intro { padding: 29px 0 44px; }
  .legal-intro h1 { margin-bottom: 11px; }
  .legal-lead { font-size: 15px; }
  .legal-page { padding-bottom: 38px; }
  .legal-paper { margin-top: -19px; border-radius: 12px; }
  .legal-section + .legal-section { margin-top: 23px; padding-top: 22px; }
  .legal-details div { display: block; }
  .legal-details dt { margin-bottom: 4px; }
  .legal-nav { margin-top: 19px; }
  .legal-nav a { max-width: 100%; }
  .legal-footer-page__inner { flex-direction: column; align-items: flex-start; }
}
