/* Hallmark · pre-emit critique: P4 H4 E4 S4 R5 V4
 * 保留站点品牌；移动端布局补充，桌面样式不变。 */
@media (max-width: 1024px) {
  html, body { overflow-x: clip; }
  section, footer, header, nav { min-width: 0; }
  section[id] { scroll-margin-top: 150px; }
  footer a { overflow-wrap: anywhere; }
}
@media (max-width: 768px) {
  button, a { -webkit-tap-highlight-color: transparent; }
  button, a[class*="btn"], a[href*="/app"] { min-height: 44px; }
  img { max-width: 100%; }
  h1 { overflow-wrap: anywhere; }
}
@media (max-width: 1024px) {
  body > header > div { height: auto; min-height: 64px; flex-wrap: wrap; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  body > header > div > nav { display: flex; order: 3; width: 100%; gap: 20px; overflow-x: auto; padding-bottom: 4px; }
  body > header nav a { flex-shrink: 0; white-space: nowrap; min-height: 36px; display: inline-flex; align-items: center; }
  body > header > div > div { flex-wrap: wrap; justify-content: flex-end; }
  body > header > div > div > div { display: flex; }
  body > header .lang-btn { min-width: 36px; min-height: 36px; }
  body > header a[href*="/app"] { white-space: nowrap; display: inline-flex; align-items: center; }
  footer > div { flex-wrap: wrap; gap: 24px; }
}
@media (max-width: 480px) {
  body > header > div > a img { max-width: 110px; height: auto; max-height: 36px; }
  body > header > div > div { gap: 6px; max-width: calc(100% - 120px); }
  body > header > div > div > div { width: 100%; justify-content: flex-end; }
  body > header a[href*="/app"] { padding: 8px 12px; margin: 0; font-size: 12px; }
  .hero-title-line { white-space: normal; overflow-wrap: anywhere; }
  #heroSection h1 { font-size: clamp(1.8rem, 7.5vw, 2.6rem); line-height: 1.25; }
  .interactive-card-shell { min-width: 0; max-width: 100%; }
}
