/* Оформление юридических страниц Last Dent */
@font-face {
  font-family: "Alumni Sans";
  src: url("assets/alumni-sans-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Golos Text";
  src: url("assets/golos-text-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --color-void: oklch(0.075 0 0);
  --color-line: oklch(0.4 0 0 / 0.3);
  --font-display: "Alumni Sans", "Arial Narrow", sans-serif;
  --font-body: "Golos Text", Arial, sans-serif;
  --edge: clamp(1.25rem, 6vw, 5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--color-void);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0 var(--edge) clamp(4rem, 10vh, 7rem);
  color: oklch(0.78 0 0);
  background: var(--color-void);
  font: 400 clamp(0.88rem, 1vw, 1rem) / 1.75 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

.legal-shell {
  max-width: 58rem;
  margin-inline: auto;
}

.legal-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.5rem, 4vh, 2.5rem) 0;
  border-bottom: 1px solid var(--color-line);
}

.legal-top a {
  color: oklch(0.8 0 0);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 220ms ease;
}

.legal-top a:hover {
  color: white;
}

.legal-top strong {
  color: white;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 {
  margin: clamp(2.5rem, 6vh, 4rem) 0 0.75rem;
  color: white;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.02;
  text-transform: uppercase;
}

.legal-meta {
  margin: 0 0 clamp(2rem, 5vh, 3rem);
  color: oklch(0.55 0 0);
  font-size: 0.78rem;
}

h2 {
  margin: clamp(2rem, 4.5vh, 3rem) 0 0.85rem;
  color: white;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  font-weight: 600;
  line-height: 1.35;
}

h3 {
  margin: 1.6rem 0 0.6rem;
  color: oklch(0.9 0 0);
  font-size: 1rem;
  font-weight: 600;
}

p,
li {
  margin: 0 0 0.85rem;
}

ul,
ol {
  margin: 0 0 1.2rem;
  padding-left: 1.35rem;
}

li::marker {
  color: oklch(0.5 0 0);
}

a {
  color: oklch(0.88 0 0);
  text-underline-offset: 0.25em;
}

strong {
  color: oklch(0.93 0 0);
  font-weight: 600;
}

.legal-callout {
  margin: 1.5rem 0;
  padding: clamp(1.1rem, 2.2vw, 1.6rem);
  border: 1px solid var(--color-line);
  border-radius: 0.75rem;
  background: oklch(0.11 0 0);
  color: oklch(0.74 0 0);
  font-size: 0.85rem;
}

.legal-callout p:last-child {
  margin-bottom: 0;
}

.legal-footer {
  margin-top: clamp(3rem, 7vh, 5rem);
  padding-top: clamp(1.5rem, 3vh, 2.25rem);
  border-top: 1px solid var(--color-line);
  color: oklch(0.5 0 0);
  font-size: 0.76rem;
}

.legal-footer a {
  color: oklch(0.72 0 0);
}

table {
  width: 100%;
  margin: 0 0 1.5rem;
  border-collapse: collapse;
  font-size: 0.84rem;
}

th,
td {
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--color-line);
  text-align: left;
  vertical-align: top;
}

th {
  color: white;
  background: oklch(0.11 0 0);
  font-weight: 600;
}

.table-scroll {
  overflow-x: auto;
}
