/* ============================================================
   Nexora Legal — Practice page stylesheet
   Общий CSS для страниц практики, документов, публикаций и др.
   Снят с эталона practices/personal-data/index.html.
   Подключается дополнительно к colors_and_type.css.
   ============================================================ */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font-body); color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; position: relative; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50; background-image: var(--grain); background-size: 160px 160px; opacity: 0.5; mix-blend-mode: overlay; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 32px; }

/* HEADER */
.site-hdr { position: sticky; top: 0; z-index: 30; background: rgba(30,32,38,0.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.site-hdr .inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.nav { display: flex; gap: 28px; justify-self: center; }
.nav a { font: 500 13.5px/1 var(--font-body); padding: 8px 0; position: relative; color: var(--fg-muted); transition: color var(--dur) var(--ease-out); }
.nav a:hover { color: var(--fg); }
.nav a.active { color: var(--fg); }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -24px; height: 2px; background: var(--fg); }
.actions { display: flex; gap: 14px; align-items: center; }
.lang { font-family: var(--font-mono); font-size: 11.5px; color: var(--warm-gray); letter-spacing: 0.04em; }
.lang b { color: var(--fg); font-weight: 600; }
.cta { font: 600 13px/1 var(--font-body); letter-spacing: -0.005em; background: #FFFFFF; color: #1E2026; padding: 11px 16px; border-radius: 9px; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 0 28px -4px rgba(255,255,255,0.18); transition: background var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.cta:hover { background: #F2F2EE; box-shadow: 0 0 36px -4px rgba(255,255,255,0.28); }
.cta svg { width: 13px; height: 13px; }

/* Eyebrow */
.eyebrow { font: 600 11px/1.2 var(--font-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-muted); margin: 0 0 22px; display: inline-flex; gap: 10px; align-items: center; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--fg-muted); }

/* HERO */
.hero { position: relative; overflow: hidden; padding: 88px 0 96px; border-bottom: 1px solid var(--border); }
.hero::before { content: ""; position: absolute; left: 50%; top: -260px; transform: translateX(-50%); width: 1200px; height: 800px; pointer-events: none; z-index: 0; background: radial-gradient(ellipse at center, rgba(255,255,255,0.08), transparent 62%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 35%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 35%, #000 0%, transparent 70%); }
.hero .container { position: relative; z-index: 1; }

.crumbs { display: inline-flex; gap: 10px; align-items: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-faint); margin: 0 0 28px; flex-wrap: wrap; }
.crumbs a { color: var(--fg-faint); transition: color var(--dur) var(--ease-out); }
.crumbs a:hover { color: var(--fg); }
.crumbs .sep { color: rgba(255,255,255,0.18); }
.crumbs .cur { color: var(--fg); }

.hero h1 { font-family: var(--font-display); font-weight: 800; font-size: 72px; line-height: 1.04; letter-spacing: -0.035em; color: var(--fg); margin: 0; max-width: 18ch; }
.hero h1 .mute { color: var(--fg-muted); }
.hero .lead { margin: 28px 0 0; max-width: 62ch; font-size: 19px; line-height: 1.6; color: var(--warm-gray); }
.hero .tag-row { margin-top: 36px; display: flex; gap: 8px; flex-wrap: wrap; }
.hero .pill { font: 500 12.5px/1 var(--font-body); letter-spacing: -0.005em; padding: 9px 13px; border-radius: 999px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); color: var(--fg-muted); }
.hero .hero-cta { margin-top: 40px; display: inline-flex; align-items: center; gap: 10px; font: 600 14px/1 var(--font-body); letter-spacing: -0.005em; background: #FFFFFF; color: #1E2026; padding: 15px 22px; border-radius: 11px; box-shadow: 0 0 40px -6px rgba(255,255,255,0.32); transition: background var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.hero .hero-cta:hover { background: #F2F2EE; box-shadow: 0 0 48px -6px rgba(255,255,255,0.42); }
.hero .hero-cta svg { width: 14px; height: 14px; }

/* SECTION SHELL */
section.s { padding: 112px 0; position: relative; }
section.s.alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec-head { margin-bottom: 56px; max-width: 56ch; }
.sec-head h2 { font-family: var(--font-display); font-weight: 800; font-size: 46px; line-height: 1.06; letter-spacing: -0.03em; margin: 0; color: var(--fg); }
.sec-head h2 .mute { color: var(--fg-muted); }
.sec-head .lead { margin: 18px 0 0; max-width: 60ch; font-size: 16px; line-height: 1.65; color: var(--warm-gray); }

/* List rows (Tasks/Scope/Risks) */
.list-rows { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--border); }
.list-rows .row { display: grid; grid-template-columns: 56px 28px 1fr; gap: 18px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--border); }
.list-rows .row:nth-child(odd)  { padding-right: 32px; border-right: 1px solid var(--border); }
.list-rows .row:nth-child(even) { padding-left: 32px; }
.list-rows .row .ico { width: 44px; height: 44px; border-radius: 11px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10); display: flex; align-items: center; justify-content: center; color: var(--fg); margin-top: 2px; }
.list-rows .row .ico svg { width: 20px; height: 20px; }
.list-rows .row .idx { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--fg-faint); padding-top: 14px; }
.list-rows .row p { margin: 0; padding-top: 10px; font-size: 16px; line-height: 1.55; color: var(--fg); max-width: 44ch; }

.post-action { margin-top: 36px; display: inline-flex; align-items: center; gap: 10px; font: 600 14px/1 var(--font-body); color: var(--fg); padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,0.30); transition: border-color var(--dur) var(--ease-out), gap var(--dur) var(--ease-out); }
.post-action:hover { border-bottom-color: var(--fg); gap: 14px; }
.post-action svg { width: 14px; height: 14px; opacity: 0.7; }

/* Audience cards */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.a-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 28px 22px 24px; display: flex; flex-direction: column; gap: 16px; min-height: 200px; transition: border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.a-card:hover { border-color: rgba(255,255,255,0.14); transform: translateY(-2px); }
.a-card .ico { width: 44px; height: 44px; border-radius: 11px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: var(--fg); }
.a-card .ico svg { width: 20px; height: 20px; }
.a-card p { margin: 0; font: 500 16px/1.4 var(--font-display); letter-spacing: -0.01em; color: var(--fg); }

/* Process lane */
.process-lane { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; list-style: none; padding: 0; margin: 0; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 14px; position: relative; min-height: 240px; }
.step .num { font-family: var(--font-display); font-weight: 800; font-size: 14px; line-height: 1; letter-spacing: 0.02em; color: var(--fg); width: 36px; height: 36px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); display: inline-flex; align-items: center; justify-content: center; }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.22; letter-spacing: -0.01em; margin: 0; color: var(--fg); }
.step p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--warm-gray); }
.step .ord { position: absolute; right: 22px; top: 22px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--fg-faint); }

/* Result card */
.result-card { border: 1px solid var(--border); border-radius: 28px; background: var(--surface); padding: 56px; position: relative; overflow: hidden; max-width: 1080px; }
.result-card::before { content: ""; position: absolute; left: -120px; top: -140px; width: 520px; height: 520px; pointer-events: none; background: radial-gradient(circle, rgba(255,255,255,0.10), transparent 60%); }
.result-card .body { position: relative; }
.result-card h2 { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1.08; letter-spacing: -0.025em; margin: 0; color: var(--fg); max-width: 20ch; }
.result-card h2 .mute { color: var(--fg-muted); }
.result-card .out { margin: 28px 0 0; max-width: 64ch; font-size: 19px; line-height: 1.55; color: var(--fg); font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; }

/* FAQ accordion */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 24px; gap: 24px; align-items: center; padding: 26px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.3; letter-spacing: -0.01em; margin: 0; color: var(--fg); }
.faq summary .pm { width: 24px; height: 24px; position: relative; color: var(--fg-muted); transition: color var(--dur) var(--ease-out); }
.faq summary:hover .pm { color: var(--fg); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out); }
.faq summary .pm::before { width: 14px; height: 1.5px; margin-left: -7px; margin-top: -0.75px; }
.faq summary .pm::after  { width: 1.5px; height: 14px; margin-left: -0.75px; margin-top: -7px; }
.faq details[open] summary .pm::after { transform: scaleY(0); opacity: 0; }
.faq .answer { padding: 0 56px 28px 0; font-size: 16.5px; line-height: 1.65; color: var(--warm-gray); max-width: 78ch; }

/* CTA / form section */
.cta-sec { padding: 112px 0; position: relative; overflow: hidden; }
.cta-sec::before { content: ""; position: absolute; left: 50%; bottom: -240px; transform: translateX(-50%); width: 1100px; height: 500px; pointer-events: none; background: radial-gradient(ellipse at center, rgba(255,255,255,0.10), transparent 60%); }
.cta-sec .container { position: relative; }
.cta-card { background: #262932; border: 1px solid var(--border); border-radius: 28px; padding: 56px 56px 48px; color: #F2F2EE; position: relative; overflow: hidden; }
.cta-card::before { content: ""; position: absolute; right: -120px; top: -80px; width: 460px; height: 460px; pointer-events: none; background: radial-gradient(circle, rgba(255,255,255,0.10), transparent 60%); }
.cta-card .head { position: relative; max-width: 720px; }
.cta-card .practice-pin { display: inline-flex; align-items: center; gap: 10px; font: 600 11.5px/1 var(--font-body); letter-spacing: 0.06em; color: var(--fg-muted); background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); padding: 9px 14px; border-radius: 999px; margin-bottom: 28px; }
.cta-card .practice-pin .dot { width: 6px; height: 6px; border-radius: 999px; background: #F2F2EE; box-shadow: 0 0 8px rgba(255,255,255,0.55); }
.cta-card .practice-pin b { color: var(--fg); font-weight: 600; }
.cta-card .head h2 { font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1.06; letter-spacing: -0.025em; margin: 0; color: var(--fg); }
.cta-card .head .sub { margin: 18px 0 0; max-width: 60ch; font-size: 17px; line-height: 1.6; color: var(--warm-gray); }

.form-grid { position: relative; margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font: 600 11px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-faint); }
.field input, .field textarea { font: 400 15px/1.5 var(--font-body); color: var(--fg); background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.14); padding: 12px 2px; width: 100%; outline: none; transition: border-color var(--dur) var(--ease-out); resize: none; }
.field textarea { min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-faint); }
.field input:hover, .field textarea:hover { border-bottom-color: rgba(255,255,255,0.28); }
.field input:focus, .field textarea:focus { border-bottom-color: var(--fg); }

.consent { grid-column: 1 / -1; margin-top: 8px; display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; }
.consent input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 2px 0 0; border: 1px solid rgba(255,255,255,0.24); border-radius: 4px; background: transparent; cursor: pointer; position: relative; transition: border-color var(--dur) var(--ease-out), background var(--dur) var(--ease-out); }
.consent input[type="checkbox"]:hover { border-color: rgba(255,255,255,0.45); }
.consent input[type="checkbox"]:checked { background: #F2F2EE; border-color: #F2F2EE; }
.consent input[type="checkbox"]:checked::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #1E2026; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.consent label { font-size: 13px; line-height: 1.55; color: var(--warm-gray); }
.consent label a { color: var(--warm-gray); border-bottom: 1px solid rgba(167,168,174,0.35); transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out); }
.consent label a:hover { color: var(--fg); border-bottom-color: rgba(255,255,255,0.45); }

.form-ft { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; align-items: center; }
.submit { font: 600 14px/1 var(--font-body); letter-spacing: -0.005em; background: #FFFFFF; color: #1E2026; padding: 16px 24px; border-radius: 12px; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 12px; box-shadow: 0 0 36px -4px rgba(255,255,255,0.25); transition: background var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.submit:hover { background: #F2F2EE; box-shadow: 0 0 44px -4px rgba(255,255,255,0.35); }
.submit:active { background: #E0E0D8; transform: translateY(1px); }
.submit .arrow { width: 26px; height: 26px; border-radius: 999px; background: #1E2026; color: #F2F2EE; display: inline-flex; align-items: center; justify-content: center; }
.submit .arrow svg { width: 13px; height: 13px; }

/* Secondary button — для документов и нав-кнопок без коммерческой CTA */
.btn-secondary { display: inline-flex; align-items: center; gap: 10px; font: 600 13.5px/1 var(--font-body); color: var(--fg); padding: 13px 18px; border-radius: 11px; border: 1px solid var(--border-strong); background: transparent; transition: background var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out); }
.btn-secondary:hover { background: var(--surface); border-color: rgba(255,255,255,0.24); }
.btn-secondary svg { width: 14px; height: 14px; }

/* Related practices */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rel { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 28px 26px 24px; display: flex; flex-direction: column; gap: 18px; min-height: 220px; transition: border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.rel:hover { border-color: rgba(255,255,255,0.14); transform: translateY(-2px); box-shadow: 0 18px 32px -22px rgba(0,0,0,0.45); }
.rel .ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: var(--fg); }
.rel .ico svg { width: 22px; height: 22px; }
.rel h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; margin: 0; color: var(--fg); }
.rel .more { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); font: 600 13px/1 var(--font-body); color: var(--fg); display: inline-flex; align-items: center; gap: 8px; justify-content: space-between; }
.rel .more svg { width: 14px; height: 14px; opacity: 0.6; transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); }
.rel:hover .more svg { opacity: 1; transform: translateX(2px); }

/* FOOTER */
.site-ft { background: #262932; color: #A7A8AE; padding: 64px 0 24px; border-top: 1px solid var(--border); }
.site-ft .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.site-ft .brand-block { max-width: 280px; }
.site-ft .brand-block .wm { display: inline-block; }
.site-ft .brand-block p { font-size: 13px; line-height: 1.55; color: #A7A8AE; margin: 16px 0 0; }
.site-ft .col h6 { font: 600 11px/1.2 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: #F2F2EE; margin: 0 0 14px; }
.site-ft .col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.site-ft .col a { font-size: 13.5px; color: #A7A8AE; transition: color var(--dur) var(--ease-out); }
.site-ft .col a:hover { color: #F2F2EE; }
.site-ft .col .addr { font-size: 13.5px; line-height: 1.55; color: #A7A8AE; }
.site-ft .col .addr b { color: #F2F2EE; font-weight: 600; }
.site-ft .bot { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; font-size: 11.5px; color: #82838C; }
.site-ft .bot .legal { display: flex; gap: 18px; }
.site-ft .bot .legal a { color: #82838C; transition: color var(--dur) var(--ease-out); }
.site-ft .bot .legal a:hover { color: #F2F2EE; }
.site-ft .bot .copy { font-family: var(--font-mono); }

/* Hamburger / mobile drawer */
.hamburger { display: none; width: 40px; height: 40px; background: transparent; border: 1px solid var(--border-strong); border-radius: 9px; cursor: pointer; align-items: center; justify-content: center; color: var(--fg); }
.hamburger svg { width: 18px; height: 18px; }
.nav-drawer { display: none; }

/* ============ Document / publication helpers ============ */

/* Article hero — для документов и публикаций */
.a-hero { position: relative; overflow: hidden; padding: 88px 0 72px; border-bottom: 1px solid var(--border); }
.a-hero::before { content: ""; position: absolute; left: 50%; top: -300px; transform: translateX(-50%); width: 1100px; height: 760px; pointer-events: none; z-index: 0; background: radial-gradient(ellipse at center, rgba(255,255,255,0.07), transparent 62%); }
.a-hero .container, .a-hero .container-narrow { position: relative; z-index: 1; }
.a-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: 1.06; letter-spacing: -0.03em; color: var(--fg); margin: 0; max-width: 24ch; }
.a-hero h1 .mute { color: var(--fg-muted); }
.a-hero .meta { margin: 24px 0 0; display: flex; gap: 14px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--fg-faint); text-transform: uppercase; }
.a-hero .lead { margin: 28px 0 0; max-width: 64ch; font-size: 18px; line-height: 1.6; color: var(--warm-gray); }
.a-hero .rubric-chip { display: inline-flex; align-items: center; font: 600 10.5px/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); background: transparent; border: 1px solid var(--border); padding: 8px 12px; border-radius: 999px; margin: 0 0 24px; }

/* Article body — для публикаций */
.a-body { padding: 64px 0 80px; }
.a-body .container-narrow { font-size: 17px; line-height: 1.75; color: var(--fg); }
.a-body h2 { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1.18; letter-spacing: -0.02em; margin: 56px 0 18px; color: var(--fg); }
.a-body h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; margin: 36px 0 12px; color: var(--fg); }
.a-body p { margin: 0 0 18px; color: var(--fg); }
.a-body ul, .a-body ol { margin: 0 0 22px; padding-left: 22px; color: var(--fg); }
.a-body li { margin: 0 0 10px; line-height: 1.7; }
.a-body a { color: var(--link); border-bottom: 1px solid rgba(91,107,140,0.4); transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out); }
.a-body a:hover { color: var(--link-hover); border-bottom-color: var(--link-hover); }

/* Coupon-box — выделенная карточка («Коротко», «Что это значит» и т.п.) */
.kicker-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 32px 32px 28px; margin: 40px 0 56px; position: relative; }
.kicker-card::before { content: ""; position: absolute; left: -40px; top: -40px; width: 240px; height: 240px; pointer-events: none; background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 60%); }
.kicker-card .body { position: relative; }
.kicker-card h2 { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 18px; color: var(--fg); }
.kicker-card p { margin: 0 0 10px; font-size: 16.5px; line-height: 1.65; color: var(--fg); }
.kicker-card ul { margin: 0; padding-left: 22px; }
.kicker-card li { margin: 0 0 10px; line-height: 1.6; color: var(--fg); }

/* Disclaimer mini */
.disclaimer { font-size: 12.5px; line-height: 1.55; color: var(--fg-faint); border-top: 1px solid var(--border); padding-top: 24px; margin: 56px 0 0; max-width: 720px; }

/* Document body (правовые документы) */
.doc-layout { display: grid; grid-template-columns: 240px 1fr; gap: 56px; padding: 64px 0 96px; }
.doc-toc { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; padding-right: 12px; }
.doc-toc h2 { font: 600 11px/1.2 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); margin: 0 0 14px; }
.doc-toc ol { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; counter-reset: tocstep; }
.doc-toc a { font-size: 13.5px; line-height: 1.45; color: var(--fg-muted); padding: 6px 0; display: block; border-left: 2px solid transparent; padding-left: 12px; margin-left: -14px; transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out); }
.doc-toc a:hover { color: var(--fg); }
.doc-toc a.active { color: var(--fg); border-left-color: var(--link); }
.doc-body { font-size: 16px; line-height: 1.75; color: var(--fg); max-width: 720px; }
.doc-body h2 { font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; margin: 48px 0 14px; color: var(--fg); padding-top: 16px; border-top: 1px solid var(--border); }
.doc-body h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.doc-body h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; margin: 28px 0 10px; color: var(--fg); }
.doc-body p { margin: 0 0 14px; }
.doc-body ul, .doc-body ol { margin: 0 0 18px; padding-left: 22px; }
.doc-body li { margin: 0 0 8px; }
.doc-body a { color: var(--link); border-bottom: 1px solid rgba(91,107,140,0.4); }
.doc-body a:hover { color: var(--link-hover); }
.doc-placeholder { background: var(--surface); border: 1px solid var(--border-strong); border-radius: 14px; padding: 24px 26px; margin: 0 0 24px; color: var(--fg-muted); font-size: 14.5px; line-height: 1.6; }
.doc-placeholder b { color: var(--fg); font-weight: 600; }

/* Requisites table */
.req-table { width: 100%; border-collapse: collapse; margin: 16px 0 0; font-size: 15px; line-height: 1.6; }
.req-table th, .req-table td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.req-table th { width: 38%; font-weight: 600; color: var(--fg-muted); font-size: 13.5px; }
.req-table td { color: var(--fg); }

/* Responsive */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .container-narrow { padding: 0 24px; }
  .hero { padding: 64px 0 72px; }
  .hero h1 { font-size: 52px; line-height: 1.14; }
  .hero .lead { font-size: 17px; }
  .hero .hero-cta { margin-top: 32px; }
  section.s { padding: 80px 0; }
  .sec-head { margin-bottom: 40px; }
  .sec-head h2 { font-size: 36px; }
  .list-rows { grid-template-columns: 1fr; }
  .list-rows .row:nth-child(odd) { padding-right: 0; border-right: none; }
  .list-rows .row:nth-child(even) { padding-left: 0; }
  .list-rows .row { padding: 22px 0; grid-template-columns: 48px 28px 1fr; gap: 16px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .process-lane { grid-template-columns: repeat(2, 1fr); }
  .step { min-height: 220px; }
  .result-card { padding: 44px 36px; border-radius: 22px; }
  .result-card h2 { font-size: 32px; }
  .result-card .out { font-size: 17px; }
  .faq summary h3 { font-size: 19px; }
  .faq .answer { padding-right: 32px; font-size: 16px; }
  .cta-sec { padding: 80px 0; }
  .cta-card { padding: 40px 36px 36px; }
  .cta-card .head h2 { font-size: 34px; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .form-ft { justify-content: stretch; }
  .submit { width: 100%; justify-content: center; }
  .related-grid { grid-template-columns: 1fr; }
  .site-ft .top { grid-template-columns: 1fr 1fr; }
  .a-hero h1 { font-size: 40px; }
  .a-body { padding: 48px 0 72px; }
  .a-body h2 { font-size: 26px; margin-top: 44px; }
  .doc-layout { grid-template-columns: 1fr; gap: 24px; }
  .doc-toc { position: static; max-height: none; overflow: visible; border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .container-narrow { padding: 0 20px; }
  .site-hdr .inner { height: 64px; grid-template-columns: 1fr auto auto; gap: 12px; }
  .nav { display: none; }
  .actions .lang { display: none; }
  .actions .cta { display: none; }
  .hamburger { display: inline-flex; }
  .nav-drawer { position: fixed; inset: 64px 0 0 0; z-index: 25; background: rgba(30,32,38,0.97); backdrop-filter: blur(16px); padding: 24px 20px 32px; display: none; flex-direction: column; gap: 4px; overflow-y: auto; border-top: 1px solid var(--border); }
  .nav-drawer.open { display: flex; }
  .nav-drawer a { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.015em; color: var(--fg); padding: 14px 0; border-bottom: 1px solid var(--border); }
  .nav-drawer .actions-mobile { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
  .nav-drawer .actions-mobile .lang { font-family: var(--font-mono); font-size: 12px; color: var(--fg-muted); letter-spacing: 0.04em; }
  .nav-drawer .actions-mobile .cta-mobile { font: 600 14px/1 var(--font-body); padding: 14px 18px; border-radius: 10px; background: #FFFFFF; color: #1E2026; display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 0 32px -6px rgba(255,255,255,0.20); }
  .nav-drawer .actions-mobile .cta-mobile svg { width: 14px; height: 14px; }
  .hero { padding: 40px 0 56px; }
  .hero h1 { font-size: 36px; letter-spacing: -0.03em; line-height: 1.14; }
  .hero .lead { font-size: 15.5px; }
  .crumbs { margin: 0 0 20px; font-size: 10.5px; }
  .hero .tag-row { margin-top: 26px; }
  .hero .hero-cta { margin-top: 28px; width: 100%; justify-content: center; padding: 16px 22px; }
  section.s { padding: 56px 0; }
  .sec-head { margin-bottom: 28px; }
  .sec-head h2 { font-size: 28px; }
  .sec-head .lead { font-size: 15.5px; }
  .list-rows .row { padding: 20px 0; grid-template-columns: 40px 1fr; gap: 14px; }
  .list-rows .row .ico { width: 38px; height: 38px; border-radius: 9px; }
  .list-rows .row .ico svg { width: 18px; height: 18px; }
  .list-rows .row .idx { display: none; }
  .list-rows .row p { font-size: 15.5px; padding-top: 8px; }
  .cards-grid { grid-template-columns: 1fr; gap: 12px; }
  .a-card { min-height: 0; padding: 22px 22px 20px; }
  .process-lane { grid-template-columns: 1fr; }
  .step { min-height: 0; padding: 24px 22px; }
  .step h3 { font-size: 18px; }
  .result-card { padding: 32px 24px; border-radius: 20px; }
  .result-card h2 { font-size: 26px; }
  .result-card .out { font-size: 16px; }
  .faq summary { padding: 22px 0; gap: 16px; }
  .faq summary h3 { font-size: 17.5px; }
  .faq .answer { padding-right: 24px; padding-bottom: 22px; font-size: 15.5px; }
  .cta-sec { padding: 56px 0; }
  .cta-card { padding: 28px 22px; border-radius: 20px; }
  .cta-card .practice-pin { margin-bottom: 22px; }
  .cta-card .head h2 { font-size: 26px; }
  .cta-card .head .sub { font-size: 15.5px; }
  .submit { padding: 16px 22px; }
  .related-grid { grid-template-columns: 1fr; }
  .rel { padding: 22px 22px 20px; min-height: 0; }
  .rel h3 { font-size: 19px; }
  .site-ft { padding: 48px 0 20px; }
  .site-ft .top { grid-template-columns: 1fr 1fr; gap: 28px 24px; padding-bottom: 28px; }
  .site-ft .brand-block { grid-column: 1 / -1; max-width: 360px; }
  .site-ft .bot { flex-direction: column; align-items: flex-start; gap: 10px; }
  .site-ft .bot .legal { flex-wrap: wrap; gap: 12px; }
  .a-hero { padding: 56px 0 48px; }
  .a-hero h1 { font-size: 30px; }
  .a-body h2 { font-size: 22px; }
  .kicker-card { padding: 22px 20px 20px; margin: 28px 0 36px; }
  .doc-body h2 { font-size: 22px; }
  .req-table { font-size: 14px; }
  .req-table th, .req-table td { padding: 12px 0; }
  .req-table th { width: 100%; display: block; padding-bottom: 4px; border-bottom: none; }
  .req-table td { display: block; padding-top: 0; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 30px; line-height: 1.14; }
  .sec-head h2 { font-size: 24px; }
  .result-card h2 { font-size: 22px; }
  .faq summary h3 { font-size: 16.5px; }
  .a-hero h1 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ============================================================
   [A4] PRACTICE BACKGROUND DEPTH SYSTEM   (added 2026-06-03)
   Хуки: body.practice-bg[data-practice="<slug>"].
   Цель — убрать «голую черноту»: общая премиальная глубина
   (виньетка + лёгкое свечение сверху) для всех страниц практики
   плюс тонкие, едва уловимые свечения/паттерн, индивидуальные
   для каждой практики, чтобы страницы отличались друг от друга.
   Всё держится в монохроме: только белый низкой непрозрачности,
   без дешёвых ярких градиентов.
   ============================================================ */

/* --- Слой 1: общая глубина страницы (виньетка + верхнее свечение) --- */
/* Всё рисуем на ::after, т.к. ::before на странице практики уже занят
   плёночным grain (z-index:50). fixed-слой лежит под контентом
   (z-index:-1), но над сплошной заливкой body. */
.practice-bg::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    /* мягкое верхнее свечение — «свет сверху», атмосфера */
    radial-gradient(120% 80% at 50% -12%, rgba(255,255,255,0.055), transparent 58%),
    /* виньетка по углам — собирает взгляд к центру */
    radial-gradient(140% 120% at 50% 50%, transparent 62%, rgba(0,0,0,0.35) 100%);
}

/* --- Слой 2: индивидуальный фон практики --- */
/* Базовый «отпечаток» по умолчанию (если slug не распознан): два
   диагональных свечения + та же угловая виньетка последним слоем.
   Per-practice правила ниже переопределяют набор свечений/паттерн —
   и каждое САМО включает виньетку финальным слоем, чтобы глубина
   по краям не пропадала. */
.practice-bg[data-practice]::after {
  background:
    radial-gradient(46% 38% at 14% 8%,  rgba(255,255,255,0.05), transparent 60%),
    radial-gradient(40% 34% at 88% 30%, rgba(255,255,255,0.035), transparent 62%),
    radial-gradient(120% 80% at 50% -12%, rgba(255,255,255,0.05), transparent 58%),
    radial-gradient(140% 120% at 50% 50%, transparent 62%, rgba(0,0,0,0.35) 100%);
}

/* Per-practice — каждой практике своё расположение/плотность свечений
   и свой угол/масштаб тонкой решётки. Различия намеренно мягкие:
   узнаваемы при сравнении страниц, но не кричат. Последние два слоя
   в каждом наборе — верхнее свечение и угловая виньетка (общая глубина). */

/* Персональные данные — спокойный центр, «сетка реестра» */
.practice-bg[data-practice="personal-data"]::after {
  background:
    linear-gradient(rgba(255,255,255,0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.014) 1px, transparent 1px),
    radial-gradient(48% 40% at 18% 6%,  rgba(255,255,255,0.055), transparent 60%),
    radial-gradient(38% 32% at 84% 26%, rgba(255,255,255,0.03), transparent 62%),
    radial-gradient(120% 80% at 50% -12%, rgba(255,255,255,0.05), transparent 58%),
    radial-gradient(140% 120% at 50% 50%, transparent 62%, rgba(0,0,0,0.35) 100%);
  background-size: 52px 52px, 52px 52px, auto, auto, auto, auto;
}

/* Кибербезопасность — «техническая» плотная мелкая сетка, свет справа */
.practice-bg[data-practice="cybersecurity"]::after {
  background:
    linear-gradient(rgba(255,255,255,0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.016) 1px, transparent 1px),
    radial-gradient(44% 40% at 90% 8%,  rgba(255,255,255,0.06), transparent 58%),
    radial-gradient(34% 30% at 10% 34%, rgba(255,255,255,0.028), transparent 62%),
    radial-gradient(120% 80% at 50% -12%, rgba(255,255,255,0.045), transparent 58%),
    radial-gradient(140% 120% at 50% 50%, transparent 62%, rgba(0,0,0,0.35) 100%);
  background-size: 34px 34px, 34px 34px, auto, auto, auto, auto;
}

/* Искусственный интеллект — широкое мягкое свечение по центру-верху,
   «дыхание», без жёсткой сетки */
.practice-bg[data-practice="artificial-intelligence"]::after {
  background:
    radial-gradient(34% 30% at 16% 40%, rgba(255,255,255,0.03), transparent 60%),
    radial-gradient(30% 28% at 86% 44%, rgba(255,255,255,0.026), transparent 62%),
    radial-gradient(60% 46% at 50% 2%,  rgba(255,255,255,0.06), transparent 60%),
    radial-gradient(140% 120% at 50% 50%, transparent 62%, rgba(0,0,0,0.35) 100%);
}

/* Интеллектуальная собственность — диагональные «лучи», свет слева-сверху */
.practice-bg[data-practice="intellectual-property"]::after {
  background:
    repeating-linear-gradient(120deg, rgba(255,255,255,0.011) 0 1px, transparent 1px 78px),
    radial-gradient(50% 42% at 12% 4%,  rgba(255,255,255,0.058), transparent 60%),
    radial-gradient(36% 30% at 90% 36%, rgba(255,255,255,0.03), transparent 62%),
    radial-gradient(120% 80% at 50% -12%, rgba(255,255,255,0.045), transparent 58%),
    radial-gradient(140% 120% at 50% 50%, transparent 62%, rgba(0,0,0,0.35) 100%);
}

/* Споры и арбитраж — симметричный «зал суда»: два свечения по краям */
.practice-bg[data-practice="disputes"]::after {
  background:
    radial-gradient(40% 38% at 8% 8%,   rgba(255,255,255,0.05), transparent 60%),
    radial-gradient(40% 38% at 92% 8%,  rgba(255,255,255,0.05), transparent 60%),
    radial-gradient(50% 36% at 50% 40%, rgba(255,255,255,0.02), transparent 64%),
    radial-gradient(140% 120% at 50% 50%, transparent 62%, rgba(0,0,0,0.35) 100%);
}

/* Реклама и маркетинг — тёплое верхнее свечение, чуть смещённое */
.practice-bg[data-practice="advertising-marketing"]::after {
  background:
    radial-gradient(34% 30% at 14% 30%, rgba(255,255,255,0.03), transparent 62%),
    radial-gradient(54% 44% at 66% 0%,  rgba(255,255,255,0.06), transparent 60%),
    radial-gradient(140% 120% at 50% 50%, transparent 62%, rgba(0,0,0,0.35) 100%);
}

/* E-commerce — «витрина»: ровный свет сверху + мягкая широкая сетка */
.practice-bg[data-practice="ecommerce"]::after {
  background:
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px),
    radial-gradient(32% 28% at 88% 32%, rgba(255,255,255,0.028), transparent 62%),
    radial-gradient(56% 42% at 50% 0%,  rgba(255,255,255,0.055), transparent 58%),
    radial-gradient(140% 120% at 50% 50%, transparent 62%, rgba(0,0,0,0.35) 100%);
  background-size: 64px 64px, 64px 64px, auto, auto, auto;
}

/* Цифровые платформы — «узловая» сеть: несколько мелких свечений-узлов */
.practice-bg[data-practice="digital-platforms"]::after {
  background:
    radial-gradient(40% 34% at 20% 6%,  rgba(255,255,255,0.05), transparent 60%),
    radial-gradient(26% 24% at 78% 18%, rgba(255,255,255,0.03), transparent 62%),
    radial-gradient(24% 22% at 54% 38%, rgba(255,255,255,0.024), transparent 62%),
    radial-gradient(140% 120% at 50% 50%, transparent 62%, rgba(0,0,0,0.35) 100%);
}

/* Gamedev — динамичнее: смещённое яркое свечение + наклонная решётка */
.practice-bg[data-practice="gamedev"]::after {
  background:
    repeating-linear-gradient(60deg, rgba(255,255,255,0.011) 0 1px, transparent 1px 60px),
    radial-gradient(48% 44% at 82% 4%,  rgba(255,255,255,0.062), transparent 58%),
    radial-gradient(34% 30% at 12% 38%, rgba(255,255,255,0.03), transparent 62%),
    radial-gradient(140% 120% at 50% 50%, transparent 62%, rgba(0,0,0,0.35) 100%);
}

/* Уголовный комплаенс — строгий, сдержанный: одно собранное свечение */
.practice-bg[data-practice="criminal-compliance"]::after {
  background:
    radial-gradient(30% 28% at 16% 34%, rgba(255,255,255,0.022), transparent 62%),
    radial-gradient(50% 40% at 50% 0%,  rgba(255,255,255,0.048), transparent 56%),
    radial-gradient(140% 120% at 50% 50%, transparent 62%, rgba(0,0,0,0.35) 100%);
}

/* --- Слой 3: ненавязчивая глубина каждой секции --- */
/* Тонкий разделитель-свет на стыке секций + лёгкий вертикальный
   градиент внутри секции, чтобы блоки не были плоскими. Только
   для страниц с фоном — общий .s остаётся нетронутым на других
   шаблонах. */
.practice-bg section.s {
  background-image: linear-gradient(180deg, rgba(255,255,255,0.012), transparent 30%);
}
/* «Альтовые» секции уже залиты var(--bg-2) — добавляем им верхнюю
   светящуюся кромку вместо плоской границы. */
.practice-bg section.s.alt {
  position: relative;
}
.practice-bg section.s.alt::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16) 50%, transparent);
}

@media (prefers-reduced-motion: reduce) {
  /* статичные фоны и так не анимированы — ничего отключать не нужно */
}
