/* Юридические страницы — общий минималистичный стиль */

:root {
  --paper: #f7f0e4;
  --ink: #231a12;
  --ink-soft: #5b4b3c;
  --accent: #b4431f;
  --hair: rgba(35, 26, 18, 0.16);
  --text: 'Golos Text', -apple-system, 'Segoe UI', sans-serif;
  --display: 'Cormorant Infant', 'Times New Roman', serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.72;
}

.wrap { max-width: 820px; margin: 0 auto; padding: clamp(24px, 5vw, 64px) clamp(20px, 5vw, 32px) 80px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--hair); }
.top a { color: var(--ink); text-decoration: none; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.top a:hover { color: var(--accent); }
.top__back { border-bottom: 1px solid var(--accent); color: var(--accent) !important; }

h1 { font-family: var(--display); font-weight: 500; font-size: clamp(34px, 5vw, 52px); line-height: 1.05; margin: 40px 0 8px; }
h2 { font-size: 19px; font-weight: 600; margin: 38px 0 10px; }
h3 { font-size: 16px; font-weight: 600; margin: 24px 0 8px; }
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 6px; }
a { color: var(--accent); }
.lead { color: var(--ink-soft); font-size: 14px; margin-bottom: 28px; }
.meta { font-size: 12px; color: var(--ink-soft); letter-spacing: 0.04em; }
table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 14px; }
th, td { text-align: left; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--hair); vertical-align: top; }
th { font-weight: 600; }
.note { background: rgba(180, 67, 31, 0.07); border-left: 2px solid var(--accent); padding: 14px 18px; margin: 20px 0; font-size: 14px; }
footer { margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--hair); font-size: 12px; color: var(--ink-soft); }
