/* Basic reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base, 14px);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Inter 高级渲染：开启等宽数字 + 标准连字 */
  font-feature-settings: "cv11", "ss01", "ss03", "tnum";
  text-rendering: optimizeLegibility;
}

/* 标题统一字距收紧（Inter 在中大字号下需要负字距才出"高级感"） */
h1, h2, h3 {
  letter-spacing: -0.01em;
  font-weight: var(--fw-semi, 600);
  color: var(--color-text);
}
h1 { letter-spacing: -0.02em; }

/* 数字默认等宽（价格 / 统计场景对齐） */
.price, .currency, .stat-card__value, .pay-result__info-row strong {
  font-variant-numeric: tabular-nums;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, dl, figure, blockquote {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}
