:root {
  --ink: #2b2420;
  --ink-2: #5c5148;
  --muted: #8b7f74;
  --line: #e8dfd9;
  --bg: #faf7f4;
  --bg-2: #f3ece5;
  --accent: #8c6e4f;
  --radius: 14px;
  --max: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

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

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 244, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  letter-spacing: 2px;
  font-weight: 600;
  white-space: nowrap;
}

.brand svg { flex: none; }

.brand-mark {
  flex: none;
  height: 32px;
  width: auto;
  display: block;
}

.brand small {
  font-size: 11px;
  letter-spacing: 2.5px;
  color: var(--muted);
  font-weight: 400;
  display: block;
  line-height: 1;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  gap: 30px;
  font-size: 15px;
  color: var(--ink-2);
}

.nav-links a { padding: 4px 0; border-bottom: 1px solid transparent; transition: 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); border-bottom-color: var(--accent); }

/* hero */
.hero {
  background: linear-gradient(160deg, #2b2420 0%, #443831 55%, #6b5747 100%);
  color: #f7f1ea;
  padding: 92px 0 84px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 160, 118, 0.28), transparent 68%);
}

.hero-inner { position: relative; z-index: 1; max-width: 720px; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 3px;
  color: #c9ac8a;
  border: 1px solid rgba(201, 172, 138, 0.4);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 26px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.32;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 16px;
  color: rgba(247, 241, 234, 0.78);
  max-width: 600px;
}

.hero-actions { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15px;
  border: 1px solid transparent;
  transition: 0.2s;
}

.btn-primary { background: #c9ac8a; color: #2b2420; }
.btn-primary:hover { background: #d8bd9d; }

.btn-ghost { border-color: rgba(247, 241, 234, 0.35); color: #f7f1ea; }
.btn-ghost:hover { border-color: #f7f1ea; }

/* page head for sub pages */
.page-head {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: 60px 0 52px;
}

.page-head h1 { font-size: 34px; letter-spacing: 1px; font-weight: 600; }
.page-head p { color: var(--muted); margin-top: 10px; font-size: 15px; }

/* sections */
section.block { padding: 76px 0; }
section.block.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

section[id] { scroll-margin-top: 72px; }

.sec-head { margin-bottom: 44px; max-width: 640px; }
.sec-head h2 { font-size: 27px; font-weight: 600; letter-spacing: 1px; }
.sec-head p { color: var(--muted); margin-top: 12px; font-size: 15px; }

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}

.card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; letter-spacing: 0.5px; }
.card p { font-size: 14px; color: var(--ink-2); line-height: 1.8; }

.icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
}

/* product */
.product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-visual {
  height: 210px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-body { padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.product-body h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.product-body p { font-size: 14px; color: var(--ink-2); flex: 1; }

.spec {
  list-style: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--muted);
  display: grid;
  gap: 5px;
}

/* about */
.two-col { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; }
.prose p { margin-bottom: 16px; color: var(--ink-2); font-size: 15px; }
.prose strong { color: var(--ink); font-weight: 600; }

.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: #fff; padding: 26px 22px; }
.stat b { display: block; font-size: 26px; font-weight: 600; color: var(--accent); letter-spacing: 1px; }
.stat span { font-size: 13px; color: var(--muted); }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.contact-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.contact-item .label { font-size: 12px; letter-spacing: 2px; color: var(--muted); margin-bottom: 12px; }
.contact-item .value { font-size: 17px; line-height: 1.7; word-break: break-all; }
.contact-item .value a:hover { color: var(--accent); }
.contact-item .sub { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.65; }

/* legal */
.legal { padding: 60px 0 80px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: 30px; font-weight: 600; margin-bottom: 10px; }
.legal .updated { font-size: 13px; color: var(--muted); margin-bottom: 40px; }
.legal h2 { font-size: 19px; font-weight: 600; margin: 36px 0 12px; }
.legal p, .legal li { font-size: 15px; color: var(--ink-2); margin-bottom: 12px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }

/* footer */
.site-footer {
  background: #241e1a;
  color: rgba(247, 241, 234, 0.66);
  padding: 56px 0 32px;
  font-size: 14px;
}
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.site-footer .brand { color: #f7f1ea; margin-bottom: 14px; }
.site-footer h4 { color: #f7f1ea; font-size: 14px; font-weight: 600; letter-spacing: 1px; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a:hover { color: #f7f1ea; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(247, 241, 234, 0.45); }
.footer-bottom a { color: rgba(247, 241, 234, 0.6); }
.footer-bottom a:hover { color: #f7f1ea; }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav { height: 60px; }
  .nav-links { gap: 18px; font-size: 14px; }
  .brand small { display: none; }
  .hero { padding: 64px 0 58px; }
  .hero h1 { font-size: 30px; }
  .grid-3, .grid-4, .contact-grid { grid-template-columns: 1fr; }
  .page-head { padding: 44px 0 38px; }
  .page-head h1 { font-size: 26px; }
  section.block { padding: 52px 0; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .stat-row { grid-template-columns: 1fr; }
}
