        :root {
            --card-w: 967px;
            --card-h: 397px;
            --radius: 16px;
            --bg: #FFFFFF;
            --muted: rgba(255, 255, 255, 0.12);
            --accent: #fff;
            --glass: rgba(255, 255, 255, 0.03);
            --glass-strong: rgba(255, 255, 255, 0.06);
            --gap: 28px;
            --left-w: 40%;
        }

        * {
            box-sizing: border-box;
        }

        body {
            margin: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #FFFFFF;
            min-height: 100vh;
            font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
            color: var(--accent)
        }

        .stage {
            width: min(var(--card-w), 94vw)
        }

        .card {
            position: relative;
            width: 100%;
            height: var(--card-h);
            border-radius: var(--radius);
        }

        /* SVG inserted as an inset background — it sits full-bleed inside the card */
        .card .inset-svg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        .card .inset-svg.under {
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translate(-50%, 280px);
            min-width: 1440px;
            height: auto;
            z-index: 0;
        }

        /* content sits above the svg */
        .content {
            position: relative;
            z-index: 2;
            display: flex;
            height: 100%
        }

        /* left slogan area */
        .slogan {
            width: var(--left-w);
            padding: 36px 40px;
            display: flex;
            align-items: center;
            flex-direction: column;
            justify-content: center;
            gap: 14px
        }

        .slogan h1 {
            margin: 0;
            font-size: 26px;
            line-height: 1.05
        }

        .slogan p {
            margin: 0;
            color: rgba(255, 255, 255, 0.75);
            max-width: 320px
        }

        /* right panel holds the form; we keep it semi-opaque so svg shows subtly through */
        .panel {
            flex: 1;
            padding: 28px 120px 28px 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: stretch;
            gap: 12px;
        }

        .meta {
            font-size: 14px;
            color: #FFFFFF;
            font-weight: 600;
            margin-bottom: 20px;
        }

        .field {
            margin-bottom: 8px
        }

        input[type="text"],
        input[type="email"] {
            max-width: 100%;
            width: 100%;
            padding: 12px 14px;
            border-radius: 8px;
            border: 1px solid rgba(255, 255, 255, 0.06);
            background: rgba(255, 255, 255, 0.02);
            color: white;
            font-size: 14px;
            outline: none
        }

        input::placeholder {
            color: rgba(255, 255, 255, 0.45)
        }

        input.error {
            border: 1px solid rgb(186, 25, 25) !important;
        }


        .controls {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 14px;
            flex-direction: column;
            gap: 14px;
        }

        .dots {
            display: flex;
            gap: 6px;
            align-items: center;
            justify-content: center;
        }

        .dot {
            width: 10px;
            height: 6px;
            border-radius: 99px;
            background: rgba(255, 255, 255, 0.12)
        }

        .dot.active {
            background: white
        }

        .btn {
            min-width: 416px;
            padding: 12px 18px;
            border-radius: 10px;
            border: none;
            background: white;
            color: #081018;
            font-weight: 700;
            cursor: pointer;
        }

        .thanks {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: none;
            z-index: 10;
            justify-content: center;
            align-items: center;
        }

        .thank-you-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        #label-container {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-bottom: 24px;
        }

        /* Capsule container */
        .label {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.85rem 3rem;
            font-size: 0.875rem;
            font-weight: 500;
            border-radius: 9999px;
            background: linear-gradient(to top, #E0E0E0, #FFFFFF);
            color: #494D52;
            cursor: default;
            user-select: none;
            margin: 4px;
        }

        /* Icon styling */
        .label .icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
        }

        .logo-container {
            width: 100%;
            display: flex;
            justify-content: center;
            margin-bottom: 54px;
        }

        .logo {
            object-fit: contain;
        }

        /* ========== MOBILE STYLES ========== */
        .mobile-card {
            display: none;
            position: relative;
            width: 100%;
            border-radius: var(--radius);
            overflow: hidden;
            margin-top: 24px;
            flex-direction: column;
            min-height: 600px;
            /* background: #010F20; */
            /* Fallback background color */
        }

        .mobile-card .mobile-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            /* Fixed height for mobile background */
            object-fit: cover;
            z-index: 0;
        }

        .mobile-card .mobile-content {
            position: relative;
            z-index: 1;
            display: flex;
            flex-direction: column;
            padding: 0;
            color: white;
            height: 100%;
        }

        .mobile-card .slogan {
            width: 100%;
            padding: 20px;
            text-align: center;
            position: absolute;
            top: 0;
            z-index: 2;
            height: 220px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .mobile-card .slogan h1 {
            font-size: 22px;
            margin: 0;
        }

        .mobile-card .panel {
            width: 100%;
            padding: 240px 20px 200px;
            /* more bottom padding so content doesn't overlap the image */
            background: transparent;
            margin-top: 0;
        }

        .mobile-card .btn {
            min-width: unset;
            width: 100%;
        }

        /* Mobile undermost image container - UPDATED */
        .mobile-card .under-container {
            position: absolute;
            bottom: -90px;
            left: 0;
            width: 100%;
            height: auto;
            overflow: hidden;
            z-index: 3;
            pointer-events: none;
            /* Hide the top portion of the image */
            margin-top: -40px;
            /* Adjust this value to control how much is hidden */
            padding-top: 40px;
            /* Compensate for the hidden portion */
        }

        /* Mobile undermost image - UPDATED */
        .mobile-card .under-container .inset-svg.under {
            position: relative;
            width: 100%;
            max-width: none;
            height: auto;
            left: 0;
            transform: none;
            margin: 0;
            padding: 0;
        }

        .mobile-card .under-container .inset-svg.under img {
            display: block;
            width: 100%;
            height: auto;
            margin: 0;
            padding: 0;
        }

        /* ensure the form has enough bottom padding so the inputs don't sit under the image */
        .mobile-card .panel {
            width: 100%;
            padding: 240px 20px 280px;
            /* increased bottom padding to guarantee space for the undermost image */
            background: transparent;
            margin-top: 0;
        }

        /* tighten for very narrow phones */
        @media (max-width: 360px) {
            .mobile-card .panel {
                padding: 220px 16px 240px;
            }
        }

        /* Show mobile card under 720px */
        @media (max-width: 720px) {
            body {
                margin: 16px;
                display: block;
                background: #FFFFFF;
            }

            .stage {
                width: 100%;
            }

            .logo-container {
                margin-bottom: 16px;
                margin-top: 40px;
            }

            #label-container {
                flex-direction: column;
                align-items: center;
                margin-bottom: 16px;
            }

            .card:not(.mobile-card) {
                display: none;
            }

            .mobile-card {
                display: flex;
            }

            /* Adjust label padding for mobile */
            .label {
                padding: 0.75rem 2rem;
                font-size: 0.8rem;
            }
        }