:root {
  --bg: #f5f3eb;
  --surface: rgba(255, 252, 245, 0.92);
  --line: rgba(20, 31, 27, 0.11);
  --text: #18211c;
  --muted: #66726c;
  --green: #2f5f49;
  --green-deep: #1f4033;
  --amber: #edae36;
  --shadow: 0 18px 48px rgba(24, 33, 28, 0.11);
  --radius: 22px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(237, 174, 54, 0.2), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(47, 95, 73, 0.14), transparent 26%),
    linear-gradient(140deg, #fbf8f0 0%, #f1efe6 50%, #ebf1ea 100%);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--green-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(24, 33, 28, 0.08);
  background: rgba(245, 243, 235, 0.84);
  backdrop-filter: blur(16px);
}

.nav,
.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav {
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--amber);
  border: 2px solid var(--text);
  box-shadow: 4px 4px 0 var(--text);
}

.nav-links,
.footer-links,
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--text);
}

.page-shell,
.legal-shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.page-shell {
  padding: 30px 0 60px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 22px;
  margin: 20px 0 44px;
}

.hero h1,
.section h2,
.legal-card h1 {
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.9rem);
  margin: 0 0 18px;
  max-width: 820px;
}

.hero-copy > p:not(.eyebrow),
.section-lede,
.about-card p,
.tool-card p,
.guide-link,
.legal-card p,
.legal-card li {
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 10px;
  color: #b5542f;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

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

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 14px 28px rgba(47, 95, 73, 0.24);
}

.btn-primary:hover {
  background: var(--green-deep);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
}

.hero-card,
.tool-card,
.guide-link,
.about-card,
.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card,
.about-card,
.legal-card,
.tool-card {
  padding: 22px;
}

.hero-card h2,
.tool-card h3,
.about-card h3 {
  margin-top: 0;
}

.hero-card h2,
.tool-card h3 {
  margin-bottom: 10px;
}

.stat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.stat-list li {
  display: grid;
  gap: 4px;
}

.stat-list strong {
  font-size: 1.7rem;
  line-height: 1;
}

.stat-list span,
.tool-top span {
  color: #b5542f;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.section {
  margin-top: 56px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

.section-lede {
  max-width: 520px;
  margin: 0;
}

.tool-grid,
.guide-grid,
.about-grid,
.summary-grid,
.category-grid,
.faq-grid-root {
  display: grid;
  gap: 16px;
}

.tool-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.summary-grid,
.category-grid,
.about-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-grid-root {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}

.tool-card h3 {
  font-size: 1.1rem;
}

.tool-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.tool-top a {
  font-size: 0.92rem;
}

.guide-link {
  display: block;
  padding: 18px 20px;
  text-decoration: none;
}

.guide-link:hover,
.tool-card:hover,
.about-card:hover,
.summary-card:hover,
.category-card:hover,
.faq-card:hover,
.timeline-item:hover {
  border-color: rgba(47, 95, 73, 0.32);
}

.summary-card,
.category-card,
.faq-card,
.timeline-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.summary-card,
.category-card,
.faq-card {
  padding: 22px;
}

.summary-card h3,
.category-card h3,
.faq-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.summary-card p,
.category-card p,
.faq-card p,
.timeline-item p {
  color: var(--muted);
  margin: 0;
}

.category-card span,
.timeline-date {
  color: #b5542f;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-list {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  gap: 16px;
  grid-template-columns: 110px minmax(0, 1fr);
  padding: 20px 22px;
}

.timeline-item h3 {
  margin: 0 0 8px;
}

.studio-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.legal-shell {
  padding: 38px 0 64px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 14px;
  font-weight: 700;
}

.legal-card h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.legal-card h2 {
  margin-top: 28px;
}

.site-footer {
  border-top: 1px solid rgba(24, 33, 28, 0.09);
  margin-top: 34px;
  padding: 22px 0 34px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .hero,
  .tool-grid,
  .guide-grid,
  .about-grid,
  .summary-grid,
  .category-grid,
  .faq-grid-root,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .section-head,
  .studio-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .nav,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-card,
  .tool-card,
  .guide-link,
  .about-card,
  .legal-card,
  .summary-card,
  .category-card,
  .faq-card,
  .timeline-item {
    padding: 18px;
  }

  .page-shell,
  .legal-shell {
    width: min(var(--max), calc(100% - 24px));
  }
}
