:root {
  --bg: #f7f5ef;
  --surface: #fffdfa;
  --surface-soft: #f3eee5;
  --surface-dark: #1f1b17;
  --text: #1f1c17;
  --text-muted: #6d675f;
  --text-soft: #928a7d;
  --line: #ddd6ca;
  --brand: #1a5b46;
  --brand-dark: #104232;
  --brand-soft: #deebe4;
  --accent: #a77734;
  --shadow-sm: 0 12px 36px rgba(31, 28, 23, 0.06);
  --shadow-lg: 0 36px 80px rgba(31, 28, 23, 0.14);
  --radius-md: 6px;
  --radius-lg: 12px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(26, 91, 70, 0.08), transparent 24%),
    radial-gradient(circle at left 18%, rgba(167, 119, 52, 0.06), transparent 18%),
    var(--bg);
}

h1,
h2,
h3,
h4,
.serif {
  margin: 0;
  font-family: "Noto Serif SC", "Songti SC", serif;
  letter-spacing: -0.03em;
}

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

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

p {
  margin: 0;
}

.container {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.page {
  min-height: 100vh;
}

.section {
  padding: 40px 0;
}

.section-sm {
  padding: 34px 0 28px;
}

.section-tint {
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.88) 0%, rgba(244, 238, 228, 0.78) 100%);
  border-top: 1px solid rgba(31, 28, 23, 0.04);
  border-bottom: 1px solid rgba(31, 28, 23, 0.04);
}

.section-intro {
  max-width: 98%;
  margin-bottom: 28px;
}

.section-intro.compact {
  max-width: 98%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.page-title,
.section-title {
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.05;
}

.section-copy,
.page-lead {
  margin-top: 16px;
  color: var(--text-muted);
  line-height: 1.78;
}

.editorial-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.editorial-card.soft {
  background: linear-gradient(180deg, #fffdfa 0%, #f7f2e9 100%);
}

.editorial-card.dark {
  background: linear-gradient(180deg, #2a241e 0%, #1e1b17 100%);
  color: #f7f3eb;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button-primary:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--brand);
  color: #fff;
}

.button-primary:hover {
  background: var(--brand-dark);
}

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

.button-secondary:hover {
  border-color: rgba(26, 91, 70, 0.2);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 239, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(31, 28, 23, 0.08);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.site-logo-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-logo-mark img {
  width: 42px;
  height: 42px;
  display: block;
  box-shadow: 0 12px 24px rgba(26, 91, 70, 0.18);
}

.site-logo-text {
  display: grid;
  gap: 4px;
  line-height: 1;
}

.site-logo-text strong {
  font-family: "Noto Serif SC", serif;
  font-size: 15px;
}

.site-logo-text small {
  color: var(--text-soft);
  font-size: 12px;
}

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

.site-nav-link {
  color: var(--text-muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav-link.is-active,
.site-nav-link:hover {
  color: var(--text);
}

.site-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font-size: 18px;
}

.site-mobile-panel {
  display: none;
  border-top: 1px solid rgba(31, 28, 23, 0.08);
}

.site-mobile-panel.is-open {
  display: block;
}

.site-mobile-nav {
  display: grid;
  gap: 12px;
  padding: 18px 0 22px;
}

.site-mobile-nav a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-mobile-nav a.is-active {
  color: var(--text);
}

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

.hero-immersive-section {
  padding: 0;
}

.hero-bleed {
  width: 100%;
}

.hero-immersive {
  position: relative;
  overflow: hidden;
  min-height: min(50vh, 510px);
  padding: 22px 24px;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(4, 14, 24, 0.18), rgba(4, 14, 24, 0.58)),
    linear-gradient(110deg, rgba(3, 18, 31, 0.84) 0%, rgba(3, 18, 31, 0.52) 36%, rgba(3, 18, 31, 0.12) 58%, rgba(3, 18, 31, 0.4) 100%),
    url("/assets/hero-home-premium.png");
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 -36px 80px rgba(4, 14, 24, 0.12);
}

.hero-immersive::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.1), transparent 18%),
    radial-gradient(circle at 82% 18%, rgba(97, 205, 195, 0.12), transparent 20%),
    radial-gradient(circle at 82% 82%, rgba(188, 122, 62, 0.12), transparent 18%);
  pointer-events: none;
}

.hero-immersive-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  width: min(100%, 920px);
  margin: 0 auto;
  gap: 0;
  align-items: center;
  min-height: min(calc(50vh - 56px), 430px);
}

.hero-overlay-card {
  display: grid;
  gap: 0;
  max-width: 760px;
  padding: 0;
}

.hero-overlay-eyebrow {
  color: rgba(188, 227, 208, 0.92);
}

.hero-overlay-eyebrow::before {
  opacity: 0.9;
}

.hero-overlay-title {
  color: #fffdf7;
  max-width: 760px;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.1;
  text-wrap: balance;
}

.hero-title-break {
  display: inline;
}

.hero-overlay-lead {
  max-width: 728px;
  color: rgba(246, 243, 236, 0.82);
  font-size: 14px;
  line-height: 1.62;
}

.hero-overlay-actions {
  margin-top: 16px;
}

.hero-judgement-line {
  margin-top: 12px;
  max-width: 640px;
  color: rgba(232, 243, 247, 0.68);
  font-size: 12px;
  line-height: 1.58;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(26, 91, 70, 0.12);
  background: linear-gradient(180deg, rgba(232, 242, 237, 0.92), rgba(244, 238, 228, 0.88));
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 10px 18px rgba(31, 28, 23, 0.04);
}

.hero-showcase {
  display: grid;
  gap: 14px;
  width: min(100%, 880px);
  margin-top: 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 28px;
  align-items: start;
}

.hero-panel-copy span {
  display: inline-flex;
  margin-bottom: 14px;
  color: rgba(188, 227, 208, 0.85);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-panel-copy strong {
  display: block;
  margin-bottom: 12px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.12;
}

.hero-panel-copy p {
  margin-bottom: 22px;
  color: rgba(255, 250, 241, 0.72);
  line-height: 1.82;
}

.hero-panel {
  padding: 34px;
}

.hero-steps {
  display: grid;
  gap: 12px;
}

.hero-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-step em {
  color: rgba(188, 227, 208, 0.86);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero-step h2 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.2;
}

.hero-step p {
  color: rgba(255, 250, 241, 0.72);
  line-height: 1.8;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 18px;
}

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

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

.card {
  padding: 24px;
}

.compact-cards .card {
  min-height: 100%;
}

.card h3,
.card h2 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.25;
}

.card p,
.card li {
  color: var(--text-muted);
  line-height: 1.76;
}

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

.card-meta {
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-price {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: none;
}

.detail-shell {
  padding: clamp(26px, 4vw, 36px);
}

.meta-strip {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-title {
  margin-top: 14px;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.06;
}

.detail-lead {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.85;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 32px 0 40px;
}

.detail-fact {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}

.detail-fact h2 {
  margin-bottom: 10px;
  font-size: 18px;
}

.detail-fact p {
  color: var(--text-muted);
  line-height: 1.8;
}

.content-prose h2 {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.2;
}

.content-prose h3 {
  margin: 24px 0 12px;
  font-size: 18px;
}

.content-prose p,
.content-prose li {
  color: var(--text-muted);
  line-height: 1.9;
}

.content-prose ul,
.content-prose ol {
  padding-left: 18px;
}

.cta-band {
  padding-top: 10px;
  padding-bottom: 56px;
}

.cta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: clamp(30px, 4vw, 44px);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(164, 234, 215, 0.16), transparent 28%),
    linear-gradient(135deg, #1f3f34 0%, #1b1a16 100%);
  color: #fffdf7;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}

.cta-box .eyebrow {
  color: rgba(188, 227, 208, 0.85);
}

.cta-box .eyebrow::before {
  background: currentColor;
}

.cta-box .section-title {
  font-size: clamp(20px, 2.4vw, 36px);
}

.cta-box .section-copy {
  color: rgba(255, 250, 241, 0.74);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-box .button-primary {
  background: #fffdf7;
  color: var(--brand-dark);
}

.cta-box .button-secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #fffdf7;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
}

.contact-panel {
  padding: clamp(24px, 3vw, 40px);
}

.contact-qr-shell {
  width: fit-content;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

.contact-meta {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
}

.contact-meta dt {
  margin-bottom: 4px;
  color: var(--text-soft);
  font-size: 13px;
}

.contact-meta dd {
  margin: 0;
  font-weight: 700;
}

.contact-note,
.contact-success {
  margin-top: 24px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.contact-note strong,
.contact-success strong {
  display: block;
  margin-bottom: 8px;
}

.contact-note p,
.contact-success p {
  color: var(--text-muted);
  line-height: 1.75;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form span {
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  grid-column: 1 / -1;
  border: 0;
  cursor: pointer;
}

.site-footer {
  padding: 96px 0 32px;
  background: linear-gradient(180deg, #221f1a 0%, #171511 100%);
  color: rgba(255, 250, 241, 0.92);
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.site-footer-eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: rgba(188, 227, 208, 0.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.site-footer h2,
.site-footer h3 {
  margin-bottom: 12px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 250, 241, 0.72);
  line-height: 1.8;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.site-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 250, 241, 0.12);
  color: rgba(255, 250, 241, 0.56);
  font-size: 13px;
}

.legal-page .content-prose h2 {
  margin-top: 28px;
}

@media (max-width: 960px) {
  .container {
    width: min(var(--max-width), calc(100% - 28px));
  }

  .section,
  .section-sm {
    padding: 28px 0;
  }

  .grid-2,
  .grid-3,
  .hero-grid,
  .detail-facts,
  .contact-grid,
  .site-footer-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .hero-immersive {
    min-height: auto;
    padding: 18px;
  }

  .hero-immersive-layout {
    gap: 18px;
    min-height: auto;
    width: 100%;
  }

  .hero-overlay-card {
    max-width: none;
  }

  .hero-overlay-title {
    max-width: 100%;
    font-size: clamp(28px, 8vw, 38px);
  }

  .hero-summary-line,
  .hero-judgement-line {
    max-width: 100%;
  }

  .hero-overlay-lead {
    font-size: 15px;
  }

  .hero-quick-tags {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-quick-tag {
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 14px;
    align-items: flex-start;
  }

  .hero-showcase-copy h2 {
    font-size: 22px;
  }

  .hero-showcase-tabbar,
  .hero-overlay-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-showcase-tab {
    justify-content: center;
  }

  .site-nav,
  .site-actions .button-primary {
    display: none;
  }

  .site-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .cta-actions {
    width: 100%;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form .full,
  .contact-form button {
    grid-column: auto;
  }

  .site-footer-bottom {
    flex-direction: column;
  }
}
