/* Бухгалтерский нейропомощник для Windows — стили лендинга и служебных страниц (оплата, 404).
   Бумага, чернила и один синий штамп: страница выглядит как лист с расчётом, а не как витрина. */
:root {
  color-scheme: light;
  --paper: #f6f7f9;
  --sheet: #ffffff;
  --ink: #172033;
  --ink-2: #4a5468;
  --rule: #dde1e8;
  --rule-2: #c7cdd8;
  --stamp: #3b4cca;
  --stamp-ink: #ffffff;
  --stamp-soft: rgba(59, 76, 202, .09);
  --paid: #1e7f55;
  --due: #b4410f;
  --due-soft: rgba(180, 65, 15, .08);
  --shadow: 0 1px 0 rgba(23, 32, 51, .04), 0 18px 40px -24px rgba(23, 32, 51, .35);
  --r-s: 4px;
  --r-m: 8px;
  --wrap: 1120px;
  --font: "Golos Text", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #11151d;
  --sheet: #1a1f2a;
  --ink: #e7eaf0;
  --ink-2: #a7afbf;
  --rule: #2a3140;
  --rule-2: #39414f;
  --stamp: #8d9bff;
  --stamp-ink: #11151d;
  --stamp-soft: rgba(141, 155, 255, .12);
  --paid: #5cc895;
  --due: #f08a5a;
  --due-soft: rgba(240, 138, 90, .1);
  --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 18px 40px -24px rgba(0, 0, 0, .8);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #11151d;
    --sheet: #1a1f2a;
    --ink: #e7eaf0;
    --ink-2: #a7afbf;
    --rule: #2a3140;
    --rule-2: #39414f;
    --stamp: #8d9bff;
    --stamp-ink: #11151d;
    --stamp-soft: rgba(141, 155, 255, .12);
    --paid: #5cc895;
    --due: #f08a5a;
    --due-soft: rgba(240, 138, 90, .1);
    --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 18px 40px -24px rgba(0, 0, 0, .8);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--stamp); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--stamp); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { line-height: 1.15; margin: 0; font-weight: 700; letter-spacing: -.012em; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.35rem); }
h3 { font-size: 1.12rem; letter-spacing: 0; }
p { margin: 0 0 .9em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 50; border-radius: var(--r-s); }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px; border-radius: var(--r-m);
  font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--stamp); color: var(--stamp-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--stamp) 86%, var(--ink)); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-sm { min-height: 38px; padding: 6px 14px; font-size: .95rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.08rem; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand small { display: block; font-weight: 400; font-size: .78rem; color: var(--ink-2); line-height: 1.1; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 8px 10px; border-radius: var(--r-s); font-size: .97rem; }
.site-nav a:hover { background: var(--stamp-soft); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: var(--r-m); border: 1px solid var(--rule); background: transparent; color: var(--ink); cursor: pointer; }
.icon-btn:hover { border-color: var(--rule-2); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-dark-icon { display: none; }
:root[data-theme="dark"] .theme-dark-icon { display: block; }
:root[data-theme="dark"] .theme-light-icon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-dark-icon { display: block; }
  :root:not([data-theme="light"]) .theme-light-icon { display: none; }
}
.nav-toggle { display: none; }
@media (max-width: 959px) {
  .nav-toggle { display: inline-grid; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch;
    background: var(--sheet); border-bottom: 1px solid var(--rule); padding: 8px 16px 16px; margin: 0;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 8px; border-bottom: 1px solid var(--rule); border-radius: 0; }
  .header-tools { margin-left: auto; }
  .header-dl { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: 24px 0 32px; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: center; }
.hero-grid > * { min-width: 0; }
@media (min-width: 960px) { .hero { padding: 36px 0 44px; } .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px; } }
.hero h1 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.4rem); line-height: 1.06; letter-spacing: -.025em; max-width: 15ch; }
.hero .lead { font-size: 1.16rem; color: var(--ink-2); max-width: 36em; margin: 20px 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 18px; font-size: .93rem; color: var(--ink-2); }

/* Лист пакета к подписанию */
.sheet {
  position: relative; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-s);
  box-shadow: var(--shadow); padding: 26px 24px 22px; max-width: 560px; justify-self: center; width: 100%;
}
@media (min-width: 560px) { .sheet { padding: 32px 34px 26px; } }
.sheet::before { /* корешок папки пакета */
  content: ""; position: absolute; left: 22px; right: 22px; top: -7px; height: 7px;
  background: var(--sheet); border: 1px solid var(--rule); border-bottom: 0; border-radius: var(--r-s) var(--r-s) 0 0; opacity: .7;
}
.sheet-head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.sheet-title { font-weight: 700; font-size: 1.08rem; line-height: 1.25; }
.sheet-sub { font-size: .88rem; color: var(--ink-2); }
.sheet-form { font-size: .8rem; color: var(--ink-2); white-space: nowrap; }
.sheet table { width: 100%; border-collapse: collapse; margin: 6px 0 4px; font-size: .97rem; }
.sheet th { text-align: left; font-weight: 400; color: var(--ink-2); padding: 10px 0; border-bottom: 1px dashed var(--rule-2); }
.sheet td { text-align: right; padding: 10px 0 10px 12px; border-bottom: 1px dashed var(--rule-2); white-space: nowrap; }
.sheet tr.total th, .sheet tr.total td { color: var(--ink); font-weight: 700; font-size: 1.1rem; border-bottom: 0; padding-top: 14px; }
.sheet .minus { color: var(--paid); }
.sheet-foot { display: flex; flex-direction: column; flex-wrap: wrap; gap: 6px 16px; font-size: .84rem; color: var(--ink-2); margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--rule); }
.sheet-foot .ok { color: var(--paid); font-weight: 600; }
.sheet-file { font-family: var(--font); word-break: break-all; }
.stamp {
  display: block; width: max-content; margin: 14px 8px 0 auto; transform: rotate(-9deg);
  border: 3px double var(--stamp); color: var(--stamp); border-radius: 6px; padding: 7px 14px 6px;
  font-weight: 700; font-size: .95rem; line-height: 1.15; text-align: center; background: color-mix(in srgb, var(--sheet) 80%, transparent);
  pointer-events: none;
}
.stamp small { display: block; font-weight: 500; font-size: .72rem; }
@media (min-width: 560px) { .stamp { float: none; position: absolute; right: 30px; bottom: 22px; margin: 0; font-size: 1.05rem; } .sheet-foot { padding-right: 190px; } }
@media (prefers-reduced-motion: no-preference) {
  .js .stamp { animation: stamp-press .5s cubic-bezier(.2, .9, .3, 1.3) 1.1s both; }
  @keyframes stamp-press {
    0% { opacity: 0; transform: rotate(-9deg) scale(1.8); }
    70% { opacity: 1; transform: rotate(-9deg) scale(.96); }
    100% { opacity: 1; transform: rotate(-9deg) scale(1); }
  }
}
.sheet-deadline { display: block; margin-top: 14px; padding: 10px 12px; border-radius: var(--r-s); background: var(--due-soft); color: var(--due); font-size: .9rem; }
.sheet-deadline b { font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding: 36px 0; border-top: 1px solid var(--rule); }
@media (min-width: 960px) { .section { padding: 48px 0; } }
.section-head { margin-bottom: 20px; }
.section-head h2 { text-align: center; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; margin-top: 14px; text-align: justify; text-align-last: center; }

/* Как это работает — последовательность, поэтому нумерация */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.steps li { counter-increment: step; padding: 22px 0; border-top: 2px solid var(--ink); }
.steps li::before { content: counter(step); display: block; font-size: 2.4rem; font-weight: 700; line-height: 1; color: var(--stamp); margin-bottom: 14px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-2); margin: 0; font-size: .98rem; }
.steps-note { margin-top: 14px; color: var(--ink-2); font-size: .98rem; }

/* Возможности — две колонки списков, без карточек */
.features { display: grid; gap: 20px; }
@media (min-width: 860px) { .features { grid-template-columns: 1fr 1fr; gap: 28px; } }
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.feature-list li:first-child { border-top: 1px solid var(--rule); }
.feature-list b { display: block; font-weight: 600; margin-bottom: 2px; }
.feature-list span { color: var(--ink-2); font-size: .97rem; }
.feature-group h3 { margin-bottom: 14px; }
.soon { display: inline-block; margin-left: 6px; font-size: .8rem; font-weight: 500; color: var(--ink-2); border: 1px solid var(--rule-2); border-radius: 99px; padding: 0 8px; vertical-align: 2px; }

/* Данные */
.privacy-grid { display: grid; gap: 20px; }
@media (min-width: 960px) { .privacy-grid { grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start; } }
.privacy-points { list-style: none; margin: 0; padding: 0; }
.privacy-points li { padding-left: 28px; position: relative; margin-bottom: 16px; }
.privacy-points li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; border: 2px solid var(--paid); border-radius: 2px; }
.mask { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-s); padding: 22px; box-shadow: var(--shadow); }
.mask-row { padding: 12px 0; }
.mask-row + .mask-row { border-top: 1px dashed var(--rule-2); }
.mask-label { font-size: .85rem; color: var(--ink-2); margin-bottom: 4px; }
.mask-text { font-size: 1rem; }
.mask mark { background: var(--due-soft); color: var(--due); padding: 0 3px; border-radius: 3px; }
.mask .tok { background: var(--stamp-soft); color: var(--stamp); padding: 0 4px; border-radius: 3px; font-weight: 600; }
.mask-note { font-size: .88rem; color: var(--ink-2); margin: 12px 0 0; }

/* Ограничения */
.limits { display: grid; gap: 12px; }
@media (min-width: 860px) { .limits { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.limits h3 { margin-bottom: 8px; }
.limits p { color: var(--ink-2); margin: 0; }

/* ---------- Тарифы ---------- */
.period-switch { display: inline-flex; border: 1px solid var(--rule-2); border-radius: var(--r-m); padding: 3px; margin-bottom: 28px; }
.period-switch label { position: relative; }
.period-switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.period-switch span { display: block; padding: 7px 16px; border-radius: 6px; font-weight: 500; font-size: .95rem; }
.period-switch input:checked + span { background: var(--ink); color: var(--paper); }
.period-switch input:focus-visible + span { outline: 3px solid var(--stamp); outline-offset: 2px; }
.plans { display: grid; gap: 0; border-top: 2px solid var(--ink); }
@media (min-width: 720px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan { padding: 24px 0 28px; border-bottom: 1px solid var(--rule); display: flex; flex-direction: column; }
@media (min-width: 720px) { .plan { padding: 24px 22px 28px; border-left: 1px solid var(--rule); } .plan:nth-child(2n+1) { border-left: 0; padding-left: 0; } }
@media (min-width: 1080px) { .plan:nth-child(2n+1) { border-left: 1px solid var(--rule); padding-left: 22px; } .plan:first-child { border-left: 0; padding-left: 0; } }
.plan.is-main { background: linear-gradient(var(--stamp), var(--stamp)) top / 100% 4px no-repeat; }
.plan h3 { font-size: 1.25rem; }
.plan-for { color: var(--ink-2); font-size: .95rem; min-height: 3em; margin: 6px 0 16px; }
.plan-price { font-size: 2rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.plan-per { color: var(--ink-2); font-size: .92rem; }
.plan-alt { color: var(--ink-2); font-size: .86rem; min-height: 1.4em; margin: 4px 0 16px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; font-size: .95rem; flex: 1; }
.plan li { padding: 5px 0 5px 20px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: calc(5px + .78em); width: 8px; height: 2px; background: var(--ink-2); }
.plan .btn { width: 100%; }
.plan-later { font-size: .88rem; color: var(--ink-2); margin: 8px 0 0; }
.topup { margin-top: 14px; padding: 18px 20px; border-radius: var(--r-s); background: var(--stamp-soft); max-width: 52em; }
.topup p { margin: 0; }
.pricing-notes { margin-top: 18px; color: var(--ink-2); font-size: .92rem; max-width: 52em; }

/* ---------- Скачать ---------- */
.download { display: grid; gap: 16px; }
@media (min-width: 960px) { .download { grid-template-columns: 1fr 1fr; gap: 32px; } }
.dl-box { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-s); padding: 24px; box-shadow: var(--shadow); }
.dl-box .btn { margin-bottom: 14px; }
.dl-meta { font-size: .9rem; color: var(--ink-2); margin: 0 0 6px; }
.dl-hash { font-size: .82rem; word-break: break-all; color: var(--ink-2); }
.smartscreen { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.smartscreen li { counter-increment: s; padding: 8px 0 8px 36px; position: relative; }
.smartscreen li::before { content: counter(s); position: absolute; left: 0; top: 8px; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--ink-2); display: grid; place-items: center; font-size: .82rem; font-weight: 600; }
.reqs { margin: 18px 0 0; font-size: .95rem; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { max-width: 52em; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 18px 36px 18px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.4rem; font-weight: 400; color: var(--ink-2); }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 0 18px; color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--rule); padding: 20px 0 24px; font-size: .92rem; color: var(--ink-2); }
.footer-grid { display: grid; gap: 12px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr; } }
.site-footer a { color: var(--ink-2); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.cc-link { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; font: inherit; cursor: pointer; }

/* ---------- Окно покупки ---------- */
dialog { border: 1px solid var(--rule); border-radius: var(--r-m); padding: 0; background: var(--sheet); color: var(--ink); width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); }
dialog::backdrop { background: rgba(17, 21, 29, .55); }
.dlg-body { padding: 24px; }
.dlg-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; margin-bottom: 16px; }
.dlg-head h2 { font-size: 1.4rem; }
.field { margin-bottom: 16px; }
.field > label:not(.choice), .field legend { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; padding: 0; }
fieldset.field { border: 0; margin: 0 0 16px; padding: 0; }
.field input[type="email"] { width: 100%; min-height: 46px; padding: 10px 12px; border-radius: var(--r-m); border: 1.5px solid var(--rule-2); background: var(--paper); color: var(--ink); font: inherit; }
.field input[type="email"]:focus { border-color: var(--stamp); outline: none; }
.choice { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1.5px solid var(--rule-2); border-radius: var(--r-m); margin-bottom: 8px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--stamp); background: var(--stamp-soft); }
.choice input { accent-color: var(--stamp); width: 18px; height: 18px; }
.choice .grow { flex: 1; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.consent input { margin-top: 4px; accent-color: var(--stamp); width: 18px; height: 18px; flex: none; }
.dlg-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.1rem; padding: 14px 0; border-top: 1px solid var(--rule); margin-top: 8px; }
.form-error { display: none; color: var(--due); background: var(--due-soft); padding: 10px 12px; border-radius: var(--r-s); font-size: .93rem; margin-bottom: 12px; }
.form-error.is-on { display: block; }
.dlg-foot { font-size: .84rem; color: var(--ink-2); margin: 12px 0 0; }

/* ---------- Оплата, 404 ---------- */
.pay-main { padding: 48px 0 80px; min-height: 60vh; }
.pay-card { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r-s); padding: 28px 24px; max-width: 640px; margin: 0 auto; box-shadow: var(--shadow); }
.pay-card h1 { font-size: 1.7rem; margin-bottom: 14px; }
.pay-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.status-line { color: var(--ink-2); font-size: .95rem; min-height: 1.4em; }
.key-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 16px 0 6px; }
#license-key { font-size: 1.35rem; font-weight: 700; letter-spacing: .06em; padding: 10px 14px; border: 2px dashed var(--stamp); border-radius: var(--r-s); background: var(--stamp-soft); }
.spinner { width: 28px; height: 28px; border: 3px solid var(--rule); border-top-color: var(--stamp); border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 12px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }

/* ---------- Баннер cookie (consent.js) ---------- */
.cc { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; max-width: 600px; margin: 0 auto; background: var(--sheet); color: var(--ink); border: 1px solid var(--rule-2); border-radius: var(--r-m); padding: 16px 18px; box-shadow: var(--shadow); font-size: .9rem; }
.cc h3 { font-size: 1rem; margin-bottom: 6px; }
.cc p { margin: 0 0 10px; color: var(--ink-2); }
.cc-cats { display: grid; gap: 6px; margin-bottom: 12px; }
.cc-cat { display: grid; grid-template-columns: auto 1fr; gap: 0 10px; align-items: baseline; }
.cc-cat input { accent-color: var(--stamp); }
.cc-name { font-weight: 600; }
.cc-desc { grid-column: 2; color: var(--ink-2); font-size: .85rem; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.btn-small { min-height: 38px; padding: 6px 14px; font-size: .92rem; }

@media print { .site-header, .site-footer, .hero-cta, dialog { display: none; } body { background: #fff; } }
.pay-title { font-size: 1.35rem; margin-bottom: 10px; }
.pay-card h3 { margin: 22px 0 8px; }
.howto { padding-left: 1.3em; margin: 0 0 12px; }
.howto li { margin-bottom: 6px; }

/* длинное название в шапке на узких экранах */
.brand span { line-height: 1.15; }
@media (max-width: 520px) {
  .brand { font-size: .98rem; gap: 8px; }
  .brand small { display: none; }
  .brand-mark { width: 28px; height: 28px; }
}

/* Текст по ширине с переносами (lang="ru"); заголовки, кнопки, таблицы и меню — как были */
main p, main li, main dd, .site-footer p { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
/* Узкие колонки тарифов: выравнивание по ширине даёт дыры между словами — здесь по левому краю. */
main .plan p, main .plan li { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
/* Телефон: в колонке шириной ~350 px выравнивание по ширине растягивает пробелы — по левому краю. */
@media (max-width: 600px) {
  main p, main li, main dd, .site-footer p, .section-head p { text-align: left; text-align-last: auto; }
}
