/* Shares typography, header, footer and brand tokens with the top page. */
.contact-page { --contact-unit: calc(100vw / 1440); }
.contact-inner { width: calc(var(--contact-unit) * 1024); max-width: calc(100% - 48px); margin-inline: auto; }
.contact-breadcrumb { background: #f6f6f7; color: #777; }
.contact-breadcrumb ol { display: flex; align-items: center; gap: 10px; min-height: 38px; margin-block: 0; padding-block: 6px; list-style: none; font-size: 14px; font-weight: 700; }
.contact-breadcrumb li + li::before { content: "›"; margin-right: 10px; }
.contact-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-intro { padding: calc(var(--contact-unit) * 72) 0 calc(var(--contact-unit) * 76); text-align: center; }
.contact-intro h1 { margin: 0; font-size: clamp(28px, calc(var(--contact-unit) * 34), 48px); font-weight: 900; line-height: 1.5; letter-spacing: .06em; }
.contact-intro p { margin-top: 28px; font-size: clamp(14px, calc(var(--contact-unit) * 16), 22px); line-height: 1.9; font-weight: 500; }
.contact-content { background: var(--accent-surface); padding: calc(var(--contact-unit) * 72) 0 calc(var(--contact-unit) * 82); }
.contact-card { padding: clamp(32px, calc(var(--contact-unit) * 60), 88px); border-radius: 20px; background: #fff; }
.contact-steps { display: flex; justify-content: center; margin: 0 auto 42px; padding: 0; list-style: none; width: min(480px, 100%); isolation: isolate; }
.contact-steps li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 9px; color: #737373; font-size: 14px; font-weight: 700; }
.contact-steps li::before { content: ""; position: absolute; z-index: 0; top: 21px; left: -50%; width: 100%; height: 1px; background: #dedede; }
.contact-steps li:first-child::before { content: none; }
.contact-steps span { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #f4f4f4; font-size: 22px; font-weight: 700; }
.contact-steps [aria-current="step"] { color: var(--accent); }
.contact-steps [aria-current="step"] span { background: var(--accent); color: #fff; }
.contact-state-title { font-size: clamp(20px, calc(var(--contact-unit) * 24), 32px); line-height: 1.6; font-weight: 700; text-align: center; scroll-margin-top: 110px; }
.contact-state-title:focus { outline: none; }
.contact-form-note { margin-top: 16px; text-align: center; font-size: 13px; color: #666; }
.contact-required, .contact-optional { display: inline-block; flex: none; padding: 1px 7px; border-radius: 3px; font-size: 11px; font-weight: 700; line-height: 1.9; letter-spacing: .02em; vertical-align: 1px; }
.contact-required { background: var(--accent); color: #fff; }
.contact-optional { background: #f3f3f3; color: #666; }
#contact-form { margin-top: 42px; }
.contact-row { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 28px; margin-top: 28px; }
.contact-row:first-child { margin-top: 0; }
.contact-row > label { padding-top: 15px; display: flex; justify-content: space-between; align-items: baseline; align-self: start; gap: 10px; font-size: 15px; font-weight: 700; }
.contact-control { min-width: 0; }
.contact-control input, .contact-control select, .contact-control textarea { display: block; width: 100%; min-width: 0; border: 1px solid #d8d8d8; border-radius: 7px; background: #fff; padding: 14px 16px; font: inherit; font-size: 16px; line-height: 1.6; color: #000; transition: border-color .15s, box-shadow .15s; }
.contact-control input, .contact-control select { min-height: 56px; }
.contact-control textarea { resize: vertical; min-height: 210px; }
.contact-control input::placeholder, .contact-control textarea::placeholder { color: #858585; opacity: 1; }
.contact-control input:focus, .contact-control select:focus, .contact-control textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.contact-select { position: relative; }
.contact-select select { appearance: none; padding-right: 44px; cursor: pointer; }
.contact-select::after { content: ""; position: absolute; pointer-events: none; right: 20px; top: 21px; width: 10px; height: 10px; border-right: 1.5px solid #777; border-bottom: 1.5px solid #777; transform: rotate(45deg); }
.contact-help, .contact-design-note { margin-top: 8px; font-size: 12px; line-height: 1.8; color: #666; }
.contact-design-note { padding: 12px 14px; background: var(--accent-surface); border-radius: 6px; }
.contact-detail-meta { display: flex; align-items: baseline; gap: 12px; justify-content: space-between; }
#contact-count { flex: none; color: #777; font-size: 12px; }
.contact-field-error { color: var(--accent-focus); font-size: 12px; margin-top: 6px; line-height: 1.6; }
.contact-field-error:empty { display: none; }
.contact-control [aria-invalid="true"] { border-color: var(--accent-focus); }
.contact-prefill { padding: 12px 14px; margin-bottom: 14px; border-radius: 6px; background: var(--accent-surface); color: var(--accent-focus); font-size: 13px; line-height: 1.8; }
.contact-consent { margin: 40px auto 28px; text-align: center; }
.contact-consent > div { display: flex; align-items: flex-start; justify-content: center; gap: 10px; font-size: 14px; }
.contact-consent input { flex: none; margin: 3px 0 0; width: 20px; height: 20px; accent-color: var(--accent); cursor: pointer; }
.contact-consent label { cursor: pointer; }
.contact-consent a { text-decoration: underline; text-underline-offset: 4px; }
.contact-consent a:hover { color: var(--accent); }
.contact-primary, .contact-secondary { display: flex; justify-content: center; align-items: center; gap: 16px; border: 2px solid var(--accent); border-radius: 999px; min-height: 66px; padding: 16px 24px; font: inherit; font-size: 17px; font-weight: 700; line-height: 1.6; text-align: center; }
.contact-primary { width: min(410px, 100%); margin-inline: auto; background: var(--accent); color: #fff; transition: background .15s; }
.contact-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.contact-primary .icon { width: 20px; height: 20px; }
.contact-secondary { border-color: #dedede; background: #fff; color: #000; }
.contact-secondary:hover { border-color: #000; }
.contact-primary:disabled, .contact-secondary:disabled { cursor: not-allowed; opacity: .55; }
.contact-submit-note { margin-top: 12px; color: #666; font-size: 12px; text-align: center; }
.contact-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.contact-state-note { text-align: center; margin: 14px 0 32px; font-size: 14px; line-height: 1.9; }
.contact-review-list { margin: 0; }
.contact-review-list > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; padding: 23px 0; border-bottom: 1px solid #e9e9e9; font-size: 15px; }
.contact-review-list dt { font-weight: 700; }
.contact-review-list dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.contact-review-consent { margin: 28px 0; font-size: 13px; color: #666; text-align: center; }
.contact-actions { display: flex; justify-content: center; gap: 16px; }
.contact-actions .contact-primary { margin: 0; width: auto; flex: 1; max-width: 410px; }
.contact-actions .contact-secondary { min-width: 150px; }
.contact-result-error, .contact-fallback { padding: 18px 20px; margin-bottom: 24px; border-radius: 8px; background: var(--accent-surface); color: var(--accent-focus); font-size: 14px; line-height: 1.9; }
.contact-result-error a, .contact-fallback a { display: inline-block; margin-top: 6px; text-decoration: underline; text-underline-offset: 3px; }
.contact-send-status { text-align: center; font-size: 14px; margin-top: 14px; }
.contact-complete { text-align: center; padding: 10px 0 20px; }
.contact-complete-mark { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 50%; color: #fff; background: var(--accent); }
.contact-complete-mark .icon { width: 32px; height: 32px; stroke-width: 2.5; }
.contact-complete p { margin-top: 22px; font-size: 15px; line-height: 1.9; }
.contact-complete .contact-primary { margin-top: 36px; }
.contact-support { margin-top: 48px; padding: 38px 24px; background: #fff; border-radius: 18px; text-align: center; }
.contact-support h2 { font-size: 21px; font-weight: 700; line-height: 1.7; }
.contact-support p { margin-top: 16px; font-size: 14px; line-height: 1.9; }
.contact-support-links { display: flex; gap: 18px; justify-content: center; margin-top: 24px; }
.contact-support-links a { display: flex; align-items: center; justify-content: center; gap: 18px; border: 1.5px solid var(--accent); color: var(--accent); border-radius: 999px; min-height: 54px; padding: 12px 24px; min-width: 220px; font-size: 15px; font-weight: 700; }
.contact-support-links a:hover { background: var(--accent-surface); }
.contact-support-links .icon { width: 20px; height: 20px; }
@media (min-width: 700px) and (max-width: 1099px) {
  .contact-inner { width: min(800px, calc(100% - 48px)); }
  .contact-card { padding: 36px 32px; }
  .contact-row { grid-template-columns: 180px minmax(0, 1fr); gap: 22px; }
  .contact-row > label { font-size: 14px; }
}
@media (max-width: 699px) {
  .contact-inner { width: calc(100% - 32px); max-width: none; }
  .contact-breadcrumb ol { min-height: 34px; font-size: 11px; }
  .contact-intro { padding: 46px 0 42px; }
  .contact-intro p { margin-top: 22px; font-size: 14px; text-wrap: balance; }
  .contact-intro p br { display: none; }
  .contact-content { padding: 32px 0 48px; }
  .contact-card { padding: 28px 20px 32px; border-radius: 16px; }
  .contact-steps { margin-bottom: 28px; }
  .contact-steps li { font-size: 12px; gap: 6px; }
  .contact-steps span { width: 36px; height: 36px; font-size: 19px; }
  .contact-steps li::before { top: 18px; }
  .contact-state-title { font-size: 19px; }
  .contact-form-note { font-size: 12px; margin-top: 12px; }
  #contact-form { margin-top: 28px; }
  .contact-row { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 24px; }
  .contact-row > label { padding: 0; justify-content: flex-start; font-size: 14px; gap: 10px; }
  .contact-control input, .contact-control select, .contact-control textarea { padding: 12px; font-size: 16px; }
  .contact-control select { padding-right: 36px; }
  .contact-select::after { right: 16px; }
  .contact-detail-meta { display: block; }
  #contact-count { display: block; text-align: right; margin-top: 4px; }
  .contact-consent { margin: 28px 0 24px; }
  .contact-consent > div { font-size: 12px; gap: 8px; }
  .contact-primary, .contact-secondary { min-height: 58px; font-size: 15px; padding: 14px; gap: 10px; }
  .contact-review-list > div { grid-template-columns: minmax(0, 1fr); gap: 8px; font-size: 14px; padding: 18px 0; }
  .contact-state-note { font-size: 13px; margin-bottom: 20px; }
  .contact-actions { flex-direction: column-reverse; gap: 12px; }
  .contact-actions .contact-primary { flex: none; width: 100%; }
  .contact-actions .contact-secondary { width: 100%; }
  .contact-complete p { font-size: 14px; }
  .contact-support { padding: 28px 20px; margin-top: 28px; border-radius: 16px; }
  .contact-support h2 { font-size: 18px; }
  .contact-support p { font-size: 13px; }
  .contact-support p br { display: none; }
  .contact-support-links { flex-direction: column; gap: 12px; margin-top: 20px; }
  .contact-support-links a { min-width: 0; width: 100%; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-control input, .contact-control select, .contact-control textarea, .contact-primary { transition: none; }
}
