:root {
  --orange: #e8a838;
  --brown: #4a3728;
  --cream: #faf6f0;
  --warm-white: #fffdf9;
  --text: #3d2f24;
  --muted: #6b5b4f;
  --border: #e8dfd3;
  --shadow: 0 8px 32px rgba(74, 55, 40, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
}

a {
  color: var(--brown);
  text-decoration: none;
}

a:hover {
  color: var(--orange);
}

img {
  max-width: 100%;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brown);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.95rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--orange);
  color: var(--brown);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--brown);
  color: var(--brown);
}

.hero {
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(180deg, var(--warm-white) 0%, var(--cream) 100%);
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.35;
  margin: 0 0 1rem;
  color: var(--brown);
}

.hero p.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

section {
  padding: 3.5rem 0;
}

section h2 {
  font-size: 1.6rem;
  color: var(--brown);
  margin: 0 0 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--brown);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.card .tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--orange);
  font-weight: 600;
}

.story-list a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.story-list a:last-child {
  border-bottom: none;
}

.story-list span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.site-footer {
  background: var(--brown);
  color: #d8cfc4;
  padding: 2.5rem 0;
  font-size: 0.9rem;
}

.site-footer a {
  color: #f0e8dc;
}

.site-footer .inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.article {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow);
}

.article h1 {
  color: var(--brown);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  line-height: 1.35;
}

.article .meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.article h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
}

.article ul, .article ol {
  padding-left: 1.25rem;
}

.cta-box {
  background: linear-gradient(135deg, #fff8eb 0%, #fdeacc 100%);
  border: 1px solid #f0d9a8;
  border-radius: 16px;
  padding: 1.75rem;
  margin: 2rem 0;
  text-align: center;
}

.form-group {
  margin-bottom: 1rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-group input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1rem;
}

.video-placeholder {
  aspect-ratio: 16/9;
  background: #2a2118;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  margin-bottom: 2rem;
}

@media (max-width: 640px) {
  .nav {
    font-size: 0.85rem;
    gap: 0.75rem;
  }
}
