/*
Theme Name: overall-blog
Description: A clean and modern theme
Version: 1.4
*/

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('fonts/playfair-display-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('fonts/playfair-display-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('fonts/playfair-display-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('fonts/source-sans-3-cyrillic-ext.woff2') format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('fonts/source-sans-3-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('fonts/source-sans-3-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('fonts/source-sans-3-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --brand-color: hsl(25, 50%, 32%);
    --brand-dark: hsl(25, 50%, 17%);
    --brand-light: hsl(25, 30%, 85%);
    --accent-color: hsl(55, 50%, 42%);
    --accent-hover: hsl(55, 50%, 37%);
    --bg-main: #ffffff;
    --bg-alt: #f7f8fa;
    --text-main: #1a1a1a;
    --text-muted: #666666;
    --border-color: #e2e2e2;
    --card-bg: #ffffff;
    --ff-body: 'Source Sans 3', 'Georgia', serif;
    --ff-heading: 'Playfair Display', 'Times New Roman', serif;
    --radius: 2px;
    --shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
    --shadow-hover: 0 6px 20px rgba(0,0,0,0.07);
    --border-w: 1px;
    --container: 1200px;
    --gutter: 20px;
    --transition: 0.25s ease;
    /* Cross-set CSS variable aliases */
    --color-primary: var(--brand-color);
    --color-primary-dark: var(--brand-dark);
    --color-primary-light: var(--brand-light);
    --color-accent: var(--accent-color);
    --color-accent-hover: var(--accent-hover);
    --color-bg: var(--bg-main);
    --color-bg-alt: var(--bg-alt);
    --color-text: var(--text-main);
    --color-text-light: var(--text-muted);
    --color-border: var(--border-color);
    --color-card: var(--card-bg);
    --font-main: var(--ff-body);
    --font-head: var(--ff-heading);
    --clr-main: var(--brand-color);
    --clr-main-dark: var(--brand-dark);
    --clr-main-light: var(--brand-light);
    --clr-accent: var(--accent-color);
    --clr-accent-hover: var(--accent-hover);
    --clr-surface: var(--bg-main);
    --clr-surface-alt: var(--bg-alt);
    --clr-body: var(--text-main);
    --clr-body-light: var(--text-muted);
    --clr-border: var(--border-color);
    --clr-card: var(--card-bg);
    --type-body: var(--ff-body);
    --type-heading: var(--ff-heading);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6, p, li, td, th, a, span, div { overflow-wrap: break-word; word-break: break-word; }
/* Guard: off-screen decorative/animation content (marquee tracks, hero glows, wide nav)
   must never create page-level horizontal scroll on narrow screens. clip (not hidden)
   keeps position:sticky working and doesn't create a scroll container. */
html { overflow-x: clip; }

body {
    background: var(--bg-main);
    color: var(--text-main);
    font-family: var(--ff-body);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ff-heading);
    font-weight: 900;
    color: var(--brand-dark);
    line-height: 1.15;
    margin-bottom: 0.75rem;
    letter-spacing: 0;
    text-wrap: balance;
}
h1 { font-size: clamp(1.86rem, 3.7vw + 0.74rem, 3.49rem); }
h2 { font-size: clamp(1.35rem, 2.7vw + 0.54rem, 2.48rem); }
h3 { font-size: clamp(1.23rem, 1.6vw + 0.49rem, 1.61rem); }
h4 { font-size: clamp(0.92rem, 1.1vw + 0.37rem, 1.15rem); }
h5 { font-size: clamp(1.02rem, 1.1vw + 0.41rem, 1.18rem); }
h6 { font-size: clamp(0.82rem, 0.8vw + 0.33rem, 0.97rem); }

p { margin-bottom: 1rem; }

a { color: var(--brand-color); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-color); }

/* === Layout === */
.ft-dock-250f {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

/* === Section wrapper === */
.sec-b1145 {
    padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}
.sec-b1145 > .ft-dock-250f > h2 { text-align: center; margin-bottom: 0.5rem; }
.sec-b1145 > .ft-dock-250f > .section-desc { margin-bottom: 2rem; }

/* === Background alternation for dense feel === */
/* Specificity intentionally low — :where() resets to 0 so section classes always win */
:where(main) > :where(section):nth-child(even) { background: var(--bg-alt); }
:where(main) > :where(section):nth-child(odd) { background: var(--bg-main); }

/* === Section subtitle helper === */
.section-desc {
    text-align: center;
    color: var(--text-muted);
    max-width: 640px;
    margin: -0.25rem auto 1.75rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* === Section padding (base for content sections) === */
main > section { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }

/* === Top Bar === */
.cmp-card-09aed6 {
    background: var(--brand-dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    padding: 6px 0;
}
.cmp-card-09aed6 .ft-dock-250f { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cmp-card-09aed6 a { color: rgba(255,255,255,0.85); }
.cmp-card-09aed6 a:hover { color: #fff; }

/* === Header === */
.el-rail-5a7f43 {
    background: var(--brand-dark);
    color: #fff;
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.el-rail-5a7f43 .ft-dock-250f { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.el-rail-5a7f43__brandbox { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; min-width: 0; }
.el-rail-5a7f43__logo { max-height: 44px; width: auto; }
.el-rail-5a7f43__brandbox img { max-height: 44px; width: auto; height: auto; } /* cap any opt-in raster logo (no oversized custom-logo) */
.el-rail-5a7f43__brandbox-name { font-family: var(--ff-heading); font-weight: 900; font-size: 1.25rem; color: #fff; overflow-wrap: break-word; word-break: break-word; }
.el-rail-5a7f43__row-brand .el-rail-5a7f43__brandbox-name { color: var(--text-main); }
/* === Brand monogram (CSS mark — no raster, header-foreground-aware) === */
.el-rail-5a7f43__lettermark { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 auto; font-family: var(--ff-heading); font-weight: 800; font-size: calc(44px * 0.46); line-height: 1; letter-spacing: -0.02em; color: #fff; }
/* solid shapes — accent chip + inherited white glyph (mirrors the proven __cta colours, legible on every header) */
.el-rail-5a7f43__lettermark--rounded { background: var(--accent-color); border-radius: 9px; }
.el-rail-5a7f43__lettermark--circle { background: var(--accent-color); border-radius: 50%; }
.el-rail-5a7f43__lettermark--squircle { background: var(--accent-color); border-radius: 32% / 42%; }
.el-rail-5a7f43__lettermark--square { background: var(--accent-color); border-radius: 3px; }
.el-rail-5a7f43__lettermark--hex { background: var(--accent-color); clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0 50%); }
/* outline shapes — currentColor, transparent (flip with the header text colour) */
.el-rail-5a7f43__lettermark--ring { border: 2px solid currentColor; border-radius: 50%; }
.el-rail-5a7f43__lettermark--outline { border: 2px solid currentColor; border-radius: 9px; }
.el-rail-5a7f43--white .el-rail-5a7f43__lettermark--ring, .el-rail-5a7f43--white .el-rail-5a7f43__lettermark--outline,
.el-rail-5a7f43__row-brand .el-rail-5a7f43__lettermark--ring, .el-rail-5a7f43__row-brand .el-rail-5a7f43__lettermark--outline { color: var(--text-main); }
/* wordmark accent treatments — small brand-colour pops */
.el-rail-5a7f43__brandbox-name--dot::after { content: '.'; color: var(--accent-color); }
.el-rail-5a7f43__brandbox-name--underline { border-bottom: 2px solid var(--accent-color); padding-bottom: 1px; }
.el-rail-5a7f43__brandbox-name--accent-first::first-letter { color: var(--accent-color); }
.el-rail-5a7f43__brandbox-name--bracket::before { content: '['; color: var(--accent-color); margin-right: 2px; }
.el-rail-5a7f43__brandbox-name--bracket::after { content: ']'; color: var(--accent-color); margin-left: 2px; }
/* Nav wraps INSIDE the header row: without flex-wrap here a long (foreign-language)
   menu overflowed and pushed __controls onto an orphaned second line (operator report
   2026-07-24). min-width:0 lets it shrink instead of forcing the parent to wrap. */
.el-rail-5a7f43__topnav { display: flex; gap: 1.25rem; list-style: none; align-items: center; flex: 0 1 auto; flex-wrap: wrap; min-width: 0; }
.el-rail-5a7f43__topnav li { display: flex; align-items: center; list-style: none; }
.el-rail-5a7f43__topnav a { color: rgba(255,255,255,0.85); font-weight: 500; font-size: 0.95rem; white-space: nowrap; }
.el-rail-5a7f43__topnav a:hover { color: #fff; }
.el-rail-5a7f43__topnav a.current-menu-item { opacity: 1; color: #fff; }


.el-rail-5a7f43__topnav > a + a { margin-left: 1.25rem; }

.el-rail-5a7f43__controls { display: flex; align-items: center; gap: 1rem; margin-left: auto; flex-shrink: 0; }
.el-rail-5a7f43__phone a { color: #fff; font-weight: 600; font-size: 1.05rem; white-space: nowrap; }
.el-rail-5a7f43__phone a:hover { color: var(--accent-color); }
.el-rail-5a7f43__cta {
    display: inline-block;
    padding: 8px 20px;
    background: var(--accent-color);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    white-space: nowrap;
    transition: background var(--transition), transform var(--transition);
}
.el-rail-5a7f43__cta:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); }
.el-rail-5a7f43__burger { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; padding: 4px 8px; }

/* === Header white variant (portal / hh.ru style) === */
.el-rail-5a7f43--white { background: var(--bg-main); color: var(--text-main); border-bottom: 1px solid var(--border-color); box-shadow: none; }
.el-rail-5a7f43--white .el-rail-5a7f43__brandbox-name { color: var(--text-main); }
.el-rail-5a7f43--white .el-rail-5a7f43__topnav a { color: var(--text-main); opacity: 0.75; }
.el-rail-5a7f43--white .el-rail-5a7f43__topnav a:hover { color: var(--brand-color); opacity: 1; }
.el-rail-5a7f43--white .el-rail-5a7f43__phone a { color: var(--text-main); }
.el-rail-5a7f43--white .el-rail-5a7f43__burger { color: var(--text-main); }

/* === Primary nav submenu (dropdown navMode) === */
.el-rail-5a7f43__topnav li { position: relative; }
.el-rail-5a7f43__topnav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 200px; max-width: 320px; background: var(--color-bg, #fff); border: 1px solid var(--color-border, #e5e5e5); box-shadow: 0 8px 24px rgba(0,0,0,0.1); border-radius: 4px; padding: 0.5rem 0; z-index: 100; list-style: none; }
/* reveal on hover AND keyboard focus (WCAG); caret affordance only on items that have children */
.el-rail-5a7f43__topnav li:hover > .sub-menu, .el-rail-5a7f43__topnav li:focus-within > .sub-menu { display: block; }
.el-rail-5a7f43__topnav .menu-item-has-children > a::after { content: '\00a0\25be'; font-size: 0.7em; opacity: 0.65; }
.el-rail-5a7f43__topnav .sub-menu li { max-width: none; }
/* wrap, don't clip: long labels (deploy builds them from page titles) must stay readable */
.el-rail-5a7f43__topnav .sub-menu a { display: block; padding: 0.4rem 1rem; color: var(--color-text, #333); font-size: 0.88rem; white-space: normal; line-height: 1.35; }
.el-rail-5a7f43__topnav .sub-menu a:hover { background: var(--color-bg-alt, #f5f5f5); color: var(--brand-color); }

/* === Secondary Nav === */
.el-rail-5a7f43__sec-nav {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border-color);
    padding: 0.4rem 0;
    font-size: 0.9rem;
}
.el-rail-5a7f43__sec-links { display: flex; gap: 1.25rem; list-style: none; flex-wrap: wrap; justify-content: center; }
.el-rail-5a7f43__sec-links li { list-style: none; max-width: 220px; }
.el-rail-5a7f43__sec-links a { color: var(--text-main); font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; }
.el-rail-5a7f43__sec-links a:hover { color: var(--brand-color); }
.el-rail-5a7f43__sec-nav--inline-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 0.3rem 0; scrollbar-width: none; -ms-overflow-style: none; }
.el-rail-5a7f43__sec-nav--inline-scroll::-webkit-scrollbar { display: none; }
.el-rail-5a7f43__sec-nav--inline-scroll .el-rail-5a7f43__sec-links { flex-wrap: nowrap; gap: 0; justify-content: flex-start; font-size: 0.78rem; }
.el-rail-5a7f43__sec-nav--inline-scroll .el-rail-5a7f43__sec-links li { max-width: none; white-space: nowrap; }
.el-rail-5a7f43__sec-nav--inline-scroll .el-rail-5a7f43__sec-links li + li::before { content: '|'; color: var(--border-color); margin: 0 0.6rem; font-weight: 300; }
.el-rail-5a7f43__sec-nav--inline-scroll .el-rail-5a7f43__sec-links a { display: inline; -webkit-line-clamp: unset; font-weight: 400; font-size: 0.78rem; }

/* === Header: agency-dark (ingest wpnew.ru — 2-tier dark, accent = --color-primary) === */
.el-rail-5a7f43--agency-dark { background: #181818; color: #fff; }
.el-rail-5a7f43--agency-dark .el-rail-5a7f43__row-brand > .ft-dock-250f { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1rem 0; }
.el-rail-5a7f43--agency-dark .el-rail-5a7f43__brandbox-group { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.el-rail-5a7f43--agency-dark .el-rail-5a7f43__brandbox, .el-rail-5a7f43--agency-dark .el-rail-5a7f43__brandbox * { color: #fff; }
.el-rail-5a7f43--agency-dark .el-rail-5a7f43__slogan { font-size: 0.78rem; color: #9a9a9a; max-width: 230px; line-height: 1.35; border-left: 1px solid rgba(255,255,255,0.16); padding-left: 1rem; }
.el-rail-5a7f43--agency-dark .el-rail-5a7f43__controls { display: flex; align-items: center; gap: 1.4rem; flex-shrink: 0; }
.el-rail-5a7f43--agency-dark .el-rail-5a7f43__phone a { color: #fff; font-weight: 600; font-size: 1.05rem; }
.el-rail-5a7f43--agency-dark .el-rail-5a7f43__cta { color: #fff; font-weight: 700; background: none; padding: 0; border: 0; }
.el-rail-5a7f43--agency-dark .el-rail-5a7f43__cta::before { content: '+ '; color: var(--brand-color); }
.el-rail-5a7f43--agency-dark .el-rail-5a7f43__row-nav { border-top: 1px solid rgba(255,255,255,0.08); }
.el-rail-5a7f43--agency-dark .el-rail-5a7f43__row-nav > .ft-dock-250f { padding: 0; }
/* `> ul` only: a descendant `ul` selector also matched nested ul.sub-menu and beat
   its display:none by specificity — every agency-dark dropdown rendered permanently
   open as a white flex strip (live: ploshadka-dlya-prodazhi-akkauntov.ru) */
.el-rail-5a7f43--agency-dark .el-rail-5a7f43__topnav, .el-rail-5a7f43--agency-dark .el-rail-5a7f43__topnav > ul { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.el-rail-5a7f43--agency-dark .el-rail-5a7f43__topnav a { color: #e6e6e6; display: block; padding: 0.85rem 0; font-size: 0.9rem; }
.el-rail-5a7f43--agency-dark .el-rail-5a7f43__topnav a:hover { color: var(--brand-color); }
/* restore dropdown item styling that the light-grey top-level rule above overrode */
.el-rail-5a7f43--agency-dark .el-rail-5a7f43__topnav .sub-menu a { color: var(--color-text, #333); padding: 0.4rem 1rem; }
.el-rail-5a7f43--agency-dark .el-rail-5a7f43__topnav .sub-menu a:hover { color: var(--brand-color); }
.el-rail-5a7f43--agency-dark .el-rail-5a7f43__burger { color: #fff; }

/* === Footer: agency-dark (ingest wpnew.ru — dark 4-col + newsletter band) === */
.st-stack-40a5.st-stack-40a5--agency-dark { background: #181818; color: #cfcfcf; }
.st-stack-40a5--agency-dark .st-stack-40a5__main { background: #181818; }
.st-stack-40a5--agency-dark .st-stack-40a5__digest { background: #1f1f1f; }
.st-stack-40a5--agency-dark .st-stack-40a5__digest > .ft-dock-250f { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: 2.5rem 0; }
.st-stack-40a5--agency-dark .st-stack-40a5__digest-head h2 { color: #fff; font-size: 1.6rem; margin: 0 0 0.4rem; }
.st-stack-40a5--agency-dark .st-stack-40a5__digest-head p { color: #9a9a9a; margin: 0; max-width: 460px; }
.st-stack-40a5--agency-dark .st-stack-40a5__digest-form { display: flex; gap: 0.75rem; flex: 1; min-width: 280px; max-width: 460px; }
.st-stack-40a5--agency-dark .st-stack-40a5__digest-form input { flex: 1; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,0.3); color: #fff; padding: 0.6rem 0.2rem; font-size: 1rem; }
.st-stack-40a5--agency-dark .st-stack-40a5__digest-form input::placeholder { color: #8a8a8a; }
.st-stack-40a5--agency-dark .st-stack-40a5__digest-form button { background: var(--brand-color); color: #fff; border: 0; border-radius: var(--radius); padding: 0.7rem 1.6rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.st-stack-40a5--agency-dark .st-stack-40a5__main { padding: 3rem 0; }
.st-stack-40a5--agency-dark .st-stack-40a5__grid { display: grid; gap: 2rem; }
.st-stack-40a5--agency-dark .st-stack-40a5__column h3 { color: #fff; font-size: 1rem; margin: 0 0 1rem; }
.st-stack-40a5--agency-dark .st-stack-40a5__topnav { display: flex; flex-direction: column; gap: 0.6rem; }
.st-stack-40a5--agency-dark .st-stack-40a5__column a, .st-stack-40a5--agency-dark .st-stack-40a5__fphone, .st-stack-40a5--agency-dark .st-stack-40a5__femail { color: #b7b7b7; display: block; }
.st-stack-40a5--agency-dark .st-stack-40a5__column a:hover { color: var(--brand-color); }
.st-stack-40a5--agency-dark .st-stack-40a5__fphone { color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: 0.4rem; }
.st-stack-40a5--agency-dark .st-stack-40a5__femail { margin-bottom: 1rem; }
.st-stack-40a5--agency-dark .st-stack-40a5__networks { display: flex; gap: 0.75rem; margin-top: 0.5rem; }
.st-stack-40a5--agency-dark .st-stack-40a5__networks a { color: #b7b7b7; }
.st-stack-40a5--agency-dark .st-stack-40a5__networks a:hover { color: var(--brand-color); }
.st-stack-40a5--agency-dark .st-stack-40a5__bottom { border-top: 1px solid rgba(255,255,255,0.08); background: #141414; }
.st-stack-40a5--agency-dark .st-stack-40a5__bottom > .ft-dock-250f { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding: 1.5rem 0; font-size: 0.85rem; color: #8a8a8a; }
.st-stack-40a5--agency-dark .st-stack-40a5__b-logo, .st-stack-40a5--agency-dark .st-stack-40a5__b-logo * { color: #fff; }
.st-stack-40a5--agency-dark .st-stack-40a5__legals { display: flex; gap: 1rem; flex-wrap: wrap; margin-left: auto; }
.st-stack-40a5--agency-dark .st-stack-40a5__legals a { color: #8a8a8a; }
@media (max-width: 860px) { .st-stack-40a5--agency-dark .st-stack-40a5__grid { grid-template-columns: 1fr 1fr !important; } .el-rail-5a7f43--agency-dark .el-rail-5a7f43__slogan { display: none; } }
@media (max-width: 520px) { .st-stack-40a5--agency-dark .st-stack-40a5__grid { grid-template-columns: 1fr !important; } }

/* === Header: accent-bar (ingest fl.ru — solid accent bar, white nav, light CTA) === */
.el-rail-5a7f43--accent-bar { background: var(--brand-color); color: #fff; }
.el-rail-5a7f43--accent-bar > .ft-dock-250f { display: flex; align-items: center; gap: 2rem; }
.el-rail-5a7f43--accent-bar .el-rail-5a7f43__brandbox, .el-rail-5a7f43--accent-bar .el-rail-5a7f43__brandbox * { color: #fff; }
.el-rail-5a7f43--accent-bar .el-rail-5a7f43__topnav { display: flex; align-items: center; gap: 1.5rem; flex: 1 1 auto; flex-wrap: wrap; }
.el-rail-5a7f43--accent-bar .el-rail-5a7f43__topnav a { color: rgba(255,255,255,0.92); font-weight: 500; }
.el-rail-5a7f43--accent-bar .el-rail-5a7f43__topnav a:hover { color: #fff; }
.el-rail-5a7f43--accent-bar .el-rail-5a7f43__controls { display: flex; align-items: center; gap: 1.25rem; margin-left: auto; }
.el-rail-5a7f43--accent-bar .el-rail-5a7f43__phone a { color: #fff; font-weight: 600; }
.el-rail-5a7f43--accent-bar .el-rail-5a7f43__cta { background: #fff; color: var(--brand-color); border-radius: var(--radius); padding: 0.5rem 1.25rem; font-weight: 700; }
.el-rail-5a7f43--accent-bar .el-rail-5a7f43__cta:hover { background: rgba(255,255,255,0.88); }
@media (max-width: 860px) {
    .el-rail-5a7f43--accent-bar .el-rail-5a7f43__topnav { display: none; }
    .el-rail-5a7f43--accent-bar .el-rail-5a7f43__burger { display: inline-flex; color: #fff; }
}

/* === Footer: light-inline (ingest fl.ru — hairline + one inline row + fine legal) === */
.st-stack-40a5--light-inline { background: transparent; color: var(--text-main); padding: 2rem 0; }
.st-stack-40a5--light-inline > .ft-dock-250f { border-top: 1px solid var(--border-color); padding-top: 1.5rem; }
.st-stack-40a5--light-inline .st-stack-40a5__inline-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.st-stack-40a5--light-inline .st-stack-40a5__inline-left { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; font-size: 0.9rem; }
.st-stack-40a5--light-inline .st-stack-40a5__inline-left a { color: var(--brand-color); }
.st-stack-40a5.st-stack-40a5--light-inline .st-stack-40a5__legals { border: 0; margin: 0; padding: 0; }
.st-stack-40a5--light-inline .st-stack-40a5__legals a { color: var(--brand-color); }
.st-stack-40a5--light-inline .st-stack-40a5__networks { display: flex; gap: 0.75rem; }
.st-stack-40a5--light-inline .st-stack-40a5__networks a { color: var(--text-main); }
.st-stack-40a5--light-inline .st-stack-40a5__inline-right { font-weight: 700; color: var(--text-main); }
.st-stack-40a5--light-inline .st-stack-40a5__fine-legal { margin: 1.25rem 0 0; font-size: 0.75rem; color: var(--text-muted); line-height: 1.5; }
@media (max-width: 640px) { .st-stack-40a5--light-inline .st-stack-40a5__inline-row { flex-direction: column; align-items: flex-start; } }

/* === Header: saas-topline (ingest intellectdialog — white bar, accent top-line, pill CTA) === */
.el-rail-5a7f43--saas-topline { background: #fff; border-top: 3px solid var(--brand-color); }
.el-rail-5a7f43--saas-topline > .ft-dock-250f { display: flex; align-items: center; gap: 2.5rem; padding: 0.85rem 0; }
.el-rail-5a7f43--saas-topline .el-rail-5a7f43__brandbox, .el-rail-5a7f43--saas-topline .el-rail-5a7f43__brandbox * { color: var(--text-main); }
.el-rail-5a7f43--saas-topline .el-rail-5a7f43__topnav { display: flex; align-items: center; gap: 1.75rem; flex: 1 1 auto; flex-wrap: wrap; }
.el-rail-5a7f43--saas-topline .el-rail-5a7f43__topnav a { color: var(--text-main); font-weight: 500; }
.el-rail-5a7f43--saas-topline .el-rail-5a7f43__topnav a:hover { color: var(--brand-color); }
.el-rail-5a7f43--saas-topline .el-rail-5a7f43__controls { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.el-rail-5a7f43--saas-topline .el-rail-5a7f43__phone a { color: var(--brand-color); font-weight: 600; }
.el-rail-5a7f43--saas-topline .el-rail-5a7f43__cta { background: var(--brand-color); color: #fff; border-radius: 999px; padding: 0.6rem 1.6rem; font-weight: 700; }
.el-rail-5a7f43--saas-topline .el-rail-5a7f43__cta:hover { filter: brightness(1.08); }
@media (max-width: 860px) { .el-rail-5a7f43--saas-topline .el-rail-5a7f43__topnav { display: none; } .el-rail-5a7f43--saas-topline .el-rail-5a7f43__burger { display: inline-flex; color: var(--text-main); } }

/* === Footer: mega-columns (ingest intellectdialog — light multi-column mega, uppercase heads) === */
.st-stack-40a5--mega-columns { background: var(--bg-alt); color: var(--text-main); padding: 3.5rem 0 1.5rem; }
.st-stack-40a5--mega-columns .st-stack-40a5__xl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 2rem 2.5rem; }
.st-stack-40a5--mega-columns .st-stack-40a5__column h3 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 1rem; color: var(--text-main); }
.st-stack-40a5--mega-columns .st-stack-40a5__topnav { display: flex; flex-direction: column; gap: 0.6rem; }
.st-stack-40a5--mega-columns .st-stack-40a5__column a { color: var(--text-muted); }
.st-stack-40a5--mega-columns .st-stack-40a5__column a:hover { color: var(--brand-color); }
.st-stack-40a5--mega-columns .st-stack-40a5__xl-phone { display: inline-block; font-size: 1.15rem; font-weight: 700; color: var(--text-main) !important; margin-bottom: 0.5rem; }
.st-stack-40a5--mega-columns .st-stack-40a5__xl-company { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; margin: 0.5rem 0; }
.st-stack-40a5--mega-columns .st-stack-40a5__xl-email { display: inline-block; color: var(--brand-color) !important; margin-top: 0.25rem; }
.st-stack-40a5--mega-columns .st-stack-40a5__networks { display: flex; gap: 0.75rem; margin-top: 0.75rem; }
.st-stack-40a5--mega-columns .st-stack-40a5__xl-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border-color); font-size: 0.85rem; }
.st-stack-40a5.st-stack-40a5--mega-columns .st-stack-40a5__legals { border: 0; margin: 0; padding: 0; }
.st-stack-40a5--mega-columns .st-stack-40a5__legals a { color: var(--text-muted); }
.st-stack-40a5--mega-columns .st-stack-40a5__fine-legal { margin: 1rem 0 0; font-size: 0.72rem; color: var(--text-muted); line-height: 1.5; }
@media (max-width: 640px) { .st-stack-40a5--mega-columns .st-stack-40a5__xl-grid { grid-template-columns: 1fr 1fr; } }

/* === Header: tri-bar (ingest hightime.agency — 3-tier: dark promo / utility / main) === */
.el-rail-5a7f43--tri-bar .el-rail-5a7f43__promo { background: #16161a; color: #fff; }
.el-rail-5a7f43--tri-bar .el-rail-5a7f43__promo > .ft-dock-250f { display: flex; align-items: center; justify-content: center; gap: 1.5rem; padding: 0.55rem 0; font-size: 0.85rem; flex-wrap: wrap; }
.el-rail-5a7f43--tri-bar .el-rail-5a7f43__promo-cta { color: #fff; border: 1px solid rgba(255,255,255,0.4); border-radius: 999px; padding: 0.2rem 0.9rem; font-weight: 600; white-space: nowrap; }
.el-rail-5a7f43--tri-bar .el-rail-5a7f43__promo-cta:hover { background: rgba(255,255,255,0.12); }
.el-rail-5a7f43--tri-bar .el-rail-5a7f43__utility { background: var(--bg-alt); border-bottom: 1px solid var(--border-color); }
.el-rail-5a7f43--tri-bar .el-rail-5a7f43__utility > .ft-dock-250f { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0.4rem 0; font-size: 0.85rem; flex-wrap: wrap; }
.el-rail-5a7f43--tri-bar .el-rail-5a7f43__aux-nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.el-rail-5a7f43--tri-bar .el-rail-5a7f43__aux-nav a { color: var(--text-muted); }
.el-rail-5a7f43--tri-bar .el-rail-5a7f43__aux-nav a:hover { color: var(--brand-color); }
.el-rail-5a7f43--tri-bar .el-rail-5a7f43__aux-phone { color: var(--text-main); font-weight: 600; white-space: nowrap; }
.el-rail-5a7f43--tri-bar .el-rail-5a7f43__row-main { background: var(--bg-main); }
.el-rail-5a7f43--tri-bar .el-rail-5a7f43__row-main > .ft-dock-250f { display: flex; align-items: center; gap: 2rem; padding: 1rem 0; }
.el-rail-5a7f43--tri-bar .el-rail-5a7f43__brandbox-group { display: flex; flex-direction: column; }
.el-rail-5a7f43--tri-bar .el-rail-5a7f43__brandbox, .el-rail-5a7f43--tri-bar .el-rail-5a7f43__brandbox * { color: var(--text-main); }
.el-rail-5a7f43--tri-bar .el-rail-5a7f43__slogan { font-size: 0.75rem; color: var(--text-muted); }
.el-rail-5a7f43--tri-bar .el-rail-5a7f43__topnav { display: flex; flex: 1; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.el-rail-5a7f43--tri-bar .el-rail-5a7f43__row-main .el-rail-5a7f43__topnav a { color: var(--text-main); }
.el-rail-5a7f43--tri-bar .el-rail-5a7f43__row-main .el-rail-5a7f43__topnav a:hover { color: var(--brand-color); }
.el-rail-5a7f43--tri-bar .el-rail-5a7f43__controls { display: flex; align-items: center; gap: 1rem; margin-left: auto; flex-shrink: 0; }
@media (max-width: 860px) { .el-rail-5a7f43--tri-bar .el-rail-5a7f43__topnav, .el-rail-5a7f43--tri-bar .el-rail-5a7f43__aux-nav { display: none; } .el-rail-5a7f43--tri-bar .el-rail-5a7f43__burger { display: inline-flex; color: var(--text-main); } }

/* === Footer: brand-columns (ingest hightime.agency — two-tone: light body + dark bottom bar) === */
.st-stack-40a5--brand-columns .st-stack-40a5__bcol-body { background: var(--bg-alt); color: var(--text-main); padding: 3.5rem 0; }
.st-stack-40a5--brand-columns .st-stack-40a5__bcol-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2.5rem; }
.st-stack-40a5--brand-columns .st-stack-40a5__column h3 { font-size: 0.9rem; font-weight: 700; margin: 0 0 1rem; color: var(--text-main); }
.st-stack-40a5--brand-columns .st-stack-40a5__topnav { display: flex; flex-direction: column; gap: 0.55rem; }
.st-stack-40a5--brand-columns .st-stack-40a5__column a { color: var(--text-muted); }
.st-stack-40a5--brand-columns .st-stack-40a5__column a:hover { color: var(--brand-color); }
.st-stack-40a5--brand-columns .st-stack-40a5__bcol-logo { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.75rem; color: var(--text-main); }
.st-stack-40a5--brand-columns .st-stack-40a5__bcol-logo * { color: var(--text-main); }
.st-stack-40a5--brand-columns .st-stack-40a5__bcol-tagline { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; margin: 0 0 1.25rem; max-width: 260px; }
.st-stack-40a5--brand-columns .st-stack-40a5__bcol-phone { display: block; font-size: 1.2rem; font-weight: 700; color: var(--text-main) !important; margin-bottom: 0.4rem; }
.st-stack-40a5--brand-columns .st-stack-40a5__bcol-email { display: block; color: var(--brand-color) !important; margin-bottom: 0.6rem; }
.st-stack-40a5--brand-columns .st-stack-40a5__bcol-company { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; margin: 0.4rem 0; }
.st-stack-40a5--brand-columns .st-stack-40a5__networks { display: flex; gap: 0.75rem; margin-top: 0.75rem; }
.st-stack-40a5--brand-columns .st-stack-40a5__bcol-darkbar { background: #16161a; color: rgba(255,255,255,0.6); }
.st-stack-40a5--brand-columns .st-stack-40a5__bcol-darkbar > .ft-dock-250f { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 1.25rem 0; font-size: 0.82rem; }
.st-stack-40a5.st-stack-40a5--brand-columns .st-stack-40a5__legals { border: 0; margin: 0; padding: 0; }
.st-stack-40a5--brand-columns .st-stack-40a5__bcol-darkbar a { color: rgba(255,255,255,0.6); }
.st-stack-40a5--brand-columns .st-stack-40a5__bcol-darkbar a:hover { color: #fff; }
@media (max-width: 860px) { .st-stack-40a5--brand-columns .st-stack-40a5__bcol-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .st-stack-40a5--brand-columns .st-stack-40a5__bcol-grid { grid-template-columns: 1fr; } }

/* === Inner: single-with-sidebar layout (article + aside: recent posts / categories) === */
.tg-single-side { display: grid; grid-template-columns: minmax(0, 1fr) clamp(240px, 26%, 320px); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.tg-single-side .tg-single-aside { position: sticky; top: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.tg-single-side .tg-aside-box { background: var(--bg-alt); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 1.25rem 1.4rem; }
.tg-single-side .tg-aside-box h3 { font-size: 0.95rem; margin: 0 0 0.85rem; }
.tg-single-side .tg-aside-box ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.tg-single-side .tg-aside-box a { color: var(--text-main); font-size: 0.9rem; line-height: 1.4; }
.tg-single-side .tg-aside-box a:hover { color: var(--brand-color); }
@media (max-width: 860px) { .tg-single-side { grid-template-columns: 1fr; } .tg-single-side .tg-single-aside { position: static; } }

/* === Hero === */
.ft-shelf-090d1 {
    background: linear-gradient(135deg, var(--brand-color) 0%, var(--brand-dark) 100%);
    color: #fff;
    padding: clamp(3rem, 6vw, 5rem) 0; min-height: clamp(400px, 56vh, 600px); display: flex; align-items: center;
    background-size: cover;
    background-position: center;
}
.ft-shelf-090d1 > .ft-dock-250f { width: 100%; }
.ft-shelf-090d1::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 0;
}
.ft-shelf-090d1 { position: relative; }
.ft-shelf-090d1 > .ft-dock-250f { position: relative; z-index: 1; }

.ft-shelf-090d1--split > .ft-dock-250f { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.ft-shelf-090d1--split .ft-shelf-090d1__btns { justify-content: flex-start; }

/* === Hero: left-aligned variant (2-column with image/decor) === */
.ft-shelf-090d1--left-aligned > .ft-dock-250f { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; text-align: left; }
.ft-shelf-090d1--left-aligned .ft-shelf-090d1__btns { justify-content: flex-start; }
.ft-shelf-090d1--left-aligned .ft-shelf-090d1__sub { max-width: 100%; }
.ft-shelf-090d1__deco { position: relative; min-height: 280px; display: flex; flex-direction: column; gap: 1rem; align-items: flex-end; justify-content: center; }
.ft-shelf-090d1__deco-card { background: rgba(255,255,255,0.12); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius); padding: 1rem 1.5rem; display: flex; align-items: center; gap: 0.75rem; max-width: 280px; width: 100%; transition: transform 0.3s ease; }
.ft-shelf-090d1__deco-card:hover { transform: translateY(-3px); }
.ft-shelf-090d1__deco-card--1 { align-self: flex-start; margin-left: 10%; }
.ft-shelf-090d1__deco-card--2 { align-self: flex-end; margin-right: 5%; }
.ft-shelf-090d1__deco-card--3 { align-self: center; }
.ft-shelf-090d1__deco-icon { font-size: 1.5rem; }
.ft-shelf-090d1__deco-text { font-size: 0.95rem; font-weight: 600; color: #fff; }
.ft-shelf-090d1__deco-num { font-size: 1.75rem; font-weight: 800; color: #fff; line-height: 1; }
.ft-shelf-090d1__deco-label { font-size: 0.8rem; color: rgba(255,255,255,0.75); }
/* Light variant decor adjustments */
.ft-shelf-090d1--light .ft-shelf-090d1__deco-card { background: var(--color-card, #fff); border-color: var(--border-color); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.ft-shelf-090d1--light .ft-shelf-090d1__deco-text { color: var(--text-main); }
.ft-shelf-090d1--light .ft-shelf-090d1__deco-num { color: var(--brand-color); }
.ft-shelf-090d1--light .ft-shelf-090d1__deco-label { color: var(--text-muted); }
.ft-shelf-090d1__overline { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.8; margin-bottom: 0.5rem; font-weight: 600; }
.ft-shelf-090d1__heading { color: #fff; font-size: clamp(2.2rem, 5vw, 3.5rem); margin-bottom: 0.75rem; }
.ft-shelf-090d1__sub { font-size: 1.1rem; line-height: 1.65; max-width: 640px; opacity: 0.9; margin-bottom: 1rem; }
.ft-shelf-090d1__sub p { color: rgba(255,255,255,0.9); }
.ft-shelf-090d1__btns { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.25rem; justify-content: center; }
.ft-shelf-090d1__button {
    display: inline-block;
    padding: 12px 28px;
    background: var(--accent-color);
    color: #fff;
    font-weight: 600;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.ft-shelf-090d1__button:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.ft-shelf-090d1__button--secondary {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff;
}
.ft-shelf-090d1__button--secondary:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff; transform: translateY(-2px); }
.ft-shelf-090d1__button--quiet { background: none; border: none; padding-left: 0; padding-right: 0; color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,0.4); }
.ft-shelf-090d1__button--quiet:hover { background: none; box-shadow: none; transform: none; text-decoration-color: currentColor; }
.ft-shelf-090d1__picture img { border-radius: var(--radius); }

/* === Hero light variant (portal / hh.ru style) === */
.ft-shelf-090d1--light { background: var(--bg-main); color: var(--text-main); }
.ft-shelf-090d1--light .ft-shelf-090d1__heading { color: var(--text-main); }
.ft-shelf-090d1--light .ft-shelf-090d1__overline { color: var(--brand-color); opacity: 1; }
.ft-shelf-090d1--light .ft-shelf-090d1__sub { opacity: 1; }
.ft-shelf-090d1--light .ft-shelf-090d1__sub p { color: var(--text-muted); }
.ft-shelf-090d1--light .ft-shelf-090d1__button--secondary { border-color: var(--border-color); color: var(--text-main); }
.ft-shelf-090d1--light .ft-shelf-090d1__button--secondary:hover { border-color: var(--brand-color); color: var(--brand-color); background: transparent; }
.ft-shelf-090d1--light .ft-shelf-090d1__button--quiet { color: var(--brand-color); text-decoration-color: var(--brand-light); }
.ft-shelf-090d1--light .ft-shelf-090d1__button--quiet:hover { color: var(--brand-dark); }

/* === Hero: lab-light variant (clean-teal pack) — light, left, teal glow, chips, preview card === */
.ft-shelf-090d1--lab { background: var(--bg-main); overflow: hidden; }
.ft-shelf-090d1--lab::before { content: ''; position: absolute; top: -30%; right: -8%; width: 48%; height: 150%; background: radial-gradient(circle at 60% 40%, color-mix(in srgb, var(--brand-color) 16%, transparent), transparent 68%); pointer-events: none; z-index: 0; }
.ft-shelf-090d1--lab > .ft-dock-250f { position: relative; z-index: 1; }
.ft-shelf-090d1__heading-accent { color: var(--brand-color); }
.ft-shelf-090d1__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.ft-shelf-090d1__token { font-size: 0.8rem; font-weight: 600; padding: 0.3rem 0.85rem; border-radius: 999px; background: color-mix(in srgb, var(--brand-color) 9%, var(--color-card, #fff)); color: var(--brand-color); border: 1px solid color-mix(in srgb, var(--brand-color) 22%, transparent); }
.ft-shelf-090d1__peek { display: flex; justify-content: center; align-items: center; }
.ft-shelf-090d1__p-card { background: var(--color-card, #fff); border: 1px solid var(--border-color); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow); padding: 1.25rem 1.4rem; width: 100%; max-width: 340px; }
.ft-shelf-090d1__p-card-head { display: flex; gap: 0.4rem; margin-bottom: 1rem; }
.ft-shelf-090d1__p-card-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border-color); }
.ft-shelf-090d1__p-card-dot:first-child { background: color-mix(in srgb, var(--brand-color) 75%, #fff); }
.ft-shelf-090d1__prow { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.7rem 0; border-bottom: 1px solid var(--border-color); }
.ft-shelf-090d1__prow:last-child { border-bottom: 0; }
.ft-shelf-090d1__mini-label { font-size: 0.9rem; color: var(--text-main); font-weight: 500; }
.ft-shelf-090d1__mini-val { font-size: 1.05rem; color: var(--brand-color); font-weight: 800; white-space: nowrap; }
.ft-shelf-090d1__p-bar { height: 9px; border-radius: 5px; background: var(--bg-alt); flex: 1; }
.ft-shelf-090d1__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--brand-color); flex-shrink: 0; }

/* === Spec-cards section (clean-teal pack — signature data/result cards) === */
.lay-form-375f6 { padding: 3.5rem 0; }
.lay-form-375f6 h2 { text-align: center; }
.lay-form-375f6__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 1.25rem; margin-top: 2rem; }
.lay-form-375f6__box { background: var(--color-card, #fff); border: 1px solid var(--border-color); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; transition: transform var(--transition), box-shadow var(--transition); }
.lay-form-375f6__box:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.lay-form-375f6__row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.4rem; }
.lay-form-375f6__heading { font-size: 1.05rem; margin: 0; color: var(--text-main); }
.lay-form-375f6__value { font-size: 1.6rem; font-weight: 800; color: var(--brand-color); line-height: 1.1; margin-bottom: 0.5rem; }
.lay-form-375f6__desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; margin: 0; }
.lay-form-375f6__condition { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; padding: 0.2rem 0.6rem; border-radius: 999px; white-space: nowrap; flex-shrink: 0; }
.lay-form-375f6__condition--good { background: #ecfdf5; color: #047857; }
.lay-form-375f6__condition--warn { background: #fffbeb; color: #b45309; }
.lay-form-375f6__condition--bad  { background: #fef2f2; color: #b91c1c; }
.lay-form-375f6__condition--info { background: color-mix(in srgb, var(--brand-color) 12%, #fff); color: var(--brand-color); }

/* === Chip-strip section (clean-teal — "what we cover" pill row) === */
.hd-aside-6849 { padding: 2rem 0; }
.hd-aside-6849 h2 { text-align: center; }
.hd-aside-6849__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-top: 1rem; }
.hd-aside-6849__token { font-size: 0.85rem; font-weight: 600; padding: 0.35rem 0.9rem; border-radius: 999px; background: color-mix(in srgb, var(--brand-color) 8%, var(--color-card, #fff)); color: var(--brand-color); border: 1px solid color-mix(in srgb, var(--brand-color) 20%, transparent); }

/* === Advantages: feature-rows variant (clean-teal — teal-circle "why choose us") === */
.el-hero-6f69b--feature-rows .el-hero-6f69b__foot-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 1.75rem; margin-top: 2rem; }
.el-hero-6f69b__frow { display: flex; gap: 1rem; align-items: flex-start; }
.el-hero-6f69b__fcircle { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--brand-color) 12%, #fff); color: var(--brand-color); font-size: 1.4rem; font-weight: 700; }
.el-hero-6f69b__fcircle img { width: 24px; height: 24px; object-fit: contain; }
.el-hero-6f69b__fine-text h3 { font-size: 1.05rem; margin: 0 0 0.35rem; color: var(--text-main); }
.el-hero-6f69b__fine-text p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.55; margin: 0; }

/* === Stats: stat-band variant (clean-teal — teal-circle icon + number + label) === */
.sec-c654f9--band .sec-c654f9__ribbon { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.sec-c654f9__ribbon-card { background: var(--color-card, #fff); border: 1px solid var(--border-color); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem 1.25rem; text-align: center; }
.sec-c654f9__band-ico { width: 52px; height: 52px; margin: 0 auto 0.75rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--brand-color) 12%, #fff); color: var(--brand-color); font-size: 1.5rem; line-height: 1; }
.sec-c654f9--band .sec-c654f9__numeral { font-size: 2rem; font-weight: 800; color: var(--brand-color); line-height: 1.1; }
.sec-c654f9--band .sec-c654f9__label { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.25rem; }

/* === fresh-green: market-hero (centred light hero, green accent phrase, rating) === */
.ft-shelf-090d1--market { background: var(--color-bg-alt, #f6f6f6); color: var(--text-main); text-align: center; overflow: hidden; }
.ft-shelf-090d1--market > .ft-dock-250f { position: relative; z-index: 1; max-width: 780px; }
.ft-shelf-090d1--market .ft-shelf-090d1__heading { color: var(--text-main); }
.ft-shelf-090d1--market .ft-shelf-090d1__sub { max-width: 620px; margin: 0.5rem auto 0; opacity: 1; color: var(--text-muted); }
.ft-shelf-090d1--market .ft-shelf-090d1__btns { justify-content: center; }
.ft-shelf-090d1--market::before, .ft-shelf-090d1--market::after { content: ''; position: absolute; width: 110px; height: 110px; pointer-events: none; opacity: 0.5; background-image: radial-gradient(color-mix(in srgb, var(--brand-color) 55%, transparent) 1.5px, transparent 1.7px); background-size: 18px 18px; }
.ft-shelf-090d1--market::before { top: 1.5rem; left: 1.5rem; }
.ft-shelf-090d1--market::after { bottom: 1.5rem; right: 1.5rem; }
.ft-shelf-090d1__rating { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 1.25rem; font-size: 0.95rem; color: var(--text-muted); }
.ft-shelf-090d1__rating-stars { color: #ffb63c; letter-spacing: 1px; }
.ft-shelf-090d1__rating strong { color: var(--text-main); }

/* === fresh-green: offer cards (products --offer) === */
.blk-strip-d2c2cf7--offer .blk-strip-d2c2cf7__spotlight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 1.25rem; margin-top: 2rem; }
.blk-strip-d2c2cf7__spotlight { background: var(--color-card, #fff); border: 1px solid var(--border-color); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); display: flex; flex-direction: column; }
.blk-strip-d2c2cf7__spotlight:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.blk-strip-d2c2cf7__spotlight-media { position: relative; aspect-ratio: 16 / 10; background: var(--bg-alt); overflow: hidden; }
.blk-strip-d2c2cf7__spotlight-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blk-strip-d2c2cf7__spotlight-ph { width: 100%; height: 100%; background: linear-gradient(135deg, color-mix(in srgb, var(--brand-color) 14%, #fff), color-mix(in srgb, var(--brand-color) 4%, #fff)); }
.blk-strip-d2c2cf7__spotlight-badge { position: absolute; top: 0.6rem; left: 0.6rem; background: var(--brand-color); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 4px; }
.blk-strip-d2c2cf7__spotlight-body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.blk-strip-d2c2cf7__spotlight-title { font-size: 1rem; margin: 0; color: var(--text-main); line-height: 1.35; }
.blk-strip-d2c2cf7__spotlight-rating { font-size: 0.85rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.3rem; }
.blk-strip-d2c2cf7__spotlight-rating span { color: #ffb63c; }
.blk-strip-d2c2cf7__spotlight-rating strong { color: var(--text-main); }
.blk-strip-d2c2cf7__spotlight-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding-top: 0.4rem; }
.blk-strip-d2c2cf7__spotlight-price { font-size: 1.15rem; font-weight: 800; color: var(--text-main); }
.blk-strip-d2c2cf7__spotlight-cta { font-size: 0.85rem; padding: 0.45rem 0.9rem; white-space: nowrap; }

/* === fresh-green: versus (us vs them comparison) === */
.cp-text-f852 { padding: 3.5rem 0; }
.cp-text-f852 h2 { text-align: center; }
.cp-text-f852__table { max-width: 720px; margin: 2rem auto 0; border: 1px solid var(--border-color); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cp-text-f852__row { display: grid; grid-template-columns: 1.7fr 1fr 1fr; align-items: center; gap: 0.5rem; padding: 0.85rem 1.25rem; border-bottom: 1px solid var(--border-color); }
.cp-text-f852__row:last-child { border-bottom: 0; }
.cp-text-f852__row:nth-child(even) { background: var(--bg-alt); }
.cp-text-f852__row--head { background: var(--brand-color); }
.cp-text-f852__row--head .cp-text-f852__others, .cp-text-f852__row--head .cp-text-f852__us { color: #fff; font-weight: 700; justify-content: center; }
.cp-text-f852__param { font-weight: 500; color: var(--text-main); }
.cp-text-f852__others, .cp-text-f852__us { font-size: 0.9rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.4rem; }
.cp-text-f852__us { color: var(--text-main); font-weight: 500; }
.cp-text-f852__cross { color: #f24c4c; font-weight: 800; }
.cp-text-f852__tick { color: var(--brand-color); font-weight: 800; }
@media (max-width: 600px) { .cp-text-f852__row { grid-template-columns: 1fr; gap: 0.2rem; } .cp-text-f852__row--head { display: none; } .cp-text-f852__param { font-weight: 700; } }

/* === fresh-green: arc steps (dashed connectors between numbered circles) === */
.cp-0ae17--arc .cp-0ae17__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 2rem; margin-top: 2.5rem; }
.cp-0ae17--arc .cp-0ae17__entry { text-align: center; position: relative; background: none; border: 0; box-shadow: none; padding: 0; }
.cp-0ae17--arc .cp-0ae17__nr { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 800; color: var(--brand-color); background: color-mix(in srgb, var(--brand-color) 12%, #fff); border: 2px solid color-mix(in srgb, var(--brand-color) 35%, transparent); }
.cp-0ae17--arc .cp-0ae17__entry:not(:last-child)::after { content: ''; position: absolute; top: 31px; left: calc(50% + 42px); right: calc(-50% + 42px); border-top: 2px dashed color-mix(in srgb, var(--brand-color) 38%, transparent); }
@media (max-width: 700px) { .cp-0ae17--arc .cp-0ae17__entry:not(:last-child)::after { display: none; } }

/* === Hero: stats-row variant === */
.ft-shelf-090d1__figures-row { display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.2); }
.ft-shelf-090d1__stat { text-align: center; }
.ft-shelf-090d1__stat-value { display: block; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: #fff; line-height: 1.2; }
.ft-shelf-090d1__stat-label { font-size: 0.85rem; opacity: 0.75; display: block; margin-top: 0.25rem; }
.ft-shelf-090d1--light .ft-shelf-090d1__figures-row { border-top-color: var(--border-color); }
.ft-shelf-090d1--light .ft-shelf-090d1__stat-value { color: var(--brand-color); }
.ft-shelf-090d1--light .ft-shelf-090d1__stat-label { color: var(--text-muted); opacity: 1; }

/* === Hero: feature-cards variant === */
.ft-shelf-090d1__features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; text-align: center; }
.ft-shelf-090d1__feature-card { background: rgba(255,255,255,0.1); border-radius: var(--radius); padding: 1.5rem 1rem; transition: transform var(--transition), box-shadow var(--transition); }
.ft-shelf-090d1__feature-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.ft-shelf-090d1__feature-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.ft-shelf-090d1__feature-card h3 { font-size: 1rem; margin: 0 0 0.5rem; color: #fff; }
.ft-shelf-090d1__feature-card p { font-size: 0.85rem; opacity: 0.8; margin: 0; line-height: 1.5; }
.ft-shelf-090d1--light .ft-shelf-090d1__feature-card { background: var(--card-bg); border: 1px solid var(--border-color); }
.ft-shelf-090d1--light .ft-shelf-090d1__feature-card h3 { color: var(--text-main); }
.ft-shelf-090d1--light .ft-shelf-090d1__feature-card p { color: var(--text-muted); opacity: 1; }

/* === Hero: search-bar variant === */
.ft-shelf-090d1--search { padding-bottom: 3rem; }
.ft-shelf-090d1__search-form { display: flex; gap: 0; max-width: 600px; margin: 1.5rem auto 0; border-radius: 2px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.ft-shelf-090d1__search-input { flex: 1; padding: 14px 20px; border: none; font-size: 1rem; outline: none; background: #fff; color: #333; }
.ft-shelf-090d1__search-form .ft-shelf-090d1__button { border-radius: 0; padding: 14px 28px; }
.ft-shelf-090d1__search-tags { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; }
.ft-shelf-090d1__search-tag { display: inline-block; padding: 6px 14px; background: rgba(255,255,255,0.15); color: #fff; border-radius: 20px; font-size: 0.8rem; text-decoration: none; transition: background var(--transition); }
.ft-shelf-090d1__search-tag:hover { background: rgba(255,255,255,0.3); color: #fff; }
.ft-shelf-090d1--light .ft-shelf-090d1__search-input { border: 1px solid var(--border-color); }
.ft-shelf-090d1--light .ft-shelf-090d1__search-tag { background: var(--card-bg); color: var(--text-main); border: 1px solid var(--border-color); }
.ft-shelf-090d1--light .ft-shelf-090d1__search-tag:hover { border-color: var(--brand-color); color: var(--brand-color); }

/* === Hero: two-col-plates variant === */
.ft-shelf-090d1--plates { background: var(--bg-alt); color: var(--text-main); padding: 2.5rem 0; }
.ft-shelf-090d1__tiles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: stretch; }
.ft-shelf-090d1__tile {
    background: #fff; border-radius: var(--radius); padding: 2rem;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08); border: 1px solid var(--border-color);
}
.ft-shelf-090d1__tile h1 { color: var(--text-main); font-size: clamp(1.3rem, 2.5vw, 2rem); }
.ft-shelf-090d1__tile .ft-shelf-090d1__sub { color: var(--text-muted); }
.ft-shelf-090d1__tile--info { display: flex; flex-direction: column; justify-content: center; }
.ft-shelf-090d1__tile-stats { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.ft-shelf-090d1__tile-stat { text-align: center; flex: 1; min-width: 80px; }
.ft-shelf-090d1__tile-stat-val { display: block; font-size: 1.75rem; font-weight: 700; color: var(--brand-color); line-height: 1.2; }
.ft-shelf-090d1__tile-stat-lbl { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; }
@media (max-width: 768px) {
    .ft-shelf-090d1__tiles-grid { grid-template-columns: 1fr; }
}

/* === Hero: trust-logos variant === */
.ft-shelf-090d1__proof { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.15); }
.ft-shelf-090d1__proof-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.6; margin-bottom: 1rem; }
.ft-shelf-090d1__proof-logos { display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.ft-shelf-090d1__proof-logos img { max-height: 36px; width: auto; opacity: 0.7; filter: grayscale(1) brightness(2); transition: opacity var(--transition); }
.ft-shelf-090d1__proof-logos img:hover { opacity: 1; }
.ft-shelf-090d1--light .ft-shelf-090d1__proof { border-top-color: var(--border-color); }
.ft-shelf-090d1--light .ft-shelf-090d1__proof-logos img { filter: grayscale(1); opacity: 0.5; }
.ft-shelf-090d1--light .ft-shelf-090d1__proof-logos img:hover { filter: none; opacity: 1; }

/* === Hero: checklist variant === */
.ft-shelf-090d1--checklist .ft-shelf-090d1__tick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.ft-shelf-090d1__tick-list { list-style: none; padding: 0; margin: 1.25rem 0; }
.ft-shelf-090d1__tick-list li { padding: 0.5rem 0; font-size: 1rem; display: flex; align-items: center; gap: 0.75rem; }
.ft-shelf-090d1__tick-icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; background: var(--accent-color); color: #fff; border-radius: 50%; font-size: 0.75rem; flex-shrink: 0; }
.ft-shelf-090d1__tick-image img { width: 100%; height: auto; border-radius: var(--radius); }
.ft-shelf-090d1--light .ft-shelf-090d1__tick-list li { color: var(--text-main); }

/* === Hero: badges-row variant === */
.ft-shelf-090d1__pills-row { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.ft-shelf-090d1__badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 10px 18px; background: rgba(255,255,255,0.12); border-radius: 40px; font-size: 0.9rem; font-weight: 500; transition: background var(--transition); }
.ft-shelf-090d1__badge:hover { background: rgba(255,255,255,0.2); }
.ft-shelf-090d1__badge-icon { font-size: 1.2rem; }
.ft-shelf-090d1--light .ft-shelf-090d1__badge { background: var(--card-bg); border: 1px solid var(--border-color); color: var(--text-main); }
.ft-shelf-090d1--light .ft-shelf-090d1__badge:hover { border-color: var(--brand-color); }

/* === Hero: saas-metrics variant === */
.ft-shelf-090d1--saas-metrics > .ft-dock-250f { text-align: left; }
.ft-shelf-090d1__gauges-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.ft-shelf-090d1__gauges-text .ft-shelf-090d1__btns { justify-content: flex-start; }
.ft-shelf-090d1__gauges-grid { display: grid; gap: 1rem; }
.ft-shelf-090d1__index-card {
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius); padding: 1.25rem;
}
.ft-shelf-090d1__index-card h3 { margin: 0 0 0.25rem; font-size: 1rem; }
.ft-shelf-090d1__index-card p { margin: 0; font-size: 0.9rem; opacity: 0.85; }
.ft-shelf-090d1__index-icon {
    width: 40px; height: 40px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.2rem; margin-bottom: 0.75rem;
}
.ft-shelf-090d1__index-icon--0 { background: hsla(25,50%,32%,0.12); }
.ft-shelf-090d1__index-icon--1 { background: hsla(55,50%,50%,0.12); }
.ft-shelf-090d1__index-icon--2 { background: hsla(25,50%,85%,0.15); }
.ft-shelf-090d1__gauges-grid--inline .ft-shelf-090d1__index-card { display: flex; align-items: center; gap: 1rem; }
.ft-shelf-090d1__gauges-grid--inline .ft-shelf-090d1__index-icon { margin-bottom: 0; flex-shrink: 0; }
.ft-shelf-090d1__gauges-grid--plain .ft-shelf-090d1__index-card { display: flex; align-items: center; gap: 1rem; background: none; border: none; box-shadow: none; border-radius: 0; padding: 0.9rem 0; border-bottom: 1px solid rgba(255,255,255,0.18); }
.ft-shelf-090d1__gauges-grid--plain .ft-shelf-090d1__index-card:last-child { border-bottom: none; }
.ft-shelf-090d1__gauges-grid--plain .ft-shelf-090d1__index-icon { margin-bottom: 0; flex-shrink: 0; }
.ft-shelf-090d1--light .ft-shelf-090d1__index-card { background: var(--card-bg); border-color: var(--border-color); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.ft-shelf-090d1--light .ft-shelf-090d1__gauges-grid--plain .ft-shelf-090d1__index-card { background: none; border: none; box-shadow: none; border-bottom: 1px solid var(--border-color); }
.ft-shelf-090d1--light .ft-shelf-090d1__gauges-grid--plain .ft-shelf-090d1__index-card:last-child { border-bottom: none; }
.ft-shelf-090d1--light .ft-shelf-090d1__index-card h3 { color: var(--text-main); }
.ft-shelf-090d1--light .ft-shelf-090d1__index-card p { color: var(--text-muted); }

/* === Stats === */
.sec-c654f9 { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.sec-c654f9 > .ft-dock-250f > h2 { text-align: center; margin-bottom: 1.5rem; }
.sec-c654f9__grid { display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; text-align: center; }
.sec-c654f9__entry { min-width: 120px; }
.sec-c654f9__numeral { font-size: 2.25rem; font-weight: 900; font-family: var(--ff-heading); color: var(--brand-color); line-height: 1.2; }
.sec-c654f9__label { font-size: 0.9rem; color: var(--text-muted); margin-top: 0.2rem; }

/* Stats variant: cards */
.sec-c654f9--cards .sec-c654f9__grid { gap: 1.25rem; }
.sec-c654f9--cards .sec-c654f9__entry {
    padding: 1.25rem;
    background: var(--card-bg);
    border: var(--border-w) solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 160px;
    flex: 1;
}

/* Stats variant: bar */
.sec-c654f9--bar { padding: 0; }
.sec-c654f9__bar {
    display: flex;
    background: var(--brand-dark);
    color: #fff;
    padding: 1.25rem 0;
}
.sec-c654f9--bar .sec-c654f9__entry { flex: 1; text-align: center; border-right: 1px solid rgba(255,255,255,0.2); padding: 0.5rem 1rem; }
.sec-c654f9--bar .sec-c654f9__entry:last-child { border-right: none; }
.sec-c654f9--bar .sec-c654f9__numeral { color: #fff; font-size: 2rem; }
.sec-c654f9--bar .sec-c654f9__label { color: rgba(255,255,255,0.8); }

/* === Body / Block === */
.wp-wrap-d95df { padding: clamp(2rem, 4vw, 3.5rem) 0; }

.wp-aside-5fa4eda {
    margin-bottom: 1.25rem;
    padding: 1.5rem;
    border: var(--border-w) solid var(--border-color);
    border-radius: var(--radius);
    background: var(--card-bg);
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.wp-aside-5fa4eda:hover { box-shadow: var(--shadow-hover); border-color: var(--brand-light); transform: translateY(-2px); }
.wp-aside-5fa4eda__ico { margin-bottom: 0.75rem; }
.wp-aside-5fa4eda__ico img { width: 48px; height: 48px; }

/* === Advantages === */
.el-hero-6f69b { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.el-hero-6f69b h2 { text-align: center; margin-bottom: 1.5rem; }
.el-hero-6f69b__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.el-hero-6f69b__entry {
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition), transform var(--transition);
    text-align: center;
    border: var(--border-w) solid transparent;
}
.el-hero-6f69b__entry:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); border-color: var(--brand-light); }
.el-hero-6f69b__entry h3 { margin-top: 0.5rem; }
.el-hero-6f69b__ico img { width: 48px; height: 48px; margin: 0 auto; }

/* Adv variant: list */
.el-hero-6f69b--list .el-hero-6f69b__grid { grid-template-columns: 1fr; gap: 1rem; }
.el-hero-6f69b--list .el-hero-6f69b__entry { display: flex; gap: 1.25rem; text-align: left; align-items: flex-start; }
.el-hero-6f69b--list .el-hero-6f69b__ico { flex-shrink: 0; }
.el-hero-6f69b--list .el-hero-6f69b__copy p { margin-bottom: 0; }

/* Adv variant: numbered */
.el-hero-6f69b--numbered .el-hero-6f69b__grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.el-hero-6f69b--numbered .el-hero-6f69b__entry { display: flex; gap: 1rem; text-align: left; padding: 1.25rem; }
.el-hero-6f69b__nr {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-light);
    color: var(--brand-dark);
    font-weight: 900;
    font-size: 1.25rem;
    border-radius: var(--radius);
    font-family: var(--ff-heading);
}
.el-hero-6f69b--numbered .el-hero-6f69b__copy p { margin-bottom: 0; }

/* Adv variant: bordered */
.el-hero-6f69b--bordered .el-hero-6f69b__entry {
    border: var(--border-w) solid var(--border-color);
    border-left: 4px solid var(--brand-color);
    text-align: left;
    border-radius: 0 var(--radius) var(--radius) 0;
}
.el-hero-6f69b--bordered .el-hero-6f69b__entry:hover { border-left-color: var(--accent-color); }

/* === Tariffs === */
.box-text-fb79 { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.box-text-fb79 > .ft-dock-250f > h2 { text-align: center; margin-bottom: 1.5rem; }
.box-text-fb79__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.box-text-fb79__box {
    padding: 1.75rem;
    border: var(--border-w) solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: box-shadow var(--transition), transform var(--transition);
    background: var(--card-bg);
}
.box-text-fb79__box:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.box-text-fb79__box--highlighted { border-color: var(--brand-color); box-shadow: 0 0 0 2px var(--brand-light); position: relative; }
.box-text-fb79__badge {
    position: absolute; top: -12px; right: 16px;
    background: #dcfce7; color: #166534;
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
    padding: 4px 10px; border-radius: 6px; letter-spacing: 0.5px;
}
.box-text-fb79__cost { font-size: 1.75rem; font-weight: 900; color: var(--brand-color); margin: 0.5rem 0; }
.box-text-fb79__features { list-style: none; padding: 0; margin: 0.75rem 0; text-align: left; }
.box-text-fb79__features li { padding: 0.35rem 0; border-bottom: 1px solid var(--border-color); font-size: 0.9rem; }

/* Tariff variant: horizontal */
.box-text-fb79--horizontal .box-text-fb79__grid { display: none; }
.box-text-fb79__row {
    display: grid;
    grid-template-columns: 1fr 1.5fr auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.25rem;
    border: var(--border-w) solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    background: var(--card-bg);
}
.box-text-fb79__row--hl { border-color: var(--brand-color); background: var(--brand-light); }
.box-text-fb79__row-head .box-text-fb79__cost { font-size: 1.4rem; margin: 0.25rem 0; }
.box-text-fb79__row-body .box-text-fb79__features { margin: 0; }
.box-text-fb79__row-body .box-text-fb79__features li { display: inline; }
.box-text-fb79__row-body .box-text-fb79__features li::after { content: ' \00B7  '; }
.box-text-fb79__row-body .box-text-fb79__features li:last-child::after { content: ''; }

/* Tariff variant: minimal */
.box-text-fb79--minimal .box-text-fb79__grid { display: none; }
.box-text-fb79__items-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
}
.box-text-fb79--minimal .box-text-fb79__cost { font-size: 1.25rem; white-space: nowrap; margin: 0; }

/* === Benefits === */
.crd-outer-6564 { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.crd-outer-6564 > .ft-dock-250f > h2 { text-align: center; margin-bottom: 1.5rem; }
.crd-outer-6564__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.crd-outer-6564__entry {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.crd-outer-6564__entry h3 { margin-bottom: 0.2rem; }

/* Benefits variant: checklist */
.crd-outer-6564--checklist .crd-outer-6564__grid { display: none; }
.crd-outer-6564__items { max-width: 700px; margin: 0 auto; }
.crd-outer-6564__tick-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    align-items: flex-start;
}
.crd-outer-6564__tick-mark {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-color);
    color: #fff;
    border-radius: 50%;
    font-size: 0.85rem;
    margin-top: 0.1rem;
}
.crd-outer-6564__tick-item p { margin: 0.25rem 0 0; color: var(--text-muted); font-size: 0.9rem; }

/* Benefits variant: icons */
.crd-outer-6564--icons .crd-outer-6564__entry { flex-direction: column; text-align: center; align-items: center; }
.crd-outer-6564__ico-big { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; margin-bottom: 0.5rem; }
.crd-outer-6564__ico-big img { width: 56px; height: 56px; }

/* === FAQ === */
.wp-wrap-d95df#faq { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.wp-wrap-d95df#faq h2, .wp-wrap-d95df > .ft-dock-250f > h2 { text-align: center; margin-bottom: 1.5rem; }

/* FAQ variant: grid. min(480px, 100%) so a column never forces a width wider than
   the viewport — a bare minmax(480px,...) overflows horizontally below 480px wide. */
.wp-wrap-d95df__faqs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: 1rem; }

/* FAQ details/accordion */
details.wp-aside-5fa4eda { cursor: pointer; }
details.wp-aside-5fa4eda summary { font-weight: 600; }
details.wp-aside-5fa4eda[open] summary { color: var(--brand-color); }

/* === CTA === */
.wp-link-03d3 {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    background: var(--brand-color) !important;
    color: #fff;
    text-align: center;
}
.wp-link-03d3 h2 { color: #fff; margin-bottom: 0.75rem; }
.wp-link-03d3 p { color: rgba(255,255,255,0.9); max-width: 600px; margin-left: auto; margin-right: auto; }
.wp-link-03d3 .btn { background: #fff; color: var(--brand-dark); border-color: #fff; margin-top: 0.75rem; }
.wp-link-03d3 .btn:hover { background: rgba(255,255,255,0.9); }

/* CTA variant: card */
.wp-link-03d3--card-wrap { background: var(--bg-alt) !important; }
.wp-link-03d3__box {
    max-width: 640px;
    margin: 0 auto;
    padding: 2.5rem;
    background: var(--brand-color);
    border-radius: var(--radius);
    text-align: center;
}
.wp-link-03d3__box h2 { color: #fff; }
.wp-link-03d3__box p { color: rgba(255,255,255,0.9); }
.wp-link-03d3__box .btn { background: #fff; color: var(--brand-dark); border-color: #fff; }

/* CTA variant: split */
.wp-link-03d3--split { text-align: left; }
.wp-link-03d3__half-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: center; }
.wp-link-03d3__half-action { text-align: center; }

/* === Products === */
.blk-strip-d2c2cf7 { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.blk-strip-d2c2cf7 > .ft-dock-250f > h2 { text-align: center; margin-bottom: 1.5rem; }
.blk-strip-d2c2cf7__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.blk-strip-d2c2cf7__box {
    border-radius: var(--radius);
    overflow: hidden;
    border: var(--border-w) solid var(--border-color);
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition), transform var(--transition);
    background: var(--card-bg);
}
.blk-strip-d2c2cf7__box:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.blk-strip-d2c2cf7__box-body { padding: 1.25rem; }

/* Products variant: list */
.blk-strip-d2c2cf7--list .blk-strip-d2c2cf7__grid { display: none; }
.blk-strip-d2c2cf7__items-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}
.blk-strip-d2c2cf7__items-item:last-child { border-bottom: none; }
.blk-strip-d2c2cf7__items-item p { margin: 0; }

/* Products variant: inline */
.blk-strip-d2c2cf7--inline .blk-strip-d2c2cf7__grid { display: none; }
.blk-strip-d2c2cf7__inline-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.blk-strip-d2c2cf7__inline-item {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.5rem;
    border: var(--border-w) solid var(--border-color);
    border-radius: var(--radius);
    background: var(--card-bg);
    transition: border-color var(--transition);
    color: var(--text-main);
    flex: 1 1 auto;
    min-width: 200px;
}
.blk-strip-d2c2cf7__inline-item:hover { border-color: var(--brand-color); }
.blk-strip-d2c2cf7__inline-item span { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; }

/* === Steps === */
.cp-0ae17 { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.cp-0ae17 > .ft-dock-250f > h2 { text-align: center; margin-bottom: 1.5rem; }
.cp-0ae17__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.25rem; counter-reset: step; position: relative; }
.cp-0ae17__entry { text-align: center; position: relative; }
.cp-0ae17__nr {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--brand-color);
    color: #fff;
    font-weight: 900;
    font-size: 1.25rem;
    border-radius: 50%;
    margin-bottom: 0.75rem;
    font-family: var(--ff-heading);
}
.cp-0ae17__entry h3 { font-size: 1.1rem; }
.cp-0ae17__entry p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
/* Connector line between steps */
.cp-0ae17__entry:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 24px;
    left: calc(50% + 28px);
    width: calc(100% + 1.25rem - 56px);
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

/* Transparent header: push hero content below header */
.el-rail-5a7f43--transparent ~ main > .ft-shelf-090d1 { padding-top: calc(80px + 2rem); }
/* Transparent header on non-hero pages (single, subpages): push first child down */
.el-rail-5a7f43--transparent ~ main > .ft-dock-250f:first-child { padding-top: calc(80px + 2rem); }
.el-rail-5a7f43--transparent ~ main > .wp-wrap-d95df:first-child { padding-top: calc(80px + 2rem); }

/* === Testimonials === */
.box-outer-5a933 { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.box-outer-5a933 > .ft-dock-250f > h2 { text-align: center; margin-bottom: 1.5rem; }
.box-outer-5a933__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.box-outer-5a933__box {
    padding: 1.5rem;
    background: var(--card-bg);
    border: var(--border-w) solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.box-outer-5a933__words {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 1rem;
    padding: 0;
    border: none;
    color: var(--text-main);
    position: relative;
    padding-left: 1.5rem;
}
.box-outer-5a933__words::before { content: '\201C'; font-size: 2.5rem; color: var(--brand-light); position: absolute; top: -0.5rem; left: 0; font-family: serif; line-height: 1; }
.box-outer-5a933__author { display: flex; gap: 0.75rem; align-items: center; }
.box-outer-5a933__ava { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.box-outer-5a933__ava img { width: 100%; height: 100%; object-fit: cover; }
.box-outer-5a933__position { display: block; color: var(--text-muted); font-size: 0.9rem; }
.box-outer-5a933__credit { display: block; font-style: normal; margin-top: 0.75rem; color: var(--text-muted); }
.box-outer-5a933__credit strong { color: var(--text-main); }
.box-outer-5a933__info { color: var(--text-muted); font-size: 0.9rem; }
.box-outer-5a933__info strong { color: var(--text-main); }

/* -- test-bubble -- */
.box-outer-5a933--bubble .box-outer-5a933__bubble {
    background: var(--card-bg);
    border: var(--border-w) solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.25rem;
    position: relative;
    margin-bottom: 1rem;
}
.box-outer-5a933--bubble .box-outer-5a933__bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 24px;
    width: 0; height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--card-bg);
}
.box-outer-5a933--bubble .box-outer-5a933__bubble::before {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 23px;
    width: 0; height: 0;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-top: 11px solid var(--border-color);
}
.box-outer-5a933--bubble .box-outer-5a933__box { background: none; border: none; box-shadow: none; padding: 0; }
.box-outer-5a933--bubble .box-outer-5a933__words { padding-left: 0; margin: 0; }
.box-outer-5a933--bubble .box-outer-5a933__words::before { display: none; }
.box-outer-5a933--bubble .box-outer-5a933__author { padding-left: 0.5rem; }

/* -- test-minimal -- */
.box-outer-5a933--minimal { text-align: center; }
.box-outer-5a933--minimal .ft-dock-250f > h2 { margin-bottom: 2rem; }
.box-outer-5a933--minimal .box-outer-5a933__items { max-width: 700px; margin: 0 auto; }
.box-outer-5a933--minimal .box-outer-5a933__entry { padding: 2rem 0; border-bottom: 1px solid var(--border-color); }
.box-outer-5a933--minimal .box-outer-5a933__entry:last-child { border-bottom: none; }
.box-outer-5a933--minimal .box-outer-5a933__words { font-size: 1.1rem; padding-left: 0; }
.box-outer-5a933--minimal .box-outer-5a933__words::before { display: none; }

/* -- test-featured -- */
.box-outer-5a933--featured .box-outer-5a933__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.box-outer-5a933--featured .box-outer-5a933__box--feat {
    grid-column: 1 / -1;
    border-left: 4px solid var(--brand-color);
    background: color-mix(in srgb, var(--brand-color) 5%, var(--card-bg));
}
.box-outer-5a933--featured .box-outer-5a933__box--feat .box-outer-5a933__ava { width: 72px; height: 72px; }

/* -- test-horizontal -- */
.box-outer-5a933--horizontal .box-outer-5a933__row {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--card-bg);
    border: var(--border-w) solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 1rem;
}
.box-outer-5a933--horizontal .box-outer-5a933__row:last-child { margin-bottom: 0; }
.box-outer-5a933--horizontal .box-outer-5a933__ava { width: 64px; height: 64px; border-radius: 8px; flex-shrink: 0; overflow: hidden; }
.box-outer-5a933--horizontal .box-outer-5a933__ava img { border-radius: 8px; }
.box-outer-5a933--horizontal .box-outer-5a933__content { flex: 1; }
.box-outer-5a933--horizontal .box-outer-5a933__words { padding-left: 0; margin-bottom: 0.75rem; }
.box-outer-5a933--horizontal .box-outer-5a933__words::before { display: none; }

/* -- test-accent -- */
.box-outer-5a933--accent .box-outer-5a933__box {
    border-left: 3px solid var(--brand-color);
    background: color-mix(in srgb, var(--brand-color) 4%, var(--card-bg));
    position: relative;
    overflow: hidden;
}
.box-outer-5a933--accent .box-outer-5a933__box::after {
    content: '\201D';
    position: absolute;
    top: -0.5rem;
    right: 0.5rem;
    font-size: 6rem;
    font-family: serif;
    line-height: 1;
    color: var(--brand-color);
    opacity: 0.07;
    pointer-events: none;
}
.box-outer-5a933--accent .box-outer-5a933__words::before { display: none; }
.box-outer-5a933--accent .box-outer-5a933__words { padding-left: 0; }

/* -- test-large-avatar -- */
.box-outer-5a933--lg-avatar .box-outer-5a933__box { text-align: center; }
.box-outer-5a933--lg-avatar .box-outer-5a933__ava { width: 80px; height: 80px; margin: 0 auto 1rem; }
.box-outer-5a933--lg-avatar .box-outer-5a933__words { padding-left: 0; text-align: center; }
.box-outer-5a933--lg-avatar .box-outer-5a933__words::before { position: static; display: block; text-align: center; margin-bottom: -0.5rem; }
.box-outer-5a933--lg-avatar .box-outer-5a933__info { margin-top: 0.75rem; }

/* -- test-masonry -- */
.box-outer-5a933--masonry .box-outer-5a933__grid { display: block; column-count: 2; column-gap: 1.25rem; }
.box-outer-5a933--masonry .box-outer-5a933__box { break-inside: avoid; margin-bottom: 1.25rem; border-top: 3px solid var(--brand-color); box-shadow: none; }
.box-outer-5a933--masonry .box-outer-5a933__words::before { display: none; }
.box-outer-5a933--masonry .box-outer-5a933__words { padding-left: 0; }

/* -- test-sidebar -- */
.box-outer-5a933--sidebar .box-outer-5a933__layout { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; align-items: start; }
.box-outer-5a933--sidebar .box-outer-5a933__side { position: sticky; top: 2rem; }
.box-outer-5a933--sidebar .box-outer-5a933__side h2 { text-align: left; margin-bottom: 1rem; }
.box-outer-5a933--sidebar .box-outer-5a933__side::after { content: ''; display: block; width: 48px; height: 3px; background: var(--brand-color); margin-top: 1rem; border-radius: 2px; }
.box-outer-5a933--sidebar .box-outer-5a933__box { margin-bottom: 1rem; }
.box-outer-5a933--sidebar .box-outer-5a933__box:last-child { margin-bottom: 0; }

/* -- test-stack -- */
.box-outer-5a933--stack .box-outer-5a933__grid { display: flex; flex-direction: column; gap: 0; }
.box-outer-5a933--stack .box-outer-5a933__box { display: flex; gap: 1.5rem; align-items: center; padding: 2rem; border: none; border-radius: 0; box-shadow: none; }
.box-outer-5a933--stack .box-outer-5a933__box:nth-child(even) { background: var(--bg-alt); }
.box-outer-5a933--stack .box-outer-5a933__box:nth-child(odd) { background: var(--card-bg); }
.box-outer-5a933--stack .box-outer-5a933__words { flex: 1; padding-left: 0; margin-bottom: 0; }
.box-outer-5a933--stack .box-outer-5a933__words::before { display: none; }
.box-outer-5a933--stack .box-outer-5a933__author { flex-shrink: 0; text-align: right; }
.box-outer-5a933--stack .box-outer-5a933__ava { width: 56px; height: 56px; }

/* === Partners === */
.cmp-dock-81430f0 { padding: clamp(2rem, 4vw, 3.5rem) 0; }
.cmp-dock-81430f0 > .ft-dock-250f > h2 { text-align: center; margin-bottom: 1.5rem; }
.cmp-dock-81430f0__marks { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: center; }
.cmp-dock-81430f0__logo-item { display: flex; align-items: center; justify-content: center; min-width: 120px; }
.cmp-dock-81430f0__logo-item img { max-height: 48px; width: auto; filter: grayscale(100%); opacity: 0.6; transition: all var(--transition); }
.cmp-dock-81430f0__logo-item:hover img { filter: grayscale(0%); opacity: 1; }
.cmp-dock-81430f0__logo-text {
    padding: 0.5rem 1.5rem;
    border: var(--border-w) solid var(--border-color);
    border-radius: var(--radius);
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition), border-color var(--transition);
}
.cmp-dock-81430f0__logo-item:hover .cmp-dock-81430f0__logo-text { color: var(--brand-color); border-color: var(--brand-color); }
.cmp-dock-81430f0__marks--named .cmp-dock-81430f0__logo-item { flex-direction: column; gap: 0.45rem; }
.cmp-dock-81430f0__logo-name { font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.02em; }
.cmp-dock-81430f0__logo-item:hover .cmp-dock-81430f0__logo-name { color: var(--brand-color); }

/* === Gallery === */
.sec-6918bc7 { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.sec-6918bc7 > .ft-dock-250f > h2 { text-align: center; margin-bottom: 1.5rem; }
.sec-6918bc7__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0.75rem; }
.sec-6918bc7__entry { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4/3; }
.sec-6918bc7__entry img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.sec-6918bc7__entry:hover img { transform: scale(1.05); }
.sec-6918bc7__note {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 0.85rem;
    text-align: center;
}

/* === Blog === */
.ui-dock-37fc { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.ui-dock-37fc > .ft-dock-250f > h2 { text-align: center; margin-bottom: 1.5rem; }
.ui-dock-37fc__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.ui-dock-37fc__thumb { border-radius: var(--radius); overflow: hidden; margin-bottom: 0.75rem; }
.ui-dock-37fc__thumb img { width: 100%; height: 180px; object-fit: cover; display: block; }
.ui-dock-37fc__pubdate { font-size: 0.8rem; color: var(--text-muted); display: block; margin-bottom: 0.25rem; }
.ui-dock-37fc__intro { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.ui-dock-37fc__more { font-size: 0.85rem; color: var(--brand-color); text-decoration: none; font-weight: 500; }
.ui-dock-37fc__more:hover { text-decoration: underline; }
/* Blog: list variant */
.ui-dock-37fc--list .ui-dock-37fc__entry { display: flex; gap: 1.25rem; padding: 1rem 0; border-bottom: 1px solid var(--border-color); }
.ui-dock-37fc--list .ui-dock-37fc__thumb { flex-shrink: 0; width: 200px; margin: 0; }
.ui-dock-37fc--list .ui-dock-37fc__thumb img { height: 130px; }
.ui-dock-37fc--list .ui-dock-37fc__entry-body h3 { margin: 0 0 0.25rem; font-size: 1.1rem; }
.ui-dock-37fc--list .ui-dock-37fc__entry-body h3 a { color: var(--text-main); text-decoration: none; }
.ui-dock-37fc--list .ui-dock-37fc__entry-body h3 a:hover { color: var(--brand-color); }
/* Blog: cards variant */
.ui-dock-37fc--cards .ui-dock-37fc__box { display: flex; flex-direction: column; }
.ui-dock-37fc--cards .ui-dock-37fc__box-body { flex: 1; display: flex; flex-direction: column; padding: 1rem 0; }
.ui-dock-37fc--cards .ui-dock-37fc__box-body h3 { margin: 0.25rem 0 0.5rem; font-size: 1.05rem; }
.ui-dock-37fc--cards .ui-dock-37fc__box-body h3 a { color: var(--text-main); text-decoration: none; }
.ui-dock-37fc--cards .ui-dock-37fc__box-body h3 a:hover { color: var(--brand-color); }
.ui-dock-37fc--cards .ui-dock-37fc__more { margin-top: auto; }
/* Blog: minimal variant */
.ui-dock-37fc--minimal .ui-dock-37fc__items { list-style: none; padding: 0; }
.ui-dock-37fc--minimal .ui-dock-37fc__items li { padding: 0.75rem 0; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
.ui-dock-37fc--minimal .ui-dock-37fc__items a { color: var(--text-main); text-decoration: none; font-weight: 500; }
.ui-dock-37fc--minimal .ui-dock-37fc__items a:hover { color: var(--brand-color); }

/* === Comments/Reviews === */
.wp-wrap-d95df--cm-cards, .wp-wrap-d95df--cm-list, .wp-wrap-d95df--cm-bubbles { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.wp-wrap-d95df--cm-cards > .ft-dock-250f > h2, .wp-wrap-d95df--cm-list > .ft-dock-250f > h2, .wp-wrap-d95df--cm-bubbles > .ft-dock-250f > h2 { text-align: center; margin-bottom: 1.5rem; }
/* Comments: cards */
.wp-wrap-d95df__feedback-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.wp-wrap-d95df__feedback-card { padding: 1.25rem; }
.wp-wrap-d95df__feedback-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.wp-wrap-d95df__feedback-header img { border-radius: 50%; }
.wp-wrap-d95df__feedback-header strong { font-size: 0.95rem; }
.wp-wrap-d95df__feedback-header small { color: var(--text-muted); }
.wp-wrap-d95df__feedback-card p { font-size: 0.9rem; line-height: 1.6; color: var(--text-muted); margin: 0; }
/* Comments: list */
.wp-wrap-d95df--cm-list .wp-wrap-d95df__feedback-item { padding: 1rem 0; border-bottom: 1px solid var(--border-color); }
.wp-wrap-d95df--cm-list .wp-wrap-d95df__feedback-item strong { margin-right: 0.75rem; }
.wp-wrap-d95df--cm-list .wp-wrap-d95df__feedback-item time { font-size: 0.8rem; color: var(--text-muted); }
.wp-wrap-d95df--cm-list .wp-wrap-d95df__feedback-item p { margin: 0.5rem 0 0; font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
/* Comments: bubbles */
.wp-wrap-d95df--cm-bubbles .wp-wrap-d95df__feedback-bubble { display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.wp-wrap-d95df__feedback-avatar img { border-radius: 50%; flex-shrink: 0; }
.wp-wrap-d95df__feedback-content { background: var(--card-bg); border-radius: var(--radius); padding: 1rem 1.25rem; position: relative; }
.wp-wrap-d95df__feedback-content p { margin: 0 0 0.5rem; font-size: 0.95rem; font-style: italic; line-height: 1.6; }
.wp-wrap-d95df__feedback-content cite { font-size: 0.8rem; color: var(--text-muted); font-style: normal; font-weight: 600; }

/* === Team === */
.st-82dba { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.st-82dba > .ft-dock-250f > h2 { text-align: center; margin-bottom: 0.5rem; }
.st-82dba__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.st-82dba__box { text-align: center; background: var(--card-bg); border: var(--border-w) solid var(--border-color); border-radius: var(--radius); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.st-82dba__box:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.st-82dba__portrait { aspect-ratio: 1/1; overflow: hidden; }
.st-82dba__portrait img { width: 100%; height: 100%; object-fit: cover; }
.st-82dba__box h3 { margin: 0.75rem 0 0.25rem; font-size: 1rem; }
.st-82dba__box p { font-size: 0.85rem; color: var(--text-muted); margin: 0 0 0.75rem; padding: 0 1rem; }
.st-82dba--list .st-82dba__grid { grid-template-columns: 1fr; }
.st-82dba--list .st-82dba__box { display: flex; text-align: left; }
.st-82dba--list .st-82dba__portrait { width: 120px; flex-shrink: 0; aspect-ratio: 1/1; }
.st-82dba--compact .st-82dba__grid { gap: 1rem; }
.st-82dba--compact .st-82dba__portrait { width: 80px; height: 80px; border-radius: 50%; margin: 1rem auto 0.5rem; }

/* === Code Showcase (CSS-only tabs) === */.hd-frame-682c1d { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.hd-frame-682c1d > .ft-dock-250f > h2 { text-align: center; margin-bottom: 0.5rem; }
.hd-frame-682c1d__panel { position: relative; max-width: 720px; margin: 2rem auto 0; }
.hd-frame-682c1d__choice { display: none; }
.hd-frame-682c1d__toggles { display: flex; gap: 5px; }
.hd-frame-682c1d__tab-btn { padding: 10px 25px; font-size: 0.9rem; font-weight: 600; color: var(--text-muted); background: var(--bg-alt); border-radius: 8px 8px 0 0; cursor: pointer; transition: background var(--transition), color var(--transition); }
.hd-frame-682c1d__codebox-block { display: none; background: #1e293b; border-radius: 0 8px 8px 8px; overflow-x: auto; }
.hd-frame-682c1d__codebox-block pre { color: #f1f5f9; padding: 25px; font-size: 0.85rem; line-height: 1.6; margin: 0; font-family: 'SFMono-Regular',Consolas,'Liberation Mono',Menlo,monospace; }
.hd-frame-682c1d__codebox-block code { white-space: pre; }
.hd-frame-682c1d__choice:nth-of-type(1):checked ~ .hd-frame-682c1d__codebox-block--curl { display: block; }
.hd-frame-682c1d__choice:nth-of-type(2):checked ~ .hd-frame-682c1d__codebox-block--python { display: block; }
.hd-frame-682c1d__choice:nth-of-type(3):checked ~ .hd-frame-682c1d__codebox-block--php { display: block; }
.hd-frame-682c1d__choice:nth-of-type(1):checked ~ .hd-frame-682c1d__toggles .hd-frame-682c1d__tab-btn:nth-of-type(1),
.hd-frame-682c1d__choice:nth-of-type(2):checked ~ .hd-frame-682c1d__toggles .hd-frame-682c1d__tab-btn:nth-of-type(2),
.hd-frame-682c1d__choice:nth-of-type(3):checked ~ .hd-frame-682c1d__toggles .hd-frame-682c1d__tab-btn:nth-of-type(3) {
    background: #1e293b; color: #fff;
}
/* === Categories === */
.box-aside-2849 { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.box-aside-2849 > .ft-dock-250f > h2 { text-align: center; margin-bottom: 0.5rem; }
.box-aside-2849__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }
.box-aside-2849__box { padding: 1.5rem; background: var(--card-bg); border: var(--border-w) solid var(--border-color); border-radius: var(--radius); text-decoration: none; color: var(--text-main); transition: all var(--transition); display: block; }
.box-aside-2849__box:hover { border-color: var(--brand-color); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.box-aside-2849__entry { text-decoration: none; color: var(--text-main); transition: background var(--transition); }
.box-aside-2849__entry:hover { background: var(--bg-alt); }
.box-aside-2849--icons .box-aside-2849__entry { text-decoration: none; color: var(--text-main); transition: color var(--transition); }
.box-aside-2849--icons .box-aside-2849__entry:hover { color: var(--brand-color); }

/* === Comparison === */
.st-zone-607a { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.st-zone-607a > .ft-dock-250f > h2 { text-align: center; margin-bottom: 0.5rem; }
.st-zone-607a__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.st-zone-607a__box { padding: 1.5rem; background: var(--card-bg); border: var(--border-w) solid var(--border-color); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); }
.st-zone-607a__box:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.st-zone-607a__box h3 { margin: 0 0 0.75rem; font-size: 1.1rem; }
.st-zone-607a__rating { color: var(--accent-color); font-size: 1.1rem; margin-bottom: 0.75rem; }
.st-zone-607a__pros, .st-zone-607a__downsides { font-size: 0.9rem; margin-bottom: 0.5rem; }
.st-zone-607a__table { width: 100%; border-spacing: 0; border-collapse: collapse; }
.st-zone-607a__table th { font-weight: 600; color: var(--text-main); background: var(--bg-alt); }
.st-zone-607a__table td, .st-zone-607a__table th { padding: 0.75rem; border-bottom: 1px solid var(--border-color); text-align: left; }
.st-zone-607a__table tr:hover td { background: var(--bg-alt); }
.st-zone-607a__wrapper { overflow-x: auto; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); border: 1px solid var(--border-color); }
.st-zone-607a__hcell-feature, .st-zone-607a__data-cell-feature { position: sticky; left: 0; z-index: 1; background: var(--bg-main); box-shadow: 2px 0 5px rgba(0,0,0,0.05); }
.st-zone-607a__hcell-feature { z-index: 2; background: var(--bg-alt); }
.st-zone-607a__hcell-hl { background: var(--brand-light); border-top: 3px solid var(--brand-color); color: var(--brand-dark); }
.st-zone-607a__data-cell-hl { background: var(--brand-light); }
.st-zone-607a--list .st-zone-607a__entry { padding: 1.25rem 0; border-bottom: 1px solid var(--border-color); }

/* === Projects === */
.hd-form-807cf32 { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.hd-form-807cf32 > .ft-dock-250f > h2 { text-align: center; margin-bottom: 0.5rem; }
.hd-form-807cf32__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.hd-form-807cf32__box { background: var(--card-bg); border: var(--border-w) solid var(--border-color); border-radius: var(--radius); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.hd-form-807cf32__box:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.hd-form-807cf32__box img { width: 100%; height: 200px; object-fit: cover; display: block; }
.hd-form-807cf32__box-body { padding: 1.25rem; }
.hd-form-807cf32__box-body h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.hd-form-807cf32__box-body p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }
.hd-form-807cf32__tag { display: inline-block; font-size: 0.75rem; background: var(--bg-alt); color: var(--text-muted); padding: 0.2rem 0.6rem; border-radius: 1rem; margin-bottom: 0.5rem; }
.hd-form-807cf32--case .hd-form-807cf32__grid { grid-template-columns: 1fr; gap: 2rem; }
.hd-form-807cf32--case .hd-form-807cf32__entry { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: center; }
.hd-form-807cf32--case .hd-form-807cf32__entry img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.hd-form-807cf32--minimal .hd-form-807cf32__grid { grid-template-columns: 1fr; }
.hd-form-807cf32--minimal .hd-form-807cf32__entry { padding: 1rem 0; border-bottom: 1px solid var(--border-color); }

/* === Entry content === */
.mod-cell-6a4b75 { line-height: 1.8; }
.mod-cell-6a4b75 p { margin-bottom: 1rem; }
.mod-cell-6a4b75 h2, .mod-cell-6a4b75 h3, .mod-cell-6a4b75 h4 { margin: 1.5rem 0 0.75rem; }
.mod-cell-6a4b75 img { max-width: 100%; height: auto; border-radius: var(--radius); }
.mod-cell-6a4b75 ul, .mod-cell-6a4b75 ol { margin: 0 0 1rem 1.5rem; }
.mod-cell-6a4b75 blockquote { border-left: 3px solid var(--brand-color); padding: 0.75rem 1.25rem; margin: 1rem 0; background: var(--bg-alt); border-radius: var(--radius); }

/* === Promo images === */
.mod-promo-2e82659 { padding: clamp(1.5rem, 3vw, 2.5rem) 0; }
.mod-promo-2e82659__beltline { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1rem, 3vw, 2.5rem); }
.mod-promo-2e82659__entry { display: inline-flex; align-items: center; }
.mod-promo-2e82659__entry img { max-height: 40px; width: auto; filter: grayscale(1); opacity: 0.6; transition: all var(--transition); }
.mod-promo-2e82659__entry:hover img { filter: grayscale(0); opacity: 1; }
.mod-promo-2e82659__entry a { text-decoration: none; }

/* === Marquee banner === */
@keyframes tg6fdf6 { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.el-cta-0c5d3e0 { background: var(--brand-light); overflow: hidden; padding: 0.6rem 0; white-space: nowrap; }
.el-cta-0c5d3e0__track { display: inline-flex; animation: tg6fdf6 22s linear infinite; }
.el-cta-0c5d3e0__copy { display: inline-block; padding: 0 2rem; font-size: 0.95rem; font-weight: 500; color: var(--brand-dark); letter-spacing: 0.02em; }
/* === Custom blocks === */
.wp-aside-5fa4eda { padding: 2rem 0; }
.wp-aside-5fa4eda > div { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wp-aside-5fa4eda h2 { text-align: center; margin-bottom: 1.5rem; }
.wp-aside-5fa4eda p { max-width: 48rem; margin: 0.75rem auto; line-height: 1.7; color: var(--text-main); }

/* === Footer === */
.st-stack-40a5 {
    background: var(--brand-dark);
    color: rgba(255,255,255,0.8);
    padding: 2rem 0 1.25rem;
    margin-top: 0;
}
.st-stack-40a5__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-bottom: 1.25rem; }
.st-stack-40a5__column h3 { color: #fff; font-size: 1rem; margin-bottom: 0.5rem; }
.st-stack-40a5__column p { font-size: 0.9rem; margin-bottom: 0.4rem; }
.st-stack-40a5__column a { color: rgba(255,255,255,0.7); }
.st-stack-40a5__column a:hover { color: #fff; }
.st-stack-40a5__column ul { list-style: none; padding: 0; }
.st-stack-40a5__column ul li { margin-bottom: 0.35rem; }
.st-stack-40a5__column nav ul { list-style: none; padding: 0; column-width: 11rem; column-count: 2; column-gap: 1.5rem; } /* column-width caps columns: collapse to 1 on narrow footer cols so long RU labels don't break (QA: footer font-wrap) */
.st-stack-40a5__column nav ul li { margin-bottom: 0.35rem; break-inside: avoid; }
.st-stack-40a5__column nav a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.st-stack-40a5__column nav a:hover { color: #fff; }
/* minimal-rg quick-links: one centered horizontal row (parity with the other footers) */
.st-stack-40a5__linklist, .st-stack-40a5__linklist ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.st-stack-40a5__linklist ul { margin: 0; }
.st-stack-40a5__linklist li { margin: 0; list-style: none; }
.st-stack-40a5__linklist a { color: rgba(255,255,255,0.82); font-size: 0.9rem; }
.st-stack-40a5__linklist a:hover { color: #fff; }
.st-stack-40a5__bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 0.75rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; flex-wrap: wrap; gap: 0.5rem; }
.st-stack-40a5__networks { display: flex; gap: 0.75rem; }
.st-stack-40a5__networks a { color: rgba(255,255,255,0.7); }
.st-stack-40a5__networks a:hover { color: #fff; }

/* Footer: legal bar */
.st-stack-40a5__legals {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.5rem 0;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 0.75rem;
    list-style: none;
}
.st-stack-40a5__legals li { list-style: none; }
.st-stack-40a5__legals a { color: rgba(255,255,255,0.55); }
.st-stack-40a5__legals a:hover { color: rgba(255,255,255,0.9); }

/* Footer legal bar — randomized presentation (anti-fingerprint).
   Double-class beats any base `__legals` rule regardless of cascade order.
   Separators/pills use currentColor+opacity so they adapt to light or dark footers.
   Covers both children shapes: <a> (fallback div) and <li> (menu / iGaming <ul>). */
.st-stack-40a5__legals.st-stack-40a5__legals--sep-pipe,
.st-stack-40a5__legals.st-stack-40a5__legals--sep-dot,
.st-stack-40a5__legals.st-stack-40a5__legals--sep-bullet,
.st-stack-40a5__legals.st-stack-40a5__legals--sep-slash,
.st-stack-40a5__legals.st-stack-40a5__legals--sep-dash { flex-direction: row; flex-wrap: wrap; gap: 0.5rem; }
.st-stack-40a5__legals--sep-pipe > a + a::before, .st-stack-40a5__legals--sep-pipe > li + li::before { content: '\2502'; margin-right: 0.5rem; opacity: 0.4; }
.st-stack-40a5__legals--sep-dot > a + a::before, .st-stack-40a5__legals--sep-dot > li + li::before { content: '\00B7'; margin-right: 0.5rem; opacity: 0.55; }
.st-stack-40a5__legals--sep-bullet > a + a::before, .st-stack-40a5__legals--sep-bullet > li + li::before { content: '\2022'; margin-right: 0.5rem; opacity: 0.45; }
.st-stack-40a5__legals--sep-slash > a + a::before, .st-stack-40a5__legals--sep-slash > li + li::before { content: '/'; margin-right: 0.5rem; opacity: 0.4; }
.st-stack-40a5__legals--sep-dash > a + a::before, .st-stack-40a5__legals--sep-dash > li + li::before { content: '\2013'; margin-right: 0.5rem; opacity: 0.4; }
.st-stack-40a5__legals.st-stack-40a5__legals--stacked { flex-direction: column; gap: 0.4rem; }
.st-stack-40a5__legals.st-stack-40a5__legals--pills { flex-direction: row; flex-wrap: wrap; gap: 0.5rem; }
.st-stack-40a5__legals--pills > a, .st-stack-40a5__legals--pills > li > a { padding: 0.2rem 0.7rem; border: 1px solid currentColor; border-radius: 999px; opacity: 0.7; line-height: 1.9; }

/* Footer bottom-strip arrangement (per-theme): copyright alignment + legal-divider on/off,
   so the legal-links / copyright bars are not laid out identically on every theme. */
.st-stack-40a5--fb-a .st-stack-40a5__bottom, .st-stack-40a5--fb-b .st-stack-40a5__bottom { justify-content: center; text-align: center; }
.st-stack-40a5--fb-c .st-stack-40a5__bottom, .st-stack-40a5--fb-e .st-stack-40a5__bottom { justify-content: flex-start; text-align: left; }
.st-stack-40a5--fb-d .st-stack-40a5__bottom { justify-content: flex-end; text-align: right; }
.st-stack-40a5.st-stack-40a5--fb-b .st-stack-40a5__legals, .st-stack-40a5.st-stack-40a5--fb-d .st-stack-40a5__legals, .st-stack-40a5.st-stack-40a5--fb-e .st-stack-40a5__legals { border-bottom: 0; margin-bottom: 0.5rem; padding-bottom: 0; }

/* Footer: custom HTML */
.st-stack-40a5__extra { padding: 0.75rem 0; }

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 10px 24px;
    font-family: var(--ff-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    /* color-mix keeps the brand hue but leans on the theme text color, so the outline
       button stays readable on dark presets with muted palettes — pure primary text
       sank into the card bg (live: 1963.рф, products cards). */
    border: var(--border-w) solid color-mix(in srgb, var(--brand-color) 70%, var(--text-main));
    background: transparent;
    color: color-mix(in srgb, var(--brand-color) 55%, var(--text-main));
    cursor: pointer;
    transition: all var(--transition);
    border-radius: 2px;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
}
.btn:hover { background: var(--brand-color); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.btn-primary {
    background: var(--brand-color);
    color: #fff;
    border-color: var(--brand-color);
}
.btn-primary:hover { background: var(--accent-color); border-color: var(--accent-color); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.btn-outline {
    background: transparent;
    color: var(--brand-color);
    border: 2px solid var(--brand-color);
}
.btn-outline:hover { background: var(--brand-color); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }

.cta-link {
    display: inline-block;
    padding: 10px 24px;
    font-family: var(--ff-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: var(--brand-color);
    color: #fff;
    border: var(--border-w) solid var(--brand-color);
    border-radius: 2px;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
    cursor: pointer;
    transition: all var(--transition);
}
.cta-link:hover { background: var(--accent-color); border-color: var(--accent-color); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }

/* === Section modifier utility classes === */
.mod--soft { background: linear-gradient(135deg, var(--bg-main) 0%, var(--bg-alt) 100%) !important; }
.bg--gradient {
    background: var(--brand-light) !important;
    /* Override ALL text vars to dark — accent-bg is always light */
    --color-text: #1e293b; --color-text-light: #475569; --color-card: #fff;
    --color-bg-alt: rgba(0,0,0,0.03); --color-border: rgba(0,0,0,0.12);
    --clr-body: #1e293b; --clr-body-light: #475569; --clr-card: #fff;
    --clr-surface-alt: rgba(0,0,0,0.03); --clr-border: rgba(0,0,0,0.12);
    --text-main: #1e293b; --text-muted: #475569; --card-bg: #fff;
    --bg-alt: rgba(0,0,0,0.03); --border-color: rgba(0,0,0,0.12);
}
.bg--gradient, .bg--gradient p, .bg--gradient li, .bg--gradient span, .bg--gradient h2, .bg--gradient h3 { color: #1e293b !important; }
.bg--gradient .sec-c654f9__numeral { color: var(--brand-dark) !important; }
.bg--gradient .sec-c654f9__label { color: #475569 !important; }
.bg--gradient .sec-c654f9__bar { background: var(--brand-dark) !important; color: #fff !important; }
.bg--gradient .sec-c654f9__bar .sec-c654f9__numeral, .bg--gradient .sec-c654f9__bar .sec-c654f9__label { color: #fff !important; }
.layer--accent {
    background: rgba(255,255,255,0.7) !important; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    /* Override ALL text vars to dark — glass bg is always light */
    --color-text: #1e293b; --color-text-light: #475569; --color-card: rgba(255,255,255,0.5);
    --color-bg-alt: rgba(0,0,0,0.03); --color-border: rgba(0,0,0,0.1);
    --clr-body: #1e293b; --clr-body-light: #475569; --clr-card: rgba(255,255,255,0.5);
    --clr-surface-alt: rgba(0,0,0,0.03); --clr-border: rgba(0,0,0,0.1);
    --text-main: #1e293b; --text-muted: #475569; --card-bg: rgba(255,255,255,0.5);
    --bg-alt: rgba(0,0,0,0.03); --border-color: rgba(0,0,0,0.1);
}
.layer--accent h2, .layer--accent h3, .layer--accent p, .layer--accent span { color: #1e293b; }
.layer--accent .sec-c654f9__numeral { color: var(--brand-dark); }
/* the stat --bar variant keeps its solid primary inner band even under glass — the
   primary-dark digits above land on it and vanish (live: shirokoformatnaya-pechat-spb.ru) */
.layer--accent .sec-c654f9__bar .sec-c654f9__numeral, .layer--accent .sec-c654f9__bar .sec-c654f9__label { color: #fff !important; }
.alt--fade {
    background: var(--brand-dark) !important;
    color: #fff;
    /* Override ALL CSS var sets so child elements auto-adapt on dark bg */
    /* Set A canonical */
    --color-card: rgba(255,255,255,0.08);
    --color-bg: transparent;
    --color-bg-alt: rgba(255,255,255,0.04);
    --color-text: #fff;
    --color-text-light: rgba(255,255,255,0.75);
    --color-border: rgba(255,255,255,0.15);
    --color-primary: var(--accent-color);
    --color-primary-dark: var(--accent-color);
    --color-primary-light: rgba(255,255,255,0.12);
    /* Set B canonical */
    --clr-card: rgba(255,255,255,0.08);
    --clr-surface: transparent;
    --clr-surface-alt: rgba(255,255,255,0.04);
    --clr-body: #fff;
    --clr-body-light: rgba(255,255,255,0.75);
    --clr-border: rgba(255,255,255,0.15);
    --clr-main: var(--clr-accent);
    --clr-main-dark: var(--clr-accent);
    --clr-main-light: rgba(255,255,255,0.12);
    /* Set C canonical */
    --card-bg: rgba(255,255,255,0.08);
    --bg-main: transparent;
    --bg-alt: rgba(255,255,255,0.04);
    --text-main: #fff;
    --text-muted: rgba(255,255,255,0.75);
    --border-color: rgba(255,255,255,0.15);
    --brand-color: var(--accent-color);
    --brand-dark: var(--accent-color);
    --brand-light: rgba(255,255,255,0.12);
}
.alt--fade h2, .alt--fade h3 { color: #fff; }
.alt--fade p, .alt--fade li, .alt--fade span { color: rgba(255,255,255,0.9); }
.alt--fade a:not(.btn) { color: var(--accent-color); }
/* button-styled links keep their own colours — the accent link colour above would
   otherwise paint .btn-primary text the same accent as its (remapped) bg → invisible */
.alt--fade .btn-primary { color: #fff !important; }
/* Outline .btn on a dark-inverted section: primary is often a dark hue, so ANY mix of
   it fails contrast against the inverted bg (measured 2.3:1 on 1963.рф). White text +
   translucent white border is the only value that holds for every palette (~5.2:1). */
.alt--fade .btn { color: #fff; border-color: rgba(255,255,255,0.55); }
.alt--fade .btn:hover { background: rgba(255,255,255,0.14); color: #fff; border-color: #fff; }
.alt--fade .box-text-fb79__cost { color: #fff; }
.alt--fade .block-subtitle { color: rgba(255,255,255,0.7); }
/* Big numeric accents are primary-coloured divs (not covered by the span/p rule) and
   the primary→accent remap above can land on a hue close to the dark bg — live case:
   stat values invisible on shirokoformatnaya-pechat-spb.ru. Force white. */
.alt--fade .sec-c654f9__numeral, .alt--fade .lay-form-375f6__value { color: #fff !important; }

/* === Card modifier utility classes === */
.item--bordered { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.item--lift { border: var(--border-w) solid var(--border-color); box-shadow: none; }
.tile--lift { background: rgba(255,255,255,0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2); }
.box--hover { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.box--hover:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.tile--shadow { box-shadow: none; border: none; background: var(--bg-alt); }
.tile--plain { position: relative; padding-right: 2.5rem; cursor: pointer; transition: border-color 0.2s; }
.tile--plain::after { content: '\2192'; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 1.1rem; transition: right 0.2s, color 0.2s; }
.tile--plain:hover { border-color: var(--brand-color); }
.tile--plain:hover::after { right: 0.75rem; color: var(--brand-color); }

/* === Forms === */
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
    width: 100%;
    padding: 10px 14px;
    border: var(--border-w) solid var(--border-color);
    border-radius: var(--radius);
    background: var(--card-bg);
    color: var(--text-main);
    font-family: var(--ff-body);
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
    margin-bottom: 0.75rem;
}
input:focus, textarea:focus { border-color: var(--brand-color); box-shadow: 0 0 0 3px var(--brand-light); }

/* === Comment form === */
input[type="submit"], button[type="submit"] {
    display: inline-block;
    padding: 12px 24px;
    background: var(--accent-color);
    color: #fff;
    font-weight: 600;
    font-family: var(--ff-body);
    font-size: 1rem;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}
input[type="submit"]:hover, button[type="submit"]:hover { background: var(--accent-hover); transform: translateY(-1px); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--brand-color); }
.comment-form p { margin-bottom: 0.7rem; }
.comment-form label { display: block; margin-bottom: 0.3rem; font-weight: 500; font-size: 0.95rem; }
.comment-form .required { color: var(--accent-color); }
.comment-form-cookies-consent { display: flex; align-items: baseline; gap: 0.5rem; }
.comment-form-cookies-consent label { display: inline; margin: 0; font-weight: 400; font-size: 0.8rem; color: var(--text-muted); }
.comment-notes { font-size: 0.8rem; color: var(--text-muted); }
.comment-reply-title { font-size: 1.25rem; margin-bottom: 1rem; }
.comment-reply-title small { font-size: 0.8rem; margin-left: 0.5rem; font-weight: 400; }
.itm-hero-e2110a { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--border-color); }
.itm-hero-e2110a > h2 { margin-bottom: 1.5rem; }
.itm-hero-e2110a > ol { list-style: none; padding: 0; margin: 0 0 2rem; }
.itm-hero-e2110a .comment { margin-bottom: 1.25rem; }

/* === Utilities === */
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* === Responsive === */
@media (max-width: 768px) {
    :root { --gutter: 16px; }

    .cmp-card-09aed6 .ft-dock-250f { font-size: 0.8rem; flex-wrap: wrap; justify-content: center; text-align: center; }

    .el-rail-5a7f43 .ft-dock-250f { flex-wrap: wrap; }
    .el-rail-5a7f43__topnav { display: none; }
    .el-rail-5a7f43__burger { display: block; }
    .el-rail-5a7f43__topnav--open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--brand-dark);
        padding: 1rem var(--gutter);
        gap: 0.5rem;
        z-index: 99;
        box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    }
    .el-rail-5a7f43__topnav--open a { padding: 8px 0; display: block; font-size: 1rem; }
    .el-rail-5a7f43__topnav--open li::before { display: none; }
    .el-rail-5a7f43__topnav .sub-menu { display: block; position: static; box-shadow: none; border: none; padding: 0 0 0 1rem; min-width: auto; background: transparent; }
    .el-rail-5a7f43__topnav .sub-menu a { color: inherit; font-size: 0.9rem; padding: 6px 0; opacity: 0.85; }
    .el-rail-5a7f43--white .el-rail-5a7f43__topnav--open { background: var(--bg-main); border-bottom: 1px solid var(--border-color); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
    .el-rail-5a7f43--white .el-rail-5a7f43__topnav--open a { color: var(--text-main); }
    .el-rail-5a7f43__controls { width: 100%; justify-content: space-between; margin-top: 0.5rem; }
    .el-rail-5a7f43__sec-links { justify-content: flex-start; font-size: 0.85rem; }
    .el-rail-5a7f43__sec-nav--dropdown .el-rail-5a7f43__sec-links { display: flex; position: static; box-shadow: none; border: none; flex-wrap: wrap; gap: 0.5rem; background: transparent; padding: 0; }
    .el-rail-5a7f43__sec-nav--dropdown .el-rail-5a7f43__sec-toggle { display: none; }
    .el-rail-5a7f43__sec-nav--pills .el-rail-5a7f43__sec-links { gap: 0.35rem; }
    .el-rail-5a7f43__sec-nav--pills .el-rail-5a7f43__sec-links a { font-size: 0.75rem; padding: 0.2rem 0.6rem; }

    .ft-shelf-090d1--split > .ft-dock-250f { grid-template-columns: 1fr !important; }
    .ft-shelf-090d1--left-aligned > .ft-dock-250f { grid-template-columns: 1fr !important; }
    .ft-shelf-090d1__deco { min-height: auto; align-items: center; }
    .ft-shelf-090d1__heading { font-size: clamp(1.75rem, 6vw, 2.5rem); }
    .ft-shelf-090d1__btns { flex-direction: column; }
    .ft-shelf-090d1__btns .ft-shelf-090d1__button { text-align: center; }
    .ft-shelf-090d1__figures-row { gap: 1.5rem; }
    .ft-shelf-090d1__features-grid { grid-template-columns: 1fr 1fr !important; }
    .ft-shelf-090d1--checklist .ft-shelf-090d1__tick-grid { grid-template-columns: 1fr !important; }
    .ft-shelf-090d1__pills-row { gap: 0.5rem; }
    .ft-shelf-090d1__badge { padding: 8px 12px; font-size: 0.8rem; }
    .ft-shelf-090d1__gauges-layout { grid-template-columns: 1fr; }

    .sec-c654f9--bar .sec-c654f9__bar { flex-wrap: wrap; }
    .sec-c654f9__grid { gap: 1.25rem; }
    .sec-c654f9__numeral { font-size: 1.75rem; }

    .el-hero-6f69b__grid { grid-template-columns: 1fr !important; }
    .el-hero-6f69b--numbered .el-hero-6f69b__grid { grid-template-columns: 1fr !important; }

    .box-text-fb79__grid { grid-template-columns: 1fr !important; }
    .box-text-fb79__row { grid-template-columns: 1fr !important; gap: 0.75rem; }
    .box-text-fb79__items-item { flex-direction: column; text-align: center; }

    .crd-outer-6564__grid { grid-template-columns: 1fr !important; }

    .wp-link-03d3__half-grid { grid-template-columns: 1fr !important; }

    .blk-strip-d2c2cf7__grid { grid-template-columns: 1fr !important; }
    .blk-strip-d2c2cf7__items-item { flex-direction: column; gap: 0.5rem; }
    .blk-strip-d2c2cf7__inline-grid { flex-direction: column; }

    .cp-0ae17__grid { grid-template-columns: 1fr 1fr !important; }
    .cp-0ae17__entry:not(:last-child)::after { display: none; }

    .box-outer-5a933__grid { grid-template-columns: 1fr !important; }
    .box-outer-5a933--featured .box-outer-5a933__grid { grid-template-columns: 1fr !important; }
    .box-outer-5a933--horizontal .box-outer-5a933__row { flex-direction: column; align-items: center; text-align: center; }
    .box-outer-5a933--horizontal .box-outer-5a933__ava { margin: 0 auto; }
    .box-outer-5a933--masonry .box-outer-5a933__grid { column-count: 1; }
    .box-outer-5a933--sidebar .box-outer-5a933__layout { grid-template-columns: 1fr !important; }
    .box-outer-5a933--sidebar .box-outer-5a933__side { position: static; }
    .box-outer-5a933--sidebar .box-outer-5a933__side h2 { text-align: center; }
    .box-outer-5a933--sidebar .box-outer-5a933__side::after { margin: 1rem auto; }
    .box-outer-5a933--stack .box-outer-5a933__box { flex-direction: column; text-align: center; }
    .box-outer-5a933--stack .box-outer-5a933__author { text-align: center; }

    .sec-6918bc7__grid { grid-template-columns: 1fr 1fr !important; }

    .ui-dock-37fc__grid { grid-template-columns: 1fr !important; }

    .wp-wrap-d95df__faqs-grid { grid-template-columns: 1fr !important; }

    .st-82dba__grid { grid-template-columns: 1fr 1fr !important; }
    .st-82dba--list .st-82dba__box { flex-direction: column; text-align: center; }
    .st-82dba--list .st-82dba__portrait { width: 100%; }
    .box-aside-2849__grid { grid-template-columns: 1fr 1fr !important; }
    .st-zone-607a__grid { grid-template-columns: 1fr !important; }
    .st-zone-607a__table { font-size: 0.85rem; overflow-x: auto; display: block; }
    .hd-form-807cf32__grid { grid-template-columns: 1fr !important; }
    .hd-form-807cf32--case .hd-form-807cf32__entry { grid-template-columns: 1fr !important; }
    .mod-promo-2e82659__entry img { max-height: 30px; }

    .st-stack-40a5__grid { grid-template-columns: 1fr !important; }
    .st-stack-40a5__column nav ul { column-count: 1; }
    .st-stack-40a5__bottom { flex-direction: column; text-align: center; }

    main > section { padding: clamp(1.5rem, 4vw, 2.5rem) 0; }
}

@media (max-width: 480px) {
    :root { --gutter: 12px; }

    .cp-0ae17__grid { grid-template-columns: 1fr !important; }
    .sec-6918bc7__grid { grid-template-columns: 1fr !important; }

    .sec-c654f9__grid { flex-direction: column; align-items: center; }
    .sec-c654f9--bar .sec-c654f9__bar { flex-direction: column; }
    .sec-c654f9--bar .sec-c654f9__entry { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
    .sec-c654f9--bar .sec-c654f9__entry:last-child { border-bottom: none; }

    .ft-shelf-090d1__heading { font-size: clamp(1.5rem, 7vw, 2rem); }

    .btn { width: 100%; text-align: center; }
    .btn-primary { width: 100%; text-align: center; }
    .btn-outline { width: 100%; text-align: center; }
}
/* Content utility: grid */
.itm-68deb2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 1.5rem 0;
}
@media (max-width: 600px) {
    .itm-68deb2 { grid-template-columns: 1fr !important; }
}

/* Content utility: card */
.cmp-cell-a30e5 {
    padding: 1.25rem;
    border-radius: 0.5rem;
    background: var(--card-bg);
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
    transition: all 0.25s ease;
}
.cmp-cell-a30e5 h3,
.cmp-cell-a30e5 h4 { margin: 0 0 0.5rem; }
.cmp-cell-a30e5 p:last-child { margin-bottom: 0; }
.cmp-cell-a30e5:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }

/* Content utility: list */
.mod-wrap-a856 {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.mod-wrap-a856 li {
    position: relative;
    padding-left: 1.5em;
    line-height: 1.6;
}
.mod-wrap-a856 li::before {
    content: '\2713'; color: var(--brand-color);
    position: absolute; left: 0;
    font-size: 1em;
}

/* Content utility: highlight */
.el-top-81d512 {
    padding: 1.5rem;
    background: var(--brand-light);
    border-top: 5px solid var(--brand-color);
    border-radius: 0 0 0.5rem 0.5rem;
    margin: 1.5rem 0;
    color: #1e293b;
}
.el-top-81d512 p, .el-top-81d512 b, .el-top-81d512 strong, .el-top-81d512 span { color: #1e293b; }
.el-top-81d512 p:last-child { margin-bottom: 0; }
.sec-b1145 > .ft-dock-250f > h2::after { content: ''; display: block; width: 44px; height: 3px; margin: 0.7rem auto 0; background: var(--brand-color); border-radius: 2px; }
