/* Base reset & design tokens */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  background: #f1f1f1;
}

/* 首页全屏滚动；内页正常滚动 */
body:not(.inner-page) {
  overflow: hidden;
}

body.inner-page {
  overflow: auto;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: 0.85;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
}

:root {
  --brand: #e60012;
  --brand-dark: #c40010;
  --ink: #222;
  --muted: #666;
  --line: #ddd;
  --white: #fff;
  --header-h: 72px;
  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
