@font-face { font-family: "Golos Text"; src: local("Golos Text"), url(/fonts/golos-text.woff2) format("woff2"); font-weight: 400 900; font-display: swap; }
:root {
  --paper: #F7F5F0; --ink: #1F2430; --muted: #5B6070; --line: #DDD8CC; --card: #FFFDF8;
  --indigo: #2F3A8F; --indigo-ink: #2F3A8F; --amber: #F2A33A; --amber-d: #C9811A; --on-indigo: #fff;
  --font: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  --w: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #14161F; --ink: #ECE9E1; --muted: #A4A8B8; --line: #2B2F3F; --card: #1B1E2A; --indigo: #5866D6; --indigo-ink: #A9B4FF; --amber-d: #F2A33A; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.6 var(--font); color: var(--ink); background: var(--paper); -webkit-text-size-adjust: 100%; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 3vw, 1.95rem); }
h3 { font-size: 1.1rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 68ch; }
a { color: var(--indigo-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 3px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: var(--card); padding: 8px 12px; z-index: 99; }
.wrap { width: min(var(--w), 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); } .small { font-size: .9rem; }

/* шапка */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; flex-wrap: wrap; padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; gap: 18px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current] { color: var(--indigo-ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 20px; border-radius: 10px; font: 700 1rem var(--font); text-decoration: none !important; border: 2px solid transparent; cursor: pointer; }
.btn.main { background: var(--amber); color: #1F2430; }
.btn.main:hover { background: #f7b255; }
.btn.line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn.line:hover { background: var(--ink); color: var(--paper); }
.nav .btn { min-height: 40px; padding: 6px 16px; }

/* герой */
.hero { padding: clamp(36px, 7vw, 84px) 0 clamp(36px, 6vw, 72px); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero p.lead { font-size: 1.2rem; color: var(--ink); }
.hero .acts { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 14px; }
.hero .note { color: var(--muted); font-size: .95rem; }

/* объявление с отрывными хвостиками: главный образ сайта */
.notice { position: relative; background: var(--card); border: 1px solid var(--line); box-shadow: 0 1px 0 var(--line), 0 18px 34px -18px rgba(31,36,48,.35); transform: rotate(-1.6deg); max-width: 380px; margin-inline: auto; }
.notice::before { content: ""; position: absolute; left: 50%; top: -9px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--amber); box-shadow: inset 0 -3px 0 rgba(0,0,0,.18); }
.notice .body { padding: 34px 26px 22px; }
.notice .kicker { font-weight: 800; font-size: 1.5rem; letter-spacing: .02em; text-transform: uppercase; color: var(--indigo-ink); line-height: 1; margin-bottom: 12px; }
.notice .what { font-size: 1.25rem; font-weight: 700; line-height: 1.25; margin-bottom: 6px; }
.notice .where { color: var(--muted); font-size: .95rem; margin: 0; }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px dashed var(--ink); }
.tabs span { writing-mode: vertical-rl; transform: rotate(180deg); text-align: left; padding: 12px 6px; font-size: .86rem; line-height: 1.2; height: 132px; border-left: 1px dashed var(--ink); font-weight: 500; }
.tabs span:first-child { border-left: 0; }
.tabs span b { font-weight: 800; }
.tabs .gone { color: transparent; background: repeating-linear-gradient(135deg, transparent 0 7px, var(--line) 7px 8px); user-select: none; }

/* секции */
.sec { padding: clamp(36px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.sec.tint { background: color-mix(in srgb, var(--amber) 10%, var(--paper)); }
.sec > .wrap > h2 { max-width: 22ch; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); }
ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
ol.steps li { counter-increment: s; position: relative; padding: 0 0 18px 48px; }
ol.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--amber); color: #1F2430; font-weight: 800; display: grid; place-items: center; }
ol.steps b { display: block; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.pills a { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--ink); color: var(--ink); text-decoration: none; font-weight: 500; }
.pills a:hover { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.pills .req a::after { content: " · документы"; color: var(--muted); font-size: .85em; }
.pills .req a:hover::after { color: #fff; }
table { border-collapse: collapse; width: 100%; max-width: 640px; margin: 0 0 1em; }
th, td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--muted); font-size: .9rem; }
td.num { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.facts { padding: 0; margin: 0; list-style: none; display: grid; gap: 14px; max-width: 70ch; }
.facts li { padding-left: 22px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; background: var(--amber); border-radius: 2px; transform: rotate(45deg); }
details { border-top: 1px solid var(--line); padding: 14px 0; max-width: 780px; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; list-style: none; padding-right: 28px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 1.5rem; font-weight: 400; color: var(--indigo-ink); }
details[open] summary::after { content: "−"; }
details p { margin: 10px 0 0; }
.cta-band { background: var(--indigo); color: var(--on-indigo); padding: clamp(32px, 5vw, 56px) 0; }
.cta-band h2 { color: #fff; max-width: 26ch; }
.cta-band p { color: #E4E7FF; }
.cta-band a:not(.btn) { color: #fff; }

/* внутренние страницы */
.page { padding: clamp(28px, 5vw, 56px) 0 clamp(40px, 6vw, 80px); }
.page h1 { max-width: 20ch; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.doc h2 { font-size: 1.25rem; margin-top: 1.8em; }
.doc p { max-width: 72ch; }
.draft { border-left: 4px solid var(--amber); padding: 8px 14px; background: color-mix(in srgb, var(--amber) 12%, var(--paper)); margin: 0 0 24px; font-size: .95rem; max-width: 72ch; }
.list { padding-left: 1.2em; } .list li { margin: 0 0 .4em; max-width: 66ch; }
dl.req { display: grid; grid-template-columns: max-content 1fr; gap: 6px 22px; max-width: 640px; }
dl.req dt { color: var(--muted); } dl.req dd { margin: 0; }
.docs-list { padding: 0; list-style: none; max-width: 640px; }
.docs-list li { border-top: 1px solid var(--line); padding: 14px 0; }
.docs-list li:last-child { border-bottom: 1px solid var(--line); }
.docs-list a { font-weight: 700; font-size: 1.1rem; }
.docs-list p { margin: 4px 0 0; color: var(--muted); }

/* подвал */
.foot { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: .95rem; }
.foot .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.foot h3 { font-size: .95rem; margin-bottom: .6em; }
.foot ul { list-style: none; margin: 0; padding: 0; } .foot li { margin-bottom: 6px; }
.foot a { color: var(--ink); }
.foot .legal { grid-column: 1 / -1; color: var(--muted); font-size: .88rem; border-top: 1px solid var(--line); padding-top: 18px; }

@media (max-width: 820px) {
  .hero .wrap, .two, .foot .wrap { grid-template-columns: 1fr; }
  .notice { transform: rotate(-1deg); }
  .nav { margin-left: 0; gap: 14px; }
  .foot .legal { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .top, .foot, .cta-band { display: none; } body { background: #fff; color: #000; } }

.mt1{margin-top:10px}.mt2{margin-top:2em}.big{font-size:1.15rem}.cap{text-align:left;padding-bottom:6px}.narrow{max-width:640px}.pills+p{margin-top:18px}
