/**
 * ZH Library — Base
 * 依赖 tokens.css。全站页面均应引入。
 */

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

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  margin: 0;
  color: var(--zh-color-text);
  font-family: var(--zh-font-sans);
  font-size: var(--zh-text-base);
  font-weight: var(--zh-weight-normal);
  line-height: var(--zh-leading-relaxed);
  background: var(--zh-color-bg);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: var(--zh-underline-offset);
}

a:hover { color: var(--zh-color-muted); }
