*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-primary);
  background: var(--color-bg-light);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; border: none; outline: none; background: none; }

/* 全局去掉点击/键盘聚焦时的默认描边（避免 Logo、导航、Tab 等出现黑框） */
a:focus,
a:active,
a:focus-visible,
button:focus,
button:active,
button:focus-visible,
label:focus,
label:focus-visible,
summary:focus,
summary:focus-visible,
[tabindex]:focus,
[tabindex]:focus-visible {
  outline: none !important;
}

button::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-gap) 0; }
.section--dark { background: var(--color-bg-dark); color: var(--color-text-on-dark); }
.section--subtle { background: var(--color-bg-subtle); }

.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 600;
  margin-bottom: 12px;
}
.section-head p {
  color: var(--color-text-secondary);
  font-size: 1rem;
  max-width: 640px;
  margin: 0 auto;
}
.section--dark .section-head p { color: var(--color-text-muted); }

.pc-only { display: block; }
.phone-only { display: none; }
@media (max-width: 992px) {
  .pc-only { display: none !important; }
  .phone-only { display: block !important; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
