/* 
 * ReadSix 全局基础样式与 Reset
 * 遵循极简与微粗犷（Neo-Brutalist）结合的美学规则
 */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-background);
  color: var(--color-primary);
  font-family: var(--font-family-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 通用容器限制 */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* 标题基础样式 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 900; /* 匹配 ReadSix 粗犷的标题风格 */
  color: var(--color-primary);
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* 节标题统一格式 */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 900;
  margin-top: 12px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-on-surface-variant);
  margin-top: 10px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
