:root {
  --ink: #1f2a37;
  --muted: #5b6676;
  --line: #e5e7eb;
  --paper: #ffffff;
  --accent: #7d5a50;
  --accent-soft: #f5f6f8;
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei',
    'Noto Sans CJK SC', sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

a {
  color: inherit;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
}

.brand small {
  margin-left: 10px;
  color: var(--muted);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0;
}

nav a {
  margin-left: 28px;
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
}

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

.hero {
  padding: 96px 0 80px;
  text-align: center;
}

.hero .eyebrow {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 4px;
}

.hero h1 {
  margin: 16px 0 20px;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.35;
}

.hero p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
}

section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

section h2 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 600;
}

section .lead {
  margin: 0 0 40px;
  color: var(--muted);
}

.about {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.facts {
  margin: 0;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.facts div {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px;
}

.facts div:last-child {
  border-bottom: 0;
}

.facts dt {
  flex: 0 0 72px;
  color: var(--muted);
}

.facts dd {
  margin: 0;
}

.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

.card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.card h3 {
  margin: 14px 16px 4px;
  font-size: 16px;
  font-weight: 600;
}

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

.note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}

.contact {
  padding: 28px;
  background: var(--accent-soft);
  border-radius: 12px;
}

.contact p {
  margin: 6px 0;
}

footer.site {
  padding: 32px 0 40px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  border-top: 1px solid var(--line);
}

footer.site p {
  margin: 4px 0;
}

footer.site a {
  text-decoration: none;
}

footer.site a:hover {
  color: var(--accent);
}

.doc {
  max-width: 760px;
  padding: 56px 24px 72px;
}

.doc h1 {
  font-size: 30px;
  font-weight: 600;
}

.doc h2 {
  margin-top: 36px;
  font-size: 20px;
}

.doc p,
.doc li {
  color: #374151;
}

@media (max-width: 860px) {
  nav a {
    margin-left: 16px;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding: 64px 0 56px;
  }

  .hero h1 {
    font-size: 30px;
  }

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

  .products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  header.site .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand,
  nav a {
    white-space: nowrap;
  }

  nav a {
    margin: 0 18px 0 0;
    font-size: 14px;
  }
}
