/* Contact geometry only. Colours, type, inputs and primary button use brand-web.css. */
.page-contact *, .page-contact *::before, .page-contact *::after { box-sizing: border-box; }
.page-contact { margin: 0; font-size: 1rem; line-height: 1.65; }
.page-contact [hidden] { display: none !important; }
.page-contact .legal-nav { position: relative !important; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding: 16px 24px !important; }
.page-contact .legal-nav-logo { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; }
.page-contact .legal-nav-logo img { max-width: 100%; object-fit: contain; }
.page-contact .legal-nav-back { display: inline-flex; align-items: center; min-height: 44px; }
.page-contact .legal-content { padding: 40px 24px 64px !important; margin: 0 auto; }
.page-contact .legal-content h1 { margin: 0 0 24px; }
.page-contact p { margin: 0 0 24px; overflow-wrap: anywhere; }
.page-contact .contact-email { display: inline-block; vertical-align: middle; min-width: 44px; min-height: 44px; max-width: 100%; padding-block: 8px; overflow-wrap: normal; word-break: normal; white-space: normal; }
.contact-form, .contact-success { width: 100%; max-width: 640px; min-width: 0; }
.contact-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.contact-form > *, .contact-field { min-width: 0; }
.contact-field label { display: block; font-weight: 600; margin-bottom: 8px; overflow-wrap: anywhere; }
.contact-field input, .contact-field textarea { display: block; width: 100%; min-width: 0; padding: 12px 14px; font-size: 1rem; line-height: 1.5; }
.contact-field input { min-height: 48px; }
.contact-field textarea { min-height: 168px; resize: vertical; }
.contact-help, .contact-field-error { font-size: .9375rem; }
.contact-form .contact-help, .contact-form .contact-field-error { margin: 8px 0 0; }
.contact-field-error { font-weight: 600; color: var(--sx-ink); }
.contact-form [aria-invalid="true"] { border-width: 2px; border-color: var(--sx-ink); }
.contact-privacy-label { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 8px 0; cursor: pointer; }
.contact-privacy-label input { flex: 0 0 24px; width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--sx-brand); }
.contact-privacy-label span { flex: 1 1 0; min-width: 0; overflow-wrap: anywhere; }
.contact-privacy-link { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; max-width: 100%; overflow-wrap: anywhere; }
.contact-form .btn { justify-self: start; padding: 12px 24px; min-height: 48px; font-size: 1rem; line-height: 1.5; cursor: pointer; white-space: normal; }
.contact-form .btn, .contact-success button { min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.contact-form .btn:disabled { cursor: wait; }
.contact-notice { max-width: 640px; padding: 16px; border: 1px solid var(--sx-border); border-radius: 8px; margin-top: 24px; }
.contact-notice p { margin: 0; }
.contact-notice a, .contact-success button, .page-contact .legal-footer a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; }
.contact-notice a { max-width: 100%; overflow-wrap: anywhere; }
.contact-success h2 { margin-top: 0; }
.contact-success button { padding: 8px 16px; font: inherit; cursor: pointer; }
.page-contact :is(a, button, input, textarea):focus-visible { outline: 2px solid var(--sx-brand); outline-offset: 4px; box-shadow: none; }
.page-contact .legal-footer { border-top: 1px solid var(--sx-border); padding: 24px; text-align: center; }
.page-contact .legal-footer a + a { margin-left: 16px; }
.page-contact .legal-footer a { color: var(--sx-text-muted); text-decoration: underline; text-underline-offset: .18em; }
.page-contact .legal-footer a:hover { color: var(--sx-brand); }
.contact-honeypot { display: none !important; }
