/* Сайт tablis.ru. Шрифты локальные (без Google Fonts): Inter — текст, Inter Tight — заголовки. */
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('/static/site/fonts/inter-400-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('/static/site/fonts/inter-400-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('/static/site/fonts/inter-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('/static/site/fonts/inter-400-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;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('/static/site/fonts/inter-500-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('/static/site/fonts/inter-500-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('/static/site/fonts/inter-500-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('/static/site/fonts/inter-500-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;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('/static/site/fonts/inter-600-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('/static/site/fonts/inter-600-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('/static/site/fonts/inter-600-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('/static/site/fonts/inter-600-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;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('/static/site/fonts/inter-700-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('/static/site/fonts/inter-700-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('/static/site/fonts/inter-700-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('/static/site/fonts/inter-700-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;}
@font-face{font-family:'Inter';font-style:normal;font-weight:900;font-display:swap;src:url('/static/site/fonts/inter-900-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Inter';font-style:normal;font-weight:900;font-display:swap;src:url('/static/site/fonts/inter-900-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Inter';font-style:normal;font-weight:900;font-display:swap;src:url('/static/site/fonts/inter-900-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:900;font-display:swap;src:url('/static/site/fonts/inter-900-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;}
@font-face{font-family:'Inter Tight';font-style:normal;font-weight:500 700;font-display:swap;src:url('/static/site/fonts/intertight-cyrillic-ext.woff2') format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;}
@font-face{font-family:'Inter Tight';font-style:normal;font-weight:500 700;font-display:swap;src:url('/static/site/fonts/intertight-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Inter Tight';font-style:normal;font-weight:500 700;font-display:swap;src:url('/static/site/fonts/intertight-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter Tight';font-style:normal;font-weight:500 700;font-display:swap;src:url('/static/site/fonts/intertight-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;}

/* --- Токены (палитра и шрифты tablis.pro, тема blockify) --- */
:root {
	--color-primary: #575afd;
	--color-primary-dark: #4539f2;
	--color-primary-soft: #eeeefe;
	--color-text: #1e1e2a;
	--color-muted: #5c6070;
	--color-light: #f6f7fb;
	--color-border: #e3e4ec;
	--color-error: #d8344a;
	--color-white: #fff;
	--container: 1200px;
	--header-height: 72px;
	--font-base: 'Inter', 'Helvetica Neue', Arial, sans-serif;
	--font-display: 'Inter Tight', 'Inter', Arial, sans-serif;
	--radius: 6px;
	--shadow: 0 10px 30px rgba(30, 30, 42, .08);
}

/* --- База --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--font-base); font-size: 16px; line-height: 1.6; color: var(--color-text); background: var(--color-white); }
img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dark); }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 16px; }
h1, h2, h3, h4 { margin: 0 0 16px; font-family: var(--font-display); font-weight: 600; line-height: 1.2; color: var(--color-text); }
h1 { font-size: 52px; }
h2 { font-size: 36px; }
h3 { font-size: 22px; }
button { font: inherit; cursor: pointer; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section-title { margin-bottom: 28px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 18px; height: 18px; flex: none; }

/* --- Кнопки --- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border: 1px solid transparent; border-radius: var(--radius); font-size: 15px; line-height: 22px; font-weight: 600; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
.button--primary { background: var(--color-primary); color: var(--color-white); }
.button--primary:hover { background: var(--color-primary-dark); color: var(--color-white); }
.button--ghost { background: var(--color-white); color: var(--color-primary); border-color: var(--color-primary); }
.button--ghost:hover { background: var(--color-primary-soft); color: var(--color-primary-dark); }

/* --- Шапка --- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--color-white); border-bottom: 1px solid var(--color-border); }
.site-header__inner { display: flex; align-items: center; gap: 32px; min-height: var(--header-height); }
.site-header__logo { display: inline-flex; align-items: center; gap: 10px; flex: none; color: var(--color-text); }
.site-header__logo img { width: 40px; height: 37px; object-fit: contain; }
.site-header__brand { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: .04em; }
.site-nav { margin-left: auto; }
.site-nav__list { display: flex; gap: 24px; }
.site-nav__link { color: var(--color-muted); font-weight: 500; font-size: 15px; white-space: nowrap; }
.site-nav__link.is-active, .site-nav__link:hover { color: var(--color-primary); }
.site-header__actions { display: flex; align-items: center; gap: 12px; }
.site-burger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; padding: 10px; background: none; border: 0; }
.site-burger__bar { display: block; height: 2px; background: var(--color-text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.site-burger[aria-expanded="true"] .site-burger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-burger[aria-expanded="true"] .site-burger__bar:nth-child(2) { opacity: 0; }
.site-burger[aria-expanded="true"] .site-burger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-mobile-nav { padding: 16px 24px 24px; border-top: 1px solid var(--color-border); }
.site-mobile-nav[hidden] { display: none; }
.site-mobile-nav__list { display: grid; gap: 14px; margin-bottom: 16px; }
.site-mobile-nav__list a { color: var(--color-text); font-weight: 600; }

/* Переключатель языка */
.site-lang { display: flex; flex-wrap: nowrap; gap: 4px; }
.site-lang__link { display: inline-block; padding: 4px 8px; border-radius: var(--radius); font-size: 13px; font-weight: 700; color: var(--color-muted); white-space: nowrap; }
.site-lang__link.is-current { background: var(--color-primary); color: var(--color-white); }

/* --- Подвал --- */
.site-footer { margin-top: 80px; padding: 48px 0 32px; background: var(--color-light); color: var(--color-muted); font-size: 15px; }
.site-footer a { color: var(--color-muted); }
.site-footer a:hover { color: var(--color-primary); }
.site-footer__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
.site-footer__logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--color-text) !important; font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: .04em; }
.site-footer__logo img { width: 32px; height: 30px; }
.site-footer__about { max-width: 360px; }
.site-footer__contact { margin: 0 0 6px; }
.site-footer__socials { display: flex; gap: 12px; margin-top: 12px; }
.site-footer__columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; }
.site-footer__column-title { margin-bottom: 12px; font-size: 16px; }
.site-footer__links { display: grid; gap: 8px; }
.site-footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--color-border); font-size: 14px; }
.site-footer__bottom p { margin: 0 0 6px; }

/* --- Главная и шапки разделов --- */
.hero { padding: 72px 0; background: linear-gradient(180deg, var(--color-primary-soft), var(--color-white)); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: center; gap: 48px; }
.hero__lead { max-width: 640px; color: var(--color-muted); font-size: 20px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__image { justify-self: center; width: 100%; max-width: 345px; }
.page-intro { padding: 56px 0 24px; }
.page-intro__lead { max-width: 760px; color: var(--color-muted); font-size: 19px; }
.home-news { padding: 56px 0 0; }

/* --- Блог --- */
.blog-hero { padding: 56px 0 24px; }
.blog-hero__title { margin-bottom: 8px; }
.blog-hero__subtitle { max-width: 760px; color: var(--color-muted); font-size: 19px; }
.blog-filters__rule { margin: 0; border: 0; border-top: 1px solid var(--color-border); }
.blog-filters__menu { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 16px 0; }
.blog-filters__link { font-weight: 500; }
.blog-filters__link.is-active { color: var(--color-text); font-weight: 700; }
.blog-list { padding: 24px 0 0; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.post-card__image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.post-card__meta { margin: 14px 0 4px; color: var(--color-muted); font-size: 14px; }
.post-card__dot { margin: 0 6px; }
.post-card__title { margin: 0; font-size: 20px; }
.post-card__title a { color: var(--color-text); }
.post-card__title a:hover { color: var(--color-primary); }
.posts__empty { grid-column: 1 / -1; color: var(--color-muted); }

/* --- Страница записи --- */
.post-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); align-items: start; gap: 48px; padding-top: 48px; }
.post-hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 360px; padding: 32px; overflow: hidden; border-radius: var(--radius); background: var(--color-primary) center / cover no-repeat; color: var(--color-white); }
.post-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .05), rgba(0, 0, 0, .45)); }
.post-hero__inner { position: relative; }
.post-hero__meta { margin: 0 0 8px; font-size: 15px; }
.post-hero__dot { padding: 0 6px; }
.post-hero__title { margin: 0; color: var(--color-white); font-size: 40px; }
.post-hero__excerpt { margin: 10px 0 0; font-size: 20px; }
.post-body { margin-top: 40px; font-size: 17px; line-height: 1.7; }
.post-body h2 { margin-top: 32px; font-size: 30px; }
.post-body ul { padding-left: 24px; list-style: disc; }
.post-body ol { padding-left: 24px; list-style: decimal; }
.post-author { display: flex; align-items: center; gap: 16px; margin: 48px 0 0; }
.post-author__avatar { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.post-author__label { margin: 0; color: var(--color-muted); font-size: 14px; }
.post-author__name { margin: 0; font-size: 20px; }
.post-sidebar { padding: 8px 0; border: 1px solid var(--color-border); border-radius: var(--radius); }
.post-sidebar__item { padding: 16px 20px; }
.post-sidebar__item + .post-sidebar__item { border-top: 1px solid var(--color-border); }
.post-sidebar__link { display: flex; align-items: center; gap: 8px; color: var(--color-text); font-weight: 600; font-size: 15px; }
.post-sidebar__name { flex: 1; }
.post-sidebar__text { margin: 6px 0 0; color: var(--color-muted); font-size: 14px; }

/* --- Контакты и форма --- */
.contacts { padding: 56px 0 0; }
.contacts__body { max-width: 760px; }
.contacts__intro { color: var(--color-muted); font-size: 19px; }
.contacts__columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.contacts__label { margin: 0 0 4px; font-size: 17px; }
.contacts__address, .contacts__street, .contacts__line { margin: 0 0 12px; }
.contacts__more { margin-top: 32px; }
.contact-form { margin-top: 40px; padding: 32px; border-radius: var(--radius); background: var(--color-light); }
.contact-form__title { font-size: 24px; margin-bottom: 8px; }
.contact-form__subtitle { color: var(--color-muted); font-size: 15px; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field__label { font-size: 14px; font-weight: 600; }
.field__required { margin-left: 4px; color: var(--color-error); }
.field__input { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-white); color: var(--color-text); font: inherit; }
.field__input:focus { outline: 2px solid var(--color-primary); outline-offset: 1px; border-color: var(--color-primary); }
.field__input--textarea { min-height: 130px; resize: vertical; }
.field__input[aria-invalid="true"] { border-color: var(--color-error); }
.field__error { color: var(--color-error); font-size: 13px; }
.field__error:empty { display: none; }
.field--checkbox { grid-template-columns: auto 1fr; align-items: start; gap: 10px; font-size: 14px; }
.field--checkbox a { text-decoration: underline; }
.field--honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__status { margin: 16px 0 0; font-size: 15px; }
.contact-form__status.is-success { color: var(--color-primary-dark); }
.contact-form__status.is-error { color: var(--color-error); }

/* --- Правовые разделы --- */
.legal__line { margin: 0; color: var(--color-muted); }
.legal__line--gap { margin-top: 1.6em; }

/* --- Адаптив --- */
@media (max-width: 1100px) {
	.site-nav, .site-header__actions { display: none; }
	.site-burger { display: flex; margin-left: auto; }
	.posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.post-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.container { padding: 0 16px; }
	h1, .post-hero__title { font-size: 34px; }
	h2 { font-size: 26px; }
	.hero { padding: 48px 0; }
	.hero__inner, .site-footer__inner, .contacts__columns { grid-template-columns: 1fr; }
	.hero__image { max-width: 200px; }
	.hero__lead, .page-intro__lead, .blog-hero__subtitle, .contacts__intro { font-size: 17px; }
	.posts { grid-template-columns: 1fr; }
	.post-hero { min-height: 260px; padding: 20px; }
	.contact-form { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Китайский и арабский: системные шрифты с нужными начертаниями; у арабского без разрядки и заглавных, иначе буквы не соединяются */
html[lang^="zh"] body, html[lang^="zh"] button, html[lang^="zh"] input, html[lang^="zh"] textarea, html[lang^="zh"] h1, html[lang^="zh"] h2, html[lang^="zh"] h3 { font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", sans-serif; }
html[lang^="ar"] body, html[lang^="ar"] button, html[lang^="ar"] input, html[lang^="ar"] textarea, html[lang^="ar"] h1, html[lang^="ar"] h2, html[lang^="ar"] h3 { font-family: Inter, "Segoe UI", Tahoma, "Noto Sans Arabic", "Noto Naskh Arabic", Arial, sans-serif; }
html[lang^="ar"] *, html[lang^="zh"] * { letter-spacing: 0 !important; }
html[lang^="ar"] * { text-transform: none !important; }

/* --- Этап 2: блоки главной, тарифа, текстов и форм --- */
.hero__eyebrow { margin-bottom: 12px; color: var(--color-primary); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.hero__price { margin-top: 20px; color: var(--color-muted); font-size: 15px; }
.checks { display: grid; gap: 8px; margin: 20px 0 0; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: ''; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--color-primary-soft); }
.checks li::after { content: ''; position: absolute; left: 6px; top: calc(.3em + 4px); width: 5px; height: 9px; border: solid var(--color-primary); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.section { padding: 64px 0; }
.section--light { background: var(--color-light); }
.section--tight { padding-top: 16px; }
.section-lead { max-width: 760px; color: var(--color-muted); font-size: 18px; }
.section-more { margin: 24px 0 0; font-weight: 600; }
.cards { display: grid; gap: 24px; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { padding: 24px; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-white); }
.card p:last-child { margin-bottom: 0; }
.card__title { font-size: 20px; }
.card__label { margin-bottom: 8px; color: var(--color-primary); font-size: 14px; font-weight: 600; }
.card__result { color: var(--color-text); font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.tags li { padding: 8px 16px; border-radius: 999px; background: var(--color-white); border: 1px solid var(--color-border); font-weight: 600; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.steps__item { counter-increment: step; }
.steps__item::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%; background: var(--color-primary); color: var(--color-white); font-weight: 700; }
.steps__title { font-size: 19px; }
.prices { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; align-items: stretch; }
.price { display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-white); }
.price--main { border-color: var(--color-primary); box-shadow: var(--shadow); }
.price__name { margin: 0; font-weight: 600; color: var(--color-primary); }
.price__value { margin: 8px 0 0; font-family: var(--font-display); font-size: 40px; font-weight: 700; color: var(--color-text); }
.price__value span { font-family: var(--font-base); font-size: 16px; font-weight: 500; color: var(--color-muted); }
.price .checks { flex: 1; margin-bottom: 24px; }
.price .button { align-self: flex-start; }
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq__item { padding: 16px 20px; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-white); }
.faq__item summary { cursor: pointer; font-weight: 600; color: var(--color-text); }
.faq__item p { margin: 12px 0 0; color: var(--color-muted); }
.cta { padding: 56px 0; background: var(--color-primary); color: var(--color-white); }
.cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta__title { color: var(--color-white); }
.cta__text { margin: 0; opacity: .9; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .button--primary { background: var(--color-white); color: var(--color-primary); }
.cta .button--primary:hover { background: var(--color-primary-soft); }
.cta .button--ghost { background: transparent; color: var(--color-white); border-color: var(--color-white); }
.site-header__login { color: var(--color-muted); font-weight: 600; font-size: 15px; white-space: nowrap; }
.site-footer { margin-top: 0; }

/* Текстовые страницы (документация, API, соглашение, политика) */
.text-page { padding: 0 0 64px; }
.text-page__inner--toc { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: start; }
.text-page__toc { position: sticky; top: calc(var(--header-height) + 16px); max-height: calc(100vh - var(--header-height) - 32px); overflow: auto; padding: 16px; border: 1px solid var(--color-border); border-radius: var(--radius); font-size: 14px; }
.text-page__toc-title { margin-bottom: 8px; font-weight: 700; color: var(--color-text); }
.text-page__toc ul ul { padding-left: 14px; }
.text-page__toc li { margin: 4px 0; }
.text-page__toc a { color: var(--color-muted); }
.prose { max-width: 860px; font-size: 17px; line-height: 1.7; overflow-wrap: break-word; }
.prose h2 { margin-top: 40px; font-size: 28px; scroll-margin-top: calc(var(--header-height) + 16px); }
.prose h3 { margin-top: 28px; scroll-margin-top: calc(var(--header-height) + 16px); }
.prose ul { padding-left: 24px; list-style: disc; margin-bottom: 16px; }
.prose ol { padding-left: 24px; list-style: decimal; margin-bottom: 16px; }
.prose li { margin: 4px 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose code { padding: 1px 5px; border-radius: 4px; background: var(--color-light); font-size: .9em; overflow-wrap: anywhere; }
.prose pre { overflow-x: auto; padding: 16px; border-radius: var(--radius); background: #1e1e2a; color: #f6f7fb; font-size: 14px; line-height: 1.5; }
.prose pre code { padding: 0; background: none; color: inherit; overflow-wrap: normal; }
.prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin: 16px 0 24px; font-size: 15px; }
.prose th, .prose td { padding: 8px 12px; border: 1px solid var(--color-border); text-align: left; vertical-align: top; }
.prose th { background: var(--color-light); }

/* Формы заявки и демо */
.lead-section { padding: 0 0 64px; }
.lead-section__inner { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 40px; align-items: start; }
.lead-section .contact-form { margin-top: 0; }
.lead-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.lead-form__total { margin: 0 0 18px; font-weight: 600; color: var(--color-text); }
.lead-form__total:empty { display: none; }
.lead-section__aside { padding: 24px; border: 1px solid var(--color-border); border-radius: var(--radius); }
.lead-section__aside ul, .lead-section__aside ol { padding-left: 20px; list-style: disc; margin-bottom: 16px; }
.lead-section__aside ol { list-style: decimal; }

@media (max-width: 1100px) {
	.cards--4, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.text-page__inner--toc { grid-template-columns: 1fr; }
	.text-page__toc { position: static; max-height: none; }
}
@media (max-width: 760px) {
	.cards--3, .cards--4, .steps, .prices, .lead-section__inner, .lead-form__grid { grid-template-columns: 1fr; }
	.section { padding: 44px 0; }
	.price { padding: 24px; }
	.price__value { font-size: 32px; }
	.prose { font-size: 16px; }
}
