@import "./fonts.css";

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

ul { list-style: none; }

.container { width: min(1160px, 92%); margin-inline: auto; }

section { padding: 96px 0; }

h1, h2, h3 { font-family: var(--ff-head); font-weight: var(--weight-head); letter-spacing: var(--tracking-head); line-height: 1.15; }

h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }

h3 { font-size: 1.15rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  /* 暗色主题（如 violet）下主色在深底上对比度不足，用 --c-soft 覆盖；其余主题回落到主色 */
  color: var(--c-soft, var(--c-primary));
  margin-bottom: 14px;
}

.section-head { max-width: 640px; margin-bottom: 56px; }

.section-head p { color: var(--c-muted); margin-top: 14px; }

.section-head.centered { margin-inline: auto; text-align: center; }
