/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

.article ul,
.article ol {
    padding-left: 1.2em;
}

.article li {
    margin: 0.2em 0;
}

:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

:root {
    --container: 1100px;
    --content: 760px;
    --gap: 16px;
    --radius: 12px;
    --border: rgba(0, 0, 0, .08);
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    padding: 0
}

body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: #111;
    background: #fff;
}

a {
    color: inherit
}

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

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 16px;
}

.site-header,
.site-footer {
    border-bottom: 1px solid var(--border);
}

.site-footer {
    border-top: 1px solid var(--border);
    border-bottom: 0
}

.header-inner,
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
    padding: 14px 0;
}

.main {
    padding: 24px 0 48px;
}

.content-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 980px) {
    .content-wrap {
        grid-template-columns: var(--content) 1fr;
        align-items: start;
    }
}

.article {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

.article h1 {
    line-height: 1.2;
    margin-top: 0
}

.article h2 {
    margin-top: 28px
}

.article h3 {
    margin-top: 22px
}

.meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 14px;
    opacity: .85;
    margin: 10px 0 18px;
}

.card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
}

.btn {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    text-decoration: none;
}

.breadcrumbs {
    font-size: 13px;
    opacity: .8;
    margin-bottom: 10px;
}

.toc ol {
    margin: 0;
    padding-left: 18px
}

.faq details {
    border-top: 1px solid var(--border);
    padding: 10px 0
}

.faq details:first-child {
    border-top: 0
}

/* MENU */
.menu {
    display: flex;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.menu a {
    text-decoration: none;
    opacity: .9;
}

.menu a:hover {
    opacity: 1;
    text-decoration: underline;
}

.site-title {
    text-decoration: none;
    font-weight: 700;
}

.custom-logo {
    max-height: 44px;
    width: auto;
}

table th,
table td {
    vertical-align: top;
}

table th {
    font-weight: 700;
}


/* Front page */
.sb-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 16px
}

.sb-section {
    padding: 56px 0
}

.sb-section--alt {
    background: #f7f7fb
}

.sb-h2 {
    font-size: 28px;
    line-height: 1.2;
    margin: 0 0 8px
}

.sb-muted {
    opacity: .75;
    margin: 0
}

.sb-section__head {
    margin-bottom: 18px
}

.sb-hero {
    padding: 64px 0
}

.sb-hero__grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 24px;
    align-items: start
}

@media (max-width:900px) {
    .sb-hero__grid {
        grid-template-columns: 1fr
    }
}

.sb-hero__title {
    font-size: 40px;
    line-height: 1.15;
    margin: 0 0 10px
}

.sb-hero__subtitle {
    font-size: 16px;
    opacity: .8;
    margin: 0 0 16px
}

.sb-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px
}

.sb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #ddd
}

.sb-btn--primary {
    background: #111;
    color: #fff;
    border-color: #111
}

.sb-btn--ghost {
    background: transparent;
    color: #111
}

.sb-hero__badges {
    list-style: disc;
    margin: 10px 0 0 18px;
    opacity: .85
}

.sb-hero__card {
    border: 1px solid #e6e6ef;
    border-radius: 16px;
    padding: 16px;
    background: #fff
}

.sb-mini__title {
    margin: 0 0 6px;
    font-size: 18px
}

.sb-mini__text {
    margin: 0 0 12px;
    opacity: .8
}

.sb-mini__grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px
}

.sb-chip {
    border: 1px solid #e6e6ef;
    border-radius: 999px;
    padding: 8px 10px;
    text-decoration: none
}

.sb-mini__note {
    font-size: 13px;
    opacity: .75
}

.sb-grid {
    display: grid;
    gap: 14px
}

.sb-grid--4 {
    grid-template-columns: repeat(4, 1fr)
}

@media (max-width:900px) {
    .sb-grid--4 {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:520px) {
    .sb-grid--4 {
        grid-template-columns: 1fr
    }
}

.sb-card {
    border: 1px solid #e6e6ef;
    border-radius: 16px;
    padding: 14px;
    background: #fff;
    text-decoration: none;
    display: block
}

.sb-card__title {
    margin: 0 0 6px;
    font-size: 16px
}

.sb-card__text {
    margin: 0 0 10px;
    opacity: .8
}

.sb-card__link {
    font-weight: 600
}

.sb-faq__item {
    border: 1px solid #e6e6ef;
    border-radius: 14px;
    padding: 10px 12px;
    background: #fff;
    margin-bottom: 10px
}

.sb-faq__item summary {
    cursor: pointer;
    font-weight: 700
}

.sb-faq__body {
    padding-top: 8px;
    opacity: .85
}