    .steps-footer-alert {
        margin-top: 1rem;
    }

    /* ──────────────── Sticky-bottom footer ────────────────
       Apr 2026 v2: switched from `position: fixed` to
       `position: sticky; bottom: 0`. Fixed positioning required
       reserving 86px of bottom space (via padding-bottom or
       margin-bottom on a child) so content didn't underlay the
       bar — but on Pixel-class viewports where content already
       fit, that reserved space showed up as scrollable empty
       region below the page.

       Sticky doesn't need reservation: when content fits in the
       viewport, the footer sits at the natural end of body
       (which has min-height: 100vh, so end-of-body = viewport
       bottom). When content overflows, it sticks to viewport
       bottom while content scrolls behind. Same UX, zero
       overscroll on short steps. */
    .steps-footer {
        position: sticky;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 50;
        padding: 0.875rem 1.5rem;
        padding-bottom: calc(0.875rem + env(safe-area-inset-bottom, 0px));
        margin: 0;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(24px) saturate(1.4);
        -webkit-backdrop-filter: blur(24px) saturate(1.4);
        border-top: 1px solid rgba(15, 23, 42, 0.06);
        box-shadow: 0 -10px 40px -16px rgba(15, 23, 42, 0.12),
                    0 -1px 0 0 rgba(255, 255, 255, 0.6) inset;
    }

    /* Same mobile-freeze workaround as `.ds-card` in store-setup —
       drop backdrop-filter on the sticky footer + context chips at
       <1024px and bump the footer background to keep it visually
       distinct from content scrolling underneath. */
    @media (max-width: 1023px) {
        .steps-footer,
        .ds-context-item,
        .nav-btn-ghost {
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
        }
        .steps-footer {
            background: rgba(255, 255, 255, 0.96);
        }
        /* btnGlow / btnGlowGreen run filter(brightness) on the
           primary Next/Launch button continuously. filter() is a
           paint operation, not composite-only, so each frame
           triggers a repaint. Combined with the rest of the
           Customize-step paint load this contributes to the mobile
           freeze. Static styling preserves the gradient + shadow
           appearance; only the glow pulse stops. */
        .nav-btn-primary { animation: none !important; }
    }

    /* A subtle hairline accent above the footer — picks up the active
       theme so the bar reads as part of the wizard, not a generic
       browser chrome strip. */
    .steps-footer::before {
        content: '';
        position: absolute;
        top: -1px;
        left: 50%;
        width: min(60%, 420px);
        height: 1px;
        transform: translateX(-50%);
        background: linear-gradient(90deg,
            transparent 0%,
            rgba(15, 23, 42, 0.1) 30%,
            rgba(15, 23, 42, 0.1) 70%,
            transparent 100%);
        pointer-events: none;
    }

    /* ──────────────── Context strip ──────────────── */
    /* Tiny badge row that surfaces the choices already made (AI tier,
       niche). Quiet by default; theme-tinted dot anchor.

       Desktop layout (Apr 2026): renders INLINE between the Back and
       Next buttons inside .steps-footer-inner — feels like an
       intentional summary, not a debug strip. The blade still puts
       it before .steps-footer-inner in the DOM, so we use absolute
       positioning to lift it into place visually on desktop while
       keeping the simpler stacked layout on mobile. */
    /* Context strip — promoted from a quiet inline pill row to a
       pill+label "Building:" header that frames the user's current
       choices (P6 polish). The "BUILDING" eyebrow gives the row
       semantic identity ("here's what you've picked") rather than
       reading as random tags floating between Back/Next. */
    .ds-context-strip {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.375rem 0.5rem;
        margin: 0 auto 0.625rem;
        max-width: 720px;
        padding: 0 0.5rem 0 0;
        font-size: 0.6875rem;
        color: #64748b;
    }
    .ds-context-strip::before {
        content: 'BUILDING';
        flex-shrink: 0;
        font-size: 0.5625rem;
        font-weight: 800;
        letter-spacing: 0.12em;
        color: #94a3b8;
        margin-right: 0.125rem;
    }
    /* Mobile: drop the "BUILDING" eyebrow. The footer is already
       cramped on a phone; the chips themselves carry enough context
       (icon-led, labeled) without needing a header word that pushes
       the row to wrap. */
    @media (max-width: 719px) {
        .ds-context-strip::before {
            content: none;
        }
    }

    .ds-context-item {
        display: inline-flex;
        align-items: center;
        gap: 0.3125rem;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(15, 23, 42, 0.08);
        padding: 0.25rem 0.6875rem 0.25rem 0.5rem;
        border-radius: 999px;
        line-height: 1;
        max-width: 100%;
        box-shadow: 0 2px 6px -2px rgba(15, 23, 42, 0.10);
        font-weight: 600;
        color: #334155;
        font-family: inherit;
        font-size: inherit;
        cursor: pointer;
        transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1),
                    border-color 0.15s ease,
                    box-shadow 0.15s ease;
    }
    .ds-context-item:hover {
        transform: translateY(-1px);
        border-color: rgba(15, 23, 42, 0.16);
        box-shadow: 0 4px 10px -2px rgba(15, 23, 42, 0.14);
    }
    .ds-context-item:active {
        transform: translateY(0) scale(0.97);
    }
    .ds-context-item:focus-visible {
        outline: 2px solid var(--ds-primary, #2090F0);
        outline-offset: 2px;
    }

    /* Icon-led chip — replaces the colored dot + uppercase label
       pattern. Saves horizontal space and reads more like a status
       pill than a key/value pair. */
    .ds-context-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 14px;
        height: 14px;
        line-height: 0;
    }
    .ds-context-icon svg {
        width: 14px;
        height: 14px;
    }

    .ds-context-strip.green  .ds-context-icon { color: #16a34a; }
    .ds-context-strip.blue   .ds-context-icon { color: #0E7BD9; }
    .ds-context-strip.orange .ds-context-icon { color: #ea580c; }
    .ds-context-strip.bw     .ds-context-icon { color: #18181b; }

    /* ──────────────── Full-AI hero chip ────────────────
       Premium glass capsule — clean white surface, violet accent ring,
       iridescent text, soft glow underneath. Replaced the previous
       rotating conic-gradient border because the rotating color stops
       read as visible "spokes" sweeping the perimeter rather than the
       intended smooth shimmer. New approach: static glass with a thin
       diagonal light sweep that crosses the chip every 4 seconds —
       the same effect luxury product cards use to feel premium without
       feeling busy. */
    .ds-context-item-hero {
        position: relative;
        padding: 0.25rem 0.6875rem 0.25rem 0.625rem;
        border-radius: 999px;
        background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(250,245,255,0.94));
        border: 1px solid rgba(139, 92, 246, 0.28);
        box-shadow:
            0 6px 20px -10px rgba(139, 92, 246, 0.55),
            0 0 0 3px rgba(139, 92, 246, 0.06),
            inset 0 1px 0 rgba(255,255,255,0.9);
        isolation: isolate;
        overflow: hidden;
    }

    /* Diagonal light-sweep — a thin band of brightness travels across
       the chip every 4s. Off-screen left to off-screen right, no hard
       color stops, so it reads as a single moving highlight rather than
       rotating lines. */
    .ds-context-item-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 40%;
        z-index: 0;
        pointer-events: none;
        background: linear-gradient(115deg,
            transparent 0%,
            rgba(255, 255, 255, 0) 30%,
            rgba(255, 255, 255, 0.85) 50%,
            rgba(255, 255, 255, 0) 70%,
            transparent 100%);
        animation: ds-hero-sweep 4s ease-in-out infinite;
    }
    @keyframes ds-hero-sweep {
        0%, 18%   { transform: translateX(-180%); opacity: 0; }
        25%       { opacity: 1; }
        55%       { opacity: 1; }
        70%, 100% { transform: translateX(420%);  opacity: 0; }
    }

    /* Iridescent text — single static gradient (no animation) so the
       color reads stable; the sweep above provides the motion. */
    .ds-context-item-hero .ds-context-value {
        position: relative;
        z-index: 1;
        background: linear-gradient(
            92deg,
            #7c3aed 0%,
            #6d28d9 25%,
            #2563eb 55%,
            #0E7BD9 100%
        );
        -webkit-background-clip: text;
                background-clip: text;
        -webkit-text-fill-color: transparent;
        font-weight: 800;
        letter-spacing: -0.005em;
    }

    /* Sparkles icon: violet with a soft glow + gentle breathing pulse
       (no rotation — rotation on a 14px sparkles icon was reading as
       jitter rather than personality). */
    .ds-context-item-hero .ds-context-icon {
        position: relative;
        z-index: 1;
        color: #8b5cf6;
        filter: drop-shadow(0 1px 4px rgba(139, 92, 246, 0.55));
        animation: ds-hero-pulse 2.6s ease-in-out infinite;
    }
    @keyframes ds-hero-pulse {
        0%, 100% { transform: scale(1);    opacity: 1; }
        50%      { transform: scale(1.10); opacity: 0.92; }
    }

    @media (prefers-reduced-motion: reduce) {
        .ds-context-item-hero::before,
        .ds-context-item-hero .ds-context-icon {
            animation: none;
        }
    }

    /* ──────────────── Elite-AI hero chip ────────────────
       Same shape + sweep + pulse as the Full AI chip, just dressed
       in Elite's emerald/teal palette. Layered AFTER the base hero
       rules so the same single-class hierarchy keeps the structure
       intact (border-radius, sweep timing, isolation/overflow).
       Only the colors flip. */
    .ds-context-item-hero.ds-context-item-hero-elite {
        background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(236,253,245,0.94));
        border-color: rgba(16, 185, 129, 0.32);
        box-shadow:
            0 6px 20px -10px rgba(16, 185, 129, 0.55),
            0 0 0 3px rgba(16, 185, 129, 0.06),
            inset 0 1px 0 rgba(255,255,255,0.9);
    }
    .ds-context-item-hero.ds-context-item-hero-elite .ds-context-value {
        background: linear-gradient(
            92deg,
            #047857 0%,
            #059669 30%,
            #0E7BD9 70%,
            #0E7BD9 100%
        );
        -webkit-background-clip: text;
                background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    .ds-context-item-hero.ds-context-item-hero-elite .ds-context-icon {
        color: #10b981;
        filter: drop-shadow(0 1px 4px rgba(16, 185, 129, 0.55));
    }

    /* Dark-mode Elite hero — same dark glass pattern as Full AI's
       dark variant, swapped to emerald. Layered AFTER the base
       html.dark .ds-context-item-hero rule below so it can override
       just the palette. */
    html.dark .ds-context-item-hero.ds-context-item-hero-elite {
        background: linear-gradient(135deg, rgba(6, 60, 50, 0.62), rgba(15, 25, 30, 0.85));
        border-color: rgba(45, 212, 191, 0.45);
        box-shadow:
            0 6px 20px -10px rgba(45, 212, 191, 0.65),
            0 0 0 3px rgba(45, 212, 191, 0.10),
            inset 0 1px 0 rgba(255, 255, 255, 0.10);
    }
    html.dark .ds-context-item-hero.ds-context-item-hero-elite .ds-context-value {
        background: linear-gradient(
            92deg,
            #6ee7b7 0%,
            #34d399 35%,
            #5eead4 65%,
            #8ec3ff 100%
        );
        -webkit-background-clip: text;
                background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    html.dark .ds-context-item-hero.ds-context-item-hero-elite .ds-context-icon {
        color: #6ee7b7;
        filter: drop-shadow(0 1px 6px rgba(45, 212, 191, 0.65));
    }

    .ds-context-value {
        font-weight: 700;
        color: #0f172a;
        max-width: 12rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Desktop: pull context strip into the same row as the buttons so
       it reads as one coherent control bar instead of a stacked bar.
       Centered between Back (left cluster) and Next (right cluster). */
    @media (min-width: 641px) {
        .ds-context-strip {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            margin: 0;
            padding: 0;
            max-width: calc(100% - 320px);
            pointer-events: none; /* labels-only — no click handlers */
        }
        .ds-context-item { pointer-events: auto; }
    }

    @media (max-width: 640px) {
        .ds-context-strip {
            margin-bottom: 0.375rem;
            font-size: 0.625rem;
        }
        .ds-context-value {
            max-width: 8rem;
        }
    }

    .steps-footer-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        max-width: 720px;
        margin: 0 auto;
        padding: 0 0.25rem;
    }

    /* Desktop with sales rail: the wizard frame and header expand to
       1180px to make room for the sticky right-side rail. The footer
       was still centered at 720px, so the Back/Next buttons floated
       off-axis from the header chrome above. Match the footer to the
       same 1180px envelope so logo · help (header) and back · next
       (footer) align as a single column structure. */
    @media (min-width: 1024px) {
        .steps-footer-inner {
            max-width: 1180px;
            padding: 0 1.5rem;
        }
    }

    .nav-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.375rem;
        padding: 0.75rem 1.125rem;
        font-size: 0.875rem;
        font-weight: 600;
        border-radius: 14px;
        border: none;
        cursor: pointer;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        text-decoration: none;
        min-height: 46px;
        font-family: var(--ds-font, inherit);
    }

    .nav-btn-ghost {
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        color: #64748b;
        border: 1px solid rgba(0, 0, 0, 0.06);
    }

    .nav-btn-ghost:hover {
        background: rgba(255, 255, 255, 0.85);
        border-color: rgba(0, 0, 0, 0.1);
        color: #334155;
        transform: translateY(-1px);
    }

    .nav-btn-primary {
        color: white;
        font-weight: 600;
        position: relative;
        overflow: hidden;
        animation: btnGlow 2.5s ease-in-out infinite;
    }

    .nav-btn-primary::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.6s ease;
    }

    .nav-btn-primary:hover:not(:disabled)::before {
        left: 100%;
    }

    @keyframes btnGlow {
        0%, 100% {
            filter: brightness(1);
        }
        50% {
            filter: brightness(1.1);
        }
    }

    .nav-btn-primary.green {
        background: linear-gradient(135deg, #10b981 0%, #22c55e 50%, #16a34a 100%);
        box-shadow: 0 4px 16px -2px rgba(34, 197, 94, 0.5), 0 2px 8px rgba(16, 185, 129, 0.3);
        animation-name: btnGlowGreen;
    }

    @keyframes btnGlowGreen {
        0%, 100% {
            filter: brightness(1);
            box-shadow: 0 4px 16px -2px rgba(34, 197, 94, 0.5), 0 2px 8px rgba(16, 185, 129, 0.3);
        }
        50% {
            filter: brightness(1.15);
            box-shadow: 0 6px 24px -2px rgba(34, 197, 94, 0.7), 0 4px 12px rgba(16, 185, 129, 0.5);
        }
    }

    .nav-btn-primary.blue {
        background: linear-gradient(135deg, #2090F0 0%, #0E7BD9 100%);
        box-shadow: 0 4px 16px -2px rgba(32, 144, 240, 0.5), 0 2px 8px rgba(14, 123, 217, 0.3);
        animation-name: btnGlowBlue;
    }

    @keyframes btnGlowBlue {
        0%, 100% {
            filter: brightness(1);
            box-shadow: 0 4px 16px -2px rgba(32, 144, 240, 0.5), 0 2px 8px rgba(14, 123, 217, 0.3);
        }
        50% {
            filter: brightness(1.15);
            box-shadow: 0 6px 24px -2px rgba(32, 144, 240, 0.7), 0 4px 12px rgba(14, 123, 217, 0.5);
        }
    }

    .nav-btn-primary.orange {
        background: linear-gradient(135deg, #FEC201 0%, #FDB813 40%, #F5A623 80%, #fb923c 100%);
        color: #1a1a1a;
        box-shadow: 0 4px 16px -2px rgba(253, 184, 19, 0.6), 0 2px 8px rgba(251, 146, 60, 0.4);
        animation-name: btnGlowOrange;
    }

    @keyframes btnGlowOrange {
        0%, 100% {
            filter: brightness(1);
            box-shadow: 0 4px 16px -2px rgba(253, 184, 19, 0.6), 0 2px 8px rgba(251, 146, 60, 0.4);
        }
        50% {
            filter: brightness(1.2);
            box-shadow: 0 6px 24px -2px rgba(253, 184, 19, 0.8), 0 4px 12px rgba(251, 146, 60, 0.6);
        }
    }

    .nav-btn-primary.bw {
        background: linear-gradient(135deg, #3f3f46 0%, #18181b 50%, #27272a 100%);
        box-shadow: 0 4px 16px -2px rgba(24, 24, 27, 0.5), 0 2px 8px rgba(63, 63, 70, 0.3);
        animation-name: btnGlowBw;
    }

    @keyframes btnGlowBw {
        0%, 100% {
            filter: brightness(1);
            box-shadow: 0 4px 16px -2px rgba(24, 24, 27, 0.5), 0 2px 8px rgba(63, 63, 70, 0.3);
        }
        50% {
            filter: brightness(1.1);
            box-shadow: 0 6px 24px -2px rgba(24, 24, 27, 0.7), 0 4px 12px rgba(63, 63, 70, 0.5);
        }
    }

    .nav-btn-primary:hover:not(:disabled) {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        animation: none;
    }

    .nav-btn-primary.green:hover:not(:disabled) {
        filter: brightness(1.15);
        box-shadow: 0 8px 28px -2px rgba(34, 197, 94, 0.7), 0 6px 16px rgba(16, 185, 129, 0.5);
    }

    .nav-btn-primary.blue:hover:not(:disabled) {
        filter: brightness(1.15);
        box-shadow: 0 8px 28px -2px rgba(32, 144, 240, 0.7), 0 6px 16px rgba(14, 123, 217, 0.5);
    }

    .nav-btn-primary.orange:hover:not(:disabled) {
        filter: brightness(1.2);
        box-shadow: 0 8px 28px -2px rgba(253, 184, 19, 0.8), 0 6px 16px rgba(251, 146, 60, 0.6);
    }

    .nav-btn-primary.bw:hover:not(:disabled) {
        filter: brightness(1.1);
        box-shadow: 0 8px 28px -2px rgba(24, 24, 27, 0.7), 0 6px 16px rgba(63, 63, 70, 0.5);
    }

    .nav-btn-primary:active:not(:disabled) {
        transform: translateY(0) scale(0.98);
    }

    /* Tap flash — single-shot scale + glow when a footer button is
       tapped (paired with a brief navigator.vibrate via JS for haptic
       feedback on mobile). The .tapped class is added on click and
       removed after the animation finishes; CSS-driven so re-tapping
       restarts cleanly. */
    .nav-btn.tapped {
        animation: ds-nav-tap 0.32s cubic-bezier(0.4, 0, 0.2, 1) both;
    }
    @keyframes ds-nav-tap {
        0%   { transform: scale(1); }
        35%  { transform: scale(0.94); }
        100% { transform: scale(1); }
    }
    .nav-btn-ghost.tapped {
        background: rgba(15, 23, 42, 0.08);
    }
    .nav-btn-primary.tapped {
        filter: brightness(1.15);
    }

    .nav-btn-disabled {
        background: rgba(243, 244, 246, 0.7);
        color: #94a3b8;
        cursor: not-allowed;
        font-weight: 500;
        border: 1px solid rgba(0, 0, 0, 0.04);
        min-height: 46px;
    }

    .nav-btn-create {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .ds-footer-primary-slot {
        display: flex;
    }

    /* No bottom-clearance margin needed anymore — sticky footer
       naturally sits at the right place without requiring reserved
       space below content. */

    @media (max-width: 640px) {
        .ds-footer-primary-slot {
            flex: 1;
            min-width: 0;
        }

        /* Mobile-specific footer paddings + soft brand-agnostic glass.
           `bottom: -1px` (with the base rule's `position: sticky`)
           closes a sub-pixel gap that lets a thin slice of page
           content peek through under the footer on some Android
           Chrome / iOS Safari builds — caused by viewport-height
           rounding when the URL bar collapses. */
        .steps-footer {
            background: rgba(255, 255, 255, 0.92);
            border-top: 1px solid rgba(0, 0, 0, 0.04);
            padding: 0.75rem 1rem;
            padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
            box-shadow: 0 -4px 24px -4px rgba(0, 0, 0, 0.04);
            bottom: -1px;
        }
        .steps-footer::before { display: none; }

        .steps-footer-inner {
            gap: 0.5rem;
            padding: 0 4px;
        }

        .nav-btn {
            min-height: 48px;
            padding: 0.75rem 1rem;
            font-size: 0.875rem;
            border-radius: 12px;
        }

        /* Primary button takes all remaining space on mobile */
        .nav-btn-primary,
        .nav-btn-disabled {
            flex: 1;
            min-height: 50px;
            justify-content: center;
            border-radius: 14px;
            font-size: 0.9375rem;
        }

        /* Ghost buttons stay compact */
        .nav-btn-ghost {
            padding: 0.625rem 0.75rem;
            min-height: 44px;
        }

        .nav-btn-ghost span {
            display: none;
        }

        /* Disable hover animations on touch */
        .nav-btn-primary:hover:not(:disabled) {
            transform: none;
            animation: none;
        }

        .nav-btn-primary:active:not(:disabled) {
            transform: scale(0.97);
            filter: brightness(0.92);
            transition-duration: 0.1s;
        }

        .nav-btn-ghost:active {
            transform: scale(0.95);
            transition-duration: 0.1s;
        }
    }

    @media (max-width: 374px) {
        .steps-footer {
            padding: 0.625rem 0.75rem;
            padding-bottom: calc(0.625rem + env(safe-area-inset-bottom, 0px));
        }
        .steps-footer-inner {
            padding: 0 2px;
            gap: 0.375rem;
        }

        .nav-btn-primary,
        .nav-btn-disabled {
            min-height: 48px;
            font-size: 0.875rem;
        }
    }

    /* ===== Pay & Launch — stacked label ("Pay $X & Launch" + sub "+ applicable tax") =====
       The .nav-btn parent is `display: inline-flex; align-items: center;` so its direct
       children lay out in a row. Wrapping the two labels in `.ds-pay-stack` forces a
       column for THIS wrapper specifically, putting the tax suffix on its own line.
       Same class used in express-launch — keeping the pattern consistent. Telegram 7721. */
    .ds-pay-stack {
        display: inline-flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        line-height: 1.05;
        gap: 0.1rem;
    }
    .ds-pay-stack-main {
        font-size: inherit;
        font-weight: inherit;
        line-height: 1.1;
    }
    .ds-pay-stack-sub {
        font-size: 0.6875rem;
        font-weight: 500;
        line-height: 1.1;
        opacity: 0.78;
        letter-spacing: 0.01em;
    }

    /* ===== Epic Launch Button ===== */
    .nav-btn-launch {
        position: relative;
        overflow: hidden;
    }

    /* Optimistic-disabled state while a boost-upsell toggle is in flight. */
    .nav-btn-launch {
        transition: opacity 0.12s ease-out;
    }
    .nav-btn-launch.is-pending-upsell {
        opacity: 0.5;
        cursor: wait;
        pointer-events: none;
        filter: grayscale(0.4);
    }

    .nav-btn-launch .launch-rocket {
        width: 1rem;
        height: 1rem;
        transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .nav-btn-launch:hover .launch-rocket {
        transform: translate(2px, -2px) rotate(-15deg);
    }

    .nav-btn-launch:active .launch-rocket {
        transform: translate(4px, -4px) rotate(-25deg) scale(1.1);
    }

    /* Instant launch state — applied via JS onclick before Livewire round-trip */
    .nav-btn-launch.launching {
        pointer-events: none;
        animation: launchPulse 1.2s ease-in-out infinite;
    }

    .nav-btn-launch.launching .launch-label {
        display: none;
    }

    .nav-btn-launch.launching .launch-rocket {
        display: none;
    }

    .nav-btn-launch.launching .launch-spinner-ring {
        display: inline-block !important;
    }

    /* Custom spinner ring */
    .launch-spinner-ring {
        width: 20px;
        height: 20px;
        border: 2.5px solid rgba(255, 255, 255, 0.3);
        border-top-color: #fff;
        border-radius: 50%;
        animation: launchSpin 0.7s linear infinite;
    }

    .nav-btn-primary.orange .launch-spinner-ring {
        border-color: rgba(0, 0, 0, 0.15);
        border-top-color: #1a1a1a;
    }

    /* Already-submitted state */
    .nav-btn-primary.launch-active {
        pointer-events: none;
        animation: launchPulse 1.2s ease-in-out infinite;
    }

    .nav-btn-primary.launch-active .launch-spinner-ring {
        display: inline-block;
        margin-right: 0.25rem;
    }

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

    @keyframes launchPulse {
        0%, 100% {
            filter: brightness(1);
            transform: scale(1);
        }
        50% {
            filter: brightness(1.15);
            transform: scale(1.02);
        }
    }

    /* Particle burst on launch */
    .launch-particles {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 9999;
    }

    .launch-particle {
        position: absolute;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        animation: particleFly 0.8s ease-out forwards;
        opacity: 0;
    }

    @keyframes particleFly {
        0% {
            opacity: 1;
            transform: translate(0, 0) scale(1);
        }
        100% {
            opacity: 0;
            transform: translate(var(--px), var(--py)) scale(0);
        }
    }

    /* ─── Dark mode ─────────────────────────────────────────────
       The base footer is a translucent white glass. On a dark
       page that reads as a bright bar clamped to the bottom of
       the viewport, fighting the wizard chrome. Invert to a
       translucent dark glass with the same blur + a faint
       hairline above so it still reads as a distinct surface
       from the page below. */
    html.dark .steps-footer {
        background: rgba(15, 15, 18, 0.78);
        border-top-color: rgba(255, 255, 255, 0.06);
        box-shadow:
            0 -10px 40px -16px rgba(0, 0, 0, 0.55),
            0 -1px 0 0 rgba(255, 255, 255, 0.04) inset;
    }
    html.dark .steps-footer::before {
        background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.10) 30%,
            rgba(255, 255, 255, 0.10) 70%,
            transparent 100%);
    }
    html.dark .steps-footer-alert {
        color: #fca5a5;
    }

    /* Context strip — "BUILDING (pill) (pill)" between Back/Next.
       The chips become muted dark glass; the "BUILDING" eyebrow
       and the value text both lift to light slate so the row
       still reads as a coherent summary. */
    html.dark .ds-context-strip {
        color: #a1a1aa;
    }
    html.dark .ds-context-strip::before {
        color: #71717a;
    }
    html.dark .ds-context-item {
        background: rgba(39, 39, 42, 0.6);
        border-color: rgba(255, 255, 255, 0.08);
        color: #e4e4e7;
        box-shadow: 0 2px 6px -2px rgba(0, 0, 0, 0.45);
    }
    html.dark .ds-context-value {
        color: #fafafa;
    }
    html.dark .ds-context-strip.green  .ds-context-icon { color: #6ee7b7; }
    html.dark .ds-context-strip.blue   .ds-context-icon { color: #8ec3ff; }
    html.dark .ds-context-strip.orange .ds-context-icon { color: #fcd34d; }
    html.dark .ds-context-strip.bw     .ds-context-icon { color: #f4f4f5; }

    /* Full-AI hero chip — keep the violet identity by tinting
       the dark glass, not flattening it. The diagonal sweep
       sits over a darker base so the white peak still reads
       as a moving highlight; the iridescent text shifts to
       brighter cool tones for legibility on the dark surface. */
    html.dark .ds-context-item-hero {
        background: linear-gradient(135deg, rgba(76, 29, 149, 0.55), rgba(30, 27, 75, 0.78));
        border-color: rgba(167, 139, 250, 0.45);
        box-shadow:
            0 6px 20px -10px rgba(167, 139, 250, 0.65),
            0 0 0 3px rgba(167, 139, 250, 0.10),
            inset 0 1px 0 rgba(255, 255, 255, 0.10);
    }
    html.dark .ds-context-item-hero::before {
        background: linear-gradient(115deg,
            transparent 0%,
            rgba(255, 255, 255, 0) 30%,
            rgba(255, 255, 255, 0.45) 50%,
            rgba(255, 255, 255, 0) 70%,
            transparent 100%);
    }
    html.dark .ds-context-item-hero .ds-context-value {
        background: linear-gradient(
            92deg,
            #c4b5fd 0%,
            #a5b4fc 35%,
            #93c5fd 65%,
            #8ec3ff 100%
        );
        -webkit-background-clip: text;
                background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    html.dark .ds-context-item-hero .ds-context-icon {
        color: #c4b5fd;
        filter: drop-shadow(0 1px 6px rgba(167, 139, 250, 0.65));
    }

    @media (max-width: 640px) {
        html.dark .steps-footer {
            background: rgba(15, 15, 18, 0.92);
            border-top-color: rgba(255, 255, 255, 0.06);
            box-shadow: 0 -4px 24px -4px rgba(0, 0, 0, 0.55);
        }
    }
