.custompages-page,
.custompages-index,
.custompages-notfound {
    --custompages-accent: #0cbed5;
    --custompages-accent-hover: #5792a2;
    --custompages-accent-soft: #cfecf4;
    --custompages-border: rgba(22, 28, 45, 0.1);
    --custompages-heading: #161c2d;
    --custompages-muted: #b5b5c3;
    --custompages-text: #8b93a9;
    color: var(--custompages-text);
    font-family: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.15px;
    line-height: 1.6;
}

.custompages-page__header {
    margin-bottom: 12px;
}

.custompages-page__header h1 {
    color: var(--custompages-accent) !important;
    font-family: "Inter Tight", sans-serif !important;
    font-size: 24px !important;
    font-weight: 300 !important;
    letter-spacing: -0.5px !important;
    line-height: 34.08px !important;
    margin: 8px 0 0;
}

.custompages-index__header h1 {
    color: var(--custompages-heading);
    font-family: inherit;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.42;
    margin: 8px 0 0;
}

.custompages-page__badge {
    background: var(--custompages-accent-soft);
    border-radius: 6px;
    color: var(--custompages-accent-hover);
    display: inline-flex;
    font-size: 12px;
    font-weight: 600;
    gap: 6px;
    letter-spacing: 0.2px;
    line-height: 18px;
    padding: 4px 9px;
}

.custompages-page__content {
    color: var(--custompages-text);
    font-family: "Inter Tight", sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: -0.15px !important;
    line-height: 22.4px !important;
    overflow-wrap: anywhere;
}

.custompages-page__content p,
.custompages-page__content div,
.custompages-page__content span,
.custompages-page__content a,
.custompages-page__content em,
.custompages-page__content ul,
.custompages-page__content ol,
.custompages-page__content li,
.custompages-page__content blockquote,
.custompages-page__content table,
.custompages-page__content th,
.custompages-page__content td {
    color: var(--custompages-text) !important;
    font-family: "Inter Tight", sans-serif !important;
    font-size: 14px !important;
    font-weight: 400;
    letter-spacing: -0.15px !important;
    line-height: 22.4px !important;
}

.custompages-page__content p {
    margin: 0 0 8px;
}

.custompages-page__content p:last-child {
    margin-bottom: 0;
}

.custompages-page__content h1,
.custompages-page__content h2,
.custompages-page__content h3,
.custompages-page__content h4,
.custompages-page__content h5,
.custompages-page__content h6 {
    color: var(--custompages-heading) !important;
    font-family: "Inter Tight", sans-serif !important;
    letter-spacing: -0.4px;
    line-height: 1.42;
    margin: 26px 0 10px;
}

.custompages-page__content h1 {
    color: var(--custompages-accent) !important;
    font-size: 24px;
    font-weight: 300;
    line-height: 34.08px;
}

.custompages-page__content h2 {
    font-size: 21px;
    font-weight: 500;
}

.custompages-page__content h3 {
    font-size: 19px;
    font-weight: 600;
}

.custompages-page__content h4 {
    font-size: 17px;
    font-weight: 600;
}

.custompages-page__content h5 {
    font-size: 15px;
    font-weight: 600;
}

.custompages-page__content h6 {
    font-size: 13px;
    font-weight: 600;
}

.custompages-page__content a {
    color: var(--custompages-accent) !important;
    font-weight: 400;
    text-decoration: none;
}

.custompages-page__content a:hover,
.custompages-page__content a:focus {
    color: var(--custompages-accent-hover) !important;
    text-decoration: underline;
}

.custompages-page__content strong {
    font-family: "Inter Tight", sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: -0.15px !important;
    line-height: 22.4px !important;
}

.custompages-page__content h1 *,
.custompages-page__content h2 *,
.custompages-page__content h3 *,
.custompages-page__content h4 *,
.custompages-page__content h5 *,
.custompages-page__content h6 * {
    color: inherit !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    letter-spacing: inherit !important;
    line-height: inherit !important;
}

.custompages-page__content blockquote {
    border-left: 3px solid var(--custompages-accent);
    color: var(--custompages-text);
    margin: 22px 0;
    padding: 4px 0 4px 18px;
}

.custompages-page__content li + li {
    margin-top: 5px;
}

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

.custompages-page__content table {
    border-collapse: collapse;
    display: block;
    max-width: 100%;
    overflow-x: auto;
    width: max-content;
}

.custompages-page__content th,
.custompages-page__content td {
    border: 1px solid var(--custompages-border);
    padding: 9px 12px;
}

.custompages-page__content pre {
    background: var(--custompages-heading);
    border-radius: 6px;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.55;
    overflow-x: auto;
    padding: 16px;
}

.custompages-index__header {
    margin-bottom: 22px;
}

.custompages-index__grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.custompages-index__card {
    align-items: flex-start;
    border: 1px solid var(--custompages-border);
    border-radius: 9px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 210px;
    padding: 22px;
}

.custompages-index__card h2 {
    color: var(--custompages-accent);
    font-family: inherit;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -0.4px;
    line-height: 1.42;
    margin: 10px 0 8px;
}

.custompages-index__card p {
    color: var(--custompages-muted);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.custompages-notfound {
    padding: 40px 15px;
    text-align: center;
}

.custompages-notfound__code {
    color: #cbd5e1;
    font-size: 74px;
    font-weight: 800;
    line-height: 1;
}

@media (max-width: 720px) {
    .custompages-index__grid {
        grid-template-columns: 1fr;
    }
}
