/*
Theme Name: Site Builder Generated Theme
Description: Сгенерирована плагином Site Builder. Шапка: floating-circle, футер: accent-band, стиль: terminal-brutal, рейтинг: grid, hero: glass.
Version: 1.6.1
Author: Site Builder Plugin
*/

/* 1.6.1 — not every style defines --sb-color-link-hover; style variants below override this. */
:root { --sb-color-link-hover: var(--sb-color-link, #2271b1); }

/* ===== Reset & base layout ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: var(--sb-font-body, "Segoe UI", system-ui, -apple-system, sans-serif);
    font-size: var(--sb-font-size, 16px);
    line-height: var(--sb-line-height, 1.6);
    color: var(--sb-color-text, #222);
    background: var(--sb-color-bg, #fff);
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--sb-color-link, #2271b1); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== Site wrapper ===== */
.sb-site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.sb-site-content {
    flex: 1;
    padding: 32px 20px;
    max-width: var(--sb-content-max-width, 920px);
    width: 100%;
    margin: 0 auto;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--sb-font-heading, var(--sb-font-body, sans-serif));
    line-height: 1.3;
    margin: 1.4em 0 0.6em;
}
h1 { font-size: 2.2em; }
h2 { font-size: 1.6em; }
h3 { font-size: 1.3em; }

/* ===== Content elements ===== */
.sb-content figure { margin: 24px 0; }
.sb-content figure img { border-radius: 4px; }
.sb-content figcaption {
    font-size: 0.9em;
    color: var(--sb-color-muted, #666);
    text-align: center;
    margin-top: 6px;
}
.sb-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.sb-content th, .sb-content td {
    padding: 8px 12px;
    border: 1px solid var(--sb-color-border, #e2e8f0);
    text-align: left;
}
.sb-content th {
    background: var(--sb-color-bg-alt, #f8f9fa);
    font-weight: 600;
}
.sb-content blockquote {
    border-left: 4px solid var(--sb-color-accent, #2271b1);
    margin: 20px 0;
    padding: 12px 20px;
    background: var(--sb-color-bg-alt, #f8f9fa);
    color: var(--sb-color-muted, #555);
}
.sb-content code {
    background: var(--sb-color-bg-alt, #f0f0f1);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}
.sb-content pre {
    background: var(--sb-color-bg-alt, #f0f0f1);
    padding: 16px;
    border-radius: 6px;
    overflow-x: auto;
}

/* ===== Variant-specific styles (header, footer, color scheme) injected below ===== */

/* templates/theme/styles/terminal-brutal.css */

:root {
    /* Основные цвета */
    --sb-color-bg:              #0a0a0a;
    --sb-color-bg-alt:          #151515;
    --sb-color-text:            #e8e8e0;
    --sb-color-muted:           #8a8a82;
    --sb-color-link:            #39ff88;
    --sb-color-border:          #39ff88;
    --sb-color-accent:          #ff3860;

    /* Типографика */
    --sb-font-body:             'JetBrains Mono', 'IBM Plex Mono', 'Courier New', monospace;
    --sb-font-heading:          'JetBrains Mono', 'IBM Plex Mono', 'Courier New', monospace;
    --sb-font-size:             16px;
    --sb-line-height:           1.65;

    /* Лейаут */
    --sb-content-max-width:     880px;
}

body.sb-site {
    background: var(--sb-color-bg);
    color: var(--sb-color-text);
    font-family: var(--sb-font-body);
    font-size: var(--sb-font-size);
    line-height: var(--sb-line-height);
}

body.sb-site h1,
body.sb-site h2,
body.sb-site h3,
body.sb-site h4,
body.sb-site h5,
body.sb-site h6 {
    font-family: var(--sb-font-heading);
    color: var(--sb-color-link);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

body.sb-site h1::before,
body.sb-site h2::before,
body.sb-site h3::before {
    content: '> ';
    color: var(--sb-color-accent);
}

body.sb-site h1 {
    font-size: 40px;
    margin-top: 0;
    border-bottom: 2px solid var(--sb-color-border);
    padding-bottom: 16px;
}

body.sb-site h2 {
    font-size: 28px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--sb-color-border);
    padding-bottom: 12px;
}

body.sb-site h3 {
    font-size: 20px;
}

body.sb-site h4 {
    font-size: 17px;
    margin-top: 26px;
}

body.sb-site p {
    color: var(--sb-color-text);
    margin-bottom: 22px;
}

body.sb-site a {
    color: var(--sb-color-link);
    text-decoration: none;
    border-bottom: 2px solid var(--sb-color-link);
}

body.sb-site a:hover {
    background: var(--sb-color-link);
    color: var(--sb-color-bg);
}

body.sb-site strong,
body.sb-site b {
    color: var(--sb-color-accent);
    font-weight: 700;
}

body.sb-site em,
body.sb-site i {
    color: var(--sb-color-muted);
    font-style: italic;
}

body.sb-site code {
    background: var(--sb-color-bg-alt);
    color: var(--sb-color-link);
    padding: 3px 7px;
    border: 1px solid var(--sb-color-border);
}

body.sb-site pre {
    background: var(--sb-color-bg-alt);
    border: 2px solid var(--sb-color-border);
    padding: 20px;
    overflow-x: auto;
    position: relative;
    box-shadow: 6px 6px 0 rgba(57, 255, 136, 0.15);
}

body.sb-site pre::before {
    content: '$ output';
    position: absolute;
    top: -11px;
    left: 12px;
    background: var(--sb-color-bg);
    color: var(--sb-color-muted);
    font-size: 12px;
    padding: 0 6px;
    letter-spacing: 0.05em;
}

body.sb-site pre code {
    background: none;
    border: none;
    color: var(--sb-color-text);
    padding: 0;
}

body.sb-site blockquote {
    border-left: 4px solid var(--sb-color-accent);
    background: var(--sb-color-bg-alt);
    color: var(--sb-color-text);
    padding: 18px 22px;
    margin: 30px 0;
}

body.sb-site blockquote::before {
    content: '// ';
    color: var(--sb-color-accent);
}

body.sb-site ul,
body.sb-site ol {
    margin: 22px 0;
}

body.sb-site li {
    color: var(--sb-color-text);
    margin-bottom: 10px;
}

body.sb-site li::marker {
    color: var(--sb-color-link);
    font-weight: 700;
}

body.sb-site img {
    border: 2px solid var(--sb-color-border);
    filter: contrast(1.1) saturate(0.9);
    box-shadow: 6px 6px 0 rgba(57, 255, 136, 0.2);
}

body.sb-site img:hover {
    box-shadow: 6px 6px 0 rgba(255, 56, 96, 0.3);
    border-color: var(--sb-color-accent);
}

body.sb-site hr {
    border: none;
    border-top: 2px dashed var(--sb-color-border);
    margin: 56px 0;
}

body.sb-site table {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid var(--sb-color-border);
    margin: 30px 0;
    background: var(--sb-color-bg-alt);
}

body.sb-site th,
body.sb-site td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid var(--sb-color-border);
}

body.sb-site th {
    background: var(--sb-color-link);
    color: var(--sb-color-bg);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}

body.sb-site tr:nth-child(even) {
    background: rgba(57, 255, 136, 0.04);
}

body.sb-site tr:hover {
    background: rgba(57, 255, 136, 0.08);
}

body.sb-site svg {
    fill: currentColor !important;
    color: inherit !important;
}

body.sb-site svg path {
    fill: currentColor !important;
}

body.sb-site button svg,
body.sb-site a svg {
    vertical-align: middle;
    flex-shrink: 0;
}

body.sb-site button,
body.sb-site input[type="submit"],
body.sb-site input[type="button"] {
    background: var(--sb-color-bg);
    color: var(--sb-color-link);
    border: 2px solid var(--sb-color-link);
    font-family: var(--sb-font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    box-shadow: 4px 4px 0 rgba(57, 255, 136, 0.3);
    transition: all 0.1s ease;
}

body.sb-site button svg {
    fill: currentColor !important;
    color: var(--sb-color-link) !important;
}

body.sb-site .sb-header-split-minimal-toggle,
body.sb-site .sb-header-balanced-center-toggle {
    background: var(--sb-color-bg) !important;
    color: var(--sb-color-link) !important;
    border: 2px solid var(--sb-color-link) !important;
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

body.sb-site button:hover,
body.sb-site input[type="submit"]:hover,
body.sb-site input[type="button"]:hover {
    color: var(--sb-color-bg);
    box-shadow: 2px 2px 0 rgba(57, 255, 136, 0.5);
}

body.sb-site input[type="text"],
body.sb-site input[type="email"],
body.sb-site input[type="search"],
body.sb-site textarea {
    background: var(--sb-color-bg-alt);
    border: 2px solid var(--sb-color-border);
    padding: 12px 16px;
    color: var(--sb-color-text);
    font-family: var(--sb-font-body);
}

body.sb-site input[type="text"]:focus,
body.sb-site input[type="email"]:focus,
body.sb-site input[type="search"]:focus,
body.sb-site textarea:focus {
    outline: none;
    border-color: var(--sb-color-accent);
    box-shadow: 0 0 0 3px rgba(255, 56, 96, 0.15);
}

/* Header */
body.sb-site .sb-header-balanced-center {
    background: rgba(10, 10, 10, 0.98) !important;
    border-bottom: 2px solid var(--sb-color-border) !important;
    box-shadow: none !important;
}

body.sb-site .sb-header-balanced-center-brand a {
    color: var(--sb-color-link) !important;
    text-transform: uppercase;
    font-weight: 700;
    text-shadow: none !important;
    background: none !important;
    -webkit-text-fill-color: var(--sb-color-link) !important;
}

body.sb-site .sb-header-balanced-center-nav .sb-menu > li > a {
    font-size: 14px;
    letter-spacing: 0.03em;
}

body.sb-site .sb-header-balanced-center-nav .sb-menu > li > a::before {
    background: var(--sb-color-link) !important;
}

body.sb-site .sb-header-balanced-center-nav .sb-menu > li > a:hover,
body.sb-site .sb-header-balanced-center-nav .sb-menu > li.current-menu-item > a {
    color: var(--sb-color-link) !important;
}

body.sb-site .sb-header-balanced-center-nav .sub-menu {
    background: var(--sb-color-bg-alt) !important;
    border: 2px solid var(--sb-color-border) !important;
    box-shadow: 4px 4px 0 rgba(57, 255, 136, 0.15) !important;
}

body.sb-site .sb-header-balanced-center-nav .sub-menu a {
    color: var(--sb-color-text) !important;
}

body.sb-site .sb-header-balanced-center-nav .sub-menu a:hover {
    background: var(--sb-color-link) !important;
    color: var(--sb-color-bg) !important;
}

body.sb-site .sb-header-balanced-center-toggle {
    background: var(--sb-color-bg-alt) !important;
    border: 2px solid var(--sb-color-border) !important;
}

body.sb-site .sb-header-balanced-center-toggle:hover {
    background: var(--sb-color-link) !important;
}

body.sb-site .sb-header-balanced-center-toggle span {
    background: var(--sb-color-link) !important;
}

body.sb-site .sb-header-balanced-center-toggle:hover span {
    background: var(--sb-color-bg) !important;
}

body.sb-site .sb-header-balanced-center-toggle[aria-expanded="true"] {
    background: var(--sb-color-link) !important;
}

body.sb-site .sb-header-balanced-center-toggle[aria-expanded="true"] span {
    background: var(--sb-color-bg) !important;
}

/* Back to top */
body.sb-site .sb-back-to-top {
    background: var(--sb-color-bg);
    color: var(--sb-color-link);
    border: 2px solid var(--sb-color-link);
    box-shadow: 4px 4px 0 rgba(57, 255, 136, 0.2);
}

body.sb-site .sb-back-to-top:hover {
    background: var(--sb-color-link);
    color: var(--sb-color-bg);
}

@media (max-width: 768px) {
    body.sb-site h1 { font-size: 30px; }
    body.sb-site h2 { font-size: 24px; }
    body.sb-site h3 { font-size: 19px; }

    body.sb-site .sb-header-balanced-center-nav .sb-menu .sub-menu {
        background: var(--sb-color-bg-alt) !important;
        border: 2px solid var(--sb-color-border) !important;
    }

    .sb-back-to-top {
        bottom: 20px;
        width: 44px;
        right: 30px;
        height: 44px;
        font-size: 20px;
    }

    body.sb-site .sb-header-balanced-center-nav .sb-menu > li > a {
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
        hyphens: auto;
    }
}

@media (max-width: 480px) {
    .sb-back-to-top {
            bottom: 20px;
            width: 44px;
            right: 20px;
            height: 44px;
            font-size: 20px;
        }
    }

    .sb-header-balanced-center-brand img{ 
        max-height: 64px!important;
    }

    .sb-balanced-link, .sb-balanced-pill{
        background: var(--sb-color-bg) !important;
    }

    .sb-balanced-dropdown-grid > div, .sb-balanced-dropdown-grid {
        background: var(--sb-color-bg) !important;
    }
    
    .sb-site-content {
        padding: 20px 20px!important;
    }

/* ===== Header variant: floating-circle ===== */
/* templates/theme/headers/floating-circle.css */

.sb-header-floating-circle {
    position: sticky;
    top: 20px;
    z-index: 1000;
    margin: 20px auto 40px;
    max-width: 100%;
    padding: 0 20px;
    transition: top 0.3s ease;
}

.sb-header-floating-circle a {
    text-decoration: none;
}

.sb-header-floating-circle a::after {
    display: none !important;
    content: none !important;
}

.sb-header-floating-circle-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--sb-color-bg, #fff);
    border: 2px solid var(--sb-color-border, #e5e7eb);
    border-radius: 20px;
    padding: 12px 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: padding 0.3s ease, box-shadow 0.3s ease;
    max-width: 1400px;
    margin: 0 auto;
    flex-direction: row-reverse;
}

.sb-header-floating-circle.scrolled .sb-header-floating-circle-inner {
    padding: 10px 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* ===================================================================
   NAV — top level items
   =================================================================== */

.sb-header-floating-circle-nav {
    min-width: 0;
}

.sb-header-floating-circle-nav .sb-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row-reverse;
}

.sb-header-floating-circle-nav-left .sb-menu {
    justify-content: flex-end;
}

.sb-header-floating-circle-nav-right .sb-menu {
    justify-content: flex-start;
}

.sb-header-floating-circle-nav .sb-menu > li {
    margin: 0;
    position: relative;
}

/* plain items — no children */
.sb-header-floating-circle-nav .sb-menu > li > a {
    font: inherit;
    color: var(--sb-color-text, #111);
    font-size: 13px;
    font-weight: 600;
    padding: 5px 5px;
    display: block;
    border-radius: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
    transition: background 0.2s ease, color 0.2s ease;
}

.sb-header-floating-circle-nav .sb-menu > li > a:hover {
    color: var(--sb-color-link, #2563eb);
    background: var(--sb-color-bg-alt, #f9fafb);
}

.sb-header-floating-circle-nav .sb-menu > li.current > a {
    color: var(--sb-color-link, #2563eb);
}

/* items WITH children: label + caret are two independent controls that
   share one visual pill. The label keeps its own href — clicking it
   navigates like any normal link. Only the caret opens the mega panel. */
.sb-item-group {
    display: flex;
    align-items: center;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.sb-item-group:hover,
.sb-item-group:focus-within {
    background: var(--sb-color-bg-alt, #f9fafb);
}

.sb-parent-link {
    font: inherit;
    color: var(--sb-color-text, #111);
    font-size: 13px;
    font-weight: 600;
    padding: 9px 5px 9px 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
    transition: color 0.2s ease;
}

.sb-item-group:hover > .sb-parent-link,
li.sb-mega-active .sb-parent-link {
    color: var(--sb-color-link, #2563eb);
}

.sb-trigger {
    display: flex;
    align-items: center;
    padding: 9px 12px 9px 3px;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
}

.sb-header-floating-circle-nav .sb-menu > li > a:focus-visible,
.sb-parent-link:focus-visible,
.sb-trigger:focus-visible,
.sb-header-floating-circle-brand a:focus-visible {
    outline: 2px solid var(--sb-color-link, #2563eb);
    outline-offset: 2px;
    border-radius: 8px;
}

.sb-trigger-caret {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

li.sb-mega-active .sb-trigger-caret {
    transform: rotate(180deg);
}

/* mega-grid-data is the raw source markup, hidden until JS moves its
   contents into the shared mega panel */
.sb-mega-grid-data[hidden] {
    display: none;
}

/* ===================================================================
   BRAND / LOGO
   =================================================================== */

.sb-header-floating-circle-brand {
    margin: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.sb-header-floating-circle-brand a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px !important;
    min-width: 160px !important;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, width 0.3s ease, min-width 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.sb-header-floating-circle.scrolled .sb-header-floating-circle-brand a {
    width: 140px !important;
    min-width: 140px !important;
}

.sb-header-floating-circle-brand a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.sb-header-floating-circle-brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sb-header-floating-circle-brand span {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    font-family: var(--sb-font-heading, sans-serif);
    text-align: center;
}

/* the signature detail: a hairline that grows from the logo down
   toward the mega panel when it's open */
.sb-mega-connector {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    width: 1px;
    height: 0;
    background: var(--sb-color-border, #e5e7eb);
    transition: height 0.25s ease;
    pointer-events: none;
}

.sb-header-floating-circle.sb-mega-open .sb-mega-connector {
    height: 16px;
    background: var(--sb-color-link, #2563eb);
}

/* ===================================================================
   MEGA PANEL — one shared surface, aligned to the header capsule's own
   centering (same max-width/side padding) so edges always line up.
   Height animates via grid-template-rows: no JS measuring needed.
   =================================================================== */

.sb-mega-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 17, 0.28);
    backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 998;
}

.sb-mega-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.sb-mega-shell {
    position: fixed;
    left: 20px;
    right: 20px;
    max-width: 1400px;
    margin-inline: auto;
    top: calc(var(--sb-header-h, 88px) + 12px);
    z-index: 999;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
    pointer-events: none;
}

.sb-mega-shell.is-open {
    grid-template-rows: 1fr;
    pointer-events: auto;
}

.sb-mega-shell-inner {
    overflow: hidden;
}

.sb-mega-panel {
    background: var(--sb-color-bg, #fff);
    border: 2px solid var(--sb-color-border, #e5e7eb);
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
    padding: 24px 28px;
    margin-top: 4px;
}

.sb-mega-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 6px 28px;
}

.sb-mega-grid a {
    display: block;
    padding: 9px 10px;
    border-radius: 8px;
    color: var(--sb-color-text, #111);
    font-size: 14px;
    line-height: 1.4;
    transition: background 0.15s ease, color 0.15s ease;
}

.sb-mega-grid a:hover,
.sb-mega-grid a:focus-visible {
    background: var(--sb-color-bg-alt, #f9fafb);
    color: var(--sb-color-link, #2563eb);
}

.sb-mega-grid a:focus-visible {
    outline: 2px solid var(--sb-color-link, #2563eb);
    outline-offset: -2px;
}

/* View All button */
.sb-floating-view-all {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px !important;
    background: var(--sb-color-link, #2563eb) !important;
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    transition: all 0.3s ease !important;
    grid-column: 1 / -1;
    margin-top: 8px;
    max-width: 300px;
    margin: 0 auto;
}

.sb-floating-view-all {
    width: 32px;
    height: 22px;
}

.sb-floating-view-all:hover {
    background: var(--sb-color-link-hover, #1d4ed8) !important;
    transform: scale(1.02) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.sb-floating-view-all svg {
    flex-shrink: 0;
}

.sb-floating-view-all span {
    font-size: 14px;
    letter-spacing: 0.02em;
}

/* ===================================================================
   MOBILE — burger + accordion, same component, same tokens
   =================================================================== */

.sb-header-floating-circle-toggle {
    display: none;
}

.sb-header-floating-circle-mobile-menu {
    display: none;
}

@media (max-width: 968px) {
    .sb-header-floating-circle {
        top: 0;
        margin: 0;
        max-width: 100%;
        padding: 0;
    }

    .sb-header-floating-circle-inner {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        border-radius: 0;
        border-left: none;
        border-right: none;
        padding: 16px 20px;
        gap: 16px;
    }

    .sb-header-floating-circle-nav,
    .sb-mega-backdrop,
    .sb-mega-shell {
        display: none !important;
    }

    .sb-header-floating-circle-brand {
        order: 2 !important;
        margin: 0;
    }

    .sb-header-floating-circle-brand a {
        width: 150px !important;
        min-width: 150px !important;
    }

    .sb-header-floating-circle-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 48px;
        height: 48px;
        background: var(--sb-color-link, #2563eb) !important;
        border: none !important;
        border-radius: 50% !important;
        cursor: pointer;
        padding: 0 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
        transition: background 0.2s ease !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
        position: relative;
        order: 1 !important;
        flex-shrink: 0 !important;
        font-size: 0 !important;
        line-height: 1 !important;
        margin: 0 !important;
    }

    .sb-header-floating-circle-toggle:hover {
        background: var(--sb-color-accent, #1e40af) !important;
    }

    .sb-header-floating-circle-toggle:focus-visible {
        outline: 2px solid var(--sb-color-text, #111);
        outline-offset: 3px;
    }

    .sb-header-floating-circle-toggle span {
        display: block !important;
        width: 20px !important;
        height: 2px !important;
        background: #ffffff !important;
        transition: transform 0.3s ease, opacity 0.3s ease !important;
        border-radius: 2px !important;
        flex-shrink: 0 !important;
    }

    .sb-header-floating-circle-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .sb-header-floating-circle-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .sb-header-floating-circle-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .sb-header-floating-circle-mobile-menu {
        display: block;
        max-height: 0;
        overflow: hidden;
        background: var(--sb-color-bg, #fff);
        transition: max-height 0.3s ease;
        border-bottom: 1px solid transparent;
    }

    .sb-header-floating-circle-mobile-menu.is-open {
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        border-bottom-color: var(--sb-color-border, #e5e7eb);
    }

    .sb-header-floating-circle-mobile-menu .sb-menu {
        list-style: none;
        flex-direction: column;
        align-items: stretch;
        display: flex;
        padding: 12px 20px 20px;
        margin: 0;
        gap: 0;
    }

    .sb-header-floating-circle-mobile-menu .sb-menu > li {
        margin: 0;
        border-bottom: 1px solid var(--sb-color-border, #e5e7eb);
    }

    .sb-header-floating-circle-mobile-menu .sb-menu > li:last-child {
        border-bottom: none;
    }

    .sb-header-floating-circle-mobile-menu .sb-menu > li > a {
        width: 100%;
        color: var(--sb-color-text, #111);
        font-size: 16px;
        font-weight: 600;
        padding: 15px 0;
        display: block;
        max-width: none;
    }

    .sb-header-floating-circle-mobile-menu .sb-item-group {
        width: 100%;
        justify-content: space-between;
        border-radius: 0;
    }

    .sb-header-floating-circle-mobile-menu .sb-item-group:hover,
    .sb-header-floating-circle-mobile-menu .sb-item-group:focus-within {
        background: none;
    }

    .sb-header-floating-circle-mobile-menu .sb-parent-link {
        font-size: 16px;
        padding: 15px 0;
        flex: 1;
    }

    .sb-header-floating-circle-mobile-menu .sb-trigger {
        padding: 15px 4px 15px 12px;
    }

    .sb-mobile-submenu {
        display: grid;
        grid-template-rows: 0fr;
        transition: grid-template-rows 0.25s ease;
    }

    .sb-mobile-submenu-inner {
        overflow: hidden;
    }

    li.sb-mega-active > .sb-mobile-submenu {
        grid-template-rows: 1fr;
    }

    .sb-mobile-submenu .sb-mega-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        padding: 2px 0 14px;
        gap: 2px 20px;
        max-height: calc(3 * 44px);
        overflow-y: auto;
    }

    .sb-mobile-submenu .sb-mega-grid::-webkit-scrollbar {
        width: 6px;
    }

    .sb-mobile-submenu .sb-mega-grid::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 10px;
    }

    .sb-mobile-submenu .sb-mega-grid::-webkit-scrollbar-thumb {
        background: var(--sb-color-link, #2563eb);
        border-radius: 10px;
    }

    .sb-mobile-submenu .sb-mega-grid a {
        font-size: 14.5px;
        color: var(--sb-color-muted, #6b7280);
        padding: 10px 10px 10px 4px;
        margin: 0 auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sb-header-floating-circle,
    .sb-header-floating-circle-inner,
    .sb-header-floating-circle-brand a,
    .sb-mega-connector,
    .sb-mega-backdrop,
    .sb-mega-shell,
    .sb-trigger-caret,
    .sb-header-floating-circle-mobile-menu,
    .sb-mobile-submenu {
        transition: none !important;
    }
}

body.sb-site button {
    background: var(--sb-color-button-bg, linear-gradient(135deg, var(--sb-color-link, #2563eb) 0%, var(--sb-color-accent, #1e40af) 100%));
    color: var(--sb-color-button-text, #ffffff);
    border: none;
    padding: 4px 12px!important;
    border-radius: 28px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--sb-shadow-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

h1 {
    margin: 0 !important;
}

ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 0em;
    margin-block-end: 0em;
    padding-inline-start: 0px;
    unicode-bidi: isolate;
}

.sb-site-content {
        padding: 0px 20px;
}


/* ===== Footer variant: accent-band ===== */
.sb-footer-accent-band {
    margin-top: 48px;
    color: var(--sb-color-text, #111);
}
.sb-footer-accent-band .sb-footer-ab-accent {
    padding: 46px 20px;
    background: var(--sb-color-accent, #18181b);
}
.sb-footer-accent-band .sb-footer-ab-accent-inner {
    max-width: var(--sb-content-max-width, 920px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    align-items: center;
    gap: 54px;
}
.sb-footer-accent-band .sb-footer-ab-brand img {
    display: block;
    width: auto;
    max-height: 46px;
}
.sb-footer-accent-band .sb-footer-ab-name {
    color: var(--sb-color-bg, #fff);
    font-family: var(--sb-font-heading, -apple-system, BlinkMacSystemFont, sans-serif);
    font-size: 1.6em;
    font-weight: 800;
}
.sb-footer-accent-band .sb-footer-ab-description {
    margin: 0;
    color: var(--sb-color-bg, #fff);
    font-size: 1.02em;
    line-height: 1.7;
    opacity: .86;
}
.sb-footer-accent-band .sb-footer-ab-base {
    padding: 24px 20px;
    background: var(--sb-color-bg-alt, #f8f9fa);
    border-bottom: 1px solid var(--sb-color-border, #e5e7eb);
}
.sb-footer-accent-band .sb-footer-ab-base-inner {
    max-width: var(--sb-content-max-width, 920px);
    margin: 0 auto;
}
.sb-footer-accent-band .sb-footer-ab-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--sb-color-border, #e5e7eb);
}

.sb-footer-accent-band .sb-footer-ab-col {
    min-width: 0;
}

.sb-footer-accent-band .sb-footer-ab-nav .sb-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.sb-footer-accent-band .sb-footer-ab-nav {
    margin: 0;
}

.sb-footer-accent-band .sb-footer-ab-nav .sb-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.sb-regulators-list {
    padding-left: 0;
}
.sb-regulators-item::marker {
    content: none;
}
.sb-footer-accent-band .sb-footer-ab-nav a {
    color: var(--sb-color-text, #111);
    text-decoration: none;
    font-size: .9em;
    font-weight: 550;
}
.sb-footer-accent-band .sb-footer-ab-nav a:hover,
.sb-footer-accent-band .sb-footer-ab-meta a:hover {
    color: var(--sb-color-link, #2563eb);
}
.sb-footer-accent-band .sb-footer-ab-meta {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-top: 18px;
    color: var(--sb-color-muted, #6b7280);
    font-size: .82em;
}
.sb-footer-accent-band .sb-footer-ab-meta a {
    flex: 0 0 auto;
    color: var(--sb-color-text, #111);
    text-decoration: none;
}
@media (max-width: 700px) {
    .sb-footer-accent-band .sb-footer-ab-accent-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
@media (max-width: 480px) {
    .sb-footer-accent-band .sb-footer-ab-accent { padding: 38px 20px; }
    .sb-footer-accent-band .sb-footer-ab-nav .sb-menu { flex-direction: column; gap: 10px; }
    .sb-footer-accent-band .sb-footer-ab-meta { flex-direction: column; }
}

/* ===== Operators variant: grid ===== */
/* Operators variant: grid — tiles, two per row on desktop. */
.sb-site .sb-operators .sb-operators-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}
.sb-site .sb-operators .sb-operator {
    position: relative;
    display: block;
    margin: 0;
    padding: 20px 18px 16px;
    border: 1px solid var(--sb-color-border, #e5e7eb);
    border-top: 4px solid var(--sb-color-accent, #2563eb);
    border-radius: 10px;
    background: var(--sb-color-bg-alt, #f8fafc);
    overflow: hidden;
}
.sb-site .sb-operators .sb-operator-rank {
    position: absolute;
    top: 6px;
    right: 12px;
    font-family: var(--sb-font-heading, inherit);
    font-size: 2.6em;
    font-weight: 900;
    line-height: 1;
    color: var(--sb-color-accent, #2563eb);
    opacity: .22;
}
.sb-site .sb-operators .sb-operator-body { position: relative; }
.sb-site .sb-operators .sb-operator-name {
    margin: 0 48px 12px 0;
    font-family: var(--sb-font-heading, inherit);
    font-size: 1.12em;
    line-height: 1.3;
}
.sb-site .sb-operators .sb-operator-name strong { color: var(--sb-color-text, inherit); }
.sb-site .sb-operators .sb-operator-facts { margin: 0 0 12px; padding: 0; }
.sb-site .sb-operators .sb-operator-fact {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 6px 0;
    border-bottom: 1px dashed var(--sb-color-border, #e5e7eb);
    font-size: .88em;
    line-height: 1.4;
}
.sb-site .sb-operators .sb-operator-fact dt {
    flex: 0 0 auto;
    margin: 0;
    font-weight: 600;
    color: var(--sb-color-muted, #6b7280);
}
.sb-site .sb-operators .sb-operator-fact dt::after { content: none; }
.sb-site .sb-operators .sb-operator-fact dd {
    margin: 0;
    text-align: right;
    color: var(--sb-color-text, inherit);
}
.sb-site .sb-operators .sb-operator-desc {
    margin: 0;
    font-size: .88em;
    line-height: 1.5;
    color: var(--sb-color-muted, #6b7280);
}
@media (max-width: 640px) {
    .sb-site .sb-operators .sb-operators-list { grid-template-columns: 1fr; }
}


/* ===== Heroes variant: glass ===== */
/* Hero variant: glass — blurred full-width image, frosted card in the centre. */
html body.sb-site { overflow-x: clip; }
.sb-site .sb-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    min-height: 480px;
    margin: 0 calc(50% - 50vw) 40px;
    padding: 48px 20px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, var(--sb-color-accent, #2563eb), var(--sb-color-link, #7c3aed));
}
.sb-site .sb-hero .sb-hero-media { position: absolute; inset: -24px; }
.sb-site .sb-hero .sb-hero-media img {
    width: 100%; height: 100%; max-height: none;
    object-fit: cover; margin: 0; border-radius: 0;
    filter: blur(6px) saturate(1.1);
    transform: scale(1.06);
}
.sb-site .sb-hero .sb-hero-media::after {
    content: ""; position: absolute; inset: 0;
    background: rgba(10, 14, 30, .38);
}
.sb-site .sb-hero .sb-hero-inner {
    position: relative;
    width: 100%;
    max-width: 760px;
    margin: 0;
    padding: 0;
}
.sb-site .sb-hero .sb-hero-card {
    padding: 36px 34px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 20px;
    background: rgba(255, 255, 255, .14);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .55);
}
.sb-site .sb-hero .sb-hero-label {
    margin: 0 0 12px;
    font-size: .76em;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .85);
}
.sb-site .sb-hero .sb-hero-title {
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: currentColor;
    color: #fff;
    font-size: clamp(1.9em, 4.2vw, 3.1em);
    line-height: 1.15;
    text-transform: none;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}
.sb-site .sb-hero .sb-hero-title::before,
.sb-site .sb-hero .sb-hero-title::after { content: none; display: none; }
.sb-site .sb-hero .sb-hero-title { font-size: clamp(1.8em, 3.8vw, 2.8em); }
.sb-site .sb-hero .sb-hero-subtitle {
    margin: 0 0 20px;
    font-size: 1.1em;
    line-height: 1.55;
    color: rgba(255, 255, 255, .92);
}
.sb-site .sb-hero .sb-hero-fact {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 16px;
    border: 0;
    border-radius: 12px;
    background: rgba(0, 0, 0, .22);
}
.sb-site .sb-hero .sb-hero-fact-label {
    font-size: .74em; font-weight: 800; letter-spacing: .08em;
    text-transform: uppercase; color: rgba(255, 255, 255, .75);
}
.sb-site .sb-hero .sb-hero-fact-text { color: #fff; line-height: 1.45; }
@media (max-width: 640px) {
    .sb-site .sb-hero { min-height: 420px; padding: 32px 14px; }
    .sb-site .sb-hero .sb-hero-card { padding: 24px 20px; border-radius: 16px; }
}

