.contact { max-width: 760px; padding-block: 64px 80px; }
.contact h1 { font-size: clamp(28px, 5vw, 40px); margin: 12px 0 28px; }
.contact p { line-height: 1.9; }
.steps { display: flex; list-style: none; padding: 0; margin: 0 0 32px; border-bottom: 1px solid var(--line); }
.steps li { flex: 1; padding: 14px 4px; text-align: center; color: var(--muted); }
.steps [aria-current] { color: var(--ink); font-weight: bold; border-bottom: 3px solid var(--ink); }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 36px; margin-top: 24px; }
.panel h2 { font-size: 21px; margin-top: 0; }
.panel label { display: block; margin: 26px 0 10px; font-weight: bold; }
.panel label:first-of-type { margin-top: 0; }
.panel input:not([type=hidden]), .panel select, .panel textarea { display: block; width: 100%; padding: 13px; border: 1px solid #a79c90; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; letter-spacing: normal; }
.panel textarea { resize: vertical; min-height: 180px; }
.panel :is(input, select, textarea, button):focus-visible { outline: 3px solid #43859a; outline-offset: 3px; }
.panel small, .privacy { color: var(--muted); font-size: 13px; }
.required, .optional { font-size: 11px; margin-left: 8px; padding: 3px 7px; border-radius: 4px; font-weight: normal; }
.required { background: #f1e1da; color: #773d28; }
.optional { background: #eeeae3; }
.privacy { margin: 26px 0; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; padding: 15px 22px; border-radius: 8px; border: 1px solid var(--ink); background: var(--ink); color: var(--white); font: inherit; cursor: pointer; }
.button:hover { background: #665349; }
.button:disabled { opacity: .5; cursor: not-allowed; }
.captcha { margin-top: 28px; }
.secondary { background: transparent; color: var(--ink); }
.secondary:hover { background: var(--paper); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.confirmation { margin: 0; }
.confirmation dt { font-weight: bold; margin-top: 24px; }
.confirmation dd { white-space: pre-wrap; overflow-wrap: anywhere; margin: 8px 0 0; line-height: 1.8; }
.notice { padding: 16px 24px; border-radius: 8px; }
.error { background: #fff0eb; border: 1px solid #ae5b41; color: #7c311c; }
.notice p { margin: 0; }
.notice ul { padding-left: 20px; line-height: 1.8; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 600px) {
  .contact { width: calc(100% - 32px); padding-block: 36px 48px; }
  .panel { padding: 24px 18px; border-radius: 12px; }
  .steps { font-size: 13px; }
  .actions .button { width: 100%; }
  .header nav { font-size: 12px; }
}
