:root {
  --bg: #f8f3ee;
  --text: #2e241c;
  --muted: #6b5a49;
  --card: #fffdfb;
  --line: #ead9c9;
  --brand: #e97a2f;
  --brand-dark: #b9571d;
  --shadow: 0 12px 32px rgba(144, 72, 26, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

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

a:hover {
  text-decoration: underline;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 10px;
  top: 10px;
  z-index: 10;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--line);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 250, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(144, 72, 26, 0.2);
}

.brand p {
  margin: 0;
  line-height: 1.3;
}

.brand-cn {
  font-weight: 700;
}

.brand-en {
  color: var(--muted);
  font-size: 12px;
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 8px 12px;
}

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

.menu-list a {
  display: inline-block;
  padding: 8px 10px;
  border-radius: 8px;
}

.menu-list a.active,
.menu-list a:hover {
  text-decoration: none;
  background: #ffe9d8;
}

.hero {
  padding: 80px 0 60px;
  background: radial-gradient(circle at right top, #ffe0c9, transparent 42%);
}

.hero-kicker {
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.hero h1 {
  margin: 0 0 16px;
  line-height: 1.25;
  font-size: clamp(28px, 4vw, 46px);
}

.hero-desc {
  max-width: 760px;
  color: #4a3c31;
}

.btn {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}

.btn:hover {
  text-decoration: none;
  background: var(--brand-dark);
}

.section {
  padding: 48px 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.card h2 {
  margin-top: 0;
  font-size: 22px;
}

.prose {
  background: #fffdfb;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 30px;
}

.prose h1,
.prose h2 {
  line-height: 1.35;
}

.prose ul {
  padding-left: 20px;
}

.contact-card p {
  margin: 8px 0;
}

.hint {
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fffaf5;
}

.footer-wrap {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
  color: #665547;
  font-size: 14px;
}

.beian-icp {
  color: inherit;
}

.beian-icp:hover {
  color: var(--brand);
}

.beian-gongan {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.beian-gongan:hover {
  color: var(--brand);
  text-decoration: underline;
}

.beian-gongan img {
  display: block;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .menu-btn {
    display: inline-block;
  }

  .menu-list {
    position: absolute;
    right: 4%;
    top: 62px;
    width: min(220px, 92vw);
    background: #fffaf5;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 10px;
    display: none;
    flex-direction: column;
    gap: 6px;
  }

  .menu-list.open {
    display: flex;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }
}
