@font-face { font-family: "Unbounded"; font-weight: 200 900; font-display: swap; src: url("../fonts/unbounded-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-weight: 200 900; font-display: swap; src: url("../fonts/unbounded-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: "Manrope"; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }

:root {
  --ink: #262626;
  --ink-2: #3a3a3a;
  --blue: #4a7cc4;
  --blue-d: #36649f;
  --green: #2f7d4a;
  --red: #c8372d;
  --bg: #f4f0e8;
  --paper: #fbf9f4;
  --muted: #5e5c57;
  --line: #dfd8ca;
  --head: "Unbounded", "Segoe UI", Roboto, Arial, sans-serif;
  --text: "Manrope", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--text); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
h1, h2, .h4, .brand { font-family: var(--head); letter-spacing: -.01em; }
h3 { font-weight: 800; }
a { color: var(--blue-d); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.ornament { height: 22px; background-color: var(--ink); background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='22'%3E%3Cpath d='M22 2 L31 11 L22 20 L13 11 Z' fill='%23c8372d'/%3E%3Cpath d='M22 7 L26 11 L22 15 L18 11 Z' fill='%23fbf9f4'/%3E%3Cpath d='M0 11 L4 7 L8 11 L4 15 Z M36 11 L40 7 L44 11 L40 15 Z' fill='%234a7cc4'/%3E%3C/svg%3E");
  background-repeat: repeat-x; background-position: center; }

.alert-registry { background: var(--red); color: #fff; padding: 14px 28px; text-align: center; font-weight: 600; }

.topbar { background: var(--paper); font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar b { color: var(--red); font-weight: 600; }
.topbar a { color: var(--muted); }

.site-header .wrap { display: flex; align-items: center; gap: 36px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand span { font-weight: 700; font-size: 18px; letter-spacing: .08em; }
.site-nav { display: flex; gap: 24px; font-size: 15px; font-weight: 600; flex: 1; }
.site-nav a { text-decoration: none; color: var(--ink-2); padding: 4px 0; border-bottom: 3px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--line); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--red); }
.nav-toggle { display: none; margin-left: auto; font: 700 15px var(--text); background: var(--ink); color: #fff; border: 0; padding: 10px 16px; cursor: pointer; }

.btn { display: inline-block; padding: 12px 24px; font-family: var(--text); font-weight: 700; text-decoration: none; font-size: 15px; letter-spacing: .01em; white-space: nowrap;
  color: #fff; background: var(--red); border: 2px solid var(--red); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: #b02e25; border-color: #b02e25; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.tag { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--green); font-weight: 700; }
.tag i { width: 10px; height: 10px; background: var(--red); transform: rotate(45deg); display: inline-block; }
.hero h1 { font-size: 40px; line-height: 1.12; margin: 16px 0 20px; font-weight: 700; }
.lead { font-size: 18px; color: var(--muted); max-width: 560px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-art { display: grid; place-items: center; }
.flow { width: 100%; max-width: 420px; background: var(--paper); border: 1px solid var(--line); padding: 26px 30px 8px; }
.flow-title { margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.flow ol { list-style: none; margin: 0; padding: 0; }
.flow li { position: relative; padding: 0 0 22px 32px; }
.flow li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 11px; height: 11px; transform: rotate(45deg); background: var(--c); z-index: 1; }
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 7px; top: 14px; bottom: -6px; width: 2px; background: var(--line); }
.flow b { display: block; font-size: 16.5px; line-height: 1.3; }
.flow span { display: block; font-size: 14.5px; color: var(--muted); }
.status { margin-top: 26px; font-size: 14px; color: var(--muted); border-left: 4px solid var(--green); padding-left: 12px; }

.page-head { padding: 44px 0 36px; border-bottom: 1px solid var(--line); background: var(--paper); }
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.page-head h1 { font-size: 38px; line-height: 1.15; margin: 0; font-weight: 700; }
.page-head h1::after { content: ""; display: block; width: 72px; height: 6px; margin-top: 16px; background: linear-gradient(90deg, var(--red) 0 33%, var(--blue) 33% 66%, var(--green) 66%); }
.page-head p { color: var(--muted); max-width: 760px; margin: 16px 0 0; font-size: 17px; }

.section { padding: 64px 0; }
.section-tight { padding-top: 0; }
.section h2 { font-size: 28px; margin: 0 0 8px; font-weight: 700; line-height: 1.2; }
.sub { color: var(--muted); margin: 14px 0 34px; max-width: 720px; }

.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card { background: var(--paper); border: 1px solid var(--line); padding: 26px 22px; position: relative; }
.card.orn::before { content: ""; position: absolute; top: -9px; left: 22px; width: 16px; height: 16px; transform: rotate(45deg); background: var(--c, var(--blue)); }
.card h3 { font-size: 18px; margin: 6px 0 8px; line-height: 1.3; }
.card p { color: var(--muted); font-size: 15px; margin: 0 0 8px; }
.card p:last-child { margin-bottom: 0; }
.card a.more { font-weight: 700; text-decoration: none; color: var(--ink); }
.card a.more::after { content: " →"; color: var(--red); }
.c-red { --c: var(--red); } .c-blue { --c: var(--blue); } .c-green { --c: var(--green); } .c-ink { --c: var(--ink); }

.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.step { border-top: 6px solid var(--c); padding-top: 16px; }
.step b { font-family: var(--head); font-size: 34px; color: var(--c); font-weight: 800; }
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.dark { background: var(--ink); color: #eee9df; }
.dark .sub { color: #bdb7ab; }
.dark .card { background: var(--ink-2); border: 0; border-left: 6px solid var(--c); }
.dark .card h3 { color: #fff; }
.dark .card p { color: #cdc7bb; }

.disclosure { background: var(--paper); border: 2px solid var(--ink); padding: 36px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 36px; position: relative; }
.disclosure::before { content: ""; position: absolute; inset: 8px; border: 1px dashed var(--line); pointer-events: none; }
.disclosure h2 { font-size: 26px; }
.disclosure .law { font-size: 13px; color: var(--muted); }
.links { columns: 2; column-gap: 28px; margin: 0; padding: 0; list-style: none; position: relative; }
.links li { break-inside: avoid; padding: 10px 0 10px 20px; position: relative; border-bottom: 1px solid var(--line); }
.links li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 8px; height: 8px; transform: rotate(45deg); background: var(--red); }
.links a { text-decoration: none; font-weight: 600; color: var(--ink); }
.links a:hover { color: var(--blue-d); }

.layout-doc { display: grid; grid-template-columns: 270px 1fr; gap: 48px; align-items: start; }
.toc { position: sticky; top: 20px; background: var(--paper); border: 1px solid var(--line); padding: 20px 22px; font-size: 14.5px; }
.toc b { font-weight: 700; display: block; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 18px; }
.toc li { margin: 6px 0; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--blue-d); text-decoration: underline; }
.prose { max-width: 820px; }
.prose h2 { font-size: 28px; margin: 48px 0 12px; font-weight: 800; scroll-margin-top: 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 28px 0 8px; scroll-margin-top: 16px; }
.prose p, .prose li { color: #33322f; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose .ref { font-size: 13px; color: var(--muted); margin-top: -4px; }
.note { background: var(--paper); border-left: 6px solid var(--blue); padding: 16px 20px; margin: 20px 0; }
.note.warn { border-left-color: var(--red); }
.note.ok { border-left-color: var(--green); }
.note p:last-child { margin-bottom: 0; }

table { border-collapse: collapse; width: 100%; background: var(--paper); font-size: 15px; }
th, td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; vertical-align: top; }
thead th { background: var(--ink); color: #fff; font-weight: 700; border-color: var(--ink); }
table.req th { width: 36%; font-weight: 600; background: #f1ece2; }
.table-wrap { overflow-x: auto; }

details { background: var(--paper); border: 1px solid var(--line); margin-bottom: 10px; }
summary { cursor: pointer; padding: 16px 20px 16px 44px; font-weight: 700; font-size: 17px; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::before { content: ""; position: absolute; left: 20px; top: 24px; width: 9px; height: 9px; transform: rotate(45deg); background: var(--blue); transition: background .2s; }
details[open] summary::before { background: var(--red); }
details > div { padding: 0 20px 16px 44px; color: #33322f; }

.docs { list-style: none; margin: 0; padding: 0; }
.docs li { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; background: var(--paper); border: 1px solid var(--line); padding: 18px 22px; margin-bottom: 10px; }
.docs b { font-size: 17px; }
.docs small { display: block; color: var(--muted); font-size: 13.5px; }

mark.todo { background: #fff0a8; color: inherit; padding: 0 3px; outline: 1px dashed #d4b000; }

.site-footer { background: var(--ink); color: #bdb7ab; font-size: 14px; padding: 44px 0 28px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.site-footer .h4 { color: #fff; margin: 0 0 12px; font-size: 15px; }
.site-footer p { margin: 0 0 6px; }
.site-footer a { color: #eee9df; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .legal { border-top: 1px solid #444; margin-top: 32px; padding-top: 18px; font-size: 12.5px; }
.site-footer mark.todo { color: var(--ink); }


@media (max-width: 1080px) {
  .site-nav { gap: 16px; font-size: 14px; }
  .header-cta { display: none; }
}
@media (max-width: 900px) {
  .topbar .wrap { flex-direction: column; gap: 2px; }
  .nav-toggle { display: block; }
  .site-header .wrap { flex-wrap: wrap; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .site-nav { display: none; flex-basis: 100%; flex-direction: column; gap: 0; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .hero .wrap, .disclosure, .layout-doc, .site-footer .cols { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .page-head h1 { font-size: 28px; }
  .grid4, .steps { grid-template-columns: 1fr 1fr; }
  .grid3 { grid-template-columns: 1fr; }
  .toc { position: static; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .grid4, .steps, .grid2 { grid-template-columns: 1fr; }
  .links { columns: 1; }
  .disclosure { padding: 24px; }
  .docs li { grid-template-columns: 1fr; }
}
@media print {
  .ornament, .topbar, .site-header, .toc { display: none; }
  .layout-doc { grid-template-columns: 1fr; }
}
