/* ===== foundation.css — 基础重置与设计变量 ===== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  line-height: 1.25;
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -0.01em;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color .18s ease;
}
a:hover { color: var(--primary-dark); }

img, svg { max-width: 100%; display: block; }
img { height: auto; }

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

:root {
  --primary: #0084d1;
  --primary-dark: #005f9e;
  --primary-soft: #e8f4fd;
  --accent: #e8402a;
  --heading: #101a24;
  --text: #26343f;
  --muted: #5f7180;
  --line: #e3e9ef;
  --bg: #ffffff;
  --bg-alt: #f5f8fb;
  --footer-bg: #0e1a24;
  --radius: 14px;
  --radius-sm: 9px;
  --shell: 1200px;
  --shadow: 0 10px 30px rgba(16, 35, 55, .08);
  --shadow-lg: 0 22px 60px rgba(16, 35, 55, .14);
}
