:root {
  color: #111b32;
  background: #f5f7fb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: #111b32;
  background:
    radial-gradient(circle at 15% 0%, rgba(31, 111, 235, 0.09), transparent 28rem),
    #f5f7fb;
  line-height: 1.65;
}

a { color: #0759ff; }

.legal-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid #e1e6f0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.legal-header__inner,
.legal-footer__inner,
.legal-document {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
}

.legal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.legal-brand {
  color: #111b32;
  font-size: 20px;
  font-weight: 850;
  text-decoration: none;
  letter-spacing: -0.04em;
}

.legal-header nav { display: flex; gap: 18px; }
.legal-header nav a { font-size: 13px; font-weight: 700; text-decoration: none; }

.legal-document {
  margin-top: 42px;
  margin-bottom: 42px;
  padding: clamp(24px, 5vw, 64px);
  background: #fff;
  border: 1px solid #e1e6f0;
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(30, 50, 90, 0.09);
}

.legal-document h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.legal-subtitle {
  margin: 12px 0 0;
  color: #536179;
  font-size: 17px;
}

.legal-meta {
  display: grid;
  gap: 3px;
  margin: 24px 0 30px;
  padding: 14px 16px;
  color: #536179;
  background: #f5f8ff;
  border-left: 3px solid #0759ff;
  border-radius: 0 10px 10px 0;
  font-size: 13px;
}

.legal-lead { font-size: 16px; }

.legal-document h2 {
  margin: 36px 0 12px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.legal-document p { margin: 10px 0; }
.legal-document ul { margin: 10px 0; padding-left: 24px; }
.legal-document li + li { margin-top: 7px; }

.legal-requisites {
  display: grid;
  grid-template-columns: minmax(140px, 0.35fr) minmax(0, 1fr);
  margin: 14px 0 0;
  border: 1px solid #e1e6f0;
  border-radius: 12px;
  overflow: hidden;
}

.legal-requisites dt,
.legal-requisites dd { margin: 0; padding: 10px 14px; border-bottom: 1px solid #e1e6f0; }
.legal-requisites dt { color: #536179; background: #f8f9fc; font-weight: 700; }
.legal-requisites dt:last-of-type,
.legal-requisites dd:last-of-type { border-bottom: 0; }

.legal-footer { padding: 0 0 36px; color: #6a7488; font-size: 13px; }
.legal-footer__inner { display: flex; justify-content: space-between; gap: 20px; }

@media (max-width: 640px) {
  .legal-header__inner,
  .legal-footer__inner,
  .legal-document { width: min(100% - 24px, 920px); }
  .legal-header nav a:first-child { display: none; }
  .legal-document { margin-top: 20px; padding: 24px 20px; border-radius: 18px; }
  .legal-requisites { grid-template-columns: 1fr; }
  .legal-requisites dt { border-bottom: 0; }
  .legal-footer__inner { flex-direction: column; }
}
