:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --text: #2c2722;
  --muted: #8a8178;
  --accent: #c8743c;
  --accent-soft: #f3e3d6;
  --border: #ece4da;
  --maxw: 960px;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(80, 60, 40, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(251, 248, 243, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}
.brand:hover { text-decoration: none; }

.site-nav { display: flex; gap: 22px; }
.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}
.site-nav a.active,
.site-nav a:hover { color: var(--accent); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text);
}

/* Layout */
main { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.hero {
  text-align: center;
  padding: 80px 0 60px;
}
.hero-kicker {
  color: var(--muted);
  letter-spacing: 2px;
  margin: 0 0 8px;
  font-size: 0.9rem;
}
.hero-title {
  font-size: clamp(2.4rem, 8vw, 4rem);
  margin: 0 0 16px;
  color: var(--text);
}
.hero-sub {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto 28px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #b5632f; }
.btn-ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); }

.section { padding: 48px 0; }
.section.narrow { max-width: 680px; margin: 0 auto; }
.section-title {
  font-size: 1.4rem;
  margin: 0 0 20px;
  color: var(--text);
}
.page-title { font-size: 2rem; margin: 40px 0 8px; }
.page-intro { color: var(--muted); margin: 0 0 32px; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}
.card:hover { transform: translateY(-3px); }
.card h3 { margin: 0 0 10px; color: var(--text); }
.card p { color: var(--muted); margin: 0 0 16px; font-size: 0.95rem; }
.card-link { font-weight: 600; font-size: 0.9rem; }

/* Lists */
.plain-list { padding-left: 20px; color: var(--muted); }
.plain-list li { margin: 8px 0; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 32px 24px;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 40px;
}
.footer-links a { margin: 0 8px; }

/* Responsive */
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .site-nav.open { max-height: 240px; }
  .site-nav a { padding: 14px 24px; border-top: 1px solid var(--border); }
  .hero { padding: 56px 0 40px; }
}
