/* Public-page finish; this file is not loaded by home, services or system. */
.ui-page {
  --ui-tone: #a9ebcb;
  --ui-edge: #3b554c;
  --ui-panel: linear-gradient(145deg, #20302c, #141e1f 58%, #10191b);
  --ui-depth: inset 0 1px 0 #d9fff018, 0 4px 0 #081011, 0 18px 38px #0003;
  --ui-mono: ui-monospace, Consolas, monospace;
  background: var(--bg);
}
.ui-page--direct, .ui-page--yandex-business { --ui-tone: #ebc797; }
.ui-page--vk, .ui-page--vk-design { --ui-tone: #acd1f2; }
.ui-page--avito { --ui-tone: #cdb7f5; }
.ui-page :is(.section, .page-hero, .smm-hero, .system-premium-hero, .education-hero) {
  scroll-margin-top: 88px;
}
.ui-page :is(.service-detail-hero, .smm-hero, .system-premium-hero, .education-hero, .contact-hero) {
  background:
    radial-gradient(ellipse at 90% 24%, #254b3b44, transparent 56%),
    linear-gradient(115deg, #0b1214, #101b1a 66%, #0b1415);
  border-bottom: 1px solid #2d403a;
}
.ui-page :is(.service-detail-hero h1, .smm-hero-copy h1, .system-hero-copy h1, .education-hero h1) {
  font-size: clamp(39px, 4.5vw, 64px);
  line-height: 1.06;
  letter-spacing: -.045em;
  text-wrap: pretty;
}
.ui-page .breadcrumbs { color: #9dafaa; font-size: 12px; }
.ui-page .contact-company { max-width: 480px; margin-top: 30px; padding-top: 22px; border-top: 1px solid #3b554c; }
.ui-page .contact-company h2 { margin: 0 0 12px; font-size: 22px; line-height: 1.25; letter-spacing: -.03em; }
.ui-page .contact-company p { color: #b7cbc1; font-size: 14px; line-height: 1.7; }
.ui-page .contact-company dl { display: grid; gap: 12px; margin: 18px 0; }
.ui-page .contact-company dt { color: #91aa9d; font-size: 11px; }
.ui-page .contact-company dd { margin: 2px 0 0; color: #d0e4d8; font-size: 14px; }
.ui-page .contact-company > a { display: inline-flex; align-items: center; min-height: 44px; color: #b3efd0; font-size: 13px; }
.ui-page :is(.eyebrow, .section-label, .system-label-pill) { letter-spacing: .065em; }
.ui-page .section-label {
  background: transparent;
  padding: 0;
  color: #a8d9c1;
  font: 700 11px/1.5 var(--ui-mono);
  text-transform: uppercase;
}
.ui-page .section-label::before {
  display: inline-block;
  width: 17px;
  height: 1px;
  margin: 0 9px 3px 0;
  background: #86c9ac;
  content: "";
}
.ui-page :is(.section-head, .system-section-head, .smm-section-head, .case-detail-section-head) { gap: 20px 40px; }
.ui-page :is(.section-head, .system-section-head, .smm-section-head, .case-detail-section-head) h2 {
  max-width: 23ch;
  line-height: 1.1;
  letter-spacing: -.035em;
}
.ui-page :is(.btn, .case-read-btn) { min-height: 46px; border-radius: 11px; }
.ui-page .btn-primary {
  background: linear-gradient(135deg, #b9f6d5, #93e7c0);
  color: #0b261b;
  box-shadow: inset 0 1px #edfff363, 0 8px 24px #7bd6ac16;
}
.ui-page :is(a, button, summary):focus-visible { outline: 2px solid #b9f6d5; outline-offset: 4px; }
.ui-page :is(.service-price-badge, .system-price, .site-hero-price) { font-variant-numeric: tabular-nums; }

/* One set of surfaces for benefits, work, case studies and pricing. */
.ui-page :is(.service-detail-card, .service-mini-console, .service-audience-card, .service-result-card,
  .timeline-item, .vk-service-card, .direct-included-grid > article, .direct-work-grid > article,
  .system-responsibility-card, .system-process-grid > article, .vk-work-steps > article, .smm-benefit-card, .smm-result-card,
  .smm-audience-grid > article, .education-course-card, .education-process-grid > article,
  .education-audience-grid > article, .education-result-grid > article, .case-card, .case-story-card,
  .case-related-card, .real-project-card, .real-demo-card, .legal-card, .legal-section) {
  position: relative;
  min-width: 0;
  border-color: var(--ui-edge);
  background: var(--ui-panel);
  box-shadow: var(--ui-depth);
}
.ui-page :is(.service-result-card, .smm-result-card, .smm-benefit-card, .vk-service-card, .system-responsibility-card) {
  padding: clamp(20px, 2.1vw, 29px);
}
.ui-page :is(.service-result-card, .vk-service-card, .smm-benefit-card, .smm-result-card, .system-responsibility-card) > .ui-card-art {
  margin-bottom: 18px;
}
.ui-card-art {
  display: inline-grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--ui-tone) 38%, #30443d);
  border-radius: 13px;
  background: radial-gradient(ellipse at 20% 0, #b8ffda18, transparent 90%), linear-gradient(145deg, #2a4038, #142322);
  box-shadow: inset 0 1px #e6fff12b, inset 0 -2px #0004, 0 5px 12px #0004;
  color: var(--ui-tone);
}
.ui-page svg { stroke-linecap: round; stroke-linejoin: round; }
.ui-card-art svg, .ui-service-preview svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.ui-page :is(.service-result-card, .smm-result-card, .system-responsibility-card) > :is(.num, span:not(.ui-card-art):first-of-type) {
  display: inline-flex;
  width: auto;
  height: auto;
  min-width: 0;
  margin: 0 0 15px 10px;
  padding: 0;
  border: 0;
  background: transparent;
  font: 700 11px/1.4 var(--ui-mono);
  vertical-align: middle;
}
.ui-page :is(.service-result-card, .smm-result-card, .system-responsibility-card) > h3 { margin-top: 0; }
.ui-page :is(.service-result-card p, .timeline-item p, .vk-service-card p, .smm-benefit-card p, .smm-result-card p) {
  font-size: 14px;
  line-height: 1.65;
}
.ui-page :is(.timeline-day, .education-process-grid article > span, .education-result-grid article > span) {
  border: 1px solid #4b7160;
  border-radius: 10px;
  background: linear-gradient(145deg, #304e40, #1b302a);
  color: #c7efda;
  box-shadow: inset 0 1px #d7ffe522;
}
.ui-page .service-related-grid a {
  min-height: 60px;
  border-color: #3b5149;
  background: linear-gradient(135deg, #1a2a26, #121c1d);
  box-shadow: inset 0 1px #d9fff010;
}
.ui-page .faq { gap: 10px; }
.ui-page .faq details {
  border: 1px solid #344b43;
  border-radius: 14px;
  background: linear-gradient(125deg, #182522, #111a1b);
  box-shadow: inset 0 1px #d9fff00b;
}
.ui-page .faq summary { min-height: 64px; padding: 20px 22px; font-size: 15px; }
.ui-page .faq details[open] { border-color: #628b75; background: linear-gradient(125deg, #20382d, #152321); }
.ui-page .faq details > p { color: #bdcdc5; line-height: 1.75; }
.ui-page :is(.service-final-cta, .system-final-cta, .direct-final-banner, .avito-final-banner,
  .education-final-cta-card, .vk-final-banner, .case-result-card, .premium-banner) {
  position: relative;
  border-color: #506e5e;
  background: radial-gradient(ellipse at 95% 10%, #35654c44, transparent 64%), linear-gradient(135deg, #20352c, #111c1d 76%);
  box-shadow: inset 0 1px #dcfff024, 0 20px 44px #0003;
}
.ui-page :is(.service-final-cta, .system-final-cta, .direct-final-banner, .avito-final-banner, .vk-final-banner, .education-final-cta-card) h2 {
  font-size: clamp(29px, 3.2vw, 44px);
  line-height: 1.12;
}

/* Contextual hero interfaces. */
.ui-page :is(.ui-service-preview, .direct-search-card, .vk-flow-card, .avito-hero-lab, .smm-hero-panel, .education-system-ui, .site-hero-proof) {
  border: 1px solid #486456;
  border-radius: 25px;
  background: radial-gradient(ellipse at 80% 0, #37634932, transparent 68%), var(--ui-panel);
  box-shadow: inset 0 1px #d9fff024, 0 6px 0 #091212, 0 26px 55px #0004;
}
.ui-page .ui-service-preview { min-height: 0; padding: clamp(17px, 2vw, 28px); }
.ui-preview-head, .ui-preview-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 15px;
}
.ui-preview-head {
  position: relative;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #496050;
  color: #c2d3c7;
  font: 650 11px/1.45 var(--ui-mono);
}
.ui-preview-head > span { display: inline-flex; align-items: center; gap: 8px; }
.ui-preview-head > span::before { width: 5px; height: 5px; border-radius: 50%; background: var(--ui-tone); content: ""; }
.ui-preview-head small, .ui-example-label { color: #a6bbae; font-size: 10px; font-weight: 500; }
.ui-example-label { margin-inline: 7px; }
.ui-preview-foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid #3c5448; font-size: 12px; }
.ui-preview-foot b { color: #c6ecd6; font-weight: 650; }
.ui-preview-foot span { color: #a7bcb0; }
.ui-audit-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 22px; align-items: center; }
.ui-audit-lens {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #6b9780;
  border-radius: 50%;
  background: radial-gradient(circle, #335d45, #162c25 45%, #0e191a 70%);
  box-shadow: inset 0 0 0 7px #0c1617, inset 0 0 0 8px #52715f, 0 10px 22px #0005;
}
.ui-audit-lens::before { position: absolute; inset: 18%; border: 1px dashed #87af9466; border-radius: 50%; content: ""; }
.ui-audit-lens > svg { width: 42%; height: 42%; color: #bcefd1; }
.ui-audit-lens span { position: absolute; inset: 6%; border: 2px solid transparent; border-top-color: #bdeccf; border-right-color: #729a80; border-radius: 50%; transform: rotate(30deg); }
.ui-audit-stages { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ui-audit-stages li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 12px; border: 1px solid #40594c; border-radius: 10px; background: #14221f; }
.ui-audit-stages li:last-child { border-color: #7e7452; background: linear-gradient(105deg, #393b28, #202d24); }
.ui-audit-stages span { color: #8ead98; font: 600 10px var(--ui-mono); }
.ui-audit-stages b { color: #e0eee4; font-size: 13px; }
.ui-audit-stages i { color: #a6baad; font-size: 10px; font-style: normal; }
.ui-community-cover {
  position: relative;
  overflow: hidden;
  min-height: 154px;
  padding: 20px;
  border: 1px solid #4b6c67;
  border-radius: 14px;
  background: radial-gradient(ellipse at 90% 20%, #63919e45, transparent 70%), linear-gradient(125deg, #253d3b, #162a2c);
}
.ui-community-cover::after { position: absolute; width: 200px; height: 200px; right: -55px; top: -70px; border: 24px solid #c4e8ea14; border-radius: 36px; transform: rotate(-25deg); content: ""; }
.ui-community-cover > span { display: block; margin-bottom: 11px; color: #aac9c3; font: 10px var(--ui-mono); }
.ui-community-cover > b { position: relative; z-index: 1; font-size: clamp(21px, 2.1vw, 30px); line-height: 1.1; letter-spacing: -.035em; color: #dbf5ed; }
.ui-community-cover > svg { position: absolute; right: 30px; bottom: 24px; width: 62px; height: 62px; color: #a9cbd4; opacity: .7; }
.ui-community-identity { display: flex; align-items: center; gap: 13px; padding: 16px 0; }
.ui-community-avatar, .ui-map-company-icon { display: grid; width: 47px; height: 47px; flex: 0 0 auto; place-items: center; border: 1px solid #608372; border-radius: 13px; color: var(--ui-tone); background: linear-gradient(145deg, #39564b, #1b302c); box-shadow: inset 0 1px #ddfff02a, 0 4px 8px #0003; }
.ui-community-identity :is(strong, small), .ui-map-company :is(strong, small) { display: block; }
.ui-community-identity strong, .ui-map-company strong { color: #deeee4; font-size: 14px; }
.ui-community-identity small, .ui-map-company small { margin-top: 3px; color: #a3bbae; font-size: 11px; }
.ui-community-modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.ui-community-modules > span { display: grid; justify-items: start; gap: 9px; padding: 14px; border: 1px solid #425b51; border-radius: 11px; background: linear-gradient(135deg, #283c33, #152824); box-shadow: inset 0 1px #d9fff015; color: var(--ui-tone); font-size: 12px; }
.ui-map-scene { position: relative; overflow: hidden; height: 200px; margin: 0 -10px; border: 1px solid #48594a; border-radius: 14px; background: #132323; }
.ui-map-scene > svg { width: 100%; height: 100%; stroke: none; }
.ui-map-block { fill: #20392f; stroke: #47634e; stroke-width: 1; }
.ui-map-street { fill: none; stroke: #668674; stroke-width: 2; }
.ui-map-route { fill: none; stroke: #d9b982; stroke-width: 3; stroke-dasharray: 5 5; }
.ui-map-pin { position: absolute; left: 59%; top: 30%; display: grid; width: 60px; height: 60px; place-items: center; border: 1px solid #e2c891; border-radius: 18px; background: linear-gradient(145deg, #635c38, #343d2b); color: #f4ddb4; transform: rotate(-8deg); box-shadow: 0 10px 14px #0005, inset 0 1px #fff3; }
.ui-map-pin svg { width: 38px; height: 38px; }
.ui-map-company { display: flex; gap: 13px; align-items: center; padding: 19px 0 16px; }
.ui-map-actions { display: flex; gap: 9px; }
.ui-map-actions > span { display: flex; flex: 1; gap: 8px; align-items: center; padding: 10px; border: 1px solid #53644e; border-radius: 10px; background: #22352a; color: #d6dfc5; font-size: 11px; }
.ui-map-actions svg { width: 20px; height: 20px; flex-shrink: 0; }
.ui-page .ui-crm-preview { padding: 23px; }
.ui-crm-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ui-crm-column > h3 { display: flex; align-items: center; gap: 6px; margin: 0 0 12px; font-size: 11px; font-weight: 600; color: #adc3b6; }
.ui-crm-column > h3 i { width: 5px; height: 5px; border-radius: 50%; background: #7eb19a; }
.ui-crm-column > div { min-height: 211px; padding: 14px 11px; border: 1px solid #4c6958; border-radius: 12px; background: linear-gradient(145deg, #2c4235, #182b26); box-shadow: inset 0 1px #d9fff019, 0 5px #091511; }
.ui-crm-column:nth-child(2) > div { background: linear-gradient(145deg, #345444, #1e352b); border-color: #648c70; }
.ui-crm-column .ui-card-art { margin-bottom: 17px; width: 37px; height: 37px; border-radius: 11px; }
.ui-crm-column :is(b, span:not(.ui-card-art)) { display: block; }
.ui-crm-column b { color: #e1f2e7; font-size: 13px; line-height: 1.3; }
.ui-crm-column span:not(.ui-card-art) { margin-top: 7px; color: #abc1b2; font-size: 11px; line-height: 1.5; }
.ui-skeleton { display: block; width: 90%; height: 3px; margin-top: 15px; border-radius: 4px; background: #95bd9c38; }
.ui-skeleton + .ui-skeleton { width: 60%; margin-top: 6px; }
.ui-crm-modules { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.ui-crm-modules span { padding: 5px 9px; border: 1px solid #49634f; border-radius: 7px; color: #b7cdbb; background: #12251d; font-size: 11px; }
.ui-page .system-responsibility-card > span:not(.ui-card-art) { width: auto; height: auto; font-size: 10px; }

/* Existing live hero scenes retain their controls. */
.ui-page :is(.direct-ad-card, .vk-flow-ad, .vk-flow-message, .direct-lead-card, .avito-chat-card) {
  border-color: #54715f;
  background: linear-gradient(140deg, #2a4034, #172b25);
  box-shadow: inset 0 1px #d9fff01c, 0 5px 14px #0003;
}
.ui-page .direct-search-query { border-color: #567160; background: #0d1c17; padding-left: 42px; position: relative; }
.ui-page .direct-search-query::before { position: absolute; left: 16px; top: 31px; width: 12px; height: 12px; border: 1.5px solid #d4bc90; border-radius: 50%; content: ""; }
.ui-page .direct-search-query::after { position: absolute; left: 28px; top: 42px; width: 6px; height: 1px; background: #d4bc90; transform: rotate(45deg); content: ""; }
.ui-page .direct-flow-line span { border-color: #4d6352; background: #1d3026; color: #c2dfcb; }
.ui-page .vk-flow-tabs button, .ui-page .avito-hero-lab__tabs button { min-height: 44px; border-radius: 9px; }
.ui-page :is(.vk-flow-tabs, .avito-hero-lab__tabs) .is-active { background: #2b4c3c; color: #dbf3e3; border-color: #618d71; box-shadow: inset 0 1px #d9fff020; }
.ui-page .vk-flow-center { border-color: #67967f; background: linear-gradient(145deg, #395447, #1a312b); box-shadow: 0 0 0 9px #8ec0a50b, 0 12px 24px #0005; }
.ui-page .avito-result-row--own { border-color: #668378; background: linear-gradient(135deg, #28463a, #1b2d29); box-shadow: 0 5px 16px #0003; }
.ui-page .avito-hero-lab__glow { opacity: .35; }
.ui-page .avito-listing-card { border-color: #5a7662; box-shadow: var(--ui-depth); }
.ui-page .smm-hero-grid { gap: clamp(25px, 4vw, 56px); }
.ui-page .smm-panel-top { margin-bottom: 28px; }
.ui-page .smm-awareness-flow > article { border-color: #567563; background: linear-gradient(140deg, #294236, #182c25); box-shadow: inset 0 1px #d9fff023, 0 5px #0b1913, 0 12px 22px #0003; }
.ui-page .smm-flow-icon { background: linear-gradient(145deg, #365742, #1a3327); border-color: #648a70; box-shadow: inset 0 1px #e5fff029; }
.ui-page .smm-awareness-flow > i { color: #9bcbae; }
.ui-page .smm-hero-panel::after { opacity: .25; }
.ui-page :is(.smm-system-card, .smm-relief-card) { border-color: #4a6858; box-shadow: var(--ui-depth); background: var(--ui-panel); }
.ui-page :is(.smm-tariff-card, .avito-tariff-card) { border-color: #435e50; background: var(--ui-panel); box-shadow: var(--ui-depth); }
.ui-page :is(.smm-tariff-card--featured, .avito-tariff-card--featured) { border-color: #84c49d; background: radial-gradient(ellipse at 15% 0, #80ca9d29, transparent 70%), var(--ui-panel); box-shadow: inset 0 1px #cfffdf38, 0 5px #0b1811, 0 22px 42px #0004; }
.ui-page :is(.smm-tariff-summary, .case-metrics) { padding: 5px; gap: 0; border: 1px solid #3f5b4b; border-radius: 13px; background: #101e18; }
.ui-page .smm-tariff-summary > span { border: 0; border-radius: 9px; background: transparent; }
.ui-page .smm-tariff-summary > span:first-child { background: #223c2c; }
.ui-page .smm-tariff-price strong { font-variant-numeric: tabular-nums; letter-spacing: -.045em; }
.ui-page .smm-tariff-list li { border-color: #3d5448; }
.ui-page .site-hero-proof { padding: 12px; border-radius: 23px; }
.ui-page .site-hero-proof figcaption { display: flex; align-items: center; gap: 8px; }
.ui-page .site-hero-proof figcaption::before { width: 6px; height: 6px; border-radius: 50%; background: #a6deba; content: ""; }
.ui-page :is(.real-project-card, .real-demo-card) { border-radius: 20px; }
.ui-page .real-project-copy .real-project-label { background: #264533; border-color: #557e61; }

/* Evidence: consistent metric trays and visual hierarchy. */
.ui-page .case-card { min-height: 0; padding: clamp(20px, 2.1vw, 29px); border-radius: 20px; }
.ui-page .case-card :is(h2, h3) { line-height: 1.2; letter-spacing: -.03em; }
.ui-page .case-card p { color: #b7c8bf; font-size: 14px; line-height: 1.65; }
.ui-page .case-metrics { margin-top: auto; }
.ui-page .case-metric { min-width: 0; padding: 12px 9px; border: 0; border-radius: 8px; background: transparent; }
.ui-page .case-metric:first-child { background: linear-gradient(140deg, #2c4837, #1e3228); }
.ui-page .case-metric b { color: #d9f1e1; font-size: clamp(19px, 1.8vw, 26px); letter-spacing: -.04em; }
.ui-page .case-metric--long b { font-size: clamp(17px, 1.6vw, 23px); }
.ui-page .case-read-btn { margin-top: 18px; border-color: #4b6958; background: #1b3026; }
.ui-page .cases-library-section--catalog .cases-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ui-page .case-catalog-tools { padding: 9px; border-color: #3d574a; box-shadow: inset 0 1px #d9fff013; background: #101d18; }
.ui-page .case-filter { border-radius: 9px; background: transparent; }
.ui-page .case-filter.is-active { color: #10241a; background: #b2edc9; }
.ui-page .case-detail-copy { background: var(--ui-panel); border-color: #4a6756; box-shadow: var(--ui-depth); }
.ui-page .case-detail-copy h1 { font-size: clamp(34px, 3.5vw, 50px); }
.ui-page .case-detail-metric { background: linear-gradient(145deg, #294133, #192b23); border-color: #53745c; }
.ui-page .case-detail-metric:first-child { background: linear-gradient(135deg, #35553f, #223d2b); }
.ui-page .case-detail-visual { box-shadow: var(--ui-depth); border-color: #55775f; }
.ui-page .case-detail-visual-caption { background: #11251ce8; border-color: #6b8f72; }
.ui-page .case-detail-flow > span { background: var(--ui-panel); border-color: #52725b; box-shadow: inset 0 1px #d9fff019, 0 4px #09150e; }
.ui-page .case-story-card > span { display: inline-flex; padding: 5px 9px; border: 1px solid #54745a; border-radius: 7px; background: #25432e; font-size: 10px; }

/* Learning: a connected path, open modules, clear outputs. */
.ui-page .education-system-ui { padding: 28px; }
.ui-page .education-system-flow { display: grid; grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr) 16px minmax(0, 1fr) 16px minmax(0, 1fr); align-items: center; gap: 6px; }
.ui-page .education-system-flow > div { grid-column: span 1; min-width: 0; min-height: 145px; padding: 14px 9px; border-color: #54745c; border-radius: 13px; background: linear-gradient(140deg, #2c4835, #182c22); box-shadow: inset 0 1px #d9fff021, 0 5px #0b1911; }
.ui-page .education-system-flow .ui-card-art { width: 35px; height: 35px; margin: 12px 0 9px; border-radius: 10px; }
.ui-page .education-system-flow svg { width: 22px; height: 22px; }
.ui-page .education-system-flow b { font-size: 12px; }
.ui-page .education-system-flow > i { justify-self: center; color: #93c9a8; }
.ui-page .education-ui-caption { display: block; margin-bottom: 22px; font: 650 11px var(--ui-mono); color: #aacdb6; }
.ui-page .education-system-ui > p { margin-top: 23px; padding-top: 16px; border-top: 1px solid #405b48; font-size: 12px; }
.ui-page :is(.education-process-grid, .education-result-grid) article > span { display: inline-grid; width: 36px; height: 36px; place-items: center; margin-bottom: 22px; font: 700 11px var(--ui-mono); }
.ui-page .education-course-icon { border: 1px solid #5f8068; background: linear-gradient(140deg, #3b5b43, #1d3127); box-shadow: inset 0 1px #d9fff021, 0 4px 8px #0003; }
.ui-page .course-program { border: 1px solid #3f5d48; border-radius: 13px; background: #102016; }
.ui-page .course-program > summary { min-height: 50px; padding: 13px 16px; }
.ui-page .course-mini-program { padding: 4px 16px 16px; }
.ui-page .course-module > span { color: #a4cbb0; background: #243c2a; }
.ui-page .education-course-result { padding: 16px; border: 1px solid #49694f; border-radius: 12px; background: #1e3323; }
.ui-page .education-course-card > .btn { margin-top: auto; }
.ui-page .education-ai-bonus { border-color: #597e60; background: radial-gradient(ellipse at 0 0, #46644444, transparent 70%), var(--ui-panel); box-shadow: var(--ui-depth); }

/* Forms and documents remain easy to read and use. */
.ui-page .contact-layout { gap: clamp(28px, 5.5vw, 78px); }
.ui-page .contact-form { border-color: #55765d; background: var(--ui-panel); box-shadow: var(--ui-depth); }
.ui-page .form-purpose-switch { padding: 5px; border: 1px solid #45604c; border-radius: 13px; background: #0d1b13; }
.ui-page .form-purpose-option span { border-radius: 9px; font-size: 12px; }
.ui-page .form-purpose-option input:checked + span { border-color: #88ba94; background: #304e36; color: #e0f6e3; box-shadow: inset 0 1px #d9fff027; }
.ui-page .contact-form :is(input:not([type=checkbox]):not([type=radio]), textarea, .custom-select-trigger) { background: #0f1d17; border-color: #4b6653; border-radius: 11px; }
.ui-page .custom-select-trigger { min-height: 48px; }
.ui-page .custom-select-menu { border-color: #66866b; box-shadow: 0 14px 30px #0008; background: #182b1e; }
.ui-page .contact-direct { padding: 18px 20px; border: 1px solid #42604a; border-radius: 15px; background: linear-gradient(125deg, #1f3425, #111e18); box-shadow: inset 0 1px #d9fff00e; }
.ui-page .legal-page > .container { max-width: 940px; }
.ui-page .legal-hero { padding: 0 0 30px; border-color: #62866a; }
.ui-page .legal-hero h1 { max-width: 22ch; }
.ui-page .legal-content { gap: 15px; }
.ui-page .legal-section { border-left: 3px solid #6b9471; }
.ui-page .legal-section h2 { color: #d3ebd8; font-size: clamp(21px, 2.1vw, 26px); }
.ui-page .legal-section :is(p, li) { color: #becec1; }
.ui-page .legal-meta { border-color: #4c6b53; background: #1c3221; }
.ui-page .error-hero > .container { background: radial-gradient(ellipse at 100% 0, #376b4833, transparent 68%), var(--ui-panel); box-shadow: var(--ui-depth); }
.ui-page .error-code { color: #b6f3cb0c; -webkit-text-stroke-color: #96cba477; text-shadow: 0 8px 0 #07110b; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .ui-page :is(.case-card, .real-demo-card, .case-related-card, .education-course-card, .service-related-grid a) { transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
  .ui-page :is(.case-card, .real-demo-card, .case-related-card, .education-course-card, .service-related-grid a):is(:hover, :focus-within) { transform: translateY(-3px); border-color: #82a98a; box-shadow: inset 0 1px #d9fff02a, 0 17px 30px #0004; }
  .ui-page .ui-audit-lens > span { animation: ui-diagnostic-scan 18s linear infinite; }
}
@keyframes ui-diagnostic-scan { to { transform: rotate(390deg); } }
@media (max-width: 1120px) {
  .ui-page .smm-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .ui-page .smm-awareness-flow { grid-template-columns: 1fr; gap: 8px; }
  .ui-page .smm-awareness-flow > article { min-height: 65px; grid-template-columns: 36px 20px minmax(0, 1fr); align-items: center; align-content: center; gap: 10px; padding: 11px 13px; }
  .ui-page .smm-awareness-flow :is(.smm-flow-icon, small) { margin: 0; }
  .ui-page .smm-awareness-flow > i { display: none; }
  .ui-page .smm-awareness-flow .smm-flow-icon { width: 36px; height: 36px; }
  .ui-page .education-system-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ui-page .education-system-flow > div { min-height: 105px; }
  .ui-page .education-system-flow > i { display: none; }
  .ui-audit-layout { gap: 15px; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); }
  .ui-audit-stages li { padding: 10px; gap: 5px; }
  .ui-audit-stages i { display: none; }
  .ui-audit-stages li { grid-template-columns: 20px minmax(0, 1fr); }
}
@media (max-width: 980px) {
  .ui-page .ui-service-preview { grid-row: auto; grid-column: 1 / -1; }
  .ui-page .ui-crm-preview { margin-top: 0; }
  .ui-page .ui-audit-layout { grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); }
  .ui-page .ui-audit-lens { width: min(100%, 220px); margin: auto; }
  .ui-page .ui-audit-stages li { grid-template-columns: 24px minmax(0, 1fr) auto; }
  .ui-page .ui-audit-stages i { display: inline; }
}
@media (max-width: 700px) {
  .ui-page .cases-library-section--catalog .cases-grid { grid-template-columns: minmax(0, 1fr); }
  .ui-page :is(.service-detail-hero, .smm-hero, .system-premium-hero, .education-hero) { padding-block: 26px 38px; }
  .ui-page :is(.service-detail-hero h1, .smm-hero-copy h1, .system-hero-copy h1, .education-hero h1) { font-size: clamp(34px, 8.5vw, 45px); line-height: 1.08; }
  .ui-page :is(.section-head, .system-section-head, .smm-section-head) h2 { max-width: none; }
  .ui-page .smm-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 27px; }
  .ui-page :is(.service-result-card, .smm-benefit-card, .smm-result-card, .timeline-item, .vk-service-card, .education-course-card) { min-height: 0; }
  .ui-page .ui-service-preview { padding: 17px; border-radius: 19px; }
  .ui-preview-head { gap: 6px 12px; margin-bottom: 17px; padding-bottom: 13px; font-size: 10px; }
  .ui-audit-layout { gap: 13px; }
  .ui-audit-stages li { grid-template-columns: 20px minmax(0, 1fr); padding: 9px; }
  .ui-page .ui-audit-stages i { display: none; }
  .ui-audit-stages b { font-size: 12px; }
  .ui-preview-foot { font-size: 11px; }
  .ui-community-cover { min-height: 145px; padding: 17px; }
  .ui-community-cover > svg { width: 45px; height: 45px; right: 20px; bottom: 20px; opacity: .45; }
  .ui-community-identity strong { font-size: 12px; }
  .ui-community-modules > span { padding: 12px; }
  .ui-map-scene { margin-inline: 0; height: 170px; }
  .ui-map-company { gap: 10px; }
  .ui-map-company small { font-size: 10px; }
  .ui-map-actions { flex-wrap: wrap; }
  .ui-map-actions > span { flex: 1 1 100px; }
  .ui-crm-board { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .ui-crm-column > h3 { margin-bottom: 7px; }
  .ui-crm-column > div { display: grid; grid-template-columns: 37px minmax(0, 1fr); align-items: center; column-gap: 12px; min-height: 93px; padding: 13px; }
  .ui-crm-column .ui-card-art { grid-row: 1 / 3; margin: 0; }
  .ui-crm-column span:not(.ui-card-art) { margin-top: 3px; }
  .ui-crm-column .ui-skeleton { display: none; }
  .ui-crm-modules { margin-top: 18px; }
  .ui-page :is(.direct-search-card, .vk-flow-card, .smm-hero-panel, .education-system-ui) { padding: 18px; border-radius: 19px; }
  .ui-page .direct-search-card { min-height: 0; }
  .ui-page .smm-tariff-price strong { font-size: 34px; }
  .ui-page .smm-panel-top { margin-bottom: 20px; gap: 7px; }
  .ui-page .smm-panel-top i { font-size: 8px; }
  .ui-page .education-system-flow > div { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-content: center; column-gap: 10px; min-height: 90px; padding: 12px; text-align: left; }
  .ui-page .education-system-flow small { grid-column: 2; }
  .ui-page .education-system-flow .ui-card-art { grid-column: 1; grid-row: 1 / 3; margin: 0; }
  .ui-page .education-system-flow b { grid-column: 2; }
  .ui-page .case-detail-copy h1 { font-size: clamp(32px, 8.2vw, 43px); }
  .ui-page .contact-form { padding: 20px 16px; }
  .ui-page .form-purpose-switch { gap: 4px; padding: 4px; }
  .ui-page .form-purpose-option span { padding-inline: 6px; font-size: 11px; }
  .ui-page .legal-page > .container { max-width: none; }
}
@media (max-width: 360px) {
  .ui-page .education-system-flow { grid-template-columns: minmax(0, 1fr); }
  .ui-page .smm-panel-top { flex-wrap: wrap; }
  .ui-audit-layout { grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); }
  .ui-community-cover > b { font-size: 20px; }
  .ui-community-cover > svg { opacity: .22; }
  .ui-community-modules > span { padding: 10px; }
  .ui-page .case-metric { padding: 10px 6px; }
}

.ui-page :is(.direct-included-grid, .direct-work-grid, .vk-work-steps) article::before,
.ui-page .vk-service-card::before { display: none; }
.ui-page :is(.direct-included-grid, .direct-work-grid, .vk-work-steps) .ui-card-art { margin-bottom: 20px; }

.ui-page .case-detail-byline { margin: 12px 0; color: #a4bcb0; font-size: 12px; line-height: 1.65; }
.ui-page .case-detail-byline a { color: #bbdfc9; text-decoration: underline; text-underline-offset: 3px; }

.ui-page .case-methodology-section { padding-block: 10px 44px; }
.ui-page .case-methodology { padding-top: 30px; border-top: 1px solid #3b554c; }
.ui-page .case-methodology h2 { max-width: 25ch; margin: 0 0 16px; font-size: clamp(29px, 3.2vw, 43px); line-height: 1.12; letter-spacing: -.035em; }
.ui-page .case-methodology > p { max-width: 830px; margin-bottom: 26px; }
.ui-page .case-methodology .faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; align-items: start; }
.ui-page .case-methodology .faq a, .ui-page .case-method-link a { color: #b9e6cb; text-decoration: underline; text-underline-offset: 3px; }
.ui-page .case-method-link { margin: 16px 0 0; font-size: 13px; }
.ui-page .case-method-link a { display: inline-flex; align-items: center; min-height: 44px; }
.ui-page .faq p a { color: #b9e6cb; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 620px) { .ui-page .case-methodology .faq { grid-template-columns: 1fr; } }

.ui-page .contact-company > summary { display: flex; align-items: center; gap: 16px; min-height: 44px; cursor: pointer; list-style: none; }
.ui-page .contact-company > summary::-webkit-details-marker { display: none; }
.ui-page .contact-company > summary h2 { margin: 0; font-size: 20px; }
.ui-page .contact-company > summary::after { content: "+"; margin-left: auto; color: #b4e7ce; font-size: 22px; }
.ui-page .contact-company[open] > summary { margin-bottom: 16px; }
.ui-page .contact-company[open] > summary::after { content: "−"; }
