@font-face { font-family: "Manrope"; src: url(manrope-cyrillic-wght-normal.woff2) format("woff2"); font-weight: 200 800;
             unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(manrope-latin-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }

:root, [data-theme="light"] {
  --bg: #f5f5f4; --panel: #ffffff; --line: #e7e5e4; --fg: #1c1917; --muted: #78716c; --chip: #f5f5f4;
  --acc: #b91c1c; --acc-fg: #ffffff; --ok: #16a34a;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0c0a09; --panel: #171412; --line: #2a2522; --fg: #fafaf9; --muted: #a8a29e; --chip: #221e1b;
  --acc: #ef4444; --acc-fg: #0c0a09; --ok: #22c55e; } }
[data-theme="dark"] {
  --bg: #0c0a09; --panel: #171412; --line: #2a2522; --fg: #fafaf9; --muted: #a8a29e; --chip: #221e1b;
  --acc: #ef4444; --acc-fg: #0c0a09; --ok: #22c55e; }

* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--fg); font: 500 15px/1.5 "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
       -webkit-font-smoothing: antialiased; transition: background .2s, color .2s; }
a { color: inherit; }
button { font-family: inherit; }
.wrap { max-width: 720px; margin: 0 auto; padding: max(12px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom)); }

header { display: flex; align-items: center; gap: 10px; padding: 6px 2px 14px; }
.brand { font-weight: 800; font-size: 19px; letter-spacing: -.02em; margin-right: auto; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.brand b { width: 26px; height: 26px; border-radius: 7px; background: #0E0E10 url(icon-180.png) center / cover no-repeat; display: inline-block; }
.icon { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); background: var(--panel); color: var(--fg);
        display: grid; place-items: center; cursor: pointer; padding: 0; }
.icon svg { width: 17px; height: 17px; }

section { margin-top: 14px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 13px; padding: 16px; }
.label { font-size: 11px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; padding: 0 2px 8px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }

.hero h1 { font-size: clamp(28px, 7vw, 40px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; }
.hero p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; align-items: center; }
.btn { border: 1px solid var(--fg); border-radius: 10px; background: var(--fg); color: var(--bg); font-weight: 700; font-size: 15px;
       padding: 12px 18px; cursor: pointer; text-decoration: none; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.btn.big { background: var(--acc); border-color: var(--acc); color: var(--acc-fg); font-size: 16px; padding: 14px 22px; }
.btn.sec { background: var(--chip); color: var(--fg); border-color: var(--line); }
.btn svg { width: 18px; height: 18px; }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 520px) { .grid { grid-template-columns: 1fr; } }
.feat { padding: 14px; }
.feat .t { font-weight: 800; }
.feat .d { font-size: 13px; color: var(--muted); margin-top: 2px; }

.price { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.price > div { padding: 14px; }
.price > div + div { border-left: 1px solid var(--line); }
@media (max-width: 520px) { .price { grid-template-columns: 1fr; } .price > div + div { border-left: 0; border-top: 1px solid var(--line); } }
.price .v { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.price .v small { font-size: 14px; font-weight: 700; color: var(--muted); }
.price .k { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.price .hl .v { color: var(--acc); }
.note { border-top: 1px solid var(--line); padding: 12px 14px; font-size: 13px; color: var(--muted); }

ol.steps { list-style: none; counter-reset: s; }
ol.steps li { counter-increment: s; display: flex; gap: 12px; padding: 12px 14px; }
ol.steps li + li { border-top: 1px solid var(--line); }
ol.steps li::before { content: counter(s); flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--fg); color: var(--bg);
                      font-weight: 800; font-size: 13px; display: grid; place-items: center; }
ol.steps .d { font-size: 13px; color: var(--muted); }

details { padding: 0 14px; }
details + details { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; padding: 13px 0; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 800; }
details[open] summary::after { content: "−"; }
details p { padding: 0 0 13px; color: var(--muted); font-size: 14px; }

footer { margin-top: 22px; padding: 14px 2px 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 16px;
         font-size: 12.5px; color: var(--muted); }
footer a { color: var(--muted); }

/* документы */
.doc h1 { font-size: 24px; letter-spacing: -.02em; font-weight: 800; }
.doc h2 { font-size: 16px; font-weight: 800; margin: 20px 0 6px; }
.doc p, .doc li { font-size: 14px; margin-top: 6px; }
.doc ol, .doc ul { padding-left: 20px; }
.fill { background: #fde68a; color: #1c1917; padding: 0 4px; border-radius: 4px; font-weight: 700; }
