/* Праварь — единая система. Вся стилизация здесь, без style= в разметке. */

/* ---------- Токены: светлая тема ---------- */
:root{
  --display:'Unbounded',system-ui,sans-serif;
  --body:'Onest',system-ui,sans-serif;
  --bg:#F5F6F7; --bg2:#EBEDF0; --paper:#FFFFFF;
  --ink:#15171C; --muted:#545A65; --line:#15171C; --rule:#D3D7DD;
  --accent:oklch(0.70 0.16 35); --accent2:oklch(0.72 0.12 245); --on-accent:#15171C;
  --focus:oklch(0.52 0.2 262);
  --blend:multiply; --lw:1.5px; --ink-l:0.47;
  --h1:35;
  color-scheme:light;
}
/* ---------- Тёмная тема ---------- */
[data-theme=dark]{
  --bg:#121418; --bg2:#1A1D22; --paper:#1F2228;
  --ink:#EDEFF2; --muted:#A4AAB4; --line:#DADDE2; --rule:#30353D;
  --focus:oklch(0.80 0.13 262);
  --blend:screen; --ink-l:0.83;
  color-scheme:dark;
}

/* ---------- Полки: 8 пар красок ---------- */
:root,[data-shelf]{--shelf:var(--accent);--shelf2:var(--accent2);--on-shelf:#15171C;--shelf-ink:oklch(var(--ink-l) 0.14 var(--h1))}
[data-shelf=zh]{--h1:35; --shelf:oklch(0.70 0.16 35);  --shelf2:oklch(0.72 0.12 245)}  /* Ж Жильё и земля: коралл + синий */
[data-shelf=d] {--h1:155;--shelf:oklch(0.70 0.14 155); --shelf2:oklch(0.86 0.15 95)}   /* Д Деньги: зелёный + жёлтый */
[data-shelf=s] {--h1:355;--shelf:oklch(0.70 0.15 355); --shelf2:oklch(0.80 0.13 65)}   /* С Семья: роза + оранжевый */
[data-shelf=r] {--h1:268;--shelf:oklch(0.68 0.14 268); --shelf2:oklch(0.78 0.11 190)}  /* Р Работа: синий + бирюза */
[data-shelf=z] {--h1:195;--shelf:oklch(0.72 0.11 195); --shelf2:oklch(0.72 0.13 310)}  /* З Здоровье: бирюза + сирень */
[data-shelf=a] {--h1:60; --shelf:oklch(0.75 0.15 60);  --shelf2:oklch(0.70 0.12 240)}  /* А Авто и поездки: оранжевый + синий */
[data-shelf=l] {--h1:305;--shelf:oklch(0.68 0.14 305); --shelf2:oklch(0.74 0.14 15)}   /* Л Личное: фиолет + красный */
[data-shelf=g] {--h1:230;--shelf:oklch(0.68 0.10 230); --shelf2:oklch(0.78 0.13 135)}  /* Г Государство и закон: сталь + зелёный */

/* ---------- База ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;background:var(--bg)}
body{margin:0;background:var(--bg)}
.site{background:var(--bg);color:var(--ink);font-family:var(--body);font-size:18px;line-height:1.55;min-height:100vh;display:flex;flex-direction:column;overflow-x:clip}
.site main{flex:1}
svg{display:block}
a{color:inherit;text-decoration-thickness:1px;text-underline-offset:.2em}
a:hover{color:var(--shelf-ink)}
:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:3px}
h1,h2,h3{font-family:var(--display);font-weight:600;line-height:1.14;margin:0;letter-spacing:-.015em;text-wrap:balance}
p,ul,ol,dl,dd{margin:0;padding:0}
p{text-wrap:pretty}
ul,ol{list-style:none}
button,input{font:inherit;color:inherit}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:8px;top:-60px;z-index:50;padding:12px 16px;background:var(--ink);color:var(--bg);border-radius:4px}
.skip:focus{top:8px}

.wrap{width:100%;max-width:1520px;margin-inline:auto;padding-inline:12px}
@media (min-width:360px){.wrap{padding-inline:16px}}
@media (min-width:390px){.wrap{padding-inline:20px}}
@media (min-width:600px){.wrap{padding-inline:32px}}
@media (min-width:960px){.wrap{padding-inline:40px}}
@media (min-width:1280px){.wrap{padding-inline:56px}}
@media (min-width:1680px){.wrap{max-width:1680px;padding-inline:72px}}
.prose{max-width:66ch}
.prose p+p{margin-top:.8em}

/* ---------- Шапка: один этаж, не растёт ---------- */
.hd{position:sticky;top:0;z-index:30;background:var(--bg);border-bottom:1px solid var(--rule)}
.site[data-shelf] .hd{border-bottom:3px solid var(--shelf)}
.hd-in{display:flex;align-items:center;height:56px}
.logo{display:flex;align-items:baseline;min-height:44px;min-width:32px;padding-top:6px;text-decoration:none;color:var(--ink);flex:none}
.logo:hover{color:var(--ink)}
.logo-mk{position:relative;display:inline-block;font-family:var(--display);font-weight:700;font-size:24px;line-height:1;color:var(--shelf);isolation:isolate}
.logo-mk2{position:absolute;left:3px;top:2px;color:var(--shelf2);mix-blend-mode:var(--blend)}
.logo-w{display:none;font-family:var(--display);font-weight:600;font-size:22px;line-height:1;letter-spacing:-.02em;margin-left:1px}
.nav{display:flex;margin-left:2px;min-width:0}
.nav a{display:flex;align-items:center;min-height:44px;padding:0 4px;font-size:13px;font-weight:500;text-decoration:none;white-space:nowrap}
.nav a[aria-current]{text-decoration:underline;text-decoration-color:var(--shelf);text-decoration-thickness:3px;text-underline-offset:.45em}
.srch{margin-left:auto;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:22px;color:var(--ink);text-decoration:none;flex:none}
.srch-t{display:none}
@media (min-width:390px){.nav a{font-size:14px;padding:0 6px}}
@media (min-width:600px){.hd-in{height:64px}.logo-w{display:inline}.nav{margin-left:20px}.nav a{font-size:16px;padding:0 12px}}
@media (min-width:960px){.srch{width:280px;justify-content:flex-start;gap:10px;padding:0 18px;background:var(--paper);border:1px solid var(--rule);color:var(--muted);font-size:15px}.srch-t{display:inline}}

/* ---------- Подвал ---------- */
.ft{margin-top:72px;border-top:1px solid var(--rule);padding-block:28px 40px;font-size:15px;line-height:1.5;color:var(--muted)}
.ft-in{display:flex;flex-direction:column;gap:12px}
.ft-links{display:flex;flex-wrap:wrap;column-gap:22px}
.ft-links a,.ft-ed{display:inline-flex;align-items:center;min-height:44px;color:var(--ink)}
.ft-ed{font-weight:600;text-decoration:none}

/* ---------- Общие элементы ---------- */
.kicker{font-family:var(--display);font-size:13px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--shelf-ink)}
.h-hero{font-size:clamp(32px,calc(20px + 3.3vw),76px);font-weight:600;line-height:1.04}
.h1{font-size:clamp(30px,calc(20px + 2.8vw),64px)}
.h2{font-size:clamp(23px,calc(18px + 1.1vw),34px)}
.h3{font-size:20px;line-height:1.25}
.lead{font-size:19px;line-height:1.55;max-width:56ch}
@media (min-width:960px){.lead{font-size:21px}}
.muted{color:var(--muted)}
.small{font-size:15px;line-height:1.5}
.sec{padding-block:44px}
@media (min-width:960px){.sec{padding-block:64px}}
.sec-hd{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 20px;margin-bottom:22px}
.more{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-weight:600;font-size:16px}
.more pr-ico{width:20px;height:20px}
.btn-main{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border:0;border-radius:24px;background:var(--accent);color:var(--on-accent);font-weight:600;font-size:16px;text-decoration:none;cursor:pointer}
.btn-main:hover{color:var(--on-accent);filter:brightness(1.05)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 20px;border:1.5px solid var(--line);border-radius:24px;background:transparent;color:var(--ink);font-weight:600;font-size:16px;text-decoration:none;cursor:pointer}
.btn:hover{color:var(--ink);background:var(--bg2)}
.site[data-shelf] .btn-main{background:var(--shelf);color:var(--on-shelf)}
.chip-l{display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex:none;border-radius:4px;background:var(--shelf);color:var(--on-shelf);font-family:var(--display);font-weight:600;font-size:17px;line-height:1}
.pill{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 16px;border:1px solid var(--rule);border-radius:22px;background:var(--paper);color:var(--ink);text-decoration:none;font-size:16px}
.pill::before{content:"";width:10px;height:10px;border-radius:2px;background:var(--shelf);flex:none}
.pills{display:flex;flex-wrap:wrap;gap:8px}
.crumbs{display:flex;flex-wrap:wrap;align-items:center;column-gap:8px;font-size:15px;color:var(--muted)}
.crumbs a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink)}
.crumbs span[aria-hidden]{color:var(--muted)}
pr-ico{display:inline-flex;width:24px;height:24px;flex:none}
pr-ico svg{width:100%;height:100%}

/* ---------- Сетки: колонок ровно N на брейкпоинт, последняя растягивается ---------- */
.g{display:grid;gap:12px}
@media (min-width:600px){.g{gap:16px}}
/* полки: 2 → 4 */
/* полки: 4 в ряд на всех ширинах; до 600 px — компактно */
.cols-shelf{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;min-width:0}
.cols-shelf>*{min-width:0}
.cols-shelf>:last-child:nth-child(4n+1){grid-column:span 4}.cols-shelf>:last-child:nth-child(4n+2){grid-column:span 3}.cols-shelf>:last-child:nth-child(4n+3){grid-column:span 2}
@media (min-width:600px){.cols-shelf{gap:16px}}
/* списки и разделы: 1 → 2 → 3 */
.cols-list{grid-template-columns:repeat(1,minmax(0,1fr))}
@media (min-width:600px){.cols-list{grid-template-columns:repeat(2,minmax(0,1fr))}.cols-list>:last-child:nth-child(2n+1){grid-column:span 2}}
@media (min-width:1280px){.cols-list{grid-template-columns:repeat(3,minmax(0,1fr))}
  .cols-list>:last-child:nth-child(2n+1){grid-column:auto}
  .cols-list>:last-child:nth-child(3n+1){grid-column:span 3}.cols-list>:last-child:nth-child(3n+2){grid-column:span 2}}
/* инструменты: 1 → 2 → 4 */
.cols-tools{grid-template-columns:repeat(1,minmax(0,1fr))}
@media (min-width:600px){.cols-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.cols-tools>:last-child:nth-child(2n+1){grid-column:span 2}}
@media (min-width:1280px){.cols-tools{grid-template-columns:repeat(4,minmax(0,1fr))}
  .cols-tools>:last-child:nth-child(2n+1){grid-column:auto}
  .cols-tools>:last-child:nth-child(4n+1){grid-column:span 4}.cols-tools>:last-child:nth-child(4n+2){grid-column:span 3}.cols-tools>:last-child:nth-child(4n+3){grid-column:span 2}}
/* пары: 1 → 2 */
.cols-duo{grid-template-columns:repeat(1,minmax(0,1fr))}
@media (min-width:960px){.cols-duo{grid-template-columns:repeat(2,minmax(0,1fr))}.cols-duo>:last-child:nth-child(2n+1){grid-column:span 2}}
/* тройки: 1 → 3 */
.cols-3{grid-template-columns:repeat(1,minmax(0,1fr))}
@media (min-width:960px){.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.cols-3>:last-child:nth-child(3n+1){grid-column:span 3}.cols-3>:last-child:nth-child(3n+2){grid-column:span 2}}

/* ---------- Иллюстрации: одна линия, две краски ---------- */
pr-letter,pr-pic,pr-house,pr-city{display:block}
.art{width:100%;height:auto;overflow:visible;isolation:isolate}
.art .k1{fill:var(--shelf);mix-blend-mode:var(--blend)}
.art .k2{fill:var(--shelf2);mix-blend-mode:var(--blend)}
.art .k1s{fill:none;stroke:var(--shelf);stroke-linecap:round;mix-blend-mode:var(--blend)}
.art .k2s{fill:none;stroke:var(--shelf2);stroke-linecap:round;mix-blend-mode:var(--blend)}
.art .ln{fill:none;stroke:var(--line);stroke-width:var(--lw);vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}
.art .lnd{fill:none;stroke:var(--line);stroke-width:var(--lw);vector-effect:non-scaling-stroke;stroke-dasharray:6 5}
.art .lnf{fill:var(--line)}
.art .ol{fill:none;stroke:var(--muted);stroke-width:1.5px;vector-effect:non-scaling-stroke;font-family:var(--display);font-weight:600;font-size:200px}
.art .paper{fill:var(--paper);stroke:var(--line);stroke-width:var(--lw);vector-effect:non-scaling-stroke}
.art .sq{fill:var(--shelf)}
.art .num{fill:var(--on-shelf);font-family:var(--display);font-weight:600;font-size:17px}
.art .soft{fill:var(--shelf2);opacity:.45}
/* сборка буквы */
.art .pt{transform-box:fill-box;transform-origin:center;animation:pt-in .8s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i,0) * 90ms + var(--pd,0ms))}
.art .pt:nth-child(1){--dx:-26px;--dy:-30px;--r:-10deg;--pd:0ms}
.art .pt:nth-child(2){--dx:30px;--dy:-18px;--r:8deg;--pd:90ms}
.art .pt:nth-child(3){--dx:-18px;--dy:34px;--r:6deg;--pd:180ms}
.art .pt:nth-child(4){--dx:24px;--dy:26px;--r:-8deg;--pd:270ms}
.art .pt:nth-child(5){--dx:0px;--dy:-36px;--r:12deg;--pd:360ms}
.art .pt:nth-child(6){--dx:-30px;--dy:10px;--r:-4deg;--pd:450ms}
.art .pt:nth-child(7){--dx:20px;--dy:-10px;--r:5deg;--pd:540ms}
@keyframes pt-in{from{opacity:0;transform:translate(var(--dx),var(--dy)) rotate(var(--r))}}
.cols-shelf>:nth-child(2){--i:1}.cols-shelf>:nth-child(3){--i:2}.cols-shelf>:nth-child(4){--i:3}
.cols-shelf>:nth-child(5){--i:4}.cols-shelf>:nth-child(6){--i:5}.cols-shelf>:nth-child(7){--i:6}.cols-shelf>:nth-child(8){--i:7}

/* изометрия той же линией и красками */
.iso-ground{fill:var(--bg2);stroke:var(--line);stroke-width:var(--lw);vector-effect:non-scaling-stroke}
.iso-pad{fill:var(--paper);stroke:var(--rule);stroke-width:1px;vector-effect:non-scaling-stroke}
.iso-l,.iso-r,.iso-t,.iso-w,.iso-off,.iso-sc,.iso-road{stroke-width:var(--lw);vector-effect:non-scaling-stroke;stroke-linejoin:round}
.iso-l{fill:var(--shelf);stroke:var(--line)}
.iso-r{fill:var(--shelf2);stroke:var(--line)}
.iso-t{fill:var(--paper);stroke:var(--line)}
.iso-w{fill:var(--paper);stroke:var(--line)}
.iso-off{fill:var(--bg);fill-opacity:.4;stroke:var(--muted);stroke-dasharray:4 3}
.iso-sc{fill:none;stroke:var(--muted)}
.iso-road{fill:none;stroke:var(--muted);stroke-dasharray:10 8}
.iso-lab rect{fill:var(--paper);stroke:var(--line);stroke-width:var(--lw);vector-effect:non-scaling-stroke}
.iso-lab text{fill:var(--ink);font-family:var(--body);font-weight:600;font-size:22px}
.iso-lab .iso-soon{fill:var(--muted);font-weight:500;font-size:17px}
.lot{cursor:pointer}
.lot.is-on .iso-lab rect{fill:var(--ink)}
.lot.is-on .iso-lab text{fill:var(--bg)}
.lot-a{outline:none}
.lot-a:focus-visible .iso-lab rect{stroke:var(--focus);stroke-width:4px}
.iso-car{animation:car 22s linear infinite}
@keyframes car{from{transform:translate(0,0)}to{transform:translate(663px,383px)}}

/* ---------- Главная ---------- */
.hero{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;padding-block:14px 0}
.hero>*{min-width:0}
.hero .lead{font-size:17px}
@media (max-width:599px){.hero .kicker{display:none}.hint{display:none}.hero .h-hero{font-size:28px}}
.hero-txt{display:flex;flex-direction:column;gap:14px;align-self:center}
.hero+.sec{padding-top:24px}
@media (min-width:600px){.hero .lead{font-size:19px}.hero-txt{gap:18px}.hero+.sec{padding-top:44px}}
.sform{display:flex;align-items:center;gap:6px;max-width:520px;min-height:60px;padding:6px 6px 6px 18px;background:var(--paper);border:1.5px solid var(--line);border-radius:30px}
.sform-i{flex:1 1 0;width:0;min-width:0;height:44px;border:0;background:transparent;font-size:16px;outline:none}
.sform:focus-within{outline:3px solid var(--focus);outline-offset:2px}
.sform-i::placeholder{color:var(--muted)}
.hint{font-size:15px;color:var(--muted)}
.hint a{color:var(--ink)}
@media (min-width:600px){.hero{gap:28px;padding-block:44px 16px}}
@media (min-width:1280px){.hero{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:56px;padding-block:56px 24px}}

.shelf{position:relative;display:flex;flex-direction:column;gap:2px;padding:6px 6px 8px;background:var(--paper);border-radius:6px;color:var(--ink);text-decoration:none;min-height:44px}
.shelf:hover{color:var(--ink)}
.shelf pr-letter{width:100%;max-width:260px;margin-inline:auto;transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.shelf:hover pr-letter{transform:translateY(-4px)}
.shelf-n{display:none;font-weight:600;font-size:16px;line-height:1.25}
.shelf-s{font-weight:600;font-size:13px;line-height:1.25;text-align:center;hyphens:auto;overflow-wrap:anywhere}
.shelf-c{display:none;font-size:14px;line-height:1.3;color:var(--muted)}
.shelf--off .shelf-c{display:block;font-size:12px;text-align:center}
.shelf--off .shelf-s{color:var(--muted)}
@media (min-width:390px){.shelf-s{font-size:14px}}
@media (min-width:600px){.shelf{gap:6px;padding:10px 12px 14px}.shelf-s{display:none}.shelf-n,.shelf-c{display:block}.shelf--off .shelf-c{font-size:14px;text-align:left}}
.shelf--off{background:transparent;border:1px dashed var(--muted)}
.shelf--off .shelf-n{color:var(--muted)}

.sit{display:grid;grid-template-columns:40px minmax(0,1fr) 24px;align-items:center;gap:14px;min-height:68px;padding:12px 14px 12px 12px;background:var(--paper);border-radius:6px;color:var(--ink);text-decoration:none}
.sit:hover{color:var(--ink)}
.sit:hover .sit-t{text-decoration:underline;text-underline-offset:.2em}
.sit-t{display:block;font-weight:500;font-size:17px;line-height:1.3}
.sit-m{display:block;font-size:14px;line-height:1.35;color:var(--muted);margin-top:2px}
.sit pr-ico{color:var(--muted)}

.card{display:flex;flex-direction:column;gap:18px;padding:22px;background:var(--paper);border-radius:8px}
@media (min-width:960px){.card{padding:32px}}
.rows{display:flex;flex-direction:column}
.rows a{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;border-top:1px solid var(--rule);color:var(--ink);text-decoration:none;font-size:17px}
.rows a:hover span:first-child{text-decoration:underline;text-underline-offset:.2em}
.rows .muted{font-size:15px;white-space:nowrap}

.tool{display:flex;flex-direction:column;gap:6px;padding:18px 20px 20px;background:var(--paper);border-radius:6px;color:var(--ink);text-decoration:none;min-height:44px}
.tool:hover{color:var(--ink)}
.tool:hover .tool-t{text-decoration:underline;text-underline-offset:.2em}
.tool-t{font-family:var(--display);font-weight:600;font-size:17px;line-height:1.25}
.tool-d{font-size:15px;line-height:1.45;color:var(--muted)}

.how{display:grid;gap:20px;padding:24px 0 0;border-top:1.5px solid var(--line)}
.how li{display:grid;grid-template-columns:36px minmax(0,1fr);gap:14px}
.how-n{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:1.5px solid var(--line);font-family:var(--display);font-weight:600;font-size:15px}
@media (min-width:960px){.how{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}}

/* ---------- Полка ---------- */
.sh-hero{display:grid;gap:20px;padding-block:8px 32px}
.sh-art{order:-1;width:150px}
.sh-txt{display:flex;flex-direction:column;gap:16px}
.stats{display:flex;flex-wrap:wrap;gap:8px 28px;font-size:16px}
.stats b{font-family:var(--display);font-weight:600;font-size:22px;margin-right:6px}
@media (min-width:600px){.sh-hero{grid-template-columns:minmax(0,1fr) 220px;align-items:end}.sh-art{order:0;width:100%}}
@media (min-width:960px){.sh-hero{grid-template-columns:minmax(0,1fr) minmax(0,380px);padding-block:16px 48px}}
@media (min-width:1680px){.sh-hero{grid-template-columns:minmax(0,1fr) minmax(0,460px)}}
.sect{display:flex;flex-direction:column;gap:14px;padding:22px;background:var(--paper);border-radius:8px}
.sect-hd{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.sect-c{font-size:15px;color:var(--muted);white-space:nowrap}
.sect .more{margin-top:auto}
.soon{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center;padding:18px 0 0;font-size:16px;color:var(--muted)}
.soon-t{font-weight:600;color:var(--ink)}
.soon span:not(.soon-t){padding:4px 10px;border:1px dashed var(--muted);border-radius:14px}

/* ---------- Инструкция ---------- */
.ins-hd{background:var(--bg2);border-bottom:1px solid var(--rule)}
.ins-hd-in{display:grid;grid-template-columns:minmax(0,1fr) 76px;gap:6px 16px;padding-block:6px 28px}
.ins-hd .crumbs{grid-column:1 / -1}
.ins-ttl{display:flex;flex-direction:column;gap:14px}
.ins-letter{align-self:start}
.meta{display:flex;flex-wrap:wrap;gap:8px}
.meta span{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:0 12px;border:1px solid var(--rule);border-radius:17px;background:var(--paper);font-size:14px}
.meta pr-ico{width:18px;height:18px}
@media (min-width:600px){.ins-hd-in{grid-template-columns:minmax(0,1fr) 180px;padding-block:8px 40px}}
@media (min-width:960px){.ins-hd-in{grid-template-columns:minmax(0,1fr) 240px}}

.ins{display:grid;gap:40px;padding-block:32px 0}
.ins-main{display:flex;flex-direction:column;gap:56px;min-width:0}
.toc{display:none}
@media (min-width:1280px){
  .ins{grid-template-columns:minmax(0,1fr) 280px;gap:64px;padding-block:48px 0}
  .toc{display:flex;flex-direction:column;position:sticky;top:96px;align-self:start;padding-top:4px}
}
.toc-t{font-family:var(--display);font-weight:600;font-size:14px;margin-bottom:8px}
.toc a{display:flex;align-items:center;gap:10px;min-height:40px;border-top:1px solid var(--rule);color:var(--ink);text-decoration:none;font-size:16px}
.toc a:hover{color:var(--shelf-ink)}
.toc b{font-family:var(--display);font-weight:600;font-size:13px;color:var(--shelf-ink);width:18px}

.blk{display:flex;flex-direction:column;gap:18px;scroll-margin-top:96px}
.blk-h{display:flex;align-items:baseline;gap:12px}
.blk-k{font-family:var(--display);font-weight:600;font-size:clamp(23px,calc(18px + 1.1vw),34px);color:var(--shelf-ink)}

.fig{display:grid;gap:20px;padding:16px;background:var(--paper);border:1px solid var(--rule);border-radius:8px}
.fig pr-pic{max-width:440px;width:100%;margin-inline:auto}
.fig-t{font-family:var(--display);font-weight:600;font-size:17px}
.callouts{display:flex;flex-direction:column;gap:14px}
.callouts li{display:grid;grid-template-columns:32px minmax(0,1fr);gap:12px;font-size:16px;line-height:1.45}
.sq-n{display:flex;align-items:center;justify-content:center;width:32px;height:32px;background:var(--shelf);color:var(--on-shelf);font-family:var(--display);font-weight:600;font-size:15px}
.callouts small{display:block;font-size:14px;color:var(--muted)}
@media (min-width:960px){.fig{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;padding:28px}}

.laws{display:grid;gap:16px}
@media (min-width:1280px){.laws{grid-template-columns:repeat(2,minmax(0,1fr))}.laws>:last-child:nth-child(2n+1){grid-column:span 2}}
.law{display:flex;flex-direction:column;background:var(--paper);border:1.5px solid var(--line)}
.law-h{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 12px;padding:10px 16px;background:var(--ink);color:var(--bg)}
.law-h b{font-family:var(--display);font-weight:600;font-size:14px;letter-spacing:.01em}
.law-h span{font-size:13px}
.law-q{padding:16px 18px 0;font-size:17px;line-height:1.55;font-weight:500}
.law-q::before{content:"§ ";font-family:var(--display);color:var(--shelf-ink)}
.law-s{padding:10px 18px 0;font-size:16px;color:var(--muted)}
.law a{display:inline-flex;align-items:center;gap:6px;min-height:48px;padding:0 18px;margin-top:auto;font-weight:600;font-size:15px}

.steps{display:flex;flex-direction:column;counter-reset:s}
.step{display:grid;grid-template-columns:48px minmax(0,1fr);gap:16px;padding-block:20px;border-top:1px solid var(--rule)}
.step-n{display:flex;align-items:center;justify-content:center;width:48px;height:48px;background:var(--shelf);color:var(--on-shelf);font-family:var(--display);font-weight:600;font-size:20px;transition:background .25s}
.step-b{display:flex;flex-direction:column;gap:8px;min-width:0}
.step-t{display:flex;align-items:center;gap:10px;font-weight:600;font-size:19px;line-height:1.3}
.step-t pr-ico{color:var(--shelf-ink)}
.step-ref{font-size:15px;color:var(--muted)}
.step-done{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px 0 10px;border:1px solid var(--rule);border-radius:22px;background:transparent;font-size:15px;cursor:pointer}
.step-done pr-ico{width:20px;height:20px;opacity:.25}
.step-done[aria-pressed=true]{border-color:var(--line)}
.step-done[aria-pressed=true] pr-ico{opacity:1;color:var(--shelf-ink)}
.step.is-done .step-n{background:var(--ink);color:var(--bg)}

.sample{display:grid;gap:20px}
@media (min-width:960px){.sample{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:start}}
.doc{position:relative;padding:22px 22px 0;max-height:360px;overflow:hidden;background:var(--paper);border:1px solid var(--rule);box-shadow:6px 6px 0 var(--shelf2);font-size:14px;line-height:1.55}
.doc::after{content:"";position:absolute;left:0;right:0;bottom:0;height:80px;background:linear-gradient(transparent,var(--paper))}
.doc-to{margin-left:40%;margin-bottom:14px}
.doc-h{text-align:center;font-weight:700;letter-spacing:.08em;margin:10px 0}
.doc p+p{margin-top:8px}
.doc mark{background:transparent;border-bottom:1.5px dashed var(--shelf-ink);color:inherit}
.sample-t{display:flex;flex-direction:column;gap:14px}
.btns{display:flex;flex-wrap:wrap;gap:10px}

.say{display:flex;flex-direction:column;gap:14px}
.say li{display:grid;gap:10px;padding:18px;background:var(--paper);border-radius:8px}
@media (min-width:960px){.say li{grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:24px}}
.say-q{font-weight:600;font-size:17px}
.say-q::before{content:"Вам говорят";display:block;font-weight:500;font-size:14px;color:var(--muted)}
.say-a::before{content:"Вы отвечаете";display:block;font-size:14px;color:var(--muted)}
.say-a small{display:block;margin-top:6px;font-size:15px;color:var(--muted)}

.oops{display:flex;flex-direction:column}
.oops li{display:grid;grid-template-columns:28px minmax(0,1fr);gap:12px;padding-block:14px;border-top:1px solid var(--rule)}
.oops pr-ico{color:var(--shelf-ink);margin-top:2px}
.oops b{font-weight:600}

.tl{display:flex;flex-direction:column;position:relative}
.tl li{position:relative;display:grid;gap:2px;padding:0 0 22px 32px}
.tl li::before{content:"";position:absolute;left:6px;top:8px;width:12px;height:12px;background:var(--shelf);border:1.5px solid var(--line)}
.tl li::after{content:"";position:absolute;left:12px;top:24px;bottom:0;width:1.5px;background:var(--line)}
.tl li:last-child::after{display:none}
.tl b{font-family:var(--display);font-weight:600;font-size:16px}
@media (min-width:960px){.tl li{grid-template-columns:200px minmax(0,1fr);gap:24px}}

.lw{display:flex;flex-direction:column;gap:14px;padding:24px;border-radius:8px}
.lw[data-state=no]{background:var(--bg2)}
.lw[data-state=yes]{background:var(--paper);border:1.5px solid var(--line)}
.lw-badge{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;min-height:32px;padding:0 12px;border-radius:16px;font-size:14px;font-weight:600}
.lw[data-state=no] .lw-badge{background:var(--paper)}
.lw[data-state=yes] .lw-badge{background:var(--shelf);color:var(--on-shelf)}
.lw ul{display:flex;flex-direction:column;gap:6px}
.lw li{position:relative;padding-left:20px}
.lw li::before{content:"";position:absolute;left:2px;top:.6em;width:8px;height:8px;background:var(--shelf)}

.words{display:grid;gap:12px}
@media (min-width:960px){.words{grid-template-columns:repeat(2,minmax(0,1fr))}.words>:last-child:nth-child(2n+1){grid-column:span 2}}
.word{display:flex;flex-direction:column;gap:4px;padding:16px 18px;background:var(--paper);border-radius:6px}
.word a{font-family:var(--display);font-weight:600;font-size:16px;min-height:28px}
.word p{font-size:16px;line-height:1.5;color:var(--muted)}

.checked{display:flex;flex-direction:column;gap:14px;padding-top:24px;border-top:1.5px solid var(--line)}
.checked-t{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;font-weight:600}
.checked-t pr-ico{color:var(--shelf-ink)}
.src{display:flex;flex-direction:column}
.src a{display:inline-flex;align-items:center;min-height:44px;font-size:16px}

/* ---------- Кто я ---------- */
.ky-hero{display:flex;flex-direction:column;gap:14px;padding-block:24px 28px}
@media (min-width:960px){.ky-hero{padding-block:44px 32px}}
.city{display:none}
@media (min-width:960px){
  .city{display:grid;gap:24px}
  .street{display:none}
}
@media (min-width:1280px){.city{grid-template-columns:minmax(0,1fr) 340px;align-items:start}}
.city-map{min-width:0;padding:8px;background:var(--bg2);border-radius:10px}
.panel{display:flex;flex-direction:column;gap:14px;padding:24px;background:var(--paper);border-radius:8px}
@media (min-width:1280px){.panel{position:sticky;top:96px}}
.panel-hd{display:flex;align-items:center;gap:12px}
.panel .rows a{font-size:16px}

.street{display:flex;flex-direction:column}
.lot-s{display:grid;grid-template-columns:84px minmax(0,1fr);gap:14px;align-items:start;padding-block:18px;border-top:1px solid var(--rule)}
.lot-s pr-house{width:84px}
.lot-b{display:flex;flex-direction:column;gap:4px;min-width:0}
.lot-n{font-family:var(--display);font-weight:600;font-size:16px;line-height:1.25;overflow-wrap:anywhere;hyphens:auto}
@media (min-width:390px){.lot-n{font-size:18px}}
.lot-b .rows a{font-size:16px;min-height:44px}
.lot-off .lot-n{color:var(--muted)}
@media (min-width:600px){.lot-s{grid-template-columns:120px minmax(0,1fr);gap:24px}.lot-s pr-house{width:120px}}

/* ---------- Без движения ---------- */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
}

/* ---------- Обзор (служебный холст, не часть сайта) ---------- */
.ov{display:flex;flex-direction:column;gap:72px;padding:56px;background:#E4E6EA;color:#15171C;font-family:'Onest',sans-serif}
.ov-h{display:flex;flex-direction:column;gap:10px;max-width:980px}
.ov-h h1{font-family:'Unbounded',sans-serif;font-weight:600;font-size:34px}
.ov-h p{font-size:18px;line-height:1.55;color:#454A53}
.ov-sec{display:flex;flex-direction:column;gap:20px}
.ov-sec h2{display:flex;align-items:center;gap:14px;font-family:'Unbounded',sans-serif;font-weight:600;font-size:24px}
.ov-id{display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:36px;padding:0 10px;border-radius:18px;background:#15171C;color:#fff;font-family:'Onest',sans-serif;font-size:15px;font-weight:600}
.ov-sec>p{font-size:17px;color:#454A53;max-width:900px}
.ov-row{display:flex;flex-wrap:wrap;gap:28px;align-items:flex-start}
.ov-item{display:flex;flex-direction:column;gap:10px}
.ov-cap{font-size:15px;font-weight:600}
.ov-cap span{font-weight:400;color:#545A65}
.ov-box{position:relative;overflow:hidden;border-radius:8px;background:#fff;box-shadow:0 20px 50px rgba(20,24,30,.14)}
.ov-box iframe{position:absolute;left:0;top:0;border:0;transform-origin:0 0}
.ov-d{width:576px;height:1400px}.ov-d iframe{width:1440px;height:3500px;transform:scale(.4)}
.ov-m{width:273px;height:1400px}.ov-m iframe{width:390px;height:2000px;transform:scale(.7)}
.ov-w320{width:224px;height:1120px}.ov-w320 iframe{width:320px;height:1600px;transform:scale(.7)}
.ov-w768{width:384px;height:1100px}.ov-w768 iframe{width:768px;height:2200px;transform:scale(.5)}
.ov-w1024{width:461px;height:1100px}.ov-w1024 iframe{width:1024px;height:2445px;transform:scale(.45)}
.ov-w1920{width:576px;height:1100px}.ov-w1920 iframe{width:1920px;height:3667px;transform:scale(.3)}
.ov a{color:#15171C}
