:root {
  --bg: #f5efe4;
  --bg-deep: #efe1c7;
  --surface: rgba(255, 250, 242, 0.9);
  --surface-strong: #fffaf2;
  --text: #1f2a1f;
  --muted: #5f665c;
  --line: rgba(64, 78, 61, 0.14);
  --brand: #2f6a4c;
  --brand-deep: #214d37;
  --accent: #c86f3c;
  --shadow: 0 20px 50px rgba(60, 63, 37, 0.12);
  --shadow-soft: 0 30px 80px rgba(74, 68, 40, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(200, 111, 60, 0.22), transparent 24%),
    radial-gradient(circle at right 10% top 18%, rgba(47, 106, 76, 0.24), transparent 18%),
    radial-gradient(circle at 18% 78%, rgba(255, 214, 153, 0.2), transparent 20%),
    radial-gradient(circle at 88% 72%, rgba(85, 138, 113, 0.16), transparent 18%),
    linear-gradient(180deg, #fbf5eb 0%, #f3ebdd 58%, #efe4d0 100%);
  overflow-x: hidden;
}

body.site-intro-active {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 75%);
}

body::after {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 255, 255, 0.55), transparent 18%),
    radial-gradient(circle at 82% 22%, rgba(47, 106, 76, 0.14), transparent 16%),
    radial-gradient(circle at 72% 82%, rgba(200, 111, 60, 0.14), transparent 20%);
  filter: blur(24px);
  animation: ambientFloat 24s ease-in-out infinite alternate;
}

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

p,
li {
  line-height: 1.7;
}

.site-shell {
  position: relative;
  isolation: isolate;
  width: min(calc(100% - 32px), var(--container));
  margin: 24px auto 48px;
}

.site-intro {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.site-intro.is-visible {
  opacity: 1;
  visibility: visible;
}

.site-intro.is-leaving {
  opacity: 0;
  visibility: hidden;
}

.site-intro__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.72), transparent 20%),
    radial-gradient(circle at 78% 18%, rgba(47, 106, 76, 0.2), transparent 22%),
    radial-gradient(circle at 76% 78%, rgba(200, 111, 60, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(251, 245, 235, 0.98), rgba(239, 228, 208, 0.98));
  backdrop-filter: blur(12px);
}

.site-intro__content {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
  min-width: min(100%, 420px);
  padding: 40px 36px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.34)),
    rgba(255, 250, 242, 0.84);
  box-shadow: 0 30px 80px rgba(60, 63, 37, 0.14);
  text-align: center;
}

.site-intro__mark {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 18px 38px rgba(47, 106, 76, 0.24);
}

.site-intro__tag {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.24em;
}

.site-intro__title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.site-intro__loader {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.site-intro__loader span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  animation: introPulse 1s ease-in-out infinite;
}

.site-intro__loader span:nth-child(2) {
  animation-delay: 0.16s;
}

.site-intro__loader span:nth-child(3) {
  animation-delay: 0.32s;
}

.site-shell::before {
  content: "";
  position: fixed;
  top: 120px;
  right: -140px;
  width: 360px;
  height: 360px;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.08) 45%, transparent 72%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
  animation: ambientFloat 20s ease-in-out infinite alternate-reverse;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
  background: rgba(255, 250, 242, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-tag,
.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.brand-block h1 {
  margin: 2px 0 0;
  font-size: 1.2rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--muted);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.nav a:hover,
.nav a:focus-visible {
  background: rgba(47, 106, 76, 0.1);
  color: var(--brand-deep);
  transform: translateY(-1px);
}

.nav a.is-active,
.nav a[aria-current="page"] {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
  box-shadow: 0 10px 24px rgba(47, 106, 76, 0.18);
}

.menu-toggle {
  display: none;
  border: 0;
  padding: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(47, 106, 76, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--brand-deep);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle span + span {
  margin-top: 6px;
}

.section {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  padding: 48px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.7);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)),
    var(--surface);
  box-shadow: var(--shadow);
}

.section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 140px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 68%);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  min-height: 72vh;
  align-items: stretch;
}

.home-page .hero-copy {
  animation: heroSlideInLeft 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.home-page .hero-panel {
  animation: heroSlideInRight 0.95s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.home-page .hero-metrics li:nth-child(1),
.home-page .panel-grid .panel-card:nth-child(1) {
  animation: heroRiseIn 0.72s cubic-bezier(0.2, 0.8, 0.2, 1) 0.28s both;
}

.home-page .hero-metrics li:nth-child(2),
.home-page .panel-grid .panel-card:nth-child(2) {
  animation: heroRiseIn 0.72s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s both;
}

.home-page .hero-metrics li:nth-child(3),
.home-page .panel-grid .panel-card:nth-child(3) {
  animation: heroRiseIn 0.72s cubic-bezier(0.2, 0.8, 0.2, 1) 0.52s both;
}

.hero-copy,
.hero-panel,
.license-note {
  position: relative;
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 16px;
}

.hero-copy h2,
.section-heading h2 {
  margin: 10px 0 14px;
  line-height: 1.15;
  font-size: clamp(2rem, 4vw, 4.6rem);
}

.hero-text,
.section-heading p {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
}

.button-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.hero-metrics li,
.panel-card,
.category-card,
.license-card,
.contact-card,
.license-note {
  border: 1px solid rgba(64, 78, 61, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.18)),
    var(--surface-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.hero-metrics li,
.panel-card,
.category-card,
.license-card,
.contact-card,
.license-note,
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.panel-card:hover,
.category-card:hover,
.license-card:hover,
.contact-card:hover,
.license-note:hover,
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px rgba(53, 57, 35, 0.12);
  border-color: rgba(47, 106, 76, 0.14);
}

.hero-metrics li {
  padding: 18px;
  border-radius: var(--radius-md);
}

.hero-metrics strong {
  display: block;
  font-size: 1.6rem;
  color: var(--brand-deep);
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.panel-highlight {
  min-height: 220px;
  padding: 26px;
  border-radius: calc(var(--radius-xl) - 4px);
  background:
    linear-gradient(160deg, rgba(47, 106, 76, 0.96), rgba(33, 77, 55, 0.95)),
    var(--brand);
  color: #fff;
}

.panel-highlight h3 {
  margin: 12px 0;
  font-size: 2rem;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.panel-card,
.category-card,
.license-card,
.contact-card,
.license-note {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.panel-card h3,
.category-card h3,
.license-card h3,
.contact-card h3,
.license-note h3 {
  margin: 10px 0 8px;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.category-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.category-card {
  position: relative;
  min-height: 180px;
}

.category-cover {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 156px;
  margin: 12px 0 18px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 28px rgba(56, 63, 48, 0.08);
}

.category-cover img {
  display: block;
  max-width: 100%;
  max-height: 128px;
  object-fit: contain;
}

.category-card h3 {
  position: relative;
  z-index: 1;
}

.category-link {
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.category-link:hover,
.category-link:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(47, 106, 76, 0.22);
  box-shadow: 0 20px 44px rgba(60, 63, 37, 0.14);
}

.category-icon {
  position: absolute;
  right: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  opacity: 0.95;
}

.category-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.accent-red .category-icon {
  color: #b6523a;
  background: rgba(182, 82, 58, 0.14);
}

.accent-gold .category-icon {
  color: #b8842e;
  background: rgba(184, 132, 46, 0.14);
}

.accent-green .category-icon {
  color: #3e8058;
  background: rgba(62, 128, 88, 0.14);
}

.accent-blue .category-icon {
  color: #406d9a;
  background: rgba(64, 109, 154, 0.14);
}

.accent-plum .category-icon {
  color: #7f5470;
  background: rgba(127, 84, 112, 0.14);
}

.accent-sky .category-icon {
  color: #368ea0;
  background: rgba(54, 142, 160, 0.14);
}

.license-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}

.license-stack {
  display: grid;
  gap: 16px;
}

.license-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at top right, rgba(200, 111, 60, 0.18), transparent 30%),
    var(--surface-strong);
}

.license-note ul {
  margin: 0;
  padding-left: 18px;
}

.contact-card.emphasis {
  background:
    linear-gradient(180deg, rgba(47, 106, 76, 0.95), rgba(33, 77, 55, 0.96)),
    var(--brand);
  color: #fff;
}

.contact-card.emphasis p,
.panel-card p,
.panel-card span,
.category-card p,
.license-card p,
.contact-card p {
  margin: 0;
  color: inherit;
}

.contact-grid {
  align-items: stretch;
}

.contact-card {
  min-height: 220px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}

.about-hero {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 24px;
  align-items: center;
}

.about-hero-copy,
.about-hero-visual,
.about-media-art,
.about-illustration-card {
  position: relative;
}

.about-hero-visual,
.about-media-art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 20px;
  border-radius: calc(var(--radius-xl) - 6px);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.72), transparent 26%),
    linear-gradient(180deg, rgba(47, 106, 76, 0.08), rgba(200, 111, 60, 0.08));
  border: 1px solid rgba(64, 78, 61, 0.08);
}

.about-hero-image,
.about-media-art img,
.about-illustration-card img {
  display: block;
  width: 100%;
  height: auto;
}

.about-media-card {
  display: grid;
  gap: 18px;
}

.about-media-copy h3,
.about-illustration-card h3 {
  margin: 0 0 10px;
}

.about-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.empty-state {
  padding: 40px 28px;
  border: 1px dashed rgba(47, 106, 76, 0.24);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.2)),
    rgba(47, 106, 76, 0.03);
  text-align: center;
}

.empty-state h3 {
  margin: 0 0 10px;
}

.empty-state p {
  margin: 0 auto;
  max-width: 42rem;
  color: var(--muted);
}

.about-illustration-card {
  min-height: auto;
}

.about-illustration-card img {
  margin-bottom: 18px;
  padding: 12px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.26)),
    rgba(47, 106, 76, 0.04);
}

.about-text-card,
.about-scope-card {
  min-height: auto;
}

.about-text-card p,
.about-scope-card p {
  color: var(--text);
}

.about-scope-card p + p,
.about-text-card p + p {
  margin-top: 14px;
}

.page-hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.catalog-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.catalog-pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(64, 78, 61, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.catalog-pill:hover,
.catalog-pill:focus-visible {
  transform: translateY(-1px);
  color: var(--brand-deep);
  background: rgba(47, 106, 76, 0.08);
}

.catalog-pill-active {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(64, 78, 61, 0.08);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.product-visual {
  display: flex;
  flex-direction: column;
  min-height: 170px;
  padding: 14px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.7), transparent 28%),
    linear-gradient(180deg, var(--visual-soft), var(--visual-surface));
  border: 1px solid rgba(64, 78, 61, 0.06);
}

.product-visual-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-visual-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--visual-primary);
  font-size: 0.78rem;
  font-weight: 600;
}

.product-visual-chip-alt {
  background: rgba(255, 255, 255, 0.9);
}

.product-pack {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(56, 63, 48, 0.08);
}

.product-pack-icon {
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: var(--visual-primary);
  background: var(--visual-soft);
}

.product-pack-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-pack-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.product-pack-copy strong {
  font-size: 0.98rem;
  line-height: 1.35;
}

.product-pack-copy span {
  color: var(--muted);
  font-size: 0.84rem;
}

.product-card h3 {
  margin: 0;
}

.product-photo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  min-height: 120px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(56, 63, 48, 0.08);
}

.product-photo-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.product-photo {
  display: block;
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
}

body.lightbox-open {
  overflow: hidden;
}

@keyframes ambientFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-18px, 14px, 0) scale(1.04);
  }
  100% {
    transform: translate3d(22px, -12px, 0) scale(0.98);
  }
}

@keyframes heroSlideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-64px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroSlideInRight {
  0% {
    opacity: 0;
    transform: translateX(64px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroRiseIn {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes introPulse {
  0%,
  100% {
    transform: translateY(0) scale(0.9);
    opacity: 0.45;
  }
  50% {
    transform: translateY(-6px) scale(1.08);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::after,
  .site-shell::before,
  .site-intro__loader span,
  .home-page .hero-copy,
  .home-page .hero-panel,
  .home-page .hero-metrics li,
  .home-page .panel-grid .panel-card {
    animation: none;
  }

  .hero-metrics li,
  .panel-card,
  .category-card,
  .license-card,
  .contact-card,
  .license-note,
  .product-card {
    transition: none;
  }

  .site-intro,
  .site-intro__content {
    transition: none;
  }
}

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(18, 22, 20, 0.82);
}

.product-lightbox.is-visible {
  display: flex;
}

.product-lightbox-image {
  display: block;
  max-width: min(92vw, 960px);
  max-height: 88vh;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.product-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.site-footer {
  margin-top: 24px;
  padding: 26px 20px 30px;
  text-align: center;
  color: #6b4e37;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.5), transparent 48%),
    linear-gradient(180deg, rgba(247, 233, 208, 0.96), rgba(232, 212, 182, 0.98)),
    #edd9bb;
  border-top: 1px solid rgba(170, 126, 83, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  margin-bottom: 14px;
}

.site-footer-nav a,
.site-footer-meta span,
.site-footer-meta a {
  position: relative;
  color: inherit;
}

.site-footer-nav a {
  font-weight: 600;
}

.site-footer-nav a:not(:last-child)::after {
  content: "|";
  position: absolute;
  top: 50%;
  right: -12px;
  transform: translateY(-50%);
  color: rgba(138, 101, 67, 0.45);
}

.site-footer-nav a:hover,
.site-footer-nav a:focus-visible {
  color: var(--brand-deep);
}

.site-footer-meta a {
  text-decoration: underline;
  text-decoration-color: rgba(107, 78, 55, 0.32);
  text-underline-offset: 0.16em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.site-footer-meta a:hover,
.site-footer-meta a:focus-visible {
  color: var(--brand-deep);
  text-decoration-color: currentColor;
}

.site-footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(107, 78, 55, 0.88);
}

.site-footer-actions {
  position: fixed;
  top: 50%;
  right: 18px;
  z-index: 40;
  transform: translateY(-50%);
}

.install-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 52px;
  min-height: 168px;
  padding: 18px 12px;
  border: 1px solid rgba(47, 106, 76, 0.22);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 250, 242, 0.84)),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(53, 57, 35, 0.16);
  color: var(--brand-deep);
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.install-button[hidden],
.install-hint[hidden],
.install-state[hidden] {
  display: none !important;
}

.install-button-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: 0 8px 16px rgba(47, 106, 76, 0.22);
}

.install-button-icon::before,
.install-button-icon::after {
  content: "";
  position: absolute;
  background: #fff;
}

.install-button-icon::before {
  width: 2px;
  height: 11px;
  top: 6px;
  border-radius: 999px;
}

.install-button-icon::after {
  width: 8px;
  height: 8px;
  bottom: 6px;
  left: 50%;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  background: transparent;
  transform: translateX(-50%) rotate(45deg);
}

.install-button-label {
  display: inline-block;
}

.install-button:hover,
.install-button:focus-visible {
  transform: translateX(-3px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 248, 243, 0.92)),
    rgba(47, 106, 76, 0.08);
  box-shadow: 0 22px 46px rgba(47, 106, 76, 0.18);
}

.install-button:disabled {
  opacity: 0.72;
  cursor: default;
  transform: none;
}

.install-button:disabled:hover,
.install-button:disabled:focus-visible {
  transform: none;
  box-shadow: 0 18px 40px rgba(53, 57, 35, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 250, 242, 0.84)),
    rgba(255, 255, 255, 0.9);
}

.install-button[data-ready="false"] {
  opacity: 0.8;
}

.install-button[data-ready="false"] .install-button-icon {
  background: linear-gradient(135deg, #8a9a90, #6f7d74);
}

.install-feedback {
  position: fixed;
  right: 86px;
  bottom: 28px;
  z-index: 60;
  max-width: min(320px, calc(100vw - 120px));
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(31, 42, 31, 0.9);
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.5;
  box-shadow: 0 18px 40px rgba(20, 24, 18, 0.22);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.install-feedback.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.install-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 168px;
  padding: 18px 14px;
  border: 1px solid rgba(64, 78, 61, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.96), rgba(247, 241, 231, 0.9)),
    rgba(255, 255, 255, 0.86);
  color: rgba(66, 74, 58, 0.92);
  font-weight: 700;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  box-shadow: 0 18px 40px rgba(53, 57, 35, 0.12);
  backdrop-filter: blur(12px);
}

.install-hint-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4a554, #b97a2d);
  box-shadow: 0 8px 16px rgba(185, 122, 45, 0.2);
}

.install-hint-icon::before,
.install-hint-icon::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 999px;
}

.install-hint-icon::before {
  width: 12px;
  height: 2px;
}

.install-hint-icon::after {
  width: 2px;
  height: 12px;
}

.install-hint-label {
  display: inline-block;
}

.install-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 168px;
  padding: 18px 14px;
  border: 1px solid rgba(47, 106, 76, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(242, 252, 245, 0.96), rgba(231, 247, 237, 0.9)),
    rgba(255, 255, 255, 0.82);
  color: var(--brand-deep);
  font-weight: 700;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  box-shadow: 0 18px 40px rgba(53, 57, 35, 0.12);
  backdrop-filter: blur(12px);
}

.install-state-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3a8a5a, #2f6a4c);
  box-shadow: 0 8px 16px rgba(47, 106, 76, 0.18);
}

.install-state-icon::before {
  content: "";
  width: 11px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}

.install-state-label {
  display: inline-block;
}

.product-note {
  margin-top: auto;
  font-size: 0.9rem;
}

.certificate-grid,
.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.certificate-card {
  padding: 22px;
  border: 1px solid rgba(64, 78, 61, 0.08);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.certificate-card h3 {
  margin: 0 0 14px;
}

.certificate-frame {
  position: relative;
  display: grid;
  min-height: 320px;
  margin-bottom: 14px;
  border: 1px dashed rgba(47, 106, 76, 0.28);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(47, 106, 76, 0.05), rgba(200, 111, 60, 0.08)),
    #fcf8f1;
  color: var(--muted);
  overflow: hidden;
}

.certificate-frame.is-zoomable {
  cursor: zoom-in;
}

.certificate-frame.is-zoomable::after {
  content: "点击放大";
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(31, 42, 31, 0.68);
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.certificate-frame.is-zoomable:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.certificate-image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: contain;
  background: #fff;
}

.certificate-image[src=""] {
  display: none;
}

.certificate-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  text-align: center;
  color: var(--muted);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 250, 242, 0.92));
}

.certificate-placeholder p {
  margin: 0;
  max-width: 20ch;
}

.certificate-frame.has-image .certificate-placeholder {
  display: none;
}

@media (max-width: 980px) {
  .site-shell {
    width: min(calc(100% - 24px), var(--container));
  }

  .site-shell::before {
    width: 260px;
    height: 260px;
    right: -110px;
  }

  .topbar {
    top: 12px;
    padding: 14px 16px;
    border-radius: 28px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: rgba(255, 250, 242, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .hero,
  .license-layout,
  .about-hero,
  .about-grid,
  .about-highlight-grid,
  .category-grid,
  .contact-grid,
  .panel-grid,
  .certificate-grid,
  .tips-grid {
    grid-template-columns: 1fr;
  }

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

  .section {
    padding: 28px 20px;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding-right: 0;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(calc(100% - 16px), var(--container));
    margin-top: 16px;
  }

  .site-intro__content {
    padding: 32px 24px;
    border-radius: 26px;
  }

  .site-intro__mark {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    font-size: 1.5rem;
  }

  .site-shell::before {
    top: 88px;
    right: -120px;
    width: 220px;
    height: 220px;
  }

  .topbar {
    gap: 12px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  .brand-block h1 {
    font-size: 1rem;
  }

  .hero-copy h2,
  .section-heading h2 {
    font-size: 1.9rem;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

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

  .button {
    width: 100%;
  }

  .site-footer {
    padding: 22px 16px 26px;
  }

  .site-footer-nav {
    gap: 10px 16px;
  }

  .site-footer-nav a:not(:last-child)::after {
    right: -10px;
  }

  .site-footer-meta {
    flex-direction: column;
    gap: 2px;
    font-size: 0.88rem;
  }

  .site-footer-actions {
    top: auto;
    right: 14px;
    bottom: 18px;
    transform: none;
  }

  .install-button {
    min-width: 0;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    gap: 10px;
    writing-mode: horizontal-tb;
    letter-spacing: 0;
  }

  .install-button-icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .install-button-icon::before {
    top: 5px;
    height: 9px;
  }

  .install-button-icon::after {
    width: 7px;
    height: 7px;
    bottom: 5px;
  }

  .install-state {
    min-height: 48px;
    padding: 0 16px;
    border-radius: 999px;
    gap: 10px;
    writing-mode: horizontal-tb;
    letter-spacing: 0;
  }

  .install-state-icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .install-hint {
    min-height: 48px;
    padding: 0 16px;
    border-radius: 999px;
    gap: 10px;
    writing-mode: horizontal-tb;
    letter-spacing: 0;
  }

  .install-hint-icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .install-hint-icon::before {
    width: 10px;
  }

  .install-hint-icon::after {
    height: 10px;
  }

  .install-feedback {
    right: 14px;
    bottom: 74px;
    max-width: calc(100vw - 28px);
  }
}
