:root { --ink: #23221f; --muted: #75756f; --line: #deded8; --accent: #ffd42a; }
* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
body { margin: 0; background: #f5f5f1; color: var(--ink); font-family: "Manrope", Arial, sans-serif; }
.legal-header { display: flex; min-height: 58px; align-items: center; justify-content: center; padding: 10px 12px 14px; overflow: hidden; background: linear-gradient(180deg, #343431 0%, #1d1d1b 58%, #111110 100%); }
.legal-header a { display: block; width: min(100%, 660px); color: #f3c24b; font-size: clamp(32px, 7vw, 68px); font-weight: 900; line-height: 1.05; letter-spacing: 0; text-align: center; text-decoration: none; text-transform: uppercase; transform: skewX(-10deg); -webkit-text-stroke: 1px rgba(38, 27, 9, 0.55); text-shadow: 0 2px 0 #7b4b11, 0 4px 0 #5a350b, 0 7px 8px rgba(0, 0, 0, 0.34); }
.legal-main { width: min(820px, calc(100% - 28px)); margin: 28px auto 60px; padding: clamp(20px, 5vw, 44px); border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.legal-title { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; gap: 12px; }
.legal-main h1 { min-width: 0; margin: 0 0 10px; overflow-wrap: anywhere; font-size: 48px; line-height: 1.15; }
.legal-main h2 { margin: 30px 0 10px; font-size: 20px; }
.legal-main p, .legal-main li { color: var(--muted); line-height: 1.65; }
.legal-main a { color: var(--ink); font-weight: 800; text-underline-offset: 3px; }
.legal-main strong { color: var(--ink); }
.legal-note { padding: 14px; border-left: 4px solid var(--accent); background: #fff9da; }
.legal-back { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 12px; background: #f2f2f0; color: var(--ink); text-decoration: none; transition: background 0.2s ease, transform 0.2s ease; }
.legal-back:active { transform: scale(0.97); }
.legal-back img { width: 23px; height: 23px; }
.legal-subtitle { margin: 0; }
.requisites-main { width: min(900px, calc(100% - 28px)); }
.requisites-section { min-width: 0; max-width: 100%; margin-top: 28px; }
.requisites-section h2 { margin-bottom: 12px; overflow-wrap: anywhere; }
.requisites-list { display: grid; min-width: 0; max-width: 100%; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fafaf8; }
.requisites-list div { display: grid; min-width: 0; grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1.3fr); gap: 18px; padding: 15px 18px; }
.requisites-list div + div { border-top: 1px solid var(--line); }
.requisites-list dt { color: var(--muted); font-size: 13px; font-weight: 700; }
.requisites-list dd { min-width: 0; margin: 0; color: var(--ink); font-weight: 800; overflow-wrap: anywhere; }
@media (max-width: 700px) { .legal-header a { width: calc(100% - 24px); font-size: clamp(26px, 7vw, 32px); } .legal-main { margin-top: 14px; } .legal-title { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; } .legal-back { width: 40px; height: 40px; } .legal-main h1 { font-size: 28px; } }
@media (max-width: 430px) { .legal-main h1 { font-size: 24px; } }
@media (max-width: 380px) { .legal-main h1 { font-size: 22px; } }
@media (max-width: 350px) { .legal-title { grid-template-columns: 1fr; } .legal-main h1 { font-size: 22px; } }
@media (max-width: 560px) { .requisites-list div { grid-template-columns: 1fr; gap: 5px; padding: 14px; } }
