:root {
  --bg-1: #f6e8d2;
  --bg-2: #e7d6ba;
  --ink: #2c2218;
  --muted: #685748;
  --line: rgba(44, 34, 24, 0.16);
  --card: rgba(255, 250, 241, 0.9);
  --brand: #8b4d2e;
  --brand-2: #2c7258;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(44, 34, 24, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Serif SC", "ZCOOL XiaoWei", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 8%, rgba(139, 77, 46, 0.24), transparent 42%),
    radial-gradient(circle at 84% 12%, rgba(44, 114, 88, 0.2), transparent 40%),
    linear-gradient(160deg, var(--bg-1), var(--bg-2));
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: radial-gradient(#000 0.5px, transparent 0.5px);
  background-size: 3px 3px;
}

.topbar {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.brand {
  font-size: clamp(20px, 3vw, 30px);
  letter-spacing: 0.1em;
  font-weight: 700;
}

.top-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  color: var(--muted);
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px 52px;
}

.hero {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: clamp(24px, 6vw, 48px);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand);
  letter-spacing: 0.14em;
  font-size: 12px;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 7vw, 60px);
  line-height: 1.04;
}

.desc {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(14px, 2.5vw, 18px);
  max-width: 700px;
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  text-decoration: none;
  color: var(--ink);
  font-size: 13px;
  background: rgba(255, 255, 255, 0.74);
}

.btn.solid {
  color: #fff;
  border: none;
  background: linear-gradient(135deg, var(--brand), #bf6f3f);
}

.btn.ghost {
  background: transparent;
}

button.btn {
  font-family: inherit;
  cursor: pointer;
}

.grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 16px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 77, 46, 0.45);
}

.tag {
  display: inline-flex;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--brand-2);
  border: 1px solid rgba(44, 114, 88, 0.3);
  border-radius: 999px;
  padding: 2px 8px;
}

.card h2 {
  margin: 10px 0 6px;
  font-size: 21px;
}

.card p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.foot {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 24px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}

.hidden {
  display: none !important;
}

@media (max-width: 760px) {
  .topbar {
    padding: 14px 12px;
    align-items: flex-start;
    flex-direction: column;
  }

  .top-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .wrap {
    padding: 10px 12px 36px;
  }

  .hero {
    border-radius: 20px;
    padding: 20px 16px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions .btn {
    width: auto;
  }

  .foot {
    padding: 0 12px 20px;
    flex-direction: column;
  }
}
