.contact-nav { white-space: nowrap; }
@media (min-width: 721px) and (max-width: 850px) {
  .desktop-nav { gap: 16px; white-space: nowrap; }
  .desktop-nav > a[href$='#ai'] { display: none; }
  .nav-actions .button { white-space: nowrap; }
}
@media (min-width: 901px) and (max-width: 1150px) {
  .desktop-nav { gap: 16px; margin-right: 8px; }
  .desktop-nav > a[href^='https://github.com'] { display: none; }
}
.page-main { color: #1d1d1f; max-width: 1120px; width: calc(100% - 96px); margin: 0 auto; padding: 36px 0 90px; }
.page-breadcrumb { font-size: .875rem; color: #6e6e73; display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 58px; }
.page-breadcrumb a:hover { text-decoration: underline; }
.page-main .page-title, html[lang='zh-CN'] .page-main .page-title { font-size: clamp(2.5rem, 4.8vw, 3.5rem); letter-spacing: -.035em; font-weight: 600; line-height: 1.17; margin: 0 0 22px; }
html[lang='zh-CN'] .page-main .page-title { font-weight: 500; line-height: 1.35; letter-spacing: -.02em; }
.contact-layout { display: grid; grid-template-columns: .85fr 1.3fr; gap: 88px; align-items: start; }
.contact-intro > p { font-size: 1.0625rem; line-height: 1.8; color: #626269; margin: 0 0 34px; max-width: 26em; }
.contact-details { margin-top: 44px; padding-top: 28px; border-top: 1px solid #e4e4e8; }
.contact-details .detail-label { font-size: .875rem; color: #6e6e73; margin-bottom: 8px; }
.contact-details > a { display: inline-block; font-size: 1rem; color: var(--blue); overflow-wrap: anywhere; }
.contact-details > p:last-child { margin: 24px 0 0; font-size: .875rem; line-height: 1.8; color: #6e6e73; }
.contact-form { min-width: 0; }
.form-note { margin: 0 0 26px; padding: 16px 18px; border-radius: 10px; background: #f5f5f7; color: #626269; font-size: .875rem; line-height: 1.75; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; min-width: 0; }
.form-field > label { font-size: .9375rem; font-weight: 500; line-height: 1.5; }
.optional { color: #6e6e73; font-size: .8125rem; font-weight: 400; margin-left: 6px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; font: 400 1rem/1.55 var(--font); color: #1d1d1f; border: 1px solid #c9c9ce; border-radius: 10px; padding: 12px 14px; background: #fff; min-height: 50px; }
.form-field textarea { resize: vertical; min-height: 190px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 3px solid #3057e12b; outline-offset: 1px; border-color: #3057e1; }
.form-field [aria-invalid='true'] { border-color: #a32621; }
.field-hint { color: #6e6e73; font-size: .8125rem; margin: 0; line-height: 1.6; }
.contact-privacy { color: #6e6e73; font-size: .875rem; line-height: 1.8; margin: 2px 0 22px; }
.contact-privacy a, .privacy-copy a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.contact-form .button { border-radius: 99px; font-weight: 400; font-size: 1rem; min-height: 50px; box-shadow: none; }
.contact-form .button:hover { transform: none; }
.contact-form .button:disabled { background: #e7e7eb; color: #727278; cursor: not-allowed; }
.form-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.form-status { font-size: .9375rem; line-height: 1.8; margin: 20px 0 0; }
.form-status:empty { display: none; }
.form-status[data-state='success'] { color: #236441; }
.form-status[data-state='limited'], .form-status[data-state='rejected'], .form-status[data-state='uncertain'] { color: #8c392f; }
.contact-fallback { margin-top: 26px; padding-top: 22px; border-top: 1px solid #e4e4e8; }
.contact-fallback > p { font-size: .875rem; color: #6e6e73; margin-bottom: 12px; }
.fallback-actions { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.fallback-actions a, .fallback-actions button { border: 0; padding: 6px 0; background: none; font: 400 .9375rem/1.6 var(--font); color: var(--blue); cursor: pointer; }
.fallback-actions a:hover, .fallback-actions button:hover { text-decoration: underline; text-underline-offset: 3px; }
.copy-recovery { width: 100%; min-height: 180px; margin-top: 18px; font: 1rem/1.6 var(--font); padding: 12px; border: 1px solid #c9c9ce; border-radius: 8px; }
.contact-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.privacy-copy { max-width: 750px; }
.privacy-copy h2, html[lang='zh-CN'] .privacy-copy h2 { font-size: 1.5rem; line-height: 1.4; letter-spacing: -.015em; font-weight: 500; margin: 36px 0 16px; }
.privacy-copy p { font-size: 1rem; line-height: 1.85; color: #424249; }
.privacy-copy .updated { font-size: .875rem; color: #6e6e73; }
@media (max-width: 1000px) { .contact-layout { gap: 44px; grid-template-columns: .8fr 1.2fr; } }
@media (max-width: 760px) {
  .page-main { width: calc(100% - 40px); padding-top: 26px; padding-bottom: 54px; }
  .page-breadcrumb { margin-bottom: 36px; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .page-main .page-title, html[lang='zh-CN'] .page-main .page-title { font-size: 2.125rem; }
  .contact-intro > p { margin-bottom: 20px; max-width: none; font-size: 1rem; }
  .contact-details { margin-top: 24px; padding-top: 20px; }
  .contact-details > p:last-child { margin-top: 14px; }
  .field-grid { gap: 0; grid-template-columns: 1fr; }
  .form-field { margin-bottom: 20px; }
}
