:root {
  --bg: #fbfaf6;
  --surface: #ffffff;
  --tint: #f3f1eb;
  --tint-strong: #eae6da;
  --ink: #142235;
  --muted: #5e6772;
  --line: #e4e1d8;
  --orange: #e96312;
  --orange-hover: #cb5108;
  --sage: #2f5d50;
  --sage-soft: #e6efec;
  --amber-soft: #fff4e8;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 340px;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; touch-action: manipulation; }
button:disabled { opacity: 0.5; cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #ec8a44; outline-offset: 3px; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
  flex-wrap: wrap;
  padding: 10px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, #e96312, #f1a14a);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}
.brand-text strong {
  display: block;
  font-size: 18px;
  letter-spacing: 0.5px;
  line-height: 1.25;
}
.brand-text small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.6px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.nav a, .nav button {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: background 0.15s, color 0.15s;
}
.nav a:hover, .nav button:hover {
  background: var(--tint);
  color: var(--ink);
}
.nav a.active, .nav button.active {
  background: var(--amber-soft);
  color: var(--orange);
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 1.3px;
  color: var(--sage);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}
h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 800;
}
h2 {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.3;
}
h3 { margin: 0; font-size: 18px; line-height: 1.4; }
.lead {
  font-size: 17px;
  color: #495462;
  max-width: 720px;
  margin: 14px 0 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.15s, background 0.15s;
}
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--orange-hover); }
.btn-secondary { background: var(--surface); border: 1px solid #d1cdc2; color: var(--ink); }
.btn-secondary:hover:not(:disabled) { background: var(--tint); }
.btn-sage { background: var(--sage); color: #fff; }
.btn-sage:hover:not(:disabled) { background: #244a3f; }

.section { padding: 48px 0; }
.section-tight { padding: 28px 0; }
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card-tint {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: var(--tint);
  color: var(--muted);
}
.tag-orange { background: var(--amber-soft); color: #b94a0a; }
.tag-sage { background: var(--sage-soft); color: var(--sage); }

.site-footer {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  padding: 26px 0 36px;
  color: var(--muted);
  font-size: 12px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-links a:hover { color: var(--ink); text-decoration: underline; }

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #142235;
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 13px;
  z-index: 90;
  box-shadow: 0 8px 28px rgba(20, 34, 53, 0.22);
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .container { padding: 0 16px; }
  .card, .card-tint { padding: 18px; }
}
@media print {
  .site-header, .site-footer, .no-print { display: none !important; }
  body { background: #fff !important; }
}
