/* Help center and product documentation */

body.docs-page {
    background: #f7f8fc;
    color: var(--gray-800);
}

.docs-skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 100;
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--navy-primary);
    font-weight: 600;
    transform: translateY(-160%);
}

.docs-skip-link:focus {
    transform: translateY(0);
}

.docs-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(5, 16, 33, 0.97);
    backdrop-filter: blur(18px);
}

.docs-header-inner {
    display: flex;
    min-height: 70px;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
}

.docs-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.docs-brand img {
    width: 154px;
    max-height: 40px;
    object-fit: contain;
}

.docs-header-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.docs-header-link {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
    font-weight: 500;
}

.docs-header-link:hover,
.docs-header-link[aria-current="page"] {
    color: var(--white);
}

.docs-header-button {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.55rem 1rem;
    border: 1px solid rgba(254, 61, 106, 0.55);
    border-radius: var(--radius-full);
    background: rgba(254, 61, 106, 0.16);
    color: #ff8ba6;
    font-size: 0.85rem;
    font-weight: 600;
}

.docs-header-button:hover {
    background: var(--pink-primary);
    color: var(--white);
}

.docs-home-main {
    padding-bottom: 5rem;
}

.docs-hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 6rem;
    background:
        radial-gradient(circle at 12% 20%, rgba(254, 61, 106, 0.24), transparent 30%),
        radial-gradient(circle at 88% 80%, rgba(25, 184, 176, 0.17), transparent 32%),
        var(--gradient-dark);
}

.docs-hero::after {
    position: absolute;
    right: -8rem;
    bottom: -12rem;
    width: 28rem;
    height: 28rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    content: '';
}

.docs-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.docs-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #ff91aa;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.docs-eyebrow::before {
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: var(--pink-primary);
    content: '';
}

.docs-hero h1 {
    color: var(--white);
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    letter-spacing: -0.035em;
}

.docs-hero p {
    max-width: 650px;
    margin: 1rem auto 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 1.05rem;
}

.docs-search-wrap {
    position: relative;
    max-width: 680px;
    margin: 2rem auto 0;
}

.docs-search-icon {
    position: absolute;
    top: 50%;
    left: 1.25rem;
    width: 22px;
    height: 22px;
    color: var(--gray-600);
    transform: translateY(-50%);
    pointer-events: none;
}

.docs-search {
    width: 100%;
    min-height: 60px;
    padding: 0.9rem 3.2rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    outline: none;
    background: var(--white);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
    color: var(--navy-primary);
    font: inherit;
    font-size: 1rem;
}

.docs-search:focus {
    border-color: var(--pink-primary);
    box-shadow: 0 0 0 4px rgba(254, 61, 106, 0.16), 0 18px 50px rgba(0, 0, 0, 0.24);
}

.docs-search-feedback {
    display: none;
    margin: 0.75rem auto 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.84rem;
    font-weight: 500;
}

.docs-is-searching .docs-search-feedback {
    display: block;
}

.docs-content-wrap {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: -2.5rem auto 0;
    padding: 0 2rem;
}

.docs-start-card {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 2rem;
    padding: 2rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.docs-is-searching .docs-start-card {
    display: none;
}

.docs-is-searching .docs-hero {
    padding-bottom: 2rem;
}

.docs-is-searching .docs-content-wrap {
    margin-top: 0;
}

.docs-is-searching .docs-sections {
    padding-top: 1.25rem;
}

.docs-is-searching .docs-category-heading {
    align-items: flex-start;
    margin-bottom: 0.9rem;
}

.docs-is-searching .docs-category-heading h2 {
    font-size: 1.3rem;
}

.docs-is-searching .docs-category-heading p {
    display: none;
}

.docs-start-intro span {
    color: var(--teal-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.docs-start-intro h2 {
    margin-top: 0.45rem;
    font-size: 1.65rem;
}

.docs-start-intro p {
    margin-top: 0.65rem;
    font-size: 0.92rem;
}

.docs-start-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    align-content: center;
    list-style: none;
}

.docs-start-steps a {
    display: flex;
    height: 100%;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.9rem;
    border-radius: 12px;
    background: var(--gray-50);
    color: var(--navy-primary);
    font-size: 0.83rem;
    font-weight: 600;
}

.docs-start-steps a:hover {
    background: #fff1f5;
    color: var(--pink-dark);
}

.docs-start-number {
    display: grid;
    width: 25px;
    height: 25px;
    flex-shrink: 0;
    place-items: center;
    border-radius: 50%;
    background: var(--navy-primary);
    color: var(--white);
    font-size: 0.7rem;
}

.docs-sections {
    padding-top: 3.5rem;
}

.docs-category {
    margin-bottom: 3.5rem;
    padding: 0;
}

.docs-category-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.docs-category-heading h2 {
    font-size: 1.55rem;
}

.docs-category-heading p {
    max-width: 560px;
    font-size: 0.9rem;
    text-align: right;
}

.docs-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.docs-card {
    display: flex;
    min-height: 178px;
    flex-direction: column;
    padding: 1.4rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.docs-card[hidden] {
    display: none;
}

.docs-card:hover {
    border-color: rgba(254, 61, 106, 0.42);
    box-shadow: var(--shadow-md);
    color: inherit;
    transform: translateY(-3px);
}

.docs-card-label {
    margin-bottom: 0.7rem;
    color: var(--pink-primary);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.docs-card h3 {
    margin-bottom: 0.55rem;
    font-size: 1.05rem;
}

.docs-card p {
    font-size: 0.84rem;
    line-height: 1.55;
}

.docs-card-arrow {
    margin-top: auto;
    padding-top: 0.8rem;
    color: var(--navy-primary);
    font-size: 0.78rem;
    font-weight: 600;
}

.docs-empty {
    display: none;
    padding: 3rem 1.5rem;
    border: 1px dashed var(--gray-300);
    border-radius: var(--radius-md);
    background: var(--white);
    text-align: center;
}

.docs-empty h2 {
    font-size: 1.35rem;
}

.docs-empty p {
    margin: 0.5rem 0 1.25rem;
}

.docs-support-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--navy-primary);
}

.docs-support-card h2 {
    color: var(--white);
    font-size: 1.45rem;
}

.docs-support-card p {
    margin-top: 0.35rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
}

.docs-support-card a {
    flex-shrink: 0;
    padding: 0.75rem 1.2rem;
    border-radius: var(--radius-full);
    background: var(--white);
    color: var(--navy-primary);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Article layout */
.docs-article-shell {
    display: grid;
    grid-template-columns: 250px minmax(0, 760px);
    gap: 4rem;
    justify-content: center;
    max-width: 1180px;
    margin: 0 auto;
    padding: 2rem 2rem 5rem;
}

.docs-sidebar {
    position: sticky;
    top: 102px;
    height: calc(100vh - 125px);
    overflow-y: auto;
    padding-right: 1rem;
}

.docs-sidebar-title {
    display: block;
    margin-bottom: 1rem;
    color: var(--navy-primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.docs-sidebar-group {
    margin-bottom: 1.2rem;
}

.docs-sidebar-group-title {
    margin-bottom: 0.35rem;
    color: var(--gray-600);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.docs-sidebar-link {
    display: block;
    margin-left: -0.75rem;
    padding: 0.42rem 0.7rem;
    border-left: 2px solid transparent;
    color: #596477;
    font-size: 0.78rem;
    line-height: 1.4;
}

.docs-sidebar-link:hover {
    color: var(--navy-primary);
}

.docs-sidebar-link[aria-current="page"] {
    border-left-color: var(--pink-primary);
    color: var(--pink-dark);
    font-weight: 600;
}

.docs-mobile-navigation {
    display: none;
    margin-bottom: 1.5rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--white);
}

.docs-mobile-navigation summary {
    padding: 0.9rem 1rem;
    color: var(--navy-primary);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
}

.docs-mobile-navigation-list {
    max-height: 55vh;
    overflow-y: auto;
    padding: 0 1rem 1rem;
}

.docs-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--gray-600);
    font-size: 0.78rem;
}

.docs-breadcrumbs a {
    color: var(--gray-600);
}

.docs-breadcrumbs a:hover {
    color: var(--pink-primary);
}

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

.docs-article-header {
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.docs-article-kicker {
    color: var(--pink-primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.docs-article-header h1 {
    margin-top: 0.65rem;
    font-size: clamp(2rem, 5vw, 3.2rem);
    letter-spacing: -0.035em;
}

.docs-article-summary {
    margin-top: 1rem;
    color: #596477;
    font-size: 1.05rem;
}

.docs-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.25rem;
}

.docs-meta-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.65rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    background: var(--white);
    color: var(--gray-600);
    font-size: 0.72rem;
    font-weight: 500;
}

.docs-article-body {
    padding-top: 2rem;
}

.docs-article-body h2 {
    margin: 2.7rem 0 1rem;
    font-size: 1.55rem;
    letter-spacing: -0.015em;
    scroll-margin-top: 100px;
}

.docs-article-body h2:first-child {
    margin-top: 0;
}

.docs-article-body h3 {
    margin: 1.8rem 0 0.7rem;
    font-size: 1.1rem;
    scroll-margin-top: 100px;
}

.docs-article-body p,
.docs-article-body li {
    color: #505b6e;
    font-size: 0.96rem;
    line-height: 1.8;
}

.docs-article-body p + p {
    margin-top: 0.8rem;
}

.docs-article-body ul,
.docs-article-body ol:not(.docs-steps) {
    margin: 0.8rem 0 1.25rem 1.3rem;
}

.docs-article-body li + li {
    margin-top: 0.35rem;
}

.docs-article-body strong {
    color: var(--navy-primary);
}

.docs-article-body code {
    padding: 0.15rem 0.38rem;
    border-radius: 5px;
    background: var(--gray-200);
    color: var(--navy-primary);
    font-family: inherit;
    font-size: 0.86em;
    font-weight: 600;
}

.docs-steps {
    margin: 1.25rem 0;
    list-style: none;
    counter-reset: docs-step;
}

.docs-steps > li {
    position: relative;
    min-height: 48px;
    padding: 0.1rem 0 1.6rem 3.5rem;
    counter-increment: docs-step;
}

.docs-steps > li::before {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    background: var(--navy-primary);
    color: var(--white);
    content: counter(docs-step);
    font-size: 0.78rem;
    font-weight: 700;
}

.docs-steps > li:not(:last-child)::after {
    position: absolute;
    top: 42px;
    bottom: 5px;
    left: 17px;
    width: 1px;
    background: var(--gray-300);
    content: '';
}

.docs-callout {
    margin: 1.5rem 0;
    padding: 1.1rem 1.2rem;
    border-left: 3px solid var(--teal-primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: #ecfbfa;
}

.docs-callout.warning {
    border-left-color: var(--orange-primary);
    background: #fff8eb;
}

.docs-callout.important {
    border-left-color: var(--pink-primary);
    background: #fff1f5;
}

.docs-callout-title {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--navy-primary);
    font-size: 0.82rem;
    font-weight: 700;
}

.docs-callout p {
    font-size: 0.88rem;
    line-height: 1.65;
}

.docs-figure {
    margin: 1.8rem 0;
    padding: 0.55rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.docs-figure img {
    width: auto;
    max-height: 720px;
    margin: 0 auto;
    border-radius: 10px;
}

.docs-figure figcaption {
    padding: 0.7rem 0.5rem 0.25rem;
    color: var(--gray-600);
    font-size: 0.75rem;
    text-align: center;
}

.docs-table-wrap {
    overflow-x: auto;
    margin: 1.25rem 0;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
}

.docs-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    font-size: 0.84rem;
}

.docs-table th,
.docs-table td {
    padding: 0.8rem;
    border-bottom: 1px solid var(--gray-200);
    text-align: left;
    vertical-align: top;
}

.docs-table th {
    background: var(--gray-50);
    color: var(--navy-primary);
}

.docs-table tr:last-child td {
    border-bottom: 0;
}

.docs-related {
    margin-top: 3rem;
    padding: 2rem 0 0;
    border-top: 1px solid var(--gray-200);
}

.docs-related h2 {
    margin: 0 0 1rem;
    font-size: 1.2rem;
}

.docs-related-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.docs-related-links a {
    padding: 0.9rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--navy-primary);
    font-size: 0.8rem;
    font-weight: 600;
}

.docs-related-links a:hover {
    border-color: rgba(254, 61, 106, 0.4);
    color: var(--pink-dark);
}

.docs-feedback {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.2rem;
    border-radius: var(--radius-md);
    background: var(--navy-primary);
}

.docs-feedback p {
    color: var(--white);
    font-size: 0.86rem;
    font-weight: 600;
}

.docs-feedback-actions {
    display: flex;
    gap: 0.5rem;
}

.docs-feedback button {
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    cursor: pointer;
    font: inherit;
    font-size: 0.76rem;
}

.docs-feedback button:hover,
.docs-feedback button:focus-visible {
    background: rgba(255, 255, 255, 0.18);
}

.docs-updated {
    margin-top: 1.5rem;
    color: var(--gray-600);
    font-size: 0.72rem;
}

.docs-footer {
    padding: 2rem;
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.6);
}

.docs-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1180px;
    margin: 0 auto;
    font-size: 0.75rem;
}

.docs-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.docs-footer a {
    color: rgba(255, 255, 255, 0.72);
}

.docs-footer a:hover {
    color: var(--white);
}

@media (max-width: 900px) {
    .docs-start-card {
        grid-template-columns: 1fr;
    }

    .docs-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .docs-article-shell {
        display: block;
        max-width: 800px;
    }

    .docs-sidebar {
        display: none;
    }

    .docs-mobile-navigation {
        display: block;
    }
}

@media (max-width: 640px) {
    .docs-header-inner {
        min-height: 64px;
        padding: 0.75rem 1rem;
    }

    .docs-brand img {
        width: 132px;
    }

    .docs-header-link {
        display: none;
    }

    .docs-header-button {
        min-height: 36px;
        padding: 0.45rem 0.75rem;
        font-size: 0.76rem;
    }

    .docs-hero {
        padding: 3.5rem 0 4.5rem;
    }

    .docs-hero-content,
    .docs-content-wrap,
    .docs-article-shell {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .docs-search {
        padding-right: 1.2rem;
    }

    .docs-start-card {
        padding: 1.25rem;
    }

    .docs-start-steps {
        grid-template-columns: 1fr;
    }

    .docs-category-heading {
        display: block;
    }

    .docs-category-heading p {
        margin-top: 0.4rem;
        text-align: left;
    }

    .docs-card-grid {
        grid-template-columns: 1fr;
    }

    .docs-card {
        min-height: 156px;
    }

    .docs-support-card,
    .docs-feedback {
        align-items: flex-start;
        flex-direction: column;
    }

    .docs-article-shell {
        padding-top: 1.25rem;
    }

    .docs-related-links {
        grid-template-columns: 1fr;
    }

    .docs-footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}
