.contact-page {
  max-width: 38rem;
  padding-top: clamp(1.5rem, 6vh, 3.5rem);
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
}

.contact-page h1 { font-size: clamp(2rem, 6.8vw, 3rem); }
.contact-panel h2 { margin-bottom: .9rem; }
.contact-panel fieldset { margin: 0; padding: 0; min-width: 0; border: 0; }
.contact-panel legend, .contact-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.contact-panel label input { margin-top: .25rem; }
.contact-panel input:invalid:focus { border-color: var(--rose); }
.contact-panel .contact-notice { font-size: .9rem; }
.contact-panel button { justify-content: center; min-width: 8rem; }
.contact-panel [role="status"] { margin-bottom: 0; }
.contact-panel .error { margin-top: .65rem; }

@media (max-width: 32rem) {
  .contact-panel button { width: 100%; }
}
