/* Company and legal pages (/privacy/, /terms/, /cookies/, /company/ and their /ru/ twins): one reading column of plain sections.
   Tokens only; both themes come from tokens.css and tokens-dark.css. Linked from those eight pages only. */
.legal .legal__wrap{max-width:calc(var(--ds-size-measure-text) * 1.25)}
.legal h1{font-size:clamp(32px,8vw,44px);line-height:1.1}@media (min-width:768px){.legal h1{font-size:var(--ds-font-size-2xl)}}
.legal .legal__upd{font-size:var(--ds-type-caption-size);color:var(--ds-text-secondary);letter-spacing:.04em;border-inline-start:var(--ds-border-width-decision) solid var(--ds-border-strong);padding-inline-start:var(--ds-spacing-md)}
.legal .legal__sec{margin-top:var(--ds-spacing-xl)}
.legal .legal__sec > h2{font-size:var(--ds-font-size-lg);margin-bottom:var(--ds-spacing-md)}
.legal .legal__sec p + p,.legal .legal__sec p + ul,.legal .legal__sec ul + p,.legal .legal__sec p + dl,.legal .legal__sec dl + p{margin-top:var(--ds-spacing-md)}
.legal .legal__sec p,.legal .legal__sec li,.legal .legal__sec dd{overflow-wrap:anywhere}
.legal .legal__sec a{color:var(--ds-text-link)}

.legal .legal__list{display:grid;gap:var(--ds-spacing-sm)}
.legal .legal__list li{position:relative;padding-inline-start:var(--ds-spacing-lg)}
.legal .legal__list li::before{content:"";position:absolute;inset-inline-start:var(--ds-spacing-xs);inset-block-start:.7em;inline-size:var(--ds-spacing-xs);block-size:var(--ds-spacing-xs);background:currentColor}

.legal .legal__dl{display:grid;gap:0;border-top:1px solid var(--ds-border-default)}
.legal .legal__dl > div{display:grid;gap:var(--ds-spacing-xs);padding-block:var(--ds-spacing-sm);border-bottom:1px solid var(--ds-border-default)}
@media (min-width:768px){.legal .legal__dl > div{grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:var(--ds-spacing-md)}}
.legal .legal__dl dt{font-size:var(--ds-type-caption-size);font-weight:var(--ds-font-weight-semibold);letter-spacing:.06em;text-transform:uppercase;color:var(--ds-text-secondary)}
.legal .legal__dl dd{margin:0}
