:root {
  --bg-page: #f6f1e7;
  --bg-soft: #efe6d8;
  --bg-panel: rgba(255, 251, 245, 0.92);
  --bg-panel-strong: #fffdfa;
  --line-soft: rgba(91, 70, 45, 0.12);
  --line-strong: rgba(91, 70, 45, 0.22);
  --text-dark: #2d241c;
  --text-mid: #5f5548;
  --text-soft: #847969;
  --brand: #6b5438;
  --brand-strong: #473524;
  --accent: #bf8c4d;
  --accent-soft: rgba(191, 140, 77, 0.14);
  --shadow-lg: 0 26px 60px rgba(58, 43, 24, 0.1);
  --shadow-md: 0 16px 36px rgba(58, 43, 24, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100vw - 40px));
  --font-display: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "STSong", serif;
  --font-body: "Source Han Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text-dark);
  background:
    radial-gradient(circle at top left, rgba(191, 140, 77, 0.12), transparent 28%),
    linear-gradient(180deg, #f9f4eb 0%, #f5efe6 42%, #f0e9de 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(107, 84, 56, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(107, 84, 56, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.38), transparent 84%);
}

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

button {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.page-shell {
  overflow-x: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(249, 243, 234, 0.84);
  border-bottom: 1px solid rgba(107, 84, 56, 0.08);
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(249, 243, 234, 0.95);
  border-color: rgba(107, 84, 56, 0.12);
  box-shadow: 0 12px 28px rgba(58, 43, 24, 0.06);
}

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

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-strong);
}

.brand-sub {
  font-size: 0.86rem;
  color: var(--text-mid);
}

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

.site-nav a {
  font-size: 0.95rem;
  color: var(--text-mid);
  transition: color 180ms ease;
}

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

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(107, 84, 56, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: var(--brand-strong);
}

.hero {
  position: relative;
  padding: 96px 0 68px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  width: min(44vw, 520px);
  height: min(44vw, 520px);
  top: -140px;
  right: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191, 140, 77, 0.16), transparent 70%);
}

.hero::after {
  inset: auto 0 24px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107, 84, 56, 0.14), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 32px;
  align-items: center;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: rgba(71, 53, 36, 0.68);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: currentColor;
}

.eyebrow-dark {
  color: rgba(71, 53, 36, 0.66);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.2;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(2.9rem, 6vw, 5rem);
  color: var(--brand-strong);
}

.section h2,
.cta-card h2,
.hero-panel h2,
.list-card h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--brand-strong);
}

.summary-card h3,
.capability-card h3,
.step-card h3,
.link-card h3,
.footer-brand {
  margin-top: 16px;
}

.lead,
.section-intro p,
.summary-card p,
.capability-card p,
.step-card p,
.link-card p,
.hero-panel p,
.list-card p,
.cta-card p,
.site-footer p,
.site-footer a {
  line-height: 1.9;
  color: var(--text-mid);
}

.lead {
  max-width: 46rem;
  margin: 22px 0 0;
  font-size: 1.06rem;
}

.hero-actions,
.cta-actions,
.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 30px;
}

.panel-actions,
.cta-actions {
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #dcb278, #c18b4b);
  color: #2d241c;
  box-shadow: 0 18px 34px rgba(191, 140, 77, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(107, 84, 56, 0.16);
  color: var(--brand-strong);
}

.text-link {
  color: var(--brand);
  font-weight: 600;
}

.hero-points,
.detail-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points {
  display: grid;
  gap: 14px;
  max-width: 44rem;
}

.hero-points li,
.detail-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text-mid);
  line-height: 1.9;
}

.hero-points li::before,
.detail-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.86em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(191, 140, 77, 0.1);
  transform: translateY(-50%);
}

.section {
  padding: 84px 0;
}

.section-soft {
  background: rgba(255, 248, 240, 0.42);
}

.section-intro {
  max-width: 54rem;
  margin-bottom: 34px;
}

.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  background: var(--bg-panel);
  box-shadow: var(--shadow-md);
}

.hero-panel,
.summary-card,
.capability-card,
.step-card,
.link-card,
.list-card,
.cta-card {
  padding: 28px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 253, 249, 0.94)),
    var(--bg-panel-strong);
  box-shadow: var(--shadow-lg);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #d8ae73, #bf8c4d);
}

.panel-tag,
.card-label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--brand);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.info-list {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid var(--line-soft);
}

.info-row:first-child {
  border-top: 0;
}

.info-row dt {
  color: var(--text-soft);
}

.info-row dd {
  margin: 0;
  max-width: 58%;
  text-align: right;
  color: var(--brand-strong);
  font-weight: 600;
}

.grid-3,
.grid-4,
.capability-grid,
.step-grid,
.two-column,
.footer-grid {
  display: grid;
  gap: 18px;
}

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

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

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

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

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

.summary-card,
.capability-card,
.step-card,
.link-card,
.list-card {
  height: 100%;
}

.summary-card h3,
.capability-card h3,
.step-card h3,
.link-card h3,
.list-card h2 {
  color: var(--brand-strong);
}

.link-card {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lg);
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 54px;
  border-radius: 50%;
  background: rgba(191, 140, 77, 0.14);
  color: var(--brand-strong);
  font-family: var(--font-display);
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer {
  padding: 34px 0 28px;
  background: rgba(244, 236, 223, 0.88);
  border-top: 1px solid rgba(107, 84, 56, 0.1);
}

.footer-brand {
  font-size: 1.4rem;
  color: var(--brand-strong);
}

.footer-title {
  margin: 0 0 12px;
  color: var(--brand-strong);
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.footer-record {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(107, 84, 56, 0.1);
}

.footer-record p,
.footer-record a {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

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

.footer-record-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.beian-link img {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 2px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .grid-4,
  .step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .footer-record-links {
    justify-content: center;
    gap: 12px;
  }

  .hero-grid,
  .grid-3,
  .grid-4,
  .capability-grid,
  .step-grid,
  .two-column,
  .footer-grid,
  .cta-card {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 86px;
  }

  .hero h1 {
    max-width: 100%;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(249, 243, 234, 0.98);
    border: 1px solid rgba(107, 84, 56, 0.12);
    box-shadow: var(--shadow-md);
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100vw - 28px, 100%);
  }

  .nav-row {
    min-height: 74px;
  }

  .hero,
  .section {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .hero h1,
  .section h2,
  .cta-card h2,
  .hero-panel h2,
  .list-card h2 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .hero-panel,
  .summary-card,
  .capability-card,
  .step-card,
  .link-card,
  .list-card,
  .cta-card {
    padding: 22px;
  }

  .info-row {
    flex-direction: column;
  }

  .info-row dd {
    max-width: 100%;
    text-align: left;
  }

  .footer-record {
    flex-direction: column;
  }
}
