.mobile-docs-page {
    --docs-ink: #10243e;
    --docs-muted: #5b6c80;
    --docs-line: #dbe5ef;
    --docs-blue: #1769aa;
    --docs-cyan: #16a6b6;
    --docs-soft: #eef7fb;
    --docs-icon-ink: #245bb3;
    --docs-icon-fill: #e2eeff;
    background: #f7fafc;
    color: var(--docs-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-align: left;
    align-items: stretch;
}

.mobile-docs-page .header_div {
    box-shadow: none;
}

.mobile-docs-page .header_img {
    max-height: 180px;
    object-fit: cover;
}

.mobile-docs-page .page_div {
    width: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.docs-hero {
    padding: 64px 0 54px;
    background: radial-gradient(circle at 85% 20%, rgb(61 220 132 / 13%), transparent 24%),
    linear-gradient(120deg, #e8f5fb, #f7fafc 68%);
}

.docs-shell {
    width: min(1040px, calc(100% - 40px));
    margin: 0 auto;
}

.docs-eyebrow {
    color: var(--docs-blue);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.docs-hero h1 {
    max-width: 820px;
    margin: 12px 0 18px;
    color: var(--docs-ink);
    font-size: clamp(2.25rem, 6vw, 4.3rem);
    line-height: 1.05;
}

.docs-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--docs-muted);
    font-size: 1.16rem;
    line-height: 1.7;
}

.docs-section {
    padding: 54px 0;
    text-align: left;
}

.docs-section.alt {
    background: white;
}

.docs-section h2 {
    margin: 0 0 16px;
    color: var(--docs-ink);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.docs-section h3 {
    margin: 28px 0 10px;
    color: var(--docs-ink);
}

.docs-section p,
.docs-section li,
.docs-section dd {
    color: var(--docs-muted);
    line-height: 1.75;
}

.docs-section ul:not(.docs-flow) {
    margin: 18px 0 24px;
    padding-left: 0;
    text-align: left;
    list-style: none;
}

.docs-section ul:not(.docs-flow) > li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 24px;
    text-align: left;
}

.docs-section ul:not(.docs-flow) > li::before {
    position: absolute;
    top: .72em;
    left: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--docs-cyan);
    box-shadow: 0 0 0 3px rgb(22 166 182 / 14%);
    content: "";
    transform: translateY(-50%);
}

.docs-section a {
    color: var(--docs-blue);
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 26px;
}

.docs-card {
    box-sizing: border-box;
    height: 100%;
    padding: 25px;
    border: 1px solid var(--docs-line);
    border-radius: 14px;
    background: white;
}

.docs-card h2,
.docs-card h3 {
    margin-top: 8px;
    font-size: 1.25rem;
}

.docs-card p:last-child {
    margin-bottom: 0;
}

.docs-card-link {
    color: inherit;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.docs-card-link:hover {
    color: inherit;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px #10243e1a;
}

.docs-tone-green {
    --docs-icon-ink: #176c4c;
    --docs-icon-fill: #d9f3e8;
}

.docs-tone-violet {
    --docs-icon-ink: #6339ad;
    --docs-icon-fill: #eee3ff;
}

.docs-guide-icon {
    display: inline-grid;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 13px;
    background: var(--docs-icon-fill);
    color: var(--docs-icon-ink);
}

.docs-guide-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.docs-with-icon {
    display: flex;
    align-items: center;
    gap: 12px;
}

.docs-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.docs-button {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 8px;
    background: var(--docs-blue);
    color: white !important;
    font-weight: 800;
    text-decoration: none;
}

.docs-button.secondary {
    border: 1px solid #b8d2e5;
    background: white;
    color: var(--docs-blue) !important;
}

.docs-callout {
    margin: 24px 0;
    padding: 18px 22px;
    border-left: 4px solid var(--docs-cyan);
    border-radius: 0 10px 10px 0;
    background: var(--docs-soft);
}

.docs-callout.warning {
    border-left-color: #c67a12;
    background: #fff8e8;
}

.docs-callout strong {
    color: var(--docs-ink);
}

.docs-steps {
    padding: 0;
    list-style: none;
    counter-reset: docs-step;
}

.docs-steps > li {
    position: relative;
    min-height: 48px;
    margin: 0 0 20px;
    padding-left: 62px;
    counter-increment: docs-step;
}

.docs-steps > li::before {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: var(--docs-blue);
    color: white;
    content: counter(docs-step);
    font-weight: 800;
}

.docs-steps strong {
    display: block;
    color: var(--docs-ink);
}

.docs-flow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 28px 0;
    padding: 0;
    list-style: none;
}

.docs-flow li {
    position: relative;
    padding: 18px;
    border: 1px solid var(--docs-line);
    border-radius: 12px;
    background: white;
    color: var(--docs-ink);
    font-weight: 700;
}

.docs-flow li:not(:last-child)::after {
    position: absolute;
    top: 50%;
    right: -12px;
    z-index: 1;
    color: var(--docs-cyan);
    content: "›";
    font-size: 1.5rem;
    transform: translate(50%, -50%);
}

.docs-table-wrap {
    overflow-x: auto;
    margin: 22px 0;
}

.docs-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.docs-table th,
.docs-table td {
    padding: 13px 14px;
    border: 1px solid var(--docs-line);
    text-align: left;
    vertical-align: top;
}

.docs-table th {
    background: var(--docs-soft);
    color: var(--docs-ink);
}

.mobile-docs-page code {
    padding: 2px 5px;
    border-radius: 4px;
    background: #edf2f7;
    color: #243b53;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.mobile-docs-page pre {
    overflow-x: auto;
    padding: 20px;
    border-radius: 12px;
    background: #10243e;
    color: #d9f2f6;
    line-height: 1.65;
}

.mobile-docs-page pre code {
    padding: 0;
    background: transparent;
    color: inherit;
}

.docs-faq details {
    margin-bottom: 12px;
    padding: 16px 18px;
    border: 1px solid var(--docs-line);
    border-radius: 10px;
    background: white;
}

.docs-faq summary {
    color: var(--docs-ink);
    cursor: pointer;
    font-weight: 800;
}

.docs-faq details p:last-child {
    margin-bottom: 0;
}

.docs-page-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding: 30px 0 54px;
}

@media (max-width: 760px) {
    .docs-grid,
    .docs-flow {
        grid-template-columns: 1fr;
    }

    .docs-flow li:not(:last-child)::after {
        top: auto;
        right: 50%;
        bottom: -20px;
        transform: translateX(50%) rotate(90deg);
    }
}
