/* The live /yandex_for_shops/ visual language, applied without changing page content.
   Load after site.css. All rules are isolated by the explicit body theme. */
body[data-theme="yandex"] {
  --ink: #0f1827;
  --ink-soft: #1c2738;
  --yellow: #ffd400;
  --muted: #526179;
  --line: #dce3ec;
  --paper: #f4f6f9;
  --white: #fff;
  --radius: 22px;
  --site-width: 1180px;
  color: var(--ink);
  background: #fff;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
body[data-theme="yandex"] ::selection { color: #0f1827; background: #ffd400; }
body[data-theme="yandex"] :focus-visible { outline-color: #9b7800; }
body[data-theme="yandex"] :is(.hero, .section-dark, .shared-work, .site-footer) :focus-visible { outline-color: #ffd400; }
body[data-theme="yandex"] .container { width: min(1180px, calc(100% - 40px)); }
body[data-theme="yandex"] .site-header { border-color: #e6ebf1; color: #0f1827; background: #fff; box-shadow: none; }
body[data-theme="yandex"] .brand { font-weight: 800; color: #0f1827; }
body[data-theme="yandex"] .brand .accent { color: #0f1827; }
body[data-theme="yandex"] .brand .accent::before { content: ""; display: inline-block; width: 3px; height: .95em; margin: 0 8px; background: #ffd400; vertical-align: -.08em; }
body[data-theme="yandex"] .site-nav :is(a, summary) { color: #1c2738; font-weight: 650; }
body[data-theme="yandex"] .catalog-project-link .ui-icon { width: 15px; height: 15px; }
body[data-theme="yandex"] .site-nav details > ul { border-color: #dce3ec; background: #fff; box-shadow: 0 18px 42px #0f18271c; }
body[data-theme="yandex"] .site-nav a[aria-current="page"] { color: #806700; }
body[data-theme="yandex"] .header-phone { color: #0f1827; font-weight: 800; text-decoration-color: #d8b400; }
body[data-theme="yandex"] .menu-toggle { border-color: #dce3ec; color: #0f1827; background: #fff; }
body[data-theme="yandex"] .menu-toggle[aria-expanded="true"] { border-color: #e1bf1c; background: #fff7ce; }
body[data-theme="yandex"] .section { padding-block: 96px; }
body[data-theme="yandex"] .section-light { color: #0f1827; background: #f4f6f9; }
body[data-theme="yandex"] .section-dark { color: #fff; background: #0f1827; }
body[data-theme="yandex"] .section-heading { color: inherit; font-size: clamp(36px, 4.2vw, 60px); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; }
body[data-theme="yandex"] .copy { color: inherit; font-size: 17px; line-height: 1.65; }
body[data-theme="yandex"] .copy :is(h1, h2, h3, h4) { color: inherit; font-weight: 800; letter-spacing: -.025em; }
body[data-theme="yandex"] .copy h2 { font-size: clamp(30px, 3.6vw, 48px); }
body[data-theme="yandex"] .copy h3 { font-size: clamp(23px, 2.4vw, 30px); }
body[data-theme="yandex"] .copy strong { color: inherit; font-weight: 750; }
body[data-theme="yandex"] .copy a:not(.button) { color: inherit; text-decoration-color: #b49300; }
body[data-theme="yandex"] .copy li::marker { color: #806700; }
body[data-theme="yandex"] .copy blockquote { border-color: #ffd400; color: #354459; background: #fffbea; }
body[data-theme="yandex"] .lead { color: var(--muted); font-size: 20px; line-height: 1.55; }
body[data-theme="yandex"] :is(.accent, .eyebrow) { color: #806700; }
body[data-theme="yandex"] .eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; }
body[data-theme="yandex"] .hero {
  padding-block: 78px 64px;
  color: #fff;
  background-color: #0f1827;
  background-image: url('/assets/icons/floral-outline-v11.svg'), url('/assets/icons/leaf-outline-v11.svg');
  background-repeat: no-repeat;
  background-position: right -30px top 22px, left -58px bottom -28px;
  background-size: 270px 390px, 240px 330px;
}
body[data-theme="yandex"] .hero::before { display: none; }
body[data-theme="yandex"] .hero .section-heading,
body[data-theme="yandex"] .hero .copy h1 { max-width: 22ch; color: #fff; font-size: clamp(48px, 6.3vw, 92px); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; }
body[data-theme="yandex"] :is(.hero, .section-dark) :is(.accent, .eyebrow) { color: #ffd400; }
body[data-theme="yandex"] :is(.hero, .section-dark) .lead { color: #c7d0de; }
body[data-theme="yandex"] :is(.hero, .section-dark) .copy { color: #c7d0de; }
body[data-theme="yandex"] :is(.hero, .section-dark) .copy :is(h1, h2, h3, strong) { color: #fff; }
body[data-theme="yandex"] :is(.hero, .section-dark) .copy li::marker { color: #ffd400; }
body[data-theme="yandex"] .section-dark .copy blockquote { color: #c7d0de; background: #1c2738; }
body[data-theme="yandex"] .section-topline > :is(p, .copy) { color: #64748b; }
body[data-theme="yandex"] .section-dark .section-topline > :is(p, .copy) { color: #b9c4d4; }

/* Clear yellow actions and white secondary actions reproduce the reference. */
body[data-theme="yandex"] .button,
body[data-theme="yandex"] .header-cta { min-height: 58px; border: 1px solid #ffd400; border-radius: 14px; color: #0a101c; background: #ffd400; font-size: 16px; font-weight: 800; box-shadow: none; }
body[data-theme="yandex"] .header-cta { min-height: 44px; padding: 12px 20px; border-radius: 11px; font-size: 14px; }
body[data-theme="yandex"] .button-secondary { border-color: #c6d0dd; color: #0f1827; background: transparent; }
body[data-theme="yandex"] :is(.hero, .section-dark) .button-secondary { border-color: #ffffff38; color: #fff; background: transparent; }
body[data-theme="yandex"] .skip-link { color: #0f1827; background: #ffd400; }
body[data-theme="yandex"] .card { border: 1px solid #dce3ec; border-radius: 22px; color: #0f1827; background: #fff; box-shadow: none; }
body[data-theme="yandex"] .card .copy { color: #455469; }
body[data-theme="yandex"] .card .copy :is(h2, h3, strong),
body[data-theme="yandex"] .card h3.copy { color: #0f1827; font-weight: 800; }
body[data-theme="yandex"] .section-dark .card { border-color: #ffffff26; color: #fff; background: #1a2638; }
body[data-theme="yandex"] .section-dark .card .copy { color: #b9c4d4; }
body[data-theme="yandex"] .section-dark .card .copy :is(h2, h3, strong),
body[data-theme="yandex"] .section-dark .card h3.copy { color: #fff; }
body[data-theme="yandex"] .media { border-color: #dce3ec; border-radius: 22px; background: #f4f6f9; }
body[data-theme="yandex"] .media figcaption { color: #64748b; background: #fff; }
body[data-theme="yandex"] .table-wrap { border-color: #dce3ec; background: #fff; box-shadow: none; }
body[data-theme="yandex"] .table-wrap table { color: #354459; }
body[data-theme="yandex"] .table-wrap th { color: #526179; background: #f4f6f9; }
body[data-theme="yandex"] .table-wrap :is(th, td) { border-color: #dce3ec; }
body[data-theme="yandex"] .section-dark .table-wrap { border-color: #ffffff26; }
body[data-theme="yandex"] .section-dark .table-wrap :is(th, td) { border-color: #dce3ec; }

/* Keep the current home composition while making its surfaces match the reference. */
body[data-theme="yandex"].page-home .hero { padding-block: 78px 64px; }
body[data-theme="yandex"].page-home .home-hero-layout .section-heading { max-width: 20ch; font-size: clamp(42px, 4.8vw, 60px); font-weight: 800; line-height: 1.06; }
body[data-theme="yandex"].page-home .hero-intro-flow .lead { color: #c7d0de; font-size: 18px; }
body[data-theme="yandex"].page-home .hero-intro-flow > .col:last-child .lead { color: #ffd400; }
body[data-theme="yandex"] .hero-visual { border: 1px solid #ffffff24; border-radius: 26px; background: #1c2738; box-shadow: 0 28px 70px #0003; }
body[data-theme="yandex"] .hero-visual > figcaption { color: #fff; background: linear-gradient(transparent, #0f1827db); }
body[data-theme="yandex"] .hero-visual-col .hero-proof { border-color: #ffffff2e; }
body[data-theme="yandex"] .hero-visual-col .metric { background: none; }
body[data-theme="yandex"] .hero-visual-col .metric + .metric { border-color: #ffffff2e; }
body[data-theme="yandex"] .hero-visual-col .metric .metric-value { color: #fff; font-weight: 850; }
body[data-theme="yandex"] .hero-visual-col .metric:first-child .metric-value { color: #ffd400; }
body[data-theme="yandex"] .hero-visual-col .metric-label { color: #9dabc0; }
body[data-theme="yandex"].page-home #services { background: #f4f6f9; }
body[data-theme="yandex"] .service-card { padding: 34px; border: 1px solid #dce3ec; border-radius: 22px; background: #fff; box-shadow: none; }
body[data-theme="yandex"] .service-card h3 { color: #0f1827; font-size: 25px; font-weight: 800; line-height: 1.2; }
body[data-theme="yandex"] .service-card p { color: #64748b; font-size: 16px; line-height: 1.6; }
body[data-theme="yandex"] .service-card .service-icon { width: 54px; height: 54px; border: 1px solid #ecd44d; border-radius: 15px; color: #806700; background: #fffbea; font-size: 14px; font-weight: 850; }
body[data-theme="yandex"] .service-card > a:not(.button),
body[data-theme="yandex"] .service-card .service-price { color: #806700; font-weight: 800; }
body[data-theme="yandex"] .service-card--featured { color: #fff; border-color: #0f1827; background: #0f1827; }
body[data-theme="yandex"] .service-card--featured h3 { color: #fff; }
body[data-theme="yandex"] .service-card--featured p { color: #c7d0de; }
body[data-theme="yandex"] .service-card--featured > a:not(.button) { color: #ffd400; }
body[data-theme="yandex"].page-home section[id="630303700"] { color: #0f1827; background: #fff; }
body[data-theme="yandex"].page-home section[id="630303700"] .lead { color: #64748b; }
body[data-theme="yandex"].page-home section[id="630303700"] .table-wrap { border-color: #dce3ec; box-shadow: none; }
body[data-theme="yandex"].page-home section[id="630303700"] .table-wrap th { background: #f4f6f9; }
body[data-theme="yandex"].page-home section[id="630303700"] .table-wrap tr:last-child > * { color: #6d5900; background: #fffbea; font-weight: 800; }
body[data-theme="yandex"] .home-cases .case-card .flow > .copy:last-child a { color: #806700; font-weight: 750; }
body[data-theme="yandex"] .home-cases .case-card-featured h3.copy { font-weight: 800; }
body[data-theme="yandex"] .case-card-media { background: #f4f6f9; }
body[data-theme="yandex"] .case-metrics .metric-value { color: #806700; }
body[data-theme="yandex"] .case-metrics .metric-label { color: #64748b; }

/* The complete blog keeps all its cards and existing priority order. */
body[data-theme="yandex"] .blog-card { border: 1px solid #dce3ec; border-radius: 22px; color: #0f1827; background: #fff; box-shadow: none; }
body[data-theme="yandex"] .blog-card-body :is(h2, h3) { color: #0f1827; font-weight: 800; }
body[data-theme="yandex"] .blog-card-body p { color: #64748b; }
body[data-theme="yandex"] .blog-card-body > a.blog-card-link { color: #806700; font-weight: 750; }
body[data-theme="yandex"] .blog-card-type { color: #806700; background: #fff6bd; }
body[data-theme="yandex"] .blog-card-media { background: #e8edf4; }
body[data-theme="yandex"] .pinned-grid .blog-card-featured:not(:has(.blog-card-media)) { background: #fffbea; }
body[data-theme="yandex"] .blog-tools label { color: #64748b; }
body[data-theme="yandex"] .section-dark .blog-tools label { color: #b9c4d4; }
body[data-theme="yandex"] .blog-tools input[data-blog-search] { border-color: #c6d0dd; color: #0f1827; background: #fff; }
body[data-theme="yandex"] .blog-tools button[data-filter] { border-color: #c6d0dd; color: #0f1827; background: #fff; }
body[data-theme="yandex"] .blog-tools button[data-filter][aria-pressed="true"] { border-color: #ffd400; color: #0f1827; background: #ffd400; font-weight: 800; }
body[data-theme="yandex"] #blog-empty { color: #0f1827; border-color: #dce3ec; background: #fff; }

/* Contact actions in headers, heroes, shared sections and the mobile bar. */
body[data-theme="yandex"] .contact-messengers { border-color: #1c2738; color: #fff; background: #0f1827; box-shadow: none; }
body[data-theme="yandex"] .contact-messengers .section-heading { color: #fff; font-weight: 800; }
body[data-theme="yandex"] .contact-messengers .copy { color: #b9c4d4; }
body[data-theme="yandex"] .hero-contact > p { color: #c7d0de; font-weight: 700; }
body[data-theme="yandex"] .messenger-link { border-color: #dce3ec; color: #0f1827; background: #fff; font-weight: 800; box-shadow: none; }
body[data-theme="yandex"] .hero-messengers .messenger-link,
body[data-theme="yandex"] .contact-messengers .messenger-link { border-color: #ffffff38; color: #fff; background: #ffffff0a; }
body[data-theme="yandex"] .messenger-link.telegram,
body[data-theme="yandex"] .hero-messengers .messenger-link.telegram,
body[data-theme="yandex"] .contact-messengers .messenger-link.telegram { border-color: #ffd400; color: #0a101c; background: #ffd400; }
body[data-theme="yandex"] .messenger-link.telegram svg { color: #0a101c; }
body[data-theme="yandex"] .messenger-bar { border-color: #dce3ec; background: #fff; box-shadow: 0 -4px 24px #0f18270c; }
body[data-theme="yandex"] .messenger-bar > a { border-color: #dce3ec; color: #0f1827; background: #fff; }
body[data-theme="yandex"] .messenger-bar > a.telegram { border-color: #ffd400; color: #0f1827; background: #ffd400; }
body[data-theme="yandex"] .form-panel { border-color: #dce3ec; color: #0f1827; background: #fff; box-shadow: 0 16px 42px #0f182708; }
body[data-theme="yandex"] .form-field label { color: inherit; font-weight: 750; }
body[data-theme="yandex"] .form-field :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { color: #0f1827; border-color: #8594a8; background: #fff; }
body[data-theme="yandex"] .form-field :is(input, select, textarea):focus { border-color: #a88a00; outline-color: #ffd40080; }
body[data-theme="yandex"] .form-policy { color: #64748b; }
body[data-theme="yandex"] .section-dark .form-policy { color: #b9c4d4; }
body[data-theme="yandex"] .section-dark :is(.form-panel, .shared-form-card) .form-policy { color: #64748b; }
body[data-theme="yandex"] .form-policy input[type="checkbox"] { accent-color: #806700; }
body[data-theme="yandex"] .page-toc { border-color: #dce3ec; background: #f4f6f9; }
body[data-theme="yandex"] .page-toc a { color: #354459; border-color: #dce3ec; background: #fff; }
body[data-theme="yandex"] .page-toc a::before { color: #806700; }
body[data-theme="yandex"] .cookie-banner { border-color: #c6d0dd; color: #354459; background: #fff; box-shadow: 0 18px 48px #0f182724; }
body[data-theme="yandex"] .cookie-banner a { color: #806700; }
body[data-theme="yandex"] .cookie-actions > button { border-color: #bcc7d5; color: #0f1827; background: #fff; }
body[data-theme="yandex"] .cookie-actions > .button { border-color: #ffd400; color: #0f1827; background: #ffd400; }
body[data-theme="yandex"] .cookie-actions > .button-secondary { border-color: #a4b0c0; color: #0f1827; background: #fff; }
body[data-theme="yandex"] dialog[data-modal] { border-color: #dce3ec; color: #0f1827; background: #fff; }
body[data-theme="yandex"] .modal-close { border-color: #dce3ec; color: #0f1827; background: #f4f6f9; }

/* Authored long-form articles share the navy/yellow palette. Images and chart values stay untouched. */
body[data-theme="yandex"] [class^="florist-"]:not([class*="__"]) { --text: #273246; --muted: #64748b; --green: #32475f; --green-dark: #0f1827; --green-light: #f4f6f9; --pink: #c3a000; --pink-light: #fff6bd; --border: #dce3ec; --white: #fff; --shadow: 0 18px 45px #0f182708; }
body[data-theme="yandex"] [class^="florist-"] [class$="__header"] { color: #fff; background: radial-gradient(circle at 90% 8%, #ffd40016, transparent 38%), #0f1827; }
body[data-theme="yandex"] [class^="florist-"] [class$="__lead"] { color: #c7d0de; }
body[data-theme="yandex"] [class^="florist-"] [class$="__lead"] strong { color: #fff; }
body[data-theme="yandex"] [class^="florist-"] [class$="__panel"] { background: #f4f6f9; }
body[data-theme="yandex"] [class^="florist-"] [class$="__quote"],
body[data-theme="yandex"] [class^="florist-"] [class$="__quote"] strong { color: #5f4d00; border-color: #ffd400; background: #fffbea; }
body[data-theme="yandex"] .case-108 { --text: #273246; --muted: #64748b; --accent: #806700; --accent-dark: #5f4d00; --accent-light: #fffbea; --border: #dce3ec; --soft: #f4f6f9; --white: #fff; --shadow: 0 18px 45px #0f182708; }
body[data-theme="yandex"] :is(.case-108__hero, .case-108__cta) { color: #fff; background: radial-gradient(circle at 90% 8%, #ffd40016, transparent 38%), #0f1827; }
body[data-theme="yandex"] .case-108__hero h1,
body[data-theme="yandex"] .case-108__cta :is(h2, h3) { color: #fff; }
body[data-theme="yandex"] .case-108__lead,
body[data-theme="yandex"] .case-108__cta :is(p, li) { color: #c7d0de; }
body[data-theme="yandex"] .case-108__label { color: #ffd400; border-color: #ffd40052; background: #ffd4000d; }
body[data-theme="yandex"] .case-108__meta span { color: #c7d0de; background: #ffffff0d; }
body[data-theme="yandex"] .case-108__button { color: #0a101c !important; background: #ffd400; box-shadow: none; }
body[data-theme="yandex"] .case-108__button--light { color: #0f1827 !important; background: #fff; }
body[data-theme="yandex"] .case-108 th { color: #526179; background: #f4f6f9; }

/* Preserve the legal page containment fix independently of the previous theme. */
body[data-theme="yandex"] .avf-legal { --legal-ink: #172033; --legal-muted: #64748b; --legal-line: #dfe5ec; --legal-navy: #101827; --legal-yellow: #ffd400; width: 100%; max-width: 100%; min-width: 0; margin-inline: 0; color: #172033; background: #f4f6f9; overflow-wrap: anywhere; }
body[data-theme="yandex"] .avf-legal .avf-legal__shell { width: min(980px, calc(100% - 36px)); max-width: 100%; margin-inline: auto; }
body[data-theme="yandex"] .avf-legal :is(h1, h2, h3) { min-width: 0; overflow-wrap: anywhere; word-break: normal; hyphens: auto; }
body[data-theme="yandex"] .avf-legal .avf-legal__operator dd { min-width: 0; overflow-wrap: anywhere; }
body[data-theme="yandex"] .avf-legal .avf-legal__content section { min-width: 0; scroll-margin-top: calc(var(--header-height) + 22px); }
body[data-theme="yandex"] .site-footer { color: #b9c4d4; border-color: #ffffff26; background: #0f1827; }

/* The common working process, team introduction and lead form use the same
   section/card proportions as the reference page. */
body[data-theme="yandex"] .ui-icon { display: inline-block; flex-shrink: 0; width: 24px; height: 24px; vertical-align: middle; }
body[data-theme="yandex"] .messenger-icon { display: block; flex-shrink: 0; width: 22px; height: 22px; object-fit: contain; }
body[data-theme="yandex"] .section:is(.shared-support, .shared-work, .shared-about, .shared-lead) { padding-block: 68px; }
body[data-theme="yandex"] .shared-support { color: #0f1827; background: #fff9e9; }
body[data-theme="yandex"] .shared-work { color: #fff; background: #0f1827; }
body[data-theme="yandex"] .shared-about { color: #0f1827; background: #fff; }
body[data-theme="yandex"] .shared-heading { max-width: 870px; margin-bottom: 30px; }
body[data-theme="yandex"] :is(.shared-support, .shared-work, .shared-about, .shared-lead) .section-heading,
body[data-theme="yandex"] :is(h2.shared-heading, .shared-heading h2) { max-width: 26ch; margin-top: 0; color: inherit; font-size: clamp(30px, 3.25vw, 44px); font-weight: 720; line-height: 1.16; letter-spacing: -.025em; }
body[data-theme="yandex"] .shared-heading .copy { margin-top: 22px; color: #64748b; font-size: 20px; }
body[data-theme="yandex"] .shared-work .shared-heading .copy { color: #b9c4d4; }
body[data-theme="yandex"] .shared-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
body[data-theme="yandex"] .shared-work .shared-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body[data-theme="yandex"] .shared-card { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 15px; padding: 24px; border: 1px solid #dce3ec; border-radius: 22px; color: #0f1827; background: #fff; }
body[data-theme="yandex"] .shared-card h3 { margin: 0; color: inherit; font-size: 22px; font-weight: 700; line-height: 1.22; letter-spacing: -.025em; }
body[data-theme="yandex"] .shared-card .copy { max-width: 100%; margin: 0; color: #64748b; font-size: 16px; line-height: 1.6; }
body[data-theme="yandex"] .shared-card .copy strong { color: #0f1827; }
body[data-theme="yandex"] .shared-icon { display: grid; flex: 0 0 auto; width: 54px; height: 54px; place-items: center; border: 1px solid #ecd44d; border-radius: 15px; color: #806700; background: #fffbea; font-size: 14px; font-weight: 850; }
body[data-theme="yandex"] .shared-icon .ui-icon { width: 26px; height: 26px; }
body[data-theme="yandex"] .shared-support .shared-heading { max-width: 920px; margin-bottom: 32px; }
body[data-theme="yandex"] .shared-support .shared-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
body[data-theme="yandex"] .shared-support .shared-card { gap: 22px; padding: 28px; }
body[data-theme="yandex"] .shared-support .shared-card .copy { color: #354459; font-size: 17px; line-height: 1.7; }
body[data-theme="yandex"] .shared-support .shared-icon { width: 44px; height: 44px; border: 0; border-radius: 13px; color: #6d5900; background: #fff5bc; }
body[data-theme="yandex"] .shared-support .shared-icon .ui-icon { width: 24px; height: 24px; }
body[data-theme="yandex"] .shared-work .shared-card { border-color: #ffffff26; color: #fff; background: #ffffff0d; }
body[data-theme="yandex"] .shared-work .shared-card .copy { color: #b9c4d4; }
body[data-theme="yandex"] .shared-work .shared-card .copy strong { color: #fff; }
body[data-theme="yandex"] .shared-work .shared-card .copy a { color: #ffd400; }
body[data-theme="yandex"] .shared-work .shared-icon { border-color: #ffd4008c; color: #ffd400; background: #ffd4000f; }
body[data-theme="yandex"] .shared-lead { border-top: 1px solid #d9e4ef; color: #0f1827; background: #edf3fa; }
body[data-theme="yandex"] .shared-lead-layout { display: grid; grid-template-columns: 1.15fr .85fr; align-items: start; gap: 32px; }
body[data-theme="yandex"] .shared-lead-copy, body[data-theme="yandex"] .shared-form-card { min-width: 0; }
body[data-theme="yandex"] .shared-lead-copy { max-width: none; padding: 34px; border-radius: 24px; color: #fff; background: #0f1827; }
body[data-theme="yandex"] .shared-lead-copy h2.section-heading { max-width: 24ch; margin: 0 0 24px; color: #fff; font-size: clamp(30px, 3vw, 42px); font-weight: 750; line-height: 1.16; letter-spacing: -.025em; }
body[data-theme="yandex"] .shared-lead-copy :is(.copy, p) { color: #c7d0de; font-size: 17px; line-height: 1.65; }
body[data-theme="yandex"] .shared-lead-copy .messenger-links { grid-template-columns: minmax(0, 1fr); margin-top: 18px; gap: 10px; }
body[data-theme="yandex"] .shared-lead-copy .messenger-link { justify-content: flex-start; gap: 14px; min-height: 60px; padding: 16px 20px; font-size: 17px; color: #142238; background: #fff; }
body[data-theme="yandex"] .shared-lead-copy .messenger-link.telegram { border-color: #ffd400; background: #ffd400; }
body[data-theme="yandex"] .shared-lead-copy .messenger-icon { width: 28px; height: 28px; }
body[data-theme="yandex"] .shared-messengers { margin-top: 28px; padding-top: 25px; border-top: 1px solid #ffffff2b; scroll-margin-top: calc(var(--header-height) + 24px); }
body[data-theme="yandex"] .shared-messengers h3 { margin: 0 0 16px; color: #fff; font-size: 24px; font-weight: 800; line-height: 1.3; }
body[data-theme="yandex"] .shared-form-card { padding: 28px; border: 1px solid #dce3ec; border-radius: 24px; color: #0f1827; background: #fff; box-shadow: none; }
body[data-theme="yandex"] .shared-form-card > .copy { margin: 0 0 26px; color: #526179; }
body[data-theme="yandex"] .shared-form-card .lead-form { width: 100%; }
body[data-theme="yandex"] .shared-form-card h3.copy { margin: 0 0 26px; color: #0f1827; font-size: 23px; font-weight: 650; line-height: 1.2; }
body[data-theme="yandex"] .shared-form-card .form-policy { color: #64748b; font-size: 13px; }
body[data-theme="yandex"] .shared-form-card .button { width: 100%; color: #0f1827; border-color: #ffd400; background: #ffd400; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
body[data-theme="yandex"] .shared-form-card .button:hover { background: #ffe052; border-color: #ffe052; }
body[data-theme="yandex"] .anchor-alias { display: block; height: 0; scroll-margin-top: calc(var(--header-height) + 24px); }
body[data-theme="yandex"] .studio-banner { margin: 0 0 32px; overflow: hidden; border: 1px solid #dce3ec; border-radius: 22px; background: #fff; }
body[data-theme="yandex"] .studio-banner-media { display: block; }
body[data-theme="yandex"] .studio-banner-media img { display: block; width: 100%; height: auto; }
body[data-theme="yandex"] .studio-banner-caption { display: none; }

/* A compact, complete footer with readable navigation groups. */
body[data-theme="yandex"] .site-footer { padding-block: 60px 25px; }
body[data-theme="yandex"] .site-footer > .container { display: block; }
body[data-theme="yandex"] .footer-top { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 40px; }
body[data-theme="yandex"] .footer-brand { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 24px; }
body[data-theme="yandex"] .footer-brand .brand { color: #fff; }
body[data-theme="yandex"] .footer-brand .brand .accent { color: #fff; }
body[data-theme="yandex"] .footer-brand img { display: block; width: 200px; max-width: 100%; height: auto; max-height: none; padding: 14px 18px; border-radius: 10px; background: #fff; }
body[data-theme="yandex"] .footer-brand :is(p, .copy) { max-width: 32ch; margin: 0; color: #fff; font-size: 22px; font-weight: 700; line-height: 1.35; }
body[data-theme="yandex"] .footer-brand { flex-wrap: wrap; }
body[data-theme="yandex"] .footer-contact-links { display: flex; flex-wrap: wrap; gap: 10px; }
body[data-theme="yandex"] .footer-contact-links .messenger-link { min-height: 48px; padding: 11px 14px; gap: 8px; border: 1px solid #ffffff2b; border-radius: 12px; color: #0f1827; background: #fff; font-size: 13px; font-weight: 650; transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease; }
body[data-theme="yandex"] .footer-contact-links img.messenger-icon { display: block; flex: 0 0 24px; width: 24px; height: 24px; padding: 0; border-radius: 0; background: transparent; }
body[data-theme="yandex"] .footer-contact-links .vk .messenger-icon { width: 28px; height: 28px; margin: -2px; }
@media (hover: hover) and (pointer: fine) {
 body[data-theme="yandex"] .footer-contact-links .messenger-link:hover { background: #fff6c5; border-color: #ffd400; box-shadow: 0 6px 18px #0002; transform: translateY(-2px); }
 body[data-theme="yandex"] .footer-group a:hover { color: #ffd400; text-decoration: underline; text-underline-offset: 5px; }
}
@media (max-width: 640px) {
 body[data-theme="yandex"] .footer-contact-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; }
 body[data-theme="yandex"] .footer-contact-links .messenger-link { justify-content: flex-start; padding-inline: 14px; }
}
@media (prefers-reduced-motion: reduce) {
 body[data-theme="yandex"] .footer-contact-links .messenger-link { transition: none; transform: none !important; }
}
body[data-theme="yandex"] .footer-groups { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 25px; }
body[data-theme="yandex"] .footer-group { min-width: 0; color: #b9c4d4; font-size: 14px; line-height: 1.55; }
body[data-theme="yandex"] .footer-group > summary { list-style: none; }
body[data-theme="yandex"] .footer-group > summary::-webkit-details-marker { display: none; }
body[data-theme="yandex"] .footer-group :is(h2, h3, h4) { margin: 0 0 17px; color: #fff; font-size: 15px; font-weight: 800; line-height: 1.4; }
body[data-theme="yandex"] .footer-group ul { margin: 0; padding: 0; list-style: none; }
body[data-theme="yandex"] .footer-group li { margin: 0; }
body[data-theme="yandex"] .footer-group a { display: inline-flex; min-height: 40px; align-items: center; color: #b9c4d4; font-size: 14px; font-weight: 500; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; }
body[data-theme="yandex"] .footer-group a .ui-icon { width: 17px; height: 17px; margin-right: 8px; }
body[data-theme="yandex"] .footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 26px; margin-top: 40px; padding-top: 22px; border-top: 1px solid #ffffff26; color: #8fa0b7; font-size: 12px; line-height: 1.6; }
body[data-theme="yandex"] .footer-bottom :is(p, .copy) { margin: 0; color: inherit; font-size: 12px; }
body[data-theme="yandex"] .footer-bottom a { color: #b9c4d4; font-size: 12px; }

@media (hover: hover) and (pointer: fine) {
  body[data-theme="yandex"] .site-nav :is(a, summary):hover { color: #806700; }
  body[data-theme="yandex"] .site-nav details > ul a:hover { color: #0f1827; background: #fff7cf; }
  body[data-theme="yandex"] :is(.button, .header-cta):not(:disabled):hover { border-color: #ffe052; color: #0a101c; background: #ffe052; box-shadow: 0 14px 32px #ffd40029; }
  body[data-theme="yandex"] .button-secondary:hover { border-color: #a4b0c0; background: #edf1f6; box-shadow: none; }
  body[data-theme="yandex"] :is(.hero, .section-dark) .button-secondary:hover { border-color: #ffffff85; color: #fff; background: #ffffff14; box-shadow: none; }
  body[data-theme="yandex"] :is(.service-card, .blog-card):hover { border-color: #e6c200; box-shadow: 0 22px 46px #0f182717; }
  body[data-theme="yandex"] .messenger-link:hover { border-color: #e6c200; box-shadow: 0 12px 28px #0f182712; }
  body[data-theme="yandex"] .hero-messengers .messenger-link:not(.telegram):hover,
  body[data-theme="yandex"] .contact-messengers .messenger-link:not(.telegram):hover { border-color: #ffffff85; color: #fff; background: #ffffff14; }
  body[data-theme="yandex"] .messenger-link.telegram:hover { color: #0a101c; border-color: #ffe052; background: #ffe052; }
  body[data-theme="yandex"] .page-toc a:hover { color: #5f4d00; border-color: #e6c200; background: #fffbea; }
  body[data-theme="yandex"] .footer-group a:hover,
  body[data-theme="yandex"] .footer-bottom a:hover { color: #ffd400; }
}
@media (max-width: 980px) {
  body[data-theme="yandex"] .section { padding-block: 76px; }
  body[data-theme="yandex"] .hero { padding-block: 64px 54px; }
  body[data-theme="yandex"].page-home .home-hero-layout .section-heading { font-size: clamp(38px, 5vw, 54px); }
  body[data-theme="yandex"] .shared-support .shared-grid { grid-template-columns: minmax(0, 1fr); }
  body[data-theme="yandex"] .shared-support .shared-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: start; }
  body[data-theme="yandex"] .shared-lead-layout { grid-template-columns: minmax(0, 1fr); }
  body[data-theme="yandex"] .shared-lead-copy .messenger-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body[data-theme="yandex"] .shared-lead-copy .messenger-link { justify-content: center; flex-direction: column; }
  body[data-theme="yandex"] .shared-lead-copy .messenger-links { max-width: 640px; }
  body[data-theme="yandex"] .footer-top { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  body[data-theme="yandex"] .footer-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body[data-theme="yandex"] .container { width: calc(100% - 36px); }
  body[data-theme="yandex"] .section { padding-block: 56px; }
  body[data-theme="yandex"] .section-heading { font-size: clamp(30px, 8vw, 40px); line-height: 1.12; }
  body[data-theme="yandex"] .hero,
  body[data-theme="yandex"].page-home .hero { padding-block: 48px 52px; }
  body[data-theme="yandex"] .hero .section-heading,
  body[data-theme="yandex"] .hero .copy h1,
  body[data-theme="yandex"].page-home .home-hero-layout .section-heading { max-width: 100%; font-size: clamp(34px, 9vw, 44px); line-height: 1.08; }
  body[data-theme="yandex"] .lead { font-size: 18px; }
  body[data-theme="yandex"] .header-cta { min-height: 42px; padding: 10px 13px; font-size: 12px; }
  body[data-theme="yandex"] .brand .accent::before { margin-inline: 5px; width: 2px; }
  body[data-theme="yandex"] .button { min-height: 54px; font-size: 15px; }
  body[data-theme="yandex"] .header-cta.button { min-height: 42px; padding: 10px 13px; font-size: 12px; }
  body[data-theme="yandex"] .header-inner .brand img { width: 142px; max-height: 46px; object-fit: contain; }
  body[data-theme="yandex"] .service-card { padding: 26px; }
  body[data-theme="yandex"] .service-card h3 { font-size: 25px; }
  body[data-theme="yandex"] .contact-messengers { padding: 28px 22px; }
  body[data-theme="yandex"] .hero-messengers .messenger-link { min-height: 48px; padding-inline: 6px; font-size: 14px; }
  body[data-theme="yandex"] .hero-messengers .messenger-link:has(.messenger-icon) { flex-direction: column; min-height: 72px; gap: 6px; }
  body[data-theme="yandex"] .hero-messengers .messenger-icon { width: 20px; height: 20px; }
  body[data-theme="yandex"] .messenger-bar > a:has(.messenger-icon) { flex-direction: column; min-height: 52px; gap: 3px; }
  body[data-theme="yandex"] .messenger-bar .messenger-icon { width: 17px; height: 17px; }
  body[data-theme="yandex"] .section:is(.shared-support, .shared-work, .shared-about, .shared-lead) { padding-block: 44px; }
  body[data-theme="yandex"] :is(.shared-support, .shared-work, .shared-about, .shared-lead) .section-heading,
  body[data-theme="yandex"] :is(h2.shared-heading, .shared-heading h2) { font-size: clamp(27px, 7.2vw, 34px); line-height: 1.18; }
  body[data-theme="yandex"] .shared-heading .copy { font-size: 18px; }
  body[data-theme="yandex"] .shared-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  body[data-theme="yandex"] .shared-work .shared-grid { grid-template-columns: minmax(0, 1fr); }
  body[data-theme="yandex"] .shared-card { padding: 21px; gap: 13px; }
  body[data-theme="yandex"] .shared-card h3 { font-size: 21px; }
  body[data-theme="yandex"] .shared-support .shared-card { display: flex; padding: 24px; gap: 18px; }
  body[data-theme="yandex"] .shared-support .shared-card .copy { font-size: 16px; }
  body[data-theme="yandex"] .shared-lead-copy { padding: 24px 20px; border-radius: 20px; }
  body[data-theme="yandex"] .shared-lead-copy h2.section-heading { font-size: 29px; line-height: 1.18; }
  body[data-theme="yandex"] .shared-lead-copy :is(.copy, p) { font-size: 17px; }
  body[data-theme="yandex"] .shared-form-card { padding: 24px 20px; border-radius: 20px; }
  body[data-theme="yandex"] .shared-lead-copy .messenger-links { grid-template-columns: minmax(0, 1fr); }
  body[data-theme="yandex"] .shared-lead-copy .messenger-link { flex-direction: row; justify-content: flex-start; font-size: 17px; }
  body[data-theme="yandex"] .studio-banner-media { overflow: hidden; aspect-ratio: 3 / 4; }
  body[data-theme="yandex"] .studio-banner-media img { width: auto; max-width: none; height: 100%; }
  body[data-theme="yandex"] .studio-banner-caption { display: block; padding: 24px; }
  body[data-theme="yandex"] .studio-banner-caption h3 { margin: 0 0 18px; font-size: 24px; line-height: 1.25; }
  body[data-theme="yandex"] .studio-banner-caption ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
  body[data-theme="yandex"] .studio-banner-caption li { display: flex; align-items: flex-start; gap: 10px; color: #26364c; font-size: 16px; }
  body[data-theme="yandex"] .studio-banner-caption strong { display: block; font-weight: 650; }
  body[data-theme="yandex"] .studio-banner-caption small { display: block; margin-top: 4px; color: #526179; font-size: 14px; line-height: 1.5; }
  body[data-theme="yandex"] .studio-banner-caption .ui-icon { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; color: #806700; }
  body[data-theme="yandex"] .site-footer { padding-block: 42px 25px; }
  body[data-theme="yandex"] .footer-brand { align-items: flex-start; flex-direction: column; gap: 18px; }
  body[data-theme="yandex"] .footer-groups { display: block; }
  body[data-theme="yandex"] .footer-group { border-bottom: 1px solid #ffffff26; }
  body[data-theme="yandex"] .footer-group > summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 52px; cursor: pointer; }
  body[data-theme="yandex"] .footer-group > summary::after { content: "+"; color: #ffd400; font-size: 24px; }
  body[data-theme="yandex"] .footer-group[open] > summary::after { content: "−"; }
  body[data-theme="yandex"] .footer-group > summary h2 { margin: 0; }
  body[data-theme="yandex"] .footer-group ul { padding-bottom: 18px; }
  body[data-theme="yandex"] .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; margin-top: 28px; }
  body[data-theme="yandex"] .avf-legal .avf-legal__header h1 { font-size: clamp(30px, 7.8vw, 42px); line-height: 1.1; }
  body[data-theme="yandex"] .avf-legal .avf-legal__content h2 { font-size: clamp(25px, 6.8vw, 34px); line-height: 1.15; }
}
@media (max-width: 360px) {
 body[data-theme="yandex"] .header-inner .brand img { width: 96px; max-height: 42px; }
 body[data-theme="yandex"] .header-cta.button { padding-inline: 8px; font-size: 11px; }
}
@media (max-width: 640px) { body[data-theme="yandex"] .header-inner { gap: 8px; } }
@media (prefers-reduced-motion: reduce) {
  body[data-theme="yandex"] :is(.button, .header-cta, .service-card, .blog-card, .messenger-link) { transition: none; }
}

/* Narrow corrections for authored service pages, articles and case content.
   Shared sections and the original /about/ presentation keep their own styles. */
body[data-theme="yandex"] .avf-landing { --avf-muted: var(--muted); }
body[data-theme="yandex"] .fwf-landing { --fwf-muted: var(--muted); }
body[data-theme="yandex"] .ymf-landing { --ymf-muted: var(--muted); }
body[data-theme="yandex"] .ycf-landing { --ycf-muted: var(--muted); }
body[data-theme="yandex"] .baf-landing { --baf-muted: var(--muted); }
body[data-theme="yandex"] .brf-landing { --brf-muted: var(--muted); }
body[data-theme="yandex"] .sgf-landing { --sgf-muted: var(--muted); }
body[data-theme="yandex"] .smf-landing { --smf-muted: var(--muted); }

/* Only light service sections use ochre captions; dark heroes stay yellow. */
body[data-theme="yandex"] :is(
  .avf-section:not(.avf-section--dark),
  .fwf-section:not(.fwf-section--dark),
  .ymf-section:not(.ymf-section--dark),
  .ycf-section:not(.ycf-section--dark),
  .baf-section:not(.baf-section--dark),
  .brf-section:not(.brf-section--dark),
  .sgf-section:not(.sgf-section--dark),
  .smf-section:not(.smf-section--dark)
) [class$="-eyebrow"] {
  color: #806700;
}
body[data-theme="yandex"] :is(.avf-pain-tag, .fwf-pain-tag, .ymf-pain-tag, .ycf-pain-tag),
body[data-theme="yandex"] .ymf-screen-card small,
body[data-theme="yandex"] :is(.fwf-table, .ycf-table) th {
  color: var(--muted);
}

/* Match the homepage botanical decoration without changing service content. */
body[data-theme="yandex"] :is(.avf-hero, .fwf-hero, .ymf-hero, .ycf-hero, .baf-service-hero, .brf-hero, .sgf-hero, .smf-hero) {
  background-color: #0f1827;
  background-image: url('/assets/icons/floral-outline-v11.svg'), url('/assets/icons/leaf-outline-v11.svg');
  background-repeat: no-repeat;
  background-position: right -30px top 22px, left -58px bottom -28px;
  background-size: 270px 390px, 240px 330px;
}
/* Source pseudo-elements below contain empty decorative gradients/grids only. */
body[data-theme="yandex"] .baf-service-hero::before,
body[data-theme="yandex"] :is(.avf-hero, .fwf-hero, .ymf-hero, .ycf-hero, .baf-service-hero, .brf-hero, .sgf-hero, .smf-hero)::after {
  display: none;
}

@media (max-width: 640px) {
  body[data-theme="yandex"] :is(.avf-hero, .fwf-hero, .ymf-hero, .ycf-hero, .baf-service-hero, .brf-hero, .sgf-hero, .smf-hero) {
    background-size: 172px 250px, 150px 206px;
    background-position: right -38px top 18px, left -58px bottom 22px;
  }
  body[data-theme="yandex"] :is(.avf-hero, .fwf-hero, .ymf-hero, .ycf-hero, .baf-service-hero, .brf-hero, .sgf-hero, .smf-hero) h1 {
    font-size: clamp(32px, 8.6vw, 42px);
    line-height: 1.1;
  }
}

body[data-theme="yandex"]:not(.page-home) .hero > .container { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
body[data-theme="yandex"]:not(.page-home) .hero h1 {
  max-width: 26ch; font-size: clamp(38px, 4.2vw, 60px); line-height: 1.1;
}
body[data-theme="yandex"]:not(.page-home) .section:not(:is(.shared-support,.shared-work,.shared-about,.shared-lead)) .section-heading:not(h1) {
  font-size: clamp(30px, 3.25vw, 44px); font-weight: 720; line-height: 1.16; letter-spacing: -.025em;
}
body[data-theme="yandex"] .hero-media-intro { padding-block: 28px; }
body[data-theme="yandex"] .hero-media-intro .media {
  width: fit-content; max-width: 100%; margin: 0 auto; background: transparent; border-color: #ffffff26;
}
body[data-theme="yandex"] .hero-media-intro .media img {
  width: auto; max-width: 100%; height: auto; max-height: 320px; object-fit: contain;
}
body[data-theme="yandex"] .hero-editorial-layout {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
  width: min(1180px, calc(100% - 40px)); max-width: none;
  margin-inline: auto;
  position: relative;
}
body[data-theme="yandex"] .hero-editorial-copy { gap: 24px; }
body[data-theme="yandex"] .hero-editorial-media {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; min-width: 0;
}
body[data-theme="yandex"] .hero-editorial-media .media { width: 100%; margin: 0; min-width: 0; border-radius: 18px; background: #fff; }
body[data-theme="yandex"] .hero-editorial-photo img { width: 100%; height: auto; max-height: 350px; object-fit: contain; }
body[data-theme="yandex"] .hero-editorial-brand { display: grid; place-items: center; padding: 12px; }
body[data-theme="yandex"] .hero-editorial-brand img { width: auto; max-width: 100%; max-height: 48px; object-fit: contain; }
body[data-theme="yandex"] .hero-editorial-channel-examples .hero-editorial-brand:nth-child(5) { grid-column: 1 / -1; }
body[data-theme="yandex"] .hero-editorial-example-label {
  position: absolute; z-index: 1; left: calc(52.5% + 26px); bottom: 14px;
  padding: 5px 10px; border-radius: 8px; color: #0f1827; background: #ffd400;
  font-size: 12px; font-weight: 650; pointer-events: none;
}
@media (max-width: 980px) {
  body[data-theme="yandex"] .hero-editorial-layout { grid-template-columns: minmax(0,1fr); gap: 28px; }
  body[data-theme="yandex"] .hero-editorial-media { max-width: 660px; }
  body[data-theme="yandex"] .hero-editorial-example-label { left: 14px; }
}
body[data-theme="yandex"] .page-toc .container { display: block; }
body[data-theme="yandex"] .page-toc-disclosure > summary { min-height: 44px; cursor: pointer; font-weight: 700; }
body[data-theme="yandex"] .page-toc-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 641px) { body[data-theme="yandex"] .page-toc-disclosure > summary { display: none; } }
@media (max-width: 640px) {
  body[data-theme="yandex"]:not(.page-home) .hero h1 { max-width: 100%; font-size: clamp(32px, 8.6vw, 42px); }
  body[data-theme="yandex"] .hero-media-intro { padding-block: 22px; }
  body[data-theme="yandex"] .hero-media-intro .media img { max-height: 220px; }
  body[data-theme="yandex"] .hero-editorial-layout { width: calc(100% - 36px); }
  body[data-theme="yandex"] .hero-editorial-photo img { max-height: 240px; }
  body[data-theme="yandex"] .page-toc-links { grid-template-columns: minmax(0, 1fr); }
  body[data-theme="yandex"] .page-toc-disclosure > summary { display: flex; align-items: center; justify-content: space-between; }
  body[data-theme="yandex"] .page-toc-disclosure > summary::after { content: '+'; font-size: 24px; color: #806700; }
  body[data-theme="yandex"] .page-toc-disclosure[open] > summary::after { content: '−'; }
}
body[data-theme="yandex"] [class^="florist-"]:not([class*="__"]) {
  --muted: #526179;
  --pink: #ffd400;
  --pink-light: #fff6bd;
  font-family: inherit;
  text-align: left;
}
body[data-theme="yandex"] [class^="florist-"]:not([class*="__"]) [class$="__lead"] {
  margin-top: clamp(24px, 4vw, 38px);
}
body[data-theme="yandex"] [class^="florist-"]:not([class*="__"]) [class$="__main-image"] {
  display: block; width: auto; max-width: 100%; max-height: 320px;
  object-fit: contain; margin-inline: auto;
}
@media (max-width: 640px) {
  body[data-theme="yandex"] [class^="florist-"]:not([class*="__"]) [class$="__main-image"] { max-height: 220px; }
}

/* Bright yellow carries decoration; readable links use its dark counterpart. */
body[data-theme="yandex"] [class^="florist-"]:not([class*="__"]) a:not(.button):not([class*="__button"]):not([class*="__btn"]) {
  color: #806700;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
body[data-theme="yandex"] [class^="florist-"]:not([class*="__"]) a:not(.button):not([class*="__button"]):not([class*="__btn"]):hover {
  color: #5f4d00;
}
body[data-theme="yandex"] [class^="florist-"]:not([class*="__"]) [class*="__list--numbered"] > li::before {
  color: #0f1827;
  background: #ffd400;
}

/* Source formulas and row tints use the same surfaces as the common theme. */
body[data-theme="yandex"] [class^="florist-"]:not([class*="__"]) [class$="__formula"] {
  color: #354459;
  background: #fff6bd;
  border-color: #e6d77e;
}
body[data-theme="yandex"] [class^="florist-"]:not([class*="__"]) [class$="__video"] {
  background: #0f1827;
}
body[data-theme="yandex"] [class^="florist-"]:not([class*="__"]) :is([class$="__list"], [class*="__list--"]) > li {
  background-color: #f4f6f9;
}
body[data-theme="yandex"] [class^="florist-"]:not([class*="__"]) [class$="__table"] tr:nth-child(even) td {
  background: #f4f6f9;
}

/* Preserve semantic table colors, with readable contrast for small numbers. */
body[data-theme="yandex"] .fx-case-wrapper {
  color: #273246;
  font-family: inherit;
  text-align: left;
  border-radius: 22px;
}
body[data-theme="yandex"] .fx-case-wrapper :is(p, .fx-strategy-block, .fx-lifehacks-list li) {
  font-size: 16px;
  line-height: 1.65;
}
body[data-theme="yandex"] .fx-case-wrapper :is(h2, h3) {
  color: #0f1827;
  letter-spacing: -.025em;
}
body[data-theme="yandex"] .fx-case-wrapper h2 {
  border-bottom-color: #dce3ec;
}
body[data-theme="yandex"] .fx-case-wrapper .fx-growth {
  color: #187b48;
}
body[data-theme="yandex"] .fx-case-wrapper .fx-cost-down {
  color: #b8392a;
}
body[data-theme="yandex"] .fx-case-wrapper .fx-highlight-box {
  color: #354459;
  background: #fffbea;
  border-color: #e6d77e;
  border-radius: 16px;
}
body[data-theme="yandex"] .fx-case-wrapper .fx-strategy-block {
  background: #f4f6f9;
  border-left-color: #ffd400;
  border-radius: 16px;
}
body[data-theme="yandex"] .fx-case-wrapper .fx-table-responsive {
  border-radius: 16px;
  box-shadow: 0 0 0 1px #dce3ec;
}
body[data-theme="yandex"] .fx-case-wrapper .fx-case-table :is(th, td) {
  border-color: #dce3ec;
}
body[data-theme="yandex"] .fx-case-wrapper .fx-case-table th {
  color: #526179;
  background: #f4f6f9;
}
body[data-theme="yandex"] .case-108 {
  font-family: inherit;
}
body[data-theme="yandex"] .case-108 tbody tr:nth-child(even) td {
  background: #f4f6f9;
}

/* These containers may scroll on phones; keep their keyboard boundary visible. */
body[data-theme="yandex"] :is(.fx-table-responsive, .case-108__table-wrap, .fwf-table-wrap, .ycf-table-wrap, [class^="florist-"][class$="__table-wrap"]):focus-visible {
  outline: 3px solid #9b7800;
  outline-offset: 5px;
}

/* Only verified draft elements are tagged by draft_ui.py. */
body[data-theme="yandex"] .draft-ui .draft-logo-section {
  padding-block: 52px;
}
body[data-theme="yandex"] .draft-ui .draft-logo-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}
body[data-theme="yandex"] .draft-ui .draft-logo-card {
  display: block;
  padding: 18px;
  border-color: #dce3ec;
  border-radius: 22px;
  background: #fff;
  box-shadow: none;
}
body[data-theme="yandex"] .draft-ui .draft-logo-card .media {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
}
body[data-theme="yandex"] .draft-ui .draft-logo-card .media a {
  display: grid;
  min-height: 132px;
  place-items: center;
}
body[data-theme="yandex"] .draft-ui .draft-logo-card img {
  display: block;
  width: 100%;
  height: 132px;
  object-fit: contain;
}
body[data-theme="yandex"] .draft-ui .draft-logo-card:focus-within {
  outline: 3px solid #ffd400;
  outline-offset: 4px;
}

/* The empty sawtooth SVG is a lower hero edge, rather than a content card. */
body[data-theme="yandex"] .draft-ui .draft-has-divider {
  position: relative;
}
body[data-theme="yandex"] .draft-ui .draft-has-divider > .container,
body[data-theme="yandex"] .draft-ui .draft-has-divider .flow {
  position: static;
}
body[data-theme="yandex"] .draft-ui .draft-has-divider .flow > :not(.draft-hero-divider),
body[data-theme="yandex"] .draft-ui .draft-has-divider .hero-contact {
  position: relative;
  z-index: 1;
}
body[data-theme="yandex"] .draft-ui .draft-hero-divider {
  position: absolute;
  z-index: 0;
  inset: auto 0 -1px;
  width: 100%;
  max-width: none;
  height: 56px;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  pointer-events: none;
}
body[data-theme="yandex"] .draft-ui .draft-hero-divider img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

@media (max-width: 640px) {
  body[data-theme="yandex"] .draft-ui .draft-logo-section {
    padding-block: 36px;
  }
  body[data-theme="yandex"] .draft-ui .draft-logo-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  body[data-theme="yandex"] .draft-ui .draft-logo-card {
    padding: 12px;
    border-radius: 16px;
  }
  body[data-theme="yandex"] .draft-ui .draft-logo-card .media a {
    min-height: 96px;
  }
  body[data-theme="yandex"] .draft-ui .draft-logo-card img {
    height: 96px;
  }
  body[data-theme="yandex"] .draft-ui .draft-hero-divider {
    height: 40px;
  }
}

/* Only the legacy questions page opts into this native disclosure layout. */
body[data-theme="yandex"] #main-content.questions-refined .question-list {
  gap: 12px;
}
body[data-theme="yandex"] #main-content.questions-refined .question-item {
  width: 100%;
  overflow: hidden;
  border: 1px solid #dce3ec;
  border-radius: 16px;
  color: #142238;
  background: #fff;
}
body[data-theme="yandex"] #main-content.questions-refined .question-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 18px 22px;
  gap: 20px;
  list-style: none;
  cursor: pointer;
}
body[data-theme="yandex"] #main-content.questions-refined .question-toggle::-webkit-details-marker {
  display: none;
}
body[data-theme="yandex"] #main-content.questions-refined .question-toggle::after {
  content: "";
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  margin: 0 3px 4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
body[data-theme="yandex"] #main-content.questions-refined .question-item[open] > .question-toggle::after {
  margin-block: 4px 0;
  transform: rotate(225deg);
}
body[data-theme="yandex"] #main-content.questions-refined .question-title {
  flex: 1;
  margin: 0;
  color: inherit;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.45;
}
body[data-theme="yandex"] #main-content.questions-refined .question-toggle:focus-visible {
  outline: 3px solid #b89700;
  outline-offset: -4px;
  border-radius: 14px;
}
body[data-theme="yandex"] #main-content.questions-refined .question-answer {
  padding: 0 22px 22px;
}
body[data-theme="yandex"] #main-content.questions-refined .question-answer > .copy {
  margin: 0;
  color: #465870;
  font-size: 16px;
  line-height: 1.7;
}
body[data-theme="yandex"] #main-content.questions-refined .section-dark .question-item {
  color: #fff;
  border-color: #ffffff28;
  background: #ffffff05;
}
body[data-theme="yandex"] #main-content.questions-refined .section-dark .question-title {
  color: #fff;
}
body[data-theme="yandex"] #main-content.questions-refined .section-dark .question-answer > .copy {
  color: #c7d0de;
}
body[data-theme="yandex"] #main-content.questions-refined .section-dark .question-toggle:focus-visible {
  outline-color: #ffd400;
}
@media (hover: hover) and (pointer: fine) {
  body[data-theme="yandex"] #main-content.questions-refined .question-toggle:hover {
    background: #fff8d8;
  }
  body[data-theme="yandex"] #main-content.questions-refined .section-dark .question-toggle:hover {
    background: #ffd40010;
  }
}
@media (max-width: 640px) {
  body[data-theme="yandex"] #main-content.questions-refined .question-toggle {
    min-height: 52px;
    padding: 16px;
    gap: 14px;
  }
  body[data-theme="yandex"] #main-content.questions-refined .question-title {
    font-size: 16px;
  }
  body[data-theme="yandex"] #main-content.questions-refined .question-answer {
    padding: 0 16px 18px;
  }
}

/* Preserve the exact H4 appearance while repairing only semantic levels. */
body[data-theme="yandex"] #main-content .semantic-heading-copy-h4 {
  margin-block: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: normal;
}
body[data-theme="yandex"] #main-content .semantic-heading-case-h4 {
  margin: 27px 0 11px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: normal;
}
body[data-theme="yandex"] #main-content .case-108__card .semantic-heading-case-h4 {
  margin-top: 0;
}
body[data-theme="yandex"] #main-content .semantic-heading-question-h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: normal;
}
@media (max-width: 640px) {
  body[data-theme="yandex"] #main-content .semantic-heading-question-h4 {
    font-size: 16px;
  }
}

/* Purposeful polish for the eight authored service roots only.
   Sections, copy, figures, actions and controls retain their source order. */
body[data-theme="yandex"] .service-polish-root {
  --service-copy-width: 66ch;
}
body[data-theme="yandex"] .service-polish-root .service-polish-section {
  padding-block: 72px;
}
body[data-theme="yandex"] .service-polish-root .service-polish-section-title {
  max-width: 24ch;
  font-size: clamp(32px, 3.45vw, 48px);
  line-height: 1.16;
  letter-spacing: -.03em;
  font-weight: 750;
}
body[data-theme="yandex"] .service-polish-root .service-polish-section-intro {
  max-width: var(--service-copy-width);
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.65;
}

/* A readable offer and immediately visible conditions replace an oversized heading. */
body[data-theme="yandex"] .service-polish-root .service-polish-hero {
  min-height: 0;
  padding-block: 64px 48px;
}
body[data-theme="yandex"] .service-polish-root .service-polish-title {
  max-width: 22ch;
  font-size: clamp(44px, 4.6vw, 66px);
  line-height: 1.06;
  letter-spacing: -.035em;
  font-weight: 800;
  overflow-wrap: anywhere !important;
}
body[data-theme="yandex"] .service-polish-root .service-polish-eyebrow {
  margin-bottom: 16px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .1em;
}
body[data-theme="yandex"] .service-polish-root .service-polish-lead {
  max-width: 62ch;
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.6;
}
body[data-theme="yandex"] .service-polish-root .service-polish-explainer {
  max-width: 62ch;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.65;
}
body[data-theme="yandex"] .service-polish-root .service-polish-contact {
  max-width: 660px;
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid #ffffff26;
  border-radius: 18px;
  background: #ffffff07;
}
body[data-theme="yandex"] .service-polish-root .service-polish-contact > p {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 650;
}
body[data-theme="yandex"] .service-polish-root .service-polish-contact .messenger-link {
  min-height: 50px;
  font-size: 14px;
}
body[data-theme="yandex"] .service-polish-root .service-polish-actions {
  gap: 12px;
  margin-top: 18px;
}
body[data-theme="yandex"] .service-polish-root .service-polish-actions > a {
  min-height: 52px;
  max-width: 100%;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  gap: 12px;
}
/* Direct contact is the primary yellow action; the existing form links stay visible. */
body[data-theme="yandex"] .service-polish-root .service-polish-contact + .service-polish-actions > a {
  color: #fff !important;
  border-color: #ffffff55;
  background: transparent;
  box-shadow: none;
}
body[data-theme="yandex"] .service-polish-root .service-polish-contact + .service-polish-actions > a .ymf-arrow {
  color: inherit !important;
}
body[data-theme="yandex"] .service-polish-root .service-polish-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
  padding-top: 24px;
  border-top-color: #ffffff2b;
}
body[data-theme="yandex"] .service-polish-root .service-polish-facts > * {
  min-width: 0;
}
body[data-theme="yandex"] .service-polish-root .service-polish-fact-value {
  display: block;
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.035em;
}
body[data-theme="yandex"] .service-polish-root .service-polish-facts :is(span, p) {
  display: block;
  margin-top: 9px;
  font-size: 14px;
  line-height: 1.6;
  color: #bdc9da;
}
body[data-theme="yandex"] .service-polish-root .service-polish-signature strong {
  font-size: 24px;
  line-height: 1.2;
}
body[data-theme="yandex"] .service-polish-root .service-polish-hero-nav {
  gap: 14px;
  margin-top: 30px;
}
body[data-theme="yandex"] .service-polish-root .service-polish-hero-nav > a {
  min-height: 60px;
  padding: 13px 16px;
  gap: 12px;
  font-size: 14px;
  line-height: 1.4;
}

/* Service cards distinguish their title, explanation and checklist. */
body[data-theme="yandex"] .service-polish-root :is(.service-polish-problem-grid, .service-polish-services-grid) {
  gap: 20px;
  margin-top: 32px;
  align-items: stretch;
}
body[data-theme="yandex"] .service-polish-root .service-polish-problem {
  padding: 26px;
}
body[data-theme="yandex"] .service-polish-root .service-polish-problem h3 {
  font-size: 23px;
  line-height: 1.28;
  letter-spacing: -.02em;
}
body[data-theme="yandex"] .service-polish-root .service-polish-problem p {
  max-width: var(--service-copy-width);
  font-size: 16px;
  line-height: 1.65;
}
body[data-theme="yandex"] .service-polish-root .service-polish-service-card {
  padding: 30px;
}
body[data-theme="yandex"] .service-polish-root .service-polish-card-title {
  font-size: 25px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -.025em;
}
body[data-theme="yandex"] .service-polish-root .service-polish-service-lead {
  min-height: 0;
  margin-block: 16px 20px;
  max-width: var(--service-copy-width);
  font-size: 16px;
  line-height: 1.65;
}
body[data-theme="yandex"] .service-polish-root .service-polish-service-list li {
  font-size: 16px;
  line-height: 1.65;
}
body[data-theme="yandex"] .service-polish-root .service-polish-summary-grid {
  gap: 16px;
}
body[data-theme="yandex"] .service-polish-root .service-polish-summary-card {
  padding: 24px;
}
body[data-theme="yandex"] .service-polish-root .service-polish-summary-card h3 {
  font-size: 21px;
  line-height: 1.3;
}
body[data-theme="yandex"] .service-polish-root .service-polish-summary-card p {
  font-size: 16px;
  line-height: 1.6;
}
body[data-theme="yandex"] .service-polish-root .service-polish-price-grid {
  gap: 20px;
  margin-top: 32px;
  align-items: stretch;
}
body[data-theme="yandex"] .service-polish-root .service-polish-price-card {
  padding: 28px;
}
body[data-theme="yandex"] .service-polish-root .service-polish-price-card :is(p, li) {
  font-size: 16px;
  line-height: 1.65;
}
body[data-theme="yandex"] .service-polish-root .service-polish-step p {
  font-size: 16px;
  line-height: 1.65;
}

/* Questions form distinct disclosure controls, with an uninterrupted reading width. */
body[data-theme="yandex"] .service-polish-root .service-polish-faq-grid {
  gap: 40px;
}
body[data-theme="yandex"] .service-polish-root .service-polish-faq-list {
  display: grid;
  gap: 12px;
}
body[data-theme="yandex"] .service-polish-root .service-polish-faq-item {
  margin: 0;
  padding: 0;
  border: 1px solid #dce3ec;
  border-radius: 16px;
  background: #fff;
}
body[data-theme="yandex"] .service-polish-root .service-polish-faq-item summary {
  min-height: 60px;
  padding: 18px 64px 18px 20px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
}
body[data-theme="yandex"] .service-polish-root .service-polish-faq-item summary::after {
  top: 16px;
  right: 16px;
}
body[data-theme="yandex"] .service-polish-root .service-polish-faq-item[open] {
  border-color: #b8c5d4;
}
body[data-theme="yandex"] .service-polish-root .service-polish-faq-answer {
  max-width: 72ch;
  margin: 0;
  padding: 0 20px 22px;
  font-size: 16px;
  line-height: 1.7;
}

@media (min-width: 1100px) {
  body[data-theme="yandex"] .service-polish-root .service-polish-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
    align-items: start;
    gap: 0 48px;
  }
  body[data-theme="yandex"] .service-polish-root .service-polish-layout > :is(.service-polish-eyebrow, .service-polish-title, .service-polish-lead, .service-polish-explainer, .service-polish-contact, .service-polish-actions) {
    grid-column: 1;
  }
  body[data-theme="yandex"] .service-polish-root .service-polish-copy {
    display: block;
    grid-column: 1;
    grid-row: 1 / span 6;
  }
  body[data-theme="yandex"] .service-polish-root .service-polish-layout > .service-polish-facts {
    grid-column: 2;
    grid-row: 1 / span 7;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    margin: 0;
    padding: 26px;
    border: 1px solid #ffffff26;
    border-radius: 22px;
    background: #ffffff07;
  }
  body[data-theme="yandex"] .service-polish-root .service-polish-layout > .service-polish-facts > * + * {
    padding-top: 20px;
    border-top: 1px solid #ffffff1f;
  }
  body[data-theme="yandex"] .service-polish-root .service-polish-layout > .service-polish-hero-nav {
    grid-column: 1 / -1;
  }
  body[data-theme="yandex"] .service-polish-root .service-polish-layout > .service-polish-lead {
    margin-top: 20px;
  }
}

@media (max-width: 1099px) {
  body[data-theme="yandex"] .service-polish-root .service-polish-title {
    max-width: 24ch;
    font-size: clamp(40px, 5.2vw, 58px);
  }
  body[data-theme="yandex"] .service-polish-root .service-polish-section {
    padding-block: 60px;
  }
}

@media (max-width: 640px) {
  body[data-theme="yandex"] .service-polish-root .service-polish-section {
    padding-block: 48px;
  }
  body[data-theme="yandex"] .service-polish-root .service-polish-hero {
    padding-block: 38px 36px;
  }
  body[data-theme="yandex"] .service-polish-root .service-polish-title {
    max-width: 100%;
    font-size: clamp(30px, 7.7vw, 36px);
    line-height: 1.12;
  }
  body[data-theme="yandex"] .service-polish-root .service-polish-section-title {
    font-size: clamp(27px, 7.5vw, 34px);
    line-height: 1.18;
  }
  body[data-theme="yandex"] .service-polish-root .service-polish-section-intro {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.65;
  }
  body[data-theme="yandex"] .service-polish-root .service-polish-lead {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.6;
  }
  body[data-theme="yandex"] .service-polish-root .service-polish-explainer {
    margin-top: 12px;
    font-size: 14px;
  }
  body[data-theme="yandex"] .service-polish-root .service-polish-contact {
    margin-top: 20px;
    padding: 14px;
    border-radius: 16px;
  }
  body[data-theme="yandex"] .service-polish-root .service-polish-contact .hero-messengers {
    gap: 8px;
  }
  body[data-theme="yandex"] .service-polish-root .service-polish-contact .messenger-link {
    min-height: 60px;
    gap: 6px;
    padding: 10px 5px;
    font-size: 13px;
  }
  body[data-theme="yandex"] .service-polish-root .service-polish-contact .messenger-icon {
    width: 21px;
    height: 21px;
  }
  body[data-theme="yandex"] .service-polish-root .service-polish-actions {
    gap: 10px;
    margin-top: 14px;
  }
  body[data-theme="yandex"] .service-polish-root .service-polish-actions > a {
    min-height: 52px;
    padding: 12px 15px;
    font-size: 14px;
  }
  body[data-theme="yandex"] .service-polish-root .service-polish-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
    margin-top: 26px;
    padding-top: 24px;
  }
  body[data-theme="yandex"] .service-polish-root .service-polish-fact-value {
    font-size: clamp(22px, 5.8vw, 26px);
    line-height: 1.2;
  }
  body[data-theme="yandex"] .service-polish-root .service-polish-facts :is(span, p) {
    font-size: 13px;
    line-height: 1.55;
  }
  body[data-theme="yandex"] .service-polish-root .service-polish-signature {
    grid-column: 1 / -1;
  }
  body[data-theme="yandex"] .service-polish-root .service-polish-signature strong {
    font-size: 20px;
  }
  body[data-theme="yandex"] .service-polish-root .service-polish-hero-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
  }
  body[data-theme="yandex"] .service-polish-root .service-polish-hero-nav > a {
    min-height: 68px;
    padding: 12px;
    font-size: 13px;
  }
  body[data-theme="yandex"] .service-polish-root :is(.service-polish-problem-grid, .service-polish-services-grid, .service-polish-price-grid) {
    gap: 16px;
    margin-top: 26px;
  }
  body[data-theme="yandex"] .service-polish-root :is(.service-polish-problem, .service-polish-service-card, .service-polish-summary-card, .service-polish-price-card) {
    padding: 22px;
  }
  body[data-theme="yandex"] .service-polish-root .service-polish-card-title {
    font-size: 23px;
  }
  body[data-theme="yandex"] .service-polish-root .service-polish-faq-grid {
    gap: 24px;
  }
  body[data-theme="yandex"] .service-polish-root .service-polish-faq-item summary {
    padding: 18px 60px 18px 18px;
    font-size: 16px;
  }
  body[data-theme="yandex"] .service-polish-root .service-polish-faq-answer {
    padding-inline: 18px;
  }
}

@media (hover: hover) and (pointer: fine) {
  body[data-theme="yandex"] .service-polish-root .service-polish-contact + .service-polish-actions > a:hover {
    border-color: #ffffffa6;
    background: #ffffff10;
    box-shadow: none;
  }
  body[data-theme="yandex"] .service-polish-root .service-polish-faq-item summary:hover {
    color: #5f4d00;
  }
}

/* Long price units remain whole and readable on the narrowest phones. */
@media (max-width: 420px) {
  body[data-theme="yandex"] .service-polish-root .service-polish-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  body[data-theme="yandex"] .service-polish-root .service-polish-fact-value {
    font-size: 25px;
  }
}

/* Authored article/case presentation only. Source nodes and their order stay intact. */
body[data-theme="yandex"] #main-content.editorial-polish-page { position: relative; }
/* The original custom-block padding otherwise leaves a white seam between
   the separate source cover section and its connected editorial header. */
body[data-theme="yandex"] #main-content.editorial-has-separated-cover > .custom-section { padding-block: 0; }
body[data-theme="yandex"] #main-content .editorial-root {
  --text: #24344b;
  --muted: #596a81;
  --green: #334c6e;
  --green-dark: #142238;
  --green-light: #f2f5f9;
  --border: #dce4ee;
  --shadow: 0 12px 28px #14223808;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #24344b;
  text-align: left;
  line-height: 1.75;
}
body[data-theme="yandex"] #main-content .editorial-longform {
  width: min(1180px, calc(100% - 64px));
  max-width: 1180px;
  margin: 32px auto 0;
  padding: 0 0 56px;
}
body[data-theme="yandex"] #main-content .editorial-header {
  margin: 0 0 28px;
  padding: 54px 56px;
  min-width: 0;
  border-radius: 26px;
  color: #fff;
  background: radial-gradient(ellipse at 95% 0, #ffd40013, transparent 55%), #0f1827;
  box-shadow: none;
}
body[data-theme="yandex"] #main-content .editorial-longform .editorial-header::after {
  inset: 26px auto auto 56px;
  width: 48px;
  height: 3px;
  border: 0;
  border-radius: 4px;
  background: #ffd400;
}
body[data-theme="yandex"] #main-content .editorial-title {
  max-width: 23ch;
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 3.9vw, 56px);
  font-weight: 760;
  line-height: 1.13;
  letter-spacing: -.025em;
  text-wrap: pretty;
}
body[data-theme="yandex"] #main-content .editorial-lead {
  max-width: 62ch;
  margin: 26px 0 0;
  color: #cbd5e4;
  font-size: 19px;
  line-height: 1.7;
}
body[data-theme="yandex"] #main-content .editorial-header p { color: #cbd5e4; }
body[data-theme="yandex"] #main-content .editorial-inline-cover {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: stretch;
  column-gap: 0;
}
body[data-theme="yandex"] #main-content .editorial-inline-cover > .editorial-header {
  grid-column: 1 / -1;
  grid-row: 1;
  margin: 0 0 28px;
  padding-right: 46%;
  border-radius: 26px;
}
body[data-theme="yandex"] #main-content .editorial-inline-cover > img.editorial-cover {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  position: relative;
  z-index: 2;
  display: block;
  width: calc(100% - 40px);
  max-width: none;
  height: auto;
  max-height: 360px;
  margin: 0 32px 0 8px;
  padding: 0;
  border-radius: 20px;
  background: transparent;
  object-fit: contain;
  box-shadow: none;
}
body[data-theme="yandex"] #main-content .editorial-inline-cover > :is(nav, section) { grid-column: 1 / -1; }
body[data-theme="yandex"] #main-content .editorial-with-separated-cover > .editorial-header { padding-right: 46%; }
body[data-theme="yandex"] #main-content.editorial-has-separated-cover > .editorial-separated-cover {
  position: absolute;
  z-index: 2;
  top: 82px;
  right: max(64px, calc((100% - 1180px) / 2 + 44px));
  width: min(390px, 33vw);
  margin: 0;
  padding: 0;
  min-height: 0;
  border: 0;
  background: transparent;
}
body[data-theme="yandex"] #main-content .editorial-separated-cover::before,
body[data-theme="yandex"] #main-content .editorial-separated-cover::after { display: none; }
body[data-theme="yandex"] #main-content .editorial-separated-cover .editorial-cover-frame {
  width: 100%;
  max-width: none;
  overflow: hidden;
  margin: 0;
  border: 1px solid #ffffff28;
  border-radius: 20px;
  background: transparent;
  box-shadow: 0 16px 40px #0002;
}
body[data-theme="yandex"] #main-content .editorial-separated-cover img.editorial-cover {
  width: 100%;
  max-width: none;
  height: auto;
  max-height: 360px;
  object-fit: contain;
}
body[data-theme="yandex"] #main-content .editorial-root .page-toc {
  margin: 0 0 28px;
  border: 1px solid #dce4ee;
  border-radius: 18px;
  background: #f4f7fa;
}
body[data-theme="yandex"] #main-content .editorial-root .page-toc > .container { width: 100%; }
body[data-theme="yandex"] #main-content .editorial-case .page-toc {
  width: min(1180px, calc(100% - 40px));
  max-width: 1180px;
  margin: 24px auto 32px;
}
body[data-theme="yandex"] #main-content .editorial-root .page-toc-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body[data-theme="yandex"] #main-content .editorial-root .page-toc-links a { font-size: 14px; line-height: 1.5; }
body[data-theme="yandex"] #main-content .editorial-chapter {
  margin-top: 36px;
  padding: 34px 40px 12px;
  border-top: 1px solid #dce4ee;
}
body[data-theme="yandex"] #main-content .editorial-root .editorial-section-heading {
  max-width: 30ch;
  margin: 0 0 24px;
  padding-bottom: 0;
  border-bottom: 0;
  color: #142238;
  font-size: clamp(28px, 2.7vw, 38px);
  font-weight: 740;
  line-height: 1.23;
  letter-spacing: -.02em;
}
body[data-theme="yandex"] #main-content .editorial-root .editorial-section-heading::after {
  content: "";
  position: static;
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 14px;
  border-radius: 3px;
  background: #d2ac00;
}
body[data-theme="yandex"] #main-content .editorial-root .editorial-subheading {
  margin: 32px 0 14px;
  color: #263a54;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.01em;
}
body[data-theme="yandex"] #main-content .editorial-root p {
  max-width: 74ch;
  margin-bottom: 22px;
  color: #46576e;
  font-size: 18px;
  line-height: 1.75;
}
body[data-theme="yandex"] #main-content .editorial-root .editorial-header p {
  color: #cbd5e4;
  font-size: 19px;
  line-height: 1.7;
}
body[data-theme="yandex"] #main-content .editorial-grid { gap: 18px; }
body[data-theme="yandex"] #main-content .editorial-card {
  min-width: 0;
  padding: 24px;
  border: 1px solid #dce4ee;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px #14223805;
}
body[data-theme="yandex"] #main-content .editorial-card p { max-width: none; font-size: 16px; line-height: 1.75; }
body[data-theme="yandex"] #main-content .editorial-card .editorial-subheading { margin: 0 0 12px; font-size: 20px; }
body[data-theme="yandex"] #main-content .editorial-panel {
  margin-block: 26px;
  padding: 26px 28px;
  border: 1px solid #dce4ee;
  border-radius: 18px;
  background: #f3f6fa;
  box-shadow: none;
}
body[data-theme="yandex"] #main-content .editorial-panel > :first-child { margin-top: 0; }
body[data-theme="yandex"] #main-content .editorial-panel > :last-child { margin-bottom: 0; }
body[data-theme="yandex"] #main-content .editorial-quote {
  margin: 28px 0;
  padding: 24px 28px;
  border: 1px solid #eadb97;
  border-left: 4px solid #d2ac00;
  border-radius: 0 16px 16px 0;
  color: #35455b;
  background: #fff9de;
  font-size: 18px;
  line-height: 1.75;
  box-shadow: none;
}
body[data-theme="yandex"] #main-content .editorial-list { margin-block: 24px; }
body[data-theme="yandex"] #main-content .editorial-list-item {
  margin-block: 12px;
  padding: 16px 20px 16px 44px;
  border: 1px solid #e0e6ee;
  border-radius: 14px;
  background: #f7f9fc;
  color: #46576e;
  font-size: 17px;
  line-height: 1.75;
}
body[data-theme="yandex"] #main-content .editorial-list[class*="__list--numbered"] > .editorial-list-item { padding-left: 58px; }
body[data-theme="yandex"] #main-content .editorial-table-wrap {
  margin-block: 28px;
  overflow-x: auto;
  border: 1px solid #dce4ee;
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
}
body[data-theme="yandex"] #main-content .editorial-table-wrap:focus-visible { outline: 3px solid #d2ac00; outline-offset: 4px; }
body[data-theme="yandex"] #main-content .editorial-table-wrap table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  color: #34465f;
  font-size: 16px;
  line-height: 1.55;
}
body[data-theme="yandex"] #main-content .editorial-table-wrap :is(th, td) { padding: 15px 18px; border-color: #e0e6ee; vertical-align: top; }
body[data-theme="yandex"] #main-content .editorial-table-wrap th { color: #fff; background: #22334b; font-weight: 650; }
body[data-theme="yandex"] #main-content .editorial-table-wrap tbody tr:nth-child(even) { background: #f6f8fb; }
body[data-theme="yandex"] #main-content .editorial-case-fx { max-width: 1120px; margin: 0 auto; padding: 40px 32px; border-radius: 0; }
body[data-theme="yandex"] #main-content .editorial-case-fx > .editorial-section-heading { margin-top: 42px; }
body[data-theme="yandex"] #main-content .editorial-case-fx > .editorial-section-heading:first-child { margin-top: 0; }
body[data-theme="yandex"] #main-content .editorial-case .case-108__section { padding-block: 52px; }
body[data-theme="yandex"] #main-content .editorial-case .editorial-chapter { padding-inline: 0; margin-top: 0; }
body[data-theme="yandex"] #main-content .editorial-case .editorial-header { padding-inline: 0; border-radius: 0; margin-bottom: 0; }
body[data-theme="yandex"] #main-content .editorial-case .case-108__content { max-width: 1020px; }
body[data-theme="yandex"] #main-content .editorial-case .case-108__stat-value { font-size: clamp(26px, 3vw, 38px); line-height: 1.15; color: #142238; }
body[data-theme="yandex"] #main-content .editorial-case .case-108__stat-label { color: #596a81; line-height: 1.5; }
body[data-theme="yandex"] #main-content .editorial-case .case-108__button { min-height: 52px; padding: 15px 22px; border-radius: 12px; color: #142238!important; background: #ffd400; box-shadow: none; }
body[data-theme="yandex"] #main-content .editorial-case .case-108__cta p { color: #cbd5e4; }
body[data-theme="yandex"] #main-content .editorial-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 24px; }
@media (max-width: 1100px) {
  body[data-theme="yandex"] #main-content .editorial-longform { width: calc(100% - 32px); }
  body[data-theme="yandex"] #main-content .editorial-inline-cover { display: block; }
  body[data-theme="yandex"] #main-content .editorial-inline-cover > img.editorial-cover {
    width: calc(100% - 44px);
    height: auto;
    max-height: 270px;
    margin: 22px 22px 0;
    padding: 0;
    border-radius: 16px;
    background: transparent;
    box-shadow: 0 0 0 22px #0f1827;
    object-fit: contain;
  }
  body[data-theme="yandex"] #main-content .editorial-inline-cover > .editorial-header { padding: 30px 28px; border-radius: 0 0 24px 24px; }
  body[data-theme="yandex"] #main-content .editorial-with-separated-cover > .editorial-header { padding: 30px 28px; }
  body[data-theme="yandex"] #main-content.editorial-has-separated-cover > .editorial-separated-cover {
    position: static;
    width: 100%;
    margin: 0;
    padding: 22px 22px 0;
    background: #0f1827;
  }
  body[data-theme="yandex"] #main-content .editorial-separated-cover .editorial-cover-frame { width: min(420px, 100%); margin-inline: auto; }
  body[data-theme="yandex"] #main-content .editorial-separated-cover img.editorial-cover { max-height: 270px; }
  body[data-theme="yandex"] #main-content .editorial-with-separated-cover { width: 100%; margin-top: 0; }
  body[data-theme="yandex"] #main-content .editorial-with-separated-cover > .editorial-header { margin-top: 0; border-radius: 0 0 24px 24px; }
  body[data-theme="yandex"] #main-content .editorial-header { padding: 36px; }
  body[data-theme="yandex"] #main-content .editorial-title { font-size: 40px; }
  body[data-theme="yandex"] #main-content .editorial-chapter { padding-inline: 28px; }
  body[data-theme="yandex"] #main-content .editorial-longform .editorial-header::after { display: none; }
}
@media (max-width: 640px) {
  body[data-theme="yandex"] #main-content .editorial-longform { margin-top: 18px; }
  body[data-theme="yandex"] #main-content .editorial-with-separated-cover { margin-top: 0; }
  body[data-theme="yandex"] #main-content .editorial-title { font-size: 32px; line-height: 1.17; }
  body[data-theme="yandex"] #main-content .editorial-header,
  body[data-theme="yandex"] #main-content .editorial-inline-cover > .editorial-header,
  body[data-theme="yandex"] #main-content .editorial-with-separated-cover > .editorial-header { padding: 26px 22px 30px; }
  body[data-theme="yandex"] #main-content .editorial-root .editorial-header p { font-size: 17px; line-height: 1.75; }
  body[data-theme="yandex"] #main-content .editorial-root .page-toc-links { grid-template-columns: minmax(0, 1fr); }
  body[data-theme="yandex"] #main-content .editorial-chapter { margin-top: 26px; padding: 26px 20px 8px; }
  body[data-theme="yandex"] #main-content .editorial-root .editorial-section-heading { font-size: 27px; line-height: 1.25; }
  body[data-theme="yandex"] #main-content .editorial-root .editorial-subheading { font-size: 21px; margin-top: 28px; }
  body[data-theme="yandex"] #main-content .editorial-root p { font-size: 17px; line-height: 1.8; }
  body[data-theme="yandex"] #main-content .editorial-card { padding: 20px; }
  body[data-theme="yandex"] #main-content .editorial-card p { font-size: 16px; }
  body[data-theme="yandex"] #main-content .editorial-panel, body[data-theme="yandex"] #main-content .editorial-quote { padding: 22px 20px; }
  body[data-theme="yandex"] #main-content .editorial-list-item { padding: 16px 18px 16px 40px; font-size: 16px; }
  body[data-theme="yandex"] #main-content .editorial-table-wrap :is(th, td) { padding: 13px 14px; font-size: 14px; }
  body[data-theme="yandex"] #main-content .editorial-case-fx { padding: 28px 22px; }
  body[data-theme="yandex"] #main-content .editorial-case .case-108__section { padding-block: 38px; }
}

/* Generic authored bodies only. Header, shared tail, native families and home
   are not selected. Media keeps its full content, including UI screenshots. */
body[data-theme="yandex"] .gp-section {
  padding-block: clamp(52px, 6vw, 84px);
  color: #172337;
}
body[data-theme="yandex"] .gp-section.gp-light-white { background: #fff; }
body[data-theme="yandex"] .gp-section.gp-light-paper { background: #f3f6fa; }
body[data-theme="yandex"] .gp-section.section-dark { color: #f7f9fc; }
body[data-theme="yandex"] .gp-section > .container { min-width: 0; }
body[data-theme="yandex"] .gp-section .section-intro {
  margin-bottom: 30px;
  max-width: 860px;
}
body[data-theme="yandex"] .gp-section .section-heading {
  text-wrap: pretty;
  overflow-wrap: anywhere;
}
body[data-theme="yandex"] .gp-section h1.section-heading {
  max-width: 27ch;
  font-size: clamp(38px, 4.1vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.035em;
}
body[data-theme="yandex"] .gp-section .section-heading:not(h1) {
  max-width: 34ch;
  font-size: clamp(29px, 3vw, 40px);
  font-weight: 760;
  line-height: 1.16;
  letter-spacing: -.026em;
}
body[data-theme="yandex"] .gp-section .gp-copy {
  width: 100%;
  max-width: 740px;
  font-size: 17px;
  line-height: 1.8;
  color: #37465a;
  overflow-wrap: anywhere;
}
body[data-theme="yandex"] .gp-section.section-dark .gp-copy { color: #d2dbe8; }
body[data-theme="yandex"] .gp-section .gp-copy :is(h2,h3,h4,strong) { color: #162235; }
body[data-theme="yandex"] .gp-section.section-dark .gp-copy :is(h2,h3,h4,strong) { color: #fff; }
body[data-theme="yandex"] .gp-section .gp-copy :is(p,ul,ol) { margin-block: 0 1.25em; }
body[data-theme="yandex"] .gp-section .gp-copy :is(h2,h3,h4) { margin-block: 1.5em .7em; line-height: 1.28; }
body[data-theme="yandex"] .gp-section .gp-list { padding-left: 1.4em; }
body[data-theme="yandex"] .gp-section .gp-list li { padding-left: .3em; margin-block: .7em; }
body[data-theme="yandex"] .gp-section .gp-list li::marker { color: #8a6b00; font-weight: 750; }
body[data-theme="yandex"] .gp-section.section-dark .gp-list li::marker { color: #ffd400; }
body[data-theme="yandex"] .gp-section .gp-card-grid { gap: 22px; align-items: stretch; }
body[data-theme="yandex"] .gp-section .gp-feature-card {
  border: 1px solid #dbe3ee;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 32px #0f182707;
  padding: clamp(24px, 2.4vw, 32px);
  min-width: 0;
  transition: border-color .18s ease, box-shadow .18s ease;
}
body[data-theme="yandex"] .gp-section .gp-feature-card :is(h2,h3,h4) {
  color: #152237;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.26;
  letter-spacing: -.015em;
}
body[data-theme="yandex"] .gp-section .gp-feature-card .copy { color: #37465a; }
body[data-theme="yandex"] .gp-section .gp-feature-card .copy strong { color: #152237; }
body[data-theme="yandex"] .gp-section .gp-feature-card .media { background: transparent; }
body[data-theme="yandex"] .gp-section .gp-media-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
  margin-block: 12px 24px;
  width: 100%;
}
body[data-theme="yandex"] .gp-section .gp-media-gallery .gp-gallery-item {
  margin: 0;
  min-width: 0;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #dbe3ee;
  overflow: hidden;
}
body[data-theme="yandex"] .gp-section .gp-gallery-item :is(a,img) { display: block; width: 100%; }
body[data-theme="yandex"] .gp-section .gp-gallery-item img {
  height: auto;
  max-height: 440px;
  object-fit: contain;
  background: #fff;
}
body[data-theme="yandex"] .gp-section .gp-table-scroll {
  border: 1px solid #dbe3ee;
  border-radius: 20px;
  background: #fff;
  margin-block: 16px 26px;
  box-shadow: 0 10px 30px #0f182705;
}
body[data-theme="yandex"] .gp-section .gp-table { color: #26354a; line-height: 1.55; }
body[data-theme="yandex"] .gp-section .gp-table :is(th,td) { padding: 18px 20px; border-color: #e4e9f0; }
body[data-theme="yandex"] .gp-section .gp-table th { background: #edf2f8; color: #172337; font-weight: 750; }
body[data-theme="yandex"] .gp-section .gp-table tbody tr:nth-child(even) td { background: #f8fafc; }
body[data-theme="yandex"] .gp-section .gp-question-item {
  border: 1px solid #dbe3ee;
  border-radius: 20px;
  background: #fff;
  color: #172337;
  margin-bottom: 14px;
}
body[data-theme="yandex"] .gp-section .gp-question-item[open] { border-color: #b49a20; box-shadow: 0 10px 26px #0f182707; }
body[data-theme="yandex"] .gp-section .gp-question-item .question-toggle { padding: 24px; color: #172337; }
body[data-theme="yandex"] .gp-section .gp-question-item .question-title { color: #172337; font-size: 20px; line-height: 1.4; }
body[data-theme="yandex"] .gp-section .gp-question-item .question-answer { padding: 0 24px 24px; color: #37465a; line-height: 1.8; }
body[data-theme="yandex"] .gp-section .gp-question-item .question-answer :is(.copy,strong) { color: #26354a; }

/* The original interview stays in its source section; prose becomes a
   readable document surface instead of an entire screen of wide grey text. */
body[data-theme="yandex"] .gp-section.gp-interview-section {
  color: #172337;
  background: #f3f6fa;
  background-image: none;
}
body[data-theme="yandex"] .gp-interview-section > .container { max-width: 1000px; }
body[data-theme="yandex"] .gp-interview-section .gp-interview-flow { gap: 0; align-items: stretch; width: 100%; }
body[data-theme="yandex"] .gp-interview-section :is(.gp-interview-intro,.gp-interview-panel) { width: 100%; max-width: 100%; }
body[data-theme="yandex"] .gp-interview-intro {
  padding: clamp(30px, 4vw, 52px);
  border-radius: 28px 28px 0 0;
  background: #0f1827;
  color: #fff;
}
body[data-theme="yandex"] .gp-interview-intro h1.section-heading { max-width: 30ch; font-size: clamp(34px, 3.6vw, 48px); }
body[data-theme="yandex"] .gp-interview-intro .copy { margin-top: 24px; color: #d2dbe8; }
body[data-theme="yandex"] .gp-interview-panel {
  padding: clamp(26px, 4vw, 52px);
  border: 1px solid #dbe3ee;
  border-top: 0;
  border-radius: 0 0 28px 28px;
  background: #fff;
  box-shadow: 0 18px 44px #0f182708;
}
body[data-theme="yandex"] .gp-section.gp-interview-section .gp-interview-panel .gp-interview-prose {
  margin-inline: 0;
  max-width: 720px;
  color: #334155;
  font-size: 18px;
  line-height: 1.9;
}
body[data-theme="yandex"] .gp-section.gp-interview-section .gp-interview-panel .gp-interview-prose :is(h2,h3,h4,strong) { color: #152237; }
body[data-theme="yandex"] .gp-section.gp-interview-section .gp-interview-panel .gp-interview-prose a { color: #725900; text-decoration-thickness: 1px; text-underline-offset: 4px; }
@media (hover: hover) {
  body[data-theme="yandex"] .gp-section .gp-feature-card:has(a):hover { border-color: #a8b7ca; box-shadow: 0 14px 36px #0f182710; }
}
@media (max-width: 760px) {
  body[data-theme="yandex"] .gp-section { padding-block: 44px; }
  body[data-theme="yandex"] .gp-section h1.section-heading { max-width: 100%; font-size: clamp(30px, 8.4vw, 40px); line-height: 1.13; }
  body[data-theme="yandex"] .gp-section .section-heading:not(h1) { font-size: clamp(26px, 7.2vw, 34px); line-height: 1.2; }
  body[data-theme="yandex"] .gp-section .section-intro { margin-bottom: 24px; }
  body[data-theme="yandex"] .gp-section .gp-copy { font-size: 16px; line-height: 1.8; }
  body[data-theme="yandex"] .gp-section .gp-card-grid { gap: 16px; }
  body[data-theme="yandex"] .gp-section .gp-feature-card { padding: 24px; border-radius: 20px; }
  body[data-theme="yandex"] .gp-section .gp-media-gallery { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  body[data-theme="yandex"] .gp-section .gp-gallery-item img { max-height: none; }
  body[data-theme="yandex"] .gp-section .gp-table :is(th,td) { padding: 14px 16px; }
  body[data-theme="yandex"] .gp-section .gp-question-item .question-toggle { padding: 20px; }
  body[data-theme="yandex"] .gp-section .gp-question-item .question-title { font-size: 18px; }
  body[data-theme="yandex"] .gp-section .gp-question-item .question-answer { padding: 0 20px 22px; }
  body[data-theme="yandex"] .gp-interview-intro { padding: 28px 22px; border-radius: 22px 22px 0 0; }
  body[data-theme="yandex"] .gp-interview-panel { padding: 28px 22px; border-radius: 0 0 22px 22px; }
  body[data-theme="yandex"] .gp-section.gp-interview-section .gp-interview-panel .gp-interview-prose { font-size: 16px; line-height: 1.85; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-theme="yandex"] .gp-section .gp-feature-card { transition: none; }
}

/* Shared shell: calm surfaces, readable hierarchy and deliberate spacing.
   The restored presentation inside /about/ is outside these selectors. */
body[data-theme="yandex"] .site-header {
  box-shadow: 0 4px 22px #0f182708;
}
body[data-theme="yandex"] .site-nav details > ul {
  padding: 10px;
  border-radius: 18px;
}
body[data-theme="yandex"] .site-nav details > ul a {
  min-height: 46px;
  padding: 12px 14px;
  line-height: 1.4;
}
body[data-theme="yandex"] .section:is(.shared-support,.shared-work,.shared-about,.shared-lead) {
  padding-block: 80px;
}
body[data-theme="yandex"] .shared-heading {
  margin-bottom: 34px;
}
body[data-theme="yandex"] .shared-grid {
  gap: 22px;
}
body[data-theme="yandex"] .shared-card {
  padding: 28px;
  gap: 18px;
  border-radius: 20px;
}
body[data-theme="yandex"] .shared-card h3 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 720;
  letter-spacing: -.02em;
}
body[data-theme="yandex"] .shared-card .copy {
  color: #526179;
  line-height: 1.7;
}
body[data-theme="yandex"] .shared-work .shared-card {
  background: #192333;
  border-color: #ffffff20;
}
body[data-theme="yandex"] .shared-work .shared-card .copy {
  color: #c7d0de;
}
body[data-theme="yandex"] .shared-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
}
body[data-theme="yandex"] .shared-icon .ui-icon {
  width: 24px;
  height: 24px;
}
body[data-theme="yandex"] .shared-support .shared-card {
  padding: 30px;
  box-shadow: 0 6px 24px #77642404;
}
body[data-theme="yandex"] .shared-support .shared-card .copy {
  color: #354459;
}
body[data-theme="yandex"] .shared-lead-layout {
  grid-template-columns: 1.08fr .92fr;
  align-items: stretch;
  gap: 28px;
}
body[data-theme="yandex"] .shared-lead-copy {
  display: flex;
  flex-direction: column;
  padding: 38px;
  border-radius: 24px;
}
body[data-theme="yandex"] .shared-lead-copy .shared-messengers {
  margin-top: auto;
  padding-top: 26px;
}
body[data-theme="yandex"] .shared-lead-copy > .copy {
  margin-bottom: 32px;
}
body[data-theme="yandex"] .shared-lead-copy .messenger-links {
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
}
body[data-theme="yandex"] .shared-lead-copy .messenger-link {
  justify-content: center;
  flex-direction: column;
  min-height: 82px;
  padding: 14px 8px;
  gap: 8px;
  font-size: 14px;
  border-radius: 13px;
}
body[data-theme="yandex"] .shared-lead-copy .messenger-icon {
  width: 26px;
  height: 26px;
}
body[data-theme="yandex"] .shared-form-card {
  padding: 32px;
  box-shadow: 0 10px 34px #1e3b5e05;
}
body[data-theme="yandex"] .shared-form-card h3.copy {
  font-size: 26px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -.02em;
}
body[data-theme="yandex"] .shared-form-card .form-field label {
  font-size: 14px;
}
body[data-theme="yandex"] .shared-form-card .form-field :is(input:not([type="checkbox"]),select,textarea) {
  border-color: #8594a8;
  border-radius: 12px;
}
body[data-theme="yandex"] .studio-banner {
  margin-bottom: 28px;
  border-radius: 24px;
}
body[data-theme="yandex"] .site-footer {
  padding-top: 64px;
}
body[data-theme="yandex"] .footer-top {
  gap: 44px;
}
body[data-theme="yandex"] .footer-groups {
  gap: 30px;
}
body[data-theme="yandex"] .footer-group a {
  padding-block: 7px;
  line-height: 1.55;
}
body[data-theme="yandex"] .footer-bottom {
  color: #a7b6ca;
}
@media (max-width:980px) {
  body[data-theme="yandex"] .shared-lead-layout { grid-template-columns: minmax(0,1fr); }
  body[data-theme="yandex"] .shared-lead-copy .shared-messengers { margin-top: 0; }
  body[data-theme="yandex"] .site-nav details > ul { padding: 8px 12px; }
  body[data-theme="yandex"] .shared-support .shared-card { padding: 26px; }
  body[data-theme="yandex"] .footer-groups { gap: 24px; }
}
@media (max-width:640px) {
  body[data-theme="yandex"] .section:is(.shared-support,.shared-work,.shared-about,.shared-lead) { padding-block: 52px; }
  body[data-theme="yandex"] .shared-heading { margin-bottom: 26px; }
  body[data-theme="yandex"] .shared-grid { gap: 16px; }
  body[data-theme="yandex"] .shared-card,
  body[data-theme="yandex"] .shared-support .shared-card { padding: 24px; gap: 18px; }
  body[data-theme="yandex"] .shared-card h3 { font-size: 21px; }
  body[data-theme="yandex"] .shared-lead-copy,
  body[data-theme="yandex"] .shared-form-card { padding: 26px 22px; border-radius: 22px; }
  body[data-theme="yandex"] .shared-form-card h3.copy { font-size: 24px; }
  body[data-theme="yandex"] .shared-lead-copy .messenger-links { grid-template-columns: minmax(0,1fr); }
  body[data-theme="yandex"] .shared-lead-copy .messenger-link { flex-direction: row; justify-content: flex-start; min-height: 58px; padding: 14px 18px; font-size: 16px; gap: 14px; }
  body[data-theme="yandex"] .site-footer { padding-top: 44px; }
  body[data-theme="yandex"] .footer-top { gap: 30px; }
  body[data-theme="yandex"] .footer-group a { min-height: 44px; }
}

/* Retain the approved homepage sequence and the complete article catalogue. */
body[data-theme="yandex"].page-home .hero { padding-block: 60px 58px; }
body[data-theme="yandex"].page-home .home-hero-layout { gap: 54px; }
body[data-theme="yandex"].page-home .hero-copy .hero-actions { margin-top: 28px; }
body[data-theme="yandex"].page-home .hero-exclusive { margin-top: 26px; }
body[data-theme="yandex"].page-home .hero-case-card { box-shadow: 0 18px 48px #0002; }
body[data-theme="yandex"].page-home .hero-case-body { padding: 26px 28px; }
body[data-theme="yandex"].page-home .section:not(.hero):not(.home-story):not(.home-gallery):not(.shared-support):not(.shared-work):not(.shared-about):not(.shared-lead) { padding-block: 76px; }
body[data-theme="yandex"].page-home .service-card { padding: 26px; gap: 16px; }
body[data-theme="yandex"].page-home .service-card > a:not(.button) { margin-top: auto; border-top: 1px solid #e5e9ef; padding-top: 12px; width: 100%; justify-content: space-between; }
body[data-theme="yandex"].page-home .home-cases .case-card { min-height: 320px; }
body[data-theme="yandex"].page-home .home-cases .case-card h3.copy { letter-spacing: -.02em; }
body[data-theme="yandex"].page-home .home-story .section-heading { text-wrap: balance; }
body[data-theme="yandex"].page-blog .hero { padding-block: 56px; }
body[data-theme="yandex"].page-blog .hero .section-heading { font-size: clamp(42px,4.5vw,64px); max-width: 22ch; }
body[data-theme="yandex"].page-blog .blog-tools { margin-top: 32px; margin-bottom: 30px; gap: 16px; }
body[data-theme="yandex"].page-blog .blog-card { border-radius: 20px; }
body[data-theme="yandex"].page-blog .blog-card-body { gap: 16px; padding: 26px; }
body[data-theme="yandex"].page-blog .blog-card-body :is(h2,h3) { font-size: 23px; font-weight: 730; line-height: 1.3; text-wrap: balance; }
body[data-theme="yandex"].page-blog .blog-card-body p { color: #526179; line-height: 1.7; }
body[data-theme="yandex"].page-blog .blog-card-body .blog-card-link { width: 100%; justify-content: space-between; border-top: 1px solid #e5e9ef; padding-top: 14px; }
body[data-theme="yandex"].page-blog .blog-card-type { font-size: 11px; font-weight: 750; padding: 5px 9px; border-radius: 7px; }
body[data-theme="yandex"].page-blog .blog-filters { gap: 8px; }
body[data-theme="yandex"].page-blog .pinned-grid .blog-card-featured .blog-card-body { padding: 30px; }
body[data-theme="yandex"].page-blog .pinned-grid .blog-card-featured :is(h2,h3) { font-size: clamp(27px,2.3vw,32px); }
@media (max-width:980px) {
  body[data-theme="yandex"].page-home .home-hero-layout { gap: 36px; }
}
@media (max-width:640px) {
  body[data-theme="yandex"].page-home .hero { padding-block: 40px 44px; }
  body[data-theme="yandex"].page-home .hero-copy { text-align: center; }
  body[data-theme="yandex"].page-home .hero-exclusive { justify-content: center; margin-top: 22px; font-size: 15px; }
  body[data-theme="yandex"].page-home .hero-copy .hero-actions { margin-top: 24px; gap: 12px; }
  body[data-theme="yandex"].page-home .hero-case-body { padding: 22px; }
  body[data-theme="yandex"].page-home .section:not(.hero):not(.home-story):not(.home-gallery):not(.shared-support):not(.shared-work):not(.shared-about):not(.shared-lead) { padding-block: 52px; }
  body[data-theme="yandex"].page-home .service-card { padding: 22px; gap: 14px; }
  body[data-theme="yandex"].page-home .home-cases .case-card { min-height: 290px; }
  body[data-theme="yandex"].page-blog .hero { padding-block: 40px 44px; }
  body[data-theme="yandex"].page-blog .hero .section-heading { font-size: 36px; }
  body[data-theme="yandex"].page-blog .blog-card-body,
  body[data-theme="yandex"].page-blog .pinned-grid .blog-card-featured .blog-card-body { padding: 24px; }
  body[data-theme="yandex"].page-blog .blog-card-body :is(h2,h3) { font-size: 23px; }
  body[data-theme="yandex"].page-blog .pinned-grid .blog-card-featured :is(h2,h3) { font-size: 26px; }
}
