.register-page {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
    gap: 0;
    width: min(100% - 40px, 1180px);
    max-width: none;
    margin: clamp(40px, 6vw, 78px) auto clamp(58px, 8vw, 96px);
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(61, 80, 76, .16);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 252, 247, .98), rgba(255, 248, 237, .96));
    box-shadow: 0 26px 70px rgba(76, 50, 20, .12);
}

.register-page::before {
    content: "";
    min-height: 100%;
    background:
        linear-gradient(180deg, rgba(8, 28, 42, .34), rgba(8, 28, 42, .58)),
        url("/assets/images/photos/warm-member-service-conversation.jpg") center center / cover no-repeat;
}

.register-page::after {
    content: "Build a calmer operating home for your members, team, and board.";
    position: absolute;
    left: clamp(26px, 4vw, 52px);
    bottom: clamp(28px, 5vw, 56px);
    z-index: 1;
    width: min(360px, 36vw);
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.7rem, 3vw, 3rem);
    font-weight: 500;
    line-height: 1.04;
    text-shadow: 0 18px 36px rgba(0, 0, 0, .32);
}

.register-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    border: 0;
    border-left: 1px solid rgba(61, 80, 76, .16);
    border-radius: 0;
    background:
        radial-gradient(circle at 100% 0%, rgba(216, 149, 39, .12), transparent 34%),
        linear-gradient(180deg, rgba(255, 252, 247, .98), rgba(255, 248, 237, .96));
    box-shadow: none;
}

.register-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .32;
    background-image:
        linear-gradient(rgba(61, 80, 76, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(61, 80, 76, .04) 1px, transparent 1px);
    background-size: 24px 24px;
}

.register-card-inner {
    position: relative;
    z-index: 1;
    padding: clamp(34px, 5vw, 62px);
}

.register-card h1,
.register-heading h1 {
    max-width: 10ch;
    margin: 0 0 16px;
    color: #365452;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.35rem, 5vw, 4.2rem);
    font-weight: 500;
    letter-spacing: 0;
    line-height: .98;
}

.register-card h1::before,
.register-heading h1::before {
    content: "Get started";
    display: block;
    margin-bottom: 18px;
    color: #9e6b1f;
    font-family: var(--font-mono, monospace);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
}

.register-subtext {
    max-width: 42ch;
    margin-bottom: 28px;
    color: rgba(36, 53, 54, .78);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.66;
}

.register-form {
    display: grid;
    gap: 0;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

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

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: #365452;
    font-size: .82rem;
    font-weight: 800;
}

.form-group input,
.form-group select {
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid rgba(61, 80, 76, .2);
    border-radius: 8px;
    background: rgba(255, 255, 255, .76);
    color: #243536;
    font: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(216, 149, 39, .78);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(216, 149, 39, .14);
}

.register-submit {
    width: 100%;
    min-height: 56px;
    margin-top: 6px;
    border-radius: 10px;
    font-weight: 800;
}

.register-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 26px 0 18px;
    color: rgba(36, 53, 54, .5);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.register-divider::before,
.register-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(61, 80, 76, .16);
}

.register-secondary {
    display: grid;
    gap: 12px;
    text-align: center;
}

.register-secondary-text {
    margin: 0;
    color: rgba(36, 53, 54, .68);
    font-size: .94rem;
}

.register-secondary-btn {
    width: 100%;
    min-height: 52px;
    border-radius: 10px;
}

.form-section + .form-section {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid rgba(61, 80, 76, .14);
}

.section-heading {
    margin-bottom: 18px;
}

.section-heading h2 {
    color: #365452;
    font-size: 1.25rem;
}

.section-heading p,
.field-note,
.info-box p,
.warning-box p,
.tip-box p,
.package-desc,
.package-meta,
.addon-copy p,
.register-summary-note {
    color: rgba(36, 53, 54, .7);
}

.info-box,
.warning-box,
.package-card,
.addon-row,
.register-summary {
    border: 1px solid rgba(61, 80, 76, .16);
    border-radius: 8px;
    background: rgba(255, 252, 247, .78);
}

.package-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

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

.package-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 100%;
    padding: 18px 16px;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}

.package-option:hover .package-card,
.package-option input:checked + .package-card {
    border-color: rgba(216, 149, 39, .62);
    background: #fff6e6;
    box-shadow: 0 10px 26px rgba(76, 50, 20, .08);
}

.package-option.featured .package-card {
    border-color: rgba(216, 149, 39, .52);
}

.package-name,
.addon-copy label,
.register-summary-total {
    color: #243536;
}

.package-price,
.package-badge,
.tip-box strong,
.addon-price {
    color: #9e6b1f;
}

.addon-list {
    display: grid;
    gap: 12px;
}

.addon-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 16px;
}

.addon-control {
    width: 140px;
    flex-shrink: 0;
}

.addon-control input {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(61, 80, 76, .2);
    border-radius: 8px;
    background: #fff;
    color: #243536;
    text-align: center;
}

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

    .register-page::before {
        min-height: 280px;
    }

    .register-page::after {
        top: 150px;
        bottom: auto;
        width: min(520px, calc(100% - 52px));
    }

    .register-card {
        border-left: 0;
        border-top: 1px solid rgba(61, 80, 76, .16);
    }

    .package-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .register-page {
        width: 100%;
        margin-top: 0;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    .register-page::before {
        min-height: 230px;
    }

    .register-page::after {
        top: 112px;
        left: 22px;
        width: calc(100% - 44px);
        font-size: clamp(1.55rem, 8vw, 2.25rem);
    }

    .register-card-inner {
        padding: 30px 22px 38px;
    }

    .register-card h1,
    .register-heading h1 {
        max-width: 11ch;
        font-size: clamp(2.1rem, 10vw, 2.85rem);
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .addon-row {
        flex-direction: column;
    }

    .addon-control {
        width: 100%;
    }
}
