/* ПростоКлик — стиль «H»: спокойный фон, белые карточки, один синий цвет для действия, зелёный для «бесплатно» и «готово».
   Главное на любой странице — сделать дело: инструмент на первом экране, понятные шаги, цена до нажатия. */
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/static/fonts/golos-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/static/fonts/golos-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #f5f6f8; --surface: #ffffff; --surface-2: #f0f2f6; --line: #e2e5eb; --line-2: #c9d1e2;
  --text: #11151f; --muted: #646c7e;
  --accent: #1f5eff; --accent-hover: #1449d6; --accent-ink: #ffffff; --accent-soft: #e9efff;
  --ok: #0f9b5a; --ok-soft: #e3f6ec; --bad: #d0302a; --bad-soft: #fdeceb; --warn-soft: #fff6dc;
  --t-study: #1f5eff; --t-study-soft: #e9efff; --t-docs: #c25a0a; --t-docs-soft: #fdf0e4;
  --t-pdf: #e5484d; --t-pdf-soft: #fdeced; --t-text: #7c4ddb; --t-text-soft: #f1ebfd; --t-image: #0e9f8e; --t-image-soft: #e2f6f3;
  --radius: 20px; --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(17, 21, 31, .04);
  --shadow-up: 0 10px 28px rgba(17, 21, 31, .08);
  --font: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0f1218; --surface: #171b23; --surface-2: #1e232d; --line: #2a303c; --line-2: #3a4252; --text: #e9ecf3; --muted: #9aa2b4;
  --accent: #6f93ff; --accent-hover: #8aa7ff; --accent-ink: #0f1218; --accent-soft: #1f2a48;
  --ok: #45cf8b; --ok-soft: #14301f; --bad: #ff6b63; --bad-soft: #3a1a1a; --warn-soft: #332a12;
  --t-study: #8aa7ff; --t-study-soft: #1f2a48; --t-docs: #f0a35e; --t-docs-soft: #34261a; --t-pdf: #ff7b7f; --t-pdf-soft: #3a1c22;
  --t-text: #b08cff; --t-text-soft: #2a2048; --t-image: #3fd0bd; --t-image-soft: #12302d;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3); --shadow-up: 0 10px 28px rgba(0, 0, 0, .35); color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #0f1218; --surface: #171b23; --surface-2: #1e232d; --line: #2a303c; --line-2: #3a4252; --text: #e9ecf3; --muted: #9aa2b4;
  --accent: #6f93ff; --accent-hover: #8aa7ff; --accent-ink: #0f1218; --accent-soft: #1f2a48;
  --ok: #45cf8b; --ok-soft: #14301f; --bad: #ff6b63; --bad-soft: #3a1a1a; --warn-soft: #332a12;
  --t-study: #8aa7ff; --t-study-soft: #1f2a48; --t-docs: #f0a35e; --t-docs-soft: #34261a; --t-pdf: #ff7b7f; --t-pdf-soft: #3a1c22;
  --t-text: #b08cff; --t-text-soft: #2a2048; --t-image: #3fd0bd; --t-image-soft: #12302d;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3); --shadow-up: 0 10px 28px rgba(0, 0, 0, .35); color-scheme: dark; }

/* ---------- база ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; }
h2 { font-size: clamp(20px, 2.4vw, 24px); font-weight: 750; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.lead { font-size: 17px; color: var(--muted); max-width: 640px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.ic { flex: none; }
.only-dark { display: none; }
:root[data-theme="dark"] .only-dark { display: block; } :root[data-theme="dark"] .only-light { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .only-dark { display: block; } :root:not([data-theme="light"]) .only-light { display: none; } }
mark.todo { background: #ffe58a; color: #5a4300; padding: 0 4px; border-radius: 4px; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 20px; border: 0; border-radius: var(--radius-sm);
  background: var(--accent); color: var(--accent-ink); font: 700 16px/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, transform .05s; }
.btn:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn-lg { min-height: 56px; font-size: 18px; font-weight: 800; padding: 15px 24px; }
.btn-wide { width: 100%; }
.btn-sm { min-height: 36px; padding: 7px 14px; font-size: 15px; }
.btn-ghost { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-ok { background: var(--ok); color: #fff; }
.btn-ok:hover { background: var(--ok); filter: brightness(1.08); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }

/* ---------- шапка ---------- */
.top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 18px; }
.brand:hover { color: var(--text); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a:not(.btn):not(.chip-balance) { color: var(--text); text-decoration: none; font-weight: 600; padding: 8px 10px; border-radius: 10px; }
.nav > a:not(.btn):not(.chip-balance):hover { background: var(--surface-2); }
.chip-balance { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); text-decoration: none; font-size: 15px; }
.theme-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; }
.theme-btn:hover { background: var(--surface-2); color: var(--text); }
@media (max-width: 560px) { .nav-hide-sm { display: none; } }

/* ---------- общие блоки ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.section { padding: 40px 0; }
.section-tight { padding: 28px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 16px; }
.section-head h2 { margin: 0; }
.page-head { padding: 22px 0 12px; }
.page-head h1 { margin-bottom: 6px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.crumbs { padding: 16px 0 6px; color: var(--muted); font-size: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.trust { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; font-size: 14px; color: var(--muted); list-style: none; padding: 0; }
.trust li::before, .trust span::before { content: "✓ "; color: var(--ok); font-weight: 800; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 12.5px; font-weight: 650; white-space: nowrap; }
.badge-free { background: var(--ok-soft); color: var(--ok); }
.badge-soon { background: var(--surface-2); color: var(--muted); }
.badge-best { background: var(--accent); color: var(--accent-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface);
  color: var(--text); font: 600 15px var(--font); text-decoration: none; cursor: pointer; }
.chip:hover { border-color: var(--accent); color: var(--text); }
.chip.is-on { background: var(--text); border-color: var(--text); color: var(--bg); }
.chip small { color: var(--muted); font-weight: 500; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 760px) { .grid-3 { grid-template-columns: 1fr; } }

/* ---------- карточки инструментов ---------- */
.grid-tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.tool-card { display: flex; align-items: flex-start; gap: 12px; padding: 16px; color: var(--text); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.tool-card:hover { color: var(--text); border-color: var(--accent); box-shadow: var(--shadow-up); transform: translateY(-2px); }
.tool-card.is-soon { opacity: .6; }
.tool-card-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tool-card-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.tool-card-top .badge { white-space: normal; }
.tool-card-title { font-weight: 700; font-size: 16.5px; }
.tool-card-text { color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.tile { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; flex: none; }
.tile-lg { width: 56px; height: 56px; border-radius: 16px; }
.tile-study { background: var(--t-study-soft); color: var(--t-study); }
.tile-docs { background: var(--t-docs-soft); color: var(--t-docs); }
.tile-pdf { background: var(--t-pdf-soft); color: var(--t-pdf); }
.tile-text { background: var(--t-text-soft); color: var(--t-text); }
.tile-image { background: var(--t-image-soft); color: var(--t-image); }
.cat-block { margin-bottom: 26px; }
.cat-h { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 0 0 10px; }
.cat-h a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.cat-h a:hover { color: var(--accent); }
.empty { padding: 20px 0; }

/* ---------- главная «как в телефоне»: каждая задача — своя иконка ---------- */
:root { --app-study: #3d6bff; --app-docs: #f27a3a; --app-pdf: #ea4b57; --app-text: #8a5cf6; --app-image: #13a77b; }
.home-head { padding: 26px 0 6px; }
.home-head h1 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 6px; }
.home-head .lead { margin-bottom: 18px; }
.app-search { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px; padding: 0 16px; margin-bottom: 26px; max-width: 640px; }
.app-search:focus-within { border-color: var(--accent); }
.app-search .ic { color: var(--muted); }
.app-search input { flex: 1; min-width: 0; min-height: 52px; border: 0; outline: none; background: transparent; color: var(--text); font: 500 17px var(--font); }
.app-group { margin-bottom: 30px; }
.app-group-h { font-size: 14px; text-transform: uppercase; letter-spacing: .07em; margin: 0 0 14px 2px; }
.app-group-h a { color: var(--muted); text-decoration: none; }
.app-group-h a:hover { color: var(--accent); }
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 20px 10px; }
.app { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; text-decoration: none; color: var(--text); padding: 4px 2px; border-radius: 18px; }
.app:hover { color: var(--text); }
.app-ic { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; color: #fff; transition: transform .15s;
  box-shadow: 0 8px 18px rgba(17, 21, 31, .14), inset 0 -3px 0 rgba(0, 0, 0, .12), inset 0 2px 0 rgba(255, 255, 255, .25); }
.app:hover .app-ic, .app:focus-visible .app-ic { transform: translateY(-3px) scale(1.04); }
.app b { font-size: 14.5px; font-weight: 600; line-height: 1.25; max-width: 128px; }
.app small { font-size: 12.5px; color: var(--muted); margin-top: -4px; }
.app small.free { color: var(--ok); }
.app.is-soon .app-ic { filter: grayscale(1); opacity: .4; }
.app.is-soon b { color: var(--muted); }
.app-study { background: var(--app-study); } .app-docs { background: var(--app-docs); } .app-pdf { background: var(--app-pdf); }
.app-text { background: var(--app-text); } .app-image { background: var(--app-image); }
@media (max-width: 520px) { .apps { grid-template-columns: repeat(3, 1fr); gap: 18px 6px; } .app-ic { width: 64px; height: 64px; border-radius: 19px; } .app b { font-size: 13.5px; } }
@media (prefers-reduced-motion: reduce) { .app-ic { transition: none; } }
.tasks { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.task { display: flex; align-items: center; gap: 12px; padding: 14px 16px; text-decoration: none; color: var(--text); }
.task:hover { border-color: var(--accent); color: var(--text); }
.task b { display: block; font-size: 16px; }
.task small { color: var(--muted); }
.task .ic-go { margin-left: auto; color: var(--accent); }
.steps3 { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.steps3 li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; }
.steps3 i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 800; flex: none; }
.steps3 b { display: block; }
@media (max-width: 760px) { .steps3 { grid-template-columns: 1fr; } .smart { padding: 32px 14px; } }

/* ---------- страница инструмента ---------- */
.tool-title { display: flex; gap: 14px; align-items: flex-start; margin: 4px 0 18px; }
.tool-title h1 { margin: 0 0 4px; }
.tool-title p { margin: 0; color: var(--muted); }
.task-chips { margin: -6px 0 16px; }
.tool-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 18px; align-items: start; }
.runner { padding: 20px; }
.stepper { display: flex; gap: 6px; margin: 0 0 16px; list-style: none; padding: 0; }
.stepper li { flex: 1; display: flex; align-items: center; gap: 8px; background: var(--surface-2); color: var(--muted); font-weight: 600; font-size: 14px; padding: 9px 12px; border-radius: 12px; }
.stepper i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-size: 13px; font-weight: 800; flex: none; }
.stepper .is-on { background: var(--accent-soft); color: var(--text); }
.stepper .is-on i { background: var(--accent); color: var(--accent-ink); }
.stepper .is-done i { background: var(--ok); color: #fff; }
.drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 38px 16px; text-align: center; border: 2.5px dashed var(--line-2); border-radius: 16px;
  background: var(--surface-2); color: var(--text); cursor: pointer; transition: border-color .15s, background .15s; }
.drop .ic { color: var(--accent); }
.drop:hover, .drop.is-over { border-color: var(--accent); background: var(--accent-soft); }
.drop b { font-size: 19px; }
.drop span { color: var(--muted); font-size: 14px; }
.files { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.files li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.files .f-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.files .f-size { color: var(--muted); font-size: 13.5px; flex: none; }
.add-more { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--accent); font: 600 15px var(--font); cursor: pointer; padding: 4px 0; margin-bottom: 12px; }
.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; flex: none; }
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn:disabled { opacity: .3; cursor: default; background: transparent; }
.preset { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--ok-soft); margin-bottom: 12px; }
.preset .ic { color: var(--ok); margin-top: 2px; }
.preset b { display: block; font-weight: 650; }
.more { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 14px; margin-bottom: 12px; }
.more summary { cursor: pointer; font-weight: 600; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-size: 20px; color: var(--muted); }
.more[open] summary::after { content: "−"; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; padding-bottom: 14px; }
.opts-main { padding-bottom: 0; margin-bottom: 14px; }
.opt { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.opt-wide { grid-column: 1 / -1; }
.opt label { font-weight: 600; font-size: 14.5px; }
.req { color: var(--bad); }
.opt.is-missing input, .opt.is-missing textarea { border-color: var(--bad); }
select, input[type="text"], textarea, .stack input { width: 100%; min-height: 46px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); font: 16px var(--font); }
textarea { min-height: 110px; padding: 11px 12px; line-height: 1.5; resize: vertical; }
select:focus, input[type="text"]:focus, textarea:focus, .stack input:focus { outline: none; border-color: var(--accent); }
.go { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.cost { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.cost b { color: var(--ok); }
.cost b.paid { color: var(--text); }
.disclaimer { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); }
.done { text-align: center; padding: 14px 0 4px; }
.done .ic { color: var(--ok); margin: 0 auto; }
.done-title { font-size: 21px; font-weight: 800; margin: 8px 0 14px; }
.done .btn { width: 100%; }
.done-again { display: inline-block; margin-top: 12px; color: var(--muted); font-size: 15px; background: none; border: 0; cursor: pointer; font-family: inherit; text-decoration: underline; }
.next { margin-top: 18px; text-align: left; }
.next p { font-weight: 650; margin: 0 0 8px; font-size: 15px; }
.next .chips .chip { font-size: 14px; min-height: 36px; }
.text-result { text-align: left; }
.text-result pre { margin: 0 0 12px; padding: 14px; border-radius: 12px; background: var(--surface-2); color: var(--text); border: 1px solid var(--line); font: 16px/1.55 var(--font); white-space: pre-wrap; word-break: break-word; }
.alert { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface-2); margin: 12px 0 0; }
.alert-ok { background: var(--ok-soft); color: var(--ok); }
.alert-bad { background: var(--bad-soft); color: var(--bad); }
.spinner { width: 20px; height: 20px; border: 3px solid var(--accent-soft); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.4s; } .tool-card, .btn, .act { transition: none; } }
.state-inline { color: var(--bad); margin-top: 10px; }
.soon-box { display: flex; gap: 14px; align-items: center; padding: 22px; color: var(--muted); }
.soon-box b { color: var(--text); font-size: 18px; }
.soon-box p { margin: 4px 0 0; }

.aside { padding: 20px; position: sticky; top: 76px; }
.aside h2 { font-size: 16px; margin: 0 0 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.aside .checks { margin-bottom: 14px; }
.aside-price { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface-2); margin-bottom: 4px; }
.aside-price b { font-size: 18px; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.checks li { display: flex; gap: 8px; align-items: flex-start; }
.checks .ic { color: var(--ok); margin-top: 3px; }
.toggle { display: inline-flex; background: var(--surface-2); border-radius: 10px; padding: 3px; }
.toggle button { border: 0; background: transparent; font: 600 13px var(--font); padding: 5px 10px; border-radius: 8px; cursor: pointer; color: var(--muted); }
.toggle button.is-on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.sheet { position: relative; aspect-ratio: 210 / 297; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow-up); overflow: hidden; max-width: 340px; margin: 0 auto; }
.sheet-area { position: absolute; left: 14.3%; right: 7.1%; top: 6.7%; bottom: 6.7%; outline: 1.5px dashed rgba(31, 94, 255, .55); transition: left .3s, right .3s; }
.sheet.is-before .sheet-area { left: 8%; right: 8%; outline-color: rgba(229, 72, 77, .55); }
.sheet-h { font: 700 10.5px var(--font); text-align: center; margin: 9% 0 7%; color: #11151f; letter-spacing: .05em; }
.sheet-ln { height: 5px; border-radius: 2px; background: #d9dce4; margin: 0 0 7px; }
.sheet-ln.ind { margin-left: 10%; }
.sheet.is-before .sheet-ln { background: #c4c8d2; }
.sheet.is-before .sheet-ln.ind { margin-left: 0; }
.sheet-num { position: absolute; bottom: 2.5%; left: 0; right: 0; text-align: center; font-size: 10px; color: #646c7e; }
.sheet.is-before .sheet-num { display: none; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--muted); margin-top: 12px; justify-content: center; }

.info { max-width: 780px; padding: 34px 0 10px; }
.info section { margin-bottom: 26px; }
.howto { padding-left: 22px; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.howto li::marker { color: var(--accent); font-weight: 800; }
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary { cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 650; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 10px; font-size: 22px; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 16px 14px; margin: 0; color: var(--muted); }

@media (max-width: 900px) {
  .tool-layout { grid-template-columns: 1fr; }
  .aside { position: static; }
  .stepper li span { display: none; }
  .stepper li { justify-content: center; }
  .runner { padding: 14px; }
  .go .btn { position: sticky; bottom: 12px; z-index: 5; box-shadow: 0 10px 24px rgba(31, 94, 255, .35); }
}

/* ---------- цены, кабинет, вход, документы ---------- */
.price-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 20px; }
.price-card.is-best { border: 2px solid var(--accent); }
.price-card .badge-best { position: absolute; top: -11px; right: 16px; }
.price-title { font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.price-credits { font-size: 22px; font-weight: 800; }
.price-rub { font-size: 32px; font-weight: 800; color: var(--accent); line-height: 1.2; }
.price-card .btn { margin-top: 12px; width: 100%; }
.notes { margin: 24px 0 8px; }
.feat { display: flex; flex-direction: column; gap: 4px; }
.feat .ic { color: var(--accent); margin-bottom: 4px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table th { color: var(--muted); font-weight: 600; font-size: 13.5px; background: var(--surface-2); }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table .plus { color: var(--ok); font-weight: 650; }
.table .minus { color: var(--muted); }
.balance-card { display: flex; flex-direction: column; gap: 4px; padding: 22px; margin-bottom: 28px; }
.balance-big { font-size: 42px; font-weight: 800; line-height: 1.1; }
.balance-big small { font-size: 18px; color: var(--muted); font-weight: 600; }
.login-card { padding: clamp(20px, 4vw, 34px); margin: 36px 0; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.stack label { font-weight: 600; }
.stack .btn { margin-top: 8px; }
.doc { padding: 26px 0 44px; }
.doc h2 { font-size: 20px; margin-top: 1.6em; }
.doc li { margin-bottom: 6px; }
.dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 0; padding: 20px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; font-weight: 600; }
@media (max-width: 520px) { .dl { grid-template-columns: 1fr; gap: 2px; } .dl dd { margin-bottom: 10px; } }

/* ---------- подвал ---------- */
.foot { margin-top: 40px; padding: 34px 0 22px; background: var(--surface); border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 26px; }
.foot-h { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.foot-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; font-size: 15px; }
.foot-list a { color: var(--text); text-decoration: none; }
.foot-list a:hover { color: var(--accent); }
.foot .brand { margin-bottom: 8px; }
.foot-cats { margin-top: 10px; }
.pay-logos { display: flex; align-items: center; gap: 6px; }
.foot-bottom { margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
