/* Публичный сайт. Визуал — по макету «тела сайта» (Golos Text, синий акцент, окна Office как иллюстрация);
   структура и данные — из каталога (content/*.md). */

body { background: var(--page); }
html { scroll-padding-top: 24px; }

.eyebrow { display: inline-block; font-size: 11px; font-weight: 650; letter-spacing: .14em; color: var(--ink-3); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 550; color: var(--accent-text); }
.text-link:hover { text-decoration: none; color: var(--accent-hover); }
.caption { margin-top: 14px; font-size: 13px; color: var(--ink-3); }

/* Шапка */
.site-header { background: var(--page); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.site-header__inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-nav { display: flex; gap: 28px; font-size: 14px; font-weight: 500; color: var(--ink); }
.site-nav a { padding: 10px 0; }
.site-nav a:hover { text-decoration: none; color: var(--accent-text); }
.site-nav a[aria-current="page"] { color: var(--accent-text); }
.site-header__actions { display: flex; gap: 10px; align-items: center; }
.login-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--radius-control); font-size: 13px; font-weight: 600; white-space: nowrap;
}
.login-link:hover { text-decoration: none; border-color: #9BABEF; color: var(--accent-text); }
.menu-toggle { display: none; }

@media (max-width: 899px) {
  .site-header__inner { min-height: 72px; gap: 12px; }
  .site-header .brand { flex: 1 1 auto; }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px;
    background: var(--page); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-menu);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; min-height: 44px; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
}
@media (max-width: 480px) {
  .site-header .brand { font-size: 17px; }
  .site-header .brand img { width: 28px; height: 28px; }
  .login-link { padding: 0 10px; font-size: 12px; }
  .login-link .icon { display: none; }
}

/* Общие секции */
.section { padding: 80px 0; }
.section--surface { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 36px; }
.section-heading h2, .center-heading h2 { font-size: 34px; margin-top: 12px; }
.section-heading > p { max-width: 380px; color: var(--ink-3); font-size: 14px; line-height: 1.8; }
.center-heading { text-align: center; }
.center-heading p { margin-top: 14px; color: var(--ink-3); font-size: 15px; }
@media (max-width: 767px) {
  .section { padding: 56px 0; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading > p { margin-top: 12px; max-width: none; }
  .section-heading h2, .center-heading h2 { font-size: 28px; }
}

/* Первый экран */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 18px; align-items: center; min-height: 568px; padding-top: 40px; padding-bottom: 48px; }
.hero__copy { position: relative; z-index: 2; }
.hero__eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .15em; font-weight: 650; color: var(--ink-3); margin-bottom: 24px; }
.hero__eyebrow > span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero__title { font-size: 54px; font-weight: 650; letter-spacing: -0.055em; line-height: 1.12; }
.hero__title > span { color: var(--accent-text); }
.hero__lead { margin-top: 24px; font-size: 16px; line-height: 1.8; color: var(--ink-3); max-width: 500px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 13px; color: var(--ink-3); }
.hero__proof span { display: inline-flex; align-items: center; gap: 6px; }
.hero__proof .icon { color: var(--accent-text); }
.hero__art { position: relative; height: 480px; }
.hero__stage { position: absolute; inset: 0; width: 500px; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(228, 232, 243, .5) 1px, transparent 1px), linear-gradient(90deg, rgba(228, 232, 243, .5) 1px, transparent 1px);
  background-size: 27px 27px; -webkit-mask-image: radial-gradient(ellipse, #000 40%, transparent 74%); mask-image: radial-gradient(ellipse, #000 40%, transparent 74%);
}
.hero__orbit {
  position: absolute; width: 380px; height: 380px; left: 60px; top: 28px; border-radius: 50%;
  border: 1px solid #E7EAFB; background: radial-gradient(circle, rgba(233, 239, 255, .6), transparent 68%); box-shadow: 0 0 0 38px rgba(246, 248, 255, .55);
}
.hero__window { position: absolute; }
.hero__window--doc { width: 351px; top: 20px; left: 12px; transform: rotate(-5deg); }
.hero__window--sheet { width: 350px; top: 215px; left: 140px; transform: rotate(5deg); }
.hero__float { position: absolute; }
.hero__float--doc { top: 92px; right: 0; transform: rotate(9deg); }
.hero__float--sheet { top: 330px; left: 22px; transform: rotate(-9deg); }
.hero__note {
  position: absolute; top: 446px; left: 176px; display: flex; align-items: center; gap: 8px; padding: 8px 12px;
  background: #FFFFFF; border: 1px solid #EDF0F6; border-radius: 7px; box-shadow: 0 8px 22px rgba(37, 59, 118, .07);
  font-size: 12px; color: #4A5266; transform: rotate(-3deg); white-space: nowrap;
}
.hero__note > span { display: flex; color: #4464ED; }
:root[data-theme="dark"] .hero__orbit, :root[data-theme="dark"] .hero__grid { opacity: .25; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero__orbit, :root:not([data-theme="light"]) .hero__grid { opacity: .25; } }
@media (min-width: 1450px) { .hero__title { font-size: 58px; } }
@media (max-width: 1100px) {
  .hero__title { font-size: 44px; }
  .hero__stage { transform: scale(.86); transform-origin: left center; }
}
@media (max-width: 899px) {
  .hero { grid-template-columns: minmax(0, 1fr); text-align: center; padding-top: 48px; padding-bottom: 24px; min-height: 0; }
  .hero__copy { max-width: 600px; margin: 0 auto; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__eyebrow, .hero__cta, .hero__proof { justify-content: center; }
  .hero__art { height: 490px; }
  .hero__stage { left: 50%; margin-left: -250px; transform: none; }
}
@media (max-width: 560px) {
  .hero__title { font-size: 38px; }
  .hero__lead { font-size: 15px; }
  .hero__art { height: 330px; overflow: hidden; margin: 0 calc(var(--gutter) * -1); }
  .hero__stage { transform: scale(.68); transform-origin: top center; top: 4px; }
}

/* Окно Office — иллюстрация (декор, всегда светлое) */
.office-window {
  background: #FFFFFF; border: 1px solid #DFE4EF; border-radius: 10px; overflow: hidden;
  box-shadow: 0 15px 35px rgba(32, 55, 120, .08); color: #485265; text-align: left; font-size: 8px; line-height: 1.4;
}
.office-window__title { display: flex; justify-content: space-between; align-items: center; padding: 9px 11px; background: #F6F8FD; color: #717C99; }
.office-window--sheet .office-window__title { background: #F1F9F5; }
.office-window__dots { display: flex; gap: 4px; }
.office-window__dots i { width: 6px; height: 6px; border-radius: 50%; background: #D9DEEB; }
.office-window__dots i:nth-child(1) { background: #F3B6B6; }
.office-window__dots i:nth-child(2) { background: #F0D496; }
.office-window__dots i:nth-child(3) { background: #9ED5BA; }
.office-window__tabs { display: flex; gap: 18px; padding: 8px 13px 0; border-bottom: 1px solid #E4E9F4; }
.office-window__tabs > * { padding-bottom: 8px; }
.office-window__tabs b { color: #496BD7; border-bottom: 2px solid #496BD7; }
.office-window--sheet .office-window__tabs b { color: #2A8B63; border-color: #2A8B63; }
.office-window__ribbon { display: flex; padding: 9px 8px; background: #FCFDFF; border-bottom: 1px solid #E3E8F2; overflow: hidden; }
.office-window__ribbon > div { display: flex; align-items: center; gap: 5px; padding: 0 11px; border-right: 1px solid #E9EDF5; color: #5871A5; font-size: 7px; white-space: nowrap; }
.office-window__ribbon > div:last-child { border-right: 0; }
.office-window--sheet .office-window__ribbon { background: #F7FBF8; }
.office-window--sheet .office-window__ribbon > div { color: #4F8069; }
.office-doc { background: #EEF1F7; padding: 15px 29px 0; height: 225px; overflow: hidden; }
.office-doc__paper { background: #FFFFFF; border: 1px solid #E4E7ED; padding: 22px 24px; min-height: 250px; box-shadow: 0 4px 8px rgba(23, 35, 83, .02); }
.office-doc__eyebrow { font-size: 6px; letter-spacing: .2em; color: #A3ACC3; margin-bottom: 10px; }
.office-doc__title { font-size: 18px; font-weight: 600; color: #303B51; line-height: 1.35; letter-spacing: -0.03em; margin-bottom: 14px; }
.office-doc__line { height: 3px; width: 85%; margin-bottom: 6px; background: #E5E9F1; border-radius: 2px; }
.office-doc__line--long { width: 100%; }
.office-doc__line--short { width: 65%; }
.office-doc__table { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1px; margin: 14px 0; background: #E2E8F6; }
.office-doc__table i { height: 14px; background: #F5F7FC; }
.office-doc__table i:nth-child(-n+3) { background: #E5ECFC; }
.office-sheet__fx { display: flex; gap: 10px; align-items: center; padding: 6px 10px; border-bottom: 1px solid #E8EEEA; background: #FFFFFF; }
.office-sheet__fx i { color: #95A29A; font-family: Georgia, serif; }
.office-sheet__fx code { font-size: 8px; color: #3C6B55; }
.office-sheet__row { display: grid; grid-template-columns: 22px 1.2fr 1.3fr; }
.office-sheet__row > span { padding: 6px 7px; border-right: 1px solid #E8EEEA; border-bottom: 1px solid #E8EEEA; white-space: nowrap; overflow: hidden; }
.office-sheet__row > span:first-child { padding: 6px 4px; text-align: center; color: #95A29A; background: #F7FAF8; }
.office-sheet__row--cols { background: #F2F6F4; color: #9AA89E; }
.office-sheet__row--cols > span { padding: 3px 7px; text-align: center; }
.office-sheet__row--head { font-weight: 600; background: #EDF6F0; color: #47755E; }
.office-sheet__row .is-selected { box-shadow: inset 0 0 0 1.5px #329975; background: #EDF8F2; }
.office-sheet__bottom { display: flex; gap: 14px; padding: 7px 10px; color: #94A69B; background: #FBFDFB; }
.office-sheet__bottom b { color: #438064; }
.office-sheet__bottom span { margin-left: auto; }

/* Полоса преимуществ */
.value-strip { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value-strip__inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; font-size: 13px; color: var(--ink-3); }
.value-strip__inner span { display: inline-flex; align-items: center; gap: 10px; }
.value-strip__inner .icon { color: var(--accent-text); }
@media (max-width: 899px) { .value-strip__inner { display: grid; grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .value-strip__inner { font-size: 12px; gap: 14px 10px; } }

/* Карточки продуктов */
.products-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.product-card {
  display: flex; flex-direction: column; padding: 28px 28px 0; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow-card);
}
.product-card__head { display: flex; align-items: center; gap: 16px; }
.product-card__host { font-size: 11px; font-weight: 550; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.product-card__name { margin-top: 22px; font-size: 30px; letter-spacing: -0.04em; }
.product-card__desc { margin-top: 10px; font-size: 14px; line-height: 1.7; color: var(--ink-3); }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 0; padding: 0; list-style: none; }
.tags > li { font-size: 12px; padding: 4px 9px; border-radius: 5px; background: var(--doc-soft); color: var(--ink-2); }
.tags b { font-weight: 650; color: var(--accent-text); }
.product-card--sheet .tags > li { background: var(--sheet-soft); }
.product-card--sheet .tags b { color: var(--sheet); }
.product-card__preview {
  position: relative; height: 210px; margin-top: 24px; padding: 25px 38px 0; overflow: hidden; border-radius: 8px;
  background: radial-gradient(ellipse at top, rgba(255, 255, 255, .55), transparent 70%) var(--doc-soft);
}
.product-card--sheet .product-card__preview { background-color: var(--sheet-soft); }
.product-card__preview .office-window { box-shadow: 0 8px 18px rgba(36, 50, 106, .09); }
.product-card__preview .office-doc { height: 150px; padding: 12px 28px; }
.product-card__preview .office-doc__paper { padding: 13px 20px; }
.product-card__preview .office-doc__title { font-size: 14px; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 22px 0; margin-top: auto; }
.product-card__cost strong { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; white-space: nowrap; }
.product-card__cost small { font-size: 13px; color: var(--ink-3); }
.product-card__foot .btn { min-height: 42px; padding: 0 16px; font-size: 13px; }
@media (max-width: 899px) { .products-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .product-card { padding: 22px 20px 0; }
  .product-card__preview { padding: 20px 14px 0; height: 180px; }
  .product-card__foot { flex-wrap: wrap; }
  .product-card__cost { flex: 1 1 auto; }
}

/* Баннер комплекта */
.bundle-banner {
  display: flex; align-items: center; gap: 26px; margin-top: 24px; padding: 26px 28px;
  border: 1px solid var(--accent-line); border-radius: 10px; background: linear-gradient(115deg, var(--accent-soft), var(--band));
}
.bundle-banner__icons { display: flex; align-items: center; gap: 10px; color: var(--ink-3); }
.bundle-banner__copy { flex: 1 1 auto; }
.bundle-banner__copy .eyebrow { color: var(--accent-text); }
.bundle-banner__copy h3 { margin-top: 6px; font-size: 21px; }
.bundle-banner__copy p { margin-top: 4px; font-size: 13px; color: var(--ink-3); max-width: 520px; }
.bundle-banner__price { font-size: 28px; font-weight: 650; letter-spacing: -0.03em; white-space: nowrap; }
.bundle-banner__price s { font-size: 13px; font-weight: 400; color: var(--ink-3); letter-spacing: 0; }
.bundle-banner__price small { font-size: 13px; font-weight: 400; color: var(--ink-3); letter-spacing: 0; }
@media (max-width: 899px) {
  .bundle-banner { flex-wrap: wrap; gap: 16px; padding: 22px; }
  .bundle-banner__icons { display: none; }
  .bundle-banner__copy { flex-basis: 100%; }
  .bundle-banner > .btn { flex: 1 1 auto; }
}

/* Лента Office — живое демо с вкладками */
.ribbon {
  border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; background: var(--surface);
  box-shadow: var(--shadow-ribbon); --tab-color: var(--doc); --tab-soft: var(--doc-soft);
}
.ribbon[data-active="sheetbooster"] { --tab-color: var(--sheet); --tab-soft: var(--sheet-soft); }
.ribbon__title { padding: 11px 14px; background: var(--surface-2); }
.ribbon__tabs {
  display: flex; align-items: flex-end; gap: 4px; padding: 4px 16px 0; background: var(--surface-2);
  border-bottom: 1px solid var(--line); overflow-x: auto; font-size: 13px;
}
.ribbon__fake { padding: 8px 12px; color: var(--ink-3); white-space: nowrap; }
.ribbon__tab {
  font: inherit; font-size: 13px; font-weight: 650; padding: 9px 16px; min-height: 40px; margin-bottom: -1px;
  border: 1px solid transparent; border-bottom: 0; border-radius: 8px 8px 0 0; cursor: pointer; white-space: nowrap;
  background: transparent; color: var(--ink-2);
}
.ribbon__tab[aria-selected="true"] { background: var(--surface); border-color: var(--line); color: var(--tab-color); box-shadow: inset 0 -2px 0 var(--tab-color); }
.ribbon__tab[data-product="docbooster"][aria-selected="true"] { color: var(--doc); box-shadow: inset 0 -2px 0 var(--doc); }
.ribbon__tab[data-product="sheetbooster"][aria-selected="true"] { color: var(--sheet); box-shadow: inset 0 -2px 0 var(--sheet); }
.ribbon__panel { animation: ribbon-in 150ms ease-out; }
@keyframes ribbon-in { from { opacity: 0; } to { opacity: 1; } }
.ribbon__groups { display: flex; overflow-x: auto; background: var(--surface); border-bottom: 1px solid var(--line); }
.ribbon__group { flex: 1 0 190px; display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 10px; border-right: 1px solid var(--line); }
.ribbon__group:last-child { border-right: 0; }
.ribbon__item { display: flex; align-items: center; gap: 8px; font-size: 13px; white-space: nowrap; }
.ribbon__icon { width: 16px; height: 16px; flex: none; border-radius: 4px; background: var(--tab-soft); border: 1px solid var(--tab-color); }
.ribbon__menu > summary { cursor: pointer; list-style: none; }
.ribbon__menu > summary::-webkit-details-marker { display: none; }
.ribbon__menu > summary::after { content: "▾"; color: var(--ink-3); font-size: 11px; }
.ribbon__menu[open] > summary::after { content: "▴"; }
.ribbon__menu > summary:focus-visible { outline: 2px solid var(--tab-color); outline-offset: 2px; border-radius: 4px; }
.ribbon__menu ul { margin: 6px 0 4px 24px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--ink-2); white-space: normal; }
.ribbon__group-name { margin-top: auto; padding-top: 8px; font-size: 12px; color: var(--ink-3); text-align: center; }
.ribbon__demo { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; padding: 32px; background: var(--bg); }
.sheet { padding: 26px 30px; font-size: 15px; line-height: 1.7; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sheet); }
.sheet--after { border-color: var(--tab-color); }
.sheet__label { margin-bottom: 10px; font-size: 13px; color: var(--ink-3); }
.sheet--after .sheet__label { color: var(--tab-color); }
.ribbon__demo--xl { display: block; padding: 32px; overflow-x: auto; background: var(--bg); }
.xl { min-width: 560px; overflow: hidden; font-size: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sheet); }
.xl__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.xl__fx { font-style: italic; color: var(--ink-3); font-family: Georgia, "Times New Roman", serif; }
.xl__formula { font-family: var(--mono); font-size: 14px; }
.xl__grid { display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1fr); font-variant-numeric: tabular-nums; }
.xl__grid > div { padding: 8px 12px; border-bottom: 1px solid var(--line); }
.xl__grid > div:nth-child(3n+1), .xl__grid > div:nth-child(3n+2) { border-right: 1px solid var(--line); }
.xl__grid > div:nth-last-child(-n+3) { border-bottom: 0; }
.xl__head { background: var(--surface-2); color: var(--ink-3); text-align: center; }
.xl__grid > .xl__colhead { text-align: left; }
.xl__bold { font-weight: 600; }
.xl__active { outline: 2px solid var(--tab-color); outline-offset: -2px; background: var(--tab-soft); }
@media (max-width: 767px) {
  .ribbon__fake { display: none; }
  .ribbon__tabs { padding-left: 8px; }
  .ribbon__demo, .ribbon__demo--xl { padding: 16px; }
  .sheet { padding: 20px; }
  .ribbon__group { flex-basis: 170px; }
}

/* Скриншоты */
.shots-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; margin-top: 32px; }
.shots-grid--small { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; margin-top: 0; }
.shot { margin: 0; }
.shot__frame {
  aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center;
  border: 1px dashed var(--line-2); border-radius: 10px; background: var(--surface); color: var(--ink-3); font-size: 14px;
}
.shots-grid--small .shot__frame { aspect-ratio: 4 / 3; padding: 16px; }
.shot__img { display: block; width: 100%; padding: 0; border-radius: 10px; border: 1px solid var(--line); background: none; cursor: zoom-in; }
.shot__img img { display: block; width: 100%; height: auto; border-radius: 10px; }
.shot figcaption { margin-top: 12px; color: var(--ink-2); font-size: 14px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(20, 32, 57, .8); }
.lightbox img { display: block; max-width: 96vw; max-height: 86vh; border-radius: 8px; }
.lightbox__close { position: fixed; top: 16px; right: 16px; background: var(--surface); }

/* Возможности и состав */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; }
.feature-icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 20px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); }
.feature-icon--violet { background: #EBEDF8; color: #6560B5; }
.feature-icon--green { background: var(--sheet-soft); color: var(--sheet); }
:root[data-theme="dark"] .feature-icon--violet { background: #393655; color: #B5B0F0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .feature-icon--violet { background: #393655; color: #B5B0F0; } }
.feature-grid h3 { font-size: 19px; letter-spacing: -0.02em; }
.feature-grid p { margin-top: 10px; font-size: 14px; line-height: 1.8; color: var(--ink-3); }
.toc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 56px; }
.toc { padding: 26px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.toc__head { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.toc__head h3 { font-size: 20px; }
.toc__head .muted { font-size: 13px; }
.toc__row { padding: 14px 0; border-bottom: 1px solid var(--line); }
.toc__row-title { font-weight: 600; font-size: 14px; margin-bottom: 3px; }
.toc__row-text { color: var(--ink-3); font-size: 14px; line-height: 1.7; }
.toc__more { margin-top: 18px; }
@media (max-width: 899px) {
  .feature-grid { grid-template-columns: 1fr; gap: 28px; }
  .feature-grid article { position: relative; padding-left: 64px; }
  .feature-icon { position: absolute; left: 0; top: 0; }
  .toc-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .toc { padding: 22px 20px; }
}

/* Кому пригодится */
.audiences { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px; }
.audience { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.audience h3 { font-size: 17px; line-height: 1.35; letter-spacing: -0.02em; margin-bottom: 10px; }
.audience p { color: var(--ink-3); font-size: 14px; line-height: 1.7; margin-bottom: 14px; }
.audience__products { font-size: 13px; font-weight: 650; }
.audience__products--doc { color: var(--doc); }
.audience__products--sheet { color: var(--sheet); }
.audience__products--both { color: var(--accent-text); }

/* Цены */
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 52px; align-items: start; }
.price-card { position: relative; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.price-card--best { border-color: #6F87EC; background: linear-gradient(180deg, var(--accent-soft), var(--surface) 55%); border-radius: 0 0 10px 10px; }
.price-card__label {
  position: absolute; top: -28px; left: -1px; right: -1px; height: 28px; padding-top: 7px; border-radius: 8px 8px 0 0;
  background: var(--accent); color: #FFFFFF; text-align: center; font-size: 10px; font-weight: 650; letter-spacing: .12em;
}
.price-card__title { display: flex; align-items: center; gap: 14px; }
.price-card__title h3 { font-size: 20px; }
.price-card__sub { margin-top: 18px; font-size: 13px; color: var(--ink-3); }
.price-card__price { margin-top: 10px; font-size: 36px; font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.price-card__price span { margin-left: 8px; font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--ink-3); }
.price-card__was { font-size: 13px; color: var(--ink-3); }
.price-card__list { display: grid; gap: 13px; margin: 22px 0 24px; padding: 20px 0 0; list-style: none; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.price-card__list li { display: flex; align-items: flex-start; gap: 9px; }
.price-card__list .icon { margin-top: 3px; color: var(--accent-text); }
.pricing-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 26px; text-align: center; font-size: 13px; color: var(--ink-3); }
@media (max-width: 1023px) { .price-card { padding: 22px; } }
@media (max-width: 899px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; margin-top: 36px; gap: 20px; }
  .price-card--best { margin-top: 28px; }
  .pricing-note { align-items: flex-start; text-align: left; }
}

/* Установка */
.installation { display: grid; grid-template-columns: 1fr 1.45fr; gap: 80px; padding: 80px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.installation h2 { margin-top: 14px; font-size: 38px; }
.installation__note { margin-top: 18px; font-size: 14px; line-height: 1.8; color: var(--ink-3); max-width: 340px; }
.installation .text-link { margin-top: 22px; }
.steps { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 22px; }
.step-num {
  display: flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--accent-line); color: var(--accent-text); font-size: 13px; font-weight: 550;
}
.steps h3 { font-size: 17px; letter-spacing: -0.02em; }
.steps p { margin-top: 6px; max-width: 460px; font-size: 14px; line-height: 1.8; color: var(--ink-3); }
@media (max-width: 899px) {
  .installation { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
  .installation h2 { font-size: 30px; }
}

/* FAQ и поддержка */
.faq-section { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; }
.faq-section__aside h2 { margin-top: 14px; font-size: 34px; }
.faq-section__aside > .muted { margin-top: 16px; font-size: 14px; }
.support-card { margin-top: 28px; padding: 24px; background: var(--band); border: 1px solid var(--line); border-radius: 10px; }
.support-card h3 { font-size: 18px; margin-bottom: 6px; }
.support-card p { color: var(--ink-3); font-size: 14px; margin-bottom: 18px; }
.contacts { display: grid; gap: 12px; margin: 0; font-size: 14px; }
.contacts dt { color: var(--ink-3); font-size: 12px; }
.contacts dd { margin: 0; overflow-wrap: anywhere; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq h3 { margin: 0; font: inherit; letter-spacing: normal; }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0;
  background: none; border: 0; text-align: left; font: inherit; font-size: 15px; font-weight: 550; color: var(--ink); cursor: pointer;
}
.faq__q:hover { color: var(--accent-text); }
.faq__sign { flex: none; width: 24px; text-align: center; font-size: 22px; font-weight: 300; color: var(--ink-3); }
.faq__a { max-width: 680px; margin: 0 0 20px; font-size: 14px; line-height: 1.85; color: var(--ink-3); }
@media (max-width: 899px) {
  .faq-section { grid-template-columns: 1fr; gap: 32px; }
  .faq-section__aside h2 { font-size: 28px; }
}

/* Финальный призыв */
.last-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 76px; padding: 38px 40px;
  border: 1px solid var(--accent-line); border-radius: var(--radius-card); background: var(--accent-soft);
}
.last-cta .eyebrow { color: var(--accent-text); }
.last-cta h2 { margin-top: 10px; font-size: 30px; }
.last-cta p { margin-top: 12px; font-size: 14px; color: var(--ink-2); }
@media (max-width: 767px) {
  .last-cta { display: grid; gap: 22px; padding: 28px 24px; margin-bottom: 56px; }
  .last-cta h2 { font-size: 25px; }
  .last-cta > .btn { justify-self: start; }
}

/* Подвал */
.site-footer { background: var(--band); border-top: 1px solid var(--line); padding: 46px 0 26px; }
.site-footer__top { display: flex; justify-content: space-between; gap: 32px; padding-bottom: 32px; }
.site-footer__about { flex: 1 1 auto; }
.site-footer__about .brand { font-size: 18px; }
.site-footer__about p { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.site-footer__about .site-footer__seller { margin-top: 6px; max-width: 440px; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; min-width: 170px; font-size: 13px; color: var(--ink-2); }
.site-footer__col a:hover, .site-footer__legal a:hover { color: var(--accent-text); text-decoration: none; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer__copy { margin-top: 16px; font-size: 12px; color: var(--ink-3); }
@media (max-width: 767px) {
  .site-footer__top { flex-wrap: wrap; gap: 24px; }
  .site-footer__about { flex-basis: 100%; }
  .site-footer__col { min-width: 0; flex: 1 1 140px; }
  .site-footer__bottom { flex-direction: column; gap: 14px; }
}

/* Страница продукта */
.crumbs { font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.crumbs--top { padding-top: 28px; margin-bottom: 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 10px; }
.crumbs a:hover { color: var(--accent-text); text-decoration: none; }
.crumbs [aria-current="page"] { color: var(--ink-2); }
.p-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 40px; padding-bottom: 64px; }
.p-hero__kind { display: flex; align-items: center; gap: 18px; }
.p-hero__title { margin-top: 22px; font-size: 58px; letter-spacing: -0.05em; line-height: 1.05; }
.p-hero__lead { margin-top: 18px; font-size: 18px; line-height: 1.65; color: var(--ink-2); max-width: 560px; }
.p-hero .tags { margin-top: 22px; }
.p-hero__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 28px; }
.p-hero__price { font-size: 28px; font-weight: 650; letter-spacing: -0.04em; white-space: nowrap; }
.p-hero__price small { font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--ink-3); }
.p-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
.p-hero__version { flex-basis: 100%; font-size: 13px; color: var(--ink-3); }
.p-art { position: relative; overflow: hidden; padding: 40px 36px 22px; border-radius: 15px; background: var(--doc-soft); }
.p-art--sheet { background: var(--sheet-soft); }
.p-art .caption { text-align: center; }
@media (max-width: 899px) {
  .p-hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 28px; padding-bottom: 40px; }
  .p-hero__title { font-size: 44px; }
  .p-hero__actions { margin-left: 0; }
  .p-art { padding: 24px 18px 16px; }
}
.p-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 8px; padding-bottom: 72px; }
.p-main { flex: 999 1 560px; min-width: 0; }
.p-aside { flex: 1 1 300px; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1200px) { .p-aside { position: sticky; top: 24px; } }
.p-anchors { margin-bottom: 40px; }
.p-section + .p-section { margin-top: 64px; }
.p-section__title { font-size: 32px; line-height: 1.15; margin-bottom: 8px; }
.p-section__title--solo { margin-bottom: 24px; }
.p-section__lead { margin-bottom: 32px; color: var(--ink-3); }
.fgroup { margin-bottom: 36px; padding: 22px 24px 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.fgroup__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--doc); }
.fgroup__head--sheet { border-bottom-color: var(--sheet); }
.fgroup__head h3, .fgroup__head h4 { font-size: 19px; }
.fgroup__count { color: var(--ink-3); font-size: 13px; white-space: nowrap; }
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); column-gap: 28px; }
.fitem { padding: 14px 0; border-bottom: 1px solid var(--line); }
.fitem__name { font-weight: 600; font-size: 14px; margin-bottom: 3px; }
.fitem__desc { font-size: 14px; line-height: 1.7; color: var(--ink-3); }
.subhead { margin: 40px 0 16px; font-size: 24px; }
.subhead + .fgroup { margin-top: 8px; }
.fn-search { margin: 8px 0 24px; max-width: 420px; }
.fn-sub { margin: 16px 0 8px; font-size: 13px; color: var(--ink-3); }
.fn-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.fn {
  display: inline-flex; align-items: center; min-height: 32px; padding: 4px 11px; border-radius: 6px;
  border: 1px solid var(--line); background: var(--band); font-family: var(--mono); font-size: 13px;
}
.fn__note { margin-left: 8px; font-family: var(--font); font-size: 12.5px; color: var(--ink-3); }
.fn-empty { margin-top: 12px; color: var(--ink-3); }
.p-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.p-panel { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.p-panel h2 { display: flex; align-items: center; gap: 10px; font-size: 20px; margin-bottom: 14px; }
.p-panel h2 .icon { color: var(--accent-text); }
@media (max-width: 767px) { .p-panels { grid-template-columns: 1fr; } }
.isteps { margin: 0; padding: 0; list-style: none; }
.isteps li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.isteps li:last-child { border-bottom: 0; }
.isteps .step-num { width: 30px; height: 30px; font-size: 12px; }
.isteps span:last-child { padding-top: 4px; }
.buy-card { padding: 26px; }
.buy-card__label { margin-bottom: 6px; font-size: 14px; color: var(--ink-3); }
.buy-card__price { font-size: 40px; font-weight: 650; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.buy-card__note { margin: 8px 0 20px; font-size: 13px; color: var(--ink-3); }
.ticks { display: grid; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; font-size: 14px; }
.ticks li { display: flex; gap: 10px; }
.ticks svg { flex: none; margin-top: 3px; color: var(--accent-text); }
.bundle-card { padding: 24px; background: var(--accent-soft); border-color: var(--accent-line); box-shadow: none; }
.bundle-card h3 { margin: 12px 0 6px; font-size: 19px; }
.bundle-card p { margin-bottom: 16px; color: var(--ink-2); font-size: 14px; }
.p-bottom { padding-bottom: 72px; }
.p-bottom .bundle-banner { margin-top: 0; }

/* Юр. страницы и служебные */
.page-head { border-bottom: 1px solid var(--line); }
.page-head__inner { padding-top: 48px; padding-bottom: 32px; }
.page-head h1 { font-size: clamp(30px, 4.4vw, 40px); }
.page-head .meta { margin-top: 10px; color: var(--ink-3); font-size: 14px; }
.page-body { padding-top: 40px; padding-bottom: 80px; }
.prose p, .prose li { color: var(--ink-2); line-height: 1.85; }
.error-page { padding: 120px 0; }
.error-page__code { margin-bottom: 12px; font-family: var(--mono); color: var(--ink-3); }
.error-page h1 { margin-bottom: 16px; font-size: clamp(30px, 4.4vw, 44px); }
.error-page p { max-width: 560px; margin-bottom: 28px; color: var(--ink-2); }
.legal-req-title { margin-top: 40px; }
.download-card { max-width: 760px; }
.download-form { display: grid; justify-items: start; gap: 16px; margin-top: 24px; }
.break { overflow-wrap: anywhere; }
.tags--sheet > li { background: var(--sheet-soft); }
#demo .shot__frame { aspect-ratio: 16 / 7; }
