/* Оформление юридических страниц: /privacy, /offer */
@import url('https://fonts.googleapis.com/css2?family=Onest:wght@400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple:      #5E6AEB;
  --purple-dark: #203BBE;
  --grad:        linear-gradient(180deg, rgba(94,106,235,1) 0%, rgba(32,59,190,1) 100%);
  --bg:          #FAFAFA;
  --line:        #EBEBEB;
  --text:        #383838;
  --muted:       #898989;
  --yellow:      #F7B844;
  --radius:      10px;
  --pill:        3000px;
}

body {
  font-family: 'Onest', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 500;
  background: var(--bg); color: var(--text); line-height: 1.7;
}

.legal-header {
  background: var(--grad); padding: 22px 24px;
}
.legal-header-inner {
  max-width: 860px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.legal-header a.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.legal-header a.logo img { height: 40px; width: auto; }
.legal-header a.back {
  color: #fff; text-decoration: none; font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .3px;
  border: 1.5px solid rgba(255,255,255,.55); border-radius: var(--pill); padding: 9px 18px;
  transition: background .2s; white-space: nowrap;
}
.legal-header a.back:hover { background: rgba(255,255,255,.18); }

.legal-wrap { max-width: 860px; margin: 0 auto; padding: 44px 24px 64px; }

.legal-wrap h1 {
  font-size: clamp(24px, 4vw, 34px); font-weight: 900;
  line-height: 1.2; margin-bottom: 8px; text-transform: uppercase; letter-spacing: -.2px;
}
.legal-date { color: var(--muted); font-size: 14px; margin-bottom: 32px; }

.legal-wrap h2 {
  font-size: 19px; font-weight: 800;
  margin: 34px 0 12px; padding-top: 22px; border-top: 1px solid var(--line);
}
.legal-wrap h2:first-of-type { border-top: none; padding-top: 0; }
.legal-wrap h3 { font-size: 16px; font-weight: 800; margin: 20px 0 8px; }

.legal-wrap p { margin-bottom: 12px; font-size: 15px; }
.legal-wrap ul, .legal-wrap ol { margin: 0 0 14px 22px; }
.legal-wrap li { font-size: 15px; margin-bottom: 7px; }
.legal-wrap a { color: var(--purple-dark); }

.legal-card {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--yellow);
  border-radius: var(--radius); padding: 22px 26px; margin: 22px 0;
}
.legal-card p:last-child, .legal-card ul:last-child { margin-bottom: 0; }

.req-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.req-table td { padding: 9px 0; vertical-align: top; border-bottom: 1px solid var(--line); }
.req-table tr:last-child td { border-bottom: none; }
.req-table td:first-child { color: var(--muted); width: 42%; padding-right: 16px; }

.legal-footer {
  background: var(--grad); color: rgba(255,255,255,.75);
  font-size: 13px; text-align: center; padding: 26px 24px;
}
.legal-footer a { color: #fff; text-decoration: none; }

@media (max-width: 600px) {
  .legal-wrap { padding: 30px 18px 48px; }
  .req-table td:first-child { width: 50%; }
}
