.notice {
    background-color: var(--navy);
    color: #ffffff;

    h1 {
        font-weight: 800;
        font-size: 52px;
        line-height: 1.04;
        letter-spacing: -0.02em;
        text-wrap: balance;
    }

    p {
        max-width: 36em;
        margin-top: 18px;
        font-size: 20px;
        line-height: 1.55;
        color: var(--navy-text);
    }
}

.notice-inner {
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 72px 32px 80px;
}

/* Room for contact tiles that overlap the notice's bottom edge */
.notice:has(+ .contact-methods) .notice-inner {
    padding-bottom: 116px;
}

.notice-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

@media (width < 900px) {
    .notice h1 {
        font-size: 38px;
    }

    .notice p {
        font-size: 18px;
    }

    .notice-inner {
        padding: 40px 16px 48px;
    }

    .notice-actions .button {
        flex: 1 1 100%;
    }

    .notice:has(+ .contact-methods) .notice-inner {
        padding-bottom: 84px;
    }
}
