.auth-page {
    padding: 48px 20px 80px;
    background:
        radial-gradient(circle at 10% 20%, rgba(213, 170, 82, .12), transparent 30rem),
        #050505;
}

.auth-shell {
    width: min(1220px, 100%);
    min-height: 700px;
    margin: auto;
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    overflow: hidden;
    border: 1px solid rgba(213, 170, 82, .25);
    border-radius: 22px;
    box-shadow: 0 35px 110px rgba(0, 0, 0, .55);
}

.auth-story {
    padding: 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        radial-gradient(circle at 80% 35%, rgba(213, 170, 82, .28), transparent 19rem),
        linear-gradient(145deg, #2c2519, #0a0a09 65%);
}

.auth-story h1 {
    margin: 0 0 24px;
    font: 400 clamp(3.2rem, 5.6vw, 5.8rem) / 1.03 Georgia, serif;
}

.auth-points {
    margin-top: 35px;
    display: grid;
    gap: 16px;
}

.auth-points div {
    display: flex;
    gap: 15px;
    color: var(--gold);
}

.auth-points span {
    color: #d8d0c4;
}

.auth-panel {
    padding: 55px;
    display: grid;
    place-items: center;
    background: #0b0b0b;
}

.auth-form {
    width: min(520px, 100%);
}

.auth-form h2 {
    margin-bottom: 12px;
    font-size: clamp(2.4rem, 4vw, 3.7rem);
}

.auth-form > p a {
    color: var(--gold);
}

.auth-form form {
    margin-top: 30px;
    display: grid;
    gap: 10px;
}

.auth-form label,
.auth-form legend {
    color: #ddd5c9;
    font-size: .78rem;
    font-weight: 700;
}

.auth-form input:not([type="checkbox"]):not([type="radio"]),
.auth-form select {
    width: 100%;
    min-height: 54px;
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 7px;
    background: #070707;
    color: white;
    outline: none;
}

.auth-form select {
    appearance: auto;
    cursor: pointer;
}

.auth-form input:focus,
.auth-form select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(213, 170, 82, .09);
}

.check {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.error {
    margin: 0;
    color: #ffaaa3;
    font-size: .8rem;
}

.auth-divider {
    margin: 22px 0 5px;
    padding-top: 19px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    color: var(--gold);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.form-columns {
    display: grid;
    grid-template-columns: minmax(120px, .65fr) minmax(0, 1.35fr);
    gap: 14px;
}

.form-columns > div {
    display: grid;
    gap: 10px;
}

.input-help,
.form-footnote {
    color: #958c7f;
    font-size: .76rem;
    line-height: 1.55;
}

.form-footnote {
    margin: 2px 0 0;
    text-align: center;
}

.registration-shell {
    grid-template-columns: minmax(360px, .86fr) minmax(0, 1.14fr);
}

.registration-story {
    justify-content: flex-start;
    position: sticky;
    top: 82px;
    min-height: 760px;
}

.registration-story .lead {
    max-width: 540px;
}

.selected-plan-card {
    margin-top: 32px;
    padding: 28px;
    border: 1px solid rgba(213, 170, 82, .32);
    border-radius: 18px;
    background: rgba(5, 5, 5, .62);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.selected-plan-card[data-plan="gold"] {
    background:
        radial-gradient(circle at 95% 0, rgba(213, 170, 82, .2), transparent 13rem),
        rgba(5, 5, 5, .68);
}

.selected-plan-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.selected-plan-heading span {
    color: #a69d91;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .14em;
}

.selected-plan-heading strong {
    padding: 6px 10px;
    border: 1px solid rgba(213, 170, 82, .45);
    border-radius: 999px;
    color: var(--gold);
    font-size: .68rem;
    letter-spacing: .12em;
}

.selected-plan-card h2 {
    margin: 20px 0 0;
    font-size: 2.5rem;
}

.selected-plan-price {
    margin: 2px 0 0;
    color: var(--gold);
    font: 400 1.75rem Georgia, serif;
}

.selected-plan-tax {
    margin: 3px 0 20px;
    color: #9c9488;
    font-size: .76rem;
}

.selected-plan-card ul {
    margin: 0;
    padding-left: 19px;
    color: #d8d0c4;
}

.selected-plan-card li + li {
    margin-top: 8px;
}

.registration-note {
    margin: 20px 0 0;
    padding-left: 15px;
    border-left: 2px solid var(--gold);
    color: #bdb4a7;
    font-size: .82rem;
}

.registration-form {
    width: min(600px, 100%);
}

.plan-selector {
    margin: 0 0 10px;
    padding: 0;
    border: 0;
}

.plan-selector legend {
    margin-bottom: 10px;
}

.plan-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.plan-option {
    position: relative;
    cursor: pointer;
}

.plan-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.plan-option-body {
    min-height: 142px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 13px;
    background: rgba(255, 255, 255, .02);
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.plan-option:hover .plan-option-body {
    border-color: rgba(213, 170, 82, .38);
    transform: translateY(-1px);
}

.plan-option input:checked + .plan-option-body {
    border-color: var(--gold);
    background: rgba(213, 170, 82, .075);
    box-shadow: 0 0 0 3px rgba(213, 170, 82, .08);
}

.plan-option-body strong {
    color: #f5ede0;
    font: 400 1.6rem Georgia, serif;
}

.plan-option-body em {
    margin-top: 4px;
    color: var(--gold);
    font-style: normal;
    font-weight: 800;
}

.plan-option-body small {
    margin-top: 10px;
    color: #9d9589;
    line-height: 1.45;
}

@media (max-width: 980px) {
    .auth-shell,
    .registration-shell {
        grid-template-columns: 1fr;
    }

    .registration-story {
        position: static;
        min-height: auto;
    }

    .auth-story,
    .auth-panel {
        padding: 42px;
    }
}

@media (max-width: 620px) {
    .auth-page {
        padding-inline: 12px;
    }

    .auth-story,
    .auth-panel {
        padding: 30px 22px;
    }

    .auth-story h1 {
        font-size: 3rem;
    }

    .plan-options,
    .form-columns {
        grid-template-columns: 1fr;
    }
}

.consent-option{display:flex;gap:.75rem;align-items:flex-start;margin:1.25rem 0;padding:1rem;border:1px solid rgba(195,157,74,.28);background:rgba(255,255,255,.55);font-weight:400;line-height:1.5}.consent-option input{width:auto;margin-top:.25rem;flex:0 0 auto}.consent-option span{font-size:.92rem}

/* Login options: remember-me and forgot-password link */
.login-options {
    margin: 8px 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.login-options .check {
    margin: 0;
}

.forgot-password-link {
    color: var(--gold);
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
}

.forgot-password-link:hover,
.forgot-password-link:focus-visible {
    text-decoration: underline;
}

.auth-success {
    margin: 18px 0 0;
    padding: 12px 14px;
    border: 1px solid rgba(114, 214, 154, .35);
    border-radius: 7px;
    background: rgba(49, 126, 79, .15);
    color: #baf3ce;
    font-size: .84rem;
}

@media (max-width: 560px) {
    .login-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}


.customer-type-selector { margin-top: 4px; }
.customer-type-selector .compact-option { min-height: 108px; }
.customer-type-selector .compact-option strong { font-size: 1.28rem; }
[data-business-fields] { display: grid; gap: 10px; }
[data-business-fields][hidden] { display: none !important; }

/* Wider authentication layouts, aligned with the public marketing pages. */
.auth-page {
    padding: 48px clamp(20px, 3vw, 64px) 88px;
}

.auth-shell {
    width: min(1480px, 100%);
    grid-template-columns: minmax(390px, .92fr) minmax(520px, 1.08fr);
}

.registration-shell {
    width: min(1540px, 100%);
    grid-template-columns: minmax(410px, .84fr) minmax(620px, 1.16fr);
}

.auth-story,
.auth-panel {
    padding-inline: clamp(42px, 4.2vw, 74px);
}

.registration-form {
    width: min(690px, 100%);
}

@media (max-width: 1100px) {
    .auth-shell,
    .registration-shell {
        grid-template-columns: 1fr;
    }
}
