.auth-page *,
.auth-page *::before,
.auth-page *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Page shell ── */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    font-family: 'DM Sans', sans-serif;
    color: var(--text, #111827);
    -webkit-font-smoothing: antialiased;
    padding: 24px;
}

/* ── Card ── */
.auth-card {
    width: 100%;
    max-width: 400px;
    background: var(--white, #fff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 20px;
    padding: 36px 32px 32px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .06);
}

/* ── Logo ── */
.auth-logo {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    margin-bottom: 28px;
}

.auth-logo-mark {
    width: 34px;
    height: 34px;
    background: var(--blue, #2563eb);
    border-radius: 9px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.auth-logo-mark svg {
    width: 16px;
    height: 16px;
    color: #fff;
}

.auth-logo-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text, #111827);
    letter-spacing: -.01em;
}

/* ── Heading ── */
.auth-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text, #111827);
    margin-bottom: 5px;
    letter-spacing: -.015em;
}

.auth-sub {
    font-size: .85rem;
    color: var(--muted, #6b7280);
    margin-bottom: 24px;
    line-height: 1.55;
}

.auth-sub a {
    color: var(--blue, #2563eb);
    font-weight: 500;
    text-decoration: none;
}

.auth-sub a:hover {
    text-decoration: underline;
}

/* ── Google button ── */
.auth-btn-google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 16px;
    background: var(--white, #fff);
    border: 1.5px solid var(--border, #e5e7eb);
    border-radius: 10px;
    font-size: .875rem;
    font-weight: 500;
    font-family: inherit;
    color: var(--text, #111827);
    cursor: pointer;
    transition: border-color .15s, background .15s, box-shadow .15s;
}

.auth-btn-google:hover {
    border-color: #d1d5db;
    background: var(--bg, #f9fafb);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}

.auth-btn-google svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ── Divider ── */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0;
}

.auth-divider-line {
    flex: 1;
    height: 1px;
    background: var(--border, #e5e7eb);
}

.auth-divider-text {
    font-size: .72rem;
    color: #9ca3af;
    white-space: nowrap;
}

/* ── Fields ── */
.auth-field {
    margin-bottom: 14px;
}

.auth-label {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: var(--text, #111827);
    margin-bottom: 6px;
}

.auth-input-wrap {
    position: relative;
}

.auth-input-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    color: #9ca3af;
    pointer-events: none;
}

.auth-input {
    width: 100%;
    padding: 11px 14px 11px 40px;
    border: 1.5px solid var(--border, #e5e7eb);
    border-radius: 10px;
    font-size: .9rem;
    font-family: inherit;
    color: var(--text, #111827);
    background: var(--bg, #f9fafb);
    outline: none;
    transition: border-color .18s, box-shadow .18s, background .18s;
}

.auth-input:focus {
    border-color: var(--blue, #2563eb);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .08);
    background: var(--white, #fff);
}

.auth-input::placeholder {
    color: #9ca3af;
}

/* Password toggle */
.auth-pw-toggle {
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    padding: 3px;
    line-height: 0;
    transition: color .15s;
}

.auth-pw-toggle:hover {
    color: var(--muted, #6b7280);
}

.auth-pw-toggle svg {
    width: 15px;
    height: 15px;
}

/* Field meta row (label + link side by side) */
.auth-field-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.auth-field-row .auth-label {
    margin-bottom: 0;
}

.auth-forgot {
    font-size: .78rem;
    color: var(--blue, #2563eb);
    font-weight: 500;
    text-decoration: none;
}

.auth-forgot:hover {
    text-decoration: underline;
}

/* ── Submit button ── */
.auth-btn-submit {
    width: 100%;
    padding: 11px;
    background: var(--blue, #2563eb);
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 6px;
    transition: background .15s, box-shadow .15s;
}

.auth-btn-submit:hover {
    background: #1d4ed8;
    box-shadow: 0 4px 14px rgba(37, 99, 235, .22);
}

/* ── Footer ── */
.auth-footer {
    text-align: center;
    font-size: .8rem;
    color: var(--muted, #6b7280);
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid var(--border, #e5e7eb);
}

.auth-footer a {
    color: var(--blue, #2563eb);
    font-weight: 500;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* ── Input error state ── */
.auth-input.is-error {
    border-color: #dc2626;
    background: #fff;
}

.auth-input.is-error:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .08);
}

/* ── Field error message ── */
.auth-field-error {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .76rem;
    color: #dc2626;
    margin-top: 5px;
    line-height: 1.4;
}

.auth-field-error svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* ── General alert (session error / success) ── */
.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: .83rem;
    line-height: 1.5;
    margin-bottom: 18px;
}

.auth-alert svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 1px;
}

.auth-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.auth-alert--success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

/* ════════════ DARK MODE ════════════ */
[data-theme="dark"] .auth-page {
    background: #080e1c;
}

[data-theme="dark"] .auth-card {
    background: #111c2e;
    border-color: #263652;
    box-shadow: 0 4px 32px rgba(0,0,0,.5);
}

[data-theme="dark"] .auth-title,
[data-theme="dark"] .auth-label,
[data-theme="dark"] .auth-logo-name {
    color: #eef2ff;
}

[data-theme="dark"] .auth-sub,
[data-theme="dark"] .auth-footer {
    color: #7090b0;
}

[data-theme="dark"] .auth-sub a,
[data-theme="dark"] .auth-footer a,
[data-theme="dark"] .auth-forgot {
    color: #4f8ef7;
}

[data-theme="dark"] .auth-btn-google {
    background: #1e2d4d;
    border-color: #304468;
    color: #eef2ff;
}

[data-theme="dark"] .auth-btn-google:hover {
    background: #263652;
    border-color: #4f8ef7;
}

[data-theme="dark"] .auth-divider-line {
    background: #263652;
}

[data-theme="dark"] .auth-divider-text {
    color: #4a6080;
}

[data-theme="dark"] .auth-input {
    background: #192540;
    border-color: #304468;
    color: #eef2ff;
}

[data-theme="dark"] .auth-input:focus {
    background: #1e2d4d;
    border-color: #4f8ef7;
    box-shadow: 0 0 0 3px rgba(79,142,247,.12);
}

[data-theme="dark"] .auth-input::placeholder {
    color: #4a6080;
}

[data-theme="dark"] .auth-input-icon,
[data-theme="dark"] .auth-pw-toggle {
    color: #4a6080;
}

[data-theme="dark"] .auth-pw-toggle:hover {
    color: #7090b0;
}

[data-theme="dark"] .auth-footer {
    border-top-color: #263652;
}

[data-theme="dark"] .auth-input.is-error {
    background: #2d1a1a;
    border-color: #ef4444;
}

[data-theme="dark"] .auth-alert--error {
    background: #2d1a1a;
    border-color: #7f1d1d;
    color: #fca5a5;
}

[data-theme="dark"] .auth-alert--success {
    background: #052e16;
    border-color: #166534;
    color: #86efac;
}


/* ════════════════════════════════════════════════════════
   SPLIT-PANEL LOGIN LAYOUT  (.auth-split)
   ════════════════════════════════════════════════════════ */

.auth-split {
    height: calc(100vh - 65px);
    display: grid;
    grid-template-columns: 52% 48%;
    font-family: var(--font-b, 'Manrope', sans-serif);
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
}

/* ── LEFT PANEL ── */
.auth-split__left {
    position: relative;
    overflow: hidden;
    background: linear-gradient(150deg, #0c1f5e 0%, #163599 38%, #1e4bb8 68%, #2563eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 52px;
}

[data-theme="dark"] .auth-split__left {
    background: linear-gradient(150deg, #060d22 0%, #0d1e3d 40%, #10224d 68%, #162d6b 100%);
}

.auth-split__left-inner {
    position: relative;
    z-index: 2;
    max-width: 420px;
    width: 100%;
}

/* Decorative blobs */
.asl-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.asl-blob--1 {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(79, 142, 247, 0.22) 0%, transparent 68%);
    top: -100px;
    right: -110px;
}

.asl-blob--2 {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, transparent 70%);
    bottom: -70px;
    left: -50px;
}

/* ── Logo: uses site's .logo class; override colors for dark panel ── */
.auth-split__left .logo {
    margin-bottom: 40px;
    text-decoration: none;
}

.auth-split__left .logo img {
    filter: brightness(0) invert(1);
}

/* Wordmark on dark panel */
.auth-split__left .logo-wordmark span:first-child {
    color: #93c5fd !important;
}
.auth-split__left .logo-wordmark span:last-child {
    color: rgba(255, 255, 255, 0.92) !important;
}

/* Headline */
.asl-hero {
    margin-bottom: 36px;
}

.asl-headline {
    font-family: var(--font-h, 'Plus Jakarta Sans', sans-serif);
    font-size: clamp(1.75rem, 2.8vw, 2.55rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.18;
    letter-spacing: -.025em;
    margin-bottom: 12px;
}

.asl-headline-accent {
    background: linear-gradient(130deg, #93c5fd 0%, #bfdbfe 55%, #e0f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.asl-tagline {
    font-size: .88rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.65;
    max-width: 340px;
}

/* Feature list */
.asl-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 36px;
}

.asl-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.asl-feature-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    backdrop-filter: blur(6px);
}

.asl-feature-icon svg {
    width: 16px;
    height: 16px;
    color: #93c5fd;
}

.asl-feature strong {
    display: block;
    font-size: .875rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
    letter-spacing: -.01em;
}

.asl-feature p {
    font-size: .78rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
    margin: 0;
}

/* Trust line */
.asl-trust {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .76rem;
    color: rgba(255, 255, 255, 0.45);
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.asl-trust svg {
    width: 14px;
    height: 14px;
    color: rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
}

/* ── RIGHT PANEL ── */
.auth-split__right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 28px;
    background: var(--bg, #f7f8fc);
    overflow-y: auto;
}

[data-theme="dark"] .auth-split__right {
    background: #080e1c;
}

/* Card */
.asc-card {
    width: 100%;
    max-width: 400px;
    padding: 32px 30px 28px;
    background: var(--white, #fff);
    border: 1px solid var(--border, #e2e5f0);
    border-radius: 20px;
    box-shadow: 0 2px 20px rgba(15, 23, 42, .07), 0 1px 4px rgba(15, 23, 42, .04);
}

[data-theme="dark"] .asc-card {
    background: #111c2e;
    border-color: #263652;
    box-shadow: 0 4px 32px rgba(0, 0, 0, .45);
}

/* Badge pill */
.asc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border: 1px solid #6ee7b7;
    border-radius: 100px;
    font-size: .72rem;
    font-weight: 600;
    color: #065f46;
    margin-bottom: 18px;
    letter-spacing: .01em;
}

.asc-badge svg {
    width: 12px;
    height: 12px;
    color: #059669;
    flex-shrink: 0;
}

[data-theme="dark"] .asc-badge {
    background: linear-gradient(135deg, #052e16 0%, #064e3b 100%);
    border-color: #065f46;
    color: #6ee7b7;
}

[data-theme="dark"] .asc-badge svg { color: #34d399; }

/* Title / sub */
.asc-title {
    font-family: var(--font-h, 'Plus Jakarta Sans', sans-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text, #0f172a);
    letter-spacing: -.02em;
    margin-bottom: 4px;
    line-height: 1.25;
}

[data-theme="dark"] .asc-title { color: #eef2ff; }

.asc-sub {
    font-size: .83rem;
    color: var(--muted, #64748b);
    margin-bottom: 20px;
    line-height: 1.55;
}

.asc-sub a {
    color: var(--blue, #2563eb);
    font-weight: 600;
    text-decoration: none;
}

.asc-sub a:hover { text-decoration: underline; }

[data-theme="dark"] .asc-sub { color: #7090b0; }
[data-theme="dark"] .asc-sub a { color: #4f8ef7; }

/* ── RESPONSIVE ── */

@media (max-width: 820px) {
    .auth-split {
        grid-template-columns: 1fr;
        height: auto;
        overflow: visible;
    }

    .auth-split__left {
        padding: 40px 32px;
    }

    .auth-split__left .logo {
        margin-bottom: 28px;
    }

    .asl-hero { margin-bottom: 24px; }
    .asl-features { gap: 14px; margin-bottom: 28px; }
    .asl-headline { font-size: 1.85rem; }
}

@media (max-width: 600px) {
    .auth-split__left {
        display: none;
    }

    .auth-split__right {
        padding: 40px 20px;
        align-items: flex-start;
    }

    .asc-card {
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;
    }

    [data-theme="dark"] .asc-card {
        background: transparent;
        border: none;
    }
}


/* ════════════════════════════════════════════════════════
   SIGN-UP SPLIT — PLANS LEFT PANEL
   ════════════════════════════════════════════════════════ */

/* Sign-up override: each panel scrolls independently */
.auth-split--signup {
    grid-template-columns: 62% 38%;
    height: calc(100vh - 65px);
    overflow: hidden;
}

.auth-split--signup .auth-split__left {
    overflow: hidden;
    align-items: flex-start;
    padding: 20px 28px 20px;
}

.auth-split--signup .auth-split__right {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border2, #cdd2e8) transparent;
}

/* Left inner: full width, no max-width constraint */
.asl-plans-panel .auth-split__left-inner {
    max-width: 100%;
    width: 100%;
}

/* Centred header block: logo + title + toggle */
.asl-plans-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 4px;
    gap: 4px;
}

.asl-toggle-wrap {
    margin-top: 8px;
    margin-bottom: 0;
}

.asl-plans-title {
    font-family: var(--font-h, 'Plus Jakarta Sans', sans-serif);
    font-size: 1.55rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.02em;
    margin-bottom: 3px;
}

.asl-plans-sub {
    font-size: .92rem;
    color: rgba(255,255,255,.7);
    margin-bottom: 16px;
}

/* ── Monthly/Yearly toggle — mirrors .pr-toggle from pricing page ── */

.asl-toggle {
    display: inline-flex;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 99px;
    padding: 4px;
    gap: 3px;
}

.asl-tab {
    background: transparent;
    border: none;
    padding: 8px 20px;
    font-size: .88rem;
    font-weight: 600;
    color: rgba(255,255,255,.7);
    cursor: pointer;
    border-radius: 99px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all .2s ease;
    font-family: inherit;
    line-height: 1;
}

.asl-tab.is-active {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 2px 10px rgba(37,99,235,.5);
}

.asl-save-pill {
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .07em;
    background: #f59e0b;
    color: #422006;
    padding: 2px 7px;
    border-radius: 99px;
    line-height: 1;
}

/* Plan card grid — 3 per row */
.asl-plan-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
    margin-top: 25px; /* space for the "Most Popular" badge that floats above */
    padding-top: 8px;
}

/* ── Plan card ── */
.asl-plan {
    position: relative;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 22px;
    padding: 30px 26px 26px;
    cursor: pointer;
    transition: box-shadow .25s ease, transform .25s ease, border-color .2s, background .18s;
    display: flex;
    flex-direction: column;
}
.asl-plan:not(.asl-plan--pro):not(.asl-plan--free):hover {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.28);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

/* Selected state */
.asl-plan--selected:not(.asl-plan--pro):not(.asl-plan--free) {
    background: rgba(255,255,255,.13);
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(147,197,253,.2), 0 8px 24px rgba(0,0,0,.25);
    transform: translateY(-2px);
}

/* Pro card — elevated dark gradient */
.asl-plan--pro {
    background: linear-gradient(155deg, rgba(15,23,42,.85) 0%, rgba(30,58,138,.75) 55%, rgba(37,99,235,.65) 100%);
    border-color: rgba(147,197,253,.35);
    box-shadow: 0 8px 32px rgba(37,99,235,.3);
    transform: translateY(-8px);
    padding: 36px 28px 28px;
}
.asl-plan--pro:hover {
    border-color: rgba(147,197,253,.6);
    box-shadow: 0 16px 48px rgba(37,99,235,.45);
    transform: translateY(-9px);
}
.asl-plan--pro.asl-plan--selected {
    border-color: rgba(134,239,172,.6);
    box-shadow: 0 0 0 3px rgba(22,163,74,.3), 0 16px 48px rgba(37,99,235,.4);
}

/* Popular badge */
.asl-plan-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 99px;
    letter-spacing: .09em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 3px 12px rgba(37,99,235,.4);
}

/* Plan name */
.asl-plan-name {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.01em;
    margin: 0 0 3px;
}

/* Plan description */
.asl-plan-desc {
    font-size: .78rem;
    color: rgba(255,255,255,.6);
    line-height: 1.45;
    margin: 0 0 14px;
}

/* Price wrap */
.asl-plan-price-wrap { margin-bottom: 14px; }

.asl-plan-price-row {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    line-height: 1;
    margin-bottom: 4px;
}

.asl-plan-currency {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255,255,255,.8);
    padding-bottom: 6px;
}

.asl-plan-amount {
    font-family: var(--font-h, 'Plus Jakarta Sans', sans-serif);
    font-size: 2.6rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.04em;
    line-height: 1;
}

.asl-plan-period {
    font-size: .8rem;
    color: rgba(255,255,255,.55);
    padding-bottom: 8px;
    margin-left: 2px;
}

.asl-plan-price-sub {
    font-size: .76rem;
    color: rgba(255,255,255,.55);
    line-height: 1.4;
}
.asl-plan-price-sub strong { color: #86efac; font-weight: 600; }

/* Separator */
.asl-plan-sep {
    height: 1px;
    background: rgba(255,255,255,.12);
    margin: 0 0 14px;
}

/* Feature list */
.asl-plan-feats {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    margin-bottom: 18px;
}
.asl-plan-feats li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .845rem;
    color: rgba(255,255,255,.85);
    line-height: 1.4;
}

.asl-plan-check {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(147,197,253,.15);
    display: grid;
    place-items: center;
}
.asl-plan-check svg { width: 10px; height: 10px; color: #93c5fd; }

/* Select button */
.asl-plan-btn {
    width: 100%;
    padding: 11px 16px;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: .875rem;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: -.01em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: all .18s ease;
    margin-top: auto;
    box-shadow: 0 4px 14px rgba(37,99,235,.28);
}
.asl-plan-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.asl-plan-btn:hover { box-shadow: 0 6px 20px rgba(37,99,235,.45); filter: brightness(1.08); }
.asl-plan-btn:active { transform: scale(.97); }

/* Pro button — outline */
.asl-plan--pro .asl-plan-btn {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,.5);
    box-shadow: none;
}
.asl-plan--pro .asl-plan-btn:hover {
    background: rgba(255,255,255,.12);
    border-color: #fff;
    filter: none;
}

/* Selected button — green for all cards */
.asl-plan--selected:not(.asl-plan--free) .asl-plan-btn,
.asl-plan--pro.asl-plan--selected .asl-plan-btn {
    background: #16a34a;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(22,163,74,.35);
    color: #fff;
    filter: none;
}

/* ── Free plan card (full-width row) ── */
.asl-plan--free {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    margin-top: 6px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.asl-plan--free:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.3);
}
.asl-plan--free.asl-plan--selected {
    border-color: rgba(134,239,172,.5);
    background: rgba(22,163,74,.15);
    box-shadow: 0 0 0 2px rgba(22,163,74,.25);
}
.asl-plan-free-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
    flex-wrap: wrap;
    min-width: 0;
}
.asl-plan-free-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.asl-plan-free-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    white-space: nowrap;
}
.asl-plan-btn--free {
    background: #16a34a;
    border-color: rgba(134,239,172,.4);
    box-shadow: 0 4px 14px rgba(22,163,74,.35);
    color: #fff;
    flex-shrink: 0;
    padding: 8px 18px;
    white-space: nowrap;
    min-width: 0;
}
.asl-plan--free:not(.asl-plan--selected) .asl-plan-btn--free {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.25);
    box-shadow: none;
    color: rgba(255,255,255,.85);
}

/* Trust bar */
.asl-trust-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.1);
    flex-wrap: wrap;
}

.asl-trust-bar span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .72rem;
    color: rgba(255,255,255,.45);
}

.asl-trust-bar svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* ── Sign-up card: icon + terms ── */
.asc-icon-wrap {
    width: 48px;
    height: 48px;
    background: var(--blue-light, #eff4ff);
    border: 1px solid var(--blue-mid, #dbeafe);
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
}

.asc-icon-wrap svg {
    width: 22px;
    height: 22px;
    color: var(--blue, #2563eb);
}

[data-theme="dark"] .asc-icon-wrap {
    background: #0d1e3d;
    border-color: #1e3a6e;
}

[data-theme="dark"] .asc-icon-wrap svg { color: #4f8ef7; }

.asc-terms {
    font-size: .74rem;
    color: var(--muted, #64748b);
    text-align: center;
    margin-top: 12px;
    line-height: 1.55;
}

.asc-terms a { color: var(--blue, #2563eb); text-decoration: none; }
.asc-terms a:hover { text-decoration: underline; }
[data-theme="dark"] .asc-terms { color: #4a6080; }
[data-theme="dark"] .asc-terms a { color: #4f8ef7; }

/* Responsive */
@media (max-width: 860px) {
    .asl-plan-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 820px) {
    .auth-split--signup {
        grid-template-columns: 1fr;
        height: auto;
        overflow: visible;
    }

    .auth-split--signup .auth-split__left {
        overflow-y: visible;
        padding: 36px 28px 40px;
    }

    .asl-plan-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .asl-plan-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 420px) {
    .asl-plan-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .auth-split--signup .auth-split__left {
        display: none;
    }
}