.account-page.account-registration {
    --account-card-bg: #fff;
    max-width: 640px;
    min-height: 0;
    margin: 32px auto;
    padding: 0 20px;
    background: none;
}

.account-registration .account-auth-card {
    padding: 28px;
    background: var(--account-card-bg);
    box-shadow: none;
}

.account-registration .account-auth-card::before {
    content: none;
}

.account-registration h1 {
    font-size: 32px;
    margin-bottom: 24px;
}

.account-registration .account-field label {
    color: var(--account-text-main);
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}

.account-registration .account-checkbox-field label {
    min-height: 44px;
    gap: 12px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    cursor: pointer;
}

.account-registration .account-checkbox-field input[type="checkbox"] {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    padding: 0;
    accent-color: var(--account-accent);
}

.account-registration .account-button,
.account-agreement-banner .account-button {
    min-height: 44px;
    background: var(--account-accent);
    box-shadow: none;
    transform: none;
}

.account-registration .account-button:hover,
.account-agreement-banner .account-button:hover {
    background: var(--account-accent-dark);
}

.account-registration .account-actions {
    margin-top: 0;
}

.account-agreement-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    background: var(--surface-muted-color);
    box-shadow: none;
}

.account-agreement-banner h2 {
    margin-bottom: 12px;
    font-size: 24px;
    line-height: 1.3;
}

.account-agreement-banner p {
    max-width: 68ch;
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--account-text-main);
}

.agreement-document {
    box-sizing: border-box;
    max-width: 76ch;
    margin: 40px auto;
    padding: 0 24px;
    color: var(--text-color);
    font-family: var(--sans-font);
    font-size: 16px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.agreement-document h1 {
    margin: 0 0 20px;
    font-family: var(--serif-font);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
}

.agreement-document-text {
    white-space: pre-line;
}

@media (max-width: 640px) {
    .account-page.account-registration {
        margin: 24px auto;
        padding: 0 16px;
    }

    .account-registration .account-auth-card {
        padding: 20px;
    }

    .account-registration h1 {
        font-size: 26px;
    }

    .account-registration .account-button,
    .account-agreement-banner .account-button {
        width: 100%;
    }

    .account-agreement-banner {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .agreement-document {
        margin: 28px auto;
        padding: 0 20px;
    }

    .agreement-document h1 {
        font-size: 24px;
    }
}
