:root {
  --color-bg: #fafaf9;
  --color-text: #1c1917;
  --color-text-muted: #57534e;
  --color-accent: #78716c;
  --color-border: #e7e5e4;
  --font-serif: "Noto Serif SC", "Source Han Serif CN", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
}

.logo img {
  display: block;
  height: 40px;
  width: auto;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
}

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

/* Hero */
.hero {
  padding: 3rem 0 4rem;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.hero-tagline {
  font-size: 1.05rem;
  color: var(--color-accent);
  margin: 0 0 1rem;
  font-weight: 500;
}

.hero-desc {
  max-width: 560px;
  margin: 0 auto;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Sections */
.section {
  padding: 2.5rem 0;
}

.section h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--color-text);
}

.section-desc {
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.about p {
  margin: 0;
  color: var(--color-text-muted);
  max-width: 720px;
}

/* Products */
.products {
  background: #fff;
  border-top: 1px solid var(--color-border);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.product-card {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.product-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-bg);
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1rem 1rem 0.25rem;
  color: var(--color-text);
}

.product-card p {
  margin: 0 1rem 1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Contact */
.contact p {
  margin: 0 0 0.5rem;
  color: var(--color-text-muted);
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
  background: #fff;
}

.site-footer .company-name {
  font-weight: 500;
  color: var(--color-text);
  margin: 0 0 0.25rem;
}

.site-footer .icp {
  margin: 0;
  font-size: 0.875rem;
}

.site-footer .icp a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.site-footer .icp a:hover {
  text-decoration: underline;
}
