.form-grid .wide {
    grid-column: 1 / -1;
}

.optional,
small {
    color: var(--muted);
    font-weight: 400;
}

.review-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.review-actions form {
    margin: 0;
}

.activation-form {
    max-width: 560px;
    margin: 20px auto 70px;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
}

.activation-form label {
    display: block;
    margin-bottom: 18px;
}

.login-shell {
    display: grid;
    min-height: 70vh;
    place-items: center;
    padding: 56px 20px;
    background: linear-gradient(135deg, #111, #2b2924);
}

.login-card {
    width: min(100%, 520px);
    padding: clamp(28px, 6vw, 48px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .24);
}

.login-card h1 {
    margin: .15em 0;
    font: 700 clamp(2.3rem, 7vw, 3.8rem)/1 Georgia, serif;
}

.login-intro {
    margin: 0 0 28px;
    color: var(--muted);
}

.login-form label:not(.remember) {
    display: block;
    margin-bottom: 18px;
}

.login-form .remember {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 24px;
    font-weight: 600;
}

.login-form .remember input {
    width: 20px;
    height: 20px;
    margin: 0;
}

.notice.success {
    background: #e9f7ee;
    border-left-color: #2f855a;
}

.login-card .notice {
    margin: 18px 0;
}

textarea {
    display: block;
    width: 100%;
    margin-top: 7px;
    padding: 13px;
    border: 1px solid #bbb;
    border-radius: 4px;
    background: #fff;
    font: inherit;
    resize: vertical;
}

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

.service-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 4px;
}

.service-options input {
    width: 20px;
    height: 20px;
    margin: 0;
}

.package-card {
    min-width: 0;
}

.package-card li,
.package-name,
.page-heading h1 {
    overflow-wrap: anywhere;
}

@media (max-width: 760px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-header nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px 18px;
        text-align: left;
        width: 100%;
    }

    .form-grid .wide {
        grid-column: auto;
    }

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