*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-system);
  font-size: var(--fs-base);
  color: var(--text-primary);
  background: var(--surface-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--text-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: var(--sp-2) var(--sp-3); border-bottom: 1px solid var(--border); }
th { font-weight: var(--fw-bold); font-size: var(--fs-sm); color: var(--text-secondary); background: var(--surface-3); }
ul, ol { padding-left: var(--sp-6); }
li { margin-bottom: var(--sp-1); }
h1,h2,h3,h4 { font-weight: var(--fw-bold); line-height: 1.3; }
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
p { margin-bottom: var(--sp-3); }
code { font-family: var(--font-mono); font-size: 0.9em; background: var(--surface-3); padding: 2px 5px; border-radius: var(--r-sm); }
