:root {
  --ink: #162026;
  --muted: #5d6870;
  --paper: #f5f1e8;
  --panel: rgba(255, 252, 245, 0.82);
  --line: rgba(22, 32, 38, 0.13);
  --blue: #145c73;
  --green: #2f776a;
  --gold: #d8923a;
  --shadow: 0 20px 70px rgba(22, 32, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: "Aptos", "Microsoft YaHei UI", "Noto Sans SC", Arial, sans-serif;
  background:
    linear-gradient(120deg, rgba(20, 92, 115, 0.13), transparent 38%),
    linear-gradient(235deg, rgba(47, 119, 106, 0.16), transparent 42%),
    var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

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

.brand img {
  width: 42px;
  height: 42px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.08;
}

.brand strong {
  font-size: 20px;
  letter-spacing: 0.06em;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

nav a {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 252, 245, 0.58);
  color: #334047;
  font-size: 14px;
  font-weight: 800;
}

.hero {
  max-width: 820px;
  padding: 76px 0 34px;
}

.eyebrow,
.tag {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.96;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 24px 0 26px;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  min-height: 430px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.product-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.product-card h2 {
  margin-bottom: 12px;
  font-size: 34px;
}

.product-card p:not(.tag) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.stdpot-card {
  background:
    linear-gradient(150deg, rgba(20, 92, 115, 0.1), transparent 38%),
    var(--panel);
}

.epigrapher-card {
  background:
    linear-gradient(150deg, rgba(47, 119, 106, 0.12), transparent 38%),
    var(--panel);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-weight: 900;
}

.wechat-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 22px;
  align-items: center;
  margin-bottom: 64px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 252, 245, 0.76);
  box-shadow: 0 12px 38px rgba(22, 32, 38, 0.08);
}

.wechat-panel h2 {
  margin-bottom: 8px;
  font-size: 26px;
}

.wechat-panel p:not(.tag) {
  color: var(--muted);
  line-height: 1.72;
}

.wechat-panel img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 0 42px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

footer strong,
footer span {
  display: block;
}

footer strong {
  color: var(--ink);
  letter-spacing: 0.08em;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-legal p {
  margin: 0;
}

.beian-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.police-beian {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.police-beian img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex: 0 0 auto;
}

footer a:hover {
  color: var(--ink);
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 42px;
  }

  .product-grid,
  .wechat-panel {
    grid-template-columns: 1fr;
  }

  .wechat-panel img {
    justify-self: start;
    max-width: 100%;
  }

  footer {
    align-items: flex-start;
    text-align: left;
  }

  .footer-legal {
    align-items: flex-start;
  }

  .beian-links {
    justify-content: flex-start;
  }
}
