/* СТС-Авто — юридические страницы. Кеш привязан к версии: /css/legal.css?v=<версия> */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --navy-900: #12211a; --navy-800: #1f4132; --navy-100: #e1e6dc; --accent: #f26b1d; --accent-600: #d95a10; --accent-700: #b84a08; --accent-100: #fde6d6;
  --ink: #17201b; --muted: #4d5a52; --subtle: #7b867e; --line: #c9cfc4; --bg: #ebede6;
  --t: 160ms ease;
}
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.75; -webkit-font-smoothing: antialiased; }
h1, h2 { font-family: 'Fira Sans Extra Condensed', 'Arial Narrow', 'Segoe UI', system-ui, sans-serif; line-height: 1.25; letter-spacing: 0; color: var(--navy-900); }
a { color: var(--accent-700); text-underline-offset: 3px; transition: color var(--t); }
a:hover { color: var(--accent-600); }
:focus-visible { outline: 3px solid rgba(245, 130, 32, .5); outline-offset: 2px; border-radius: 4px; }

.legal-header { position: sticky; top: 0; z-index: 10; background: rgba(246, 247, 242, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.legal-header-inner { max-width: 960px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.legal-brand { font-family: 'Fira Sans Extra Condensed', 'Arial Narrow', sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--navy-800); text-decoration: none; }
.legal-brand b { color: var(--accent); }
.legal-brand:hover { color: var(--navy-800); }

.page { max-width: 880px; margin: 32px auto 64px; padding: clamp(24px, 5vw, 56px); background: #fff; border: 1px solid var(--line); border-radius: 2px; border-top: 4px solid var(--accent); box-shadow: 0 8px 24px rgba(18, 33, 26, .08); }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 24px; font-size: .9rem; font-weight: 600; text-decoration: none; padding: 6px 12px 6px 8px; border-radius: 2px; background: var(--navy-100); color: var(--navy-800); transition: background var(--t); }
.back-link:hover { background: #d3dacb; color: var(--navy-800); }
.page h1 { font-size: clamp(2.2rem, 4.6vw, 3.2rem); font-weight: 800; line-height: 1.05; margin-bottom: 8px; }
.page .updated { font-size: .88rem; color: var(--subtle); margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.page h2 { font-size: 1.75rem; font-weight: 700; margin: 36px 0 12px; padding-left: 14px; border-left: 4px solid var(--accent); }
.page p, .page li { font-size: .98rem; color: var(--muted); margin-bottom: 12px; }
.page ul { list-style: none; margin-bottom: 16px; }
.page ul li { position: relative; padding-left: 22px; }
.page ul li::before { content: ''; position: absolute; left: 4px; top: .8em; width: 7px; height: 7px; border-radius: 0; background: var(--accent); }
.page strong { color: var(--ink); }

.page table, .requisites-table { width: 100%; border-collapse: collapse; margin: 20px 0 30px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: table; }
.page th { background: #f8fafc; text-align: left; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--line); }
.page td { padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .94rem; vertical-align: top; color: var(--muted); }
.page tr:last-child td { border-bottom: 0; }
.requisites-table td:first-child { color: var(--muted); width: 40%; font-weight: 500; }
.requisites-table td:last-child { color: var(--ink); font-weight: 600; }
.page tbody tr:hover td { background: #fafbfd; }
.note { background: var(--accent-100); border-left: 4px solid var(--accent); padding: 16px 20px; margin: 22px 0; border-radius: 0; }
.note p { font-size: .9rem; color: #7a4a14; margin: 0; }

@media (max-width: 640px) {
  .page { margin: 16px 12px 40px; }
  .page table { display: block; overflow-x: auto; }
  .requisites-table td:first-child { width: auto; }
}
@media print { .legal-header, .back-link { display: none; } .page { border: 0; box-shadow: none; margin: 0; } }
