:root {
    --help-c-brand-1: #1554e8;
    --help-c-brand-2: #1247c6;
    --help-c-brand-3: #1759ed;
    --help-c-brand-soft: rgba(21, 84, 232, 0.08);
    --help-font-family-base: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.docs-home {
    max-width: 1160px;
    margin: 0 auto;
    padding: 64px 32px 72px;
}

.docs-hero {
    padding: 52px 56px;
    border: 1px solid var(--help-c-divider);
    border-radius: 24px;
    background: radial-gradient(ellipse at top right, var(--help-c-brand-soft), transparent 70%), var(--help-c-bg-soft);
}

.docs-eyebrow {
    margin: 0 0 14px;
    color: var(--help-c-brand-1);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.6;
}

.docs-hero h1 {
    margin: 0;
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 650;
    letter-spacing: -0.045em;
    line-height: 1.2;
}

.docs-hero h1 span {
    color: var(--help-c-brand-1);
}

.docs-intro {
    max-width: 580px;
    margin: 22px 0 30px;
    color: var(--help-c-text-2);
    font-size: 17px;
    line-height: 1.7;
}

.docs-search {
    max-width: 620px;
}

.docs-search label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
}

.docs-search-field {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid var(--help-c-divider);
    border-radius: 12px;
    background: var(--help-c-bg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.docs-search-field:focus-within {
    outline: 2px solid var(--help-c-brand-1);
    outline-offset: 3px;
}

.docs-search-field svg {
    flex-shrink: 0;
    fill: none;
    stroke: var(--help-c-brand-1);
    stroke-width: 1.6;
}

.docs-search-field input {
    width: 100%;
    min-width: 0;
    font: inherit;
    font-size: 15px;
    color: var(--help-c-text-1);
    background: transparent;
    outline: none;
}

.docs-search-hint {
    max-width: 620px;
    margin: 12px 0 0;
    color: var(--help-c-text-2);
    font-size: 12px;
    line-height: 1.6;
}

.docs-section {
    margin-top: 52px;
}

.docs-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 24px;
}

.docs-section-heading .docs-eyebrow {
    margin-bottom: 6px;
}

.docs-section h2,
.docs-bottom h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 650;
    line-height: 1.35;
    letter-spacing: -0.025em;
}

.docs-count {
    flex-shrink: 0;
    color: var(--help-c-text-2);
    font-size: 12px;
}

.docs-guide-grid,
.docs-topic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.docs-guide {
    display: flex;
    flex-direction: column;
    padding: 26px;
    border: 1px solid var(--help-c-divider);
    border-radius: 16px;
    background: var(--help-c-bg);
    transition: border-color 160ms, background-color 160ms;
}

.docs-guide:hover,
.docs-topic-live:hover {
    border-color: var(--help-c-brand-1);
    background-color: var(--help-c-brand-soft);
}

.docs-guide:focus-visible,
.docs-topic-live:focus-visible,
.docs-bottom a:focus-visible,
.docs-empty button:focus-visible {
    outline: 2px solid var(--help-c-brand-1);
    outline-offset: 4px;
}

.docs-guide-label {
    margin-bottom: 18px;
    color: var(--help-c-brand-1);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.09em;
}

.docs-guide h3,
.docs-topic h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 650;
}

.docs-guide p,
.docs-topic p {
    margin: 10px 0 24px;
    color: var(--help-c-text-2);
    font-size: 14px;
    line-height: 1.7;
}

.docs-guide-link {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    color: var(--help-c-brand-1);
    font-size: 13px;
    font-weight: 600;
}

.docs-topic {
    display: flex;
    flex-direction: column;
    padding: 26px;
    border: 1px solid var(--help-c-divider);
    border-radius: 16px;
    background: var(--help-c-bg-soft);
}

.docs-topic-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
    border: 1px solid var(--help-c-divider);
    border-radius: 10px;
    color: var(--help-c-brand-1);
    background: var(--help-c-bg);
    font-size: 22px;
}

.docs-badge {
    align-self: flex-start;
    margin-top: auto;
    color: var(--help-c-text-2);
    font-size: 11px;
    font-weight: 500;
}

.docs-badge-live {
    color: var(--help-c-brand-1);
    font-weight: 600;
}

.docs-empty {
    padding: 32px;
    border: 1px dashed var(--help-c-divider);
    border-radius: 16px;
    color: var(--help-c-text-2);
    text-align: center;
}

.docs-empty button {
    margin-top: 12px;
    color: var(--help-c-brand-1);
    font-weight: 600;
}

.docs-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 52px;
    padding: 32px;
    border: 1px solid var(--help-c-divider);
    border-radius: 16px;
    background: var(--help-c-brand-soft);
}

.docs-bottom p {
    margin: 8px 0 0;
    color: var(--help-c-text-2);
    font-size: 14px;
    line-height: 1.6;
}

.docs-bottom a {
    flex-shrink: 0;
    padding: 12px 18px;
    border-radius: 10px;
    color: var(--help-c-bg);
    background: var(--help-c-brand-1);
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 900px) {
    .docs-guide-grid,
    .docs-topic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .docs-hero {
        padding: 36px;
    }
}

@media (max-width: 600px) {
    .docs-home {
        padding: 24px 20px 40px;
    }

    .docs-hero {
        padding: 28px 22px;
        border-radius: 18px;
    }

    .docs-intro {
        font-size: 15px;
    }

    .docs-guide-grid,
    .docs-topic-grid {
        grid-template-columns: 1fr;
    }

    .docs-section-heading,
    .docs-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .docs-section {
        margin-top: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .docs-guide {
        transition: none;
    }
}

.help-page {
    --help-c-divider: #dde5e1;
    --help-c-bg: #ffffff;
    --help-c-bg-soft: #f6f9f7;
    --help-c-text-1: #1d3029;
    --help-c-text-2: #51635a;
    color: var(--help-c-text-1);
    background: var(--help-c-bg);
    font-family: var(--help-font-family-base);
    line-height: 1.7;
}

body {
    margin: 0;
}

.help-page * {
    box-sizing: border-box;
}

.help-page a {
    color: var(--help-c-brand-1);
    text-decoration: none;
}

.help-page a:hover {
    text-decoration: underline;
}

.help-page .docs-bottom a {
    color: var(--help-c-bg);
}

.help-page a:focus-visible,
.help-page summary:focus-visible {
    outline: 2px solid var(--help-c-brand-1);
    outline-offset: 4px;
}

.help-skip {
    position: absolute;
    left: 16px;
    top: -80px;
    z-index: 10;
    padding: 12px;
    background: white;
}

.help-skip:focus {
    top: 8px;
}

.help-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 32px;
    border-bottom: 1px solid var(--help-c-divider);
}

.help-brand {
    font-size: 20px;
    font-weight: 700;
}

.help-brand span {
    color: var(--help-c-text-2);
    font-weight: 400;
}

.help-header nav {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 14px;
}

.help-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 780px);
    justify-content: center;
    gap: 56px;
    padding: 40px 32px 72px;
}

.help-sidebar {
    font-size: 14px;
}

.help-sidebar details {
    margin-top: 16px;
}

.help-sidebar summary {
    cursor: pointer;
    font-weight: 600;
}

.help-sidebar details a {
    display: block;
    margin: 10px 0 10px 16px;
}

.help-sidebar a[aria-current="page"] {
    font-weight: 700;
    text-decoration: underline;
}

.help-breadcrumb {
    margin-bottom: 24px;
    color: var(--help-c-text-2);
    font-size: 13px;
}

.help-article {
    min-width: 0;
}

.help-article h1 {
    margin-top: 0;
    font-size: clamp(28px, 4vw, 38px);
    letter-spacing: -0.03em;
    line-height: 1.25;
}

.help-article h2 {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--help-c-divider);
    font-size: 24px;
    line-height: 1.4;
}

.help-article h3 {
    margin-top: 28px;
    font-size: 19px;
}

.help-article p,
.help-article li {
    color: var(--help-c-text-2);
}

.help-article li {
    margin-bottom: 8px;
}

.help-article p a,
.help-article li a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.help-article .header-anchor {
    display: none;
}

.help-article table {
    display: block;
    overflow-x: auto;
    border-collapse: collapse;
    font-size: 14px;
}

.help-article th,
.help-article td {
    padding: 12px;
    border: 1px solid var(--help-c-divider);
    text-align: left;
}

.help-footer {
    padding: 32px;
    border-top: 1px solid var(--help-c-divider);
    color: var(--help-c-text-2);
    text-align: center;
    font-size: 13px;
}

.help-page .docs-search-field input {
    border: 0;
}

@media (max-width: 850px) {
    .help-layout {
        grid-template-columns: minmax(0, 780px);
        gap: 32px;
        padding: 28px 24px 48px;
    }

    .help-sidebar {
        order: 2;
        padding-top: 24px;
        border-top: 1px solid var(--help-c-divider);
    }

    .help-header {
        padding: 20px 24px;
    }
}

.help-brand {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

.help-brand img {
    display: block;
    width: 208px;
    max-width: 100%;
    height: auto;
}

.help-brand span {
    padding-left: 18px;
    border-left: 1px solid var(--help-c-divider);
    font-size: 14px;
}

.docs-search-submit,
.help-sidebar-search button {
    padding: 10px 18px;
    border: 0;
    border-radius: 8px;
    color: white;
    background: var(--help-c-brand-1);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.docs-search-submit:focus-visible,
.help-sidebar-search input:focus-visible,
.help-sidebar-search button:focus-visible {
    outline: 2px solid var(--help-c-brand-1);
    outline-offset: 3px;
}

.help-sidebar-search {
    display: grid;
    gap: 8px;
    margin-bottom: 28px;
}

.help-sidebar-search input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--help-c-divider);
    border-radius: 8px;
    background: white;
    font: inherit;
}

.help-sidebar-search button {
    justify-self: start;
}

.help-whatsapp {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 20;
    display: block;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    filter: drop-shadow(0 3px 5px rgb(0 0 0 / 18%));
}

.help-whatsapp img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.help-whatsapp:focus-visible {
    outline: 3px solid var(--help-c-brand-1);
    outline-offset: 4px;
}

.help-page .help-footer {
    padding-bottom: 90px;
}
