:root {
  color-scheme: light;
  --ink: #26302b;
  --muted: #697269;
  --paper: #fbf8ee;
  --surface: #ffffff;
  --line: #e3dac8;
  --red: #a92f3a;
  --green: #3e7468;
  --gold: #c8903d;
  --soft: #edf4ed;
  --shadow: 0 18px 45px rgba(62, 48, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.6;
}

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

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

button,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(227, 218, 200, 0.75);
  background: rgba(251, 248, 238, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--red);
  color: #fff8e8;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 15px;
}

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

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #e8efe7;
}

.hero picture,
.hero picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero picture img {
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(251, 248, 238, 0.9) 0%, rgba(251, 248, 238, 0.72) 38%, rgba(251, 248, 238, 0.08) 78%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100% - 40px));
  margin-left: clamp(20px, 6vw, 90px);
  padding: 58px 0 140px;
}

.eyebrow,
.section-kicker,
.tag {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.intro h2,
.toolbar h2,
.sets h2,
.contact h2 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(44px, 6.5vw, 82px);
}

.hero p:not(.eyebrow) {
  max-width: 590px;
  margin: 24px 0 0;
  color: #566158;
  font-size: clamp(17px, 2vw, 21px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 750;
}

.button.primary {
  border-color: var(--red);
  background: var(--red);
  color: #fffaf0;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
}

.hero-stats {
  position: absolute;
  z-index: 2;
  left: clamp(20px, 6vw, 90px);
  right: clamp(20px, 6vw, 90px);
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(227, 218, 200, 0.75);
  border-radius: 8px;
  background: rgba(255, 253, 246, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-stats span {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  min-height: 76px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--muted);
}

.hero-stats strong {
  color: var(--red);
  font-size: 30px;
}

.intro,
.toolbar,
.sets,
.contact,
.sources {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 84px);
  padding: 86px 0 54px;
}

.intro h2,
.toolbar h2,
.sets h2,
.contact h2 {
  font-size: clamp(28px, 4vw, 46px);
}

.intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 42px 0 22px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.filter {
  min-width: 72px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf6;
  color: var(--muted);
  cursor: pointer;
}

.filter.is-active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.products {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 84px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(62, 48, 34, 0.08);
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-card.is-hidden {
  display: none;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.product-content {
  padding: 20px;
}

.product-content h3,
.set-list h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.product-content p:not(.tag),
.set-list p,
.sources p {
  color: var(--muted);
}

.meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  color: var(--green);
  font-weight: 760;
}

.sets {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 30px;
  padding: 72px clamp(20px, 4vw, 54px);
  border-radius: 8px;
  background: #26302b;
  color: #fff8e8;
}

.sets .section-kicker {
  color: #efc277;
}

.set-list {
  display: grid;
  gap: 14px;
}

.set-list article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px 18px;
  padding: 20px;
  border: 1px solid rgba(255, 248, 232, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.set-list span {
  grid-row: span 2;
  color: #efc277;
  font-weight: 900;
  font-size: 28px;
}

.set-list p {
  margin: 0;
  color: rgba(255, 248, 232, 0.74);
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  padding: 84px 0;
}

.network {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
  padding: 74px 0 0;
}

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

.network-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.network-links a {
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf6;
  color: var(--green);
  font-weight: 750;
}

.network-links a[aria-current="page"] {
  border-color: var(--red);
  background: var(--red);
  color: #fffaf0;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf6;
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.lead-form select {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.sources {
  padding: 26px 0 64px;
  border-top: 1px solid var(--line);
}

.sources h2 {
  margin: 0;
  font-size: 18px;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.source-links a {
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf6;
  color: var(--green);
  font-weight: 700;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 4vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

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

  .hero::after {
    background: linear-gradient(180deg, rgba(251, 248, 238, 0.94) 0%, rgba(251, 248, 238, 0.78) 56%, rgba(251, 248, 238, 0.16) 100%);
  }

  .hero-copy {
    padding-top: 42px;
  }

  .intro,
  .toolbar,
  .sets,
  .network,
  .contact {
    grid-template-columns: 1fr;
  }

  .toolbar {
    align-items: start;
    flex-direction: column;
  }

  .filters {
    justify-content: flex-start;
  }

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

@media (max-width: 640px) {
  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 820px;
  }

  .hero-copy {
    width: calc(100% - 32px);
    margin-left: 16px;
  }

  .hero-stats {
    left: 16px;
    right: 16px;
    grid-template-columns: 1fr;
  }

  .hero-stats span {
    min-height: 54px;
  }

  .products {
    width: min(100% - 32px, 420px);
    grid-template-columns: 1fr;
  }

  .intro,
  .toolbar,
  .sets,
  .network,
  .contact,
  .sources {
    width: calc(100% - 32px);
  }

  .sets {
    padding: 42px 18px;
  }

  .set-list article {
    grid-template-columns: 1fr;
  }

  .set-list span {
    grid-row: auto;
  }

  .footer {
    flex-direction: column;
  }
}
