.contact form#message-form {
    max-width: 840px;
    padding: clamp(16px, 3vw, 32px);
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #171a1b;
}
.request-topics { min-width: 0; border: 0; margin: 0; padding: 0; }
.request-topics legend { margin-bottom: 10px; font-weight: 700; }
.request-options { display: flex; flex-wrap: wrap; gap: 8px; }
.request-options label { position: relative; cursor: pointer; }
.request-options input { position: absolute; opacity: 0; }
.request-options span { display: block; padding: 8px 12px; border: 1px solid #545858; border-radius: 9px; }
.request-options input:checked + span { color: #111600; background: var(--accent); border-color: var(--accent); }
.request-options input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.request-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
#message-form button { width: 100%; }
@media (max-width: 600px) {
    .request-fields { grid-template-columns: minmax(0, 1fr); }
}
.grecaptcha-badge { visibility: hidden; }
.request-dialog {
    width: min(840px, calc(100% - 24px));
    max-height: calc(100% - 24px);
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #171a1b;
    color: var(--text);
    overflow: auto;
}
.request-dialog::backdrop { background: rgb(0 0 0 / 74%); }
.request-dialog-panel { padding: clamp(16px, 3vw, 32px); }
.request-dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.request-dialog-heading h2 { font-size: clamp(24px, 4vw, 38px); }
.request-close {
    flex: 0 0 42px;
    min-height: 42px;
    border: 1px solid #545858;
    border-radius: 9px;
    background: transparent;
    color: inherit;
    font: 26px/1 system-ui, sans-serif;
    cursor: pointer;
}
.contact .request-dialog form#message-form {
    margin-top: 18px;
    padding: 0;
    border: 0;
    background: none;
}
#message-form button:disabled { opacity: .55; cursor: not-allowed; }

/* The legacy availability notice is the first direct child of the form. */
#message-form > p.notice:first-child:not(.error) {
    display: none;
}
.hero-copy h1,
#request-dialog-title {
    font-weight: 600;
    letter-spacing: -0.025em;
}

.hero-copy p {
    font-weight: 400;
}

.masthead .header-action,
.hero-copy .button,
.contact-heading .button,
#message-form .request-topics legend,
#message-form button[type="submit"] {
    font-weight: 500;
}