@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600;700&display=swap');

        :root {
            /* ===== Real FyscalTech brand tokens (from the site's own design system) =====
     Electric blue is the light-mode brand primary; magenta is reserved for
     dark-mode accents/chips only — never a large button fill, per the
     system's own rule, honored here. */
            --primary: #352eff;
            /* electric blue — brand, primary actions */
            --pink: #ff00ff;
            /* magenta — accents, chips, badges only */
            --secondary: #0053ff;
            /* royal blue — gradients */
            --tertiary-1: #7c9dff;
            /* periwinkle — hover/soft accents */
            --tertiary-2: #030192;
            /* deep indigo — pressed/hover state */
            --primary-soft: #352eff1a;
            /* 10% blue tint */
            --pink-soft: #ff00ff1a;

            --fg: #171717;
            /* ink — never pure black */
            --fg-muted: #7f7f7f;
            --fg-placeholder: #b2b2b2;
            --bg: #ffffff;
            --bg-secondary: #e5e5e5;
            --bg-tertiary: #e6edff;
            --border: #efefef;
            --border-strong: #171717;

            --success: #629c28;
            --danger: #ff0000;
            --warning: #ff8400;

            /* All rectangular surfaces are 0 — buttons, inputs, cards. Only chips/
     badges/avatars stay fully round. This is the brand's own rule. */
            --radius: 0;
            --radius-full: 9999px;

            --shadow-sm: 0px 2px 4px 0px rgba(16, 16, 19, 0.04), 0px 16px 32px -4px rgba(16, 16, 19, 0.10);
            --shadow-md: 0px 2px 4px 0px rgba(16, 16, 19, 0.04), 0px 24px 48px -8px rgba(16, 16, 19, 0.12);
            --shadow-lg: 0px 2px 4px 0px rgba(16, 16, 19, 0.04), 0px 40px 80px -16px rgba(16, 16, 19, 0.16);
            --shadow-brand: 0 8px 32px rgba(53, 46, 255, 0.35);

            --gradient-brand: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);

            /* FT Sans (the real brand face) is self-hosted behind opaque asset URLs
     not available to this build — Inter is the closest open substitute at
     the same weight range. JetBrains Mono is the real, actual brand mono
     face (data, tokens, currency) and is used as-is. */
            --font-body: 'Inter', sans-serif;
            --font-mono: 'JetBrains Mono', ui-monospace, monospace;
        }

        * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            background: var(--bg);
            color: var(--fg);
            font-family: 'Inter', system-ui, sans-serif;
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }

        h1,
        h2,
        h3,
        h4 {
            font-family: var(--font-body);
            font-weight: 600;
            letter-spacing: -.02em;
            margin: 0;
        }

        .mono {
            font-family: var(--font-mono);
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        img,
        svg {
            display: block;
            max-width: 100%;
        }

        ::selection {
            background: var(--tertiary-1);
            color: #fff;
        }

        .skip-link {
            position: absolute;
            left: 12px;
            top: -60px;
            z-index: 999;
            background: var(--primary);
            color: #fff;
            padding: 10px 18px;
            border-radius: var(--radius);
            font-weight: 600;
            transition: top .15s ease;
        }

        .skip-link:focus {
            top: 12px;
        }

        @media (prefers-reduced-motion: reduce) {
            * {
                animation-duration: 0.001ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.001ms !important;
                scroll-behavior: auto !important;
            }
        }

        /* ============ NAV ============ */
        .nav {
            position: sticky;
            top: 0;
            z-index: 200;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 48px;
            background: rgba(247, 247, 251, 0.82);
            backdrop-filter: blur(14px);
            border-bottom: 1px solid var(--border);
        }

        .nav-brand {
            display: flex;
            align-items: center;
            gap: 10px;
            font-family: var(--font-body);
            font-weight: 700;
            font-size: 18px;
        }

        .nav-brand .dot {
            width: 9px;
            height: 9px;
            border-radius: 50%;
            background: var(--primary);
            box-shadow: 0 0 0 4px rgba(53, 46, 255, 0.16);
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 30px;
            font-size: 14.5px;
            font-weight: 600;
            color: var(--fg-muted);
        }

        .nav-links a:hover {
            color: var(--primary);
        }

        .nav-actions {
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .nav-search {
            display: flex;
            align-items: center;
            gap: 8px;
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 9px 16px;
            font-size: 13.5px;
            color: var(--fg-muted);
            cursor: pointer;
        }

        .nav-search kbd {
            font-family: var(--font-mono);
            font-size: 11px;
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 2px 6px;
            color: var(--fg-muted);
        }

        .menu-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 22px;
            cursor: pointer;
            color: var(--fg);
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-weight: 600;
            font-size: 14.5px;
            padding: 13px 24px;
            border-radius: var(--radius);
            border: 1.5px solid transparent;
            cursor: pointer;
            transition: background .15s ease, border-color .15s ease;
            font-family: 'Inter', sans-serif;
        }

        .btn-primary {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
            box-shadow: var(--shadow-brand);
        }

        .btn-primary:hover {
            background: var(--tertiary-2);
            border-color: var(--tertiary-2);
        }

        .btn-ghost {
            background: rgba(255, 255, 255, 0.5);
            color: var(--fg);
            border: 1.5px solid rgba(10, 16, 40, 0.18);
        }

        .btn-ghost:hover {
            background: #fff;
        }

        /* ============ HERO ============ */
        .hero {
            position: relative;
            overflow: hidden;
            padding: 88px 48px 60px;
            display: grid;
            grid-template-columns: 1.05fr 0.95fr;
            gap: 40px;
            align-items: center;
        }

        .hero::before {
            content: "";
            position: absolute;
            top: -30%;
            right: -10%;
            width: 70%;
            height: 160%;
            background: radial-gradient(circle, rgba(53, 46, 255, 0.14), transparent 65%);
            z-index: 0;
            pointer-events: none;
        }

        .hero::after {
            content: "";
            position: absolute;
            inset: 0;
            background-image:
                linear-gradient(rgba(53, 46, 255, 0.06) 1px, transparent 1px),
                linear-gradient(90deg, rgba(53, 46, 255, 0.06) 1px, transparent 1px);
            background-size: 44px 44px;
            -webkit-mask-image: radial-gradient(ellipse 65% 60% at 74% 42%, black 35%, transparent 78%);
            mask-image: radial-gradient(ellipse 65% 60% at 74% 42%, black 35%, transparent 78%);
            z-index: 0;
            pointer-events: none;
        }

        .hero-content {
            position: relative;
            z-index: 1;
        }

        .hero-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-family: var(--font-mono);
            font-size: 12.5px;
            font-weight: 600;
            letter-spacing: .05em;
            text-transform: uppercase;
            color: var(--primary);
            background: rgba(53, 46, 255, 0.08);
            padding: 7px 14px;
            border-radius: 999px;
            margin-bottom: 22px;
        }

        .hero-eyebrow .live-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--success);
            animation: pulseDot 2s ease-in-out infinite;
        }

        @keyframes pulseDot {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: .3;
            }
        }

        .hero h1 {
            font-size: clamp(38px, 4.6vw, 58px);
            line-height: 1.06;
            margin-bottom: 20px;
        }

        .hero h1 .accent {
            background: linear-gradient(120deg, var(--primary), var(--tertiary-1));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .hero-lead {
            font-size: 17.5px;
            color: var(--fg-muted);
            max-width: 520px;
            margin-bottom: 32px;
        }

        .hero-cta-row {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 36px;
            flex-wrap: wrap;
        }

        .hero-search {
            display: flex;
            align-items: center;
            gap: 10px;
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 14px 20px;
            max-width: 440px;
            box-shadow: var(--shadow-sm);
        }

        .hero-search input {
            border: none;
            outline: none;
            font-size: 14.5px;
            font-family: 'Inter', sans-serif;
            flex: 1;
            background: transparent;
        }

        .hero-stats {
            display: flex;
            flex-wrap: wrap;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            overflow: hidden;
            background: rgba(53, 46, 255, 0.015);
        }

        .hero-stat {
            flex: 1;
            min-width: 128px;
            padding: 14px 20px;
            border-right: 1px solid var(--border);
            position: relative;
        }

        .hero-stat:last-child {
            border-right: none;
        }

        .hero-stat::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--primary), var(--tertiary-1));
            transform: scaleX(0);
            transform-origin: left;
            transition: transform .25s ease;
        }

        .hero-stat:hover::before {
            transform: scaleX(1);
        }

        .hero-stat .num {
            font-family: var(--font-mono);
            font-size: 25px;
            font-weight: 700;
            color: var(--fg);
            letter-spacing: -.01em;
        }

        .hero-stat .label {
            font-size: 12.5px;
            color: var(--fg-muted);
            margin-top: 2px;
        }

        /* --- Signature hero illustration: live transaction network --- */
        .hero-illustration {
            position: relative;
            z-index: 1;
            aspect-ratio: 1/0.85;
        }

        .hero-illustration::before {
            content: "";
            position: absolute;
            inset: 8%;
            border-radius: 50%;
            background: conic-gradient(from 0deg, transparent 0deg, rgba(53, 46, 255, 0.16) 40deg, transparent 90deg);
            animation: radarSweep 4.5s linear infinite;
            pointer-events: none;
        }

        @keyframes radarSweep {
            to {
                transform: rotate(360deg);
            }
        }

        .live-feed-mock {
            position: absolute;
            top: 4%;
            left: 2%;
            display: flex;
            align-items: center;
            gap: 9px;
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: 999px;
            padding: 9px 16px 9px 12px;
            box-shadow: var(--shadow-sm);
            font-family: var(--font-mono);
            font-size: 11.5px;
            color: var(--fg-muted);
            z-index: 2;
        }

        .live-feed-mock .lf-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--success);
            flex: none;
            animation: pulseDot 2s ease-in-out infinite;
        }

        .live-feed-mock b {
            color: var(--fg);
            font-weight: 700;
        }

        .live-feed-mock .lf-ok {
            color: var(--success);
            font-weight: 600;
        }

        .network-flagged {
            animation: flagPulse 2.4s ease-in-out infinite;
        }

        @keyframes flagPulse {

            0%,
            100% {
                r: 7;
                opacity: 1;
            }

            50% {
                r: 10;
                opacity: .6;
            }
        }

        .network-edge {
            stroke-dasharray: 6 6;
            animation: dashFlow 3s linear infinite;
        }

        @keyframes dashFlow {
            to {
                stroke-dashoffset: -24;
            }
        }

        .case-card-mock {
            position: absolute;
            bottom: 6%;
            right: 2%;
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 16px 18px;
            box-shadow: var(--shadow-md);
            width: 220px;
            animation: floatCard 5s ease-in-out infinite;
        }

        @keyframes floatCard {

            0%,
            100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-8px);
            }
        }

        .case-card-mock .cc-tag {
            display: inline-block;
            font-size: 10.5px;
            font-weight: 700;
            letter-spacing: .04em;
            text-transform: uppercase;
            color: var(--danger);
            background: rgba(255, 0, 0, 0.08);
            padding: 3px 8px;
            margin-bottom: 8px;
        }

        .case-card-mock .cc-title {
            font-size: 13.5px;
            font-weight: 700;
            margin-bottom: 4px;
        }

        .case-card-mock .cc-sub {
            font-size: 11.5px;
            color: var(--fg-muted);
        }

        /* ============ TRUST ROW ============ */
        .trust-row {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            padding: 0 48px 70px;
            max-width: 1280px;
            margin: 0 auto;
        }

        .trust-item {
            display: flex;
            align-items: flex-start;
            gap: 14px;
        }

        .trust-icon {
            flex: none;
            width: 44px;
            height: 44px;
            border-radius: var(--radius);
            background: rgba(53, 46, 255, 0.08);
            color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .trust-item h4 {
            font-size: 15px;
            margin-bottom: 4px;
        }

        .trust-item p {
            font-size: 13.5px;
            color: var(--fg-muted);
            margin: 0;
        }

        /* ============ SECTION SHELL ============ */
        .section {
            padding: 70px 48px;
            max-width: 1280px;
            margin: 0 auto;
        }

        .section-head {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            margin-bottom: 36px;
            flex-wrap: wrap;
            gap: 16px;
        }

        .section-eyebrow {
            font-family: var(--font-mono);
            font-size: 12px;
            font-weight: 600;
            letter-spacing: .06em;
            text-transform: uppercase;
            color: var(--primary);
            margin-bottom: 10px;
            display: block;
        }

        .section h2 {
            font-size: 32px;
        }

        .section-sub {
            font-size: 15px;
            color: var(--fg-muted);
            max-width: 560px;
            margin-top: 10px;
        }

        /* ============ CAPABILITIES ============ */
        .capability-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 22px;
        }

        .capability-card {
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 20px;
            transition: transform .2s ease, box-shadow .2s ease;
        }

        .capability-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }

        .cap-icon {
            width: 46px;
            height: 46px;
            border-radius: var(--radius);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 18px;
            color: #fff;
        }

        .capability-card h3 {
            font-size: 17px;
            margin-bottom: 8px;
        }

        .capability-card p {
            font-size: 13.8px;
            color: var(--fg-muted);
            margin: 0;
        }

        /* ============ MODULE DASHBOARD (bento grid) ============ */
        .mod-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            grid-auto-rows: minmax(200px, auto);
            gap: 20px;
        }

        .mod-card {
            position: relative;
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 26px;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            transition: transform .22s cubic-bezier(.2, .8, .2, 1), box-shadow .22s ease, border-color .22s ease;
            opacity: 0;
            transform: translateY(16px);
        }

        .mod-card.revealed {
            opacity: 1;
            transform: translateY(0);
        }

        .mod-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-md);
            border-color: transparent;
        }

        .mod-card--lg {
            grid-column: span 2;
            grid-row: span 1;
        }

        .mod-icon {
            width: 52px;
            height: 52px;
            border-radius: var(--radius);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 18px;
            box-shadow: 0 10px 22px -10px rgba(11, 14, 26, 0.35);
            transition: transform .22s ease;
        }

        .mod-card:hover .mod-icon {
            transform: scale(1.08) rotate(-3deg);
        }

        .mod-card h3 {
            font-size: 16.5px;
            margin-bottom: 8px;
        }

        .mod-card p {
            font-size: 13.3px;
            color: var(--fg-muted);
            margin: 0 0 18px;
            flex: 1;
        }

        .mod-explore {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 13px;
            font-weight: 700;
            color: var(--primary);
        }

        .mod-card:hover .mod-explore svg {
            transform: translateX(3px);
        }

        .mod-explore svg {
            transition: transform .18s ease;
        }

        .mod-card[data-hidden="true"] {
            display: none;
        }

        /* ============ QUICK START ============ */
        .quickstart {
            background: linear-gradient(135deg, var(--fg), var(--tertiary-2));
            color: #fff;
            border-radius: var(--radius);
            padding: 52px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }

        .quickstart h2 {
            color: #fff;
            font-size: 30px;
            margin-bottom: 14px;
        }

        .quickstart p {
            color: rgba(255, 255, 255, 0.7);
            font-size: 15px;
            margin-bottom: 28px;
        }

        .qs-steps {
            display: flex;
            flex-direction: column;
            gap: 18px;
        }

        .qs-step {
            display: flex;
            gap: 16px;
            align-items: flex-start;
        }

        .qs-num {
            flex: none;
            width: 32px;
            height: 32px;
            border-radius: var(--radius);
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: var(--font-mono);
            font-size: 13px;
            font-weight: 600;
        }

        .qs-step h4 {
            color: #fff;
            font-size: 14.5px;
            margin-bottom: 3px;
        }

        .qs-step p {
            color: rgba(255, 255, 255, 0.6);
            font-size: 13px;
            margin: 0;
        }

        /* ============ UPDATES ============ */
        .updates-list {
            display: flex;
            flex-direction: column;
        }

        .update-row {
            display: grid;
            grid-template-columns: 120px 1fr;
            gap: 24px;
            padding: 22px 0;
            border-bottom: 1px solid var(--border);
        }

        .update-row:first-child {
            padding-top: 0;
        }

        .update-date {
            font-family: var(--font-mono);
            font-size: 12.5px;
            color: var(--fg-muted);
            padding-top: 3px;
        }

        .update-tag {
            display: inline-block;
            font-size: 10.5px;
            font-weight: 700;
            letter-spacing: .04em;
            text-transform: uppercase;
            padding: 3px 9px;
            border-radius: 999px;
            margin-bottom: 8px;
        }

        .update-tag.new {
            background: rgba(98, 156, 40, 0.12);
            color: var(--success);
        }

        .update-tag.improved {
            background: rgba(53, 46, 255, 0.1);
            color: var(--primary);
        }

        .update-tag.fix {
            background: rgba(255, 0, 0, 0.08);
            color: var(--danger);
        }

        .update-row h4 {
            font-size: 15px;
            margin-bottom: 4px;
        }

        .update-row p {
            font-size: 13.5px;
            color: var(--fg-muted);
            margin: 0;
        }

        /* ============ FOOTER ============ */
        footer {
            border-top: 1px solid var(--border);
            padding: 48px;
            margin-top: 20px;
        }

        .foot-inner {
            max-width: 1280px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 16px;
        }

        .foot-brand {
            display: flex;
            align-items: center;
            gap: 10px;
            font-family: var(--font-body);
            font-weight: 700;
        }

        .foot-links {
            display: flex;
            gap: 24px;
            font-size: 13.5px;
            color: var(--fg-muted);
        }

        .foot-links a:hover {
            color: var(--primary);
        }

        /* ============ COMMAND PALETTE ============ */
        .cmdk-overlay {
            position: fixed;
            inset: 0;
            z-index: 900;
            background: rgba(11, 14, 26, 0.4);
            display: flex;
            align-items: flex-start;
            justify-content: center;
            padding-top: 12vh;
            opacity: 0;
            pointer-events: none;
            transition: opacity .15s ease;
        }

        .cmdk-overlay.open {
            opacity: 1;
            pointer-events: auto;
        }

        .cmdk-box {
            width: min(560px, 90vw);
            background: #fff;
            border-radius: var(--radius);
            box-shadow: 0 40px 90px -20px rgba(11, 14, 26, 0.4);
            overflow: hidden;
            transform: translateY(-8px);
            transition: transform .15s ease;
        }

        .cmdk-overlay.open .cmdk-box {
            transform: translateY(0);
        }

        .cmdk-input {
            width: 100%;
            border: none;
            padding: 20px 22px;
            font-size: 16px;
            font-family: 'Inter', sans-serif;
            border-bottom: 1px solid var(--border);
            outline: none;
        }

        .cmdk-results {
            max-height: 360px;
            overflow-y: auto;
            padding: 8px;
        }

        .cmdk-item {
            padding: 12px 14px;
            border-radius: var(--radius);
            cursor: pointer;
            font-size: 14px;
            font-weight: 600;
        }

        .cmdk-item:hover,
        .cmdk-item.active {
            background: rgba(53, 46, 255, 0.07);
            color: var(--primary);
        }

        /* ============ RESPONSIVE ============ */
        @media (max-width: 1080px) {
            .mod-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .mod-card--lg {
                grid-column: span 2;
            }

            .capability-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .trust-row {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 860px) {
            .nav-links {
                display: none;
            }

            .menu-toggle {
                display: block;
            }

            .hero {
                grid-template-columns: 1fr;
                padding: 60px 24px 40px;
            }

            .hero-illustration {
                order: -1;
                max-width: 380px;
                margin: 0 auto 20px;
            }

            .section {
                padding: 50px 24px;
            }

            .quickstart {
                grid-template-columns: 1fr;
                padding: 32px;
            }

            .mod-grid {
                grid-template-columns: 1fr;
            }

            .mod-card--lg {
                grid-column: span 1;
            }

            .capability-grid {
                grid-template-columns: 1fr;
            }

            .trust-row {
                grid-template-columns: 1fr;
                padding: 0 24px 50px;
            }

            .update-row {
                grid-template-columns: 1fr;
                gap: 6px;
            }

            footer {
                padding: 32px 24px;
            }
        }


        :root {
            --accent: #352EFF;
            --accent-2: #5B54FF;
            --accent-soft: #EAEAFF;
            --dark: #171717;
            --grey: #575757;
            --grey-light: #8A8A8A;
            --border: #E7E7EF;
            --bg-card: #F7F8FC;
            --white: #FFFFFF;
            --radius-lg: 20px;
            --radius-md: 14px;
            --radius-sm: 9px;
            --sidebar-w: 280px;
            --topbar-h: 76px;
        }

        * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        html,
        body {
            overflow-x: clip;
            max-width: 100%;
        }

        body {
            margin: 0;
            background: var(--white);
            color: var(--dark);
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 15.5px;
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
        }

        h1,
        h2,
        h3,
        h4,
        .display,
        nav a,
        .btn,
        .eyebrow,
        .side-link,
        .sec-tag {
            font-family: 'Poppins', sans-serif;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        ul {
            margin: 0;
            padding: 0;
        }

        li {
            list-style: none;
        }

        img {
            max-width: 100%;
            display: block;
        }

        code {
            font-family: 'IBM Plex Mono', Consolas, monospace;
            background: var(--accent-soft);
            color: var(--accent);
            padding: 1px 6px;
            border-radius: 5px;
            font-size: .92em;
        }

        /* faint dot-grid background wash, like the hero section on the live site */
        .bg-grid {
            position: absolute;
            inset: 0;
            z-index: -1;
            pointer-events: none;
            background-image:
                linear-gradient(rgba(53, 46, 255, 0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(53, 46, 255, 0.05) 1px, transparent 1px);
            background-size: 64px 64px;
            mask-image: linear-gradient(to bottom, black, transparent 90%);
        }

        /* ---------- Topbar ---------- */
        .topbar {
            position: sticky;
            top: 0;
            z-index: 100;
            height: var(--topbar-h);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 0 40px;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--border);
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 10px;
            min-width: 0;
            flex-shrink: 1;
        }

        .brand img {
            height: 34px;
            width: auto;
            flex-shrink: 1;
            min-width: 0;
            max-width: 100%;
        }

        .crumb {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 13.5px;
            color: var(--grey);
            font-weight: 500;
        }

        .crumb .sep {
            color: #C9C9D6;
        }

        .crumb .current {
            color: var(--dark);
            font-weight: 600;
        }

        .top-actions {
            display: flex;
            align-items: center;
            gap: 18px;
            flex: none;
        }

        .top-actions a.back {
            font-size: 13.5px;
            font-weight: 600;
            color: var(--grey);
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-weight: 600;
            font-size: 14px;
            padding: 11px 22px;
            border-radius: 999px;
            cursor: pointer;
            border: none;
            transition: transform .15s ease, box-shadow .15s ease;
        }

        .btn-primary {
            background: var(--accent);
            color: #fff;
            box-shadow: 0 8px 20px rgba(53, 46, 255, 0.25);
        }

        .btn-primary:hover {
            transform: translateY(-1px);
            box-shadow: 0 10px 26px rgba(53, 46, 255, 0.32);
        }

        .btn-outline {
            background: #fff;
            color: var(--dark);
            border: 1.5px solid var(--border);
        }

        .btn-outline:hover {
            border-color: var(--accent);
            color: var(--accent);
        }

        /* ---------- Hero ---------- */
        .hero {
            position: relative;
            padding: 72px 40px 56px;
            max-width: 1180px;
            margin: 0 auto;
        }

        .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 12.5px;
            font-weight: 700;
            letter-spacing: .04em;
            text-transform: uppercase;
            color: var(--accent);
            margin-bottom: 22px;
        }

        .eyebrow::before {
            content: "";
            display: inline-block;
            width: 22px;
            height: 2px;
            background: var(--accent);
            border-radius: 2px;
        }

        .hero h1 {
            font-size: 46px;
            font-weight: 700;
            line-height: 1.14;
            margin: 0 0 18px;
            letter-spacing: -.01em;
        }

        .hero h1 .blue {
            color: var(--accent);
        }

        .hero-lead {
            font-size: 17.5px;
            color: var(--grey);
            max-width: 640px;
            margin: 0 0 28px;
        }

        .hero-stats {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
        }

        .hero-stats .stat {
            display: flex;
            align-items: center;
            gap: 9px;
            font-size: 14.5px;
            font-weight: 600;
            color: var(--dark);
            background: var(--white);
            border-radius: 14px;
            padding: 14px 20px;
            box-shadow: 0 10px 24px -14px rgba(23, 23, 23, 0.18);
            border: 1px solid var(--border);
        }

        .stat .tick {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--accent);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            flex: none;
        }

        /* ---------- Layout ---------- */
        .layout {
            max-width: 1440px;
            margin: 0 auto;
            padding: 0 40px 100px;
            display: grid;
            grid-template-columns: var(--sidebar-w) minmax(0, 1fr) 240px;
            gap: 56px;
            align-items: flex-start;
        }

        .sidebar {
            width: var(--sidebar-w);
            flex: none;
            position: sticky;
            top: calc(var(--topbar-h) + 28px);
            max-height: calc(100vh - var(--topbar-h) - 56px);
            overflow-y: auto;
            padding-right: 6px;
        }

        /* ---------- Right-hand "On this page" panel ---------- */
        .page-toc {
            width: 240px;
            flex: none;
            position: sticky;
            top: calc(var(--topbar-h) + 28px);
            max-height: calc(100vh - var(--topbar-h) - 56px);
            overflow-y: auto;
            padding-left: 20px;
            border-left: 1px solid var(--border);
        }

        .page-toc::-webkit-scrollbar {
            width: 5px;
        }

        .page-toc::-webkit-scrollbar-thumb {
            background: var(--border);
            border-radius: 3px;
        }

        .toc-list {
            display: flex;
            flex-direction: column;
        }

        .toc-link {
            position: relative;
            display: block;
            padding: 7px 0 7px 16px;
            font-size: 13px;
            font-weight: 500;
            color: var(--grey-light);
            border-left: 2px solid var(--border);
            line-height: 1.4;
            transition: color .15s ease, border-color .15s ease;
        }

        .toc-link:hover {
            color: var(--dark);
        }

        .toc-link.active {
            color: var(--accent);
            font-weight: 600;
            border-left-color: var(--accent);
        }

        .toc-empty {
            font-size: 13px;
            color: var(--grey-light);
            padding-left: 16px;
        }

        .sidebar::-webkit-scrollbar {
            width: 5px;
        }

        .sidebar::-webkit-scrollbar-thumb {
            background: var(--border);
            border-radius: 3px;
        }

        .side-title {
            font-size: 11.5px;
            font-weight: 700;
            letter-spacing: .08em;
            text-transform: uppercase;
            color: var(--grey-light);
            margin-bottom: 14px;
        }

        .sidebar-cta {
            display: none;
        }

        .side-link {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            padding: 10px 14px;
            border-radius: 10px;
            font-size: 13.8px;
            font-weight: 600;
            color: var(--grey);
            margin-bottom: 2px;
            line-height: 1.4;
            transition: background .15s ease, color .15s ease;
        }

        .side-link:hover {
            background: var(--bg-card);
            color: var(--dark);
        }

        .side-link.active {
            background: var(--accent-soft);
            color: var(--accent);
        }

        .side-num {
            font-size: 11px;
            font-weight: 700;
            width: 22px;
            height: 22px;
            border-radius: 7px;
            background: var(--bg-card);
            color: var(--grey-light);
            display: flex;
            align-items: center;
            justify-content: center;
            flex: none;
            margin-top: 1px;
        }

        .side-link.active .side-num {
            background: var(--accent);
            color: #fff;
        }

        .content {
            flex: 1;
            min-width: 0;
        }

        .doc-section {
            padding: 40px 0 8px;
            border-top: 1px solid var(--border);
        }

        .doc-section:first-child {
            border-top: none;
            padding-top: 8px;
        }

        .sec-tag {
            display: inline-block;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: .05em;
            text-transform: uppercase;
            color: var(--accent);
            background: var(--accent-soft);
            padding: 5px 12px;
            border-radius: 8px;
            margin-bottom: 14px;
        }

        .doc-section h2 {
            font-size: 28px;
            font-weight: 700;
            margin: 0 0 12px;
            letter-spacing: -.01em;
        }

        .sec-intro {
            font-size: 16.5px;
            color: var(--grey);
            margin: 0 0 22px;
        }

        h3 {
            font-size: 19px;
            font-weight: 700;
            margin: 34px 0 12px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .sub-num {
            font-size: 12.5px;
            font-weight: 700;
            color: var(--accent);
            background: var(--accent-soft);
            padding: 3px 9px;
            border-radius: 7px;
        }

        .h4-plain {
            font-size: 15.5px;
            font-weight: 700;
            margin: 22px 0 10px;
            color: var(--dark);
        }

        p {
            margin: 0 0 14px;
            color: var(--grey);
        }

        strong {
            color: var(--dark);
            font-weight: 600;
        }

        .nav-crumb {
            font-size: 13px;
            color: var(--grey-light);
            margin: 0 0 14px;
            font-style: normal;
            background: var(--bg-card);
            display: inline-block;
            padding: 7px 13px;
            border-radius: 8px;
        }

        .nav-crumb span {
            font-weight: 700;
            color: var(--dark);
            margin-right: 6px;
        }

        ul.check-list {
            margin: 0 0 18px;
        }

        ul.check-list li {
            position: relative;
            padding-left: 30px;
            margin-bottom: 11px;
            color: var(--grey);
            font-size: 15px;
        }

        ul.check-list li::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 1px;
            width: 19px;
            height: 19px;
            border-radius: 6px;
            background: var(--accent-soft);
            color: var(--accent);
            font-size: 11px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .howto {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            padding: 20px 24px;
            margin: 18px 0 20px;
        }

        .howto h4 {
            margin: 0 0 12px;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: .04em;
            text-transform: uppercase;
            color: var(--accent);
        }

        .howto ul.check-list {
            margin-bottom: 0;
        }

        .callout {
            display: flex;
            flex-direction: column;
            gap: 6px;
            background: linear-gradient(135deg, #F1F0FF, #F7F8FC);
            border-left: 3px solid var(--accent);
            border-radius: 0 var(--radius-md) var(--radius-md) 0;
            padding: 16px 20px;
            margin: 0 0 20px;
        }

        .callout-tag {
            font-size: 11.5px;
            font-weight: 700;
            letter-spacing: .05em;
            text-transform: uppercase;
            color: var(--accent);
        }

        .callout p {
            margin: 0;
            color: var(--dark);
            font-size: 14.5px;
            font-style: italic;
        }

        figure.shot-wide,
        figure.shot {
            margin: 22px 0 8px;
            border-radius: var(--radius-lg);
            overflow: hidden;
            border: 1px solid var(--border);
            box-shadow: 0 20px 44px -20px rgba(23, 23, 23, 0.16);
        }

        figure img {
            width: 100%;
            height: auto;
            display: block;
        }

        figcaption {
            padding: 12px 18px;
            font-size: 12.5px;
            color: var(--grey-light);
            background: var(--bg-card);
            border-top: 1px solid var(--border);
            font-style: italic;
        }

        .table-wrap {
            overflow-x: auto;
            margin: 14px 0 22px;
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            position: relative;
            -webkit-overflow-scrolling: touch;
        }

        .table-wrap.scrollable::after {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            width: 22px;
            pointer-events: none;
            box-shadow: inset -14px 0 10px -10px rgba(23, 23, 23, 0.28);
            opacity: 1;
            transition: opacity .2s ease;
            border-radius: 0 var(--radius-md) var(--radius-md) 0;
        }

        .table-wrap.scrollable.at-end::after {
            opacity: 0;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            font-size: 13.8px;
        }

        thead th {
            background: var(--dark);
            color: black;
            text-align: left;
            padding: 11px 16px;
            font-weight: 600;
            font-family: 'Poppins', sans-serif;
        }

        tbody td {
            padding: 11px 16px;
            border-top: 1px solid var(--border);
            color: var(--grey);
        }

        tbody tr:nth-child(even) {
            background: var(--bg-card);
        }

        .thanks {
            text-align: center;
            font-weight: 600;
            color: var(--dark);
            margin-top: 28px;
        }

        /* ---------- Dynamic UI additions ---------- */
        .scroll-progress {
            position: fixed;
            top: 0;
            left: 0;
            height: 3px;
            width: 0%;
            z-index: 1000;
            background: linear-gradient(90deg, var(--accent), var(--accent-2));
            transition: width .08s linear;
            box-shadow: 0 0 8px rgba(53, 46, 255, 0.5);
        }

        .bg-blob {
            position: fixed;
            z-index: -1;
            border-radius: 50%;
            filter: blur(90px);
            pointer-events: none;
            opacity: .35;
        }

        .blob-a {
            width: 480px;
            height: 480px;
            top: -160px;
            right: -140px;
            background: radial-gradient(circle at 30% 30%, var(--accent), transparent 70%);
        }

        .blob-b {
            width: 420px;
            height: 420px;
            top: 900px;
            left: -160px;
            background: radial-gradient(circle at 30% 30%, var(--accent-2), transparent 70%);
        }

        .back-to-top {
            position: fixed;
            right: 28px;
            bottom: 28px;
            z-index: 200;
            width: 46px;
            height: 46px;
            border-radius: 50%;
            border: none;
            cursor: pointer;
            background: var(--accent);
            color: #fff;
            font-size: 18px;
            font-weight: 700;
            box-shadow: 0 10px 26px rgba(53, 46, 255, 0.35);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transform: translateY(12px);
            transition: opacity .25s ease, transform .25s ease, visibility .25s ease, box-shadow .15s ease;
        }

        .back-to-top.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .back-to-top:hover {
            box-shadow: 0 14px 32px rgba(53, 46, 255, 0.45);
            transform: translateY(-2px);
        }

        .doc-section {
            opacity: 1;
            transform: translateY(0);
            transition: transform .6s ease;
        }

        .doc-section:not(.in-view) {
            transform: translateY(14px);
        }

        .doc-section.in-view {
            transform: translateY(0);
        }

        .no-js .doc-section {
            opacity: 1;
            transform: none;
        }

        figure.shot-wide {
            cursor: zoom-in;
            transition: transform .25s ease, box-shadow .25s ease;
        }

        figure.shot-wide:hover {
            transform: translateY(-3px);
            box-shadow: 0 18px 40px rgba(23, 23, 23, 0.12);
        }

        /* ============ SCREENSHOT ANNOTATIONS (highlight + callout) ============ */
        figure.shot-wide.has-annotation,
        figure.shot-wide:has(.shot-frame) {
            overflow: visible;
        }

        .shot-frame {
            position: relative;
            display: block;
            line-height: 0;
        }

        .shot-frame img {
            display: block;
            width: 100%;
        }

        .shot-highlight {
            position: absolute;
            border: 3px solid var(--primary);
            border-radius: 10px;
            background: rgba(53, 46, 255, 0.10);
            box-shadow: 0 0 0 4px rgba(53, 46, 255, 0.14), 0 0 18px rgba(53, 46, 255, 0.35);
            pointer-events: none;
            animation: shotPulse 2.2s ease-in-out infinite;
            z-index: 1;
        }

        @keyframes shotPulse {

            0%,
            100% {
                box-shadow: 0 0 0 4px rgba(53, 46, 255, 0.14), 0 0 18px rgba(53, 46, 255, 0.35);
            }

            50% {
                box-shadow: 0 0 0 7px rgba(53, 46, 255, 0.04), 0 0 26px rgba(53, 46, 255, 0.55);
            }
        }

        .shot-callout {
            position: absolute;
            background: var(--primary);
            color: #fff;
            font-family: var(--font-body);
            font-weight: 700;
            font-size: 14px;
            line-height: 1.3;
            padding: 7px 14px;
            border-radius: 8px;
            white-space: nowrap;
            pointer-events: none;
            box-shadow: 0 6px 18px rgba(53, 46, 255, 0.45);
            z-index: 2;
        }

        .shot-callout::after {
            content: '';
            position: absolute;
            width: 0;
            height: 0;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
        }

        .shot-callout.point-down::after {
            left: 20px;
            bottom: -8px;
            border-top: 8px solid var(--primary);
        }

        .shot-callout.point-up::after {
            left: 20px;
            top: -8px;
            border-bottom: 8px solid var(--primary);
        }

        @media (max-width: 720px) {
            .shot-callout {
                font-size: 11px;
                padding: 5px 10px;
                white-space: normal;
            }
        }

        .lightbox {
            position: fixed;
            inset: 0;
            z-index: 2000;
            background: rgba(15, 15, 20, 0.86);
            display: none;
            align-items: center;
            justify-content: center;
            padding: 40px;
            backdrop-filter: blur(4px);
        }

        .lightbox.open {
            display: flex;
        }

        .lightbox img {
            max-width: 92vw;
            max-height: 88vh;
            border-radius: 10px;
            box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
            cursor: zoom-out;
        }

        .lightbox-close {
            position: absolute;
            top: 26px;
            right: 34px;
            color: #fff;
            font-size: 22px;
            cursor: pointer;
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.12);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background .15s ease;
        }

        .lightbox-close:hover {
            background: rgba(255, 255, 255, 0.22);
        }

        .doc-section h2 {
            position: relative;
        }

        .h2-anchor {
            opacity: 0;
            margin-left: 10px;
            font-size: 16px;
            color: var(--accent);
            font-weight: 600;
            transition: opacity .15s ease;
            cursor: pointer;
            vertical-align: middle;
        }

        .doc-section h2:hover .h2-anchor {
            opacity: 1;
        }




        /* ---------- Footer ---------- */
        footer {
            background: var(--dark);
            color: #B7B7C3;
            padding: 56px 40px 30px;
            margin-top: 40px;
        }

        .foot-inner {
            max-width: 1180px;
            margin: 0 auto;
        }

        .foot-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
            padding-bottom: 28px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .foot-brand {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .foot-brand img {
            height: 26px;
            filter: brightness(0) invert(1);
        }

        .foot-brand span {
            font-weight: 700;
            color: #fff;
            font-size: 14px;
            font-family: 'Poppins', sans-serif;
        }

        footer .btn-primary {
            box-shadow: none;
        }

        .foot-bottom {
            padding-top: 22px;
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 12px;
            font-size: 12.8px;
            color: #7B7B8A;
        }

        /* mobile */
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--dark);
            font-size: 20px;
            cursor: pointer;
            width: 38px;
            height: 38px;
            border-radius: 9px;
            align-items: center;
            justify-content: center;
        }

        .menu-toggle:hover {
            background: var(--bg-card);
        }

        .sidebar-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(17, 17, 17, 0.42);
            z-index: 149;
        }

        .sidebar-overlay.show {
            display: block;
        }

        /* ---------- Tablet & mobile ---------- */
        @media (max-width:1200px) {
            .layout {
                grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
            }

            .page-toc {
                display: none;
            }
        }

        @media (max-width:900px) {
            .layout {
                display: block;
                padding-bottom: 60px;
            }

            .content {
                width: 100%;
                max-width: 100%;
            }

            .sidebar-cta {
                display: flex;
                margin-bottom: 16px;
            }

            .sidebar {
                position: fixed;
                top: var(--topbar-h);
                left: 0;
                right: 0;
                width: 100%;
                max-height: calc(100vh - var(--topbar-h));
                overflow-y: auto;
                padding: 18px 20px 24px;
                margin: 0;
                z-index: 150;
                background: var(--white);
                border-bottom: 1px solid var(--border);
                box-shadow: 0 18px 34px rgba(23, 23, 23, 0.14);
                transform: translateY(-12px);
                opacity: 0;
                visibility: hidden;
                transition: transform .22s ease, opacity .22s ease, visibility .22s ease;
            }

            .sidebar.open {
                transform: translateY(0);
                opacity: 1;
                visibility: visible;
            }

            .side-link {
                padding: 12px 14px;
                font-size: 14.5px;
            }

            .menu-toggle {
                display: flex;
            }

            .crumb {
                display: none;
            }

            .top-actions {
                gap: 10px;
            }

            .top-actions .back {
                display: none;
            }

            .top-actions .btn-primary {
                padding: 9px 16px;
                font-size: 13px;
            }

            .hero {
                padding: 40px 20px 40px;
            }

            .hero h1 {
                font-size: 32px;
            }

            .hero-lead {
                font-size: 16px;
            }

            .layout {
                padding-left: 20px;
                padding-right: 20px;
            }

            .topbar {
                padding: 0 20px;
            }

            .brand img {
                height: 28px;
            }
        }

        @media (max-width:600px) {
            body {
                font-size: 16px;
                line-height: 1.65;
            }

            .brand img {
                height: 24px;
            }

            .top-actions {
                gap: 10px;
            }

            .hero {
                padding: 32px 18px 36px;
            }

            .eyebrow {
                font-size: 11.5px;
                padding: 6px 12px;
                margin-bottom: 16px;
            }

            .hero h1 {
                font-size: 26px;
                line-height: 1.2;
            }

            .hero-lead {
                font-size: 15.5px;
                margin-bottom: 20px;
            }

            .hero-stats {
                flex-direction: column;
                gap: 12px;
                align-items: flex-start;
            }

            .layout {
                padding: 0 18px 60px;
                gap: 0;
            }

            .doc-section {
                padding: 28px 0 6px;
            }

            .doc-section h2 {
                font-size: 22px;
            }

            .sec-intro {
                font-size: 15.5px;
            }

            h3 {
                font-size: 17px;
                margin: 26px 0 10px;
                flex-wrap: wrap;
            }

            .h4-plain {
                font-size: 14.5px;
            }

            p {
                font-size: 15px;
            }

            ul.check-list li {
                font-size: 14.5px;
                padding-left: 26px;
            }

            .howto {
                padding: 16px 16px;
                margin: 14px 0 16px;
            }

            .callout {
                padding: 14px 16px;
            }

            .sec-tag {
                font-size: 11px;
                padding: 4px 10px;
            }

            .nav-crumb {
                font-size: 12px;
                padding: 6px 11px;
            }

            figure.shot-wide,
            figure.shot {
                margin: 18px 0 8px;
                border-radius: var(--radius-md);
            }

            figcaption {
                padding: 10px 14px;
                font-size: 11.5px;
            }

            table {
                font-size: 12.8px;
            }

            thead th,
            tbody td {
                padding: 9px 12px;
            }

            .table-wrap {
                -webkit-overflow-scrolling: touch;
                position: relative;
            }

            .lightbox {
                padding: 16px;
            }

            .lightbox-close {
                top: 14px;
                right: 14px;
                width: 38px;
                height: 38px;
                font-size: 18px;
            }

            .back-to-top {
                right: 16px;
                bottom: 16px;
                width: 44px;
                height: 44px;
            }

            footer {
                padding: 40px 18px 24px;
            }

            .foot-top {
                flex-direction: column;
                align-items: flex-start;
            }

            .foot-bottom {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
            }

            code {
                word-break: break-word;
            }
        }

        @media (max-width:480px) {
            .top-actions .btn-primary {
                display: none;
            }
        }

        @media (max-width:420px) {
            .hero h1 {
                font-size: 23px;
            }

            .doc-section h2 {
                font-size: 20px;
            }

            .hero-stats .stat {
                font-size: 13.5px;
            }

            .brand img {
                height: 22px;
            }
        }

        @media (max-width:700px) {
            .bg-blob {
                display: none;
            }
        }


        /* ===== Guide Assistant ===== */
        /*!
 * Developer Guide Assistant — styles
 * -----------------------------------
 * Deliberately reuses the host page's own design tokens (CSS custom
 * properties) instead of introducing a new palette/type system. If the
 * host page defines --accent, --dark, --grey, --border, --white,
 * --bg-card, --radius-lg/md/sm and the Poppins/Inter/IBM Plex Mono
 * fonts (as this Developer Portal does), the assistant inherits them
 * automatically. The --da-* fallbacks below only kick in if a token is
 * missing, so this file can be dropped into a different guide too.
 */

        :root {
            --da-accent: var(--accent, #352EFF);
            --da-accent-soft: var(--accent-soft, #EAEAFF);
            --da-dark: var(--dark, #171717);
            --da-grey: var(--grey, #575757);
            --da-grey-light: var(--grey-light, #8A8A8A);
            --da-border: var(--border, #E7E7EF);
            --da-white: var(--white, #FFFFFF);
            --da-bg-card: var(--bg-card, #F7F8FC);
            --da-radius-lg: var(--radius-lg, 20px);
            --da-radius-md: var(--radius-md, 14px);
            --da-radius-sm: var(--radius-sm, 9px);
            --da-font-heading: 'Poppins', system-ui, sans-serif;
            --da-font-body: 'Inter', system-ui, sans-serif;
            --da-font-mono: 'IBM Plex Mono', Consolas, monospace;
            --da-panel-width: 400px;
            /* Bottom offset of the launcher — override per page via inline style
     (e.g. style="--da-launcher-bottom: 100px") when another fixed
     element (a back-to-top button, a cookie bar, etc.) already sits
     in the default corner. */
            --da-launcher-bottom: 24px;
            --da-launcher-right: 24px;
        }

        /* ============================================================
   Launcher (floating pill button, bottom-right by default)
   ============================================================ */

        .da-launcher {
            position: fixed;
            right: var(--da-launcher-right);
            bottom: var(--da-launcher-bottom);
            z-index: 2147483000;
            display: inline-flex;
            align-items: center;
            gap: 9px;
            height: 52px;
            padding: 0 20px 0 16px;
            border-radius: 999px;
            border: none;
            cursor: pointer;
            background: var(--da-accent);
            color: #fff;
            font-family: var(--da-font-heading);
            font-size: 14px;
            font-weight: 600;
            white-space: nowrap;
            box-shadow: 0 12px 28px rgba(53, 46, 255, 0.32), 0 2px 8px rgba(23, 23, 23, 0.12);
            transition: transform .15s ease, box-shadow .15s ease, padding .15s ease;
        }

        .da-launcher:hover {
            transform: translateY(-2px);
            box-shadow: 0 16px 34px rgba(53, 46, 255, 0.4);
        }

        .da-launcher:focus-visible {
            outline: 2px solid var(--da-accent);
            outline-offset: 3px;
        }

        .da-launcher-icon {
            display: block;
            flex: none;
        }

        .da-launcher-label {
            display: inline-block;
        }

        /* Once opened, collapse to an icon-only circle so it reads as a
   toggle rather than a repeated call-to-action while the panel is up. */
        .da-launcher[aria-expanded="true"] {
            width: 52px;
            padding: 0;
            justify-content: center;
        }

        .da-launcher[aria-expanded="true"] .da-launcher-label {
            display: none;
        }

        /* Small screens: icon-only from the start, to keep a light footprint
   next to other floating controls (e.g. a back-to-top button). */
        @media (max-width: 560px) {
            .da-launcher {
                width: 52px;
                padding: 0;
                justify-content: center;
            }

            .da-launcher-label {
                display: none;
            }
        }

        /* ============================================================
   Overlay (click-outside close; also the mobile sheet backdrop)
   ============================================================ */

        .da-overlay {
            position: fixed;
            inset: 0;
            z-index: 2147482998;
            background: rgba(23, 23, 23, 0.28);
            opacity: 0;
            pointer-events: none;
            transition: opacity .2s ease;
        }

        .da-overlay.da-open {
            opacity: 1;
            pointer-events: auto;
        }

        .da-overlay[hidden] {
            display: none;
        }

        /* ============================================================
   Panel (desktop: right-hand slide-in; mobile: bottom sheet)
   ============================================================ */

        .da-panel {
            position: fixed;
            z-index: 2147482999;
            top: 0;
            right: 0;
            height: 100%;
            width: min(var(--da-panel-width), 92vw);
            background: var(--da-white);
            border-left: 1px solid var(--da-border);
            box-shadow: -18px 0 40px rgba(23, 23, 23, 0.14);
            display: flex;
            flex-direction: column;
            transform: translateX(100%);
            transition: transform .28s cubic-bezier(.32, .72, 0, 1);
            font-family: var(--da-font-body);
            color: var(--da-dark);
        }

        .da-panel.da-open {
            transform: translateX(0);
        }

        .da-panel[hidden] {
            display: none;
        }

        .da-resize-handle {
            position: absolute;
            left: -6px;
            top: 0;
            bottom: 0;
            width: 12px;
            cursor: ew-resize;
        }

        .da-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 12px;
            padding: 22px 22px 16px;
            border-bottom: 1px solid var(--da-border);
            flex: none;
        }

        .da-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-family: var(--da-font-heading);
            font-size: 11.5px;
            font-weight: 700;
            letter-spacing: .04em;
            text-transform: uppercase;
            color: var(--da-accent);
            margin-bottom: 6px;
        }

        .da-eyebrow::before {
            content: "";
            display: inline-block;
            width: 16px;
            height: 2px;
            background: var(--da-accent);
            border-radius: 2px;
        }

        .da-title {
            font-family: var(--da-font-heading);
            font-size: 18px;
            font-weight: 600;
            margin: 0;
            color: var(--da-dark);
        }

        .da-close {
            flex: none;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: 1px solid var(--da-border);
            background: var(--da-white);
            color: var(--da-grey);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background .15s ease, color .15s ease;
        }

        .da-close:hover {
            background: var(--da-bg-card);
            color: var(--da-dark);
        }

        .da-close:focus-visible {
            outline: 2px solid var(--da-accent);
            outline-offset: 2px;
        }

        .da-form {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 16px 22px;
            border-bottom: 1px solid var(--da-border);
            flex: none;
        }

        .da-input {
            flex: 1;
            font-family: var(--da-font-body);
            font-size: 14.5px;
            padding: 11px 14px;
            border-radius: var(--da-radius-sm);
            border: 1px solid var(--da-border);
            background: var(--da-bg-card);
            color: var(--da-dark);
        }

        .da-input::placeholder {
            color: var(--da-grey-light);
        }

        .da-input:focus {
            outline: none;
            border-color: var(--da-accent);
            background: var(--da-white);
            box-shadow: 0 0 0 3px var(--da-accent-soft);
        }

        .da-submit {
            flex: none;
            width: 38px;
            height: 38px;
            border-radius: var(--da-radius-sm);
            border: none;
            background: var(--da-accent);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 8px 18px rgba(53, 46, 255, 0.28);
            transition: transform .15s ease;
        }

        .da-submit:hover {
            transform: translateY(-1px);
        }

        .da-submit:focus-visible {
            outline: 2px solid var(--da-accent);
            outline-offset: 2px;
        }

        .da-body {
            flex: 1;
            overflow-y: auto;
            padding: 20px 22px 28px;
        }

        .da-body::-webkit-scrollbar {
            width: 6px;
        }

        .da-body::-webkit-scrollbar-thumb {
            background: var(--da-border);
            border-radius: 3px;
        }

        .da-sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        /* ---- Idle / empty state ---- */

        .da-empty p {
            font-size: 14px;
            color: var(--da-grey);
            line-height: 1.6;
            margin: 0 0 10px;
        }

        .da-empty-sub {
            font-size: 12.5px !important;
            color: var(--da-grey-light) !important;
        }

        /* ---- Result card ---- */

        .da-result {
            background: var(--da-bg-card);
            border: 1px solid var(--da-border);
            border-radius: var(--da-radius-md);
            padding: 18px 20px;
            animation: da-fade-in .2s ease;
        }

        .da-result-empty {
            background: transparent;
            border-style: dashed;
        }

        /* ---- Loading state (while the LLM backend is answering) ---- */

        .da-loading {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 22px 0;
            background: transparent;
            border: none;
        }

        .da-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--da-accent);
            opacity: .35;
            animation: da-dot-bounce 1.1s ease-in-out infinite;
        }

        .da-dot:nth-child(2) {
            animation-delay: .15s;
        }

        .da-dot:nth-child(3) {
            animation-delay: .3s;
        }

        @keyframes da-dot-bounce {

            0%,
            80%,
            100% {
                opacity: .35;
                transform: translateY(0);
            }

            40% {
                opacity: 1;
                transform: translateY(-4px);
            }
        }

        /* ---- "AI" tag next to an LLM-drafted answer summary ---- */

        .da-ai-tag {
            display: inline-block;
            font-family: var(--da-font-heading);
            font-size: 9.5px;
            font-weight: 700;
            letter-spacing: .04em;
            color: var(--da-accent);
            background: var(--da-accent-soft);
            border-radius: 5px;
            padding: 1px 6px;
            vertical-align: middle;
        }

        .da-answer-label,
        .da-doc-label {
            font-family: var(--da-font-heading);
            font-size: 11px;
            font-weight: 700;
            letter-spacing: .06em;
            text-transform: uppercase;
            color: var(--da-grey-light);
            margin: 0 0 6px;
        }

        .da-doc-label {
            margin-top: 16px;
        }

        .da-answer {
            font-size: 14.5px;
            line-height: 1.65;
            color: var(--da-dark);
            margin: 0;
        }

        .da-doc-title {
            font-family: var(--da-font-heading);
            font-size: 15px;
            font-weight: 600;
            color: var(--da-dark);
            margin: 0 0 14px;
        }

        .da-goto {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-family: var(--da-font-heading);
            font-size: 13.5px;
            font-weight: 600;
            color: #fff;
            background: var(--da-accent);
            border: none;
            border-radius: var(--da-radius-sm);
            padding: 10px 16px;
            cursor: pointer;
            box-shadow: 0 8px 18px rgba(53, 46, 255, 0.24);
            transition: transform .15s ease, box-shadow .15s ease;
        }

        .da-goto:hover {
            transform: translateY(-1px);
            box-shadow: 0 10px 22px rgba(53, 46, 255, 0.32);
        }

        .da-goto:focus-visible {
            outline: 2px solid var(--da-accent);
            outline-offset: 2px;
        }

        .da-related {
            margin-top: 18px;
            padding-top: 16px;
            border-top: 1px solid var(--da-border);
        }

        .da-related-label {
            display: block;
            font-family: var(--da-font-heading);
            font-size: 11px;
            font-weight: 700;
            letter-spacing: .06em;
            text-transform: uppercase;
            color: var(--da-grey-light);
            margin-bottom: 10px;
        }

        .da-related-list {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .da-chip {
            font-family: var(--da-font-body);
            font-size: 12.5px;
            font-weight: 500;
            color: var(--da-accent);
            background: var(--da-accent-soft);
            border: none;
            border-radius: var(--da-radius-sm);
            padding: 7px 12px;
            cursor: pointer;
            transition: background .15s ease;
        }

        .da-chip:hover {
            background: var(--da-accent);
            color: #fff;
        }

        .da-chip:focus-visible {
            outline: 2px solid var(--da-accent);
            outline-offset: 2px;
        }

        @keyframes da-fade-in {
            from {
                opacity: 0;
                transform: translateY(4px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ============================================================
   Destination highlight (applied to the target .doc-section)
   ============================================================ */

        .da-highlight {
            animation: da-highlight-pulse 2.6s ease;
            border-radius: var(--da-radius-md);
        }

        @keyframes da-highlight-pulse {
            0% {
                box-shadow: 0 0 0 0 var(--da-accent-soft);
                background-color: var(--da-accent-soft);
            }

            15% {
                box-shadow: 0 0 0 6px var(--da-accent-soft);
                background-color: var(--da-accent-soft);
            }

            85% {
                box-shadow: 0 0 0 6px rgba(234, 234, 255, 0);
                background-color: var(--da-accent-soft);
            }

            100% {
                box-shadow: 0 0 0 0 rgba(234, 234, 255, 0);
                background-color: transparent;
            }
        }

        /* ============================================================
   Mobile — bottom sheet instead of side panel
   ============================================================ */

        @media (max-width: 720px) {
            .da-panel {
                top: auto;
                left: 0;
                right: 0;
                bottom: 0;
                width: 100%;
                max-height: 82vh;
                border-left: none;
                border-top: 1px solid var(--da-border);
                border-radius: var(--da-radius-lg) var(--da-radius-lg) 0 0;
                box-shadow: 0 -18px 40px rgba(23, 23, 23, 0.18);
                transform: translateY(100%);
            }

            .da-panel.da-open {
                transform: translateY(0);
            }

            .da-resize-handle {
                display: none;
            }

            .da-launcher {
                right: max(16px, var(--da-launcher-right) - 8px);
                bottom: max(16px, var(--da-launcher-bottom) - 8px);
            }
        }

        /* ============================================================
   Reduced motion
   ============================================================ */

        @media (prefers-reduced-motion: reduce) {

            .da-panel,
            .da-overlay,
            .da-launcher,
            .da-goto,
            .da-submit {
                transition: none !important;
            }

            .da-highlight {
                animation: none !important;
                background-color: var(--da-accent-soft) !important;
            }

            .da-result {
                animation: none !important;
            }

            .da-dot {
                animation: none !important;
                opacity: .7 !important;
            }
        }

        /* ============================================================
   High-contrast / forced-colors compatibility
   ============================================================ */

        @media (forced-colors: active) {

            .da-launcher,
            .da-goto,
            .da-submit {
                border: 2px solid ButtonText;
            }

            .da-panel {
                border: 2px solid ButtonText;
            }

            .da-highlight {
                outline: 3px solid Highlight;
            }
        }



        /* ============================================================
   PORTAL ADDITIONS — new components only. Nothing above this
   comment (the original stylesheet) is modified. Every rule below
   reuses the existing --accent / --dark / --grey / --border / --bg-card /
   --radius-* variables and the existing Poppins/Inter/IBM Plex Mono
   fonts — no new colors, spacing scale, or typography introduced.
   ============================================================ */

        /* ---------- Skip-to-content (accessibility) ---------- */
        .skip-link {
            position: absolute;
            left: 12px;
            top: -60px;
            z-index: 1000;
            background: var(--accent);
            color: #fff;
            padding: 10px 18px;
            border-radius: var(--radius-sm);
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 13.5px;
            transition: top .15s ease;
        }

        .skip-link:focus {
            top: 12px;
        }

        /* ---------- Breadcrumb trail (top of content column) ---------- */
        .breadcrumb-trail {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 8px;
            padding: 0 0 14px;
            text-transform: uppercase;
            font-size: 12px;
            letter-spacing: .04em;
            color: var(--grey-light);
            font-weight: 600;
        }

        .breadcrumb-trail a {
            color: var(--grey-light);
        }

        .breadcrumb-trail a:hover {
            color: var(--accent);
        }

        .breadcrumb-trail .bc-sep {
            color: #C9C9D6;
        }

        .breadcrumb-trail .bc-current {
            color: var(--accent);
        }

        /* ---------- Content topbar: breadcrumb + Copy Page ---------- */
        .content-topbar {
            display: none;
            align-items: flex-start;
            justify-content: space-between;
            gap: 16px;
            padding-bottom: 14px;
            margin-bottom: 8px;
            border-bottom: 1px solid var(--border);
        }

        .content-topbar.visible {
            display: flex;
        }

        .content-topbar .breadcrumb-trail {
            padding-bottom: 0;
            border-bottom: none;
        }

        .btn-copy-page {
            display: flex;
            align-items: center;
            gap: 8px;
            flex: none;
            padding: 8px 14px;
            font-size: 13px;
            font-weight: 600;
            color: var(--dark);
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 9px;
            cursor: pointer;
            transition: background .15s ease, border-color .15s ease;
        }

        .btn-copy-page:hover {
            background: #EFEFEF;
            border-color: #DADADA;
        }

        .btn-copy-page svg {
            flex: none;
        }

        .btn-copy-page .cp-chevron {
            margin-left: 2px;
            color: var(--grey-light);
        }

        .btn-copy-page.copied {
            color: var(--success);
            border-color: var(--success);
            background: #F0F8E8;
        }

        /* ---------- Docs shell: hidden until a module/search opens it ---------- */
        .docs-shell {
            display: none;
        }

        .docs-shell.is-open {
            display: block;
        }

        /* ---------- Back to modules (shown inside open documentation) ---------- */
        .btn-back-modules {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            flex: none;
            padding: 8px 12px;
            font-size: 13px;
            font-weight: 600;
            color: var(--dark);
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 9px;
            cursor: pointer;
            transition: background .15s ease, border-color .15s ease, color .15s ease;
            font-family: inherit;
        }

        .btn-back-modules:hover {
            background: #EFEFEF;
            border-color: #DADADA;
            color: var(--accent);
        }

        .btn-back-modules svg {
            flex: none;
        }

        .content-topbar-actions {
            display: flex;
            align-items: center;
            gap: 10px;
            flex: none;
        }

        /* ---------- Doc meta strip (version / last updated) ---------- */
        .doc-meta-strip {
            display: flex;
            flex-wrap: wrap;
            gap: 22px;
            align-items: center;
            font-size: 13px;
            color: var(--grey-light);
            font-weight: 500;
        }

        .doc-meta-strip strong {
            color: var(--dark);
            font-weight: 600;
        }

        .doc-meta-strip .dot {
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background: var(--border);
            display: inline-block;
        }

        /* ---------- Documentation statistics strip ---------- */
        .stat-strip {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 16px;
            margin: 32px 0;
        }

        .stat-strip .stat-box {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            padding: 20px 22px;
            text-align: left;
        }

        .stat-strip .stat-num {
            font-family: 'Poppins', sans-serif;
            font-size: 28px;
            font-weight: 700;
            color: var(--accent);
            line-height: 1.1;
        }

        .stat-strip .stat-label {
            font-size: 13px;
            color: var(--grey);
            margin-top: 6px;
        }

        /* ---------- Quick-start button row ---------- */
        .quick-start-row {
            display: flex;
            flex-wrap: wrap;
            gap: 14px;
            margin-top: 28px;
        }

        /* ---------- Module card grid (Home page) ---------- */
        .module-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 20px;
            margin: 28px 0 8px;
        }

        .module-card {
            display: flex;
            flex-direction: column;
            gap: 10px;
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            padding: 24px;
            transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
        }

        .module-card:hover {
            box-shadow: 0 16px 34px -18px rgba(23, 23, 23, 0.22);
            transform: translateY(-2px);
            border-color: var(--accent);
        }

        .module-card .mc-icon {
            width: 42px;
            height: 42px;
            border-radius: var(--radius-sm);
            background: var(--accent-soft);
            color: var(--accent);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 19px;
        }

        .module-card h4 {
            margin: 0;
            font-size: 16px;
        }

        .module-card p {
            margin: 0;
            font-size: 13.5px;
            color: var(--grey);
            line-height: 1.6;
        }

        .module-card .mc-link {
            margin-top: auto;
            font-size: 13px;
            font-weight: 600;
            color: var(--accent);
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }

        /* ---------- Frequently accessed strip ---------- */
        .freq-list {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 14px;
        }

        .freq-chip {
            font-size: 13px;
            font-weight: 600;
            color: var(--dark);
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: 999px;
            padding: 8px 16px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .freq-chip .freq-count {
            color: var(--grey-light);
            font-weight: 500;
        }

        .freq-chip:hover {
            border-color: var(--accent);
            color: var(--accent);
        }

        /* ---------- Nested sidebar (multi-page navigation) ---------- */
        .side-group {
            display: flex;
            flex-direction: column;
        }

        .side-group>.side-link {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 8px;
        }

        .side-link-label {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            flex: 1;
            min-width: 0;
        }

        .side-group .side-caret {
            font-size: 11px;
            color: var(--grey-light);
            transition: transform .15s ease;
            margin-top: 3px;
            flex: none;
            display: none;
        }

        .side-group:has(.side-sublist) .side-caret {
            display: inline-block;
        }

        .side-group.expanded .side-caret {
            transform: rotate(90deg);
        }

        .side-sublist {
            display: none;
            flex-direction: column;
            padding-left: 34px;
            margin-top: 2px;
            margin-bottom: 6px;
        }

        .side-group.expanded .side-sublist {
            display: flex;
        }

        .side-sublink {
            font-size: 13.5px;
            color: var(--grey);
            font-weight: 500;
            padding: 7px 10px;
            border-radius: var(--radius-sm);
        }

        .side-sublink:hover {
            background: var(--bg-card);
            color: var(--dark);
        }

        .side-sublink.active {
            background: var(--accent-soft);
            color: var(--accent);
            font-weight: 600;
        }

        /* ---------- Command palette (Ctrl+K global search) ---------- */
        .cmdk-trigger {
            display: flex;
            align-items: center;
            gap: 10px;
            width: 100%;
            max-width: 320px;
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            padding: 9px 12px;
            font-size: 13.5px;
            color: var(--grey-light);
            cursor: pointer;
        }

        .cmdk-trigger kbd {
            margin-left: auto;
            font-family: 'IBM Plex Mono', Consolas, monospace;
            font-size: 11px;
            color: var(--grey);
            background: var(--white);
            border: 1px solid var(--border);
            border-radius: 5px;
            padding: 2px 6px;
        }

        .cmdk-overlay {
            position: fixed;
            inset: 0;
            z-index: 900;
            background: rgba(23, 23, 23, 0.35);
            display: flex;
            align-items: flex-start;
            justify-content: center;
            padding-top: 12vh;
            opacity: 0;
            pointer-events: none;
            transition: opacity .15s ease;
        }

        .cmdk-overlay.open {
            opacity: 1;
            pointer-events: auto;
        }

        .cmdk-box {
            width: min(560px, 90vw);
            background: var(--white);
            border-radius: var(--radius-lg);
            box-shadow: 0 30px 70px -20px rgba(23, 23, 23, 0.35);
            overflow: hidden;
            transform: translateY(-8px);
            transition: transform .15s ease;
        }

        .cmdk-overlay.open .cmdk-box {
            transform: translateY(0);
        }

        .cmdk-input {
            width: 100%;
            border: none;
            padding: 20px 22px;
            font-size: 16px;
            font-family: 'Inter', sans-serif;
            border-bottom: 1px solid var(--border);
            outline: none;
        }

        .cmdk-results {
            max-height: 360px;
            overflow-y: auto;
            padding: 8px;
        }

        .cmdk-item {
            display: flex;
            flex-direction: column;
            gap: 2px;
            padding: 12px 14px;
            border-radius: var(--radius-sm);
            cursor: pointer;
        }

        .cmdk-item:hover,
        .cmdk-item.active {
            background: var(--accent-soft);
        }

        .cmdk-item .cmdk-item-title {
            font-size: 14px;
            font-weight: 600;
            color: var(--dark);
        }

        .cmdk-item .cmdk-item-title mark {
            background: transparent;
            color: var(--accent);
            font-weight: 700;
        }

        .cmdk-item .cmdk-item-path {
            font-size: 12px;
            color: var(--grey-light);
        }

        .cmdk-empty {
            padding: 32px 22px;
            text-align: center;
            color: var(--grey-light);
            font-size: 13.5px;
        }

        .cmdk-ask-ai {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 14px 22px;
            font-size: 13.5px;
            font-weight: 600;
            color: var(--accent);
            border-top: 1px solid var(--border);
            cursor: pointer;
            transition: background .12s ease;
        }

        .cmdk-ask-ai:hover {
            background: var(--bg-card);
        }

        .cmdk-ask-ai .ai-spark {
            font-size: 14px;
        }

        /* ---------- Ask AI assistant ---------- */
        .nav-ai {
            display: flex;
            align-items: center;
            gap: 7px;
            background: var(--accent);
            border: 1px solid var(--accent);
            color: #fff;
            border-radius: var(--radius-sm);
            padding: 9px 14px;
            font-size: 13.5px;
            font-weight: 600;
            cursor: pointer;
            transition: background .15s ease;
        }

        .nav-ai:hover {
            background: #030192;
        }

        .nav-ai .ai-spark {
            font-size: 14px;
            line-height: 1;
        }

        /* Pill-shaped search + Ask AI trigger pair in the top nav */
        .nav-search-pill {
            display: flex;
            align-items: center;
            gap: 10px;
            background: #fff;
            border: 1px solid #E3E3EA;
            border-radius: 999px;
            padding: 10px 8px 10px 18px;
            font-size: 14px;
            color: #9A9AA5;
            cursor: pointer;
            min-width: 180px;
        }

        .nav-search-pill svg {
            flex: none;
            color: #9A9AA5;
        }

        .nav-search-pill span {
            flex: 1;
            text-align: left;
            white-space: nowrap;
        }

        .nav-search-kbd {
            font-family: var(--font-mono);
            font-size: 12px;
            color: #9A9AA5;
            background: #F2F2F6;
            border-radius: 6px;
            padding: 3px 9px;
            line-height: 1.3;
        }

        .nav-ai-pill {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #fff;
            border: 1.6px solid var(--primary);
            border-radius: 999px;
            padding: 10px 20px;
            font-size: 14px;
            font-weight: 700;
            color: var(--primary);
            cursor: pointer;
            white-space: nowrap;
            transition: background .15s ease, color .15s ease;
        }

        .nav-ai-pill:hover {
            background: var(--primary);
            color: #fff;
        }

        .nav-ai-pill .ai-spark {
            font-size: 15px;
            line-height: 1;
        }

        .ai-overlay {
            position: fixed;
            inset: 0;
            z-index: 950;
            background: rgba(23, 23, 23, 0.35);
            display: flex;
            align-items: flex-end;
            justify-content: flex-end;
            padding: 24px;
            opacity: 0;
            pointer-events: none;
            transition: opacity .15s ease;
        }

        .ai-overlay.open {
            opacity: 1;
            pointer-events: auto;
        }

        .ai-box {
            width: min(400px, 92vw);
            height: min(560px, 80vh);
            background: var(--white);
            border-radius: var(--radius-lg);
            box-shadow: 0 30px 70px -20px rgba(23, 23, 23, 0.4);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            transform: translateY(12px);
            transition: transform .15s ease;
        }

        .ai-overlay.open .ai-box {
            transform: translateY(0);
        }

        .ai-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 18px;
            background: var(--dark);
            color: #fff;
            font-weight: 700;
            font-size: 14.5px;
        }

        .ai-header .ai-close {
            background: none;
            border: none;
            color: #fff;
            font-size: 16px;
            cursor: pointer;
            opacity: .8;
        }

        .ai-header .ai-close:hover {
            opacity: 1;
        }

        .ai-messages {
            flex: 1;
            overflow-y: auto;
            padding: 16px 18px;
            display: flex;
            flex-direction: column;
            gap: 12px;
            background: var(--bg-card);
        }

        .ai-msg {
            max-width: 88%;
            padding: 10px 13px;
            border-radius: var(--radius-sm);
            font-size: 13.5px;
            line-height: 1.5;
        }

        .ai-msg.bot {
            background: var(--white);
            border: 1px solid var(--border);
            color: var(--dark);
            align-self: flex-start;
        }

        .ai-msg.user {
            background: var(--accent);
            color: #fff;
            align-self: flex-end;
        }

        .ai-msg a {
            color: var(--accent);
            text-decoration: underline;
        }

        .ai-msg.bot a {
            color: var(--accent);
        }

        .ai-suggested {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            padding: 0 18px 12px;
            background: var(--bg-card);
        }

        .ai-suggested button {
            font-size: 12px;
            padding: 6px 10px;
            border-radius: 999px;
            border: 1px solid var(--border);
            background: var(--white);
            color: var(--grey);
            cursor: pointer;
        }

        .ai-suggested button:hover {
            border-color: var(--accent);
            color: var(--accent);
        }

        .ai-input-row {
            display: flex;
            gap: 8px;
            padding: 12px 14px;
            border-top: 1px solid var(--border);
            background: var(--white);
        }

        .ai-input {
            flex: 1;
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            padding: 10px 12px;
            font-size: 13.5px;
            font-family: 'Inter', sans-serif;
            outline: none;
        }

        .ai-input:focus {
            border-color: var(--accent);
        }

        .ai-send {
            background: var(--accent);
            border: 1px solid var(--accent);
            color: #fff;
            border-radius: var(--radius-sm);
            padding: 0 16px;
            font-size: 13.5px;
            font-weight: 600;
            cursor: pointer;
        }

        .ai-send:hover {
            background: #030192;
        }

        /* ---------- Footer language control (flag + name + caret, bottom row) ---------- */
        .foot-bottom {
            position: relative;
        }

        .lang-control {
            display: flex;
            align-items: center;
            gap: 8px;
            position: relative;
            cursor: pointer;
            color: #fff;
            font-weight: 600;
            font-size: 13.5px;
            order: -1;
            user-select: none;
        }

        .lang-control .lang-flag {
            display: block;
            border-radius: 2px;
            flex: none;
            box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
        }

        .lang-control .lang-text {
            white-space: nowrap;
        }

        .lang-control .lang-caret {
            font-size: 8px;
            color: #8A8A95;
            transition: transform .15s ease;
        }

        .lang-control:hover .lang-caret,
        .lang-control[aria-expanded="true"] .lang-caret {
            color: #B7B7C3;
        }

        .lang-control[aria-expanded="true"] .lang-caret {
            transform: rotate(180deg);
        }

        .lang-menu {
            list-style: none;
            margin: 0;
            padding: 6px;
            position: absolute;
            left: 0;
            bottom: calc(100% + 12px);
            background: var(--dark, #16324F);
            border: 1px solid rgba(255, 255, 255, 0.14);
            border-radius: var(--radius-md, 10px);
            box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.55);
            min-width: 230px;
            max-height: 280px;
            overflow-y: auto;
            display: none;
            z-index: 20;
        }

        .lang-menu.open {
            display: block;
        }

        .lang-menu li {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 10px;
            border-radius: 6px;
            font-size: 13px;
            font-weight: 500;
            color: #EDEDF2;
            cursor: pointer;
            white-space: nowrap;
        }

        .lang-menu li:hover,
        .lang-menu li.active {
            background: rgba(255, 255, 255, 0.08);
        }

        .lang-menu li img {
            display: block;
            flex: none;
            border-radius: 2px;
            box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
        }

        /* Hide Google Translate's own banner/toolbar chrome — we drive translation
   through our own control instead of Google's default widget UI. */
        .goog-te-banner-frame.skiptranslate {
            display: none !important;
        }

        body {
            top: 0 !important;
        }

        .goog-te-gadget-icon {
            display: none !important;
        }

        .goog-tooltip,
        .goog-tooltip:hover {
            display: none !important;
        }

        .goog-text-highlight {
            background: none !important;
            box-shadow: none !important;
        }

        #google_translate_element {
            position: absolute;
            left: -9999px;
            top: auto;
            width: 1px;
            height: 1px;
            overflow: hidden;
        }

        /* ---------- Document Control page tables & meta ---------- */
        .doc-control-table td:first-child {
            font-weight: 600;
            color: var(--dark);
            width: 220px;
        }

        .confidentiality-box {
            background: var(--bg-card);
            border: 1px solid var(--border);
            border-left: 3px solid var(--accent);
            border-radius: var(--radius-sm);
            padding: 16px 18px;
            font-size: 13.5px;
            color: var(--grey);
        }

        /* ---------- Screen Components / Permissions tables: sticky header + zebra ---------- */
        .table-wrap table thead th {
            position: sticky;
            top: 0;
            background: var(--white);
            z-index: 1;
        }

        .table-wrap table tbody tr:nth-child(even) {
            background: var(--bg-card);
        }

        /* ---------- Numbered callouts on screenshots ---------- */
        .shot-callout-wrap {
            position: relative;
            display: inline-block;
            width: 100%;
        }

        .shot-callout {
            position: absolute;
            width: 26px;
            height: 26px;
            border-radius: 50%;
            background: var(--accent);
            color: #fff;
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
            font-size: 13px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9), 0 6px 14px rgba(53, 46, 255, 0.35);
        }

        /* ---------- Warning / Note / Best Practice callout variants ---------- */
        .note-box,
        .warning-box,
        .practice-box {
            border-radius: var(--radius-md);
            padding: 18px 20px;
            font-size: 14px;
            line-height: 1.65;
            border: 1px solid var(--border);
            margin: 20px 0;
        }

        .note-box {
            background: var(--bg-card);
            border-left: 3px solid var(--accent);
        }

        .warning-box {
            background: #FFF8F0;
            border-left: 3px solid #E08A2E;
        }

        .practice-box {
            background: #F1FBF6;
            border-left: 3px solid #2FA36B;
        }

        .note-box .box-label,
        .warning-box .box-label,
        .practice-box .box-label {
            display: block;
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
            font-size: 11px;
            letter-spacing: .06em;
            text-transform: uppercase;
            margin-bottom: 8px;
        }

        .note-box .box-label {
            color: var(--accent);
        }

        .warning-box .box-label {
            color: #B9660A;
        }

        .practice-box .box-label {
            color: #1E8055;
        }

        /* ---------- Troubleshooting table ---------- */
        .trouble-table td:nth-child(1) {
            font-weight: 600;
            color: var(--dark);
        }

        /* ---------- Zoom-on-click affordance for figures (lightbox already exists; this just signals it) ---------- */
        figure.shot-wide {
            position: relative;
            cursor: zoom-in;
        }

        @media (max-width:860px) {
            .breadcrumb-trail {
                padding: 14px 20px;
            }

            .cmdk-trigger {
                max-width: 100%;
            }

            .nav-search-pill span {
                display: none;
            }

            .nav-search-pill {
                min-width: auto;
                padding: 10px;
            }

            .ai-overlay {
                padding: 0;
                align-items: stretch;
                justify-content: stretch;
            }

            .ai-box {
                width: 100%;
                height: 100%;
                border-radius: 0;
            }
        }

        /*!
 * Developer Guide Assistant — styles
 * -----------------------------------
 * Deliberately reuses the host page's own design tokens (CSS custom
 * properties) instead of introducing a new palette/type system. If the
 * host page defines --accent, --dark, --grey, --border, --white,
 * --bg-card, --radius-lg/md/sm and the Poppins/Inter/IBM Plex Mono
 * fonts (as this Developer Portal does), the assistant inherits them
 * automatically. The --da-* fallbacks below only kick in if a token is
 * missing, so this file can be dropped into a different guide too.
 */

        :root {
            --da-accent: var(--accent, #352EFF);
            --da-accent-soft: var(--accent-soft, #EAEAFF);
            --da-dark: var(--dark, #171717);
            --da-grey: var(--grey, #575757);
            --da-grey-light: var(--grey-light, #8A8A8A);
            --da-border: var(--border, #E7E7EF);
            --da-white: var(--white, #FFFFFF);
            --da-bg-card: var(--bg-card, #F7F8FC);
            --da-radius-lg: var(--radius-lg, 20px);
            --da-radius-md: var(--radius-md, 14px);
            --da-radius-sm: var(--radius-sm, 9px);
            --da-font-heading: 'Poppins', system-ui, sans-serif;
            --da-font-body: 'Inter', system-ui, sans-serif;
            --da-font-mono: 'IBM Plex Mono', Consolas, monospace;
            --da-panel-width: 400px;
            /* Bottom offset of the launcher — override per page via inline style
     (e.g. style="--da-launcher-bottom: 100px") when another fixed
     element (a back-to-top button, a cookie bar, etc.) already sits
     in the default corner. */
            --da-launcher-bottom: 24px;
            --da-launcher-right: 24px;
        }

        /* ============================================================
   Launcher (floating pill button, bottom-right by default)
   ============================================================ */

        .da-launcher {
            position: fixed;
            right: var(--da-launcher-right);
            bottom: var(--da-launcher-bottom);
            z-index: 2147483000;
            display: inline-flex;
            align-items: center;
            gap: 9px;
            height: 52px;
            padding: 0 20px 0 16px;
            border-radius: 999px;
            border: none;
            cursor: pointer;
            background: var(--da-accent);
            color: #fff;
            font-family: var(--da-font-heading);
            font-size: 14px;
            font-weight: 600;
            white-space: nowrap;
            box-shadow: 0 12px 28px rgba(53, 46, 255, 0.32), 0 2px 8px rgba(23, 23, 23, 0.12);
            transition: transform .15s ease, box-shadow .15s ease, padding .15s ease;
        }

        .da-launcher:hover {
            transform: translateY(-2px);
            box-shadow: 0 16px 34px rgba(53, 46, 255, 0.4);
        }

        .da-launcher:focus-visible {
            outline: 2px solid var(--da-accent);
            outline-offset: 3px;
        }

        .da-launcher-icon {
            display: block;
            flex: none;
        }

        .da-launcher-label {
            display: inline-block;
        }

        /* Once opened, collapse to an icon-only circle so it reads as a
   toggle rather than a repeated call-to-action while the panel is up. */
        .da-launcher[aria-expanded="true"] {
            width: 52px;
            padding: 0;
            justify-content: center;
        }

        .da-launcher[aria-expanded="true"] .da-launcher-label {
            display: none;
        }

        /* Small screens: icon-only from the start, to keep a light footprint
   next to other floating controls (e.g. a back-to-top button). */
        @media (max-width: 560px) {
            .da-launcher {
                width: 52px;
                padding: 0;
                justify-content: center;
            }

            .da-launcher-label {
                display: none;
            }
        }

        /* ============================================================
   Overlay (click-outside close; also the mobile sheet backdrop)
   ============================================================ */

        .da-overlay {
            position: fixed;
            inset: 0;
            z-index: 2147482998;
            background: rgba(23, 23, 23, 0.28);
            opacity: 0;
            pointer-events: none;
            transition: opacity .2s ease;
        }

        .da-overlay.da-open {
            opacity: 1;
            pointer-events: auto;
        }

        .da-overlay[hidden] {
            display: none;
        }

        /* ============================================================
   Panel (desktop: right-hand slide-in; mobile: bottom sheet)
   ============================================================ */

        .da-panel {
            position: fixed;
            z-index: 2147482999;
            top: 0;
            right: 0;
            height: 100%;
            width: min(var(--da-panel-width), 92vw);
            background: var(--da-white);
            border-left: 1px solid var(--da-border);
            box-shadow: -18px 0 40px rgba(23, 23, 23, 0.14);
            display: flex;
            flex-direction: column;
            transform: translateX(100%);
            transition: transform .28s cubic-bezier(.32, .72, 0, 1);
            font-family: var(--da-font-body);
            color: var(--da-dark);
        }

        .da-panel.da-open {
            transform: translateX(0);
        }

        .da-panel[hidden] {
            display: none;
        }

        .da-resize-handle {
            position: absolute;
            left: -6px;
            top: 0;
            bottom: 0;
            width: 12px;
            cursor: ew-resize;
        }

        .da-header {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 12px;
            padding: 22px 22px 16px;
            border-bottom: 1px solid var(--da-border);
            flex: none;
        }

        .da-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-family: var(--da-font-heading);
            font-size: 11.5px;
            font-weight: 700;
            letter-spacing: .04em;
            text-transform: uppercase;
            color: var(--da-accent);
            margin-bottom: 6px;
        }

        .da-eyebrow::before {
            content: "";
            display: inline-block;
            width: 16px;
            height: 2px;
            background: var(--da-accent);
            border-radius: 2px;
        }

        .da-title {
            font-family: var(--da-font-heading);
            font-size: 18px;
            font-weight: 600;
            margin: 0;
            color: var(--da-dark);
        }

        .da-close {
            flex: none;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: 1px solid var(--da-border);
            background: var(--da-white);
            color: var(--da-grey);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background .15s ease, color .15s ease;
        }

        .da-close:hover {
            background: var(--da-bg-card);
            color: var(--da-dark);
        }

        .da-close:focus-visible {
            outline: 2px solid var(--da-accent);
            outline-offset: 2px;
        }

        .da-form {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 16px 22px;
            border-bottom: 1px solid var(--da-border);
            flex: none;
        }

        .da-input {
            flex: 1;
            font-family: var(--da-font-body);
            font-size: 14.5px;
            padding: 11px 14px;
            border-radius: var(--da-radius-sm);
            border: 1px solid var(--da-border);
            background: var(--da-bg-card);
            color: var(--da-dark);
        }

        .da-input::placeholder {
            color: var(--da-grey-light);
        }

        .da-input:focus {
            outline: none;
            border-color: var(--da-accent);
            background: var(--da-white);
            box-shadow: 0 0 0 3px var(--da-accent-soft);
        }

        .da-submit {
            flex: none;
            width: 38px;
            height: 38px;
            border-radius: var(--da-radius-sm);
            border: none;
            background: var(--da-accent);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 8px 18px rgba(53, 46, 255, 0.28);
            transition: transform .15s ease;
        }

        .da-submit:hover {
            transform: translateY(-1px);
        }

        .da-submit:focus-visible {
            outline: 2px solid var(--da-accent);
            outline-offset: 2px;
        }

        .da-body {
            flex: 1;
            overflow-y: auto;
            padding: 20px 22px 28px;
        }

        .da-body::-webkit-scrollbar {
            width: 6px;
        }

        .da-body::-webkit-scrollbar-thumb {
            background: var(--da-border);
            border-radius: 3px;
        }

        .da-sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        /* ---- Idle / empty state ---- */

        .da-empty p {
            font-size: 14px;
            color: var(--da-grey);
            line-height: 1.6;
            margin: 0 0 10px;
        }

        .da-empty-sub {
            font-size: 12.5px !important;
            color: var(--da-grey-light) !important;
        }

        /* ---- Result card ---- */

        .da-result {
            background: var(--da-bg-card);
            border: 1px solid var(--da-border);
            border-radius: var(--da-radius-md);
            padding: 18px 20px;
            animation: da-fade-in .2s ease;
        }

        .da-result-empty {
            background: transparent;
            border-style: dashed;
        }

        /* ---- Loading state (while the LLM backend is answering) ---- */

        .da-loading {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 22px 0;
            background: transparent;
            border: none;
        }

        .da-dot {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--da-accent);
            opacity: .35;
            animation: da-dot-bounce 1.1s ease-in-out infinite;
        }

        .da-dot:nth-child(2) {
            animation-delay: .15s;
        }

        .da-dot:nth-child(3) {
            animation-delay: .3s;
        }

        @keyframes da-dot-bounce {

            0%,
            80%,
            100% {
                opacity: .35;
                transform: translateY(0);
            }

            40% {
                opacity: 1;
                transform: translateY(-4px);
            }
        }

        /* ---- "AI" tag next to an LLM-drafted answer summary ---- */

        .da-ai-tag {
            display: inline-block;
            font-family: var(--da-font-heading);
            font-size: 9.5px;
            font-weight: 700;
            letter-spacing: .04em;
            color: var(--da-accent);
            background: var(--da-accent-soft);
            border-radius: 5px;
            padding: 1px 6px;
            vertical-align: middle;
        }

        .da-answer-label,
        .da-doc-label {
            font-family: var(--da-font-heading);
            font-size: 11px;
            font-weight: 700;
            letter-spacing: .06em;
            text-transform: uppercase;
            color: var(--da-grey-light);
            margin: 0 0 6px;
        }

        .da-doc-label {
            margin-top: 16px;
        }

        .da-answer {
            font-size: 14.5px;
            line-height: 1.65;
            color: var(--da-dark);
            margin: 0;
        }

        .da-doc-title {
            font-family: var(--da-font-heading);
            font-size: 15px;
            font-weight: 600;
            color: var(--da-dark);
            margin: 0 0 14px;
        }

        .da-goto {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-family: var(--da-font-heading);
            font-size: 13.5px;
            font-weight: 600;
            color: #fff;
            background: var(--da-accent);
            border: none;
            border-radius: var(--da-radius-sm);
            padding: 10px 16px;
            cursor: pointer;
            box-shadow: 0 8px 18px rgba(53, 46, 255, 0.24);
            transition: transform .15s ease, box-shadow .15s ease;
        }

        .da-goto:hover {
            transform: translateY(-1px);
            box-shadow: 0 10px 22px rgba(53, 46, 255, 0.32);
        }

        .da-goto:focus-visible {
            outline: 2px solid var(--da-accent);
            outline-offset: 2px;
        }

        .da-related {
            margin-top: 18px;
            padding-top: 16px;
            border-top: 1px solid var(--da-border);
        }

        .da-related-label {
            display: block;
            font-family: var(--da-font-heading);
            font-size: 11px;
            font-weight: 700;
            letter-spacing: .06em;
            text-transform: uppercase;
            color: var(--da-grey-light);
            margin-bottom: 10px;
        }

        .da-related-list {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .da-chip {
            font-family: var(--da-font-body);
            font-size: 12.5px;
            font-weight: 500;
            color: var(--da-accent);
            background: var(--da-accent-soft);
            border: none;
            border-radius: var(--da-radius-sm);
            padding: 7px 12px;
            cursor: pointer;
            transition: background .15s ease;
        }

        .da-chip:hover {
            background: var(--da-accent);
            color: #fff;
        }

        .da-chip:focus-visible {
            outline: 2px solid var(--da-accent);
            outline-offset: 2px;
        }

        @keyframes da-fade-in {
            from {
                opacity: 0;
                transform: translateY(4px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ============================================================
   Destination highlight (applied to the target .doc-section)
   ============================================================ */

        .da-highlight {
            animation: da-highlight-pulse 2.6s ease;
            border-radius: var(--da-radius-md);
        }

        @keyframes da-highlight-pulse {
            0% {
                box-shadow: 0 0 0 0 var(--da-accent-soft);
                background-color: var(--da-accent-soft);
            }

            15% {
                box-shadow: 0 0 0 6px var(--da-accent-soft);
                background-color: var(--da-accent-soft);
            }

            85% {
                box-shadow: 0 0 0 6px rgba(234, 234, 255, 0);
                background-color: var(--da-accent-soft);
            }

            100% {
                box-shadow: 0 0 0 0 rgba(234, 234, 255, 0);
                background-color: transparent;
            }
        }

        /* ============================================================
   Mobile — bottom sheet instead of side panel
   ============================================================ */

        @media (max-width: 720px) {
            .da-panel {
                top: auto;
                left: 0;
                right: 0;
                bottom: 0;
                width: 100%;
                max-height: 82vh;
                border-left: none;
                border-top: 1px solid var(--da-border);
                border-radius: var(--da-radius-lg) var(--da-radius-lg) 0 0;
                box-shadow: 0 -18px 40px rgba(23, 23, 23, 0.18);
                transform: translateY(100%);
            }

            .da-panel.da-open {
                transform: translateY(0);
            }

            .da-resize-handle {
                display: none;
            }

            .da-launcher {
                right: max(16px, var(--da-launcher-right) - 8px);
                bottom: max(16px, var(--da-launcher-bottom) - 8px);
            }
        }

        /* ============================================================
   Reduced motion
   ============================================================ */

        @media (prefers-reduced-motion: reduce) {

            .da-panel,
            .da-overlay,
            .da-launcher,
            .da-goto,
            .da-submit {
                transition: none !important;
            }

            .da-highlight {
                animation: none !important;
                background-color: var(--da-accent-soft) !important;
            }

            .da-result {
                animation: none !important;
            }

            .da-dot {
                animation: none !important;
                opacity: .7 !important;
            }
        }

        /* ============================================================
   High-contrast / forced-colors compatibility
   ============================================================ */

        @media (forced-colors: active) {

            .da-launcher,
            .da-goto,
            .da-submit {
                border: 2px solid ButtonText;
            }

            .da-panel {
                border: 2px solid ButtonText;
            }

            .da-highlight {
                outline: 3px solid Highlight;
            }
        }

        /* ============================================================
   Re-skin: aligns the documentation content's own design tokens
   (originally already close, since both derive from the same real
   FyscalTech brand) to the verified tokens from the actual brand
   CSS — rectangular surfaces, and the blue+pink accent pairing
   carried through consistently from the homepage above.
   ============================================================ */
        :root {
            --accent: #352eff;
            /* exact match — same real brand blue already in use */
            --accent-2: #ff00ff;
            /* was a plain blue-violet; now the real brand pink,
                             used here only in gradients/ambient glow, never
                             as a large filled surface — same rule as the homepage */
            --accent-soft: #352eff1a;
            --dark: #171717;
            --grey: #575757;
            --grey-light: #8A8A8A;
            --border: #efefef;
            --bg-card: #F7F8FC;
            --white: #FFFFFF;
            /* Rectangular, matching the homepage's real "all surfaces are 0" rule.
     Only chips/badges (already 999px) stay round, untouched below. */
            --radius-lg: 0;
            --radius-md: 0;
            --radius-sm: 0;
        }

        /* Unify typography with the homepage — Inter throughout (FT Sans substitute),
   JetBrains Mono in place of IBM Plex Mono (the real brand mono face). */
        body,
        h1,
        h2,
        h3,
        h4,
        .display,
        nav a,
        .btn,
        .eyebrow,
        .side-link,
        .sec-tag {
            font-family: 'Inter', system-ui, sans-serif;
        }

        code,
        .nav-crumb span,
        .mono {
            font-family: 'JetBrains Mono', ui-monospace, monospace;
        }

        /* Buttons: match the homepage's exact fill + hover-to-deep-indigo pattern */
        .btn-primary {
            background: var(--accent);
            border: 1.5px solid var(--accent);
            color: #fff;
        }

        .btn-primary:hover {
            background: #030192;
            border-color: #030192;
        }

        /* Doc-section entrance animation kept, but figure/card corners now square */
        figure.shot-wide img {
            border-radius: 0;
        }

        .module-card,
        .stat-box,
        .capability-card {
            border-radius: 0;
        }

/* ---- SPA/tabbed-interface additions ---- */
/* Additions for tabbed interface */
        .doc-section {
            display: none;
            opacity: 1;
            transform: none;
        }

        .doc-section.active-tab {
            display: block;
        }

        /* Ensure the sublist styling */
        .side-group {
            display: flex;
            flex-direction: column;
        }

        .side-group>.side-link {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 8px;
        }

        .side-link-label {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            flex: 1;
            min-width: 0;
        }

        .side-group .side-caret {
            font-size: 11px;
            color: var(--grey-light);
            transition: transform .15s ease;
            margin-top: 3px;
            flex: none;
            display: none;
        }

        .side-group:has(.side-sublist) .side-caret {
            display: inline-block;
        }

        .side-group.expanded .side-caret {
            transform: rotate(90deg);
        }

        .side-sublist {
            display: none;
            flex-direction: column;
            padding-left: 34px;
            margin-top: 2px;
            margin-bottom: 6px;
        }

        .side-group.expanded .side-sublist {
            display: flex;
        }

        .side-sublink {
            font-size: 13.5px;
            color: var(--grey);
            font-weight: 500;
            padding: 7px 10px;
            border-radius: var(--radius-sm);
        }

        .side-sublink:hover {
            background: var(--bg-card);
            color: var(--dark);
        }

        .side-sublink.active-sublink {
            background: var(--accent-soft);
            color: var(--accent);
            font-weight: 600;
        }

        /* ============ DEFENSIVE HEADING VISIBILITY FIX ============
           This file has several merged/duplicate stylesheets, which can cause
           heading colors to resolve inconsistently across browsers. Force all
           documentation headings to a readable dark color, always. */
        .doc-section h1,
        .doc-section h2,
        .doc-section h3,
        .doc-section h4,
        .doc-section .h4-plain,
        .doc-section .sub-num,
        .sidebar h1,
        .sidebar h2,
        .sidebar h3,
        .sidebar h4,
        .side-title,
        .side-link,
        .side-sublink {
            color: var(--dark, #171717) !important;
        }

        .doc-section .sub-num {
            color: var(--accent, #352eff) !important;
            background: var(--accent-soft, #eaeaff) !important;
        }

        .side-link.active,
        .side-link.active-tab {
            color: var(--accent, #352eff) !important;
        }

        .side-sublink.active-sublink {
            color: var(--accent, #352eff) !important;
        }

/* Optimized documentation loading */
.lazy-section-host { min-height: 0; }
.lazy-loading { display:flex; align-items:center; justify-content:center; gap:10px; min-height:220px; color:var(--muted,#667085); font-size:.95rem; }
.lazy-spinner { width:16px; height:16px; border:2px solid currentColor; border-right-color:transparent; border-radius:50%; animation:ft-spin .7s linear infinite; }
@keyframes ft-spin { to { transform:rotate(360deg); } }
.doc-section img { content-visibility:auto; }
