:root {
  --green-deep: #0E3B2E;
  --green-mid: #1F6A52;
  --gold: #E8B845;
  --gold-deep: #A87E2E;
  --bg-light: #F5F6F4;
  --bg-white: #FFFFFF;
  --text-dark: #132521;
  --text-on-green: #F0F5F1;
  --text-muted: #6B7A72;
  --line-soft: #DCE5DE;
  --gradient-live: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 100%);
  --gradient-gold: radial-gradient(circle at 30% 30%, var(--gold) 0%, var(--gold-deep) 100%);
  --font-headline: "Arial Black", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "SF Mono", "Consolas", monospace;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --container-width: 1200px;
  --header-height: 72px;
  --header-height-mobile: 60px;
  --space-section: 48px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

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

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

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-headline);
  color: var(--text-dark);
  line-height: 1.25;
}

h1 {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.3px;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

p {
  margin-bottom: 1em;
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.text-muted {
  color: var(--text-muted);
}

.text-green {
  color: var(--green-deep);
}

.text-gold {
  color: var(--gold-deep);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 3000;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: var(--gold);
  color: var(--green-deep);
  font-weight: 700;
  font-size: 0.9rem;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 3px solid #FFFFFF;
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--green-deep);
  color: var(--text-on-green);
  border-bottom: 3px solid var(--gold);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(14, 59, 46, 0.4);
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 220px;
  height: 100%;
  background: repeating-linear-gradient(
    135deg,
    transparent 0 14px,
    rgba(232, 184, 69, 0.16) 14px 15px,
    transparent 15px 38px
  );
  pointer-events: none;
}

.header-scrollbar {
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: rgba(240, 245, 241, 0.15);
  overflow: hidden;
  z-index: 5;
}

.header-scrollbar-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold) 0%, #FFD97E 100%);
  transition: width 0.15s ease-out;
}

.header-frame {
  max-width: var(--container-width);
  margin-inline: auto;
  padding: 0 24px;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.brand-mark {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.brand-link {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.brand-logo {
  position: relative;
  display: inline-block;
  font-family: var(--font-headline);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-shadow: 0 1px 0 rgba(168, 126, 46, 0.6);
}

.brand-logo::after {
  content: "";
  position: absolute;
  top: 6px;
  right: -10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(232, 184, 69, 0.9);
}

.brand-tagline {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(240, 245, 241, 0.65);
  white-space: nowrap;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 2;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  position: relative;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-on-green);
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-link:hover {
  background: rgba(232, 184, 69, 0.16);
  color: var(--gold);
}

.nav-link[aria-current="page"] {
  background: var(--gold);
  color: var(--green-deep);
  font-weight: 800;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(240, 245, 241, 0.25);
  background: rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.nav-toggle-bar {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle:hover .nav-toggle-bar {
  background: #F2C767;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-head {
  display: none;
}

.nav-head-title {
  font-family: var(--font-headline);
  font-weight: 700;
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
}

.nav-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(240, 245, 241, 0.2);
  color: var(--text-on-green);
  font-size: 1.25rem;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-close:hover {
  background: var(--gold);
  color: var(--green-deep);
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--green-deep) 0%, #082B20 100%);
  color: var(--text-on-green);
  border-top: 3px solid var(--gold);
  margin-top: auto;
}

.site-footer::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 184, 69, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.footer-frame {
  max-width: var(--container-width);
  margin-inline: auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}

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

.footer-logo {
  font-family: var(--font-headline);
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-shadow: 0 2px 8px rgba(232, 184, 69, 0.25);
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(240, 245, 241, 0.7);
  max-width: 34ch;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.85rem;
  color: rgba(240, 245, 241, 0.8);
  margin-top: 8px;
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
}

.footer-contact-item::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  margin-inline-end: 8px;
}

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

.footer-title {
  font-family: var(--font-headline);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.footer-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(240, 245, 241, 0.8);
  padding: 4px 0;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

.footer-icp {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(240, 245, 241, 0.6);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-address {
  font-size: 0.85rem;
  color: rgba(240, 245, 241, 0.65);
  line-height: 1.5;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(240, 245, 241, 0.5);
}

.footer-trust-bar {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(240, 245, 241, 0.12);
  padding: 16px 24px;
}

.footer-trust {
  max-width: var(--container-width);
  margin-inline: auto;
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(240, 245, 241, 0.55);
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--green-deep);
  box-shadow: 0 4px 14px rgba(168, 126, 46, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(168, 126, 46, 0.4);
}

.btn-ghost {
  background: transparent;
  border-color: var(--green-deep);
  color: var(--green-deep);
}

.btn-ghost:hover {
  background: var(--green-deep);
  color: var(--text-on-green);
}

.btn-light {
  background: var(--text-on-green);
  color: var(--green-deep);
}

.btn-light:hover {
  background: var(--gold);
  color: var(--green-deep);
}

.card {
  background: var(--bg-white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 24px;
}

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.card-title {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
}

.card-body {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-dark);
}

.card-media {
  margin: -24px -24px 20px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow: hidden;
}

.card-media .image-frame {
  border-radius: 0;
}

.card-hoverable {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card-hoverable:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 16px 32px rgba(14, 59, 46, 0.1);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
}

.tag-gold {
  background: var(--gold);
  color: var(--green-deep);
}

.tag-green {
  background: var(--green-deep);
  color: var(--gold);
}

.tag-outline {
  background: transparent;
  border: 1px solid var(--line-soft);
  color: var(--text-muted);
}

.index-number {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
}

.stat-number {
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  color: var(--green-deep);
}

.stat-number--gold {
  color: var(--gold-deep);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-headline);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--green-deep);
  margin-bottom: 8px;
}

.section-title::before {
  content: "";
  width: 6px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  flex-shrink: 0;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 12px 0;
  margin-bottom: 8px;
}

.breadcrumb a {
  color: var(--green-deep);
  font-weight: 600;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--gold-deep);
}

.breadcrumb .crumb-sep {
  color: var(--line-soft);
}

.crumb-current {
  color: var(--text-muted);
}

.content-block {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 780px;
}

.content-lead {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text-dark);
}

.content-paragraph {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-dark);
}

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #E2EAE4 0%, #C7D4CC 100%);
  transition: box-shadow 0.3s ease;
}

.image-frame::before {
  content: "";
  display: block;
}

.image-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.image-frame:hover img {
  transform: scale(1.03);
}

.image-frame .image-holder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  background: linear-gradient(135deg, #E2EAE4 0%, #C7D4CC 100%);
}

.image-ratio-16x9::before {
  padding-top: 56.25%;
}

.image-ratio-4x3::before {
  padding-top: 75%;
}

.image-ratio-square::before {
  padding-top: 100%;
}

.image-ratio-wide::before {
  padding-top: 40%;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-soft) 15%, var(--line-soft) 85%, transparent);
  border: none;
  margin: var(--space-section) 0;
}

.chapter-track {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-white);
  border: 1px solid var(--line-soft);
  position: sticky;
  top: calc(var(--header-height) + 16px);
  z-index: 50;
  box-shadow: 0 6px 20px rgba(14, 59, 46, 0.06);
}

.chapter-link {
  position: relative;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  background: var(--bg-light);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.chapter-link:hover,
.chapter-link.is-active {
  background: var(--green-deep);
  color: var(--gold);
  border-color: var(--gold);
}

.top-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--gold);
  border: 2px solid var(--gold);
  box-shadow: 0 10px 24px rgba(14, 59, 46, 0.3);
  font-size: 1.2rem;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.top-button.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.top-button::after {
  content: "";
  position: absolute;
  left: 8px;
  bottom: 2px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  opacity: 0.6;
  transform: rotate(-30deg);
  transition: transform 0.25s ease, background 0.25s ease;
}

.top-button:hover {
  background: var(--gold);
  color: var(--green-deep);
}

.top-button:hover::after {
  background: var(--green-deep);
}

body.is-nav-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .brand-tagline {
    display: none;
  }

  .nav-link {
    padding: 8px 10px;
    font-size: 0.84rem;
  }
}

@media (max-width: 900px) {
  .footer-frame {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 60px;
  }

  .header-frame {
    min-height: var(--header-height-mobile);
    padding: 0 16px;
  }

  .site-header::before {
    display: none;
  }

  .brand-tagline {
    display: none;
  }

  .brand-logo {
    font-size: 1.15rem;
  }

  .nav-toggle {
    display: flex;
  }

  .global-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    gap: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    background: linear-gradient(160deg, var(--green-deep) 0%, #0A2A20 100%);
    padding: calc(var(--header-height-mobile) + 24px) 24px 32px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 1500;
  }

  .global-nav[data-open] {
    transform: translateX(0);
  }

  .nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 18px 24px 12px;
    border-bottom: 1px solid rgba(240, 245, 241, 0.12);
  }

  .nav-head-title {
    font-family: var(--font-headline);
    font-weight: 700;
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 0.06em;
  }

  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(240, 245, 241, 0.1);
    font-size: 1.05rem;
  }

  .nav-link[aria-current="page"] {
    background: transparent;
    color: var(--gold);
  }

  .nav-link[aria-current="page"]::before {
    content: "";
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 24px;
    border-radius: 0 6px 6px 0;
    background: var(--gold);
  }

  .chapter-track {
    top: calc(var(--header-height-mobile) + 12px);
    border-radius: var(--radius-md);
  }

  .top-button {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 600px) {
  .footer-frame {
    grid-template-columns: 1fr;
    padding: 32px 20px 24px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .section-title {
    font-size: 1.4rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none !important;
  }

  .nav-head {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .header-scrollbar-fill,
  .top-button,
  .nav-toggle-bar {
    transition: none !important;
  }
}
