:root {
  --bg: #fafaf7;
  --fg: #1a1a1a;
  --muted: #6b6b6b;
  --accent: #1a5fb4;
  --border: #e5e5e0;
  --max-width: 720px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Helvetica Neue", "Microsoft JhengHei", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg);
  background: var(--bg);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 96px;
}

header.site {
  border-bottom: 1px solid var(--border);
  padding: 24px;
  text-align: center;
}

header.site a {
  color: var(--fg);
  font-weight: 700;
  font-size: 22px;
  text-decoration: none;
  letter-spacing: 0.5px;
}

h1 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}

h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 40px 0 12px;
}

h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 24px 0 8px;
  color: var(--fg);
}

p { margin: 0 0 16px; }

.lede {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 32px;
}

ul {
  padding-left: 22px;
  margin: 0 0 16px;
}

li { margin-bottom: 6px; }

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 24px;
  font-size: 15px;
}

th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  background: #f3f3ee;
  font-weight: 600;
}

footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

footer nav a { margin: 0 12px; }

.meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.hero-cta {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 20px;
  background: var(--fg);
  color: var(--bg);
  border-radius: 8px;
  font-weight: 600;
}
.hero-cta:hover { text-decoration: none; opacity: 0.9; }
