:root {
  --paper: #f7f5f1;
  --panel: #ffffff;
  --ink: #111111;
  --text: #333333;
  --muted: #666666;
  --caption: #888888;
  --line: #e4e0da;
  --soft-line: #eee9e2;
  --primary: #22579b;
  --primary-dark: #183d6e;
  --gallery-blue: #315c83;
  --soft-blue: #f4f8fb;
  --warm-panel: #fffdfb;
  --clay: #9d5f44;
  --shadow: 0 18px 46px rgba(17, 17, 17, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.76;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(228, 224, 218, 0.86);
  background: rgba(247, 245, 241, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-logo {
  width: 54px;
  height: 42px;
  object-fit: contain;
  display: block;
}

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

.nav-links a {
  padding: 6px 0;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--primary);
  outline: none;
}

.hero {
  min-height: min(720px, calc(100vh - 74px));
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.58), rgba(17, 17, 17, 0.24) 46%, rgba(17, 17, 17, 0.02)),
    url("/assets/hero-four-piece-miniprogram.jpg") center right / cover;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  background: linear-gradient(0deg, var(--paper), rgba(255, 250, 247, 0));
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 24px 104px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
}

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

h1 {
  margin-bottom: 18px;
  max-width: 820px;
  font-size: clamp(44px, 5.8vw, 78px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 28px;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.91);
}

.section {
  padding: 88px 24px;
}

.section.tight {
  padding-top: 64px;
}

.inner {
  max-width: 1180px;
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
  margin: 0 auto;
}

.section-label {
  margin-bottom: 10px;
  color: var(--gallery-blue);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.3;
}

.lead {
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 26px;
  box-shadow: none;
}

.card p:last-child,
.fact-list p:last-child {
  margin-bottom: 0;
}

.band {
  background: #fff;
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 36px;
  align-items: center;
}

.visual {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.visual img {
  width: 100%;
  height: auto;
}

.fact-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
}

.fact-list div {
  padding-left: 16px;
  border-left: 3px solid var(--primary);
}

.page-hero {
  padding: 70px 20px 42px;
  border-bottom: 1px solid var(--line);
  background: #f7f8fa;
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(36px, 6vw, 64px);
}

.page-hero .lead {
  font-size: 19px;
}

.article {
  padding: 54px 20px 80px;
}

.article h2 {
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 30px;
}

.article ul,
.article ol {
  padding-left: 22px;
}

.product-detail-image {
  margin: 0 0 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-detail-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.article li + li {
  margin-top: 8px;
}

.definition {
  border-left: 4px solid var(--primary);
  background: #fff;
  padding: 20px 22px;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 8px 26px rgba(37, 45, 38, 0.08);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  font-weight: 500;
}

.fact-hero {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1fr;
  gap: 1px;
  margin: 34px 0 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.fact-hero div {
  min-height: 124px;
  padding: 24px;
  background: #fff;
}

.fact-hero span {
  display: block;
  margin-bottom: 10px;
  color: var(--caption);
  font-size: 14px;
}

.fact-hero strong {
  display: block;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.16;
  font-weight: 700;
}

.product-card {
  overflow: hidden;
  padding: 0;
  background: #fdfdfc;
}

.product-thumb {
  aspect-ratio: 4 / 3;
  position: relative;
  display: block;
  padding: 0;
  background: #f7f8fa;
  border-bottom: 1px solid var(--soft-line);
  overflow: hidden;
}

.product-thumb strong {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 1;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.34);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94);
}

.product-body {
  min-height: 166px;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 26px;
}

.product-body p {
  color: var(--muted);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: var(--soft-line);
}

.trust-row div {
  padding: 20px;
  background: #fff;
}

.trust-row strong {
  display: block;
  margin-bottom: 4px;
  color: var(--primary);
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: var(--soft-line);
}

.proof-row div {
  min-height: 190px;
  padding: 30px;
  background: #fff;
}

.proof-row strong {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.28;
}

.channel-list {
  display: grid;
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.channel {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.channel strong {
  color: var(--ink);
  font-size: 18px;
}

.channel span {
  max-width: 700px;
  color: var(--muted);
}

.placeholder,
.channel-note {
  color: var(--clay);
  font-weight: 650;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #111111;
  color: rgba(255, 255, 255, 0.78);
  padding: 34px 20px;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero {
    min-height: 620px;
    background-position: 58% center;
  }

  .hero-inner {
    padding: 62px 24px 94px;
    max-width: 100%;
  }

  h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .hero-meta {
    max-width: 330px;
    gap: 8px;
  }

  .hero-meta span {
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
    padding: 7px 11px;
  }

  .hero-copy {
    max-width: 330px;
    overflow-wrap: anywhere;
    font-size: 18px;
  }

  .grid.three,
  .grid.two,
  .split,
  .trust-row,
  .fact-hero {
    grid-template-columns: 1fr;
  }

  .proof-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 18px;
  }

  .fact-hero div,
  .proof-row div {
    min-height: auto;
    padding: 22px;
  }

  .product-thumb {
    aspect-ratio: 1 / 1;
  }

  .channel {
    display: block;
  }
}
