:root {
            --ink: #0f1f1a;
            --forest: #123b2e;
            --forest-deep: #0b2a20;
            --mint: #40bfa6;
            --leaf: #40916c;
            --flame: #f2a33a;
            --paper: #f6f8f6;
            --line: #d9e2dd;
            --muted: #5b6b64;
            --danger: #b42318;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html,
        body {
            height: 100%;
        }

        body {
            font-family: 'DM Sans', system-ui, sans-serif;
            color: var(--ink);
            background: var(--paper);
            -webkit-font-smoothing: antialiased;
        }

        .shell {
            min-height: 100%;
            display: grid;
            grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
        }

        /* ---------- Brand panel ---------- */
        .brand {
            position: relative;
            overflow: hidden;
            padding: 48px 56px;
            color: #fff;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            background:
                radial-gradient(900px 500px at 85% 110%, rgba(64, 191, 166, .28), transparent 60%),
                linear-gradient(160deg, var(--forest) 0%, var(--forest-deep) 100%);
        }

        .brand-logo {
            height: 34px;
            width: auto;
            object-fit: contain;
            align-self: flex-start;
        }

        .brand-name {
            font-family: 'Bricolage Grotesque', sans-serif;
            font-weight: 700;
            font-size: 22px;
            letter-spacing: -.01em;
        }

        .brand-copy {
            position: relative;
            z-index: 2;
            max-width: 440px;
        }

        .brand-copy h1 {
            font-family: 'Bricolage Grotesque', sans-serif;
            font-weight: 700;
            font-size: clamp(32px, 3.6vw, 46px);
            line-height: 1.08;
            letter-spacing: -.02em;
        }

        .brand-copy p {
            margin-top: 16px;
            font-size: 15.5px;
            line-height: 1.6;
            color: rgba(255, 255, 255, .74);
        }

        .brand-list {
            list-style: none;
            margin-top: 28px;
            display: grid;
            gap: 12px;
            font-size: 14px;
            color: rgba(255, 255, 255, .86);
        }

        .brand-list li {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .brand-list span {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--flame);
            flex: none;
        }

        .brand-foot {
            position: relative;
            z-index: 2;
            font-size: 12.5px;
            color: rgba(255, 255, 255, .5);
        }

        /* gauge artwork */
        .gauge {
            position: absolute;
            right: -140px;
            bottom: -140px;
            width: 560px;
            height: 560px;
            opacity: .9;
            pointer-events: none;
        }

        .needle {
            transform-origin: 280px 280px;
            animation: sweep 1.6s cubic-bezier(.2, .8, .2, 1) .2s both;
        }

        @keyframes sweep {
            from {
                transform: rotate(-70deg);
            }

            to {
                transform: rotate(18deg);
            }
        }

        /* ---------- Form panel ---------- */
        .panel {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px 24px;
        }

        .card {
            width: 100%;
            max-width: 400px;
        }

        .mobile-brand {
            display: none;
            margin-bottom: 28px;
        }

        .card h2 {
            font-family: 'Bricolage Grotesque', sans-serif;
            font-size: 30px;
            font-weight: 700;
            letter-spacing: -.02em;
        }

        .sub {
            margin-top: 8px;
            color: var(--muted);
            font-size: 15px;
            line-height: 1.5;
        }

        .alert {
            margin-top: 22px;
            padding: 12px 14px;
            border-radius: 10px;
            font-size: 13.5px;
            line-height: 1.45;
            color: var(--danger);
            background: #fef3f2;
            border: 1px solid #fecdca;
        }

        .alert--ok {
            color: #05603a;
            background: #ecfdf3;
            border-color: #abefc6;
        }

        form {
            margin-top: 26px;
            display: grid;
            gap: 18px;
        }

        .field label {
            display: block;
            margin-bottom: 7px;
            font-size: 13.5px;
            font-weight: 600;
        }

        .control {
            position: relative;
        }

        .control input[type="email"],
        .control input[type="text"],
        .control input[type="password"] {
            width: 100%;
            height: 48px;
            padding: 0 44px 0 14px;
            font: inherit;
            font-size: 15px;
            color: var(--ink);
            background: #fff;
            border: 1.5px solid var(--line);
            border-radius: 10px;
            transition: border-color .15s, box-shadow .15s;
        }

        .control input:hover {
            border-color: #b9c8c0;
        }

        .control input:focus {
            outline: none;
            border-color: var(--leaf);
            box-shadow: 0 0 0 4px rgba(64, 145, 108, .18);
        }

        .control input.invalid {
            border-color: var(--danger);
        }

        .field-error {
            margin-top: 6px;
            font-size: 12.5px;
            color: var(--danger);
        }

        .toggle {
            position: absolute;
            right: 6px;
            top: 6px;
            width: 36px;
            height: 36px;
            display: grid;
            place-items: center;
            border: 0;
            border-radius: 8px;
            background: transparent;
            color: var(--muted);
            cursor: pointer;
        }

        .toggle:hover {
            background: #eef3f0;
            color: var(--ink);
        }

        .toggle:focus-visible {
            outline: 2px solid var(--leaf);
        }

        .row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 13.5px;
        }

        .check {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            color: var(--muted);
        }

        .check input {
            width: 16px;
            height: 16px;
            accent-color: var(--leaf);
        }

        .row a {
            color: var(--leaf);
            font-weight: 600;
            text-decoration: none;
        }

        .row a:hover {
            text-decoration: underline;
        }

        .btn {
            height: 50px;
            border: 0;
            border-radius: 10px;
            font: inherit;
            font-size: 15.5px;
            font-weight: 600;
            color: #fff;
            cursor: pointer;
            background: linear-gradient(180deg, var(--leaf), #2f7a58);
            box-shadow: 0 8px 18px -8px rgba(47, 122, 88, .7);
            transition: transform .12s, box-shadow .12s, filter .12s;
        }

        .btn:hover {
            filter: brightness(1.06);
            box-shadow: 0 12px 22px -8px rgba(47, 122, 88, .75);
        }

        .btn:active {
            transform: translateY(1px);
        }

        .btn:focus-visible {
            outline: 3px solid rgba(64, 191, 166, .5);
            outline-offset: 2px;
        }

        .btn[disabled] {
            opacity: .75;
            cursor: progress;
        }

        .foot {
            margin-top: 28px;
            font-size: 12.5px;
            color: var(--muted);
            text-align: center;
            line-height: 1.5;
        }

        /* ---------- Responsive ---------- */
        @media (max-width: 900px) {
            .shell {
                grid-template-columns: 1fr;
            }

            .brand {
                display: none;
            }

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

            .mobile-brand .brand-name {
                color: var(--forest);
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .needle {
                animation: none;
                transform: rotate(18deg);
            }

            * {
                transition: none !important;
            }
        }