/**
 * LipaPay Sandbox — professional theme (merchant portal palette + modern layout)
 * Load via asset() only — no build step required.
 */
:root {
    --lp: #0ba360;
    --lp-deep: #067d4a;
    --lp-bright: #10c978;
    --lp-soft: #e8f8f0;
    --lp-ink: #0f172a;
    --lp-muted: #64748b;
    --lp-line: #e2e8f0;
    --lp-panel: #ffffff;
    --lp-code-bg: #1e293b;
    --lp-code-border: #0ba360;
    --lp-json-k: #4ade80;
    --lp-json-v: #38bdf8;
    --lp-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
    --lp-radius: 14px;
    --sb-sidebar: 268px;
    --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--lp-ink); background: #f1f5f9; }

a { color: var(--lp); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ——— Guest / Welcome ——— */
.sb-guest {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #0a1628;
    color: #e2e8f0;
}

.sb-guest__noise {
    position: fixed;
    inset: 0;
    opacity: 0.04;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.sb-guest__gradient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 120% 80% at 20% -10%, rgba(16, 201, 120, 0.35), transparent 50%),
        radial-gradient(ellipse 80% 60% at 100% 20%, rgba(11, 163, 96, 0.25), transparent 45%),
        linear-gradient(165deg, #0a1628 0%, #0f2847 40%, #0a1628 100%);
}

.sb-nav {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    background: rgba(10, 22, 40, 0.75);
}

.sb-nav__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.02em;
    color: #fff;
    text-decoration: none;
}
.sb-nav__brand:hover { text-decoration: none; opacity: 0.92; }

.sb-nav__mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--lp-bright), var(--lp));
    display: grid;
    place-items: center;
    box-shadow: 0 8px 24px rgba(11, 163, 96, 0.45);
}
.sb-nav__mark svg { width: 22px; height: 22px; color: #fff; }

.sb-nav__logoimg {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: contain;
    background: #fff;
    padding: 4px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.sb-nav__tag {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.55);
    margin-left: 4px;
}

.sb-nav__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.sb-nav__link {
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    border: 1px solid transparent;
    text-decoration: none;
}
.sb-nav__link:hover {
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: #fff;
}
.sb-nav__link--primary {
    background: var(--lp);
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(11, 163, 96, 0.4);
}
.sb-nav__link--primary:hover {
    background: var(--lp-deep);
    text-decoration: none;
}

.sb-nav__pill {
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(16, 201, 120, 0.15);
    color: #86efac;
    border: 1px solid rgba(16, 201, 120, 0.35);
}

.sb-hero {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px 80px;
    max-width: 920px;
    margin: 0 auto;
}

.sb-hero__eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--lp-bright);
    margin-bottom: 16px;
}

.sb-hero__title {
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 0 0 20px;
    color: #fff;
    text-wrap: balance;
}

.sb-hero__title span {
    background: linear-gradient(120deg, #86efac, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sb-hero__lead {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    line-height: 1.65;
    color: rgba(226, 232, 240, 0.82);
    max-width: 620px;
    margin: 0 auto 32px;
}

.sb-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.sb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.sb-btn:hover { transform: translateY(-1px); text-decoration: none; }
.sb-btn--lg { padding: 16px 32px; font-size: 16px; border-radius: 14px; }
.sb-btn--solid {
    background: linear-gradient(135deg, var(--lp-bright), var(--lp));
    color: #fff !important;
    box-shadow: 0 12px 32px rgba(11, 163, 96, 0.45);
}
.sb-btn--solid:hover { box-shadow: 0 16px 40px rgba(11, 163, 96, 0.55); color: #fff !important; }
.sb-btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.sb-btn--ghost:hover { background: rgba(255, 255, 255, 0.14); color: #fff !important; }

.sb-strip {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    padding: 22px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
    font-size: 13px;
    color: rgba(226, 232, 240, 0.75);
}
.sb-strip strong { color: #fff; }

.sb-section-light {
    position: relative;
    z-index: 2;
    background: #f8fafc;
    color: var(--lp-ink);
    padding: 72px 24px;
}

.sb-section-light h2 {
    text-align: center;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}
.sb-section-light > p.sb-center {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
    color: var(--lp-muted);
    font-size: 16px;
    line-height: 1.6;
}

.sb-grid-3 {
    display: grid;
    gap: 22px;
    max-width: 1100px;
    margin: 0 auto;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .sb-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.sb-feature {
    background: var(--lp-panel);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    padding: 28px 24px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.sb-feature:hover {
    border-color: rgba(11, 163, 96, 0.35);
    box-shadow: var(--lp-shadow);
    transform: translateY(-3px);
}
.sb-feature__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--lp-soft);
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    font-size: 22px;
}
.sb-feature h3 { margin: 0 0 10px; font-size: 17px; font-weight: 700; }
.sb-feature p { margin: 0; font-size: 14px; color: var(--lp-muted); line-height: 1.55; }

.sb-steps {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}
@media (min-width: 768px) {
    .sb-steps { grid-template-columns: repeat(4, 1fr); }
}

.sb-step {
    text-align: center;
    padding: 20px 14px;
}
.sb-step__num {
    width: 44px;
    height: 44px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--lp);
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 20px rgba(11, 163, 96, 0.35);
}
.sb-step h4 { margin: 0 0 8px; font-size: 14px; font-weight: 700; }
.sb-step p { margin: 0; font-size: 13px; color: var(--lp-muted); line-height: 1.5; }

.sb-footer {
    position: relative;
    z-index: 2;
    padding: 28px 24px;
    text-align: center;
    font-size: 12px;
    color: rgba(226, 232, 240, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.25);
}

/* ——— App shell (developer / lab / callback) ——— */
.sb-app {
    min-height: 100vh;
    margin: 0;
    background: #eef2f5;
}
.sb-app__frame {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.sb-app__body {
    display: flex;
    flex: 1;
    min-height: 0;
}

.sb-sidebar {
    width: var(--sb-sidebar);
    flex-shrink: 0;
    background: linear-gradient(180deg, #0ba360 0%, #088f55 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 40;
}

.sb-sidebar__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 18px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.sb-sidebar__brand a { color: #fff; text-decoration: none; display: flex; align-items: center; gap: 12px; }
.sb-sidebar__brand a:hover { opacity: 0.95; text-decoration: none; }

.sb-sidebar__logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    display: grid;
    place-items: center;
}
.sb-sidebar__logo svg { width: 24px; height: 24px; color: #fff; }

.sb-sidebar__titles .sb-name { font-weight: 800; font-size: 16px; display: block; }
.sb-sidebar__titles .sb-sub { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; opacity: 0.85; }

.sb-side-nav { padding: 10px 8px 20px; flex: 1; }
.sb-side-nav__label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.55);
    padding: 12px 14px 6px;
}
.sb-side-nav__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 2px;
    border-radius: 0 10px 10px 0;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-left: 3px solid transparent;
}
.sb-side-nav__link:hover { background: rgba(255, 255, 255, 0.1); text-decoration: none; color: #fff; }
.sb-side-nav__link.is-active {
    background: rgba(255, 255, 255, 0.14);
    border-left-color: #fff;
}
.sb-side-nav__ico { width: 22px; text-align: center; opacity: 0.95; }
.sb-side-nav__hint {
    font-size: 10px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 10px 10px;
    padding: 0;
}
.sb-side-product {
    margin: 0 8px 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}
.sb-side-product.is-active {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
}
.sb-side-product--lipapay { border-left: 3px solid #0ba360; }
.sb-side-product--airtime { border-left: 3px solid #7c3aed; }
.sb-side-product--disbursement { border-left: 3px solid #2563eb; }
.sb-side-product__head { margin-bottom: 8px; }
.sb-side-product__name {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 3px;
}
.sb-side-product__api {
    display: block;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    word-break: break-all;
}
.sb-side-product__links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.sb-side-product__link {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}
.sb-side-product__link:hover { background: rgba(255, 255, 255, 0.16); color: #fff; text-decoration: none; }
.sb-side-product__link.is-current { background: rgba(11, 163, 96, 0.35); color: #fff; }

.sb-sidebar__foot {
    padding: 14px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 10px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.7);
}

.sb-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 30;
}
.sb-backdrop.is-on { display: block; }

.sb-maincol {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.sb-topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 58px;
    padding: 0 14px 0 10px;
    background: var(--lp-panel);
    border-bottom: 1px solid var(--lp-line);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 20;
}

.sb-burger {
    display: none;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    color: #475569;
}
.sb-burger:hover { background: #f1f5f9; }

.sb-crumb {
    font-size: 13px;
    color: var(--lp-muted);
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sb-crumb b, .sb-crumb .sb-crumb-here { color: var(--lp-ink); font-weight: 600; }
.sb-crumb .sb-crumb-link {
    color: var(--lp-muted);
    text-decoration: none;
    font-weight: 500;
}
.sb-crumb .sb-crumb-link:hover {
    color: var(--lp-ink);
    text-decoration: underline;
}

.sb-searchbox {
    flex: 1;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}
.sb-searchbox input {
    width: 100%;
    border: 1px solid var(--lp-line);
    border-radius: 999px;
    padding: 9px 14px 9px 38px;
    font-size: 13px;
    background: #f8fafc;
    color: var(--lp-muted);
}
.sb-searchbox svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.sb-top-icons {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}
.sb-ico { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: #94a3b8; }
.sb-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #475569;
    font-size: 11px;
    font-weight: 800;
    display: grid;
    place-items: center;
}

.sb-page {
    flex: 1;
    padding: 26px 28px 48px;
    overflow: auto;
}

.sb-panel {
    background: var(--lp-panel);
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    padding: 24px 26px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.sb-h1 { font-size: 26px; font-weight: 800; margin: 0 0 12px; letter-spacing: -0.02em; }
.sb-h2 { font-size: 19px; font-weight: 800; margin: 0 0 10px; }
.sb-h3 { font-size: 16px; font-weight: 800; margin: 28px 0 8px; }
.sb-h3:first-child { margin-top: 0; }
.sb-h4 { font-size: 14px; font-weight: 700; margin: 22px 0 6px; color: #334155; }
.sb-p { margin: 0 0 12px; color: var(--lp-muted); font-size: 15px; line-height: 1.55; max-width: 720px; }
.sb-small { font-size: 12px; color: var(--lp-muted); margin-top: 10px; }

.sb-grid2 {
    display: grid;
    gap: 32px;
    max-width: 1180px;
    margin: 0 auto;
}
@media (min-width: 1024px) {
    .sb-grid2 { grid-template-columns: 1fr 1fr; align-items: start; }
}

.sb-label { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--lp-muted); margin-bottom: 6px; }
.sb-input, .sb-select {
    width: 100%;
    max-width: 400px;
    padding: 11px 14px;
    border: 1px solid var(--lp-line);
    border-radius: 10px;
    font-size: 14px;
    background: #f8fafc;
}
.sb-input:focus, .sb-select:focus {
    outline: 2px solid rgba(11, 163, 96, 0.25);
    border-color: var(--lp);
}
.sb-stack > * + * { margin-top: 16px; }

.sb-endpoint {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
}
.sb-url { font-size: 14px; font-weight: 700; color: var(--lp); word-break: break-all; }
.sb-copy {
    border: none;
    padding: 7px 9px;
    border-radius: 8px;
    background: rgba(11, 163, 96, 0.12);
    color: var(--lp-deep);
    cursor: pointer;
}
.sb-copy:hover { background: rgba(11, 163, 96, 0.22); }
.sb-tip {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--lp);
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s;
}
.sb-tip.on { opacity: 1; }

.sb-ul { margin: 6px 0 0; padding-left: 18px; color: var(--lp-muted); font-size: 14px; }
.sb-ul li { margin-bottom: 4px; }

.sb-pre {
    margin: 8px 0 0;
    padding: 16px 18px;
    background: var(--lp-code-bg);
    border: 1px solid var(--lp-code-border);
    border-radius: 8px;
    color: #f1f5f9;
    font-family: Consolas, Monaco, monospace;
    font-size: 13px;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-x: auto;
}
.sb-k { color: var(--lp-json-k); }
.sb-v { color: var(--lp-json-v); }

.sb-btn-green {
    display: inline-flex;
    padding: 12px 24px;
    background: var(--lp);
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(11, 163, 96, 0.35);
}
.sb-btn-green:hover { background: var(--lp-deep); text-decoration: none; color: #fff !important; }

.sb-note {
    margin-top: 12px;
    padding: 12px 14px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    font-size: 12px;
    color: #92400e;
    line-height: 1.5;
}

.sb-callout {
    margin-bottom: 22px;
    padding: 14px 16px;
    background: rgba(11, 163, 96, 0.08);
    border: 1px solid rgba(11, 163, 96, 0.35);
    border-radius: 10px;
    font-size: 13px;
    color: #14532d;
    line-height: 1.55;
}
.sb-callout strong { color: #0f5132; }
.sb-callout a { color: var(--lp-deep); font-weight: 700; }
.sb-code-inline {
    font-family: Consolas, Monaco, monospace;
    font-size: 11px;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Lab */
.sb-lab-shell { max-width: 1200px; margin: 0 auto; }

.sb-lab-product-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.sb-lab-product-btn {
    flex: 1 1 160px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 2px solid var(--lp-line);
    background: #fff;
    font-size: 12px;
    font-weight: 800;
    color: var(--lp-muted);
    cursor: pointer;
    text-align: left;
    line-height: 1.35;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.sb-lab-product-btn small {
    display: block;
    font-size: 10px;
    font-weight: 600;
    opacity: 0.85;
    margin-top: 2px;
}
.sb-lab-product-btn.is-active[data-lab-product="lipapay"] {
    border-color: #0ba360;
    background: #ecfdf5;
    color: #047857;
}
.sb-lab-product-btn.is-active[data-lab-product="disbursement"] {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
}
.sb-lab-product-btn.is-active[data-lab-product="airtime"] {
    border-color: #7c3aed;
    background: #f5f3ff;
    color: #6d28d9;
}
.sb-lab-product-btn.is-active[data-lab-product="reference"] {
    border-color: #64748b;
    background: #f8fafc;
    color: #334155;
}
.sb-lab-product-pane { display: none; }
.sb-lab-product-pane.is-active { display: block; }
.sb-lab-flow-wrap { display: none; margin-bottom: 4px; }
.sb-lab-flow-wrap.is-active { display: block; }
.sb-lab-pane-intro {
    font-size: 13px;
    color: var(--lp-muted);
    margin: 0 0 12px;
    max-width: none;
}
.sb-lab-curl-section {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lp-muted);
    margin: 24px 0 12px;
    padding-top: 8px;
    border-top: 1px solid var(--lp-line);
}
.sb-lab-curl-section:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.sb-lab-flow {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    padding: 12px 4px 16px;
    margin-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.sb-lab-flow__phase {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 72px;
    opacity: 0.45;
    transition: opacity 0.2s;
}
.sb-lab-flow__phase.is-active { opacity: 1; }
.sb-lab-flow__num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
    display: grid;
    place-items: center;
}
.sb-lab-flow__phase.is-active .sb-lab-flow__num {
    background: var(--lp);
    color: #fff;
}
.sb-lab-flow__label {
    font-size: 10px;
    font-weight: 700;
    color: var(--lp-muted);
    text-align: center;
    line-height: 1.2;
    max-width: 88px;
}
.sb-lab-flow__line {
    flex: 0 0 20px;
    height: 2px;
    background: #e2e8f0;
    margin-bottom: 18px;
}

.sb-lab-tab-groups { margin-bottom: 16px; }
.sb-lab-tab-group + .sb-lab-tab-group { margin-top: 10px; }
.sb-lab-tab-group__label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lp-muted);
    margin-bottom: 6px;
}
.sb-lab-tabs-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}
.sb-tabs.sb-lab-tabs {
    flex-wrap: nowrap;
    min-width: min-content;
    margin-bottom: 0;
}
.sb-tab[data-product="lipapay"].is-active { background: #0ba360; border-color: #0ba360; }
.sb-tab[data-product="disbursement"].is-active { background: #2563eb; border-color: #2563eb; }
.sb-tab[data-product="airtime"].is-active { background: #7c3aed; border-color: #7c3aed; }
.sb-tab[data-product="reference"].is-active { background: #475569; border-color: #475569; }

.sb-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}
.sb-tab {
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid var(--lp-line);
    background: #f8fafc;
    font-size: 13px;
    font-weight: 700;
    color: var(--lp-muted);
    cursor: pointer;
    white-space: nowrap;
}
.sb-tab.is-active {
    background: var(--lp);
    color: #fff;
    border-color: var(--lp);
}
.sb-tabpanel { display: none; animation: sb-lab-fade 0.2s ease; }
.sb-tabpanel.is-active { display: block; }
@keyframes sb-lab-fade {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.sb-lab-tab-head {
    border-left: 4px solid var(--lp);
    padding-left: 16px;
    margin-bottom: 20px;
}
.sb-lab-tab-head.is-lipapay { border-left-color: #0ba360; }
.sb-lab-tab-head.is-disbursement { border-left-color: #2563eb; }
.sb-lab-tab-head.is-airtime { border-left-color: #7c3aed; }
.sb-lab-tab-head.is-reference { border-left-color: #64748b; }
.sb-lab-tab-head__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}
.sb-lab-tab-head__step {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--lp-muted);
}
.sb-lab-tab-head__product {
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
}
.sb-lab-tab-head.is-disbursement .sb-lab-tab-head__product { background: #eff6ff; color: #1d4ed8; }
.sb-lab-tab-head.is-airtime .sb-lab-tab-head__product { background: #f5f3ff; color: #6d28d9; }
.sb-lab-tab-head.is-reference .sb-lab-tab-head__product { background: #f1f5f9; color: #475569; }
.sb-lab-tab-head__title { margin-bottom: 6px; }
.sb-lab-tab-head__endpoint { margin: 0 0 8px; }
.sb-lab-tab-head__flow { margin-bottom: 8px; max-width: none; }
.sb-lab-next-link {
    border: 0;
    background: none;
    padding: 0;
    color: var(--lp);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
}

.sb-lab-form-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
}
@media (min-width: 560px) {
    .sb-lab-form-grid--2 { grid-template-columns: 1fr 1fr; }
    .sb-lab-form-grid--3 { grid-template-columns: 1fr 1fr 1fr; }
}

.sb-lab-grid {
    display: grid;
    gap: 24px;
    margin: 0 auto;
}
@media (min-width: 900px) {
    .sb-lab-grid { grid-template-columns: 1fr 1fr; }
}
.sb-lab-grid--single { grid-template-columns: 1fr; }

.sb-lab-curl-block {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--lp-line);
}
.sb-lab-curl-block:last-child { border-bottom: 0; margin-bottom: 0; }
.sb-lab-curl-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}
.sb-lab-copy-btn {
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--lp-line);
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    color: var(--lp-muted);
}
.sb-lab-copy-btn:hover { border-color: var(--lp); color: var(--lp); }

@media (max-width: 640px) {
    .sb-lab-flow__label { font-size: 9px; max-width: 64px; }
    .sb-tab { padding: 8px 12px; font-size: 12px; }
    .sb-page { padding: 18px 16px 32px; }
}

.sb-terminal {
    background: var(--lp-code-bg);
    border: 1px solid var(--lp-code-border);
    border-radius: var(--lp-radius);
    padding: 18px;
    min-height: 200px;
}
.sb-terminal h3 {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    color: #86efac;
}
.sb-terminal pre {
    margin: 0;
    font-family: Consolas, Monaco, monospace;
    font-size: 12px;
    line-height: 1.5;
    color: #e2e8f0;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 380px;
    overflow: auto;
}

.sb-hidden { display: none !important; }
.sb-idle-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: min(520px, calc(100vw - 32px));
    padding: 12px 18px;
    border-radius: 12px;
    background: #1e293b;
    color: #f8fafc;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.28);
    z-index: 9999;
}
.sb-side-nav__label:first-child { margin-top: 0; }
.sb-side-nav__label { margin-top: 14px; }
.sb-ok { color: var(--lp); font-weight: 700; font-size: 14px; margin-top: 10px; }

@media (max-width: 900px) {
    .sb-burger { display: grid; place-items: center; }
    .sb-searchbox { display: none; }
    .sb-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        transform: translateX(-100%);
        transition: transform 0.22s ease;
        box-shadow: 8px 0 32px rgba(0, 0, 0, 0.2);
    }
    .sb-sidebar.is-open { transform: translateX(0); }
}

/* ——— Sandbox toast (non-blocking notice) ——— */
.sb-toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    max-width: min(380px, calc(100vw - 40px));
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.32s ease, opacity 0.32s ease;
    pointer-events: none;
}
.sb-toast.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.sb-toast__inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 16px 12px;
    border-radius: 12px;
    background: #0f172a;
    color: #e2e8f0;
    border: 1px solid rgba(11, 163, 96, 0.45);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.35);
    position: relative;
    padding-right: 36px;
}
.sb-toast__badge {
    align-self: flex-start;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4ade80;
    background: rgba(11, 163, 96, 0.2);
    padding: 4px 10px;
    border-radius: 999px;
}
.sb-toast__msg {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 500;
    color: #cbd5e1;
}
.sb-toast__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}
.sb-toast__close:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}
.sb-toast--session .sb-toast__inner,
.sb-toast--live .sb-toast__inner {
    border-color: rgba(59, 130, 246, 0.55);
    background: linear-gradient(145deg, #0f172a 0%, #172554 100%);
}
.sb-toast--session .sb-toast__badge--session,
.sb-toast--live .sb-toast__badge--live {
    color: #93c5fd;
    background: rgba(59, 130, 246, 0.22);
    letter-spacing: 0.1em;
}
.sb-app--live-testing .sb-sidebar__titles .sb-sub {
    color: #1d4ed8;
    font-weight: 700;
}
.sb-app--sandbox-mode .sb-sidebar__titles .sb-sub {
    color: #64748b;
    font-weight: 600;
}

/* ——— Portal shell: light sidebar (documentation workspace) ——— */
.sb-app.sb-app--portal .sb-sidebar {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    color: var(--lp-ink);
    border-right: 1px solid var(--lp-line);
}
.sb-app.sb-app--portal .sb-sidebar__brand {
    border-bottom: 1px solid var(--lp-line);
}
.sb-app.sb-app--portal .sb-sidebar__brand a {
    color: var(--lp-ink);
    align-items: center;
}
.sb-app.sb-app--portal .sb-sidebar__logo { display: none; }
.sb-app.sb-app--portal .sb-brand-mark__img {
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}
.sb-app.sb-app--portal .sb-brand-mark__svg { display: block; max-width: 120px; height: auto; }
.sb-app.sb-app--portal .sb-sidebar__titles .sb-name { color: #0f172a; }
.sb-app.sb-app--portal .sb-sidebar__titles .sb-sub { color: var(--lp-muted); opacity: 1; }
.sb-app.sb-app--portal .sb-side-nav__label {
    color: #94a3b8;
}
.sb-app.sb-app--portal .sb-side-nav__link {
    color: #334155;
    border-left-color: transparent;
}
.sb-app.sb-app--portal .sb-side-nav__link:hover {
    background: rgba(11, 163, 96, 0.08);
    color: var(--lp-deep);
}
.sb-app.sb-app--portal .sb-side-nav__link.is-active {
    background: rgba(11, 163, 96, 0.12);
    border-left-color: var(--lp);
    color: var(--lp-deep);
}
.sb-app.sb-app--portal .sb-side-nav__ico { color: var(--lp); opacity: 0.9; }
.sb-app.sb-app--portal .sb-sidebar__foot {
    border-top: 1px solid var(--lp-line);
    color: var(--lp-muted);
    background: rgba(255, 255, 255, 0.5);
}
.sb-app.sb-app--portal .sb-page {
    background: linear-gradient(180deg, #f1f5f9 0%, #eef2ff 55%, #f8fafc 100%);
}

.sb-topbar__date {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    white-space: nowrap;
    padding: 0 4px;
}
.sb-topbar__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}
.sb-topbar__meta .sb-avatar {
    flex-shrink: 0;
}
.sb-topbar__lang {
    font-size: 11px;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid var(--lp-line);
    color: #64748b;
    background: #fff;
}
.sb-topbar__demo {
    font-size: 11px;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--lp-muted);
    font-weight: 600;
}
@media (max-width: 700px) {
    .sb-topbar__demo { display: none; }
}

.sb-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    margin-left: 10px;
    background: #fff;
    color: var(--lp-deep) !important;
    font-weight: 700;
    font-size: 14px;
    border-radius: 10px;
    border: 2px solid var(--lp);
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}
.sb-btn-secondary:hover {
    background: var(--lp-soft);
    text-decoration: none;
}

.sb-ol {
    margin: 0;
    padding-left: 22px;
    color: var(--lp-muted);
    line-height: 1.75;
    font-size: 15px;
}
.sb-ol li { margin-bottom: 18px; }
.sb-ol strong { color: var(--lp-ink); }

.sb-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 14px;
    background: var(--lp-panel);
    border-radius: var(--lp-radius);
    overflow: hidden;
    border: 1px solid var(--lp-line);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}
.sb-table th,
.sb-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--lp-line);
}
.sb-table th {
    background: #f8fafc;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--lp-muted);
}
.sb-table tr:last-child td { border-bottom: none; }

/* ——— Developer landing (/developers) ——— */
.sb-dl {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    color: var(--lp-ink);
    background: #f8fafc;
}
.sb-dl__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 14px 28px;
    background: #fff;
    border-bottom: 1px solid var(--lp-line);
    position: sticky;
    top: 0;
    z-index: 50;
}
.sb-dl__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}
.sb-dl__brand:hover { opacity: 0.9; text-decoration: none; }
.sb-dl__brand-badge {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--lp-soft);
    color: var(--lp-deep);
    border: 1px solid rgba(11, 163, 96, 0.25);
}
.sb-dl__navlinks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    font-size: 14px;
    font-weight: 600;
}
.sb-dl__navlinks a {
    color: #475569;
    text-decoration: none;
}
.sb-dl__navlinks a:hover { color: var(--lp); text-decoration: underline; }
.sb-dl__navform { display: inline; margin: 0; padding: 0; }
.sb-dl__navbtn {
    cursor: pointer;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--lp-line);
    background: #fff;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
}
.sb-dl__navbtn:hover { border-color: var(--lp); color: var(--lp-deep); }
.sb-dl__cta--ghost {
    background: transparent !important;
    border: 1px solid var(--lp-line) !important;
    color: #475569 !important;
    box-shadow: none !important;
}
.sb-dl__cta--ghost:hover {
    border-color: var(--lp) !important;
    color: var(--lp-deep) !important;
}
.sb-dl__cta {
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--lp);
    color: #fff !important;
}
.sb-dl__cta:hover { background: var(--lp-deep); text-decoration: none !important; }

.sb-dl__flash {
    max-width: 1120px;
    margin: 0 auto;
    padding: 12px 24px;
    font-size: 14px;
    line-height: 1.45;
    color: #14532d;
    background: #dcfce7;
    border-bottom: 1px solid #86efac;
}

.sb-dl__hero {
    padding: 48px 24px 64px;
}
.sb-dl__hero-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    gap: 40px;
    align-items: start;
}
@media (min-width: 960px) {
    .sb-dl__hero-inner { grid-template-columns: 1fr 1fr; gap: 48px; }
}
.sb-dl__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #2563eb;
    margin: 0 0 12px;
}
.sb-dl__eyebrow-ico { font-size: 14px; }
.sb-dl__h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 16px;
    line-height: 1.15;
}
.sb-dl__h1 span { color: var(--lp); }
.sb-dl__lead {
    margin: 0 0 28px;
    font-size: 17px;
    line-height: 1.6;
    color: var(--lp-muted);
    max-width: 520px;
}
.sb-dl__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}
.sb-dl__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.sb-dl__btn:hover { transform: translateY(-1px); text-decoration: none; }
.sb-dl__btn--primary {
    background: #e11d48;
    color: #fff !important;
    box-shadow: 0 10px 28px rgba(225, 29, 72, 0.35);
}
.sb-dl__btn--primary:hover { background: #be123c; color: #fff !important; }
.sb-dl__btn--outline {
    background: #fff;
    color: #1e40af !important;
    border-color: #93c5fd;
    box-shadow: 0 4px 14px rgba(30, 64, 175, 0.08);
}
.sb-dl__btn--outline:hover {
    border-color: #3b82f6;
    background: #eff6ff;
    color: #1d4ed8 !important;
}
.sb-dl__ticks {
    margin: 0;
    font-size: 13px;
    color: #94a3b8;
    font-weight: 600;
}

.sb-dl__terminal {
    background: #0f172a;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #1e293b;
    box-shadow: var(--lp-shadow);
}
.sb-dl__term-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #1e293b;
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 700;
}
.sb-dl__term-ok {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    font-size: 11px;
    font-weight: 800;
}
.sb-dl__term-pre {
    margin: 0;
    padding: 16px 18px;
    font-family: Consolas, Monaco, monospace;
    font-size: 11px;
    line-height: 1.55;
    color: #a5f3fc;
    white-space: pre-wrap;
    word-break: break-word;
}
.sb-dl__kw { color: #f472b6; font-weight: 700; }
.sb-dl__term-resp {
    padding: 0 16px 16px;
}
.sb-dl__term-resp-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.sb-dl__term-json {
    margin: 0;
    padding: 14px 16px;
    background: #0c4a6e;
    border-radius: 10px;
    font-family: Consolas, Monaco, monospace;
    font-size: 12px;
    line-height: 1.45;
    color: #e0f2fe;
    white-space: pre-wrap;
    word-break: break-word;
    border: 1px solid #0e7490;
}

.sb-dl-products {
    padding: 0 24px 64px;
}
.sb-dl-products__inner {
    max-width: 1120px;
    margin: 0 auto;
}
.sb-dl-products__head {
    margin-bottom: 18px;
}
.sb-dl-products__head .sb-h2 {
    margin: 0 0 6px;
}
.sb-dl-products__head .sb-p {
    margin: 0;
}
.sb-dl-products__grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 900px) {
    .sb-dl-products__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.sb-dl-product-card {
    border: 1px solid var(--lp-line);
    border-radius: 14px;
    background: #fff;
    padding: 16px;
    box-shadow: 0 3px 14px rgba(15, 23, 42, 0.05);
}
.sb-dl-product-card__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #eff6ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    margin-bottom: 10px;
}
.sb-dl-product-card h3 {
    margin: 0 0 8px;
    font-size: 22px;
    letter-spacing: -0.01em;
}
.sb-dl-product-card p {
    margin: 0 0 14px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.55;
}
.sb-dl-product-card__actions {
    display: grid;
    gap: 8px;
}
.sb-dl-product-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
}
.sb-dl-product-card__btn:hover {
    text-decoration: none;
}
.sb-dl-product-card__btn--ghost {
    background: #f8fafc;
    color: #334155;
    border-color: #e2e8f0;
}
.sb-dl-product-card__btn--ghost:hover {
    background: #eef2ff;
    color: #1e3a8a;
}
.sb-dl-product-card__btn--primary {
    background: #ef4444;
    color: #fff;
}
.sb-dl-product-card__btn--primary:hover {
    background: #dc2626;
    color: #fff;
}
.sb-dl-product-card--coming {
    border-color: #93c5fd;
}
.sb-dl-product-card__badge {
    display: inline-flex;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #dbeafe;
    color: #1d4ed8;
    border-radius: 999px;
    padding: 3px 8px;
    margin-bottom: 8px;
}

/* ——— API documentation layout ——— */
.sb-muted { color: var(--lp-muted); }
.sb-doc-page { max-width: 1100px; margin: 0 auto; padding: 0 8px 48px; }
.sb-doc-hero {
    padding: 18px 18px 16px;
    border-radius: 14px;
    border: 1px solid rgba(11, 163, 96, 0.25);
    background: linear-gradient(145deg, #ffffff 0%, #f2fbf6 58%, #eef8ff 100%);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    margin-bottom: 16px;
}
.sb-doc-hero .sb-h1 { margin: 0 0 8px; }
.sb-doc-hero .sb-p { margin: 0; }
.sb-contract-chips {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.sb-contract-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #fff;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
}
.sb-doc-block {
    margin-top: 18px;
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: 12px;
    padding: 14px;
}
.sb-doc-block .sb-h2,
.sb-doc-block .sb-h3 {
    margin-top: 0;
}
.sb-doc-timeline {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}
.sb-doc-timeline li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    align-items: start;
    border: 1px solid var(--lp-line);
    border-radius: 10px;
    background: #fff;
    padding: 10px 12px;
}
.sb-doc-timeline li::before {
    counter-increment: sb-doc-step;
    content: counter(sb-doc-step);
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(11, 163, 96, 0.14);
    color: #0f766e;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.sb-doc-timeline { counter-reset: sb-doc-step; }
.sb-doc-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 32px 40px;
    align-items: start;
}
@media (max-width: 960px) {
    .sb-doc-layout { grid-template-columns: 1fr; }
}
.sb-doc-aside__block { margin-top: 24px; }
.sb-doc-aside__block--muted {
    margin-top: 28px;
    padding: 16px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid var(--lp-line);
}
.sb-doc-aside__actions { margin-top: 4px; }
.sb-doc-main__title {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
}
.sb-doc-main__intro {
    text-align: center;
    font-size: 13px;
    color: var(--lp-muted);
    margin: 0 auto 20px;
    max-width: 640px;
    line-height: 1.5;
}
.sb-doc-table-wrap { overflow-x: auto; margin-bottom: 28px; }
.sb-doc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--lp-line);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}
.sb-doc-table th,
.sb-doc-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}
.sb-doc-table th {
    background: #f8fafc;
    font-weight: 700;
    color: #475569;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.sb-doc-table tr:last-child td { border-bottom: none; }
.sb-doc-section {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--lp-line);
}
.sb-doc-section:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.sb-doc-footer {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.sb-doc-banner {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.45;
}
.sb-callout--ok {
    background: #ecfdf5;
    border-color: #6ee7b7;
    color: #065f46;
}
.sb-callout--warn {
    background: #fffbeb;
    border-color: #fcd34d;
    color: #92400e;
}

.sb-doc-banner--ok {
    background: rgba(11, 163, 96, 0.12);
    border: 1px solid rgba(11, 163, 96, 0.35);
    color: #14532d;
}

/* ——— Portal topbar auth ——— */
.sb-topbar__logout { display: inline; margin: 0; padding: 0; }
.sb-topbar__logout-btn {
    margin-left: 8px;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--lp-line);
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
}
.sb-topbar__logout-btn:hover {
    border-color: var(--lp);
    color: var(--lp-deep);
}
.sb-topbar__pill-link {
    margin-left: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--lp);
    text-decoration: none;
}
.sb-topbar__pill-link:hover { text-decoration: underline; }
.sb-sidebar__foot-sep { margin: 0 6px; opacity: 0.5; }

/* ——— Guest auth pages ——— */
.sb-nav__brand .sb-brand-mark__img,
.sb-nav__brand .sb-brand-mark__svg {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: contain;
    background: #fff;
    padding: 4px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.sb-nav__brand .sb-brand-mark__svg { padding: 6px; }
.sb-nav__brand-text { font-weight: 800; font-size: 18px; color: #fff; }
.sb-nav__form { display: inline; margin: 0; padding: 0; }
.sb-nav__btn {
    cursor: pointer;
    font: inherit;
    background: transparent;
    border: none;
    color: inherit;
}
.sb-auth-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px 48px;
}
.sb-auth-card {
    width: 100%;
    max-width: 440px;
    padding: 28px 28px 24px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.sb-auth-card__h1 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}
.sb-auth-card__lead {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(226, 232, 240, 0.88);
}
.sb-auth-alert {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(248, 113, 113, 0.4);
    color: #fecaca;
    font-size: 13px;
}
.sb-auth-success {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(11, 163, 96, 0.15);
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: #bbf7d0;
    font-size: 13px;
}
.sb-auth-foot {
    margin-top: 18px;
    font-size: 13px;
    color: rgba(148, 163, 184, 0.95);
}
.sb-auth-foot a { color: #86efac; font-weight: 600; }
.sb-auth-submit { width: 100%; margin-top: 4px; }
.sb-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #cbd5e1;
    cursor: pointer;
}

/* ——— Redesign: product docs components ——— */
.sb-doc-card-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.sb-doc-card {
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
.sb-doc-card__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.sb-doc-card__path {
    font-size: 12px;
    color: #334155;
    background: #f8fafc;
    border: 1px solid var(--lp-line);
    border-radius: 6px;
    padding: 2px 7px;
}
.sb-doc-card__title {
    margin: 0 0 8px;
    font-size: 15px;
    color: #0f172a;
}
.sb-doc-card__meta,
.sb-doc-card__desc {
    margin: 0 0 6px;
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
}
.sb-method {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.sb-method--post { background: #dcfce7; color: #166534; }
.sb-method--get { background: #dbeafe; color: #1d4ed8; }
.sb-method--put,
.sb-method--patch { background: #fef3c7; color: #92400e; }
.sb-method--delete { background: #fee2e2; color: #991b1b; }

.sb-flow-stepper {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}
.sb-flow-stepper__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--lp-line);
    background: #fff;
}
.sb-flow-stepper__num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--lp);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sb-flow-stepper__text {
    color: #334155;
    font-size: 14px;
    line-height: 1.45;
}

.sb-section-title {
    margin-top: 24px;
}
.sb-section-gap {
    margin-top: 24px;
}
.sb-section-block {
    margin-bottom: 24px;
}
.sb-source-parity {
    margin-top: 10px;
}
.sb-doc-actions {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.sb-section-title-sm {
    margin-top: 20px;
}
.sb-section-title-xs {
    margin-top: 18px;
}
.sb-heading-reset {
    margin-top: 0;
}
.sb-text-tight {
    margin-bottom: 8px;
}

.sb-try-panel {
    margin-top: 24px;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(11, 163, 96, 0.28);
    background: #ecfdf3;
}
.sb-sample-tabs {
    margin-top: 22px;
    border: 1px solid var(--lp-line);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.sb-sample-tabs__head {
    display: flex;
    border-bottom: 1px solid var(--lp-line);
    background: #f8fafc;
}
.sb-sample-tabs__tab {
    border: 0;
    background: transparent;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
}
.sb-sample-tabs__tab.is-active {
    color: #0f172a;
    box-shadow: inset 0 -2px 0 var(--lp);
}
.sb-sample-tabs__panel {
    margin: 0;
    border: 0;
    border-radius: 0;
    display: none;
}
.sb-sample-tabs__panel.is-active {
    display: block;
}

.sb-dashboard {
    max-width: 1100px;
    margin: 0 auto;
}
.sb-dashboard__header {
    margin-bottom: 20px;
}
.sb-dashboard__section {
    margin-top: 22px;
}
.sb-dashboard__section-head {
    margin-bottom: 12px;
}
.sb-dashboard__section-head .sb-p {
    margin-bottom: 0;
}
.sb-product-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 960px) {
    .sb-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.sb-product-card {
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}
.sb-product-card--core {
    border-color: rgba(11, 163, 96, 0.36);
    box-shadow: 0 12px 24px rgba(11, 163, 96, 0.12);
}
.sb-product-card__badge {
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 999px;
    padding: 4px 9px;
    color: #065f46;
    background: #dcfce7;
    border: 1px solid #86efac;
}
.sb-product-card h3 {
    margin: 10px 0 8px;
    font-size: 20px;
}
.sb-product-card p {
    margin: 0 0 14px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.55;
}
.sb-product-card__actions {
    display: grid;
    gap: 8px;
}
.sb-product-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--lp);
    color: #fff !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}
.sb-product-card__link:hover {
    background: var(--lp-deep);
    text-decoration: none;
}
.sb-product-card__link--muted {
    background: #f8fafc;
    color: #334155 !important;
    border: 1px solid var(--lp-line);
}
.sb-product-card__link--muted:hover {
    background: #eef2f7;
}

.sb-docs-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
@media (max-width: 980px) {
    .sb-docs-shell {
        grid-template-columns: 1fr;
    }
}
.sb-docs-shell__left {
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: 12px;
    padding: 14px;
    height: fit-content;
}
.sb-docs-shell__main {
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: 12px;
    padding: 20px;
}
.sb-docs-nav {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
}
.sb-docs-nav li {
    padding: 8px 10px;
    border-radius: 8px;
    color: #475569;
    font-size: 14px;
}
.sb-docs-nav li.is-active,
.sb-docs-nav li a.is-active {
    background: #eef2ff;
    color: #1d4ed8;
    font-weight: 700;
}
.sb-docs-nav--anchors a {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    color: #475569;
    text-decoration: none;
    font-size: 14px;
}
.sb-docs-nav--anchors a:hover {
    background: #f1f5f9;
    color: #1d4ed8;
}
.sb-docs-nav--anchors li.is-active a,
.sb-docs-nav--anchors a.is-active {
    background: #eef2ff;
    color: #1d4ed8;
    font-weight: 700;
}

.sb-kyc-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 20px;
}
@media (max-width: 980px) {
    .sb-kyc-grid {
        grid-template-columns: 1fr;
    }
}
.sb-kyc-docs {
    background: #1e3a8a;
    color: #fff;
}
.sb-kyc-docs .sb-h2 {
    color: #fff;
}
.sb-kyc-docs__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sb-kyc-docs__list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 13px;
}
.sb-kyc-docs__list li:last-child {
    border-bottom: 0;
}

/* ——— Public marketing landing (/ ) ——— */
.sb-lp-home {
    position: relative;
    min-height: 100vh;
    background:
        radial-gradient(60% 45% at 8% 0%, rgba(11, 163, 96, 0.16), transparent 60%),
        radial-gradient(48% 38% at 92% 10%, rgba(14, 116, 144, 0.1), transparent 60%),
        linear-gradient(180deg, #f4f8f8 0%, #eef6f4 52%, #f8fafc 100%);
    color: #0f172a;
}
.sb-lp-home::before {
    content: "";
    position: absolute;
    right: 0;
    top: 70px;
    width: 360px;
    height: 360px;
    border-radius: 72px 0 0 72px;
    background: linear-gradient(140deg, rgba(11, 163, 96, 0.08), rgba(14, 116, 144, 0.08));
    filter: blur(2px);
    pointer-events: none;
}
.sb-lp-nav {
    position: sticky;
    top: 0;
    z-index: 60;
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
    background: rgba(248, 252, 250, 0.82);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 0 0 16px 16px;
}
.sb-lp-nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0f172a;
    font-weight: 800;
    text-decoration: none;
}
.sb-lp-nav__brand:hover { text-decoration: none; }
.sb-lp-nav__logo {
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.1);
}
.sb-lp-nav__dot {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--lp-bright), var(--lp));
}
.sb-lp-nav__links {
    display: flex;
    align-items: center;
    gap: 10px;
}
.sb-lp-nav__links a {
    color: #1f2937;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
}
.sb-lp-nav__links a:hover {
    color: var(--lp-deep);
    text-decoration: none;
    background: rgba(11, 163, 96, 0.08);
    border-color: rgba(11, 163, 96, 0.18);
}
.sb-lp-nav__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.sb-lp-nav__signin {
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.sb-lp-nav__cta {
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--lp), var(--lp-deep));
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(11, 163, 96, 0.24);
}
.sb-lp-nav__cta:hover { background: var(--lp-deep); text-decoration: none; }

.sb-lp-hero {
    max-width: 980px;
    margin: 22px auto 0;
    padding: 38px 24px 38px;
    text-align: center;
}
.sb-lp-hero__badge {
    display: inline-flex;
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
    color: #166534;
    background: linear-gradient(90deg, #dcfce7, #ecfeff);
    border: 1px solid rgba(11, 163, 96, 0.28);
}
.sb-lp-hero h1 {
    margin: 16px 0 14px;
    font-size: clamp(2rem, 5vw, 3.45rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
}
.sb-lp-hero h1 span {
    color: #0f766e;
    position: relative;
}
.sb-lp-hero p {
    margin: 0 auto;
    max-width: 740px;
    color: #4b5563;
    font-size: 17px;
    line-height: 1.68;
}
.sb-lp-hero__actions {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.sb-lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
}
.sb-lp-btn--primary {
    background: linear-gradient(120deg, #0ba360, #067d4a);
    color: #fff !important;
    box-shadow: 0 10px 26px rgba(11, 163, 96, 0.3);
}
.sb-lp-btn--primary:hover { background: var(--lp-deep); text-decoration: none; }
.sb-lp-btn--ghost {
    background: #f8fffc;
    color: #0f766e !important;
    border: 1px solid rgba(15, 118, 110, 0.3);
}
.sb-lp-btn--ghost:hover { background: var(--lp-soft); text-decoration: none; }

.sb-lp-metrics {
    max-width: 1180px;
    margin: 0 auto;
    padding: 16px 24px 18px;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 900px) {
    .sb-lp-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.sb-lp-metrics article {
    background: linear-gradient(180deg, #ffffff, #f9fffb);
    border: 1px solid rgba(11, 163, 96, 0.2);
    border-radius: 16px;
    padding: 16px 17px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.sb-lp-metrics h3 {
    margin: 0 0 5px;
    font-size: 21px;
    color: var(--lp);
}
.sb-lp-metrics p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}

.sb-lp-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px 24px;
}
.sb-lp-section--alt {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(244, 252, 249, 0.9));
    border: 1px solid rgba(11, 163, 96, 0.22);
    border-radius: 20px;
}
.sb-lp-section__head h2 {
    margin: 0;
    font-size: 30px;
    letter-spacing: -0.02em;
}
.sb-lp-section__head p {
    margin: 10px 0 0;
    color: #4b5563;
    max-width: 760px;
}

.sb-lp-cards {
    margin-top: 22px;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 900px) {
    .sb-lp-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.sb-lp-card {
    background: #fff;
    border: 1px solid rgba(11, 163, 96, 0.17);
    border-radius: 18px;
    padding: 20px 18px;
    position: relative;
    overflow: hidden;
}
.sb-lp-card::after {
    content: "";
    position: absolute;
    right: -24px;
    top: -24px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: rgba(11, 163, 96, 0.08);
}
.sb-lp-card--primary {
    border-color: rgba(11, 163, 96, 0.35);
    box-shadow: 0 14px 30px rgba(11, 163, 96, 0.16);
}
.sb-lp-card__tag {
    font-size: 11px;
    font-weight: 800;
    color: var(--lp-deep);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.sb-lp-card h3 {
    margin: 8px 0 8px;
    font-size: 22px;
    position: relative;
    z-index: 1;
}
.sb-lp-card p {
    margin: 0 0 12px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.55;
    position: relative;
    z-index: 1;
}
.sb-lp-card a {
    color: var(--lp-deep);
    font-weight: 700;
    text-decoration: none;
    position: relative;
    z-index: 1;
}
.sb-lp-card a:hover { text-decoration: underline; }

.sb-lp-about {
    margin-top: 20px;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 900px) {
    .sb-lp-about { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.sb-lp-about div {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-left: 4px solid rgba(11, 163, 96, 0.6);
    border-radius: 12px;
    padding: 16px 16px 16px 14px;
}
.sb-lp-about h4 {
    margin: 0 0 8px;
    font-size: 16px;
}
.sb-lp-about p {
    margin: 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.55;
}

.sb-lp-start {
    text-align: center;
    background: linear-gradient(135deg, #0a1f25 0%, #0f3a45 48%, #0c2230 100%);
    color: #fff;
    border-radius: 22px;
    padding: 36px 24px;
    border: 1px solid rgba(45, 212, 191, 0.32);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.24);
}
.sb-lp-start h2 { margin: 0; font-size: 30px; }
.sb-lp-start p {
    margin: 10px auto 18px;
    max-width: 680px;
    color: #cbd5e1;
    line-height: 1.6;
}

.sb-lp-footer {
    max-width: 1180px;
    margin: 10px auto 0;
    padding: 20px 24px 36px;
    text-align: center;
    font-size: 12px;
    color: #64748b;
}

@media (max-width: 980px) {
    .sb-lp-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    .sb-lp-nav__links {
        order: 3;
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* ——— New system-flow landing (/ ) ——— */
.sb-system-home {
    min-height: 100vh;
    color: #0f172a;
    background:
        radial-gradient(62% 54% at 6% 0%, rgba(14, 116, 144, 0.12), transparent 62%),
        radial-gradient(44% 38% at 94% 8%, rgba(11, 163, 96, 0.13), transparent 60%),
        linear-gradient(180deg, #f7fafc 0%, #eef6f4 55%, #f8fafc 100%);
}
.sb-system-nav {
    position: sticky;
    top: 0;
    z-index: 70;
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    backdrop-filter: blur(7px);
    background: rgba(249, 252, 251, 0.85);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-top: 0;
    border-radius: 0 0 16px 16px;
}
.sb-system-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #0f172a;
    font-weight: 800;
}
.sb-system-brand:hover { text-decoration: none; }
.sb-system-brand__logo {
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.1);
}
.sb-system-brand__dot {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--lp-bright), var(--lp));
}
.sb-system-nav__links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.sb-system-nav__links a {
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    padding: 8px 12px;
    border-radius: 999px;
}
.sb-system-nav__links a:hover {
    text-decoration: none;
    color: #0f766e;
    background: rgba(11, 163, 96, 0.1);
}
.sb-system-nav__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.sb-system-nav__link {
    text-decoration: none;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}
.sb-system-nav__cta {
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--lp), var(--lp-deep));
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(11, 163, 96, 0.24);
}
.sb-system-nav__cta:hover { text-decoration: none; background: var(--lp-deep); }

.sb-system-hero {
    max-width: 1180px;
    margin: 0 auto;
    padding: 38px 22px 18px;
    display: grid;
    gap: 18px;
}
@media (min-width: 980px) {
    .sb-system-hero {
        grid-template-columns: 1.05fr 0.95fr;
        align-items: stretch;
    }
}
.sb-system-hero__copy,
.sb-system-hero__flow {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}
.sb-system-kicker {
    display: inline-flex;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #166534;
    background: linear-gradient(90deg, #dcfce7, #ecfeff);
    border: 1px solid rgba(11, 163, 96, 0.26);
}
.sb-system-hero__copy h1 {
    margin: 14px 0 12px;
    font-size: clamp(1.95rem, 5vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
}
.sb-system-hero__copy p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
    font-size: 16px;
    max-width: 630px;
}
.sb-system-hero__actions {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.sb-system-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 999px;
    padding: 11px 18px;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid transparent;
}
.sb-system-btn--primary {
    background: linear-gradient(120deg, #0ba360, #067d4a);
    color: #fff !important;
    box-shadow: 0 10px 26px rgba(11, 163, 96, 0.28);
}
.sb-system-btn--primary:hover { text-decoration: none; background: var(--lp-deep); }
.sb-system-btn--ghost {
    background: #f8fffc;
    color: #0f766e !important;
    border-color: rgba(15, 118, 110, 0.3);
}
.sb-system-btn--ghost:hover { text-decoration: none; background: var(--lp-soft); }

.sb-system-hero__flow h3 {
    margin: 0 0 12px;
    font-size: 22px;
}
.sb-system-flowlist {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}
.sb-system-flowlist li {
    display: grid;
    grid-template-columns: 30px 1fr;
    align-items: start;
    gap: 10px;
    padding: 12px 13px;
    border-radius: 12px;
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    border: 1px solid rgba(148, 163, 184, 0.26);
}
.sb-system-flowlist span {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(11, 163, 96, 0.12);
    color: #0f766e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
}
.sb-system-flowlist strong {
    display: block;
    font-size: 14px;
    color: #0f172a;
}
.sb-system-flowlist p {
    margin: 2px 0 0;
    font-size: 13px;
    color: #475569;
}

.sb-system-band {
    max-width: 1180px;
    margin: 0 auto;
    padding: 8px 22px 0;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 12px;
}
@media (min-width: 760px) {
    .sb-system-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
    .sb-system-band { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.sb-system-band article {
    background: #fff;
    border: 1px solid rgba(11, 163, 96, 0.2);
    border-radius: 14px;
    padding: 14px;
}
.sb-system-band h4 {
    margin: 0 0 4px;
    font-size: 15px;
    color: #0f766e;
}
.sb-system-band p {
    margin: 0;
    font-size: 13px;
    color: #475569;
}

.sb-system-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px 22px;
}
.sb-system-section--alt {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(243, 251, 247, 0.94));
    border: 1px solid rgba(11, 163, 96, 0.2);
    border-radius: 20px;
}
.sb-system-section__head h2 {
    margin: 0;
    font-size: 30px;
    letter-spacing: -0.02em;
}
.sb-system-section__head p {
    margin: 10px 0 0;
    max-width: 760px;
    color: #475569;
}

.sb-system-grid {
    margin-top: 20px;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 980px) {
    .sb-system-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.sb-system-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.09);
    padding: 18px;
}
.sb-system-card--core {
    border-color: rgba(11, 163, 96, 0.32);
    box-shadow: 0 10px 24px rgba(11, 163, 96, 0.14);
}
.sb-system-card__tag {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0f766e;
}
.sb-system-card h3 {
    margin: 8px 0;
    font-size: 22px;
}
.sb-system-card p {
    margin: 0 0 12px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.55;
}
.sb-system-card a {
    color: var(--lp-deep);
    text-decoration: none;
    font-weight: 700;
}
.sb-system-card a:hover { text-decoration: underline; }

.sb-system-rules {
    margin-top: 18px;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 980px) {
    .sb-system-rules { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.sb-system-rules article {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-left: 4px solid rgba(11, 163, 96, 0.64);
    border-radius: 14px;
    padding: 16px 14px;
}
.sb-system-rules h4 {
    margin: 0 0 8px;
    font-size: 16px;
}
.sb-system-rules p {
    margin: 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
}

.sb-system-launch {
    text-align: center;
    background: linear-gradient(135deg, #08232c 0%, #0f3a45 48%, #0c2533 100%);
    color: #fff;
    border-radius: 22px;
    border: 1px solid rgba(45, 212, 191, 0.34);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.24);
    padding: 34px 20px;
}
.sb-system-launch h2 {
    margin: 0;
    font-size: clamp(1.7rem, 4vw, 2.15rem);
}
.sb-system-launch p {
    margin: 10px auto 18px;
    max-width: 700px;
    color: #cbd5e1;
}
.sb-system-launch__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.sb-system-footer {
    max-width: 1180px;
    margin: 4px auto 0;
    padding: 22px 22px 38px;
    text-align: center;
    color: #64748b;
    font-size: 12px;
}

@media (max-width: 980px) {
    .sb-system-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    .sb-system-nav__links {
        order: 3;
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
    }
}

/* ——— Status & callback operating model ——— */
.sb-recon { margin-bottom: 32px; }
.sb-recon-eyebrow { text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; color: #64748b; margin: 0 0 6px; }
.sb-recon-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}
.sb-recon-lead { max-width: 720px; margin: 0; }
.sb-recon-legend { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sb-recon-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.sb-recon-badge--sm { font-size: 11px; padding: 2px 8px; }
.sb-recon-badge--pull { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.sb-recon-badge--push { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.sb-recon-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 28px;
    padding: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f0fdf4 100%);
    border: 1px solid var(--lp-line);
    border-radius: 12px;
}
.sb-recon-flow__step {
    flex: 1 1 140px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: 10px;
    padding: 12px;
    min-width: 0;
}
.sb-recon-flow__num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #0ba360;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sb-recon-flow__title { margin: 0 0 4px; font-size: 14px; font-weight: 700; color: #0f172a; }
.sb-recon-flow__desc { margin: 0; font-size: 12px; color: #64748b; line-height: 1.45; }
.sb-recon-flow__arrow {
    align-self: center;
    color: #94a3b8;
    font-size: 18px;
    font-weight: 700;
    padding: 0 2px;
}
@media (max-width: 900px) {
    .sb-recon-flow__arrow { display: none; }
}
.sb-recon-table-wrap { overflow-x: auto; margin-bottom: 8px; }
.sb-recon-table .sb-code-inline { font-size: 11px; }
.sb-recon-table__initiate { font-size: 12px; color: #475569; max-width: 200px; }
.sb-recon-table__note { margin: 6px 0 0; font-size: 11px; color: #64748b; line-height: 1.4; }
.sb-recon-muted { font-size: 12px; color: #94a3b8; font-style: italic; }
.sb-recon-payload-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
@media (max-width: 900px) {
    .sb-recon-payload-grid { grid-template-columns: 1fr; }
}
.sb-recon-payload-card {
    border: 1px solid var(--lp-line);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.sb-recon-payload-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #f8fafc;
    border-bottom: 1px solid var(--lp-line);
}
.sb-pre--compact { margin: 0; border-radius: 0; border: none; font-size: 11px; max-height: 220px; overflow: auto; }
.sb-recon-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}
.sb-recon-checklist li {
    position: relative;
    padding: 12px 12px 12px 36px;
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: 10px;
    font-size: 14px;
    color: #334155;
    line-height: 1.5;
}
.sb-recon-checklist li::before {
    content: "✓";
    position: absolute;
    left: 12px;
    top: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sb-recon-lab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}
.sb-recon-lab-grid .sb-panel--span2,
.sb-recon-lab-grid .sb-terminal--span2 { grid-column: 1 / -1; }
@media (max-width: 900px) {
    .sb-recon-lab-grid { grid-template-columns: 1fr; }
}
