*, *::before, *::after { font-family: 'Inter', system-ui, sans-serif; box-sizing: border-box; }

html, body { height: 100%; margin: 0; padding: 0; background: #f8fafc; }

/* ══ Wrapper ═══════════════════════════════════════════════════════════ */
.al-wrap {
    min-height: 100vh;
    display: flex;
}

/* ══ LEFT — branded panel ═══════════════════════════════════════════════ */
.al-left {
    width: 46%;
    min-height: 100vh;
    background: linear-gradient(145deg,
        var(--fs-primary) 0%,
        color-mix(in srgb, var(--fs-primary) 75%, #000) 100%);
    display: flex;
    flex-direction: column;
    padding: 2.75rem 3rem;
    position: relative;
    overflow: hidden;
}

/* Background shapes */
.al-left-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.al-left-bg span {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.08);
}
.al-left-bg span:nth-child(1) { width: 420px; height: 420px; top: -140px; right: -140px; }
.al-left-bg span:nth-child(2) { width: 280px; height: 280px; bottom: -80px; left: -80px; }
.al-left-bg span:nth-child(3) {
    width: 180px; height: 180px;
    top: 50%; right: -60px;
    background: color-mix(in srgb, var(--fs-accent) 18%, transparent);
    filter: blur(50px);
    border: none;
}

/* Brand */
.al-brand {
    position: relative; z-index: 1;
    display: flex; align-items: center; gap: .7rem;
}
.al-brand img { max-height: 38px; filter: brightness(0) invert(1); }
.al-brand-name {
    font-size: 1.35rem; font-weight: 800; color: #fff; letter-spacing: -.3px;
}
.al-brand-dot {
    display: inline-block; width: 6px; height: 6px;
    border-radius: 50%; background: var(--fs-accent); margin-left: 1px;
}

/* Body */
.al-left-body {
    flex: 1; display: flex; flex-direction: column;
    justify-content: center; position: relative; z-index: 1;
    padding: 2.5rem 0;
}

.al-pill {
    display: inline-flex; align-items: center; gap: .4rem;
    background: rgba(255,255,255,.13); color: rgba(255,255,255,.9);
    border-radius: 999px; padding: .28rem .9rem;
    font-size: .7rem; font-weight: 700; letter-spacing: .07em;
    text-transform: uppercase; margin-bottom: 1.5rem;
    width: fit-content;
}

.al-heading {
    font-size: clamp(1.75rem, 2.4vw, 2.4rem);
    font-weight: 900; color: #fff; line-height: 1.2;
    margin-bottom: .85rem;
}
.al-heading span { color: var(--fs-accent); }

.al-sub {
    font-size: .9rem; color: rgba(255,255,255,.6);
    line-height: 1.75; max-width: 340px; margin-bottom: 2.25rem;
}

/* Feature list */
.al-features { list-style: none; padding: 0; margin: 0 0 2.25rem; }
.al-features li {
    display: flex; align-items: center; gap: .85rem;
    padding: .55rem 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
    color: rgba(255,255,255,.82); font-size: .875rem; font-weight: 500;
}
.al-features li:last-child { border-bottom: none; }
.al-feat-icon {
    width: 34px; height: 34px; border-radius: .5rem; flex-shrink: 0;
    background: rgba(255,255,255,.12);
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem; color: var(--fs-accent);
}

/* Stats strip */
.al-stats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: rgba(0,0,0,.2);
    border-radius: 1rem; padding: 1rem;
    border: 1px solid rgba(255,255,255,.08);
}
.al-stat { text-align: center; padding: .25rem 0; }
.al-stat + .al-stat { border-left: 1px solid rgba(255,255,255,.1); }
.al-stat-val { font-size: 1.2rem; font-weight: 900; color: #fff; line-height: 1; }
.al-stat-lbl { font-size: .62rem; color: rgba(255,255,255,.45); margin-top: .22rem; text-transform: uppercase; letter-spacing: .04em; }

/* Footer */
.al-left-foot {
    position: relative; z-index: 1;
    font-size: .7rem; color: rgba(255,255,255,.3);
}

/* ══ RIGHT — form panel ══════════════════════════════════════════════════ */
.al-right {
    flex: 1;
    background: #fff;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 3rem 2rem;
    position: relative;
}

.al-right-inner {
    width: 100%;
    max-width: 400px;
}

/* Mobile brand — shown only on small screens */
.al-mob-brand {
    display: none; text-align: center; margin-bottom: 2rem;
}
.al-mob-brand .name {
    font-size: 1.35rem; font-weight: 800; color: var(--fs-primary);
}

/* ── Form elements ───────────────────────────────────────────────────── */
.al-divider {
    border-top: 1px solid #f1f5f9;
    margin: 1.35rem 0;
}

.btn-al {
    --bs-btn-bg:                 var(--fs-primary);
    --bs-btn-border-color:       var(--fs-primary);
    --bs-btn-color:              #fff;
    --bs-btn-hover-bg:           color-mix(in srgb, var(--fs-primary) 82%, #000);
    --bs-btn-hover-border-color: color-mix(in srgb, var(--fs-primary) 82%, #000);
    --bs-btn-hover-color:        #fff;
    --bs-btn-active-bg:          color-mix(in srgb, var(--fs-primary) 72%, #000);
    --bs-btn-active-color:       #fff;
    background-color:  var(--fs-primary);
    border-color:      var(--fs-primary);
    color: #fff;
    padding: .75rem 1.5rem;
    font-weight: 700; font-size: .95rem;
    border-radius: .75rem;
    width: 100%;
    transition: opacity .18s, transform .1s, background-color .15s;
    cursor: pointer;
}
.btn-al:hover  { color: #fff !important; transform: translateY(-1px); }
.btn-al:active { transform: translateY(0); }

.fc-al {
    border-radius: .65rem;
    padding: .68rem 1rem;
    font-size: .95rem;
    border: 1.5px solid #e2e8f0;
    transition: border-color .15s, box-shadow .15s;
    width: 100%;
}
.fc-al:focus {
    border-color: var(--fs-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--fs-primary) 15%, transparent);
    outline: none;
}

.back-link {
    color: var(--fs-primary); text-decoration: none;
    font-size: .875rem; font-weight: 500;
}
.back-link:hover { text-decoration: underline; color: var(--fs-primary); }

.dev-badge {
    background: #fffbeb; border: 1px solid #fcd34d;
    border-radius: .6rem; padding: .5rem .8rem; font-size: .8rem;
}

.al-right-foot {
    position: absolute; bottom: 1.25rem;
    font-size: .72rem; color: #94a3b8; text-align: center;
}

/* ══ Responsive ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .al-left      { display: none; }
    .al-right     { padding: 2rem 1.25rem; background: #f8fafc; }
    .al-right-inner { background: #fff; border-radius: 1.25rem; padding: 2rem 1.5rem; box-shadow: 0 4px 24px rgba(0,0,0,.07); }
    .al-mob-brand { display: block; }
}
