:root {
            --background: #f4f7fb;
            --surface: #ffffff;
            --surface-soft: #f8fafc;
            --border: #dce4ee;
            --border-strong: #c8d4e3;
            --text: #162033;
            --text-muted: #637083;
            --primary: #1769e0;
            --primary-dark: #1058bd;
            --primary-soft: #eaf2ff;
            --danger: #b42318;
            --danger-soft: #fef3f2;
            --danger-border: #fecdca;
            --success: #067647;
            --shadow:
                0 24px 60px rgba(31, 50, 81, 0.12);
            --radius-large: 24px;
            --radius-medium: 14px;
            --radius-small: 10px;
        }

        * {
            box-sizing: border-box;
        }

        html {
            min-height: 100%;
        }

        body {
            min-height: 100vh;
            margin: 0;
            background:
                radial-gradient(
                    circle at 10% 10%,
                    rgba(23, 105, 224, 0.11),
                    transparent 34%
                ),
                radial-gradient(
                    circle at 90% 85%,
                    rgba(61, 132, 237, 0.08),
                    transparent 30%
                ),
                var(--background);
            color: var(--text);
            font-family:
                Inter,
                ui-sans-serif,
                system-ui,
                -apple-system,
                BlinkMacSystemFont,
                "Segoe UI",
                sans-serif;
        }

        button,
        input {
            font: inherit;
        }

        a {
            color: var(--primary);
        }

        .register-page {
            min-height: 100vh;
            display: grid;
            grid-template-columns:
                minmax(320px, 0.92fr)
                minmax(480px, 1.08fr);
        }

        .register-intro {
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 48px;
            background:
                linear-gradient(
                    145deg,
                    #102a50 0%,
                    #123d75 52%,
                    #1769e0 100%
                );
            color: #ffffff;
        }

        .register-intro::before,
        .register-intro::after {
            position: absolute;
            content: "";
            border-radius: 50%;
            pointer-events: none;
        }

        .register-intro::before {
            width: 420px;
            height: 420px;
            top: -170px;
            right: -190px;
            border: 1px solid rgba(255, 255, 255, 0.16);
        }

        .register-intro::after {
            width: 280px;
            height: 280px;
            right: -80px;
            bottom: -120px;
            background: rgba(255, 255, 255, 0.06);
        }


        .intro-content {
            position: relative;
            z-index: 1;
            max-width: 540px;
            margin: 72px 0;
        }

        .intro-eyebrow {
            margin: 0 0 16px;
            color: #c9dcff;
            font-size: 13px;
            font-weight: 750;
            letter-spacing: 0.11em;
            text-transform: uppercase;
        }

        .intro-content h1 {
            max-width: 510px;
            margin: 0;
            font-size: clamp(40px, 5vw, 64px);
            line-height: 1.02;
            letter-spacing: -0.055em;
        }

        .intro-description {
            max-width: 520px;
            margin: 22px 0 0;
            color: rgba(255, 255, 255, 0.78);
            font-size: 18px;
            line-height: 1.65;
        }

        .benefit-list {
            display: grid;
            gap: 16px;
            margin: 36px 0 0;
            padding: 0;
            list-style: none;
        }

        .benefit-item {
            display: flex;
            align-items: flex-start;
            gap: 13px;
            color: rgba(255, 255, 255, 0.9);
            line-height: 1.5;
        }

        .benefit-icon {
            flex: 0 0 auto;
            width: 25px;
            height: 25px;
            display: grid;
            place-items: center;
            margin-top: 1px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.15);
            font-size: 13px;
            font-weight: 800;
        }

        .intro-footer {
            position: relative;
            z-index: 1;
            color: rgba(255, 255, 255, 0.62);
            font-size: 13px;
        }

        .register-main {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 48px;
        }

        .register-card {
            width: 100%;
            max-width: 540px;
            padding: 42px;
            border: 1px solid rgba(211, 222, 236, 0.9);
            border-radius: var(--radius-large);
            background: rgba(255, 255, 255, 0.94);
            box-shadow: var(--shadow);
            backdrop-filter: blur(10px);
        }

        .mobile-brand {
            display: none;
            margin-bottom: 30px;
            color: var(--text);
        }


        .register-heading {
            margin: 0;
            font-size: 34px;
            line-height: 1.15;
            letter-spacing: -0.035em;
        }

        .register-subheading {
            margin: 12px 0 30px;
            color: var(--text-muted);
            font-size: 16px;
            line-height: 1.6;
        }

        .form-error {
            display: flex;
            align-items: flex-start;
            gap: 11px;
            margin-bottom: 24px;
            padding: 14px 16px;
            border: 1px solid var(--danger-border);
            border-radius: var(--radius-small);
            background: var(--danger-soft);
            color: var(--danger);
            font-size: 14px;
            font-weight: 650;
            line-height: 1.45;
        }

        .form-error-icon {
            flex: 0 0 auto;
            width: 21px;
            height: 21px;
            display: grid;
            place-items: center;
            border-radius: 50%;
            background: var(--danger);
            color: #ffffff;
            font-size: 12px;
            font-weight: 800;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-label {
            display: block;
            margin-bottom: 8px;
            color: var(--text);
            font-size: 14px;
            font-weight: 700;
        }

        .form-input {
            width: 100%;
            min-height: 52px;
            padding: 13px 15px;
            border: 1px solid var(--border-strong);
            border-radius: var(--radius-small);
            outline: none;
            background: var(--surface);
            color: var(--text);
            transition:
                border-color 150ms ease,
                box-shadow 150ms ease,
                background 150ms ease;
        }

        .form-input::placeholder {
            color: #9aa6b7;
        }

        .form-input:hover {
            border-color: #aab9cb;
        }

        .form-input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 4px rgba(23, 105, 224, 0.12);
        }

        .password-field {
            position: relative;
        }

        .password-field .form-input {
            padding-right: 74px;
        }

        .password-toggle {
            position: absolute;
            top: 50%;
            right: 11px;
            transform: translateY(-50%);
            padding: 7px 9px;
            border: 0;
            border-radius: 7px;
            background: transparent;
            color: var(--primary);
            cursor: pointer;
            font-size: 13px;
            font-weight: 750;
        }

        .password-toggle:hover {
            background: var(--primary-soft);
        }

        .password-toggle:focus-visible {
            outline: 3px solid rgba(23, 105, 224, 0.22);
        }

        .password-guidance {
            display: flex;
            align-items: center;
            gap: 7px;
            margin: 9px 0 0;
            color: var(--text-muted);
            font-size: 13px;
        }

        .password-guidance.valid {
            color: var(--success);
        }

        .guidance-indicator {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: currentColor;
        }

        .register-submit {
            width: 100%;
            min-height: 54px;
            margin-top: 6px;
            border: 0;
            border-radius: var(--radius-small);
            background: var(--primary);
            color: #ffffff;
            cursor: pointer;
            font-weight: 750;
            box-shadow:
                0 10px 24px rgba(23, 105, 224, 0.22);
            transition:
                transform 150ms ease,
                background 150ms ease,
                box-shadow 150ms ease;
        }

        .register-submit:hover {
            transform: translateY(-1px);
            background: var(--primary-dark);
            box-shadow:
                0 14px 28px rgba(23, 105, 224, 0.27);
        }

        .register-submit:active {
            transform: translateY(0);
        }

        .register-submit:focus-visible {
            outline: 4px solid rgba(23, 105, 224, 0.2);
            outline-offset: 3px;
        }

        .account-link {
            margin: 24px 0 0;
            color: var(--text-muted);
            text-align: center;
            font-size: 14px;
        }

        .account-link a {
            font-weight: 750;
            text-decoration: none;
        }

        .account-link a:hover {
            text-decoration: underline;
        }

        .plan-link {
            display: flex;
            justify-content: center;
            margin-top: 16px;
        }

        .plan-link a {
            color: var(--text-muted);
            font-size: 13px;
            font-weight: 650;
            text-decoration: none;
        }

        .plan-link a:hover {
            color: var(--primary);
        }

        .privacy-note {
            margin: 26px 0 0;
            padding-top: 22px;
            border-top: 1px solid var(--border);
            color: var(--text-muted);
            font-size: 12px;
            line-height: 1.55;
            text-align: center;
        }

        @media (max-width: 920px) {
            .register-page {
                grid-template-columns: 1fr;
            }

            .register-intro {
                display: none;
            }

            .register-main {
                min-height: 100vh;
                padding: 32px 20px;
            }

            .mobile-brand {
                display: block;
            }
        }

        @media (max-width: 560px) {
            .register-main {
                align-items: flex-start;
                padding: 22px 14px;
            }

            .register-card {
                padding: 30px 22px;
                border-radius: 19px;
            }

            .register-heading {
                font-size: 29px;
            }

            .register-subheading {
                margin-bottom: 25px;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                scroll-behavior: auto !important;
                transition: none !important;
            }
        }
