@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

 :root {
    --gh-bg: #06070b;
    --gh-surface: #0a0d14;
    --gh-surface-soft: #101525;
    --gh-panel: #11131d;
    --gh-text: #eff3ff;
    --gh-muted: #9da6bf;
    --gh-primary: #1f6fff;
    --gh-primary-strong: #1552cf;
    --gh-secondary: #7d3cff;
    --gh-gold: #d7b46a;
    --gh-border: rgba(138, 160, 212, 0.26);
    --gh-shadow: 0 16px 34px rgba(0, 0, 0, 0.58);
}


* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html {
    scroll-behavior: smooth;
}

body.gh-body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--gh-text);
    line-height: 1.65;
    letter-spacing: 0.01em;
    background:var(--gh-bg);}

.gh-main,
.gh-topbar__frame,
.gh-footer__inner {
    width: min(1240px, calc(100% - 3.25rem));
    margin: 0 auto;
}

.gh-main { margin-top: 2rem; margin-bottom: 3rem; }

h1, h2, h3 { margin: 0 0 1rem; line-height: 1.25; }
p, ul, ol { margin: 0 0 1rem; }
a { color: #68a3ff; }
img { display: block; max-width: 100%; border-radius: 14px; }

.gh-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
    background: rgba(5, 8, 14, 0.92);
    border-bottom: 1px solid rgba(125, 60, 255, 0.24);
}


.gh-site__inner { min-height: 100vh; }
.gh-topbar__shell,
.gh-drawer-wrap { width: min(1240px, calc(100% - 3.25rem)); margin: 0 auto; }
.gh-topbar__frame { width: 100%; }
.gh-footer__compliance-title::after {
    content: "";
    display: inline-block;
    width: 32px;
    height: 2px;
    margin-left: 0.5rem;
    vertical-align: middle;
    background: linear-gradient(90deg, var(--gh-gold), transparent);
}
.gh-topbar__frame {
    min-height: 78px;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 1rem;
}

.gh-brand__logo { width: 156px; height: auto; }

.gh-nav { display: flex; align-items: center; gap: 1.4rem; margin: 0 auto; }
.gh-nav a,
.gh-drawer > a {
    color: var(--gh-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
}
.gh-nav a:hover,
.gh-drawer > a:hover {
    color: #fff;
    background: var(--gh-primary);
}

.gh-menu-toggle {
    display: none;
    width: 34px;
    height: 34px;
    padding: 0;
    border: none;
    background: transparent;
    position: relative;
}

.gh-menu-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: 4px;
    background: #fff;
    transition: 0.2s;
}
.gh-menu-toggle span:nth-child(1) { top: 6px; }
.gh-menu-toggle span:nth-child(2) { top: 15px; }
.gh-menu-toggle span:nth-child(3) { top: 24px; }
.gh-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.gh-menu-toggle.is-open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.gh-menu-toggle.is-open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.gh-auth { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }

.gh-btn {
    border-radius: 12px;
    padding: 0.58rem 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
     color: #eff4ff;
}

.gh-btn--solid {
    background: linear-gradient(135deg, var(--gh-primary), var(--gh-secondary));
    box-shadow: 0 10px 20px rgba(63, 140, 255, 0.24);
}
.gh-btn--solid:hover { background: linear-gradient(135deg, var(--gh-primary-strong), #6835d6); color: #fff; }
.gh-btn--ghost {
    border-color: rgba(125, 60, 255, 0.4);
    color: #eff4ff;
    background: rgba(13, 16, 25, 0.8);
}
.gh-btn--ghost:hover { border-color: var(--gh-gold); color: #fff; }

.gh-hero-block .gh-btn--ghost,
.gh-content-shell .gh-btn--ghost {
    color: var(--gh-primary);
    border-color: rgba(75, 95, 255, 0.35);
}
.gh-hero-block .gh-btn--ghost:hover,
.gh-content-shell .gh-btn--ghost:hover {
    border-color: var(--gh-primary);
    color: var(--gh-primary);
}

.gh-drawer { display: none; }
.gh-page-wrap,
.gh-main-column { width: 100%; }

.gh-hero-block,
.gh-content-shell {
    background: #111420;
    border-radius: 18px;
    
    padding: 3rem;
}

.gh-hero-block { margin-bottom: 1rem; }
.gh-hero-block h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); }


.gh-hero-block--image-right {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 40%);
    grid-template-areas:
        "text media"
        "cta media";
    align-items: center;
    column-gap: 1.2rem;
    row-gap: .8rem;
}

.gh-hero-block--image-right .gh-hero-block__text { grid-area: text; }
.gh-hero-block--image-right .gh-hero-block__media { grid-area: media; }
.gh-hero-block--image-right .gh-hero-block__cta { grid-area: cta; }
.gh-hero-block--image-right .gh-hero-block__media img {
    width: 100%;
    height: auto;
    display: block;
}

.gh-content-shell h2 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); }
.gh-content-shell h2,
.gh-content-shell h3,
.gh-content-shell h4 {
    color: #f4f7ff;
    line-height: 1.35;
    letter-spacing: 0;
}
.gh-content-shell p,
.gh-content-shell li,
.gh-content-shell td,
.gh-content-shell th,
.gh-outline,
.gh-footer {
    color: var(--gh-muted);
}
.gh-content-shell ul,
.gh-content-shell ol { padding-left: 1.2rem; }
.gh-content-shell code {
    background: var(--gh-surface-soft);
    border-radius: 6px;
    padding: 0.08rem 0.35rem;
}
/* Обёртка (figure.table) — именно она отвечает за скролл и скругления */
figure.table {
  width: 100%;
  margin: 1rem 0;
  overflow-x: auto;
  border: 1px solid var(--gh-border);
  border-radius: 12px;
 
}

/* Таблица остаётся таблицей */
.gh-content-shell figure.table > table {
  width: 100%;
  border-collapse: separate; /* важно для border-radius через обёртку */
  border-spacing: 0;
  margin: 0;                /* чтобы не раздувать обёртку */
}

/* Шапка */
.gh-content-shell thead {
  background: color-mix(in srgb, var(--gh-primary) 22%, transparent);
}

.gh-content-shell th,
.gh-content-shell td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--gh-border);
  text-align: left;
  vertical-align: top;
}

.gh-content-shell tr:last-child td {
  border-bottom: none;
}

.gh-content-shell th {
  font-weight: 600;
  color: var(--gh-text);
}

.gh-hero-block h1 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.gh-content-block h2 {
    font-size: clamp(1.45rem, 2.2vw, 1.9rem);
}

.gh-content-block ul,
.gh-content-block ol {
    padding-left: 1.2rem;
}

.gh-content-block code {
    background: var(--gh-surface-soft);
    border-radius: 6px;
    padding: 0.08rem 0.35rem;
}

.gh-cta-group {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.gh-content-block .gh-btn--ghost {
    color: var(--gh-primary);
    border-color: rgba(75, 95, 255, 0.35);
}

.gh-content-block .gh-btn--ghost:hover {
    border-color: var(--gh-primary);
    color: var(--gh-primary);
}

.gh-outline-toggle {
display: inline-flex;
    border-radius: 999px;
    background: #111420;
    color: #e6efff;
    border: 1px solid rgba(169, 185, 219, 0.3);
    font-weight: 600;
    margin: 0 0 1rem;
    cursor: pointer;
    padding: 10px 20px;
}

.gh-outline {
    display: none;
    
    border: 1px solid var(--gh-border);
    border-radius: 12px;
    padding: 0.9rem;
    margin-bottom: 1rem;
}

.gh-outline.is-open { display: block; }

.gh-outline__title { font-size: 1rem; font-weight: 700; margin-bottom: 0.7rem; }
.gh-outline__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.gh-outline__list a { color: var(--gh-muted); text-decoration: none; }
.gh-outline__list a:hover { color: var(--gh-primary); }

.gh-content-divider {
    border: 0;
    border-top: 1px solid var(--gh-border);
    margin: 1.25rem 0;
}

.gh-faq-list { display: grid; gap: 0.75rem; }
.gh-faq-entry {
    border: 1px solid var(--gh-border);
    border-radius: 14px;

}

.gh-faq-entry__trigger {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1rem;
    font-size: 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
}

.gh-faq-entry__trigger h3 { margin: 0; font-size: 1.3rem; }
.gh-faq-entry__glyph {
    font-size: 1.35rem;
    line-height: 1;
    color: var(--gh-primary);
    transition: transform 0.2s;
}
.gh-faq-entry__trigger.is-open .gh-faq-entry__glyph { transform: rotate(45deg); }
.gh-faq-entry__answer { display: none; padding: 0 1rem 1rem; }
.gh-faq-entry__answer.is-open { display: block; }

.gh-footer {
    background: #111420;
    color: var(--gh-muted);
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gh-footer__inner {
    display: grid;
    gap: 1.35rem;
    border-radius: 18px;
    padding: 2.4rem 2.2rem;
}

.gh-footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.gh-footer__company {
    max-width: 680px;
}

.gh-footer__kicker {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    color: #8fa1d4;
}

.gh-footer__brand {
    margin: 0.2rem 0 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #f4f7ff;
}

.gh-footer__mission {
    margin: 0.5rem 0 0;
    color: #b4c1e6;
}

.gh-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.9rem 0;
}

.gh-footer__links a {
    color: #eaf0ff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.42rem 0.8rem;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.gh-footer__links a:hover {
    color: #cfe0ff;
    border-color: rgba(63, 140, 255, 0.8);
    background: color-mix(in srgb, var(--gh-primary) 22%, transparent);
}

.gh-footer__compliance {
    display: grid;
    gap: 0.55rem;
}

.gh-footer__compliance-title {
    margin: 0;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #8fa1d4;
}

.gh-footer__logos {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.gh-footer__logos-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
}

.gh-footer__logos-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.95;
}

.gh-footer__logos-item a {
    display: inline-flex;
    border-radius: 50%;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.gh-footer__logos-item a:hover {
    transform: translateY(-1px);
    opacity: 0.85;
}

.gh-footer__legal {
    display: grid;
    gap: 0.45rem;
}

.gh-footer__copyright {
    margin: 0;
    color: #dce6ff;
    font-weight: 500;
}

.gh-footer__disclaimer,
.footer-extra-text {
    margin: 0;
    color: #9eabd8;
    font-size: 0.92rem;
}

.gh-lang { position: relative; }
.gh-lang summary {
    list-style: none;
    cursor: pointer;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    padding: 0.45rem 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}
.gh-lang summary::-webkit-details-marker { display: none; }
.gh-lang__status {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #00d47f;
}

.gh-lang__marker {
    color: #9ec2ff;
    font-weight: 700;
}

.gh-lang ul {
    position: absolute;
    right: 0;
    bottom: calc(100% + 0.4rem);
    margin: 0;
    padding: 0.35rem;
    min-width: 130px;
    list-style: none;
    border-radius: 10px;
    border: 1px solid var(--gh-border);
    background: #101726;
    box-shadow: var(--gh-shadow);
}
.gh-lang ul a {
    display: flex;
    justify-content: space-between;
    text-decoration: none;
    color: #e7eeff;
    border-radius: 8px;
    padding: 0.4rem 0.5rem;
}
.gh-lang ul a:hover,
.gh-lang ul a.is-current { background: color-mix(in srgb, var(--gh-primary) 22%, transparent); }

@media (max-width: 980px) {
    .gh-topbar__frame { grid-template-columns: auto 1fr auto; }

    .gh-nav--desktop,
    .gh-auth--desktop {
        display: none;
    }

    .gh-menu-toggle { display: block; margin-left: auto;}

    .gh-drawer {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #111a29;
        padding: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        flex-direction: column;
        gap: 0.65rem;
        display: flex;
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: 0.25s;
    }

    .gh-drawer.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .gh-lang ul {
        right: auto;
        left: 0;
    }

    .gh-footer__inner {
        padding: 1.7rem 1.1rem;
    }

    .gh-footer__brand {
        font-size: 1.1rem;
    }

    .gh-footer__links {
        gap: 0.5rem;
    }

    .gh-footer__links a {
        width: 100%;
        text-align: center;
    }
}

.gh-section-base {
    padding: 1rem 0;
}

.gh-section-base__header {
    margin-bottom: .7rem;
}

.gh-section-base__subtitle {
    margin: .25rem 0 0;
    font-size: .92rem;
    color: var(--gh-muted);
}

.gh-text-image-left {
    display: grid;
    grid-template-columns: minmax(180px, 320px) 1fr;
    gap: 1rem;
    align-items: start;
}

.gh-text-image-left--image-right .gh-text-image-left__media {
    order: 2;
}

.gh-text-image-float__media {
    width: min(320px, 42%);
    margin-bottom: .55rem;
}

.gh-text-image-float__media img {
    width: 100%;
    height: auto;
}

.gh-text-image-float--left .gh-text-image-float__media {
    float: left;
    margin-right: 1rem;
}

.gh-text-image-float--right .gh-text-image-float__media {
    float: right;
    margin-left: 1rem;
}

.gh-text-image-float::after {
    content: "";
    display: table;
    clear: both;
}

.gh-text-image-left__media img {
    width: 100%;
    height: auto;
}

.gh-mini-cards,
.gh-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .75rem;
}

.gh-catalog-extended {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
}

.gh-catalog-extended__item,
.gh-catalog-image-only__item,
.gh-mini-cards__item,
.gh-gallery-slider__item,
.gh-gallery-grid figure,
.gh-section-fallback,
.gh-catalog-list-view__item {
    background: var(--gh-surface-soft);
    border: 1px solid var(--gh-border);
    border-radius: 12px;
    padding: .85rem;
}

.gh-catalog-extended__item {
    color: inherit;
    text-decoration: none;
    display: grid;
    gap: .55rem;
}

.gh-catalog-extended__item img,
.gh-catalog-image-only__item img,
.gh-catalog-list-view__image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.gh-catalog-image-only {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
}

.gh-catalog-image-only__item {
    display: block;
    padding: .4rem;
}

.gh-mini-inline,
.gh-catalog-list {
    margin: 0;
    padding-left: 1.2rem;
    display: grid;
    gap: .55rem;
}

.gh-catalog-list-view {
    display: grid;
    gap: .75rem;
}

.gh-catalog-list-view__item {
    display: grid;
    gap: .85rem;
    grid-template-columns: minmax(120px, 180px) 1fr;
    align-items: start;
}

.gh-catalog-list-view__image {
    display: block;
}

.gh-catalog-list-view__link {
    display: inline-block;
    margin-top: .5rem;
}

.gh-gallery-slider {
    display: grid;
    gap: .65rem;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr);
    overflow-x: auto;
}

.gh-gallery-grid img,
.gh-gallery-slider img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.gh-text-compact > *:first-child {
    margin-top: 0;
}

@media (max-width: 860px) {
    .gh-text-image-left {
        grid-template-columns: 1fr;
    }

    .gh-text-image-left--image-right .gh-text-image-left__media {
        order: initial;
    }

    .gh-text-image-float__media {
        width: 100%;
        float: none;
        margin-left: 0;
        margin-right: 0;
    }

    .gh-catalog-extended {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gh-catalog-image-only {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gh-catalog-list-view__item {
        grid-template-columns: 1fr;
    }

    .gh-hero-block--image-right {
        grid-template-columns: 1fr;
        grid-template-areas:
            "text"
            "media"
            "cta";
    }
    .gh-hero-block, .gh-content-shell {
    background: #111420;
    border-radius: 18px;
    padding: 1rem;
}
}

.gh-cookie {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 60;
    display: none;
    gap: 0.8rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    border: 1px solid var(--gh-border);
    background: rgba(10, 16, 30, 0.95);
    box-shadow: var(--gh-shadow);
}

.gh-cookie.is-visible {
    display: flex;
}

.gh-cookie__text {
    margin: 0;
    color: var(--gh-text);
    max-width: 760px;
}

.gh-cookie__actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.gh-cookie__btn {
    cursor: pointer;
}
