:root {
  --green-950: #061510;
  --green-900: #0b241b;
  --green-800: #123f2f;
  --green-700: #1d5c43;
  --green-600: #2f7957;
  --steel-100: #f2f4f1;
  --steel-200: #d9ded8;
  --steel-300: #b4bdb5;
  --steel-600: #58625d;
  --yellow: #f3c83f;
  --lime: #9cff5b;
  --purple: #8d63d8;
  --ink: #17211d;
  --muted: #5c6661;
  --paper: #fbfcf7;
  --radius: 8px;
  --shadow: 0 22px 60px rgba(6, 21, 16, 0.18);
  --shadow-strong: 0 28px 70px rgba(6, 21, 16, 0.26);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", Arial, sans-serif;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(18, 63, 47, 0.08) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(0deg, rgba(88, 98, 93, 0.08) 1px, transparent 1px) 0 0 / 80px 80px,
    radial-gradient(circle at 18% 12%, rgba(156, 255, 91, 0.08), transparent 28%),
    radial-gradient(circle at 85% 8%, rgba(243, 200, 63, 0.10), transparent 24%);
  pointer-events: none;
}

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

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

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

p {
  margin: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: var(--green-800);
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 21, 16, 0.92);
  border-bottom: 1px solid rgba(217, 222, 216, 0.16);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(var(--max), calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-logo {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 7px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 7px;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--lime);
  border-color: rgba(156, 255, 91, 0.68);
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(156, 255, 91, 0.12), 0 0 22px rgba(156, 255, 91, 0.10);
}

.site-nav .nav-cta {
  margin-left: 8px;
  color: var(--green-950);
  background: var(--yellow);
  font-weight: 800;
}

.site-nav .nav-cta:hover {
  color: var(--green-950);
  background: var(--lime);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(156, 255, 91, 0.22);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
  color: #fff;
}

.nav-toggle .menu-icon {
  width: 22px;
  height: 22px;
  margin: auto;
}

.section-band {
  background:
    linear-gradient(135deg, rgba(18, 63, 47, 0.98), rgba(6, 21, 16, 0.98)),
    var(--green-900);
  color: #f8fff8;
}

.hero {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  padding: 70px 0 42px;
  border-bottom: 5px solid var(--yellow);
}

.hero-grid,
.content-section,
.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
}

.eyebrow {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.22;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-top: 12px;
  font-size: clamp(32px, 4.2vw, 54px);
  color: #fff;
}

h1 span {
  display: block;
}

.hero-lead {
  max-width: 760px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 2vw, 19px);
}

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

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 7px;
  font-weight: 900;
  line-height: 1.2;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.button-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: transform 0.2s var(--ease);
}

.primary-button .button-icon,
.secondary-button .button-icon {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
}

.primary-button {
  color: var(--green-950);
  background: var(--yellow);
  box-shadow: 0 10px 30px rgba(243, 200, 63, 0.22);
}

.primary-button:hover {
  background: var(--lime);
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(156, 255, 91, 0.26);
}

.primary-button:hover .button-icon,
.secondary-button:hover .button-icon,
.site-nav a:hover .button-icon {
  transform: translateX(2px);
}

.secondary-button {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.secondary-button:hover {
  color: var(--lime);
  border-color: rgba(156, 255, 91, 0.68);
  background: rgba(156, 255, 91, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.facts-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 34px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.13);
}

.facts-strip div {
  min-width: 0;
  padding: 14px;
  background: rgba(0, 0, 0, 0.18);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.facts-strip div:hover {
  background: rgba(156, 255, 91, 0.10);
  transform: translateY(-2px);
}

.facts-strip dt {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.facts-strip dd {
  margin: 3px 0 0;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.rail-frame,
.media-panel,
.wide-media {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0b0f0d;
  box-shadow: var(--shadow);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.rail-frame:hover,
.media-panel:hover,
.wide-media:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.rail-frame picture,
.media-panel picture,
.wide-media picture {
  display: block;
  overflow: hidden;
}

.rail-frame img,
.media-panel img,
.wide-media img {
  transition: transform 0.45s var(--ease), filter 0.45s var(--ease);
}

.rail-frame:hover img,
.media-panel:hover img,
.wide-media:hover img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.04);
}

.rail-frame {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.rail-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 0 58%, rgba(6, 21, 16, 0.78)),
    repeating-linear-gradient(90deg, rgba(243, 200, 63, 0.20) 0 14px, transparent 14px 28px);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.content-section {
  padding: clamp(58px, 8vw, 94px) 0;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin-top: 8px;
  font-size: clamp(24px, 3vw, 36px);
}

.section-heading p:not(.eyebrow) {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
}

.section-band .section-heading p:not(.eyebrow),
.section-band .prose p,
.section-band .feature-panel p,
.section-band .feature-matrix p {
  color: rgba(255, 255, 255, 0.74);
}

.split-layout,
.guide-layout,
.timeline-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}

.prose {
  color: var(--ink);
  font-size: 16px;
}

.prose p + p {
  margin-top: 16px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.info-grid div,
.feature-panel,
.feature-matrix article,
.faq-list details {
  border: 1px solid rgba(18, 63, 47, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease), background 0.22s var(--ease);
}

.info-grid div {
  padding: 15px;
}

.info-grid div:hover {
  transform: translateY(-3px);
  border-color: rgba(29, 92, 67, 0.32);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(6, 21, 16, 0.10);
}

.info-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.info-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--green-800);
}

.media-panel img,
.wide-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

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

.feature-panel {
  position: relative;
  min-height: 220px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.feature-panel::after,
.feature-matrix article::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--lime));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s var(--ease);
}

.feature-panel:hover,
.feature-matrix article:hover {
  transform: translateY(-4px);
  border-color: rgba(156, 255, 91, 0.46);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.feature-panel:hover::after,
.feature-matrix article:hover::after {
  transform: scaleX(1);
}

.feature-panel h3,
.feature-matrix h3 {
  font-size: 19px;
}

.feature-panel p,
.feature-matrix p {
  margin-top: 10px;
}

.panel-icon {
  display: inline-flex;
  width: 38px;
  height: 30px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--green-950);
  background: var(--yellow);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.feature-panel:hover .panel-icon {
  background: var(--lime);
  transform: translateY(-2px);
}

.image-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.guide-layout {
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
}

.sticky-media {
  position: sticky;
  top: 92px;
}

.guide-list,
.timeline {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.guide-list li,
.timeline li {
  position: relative;
  padding: 16px 18px 16px 54px;
  border: 1px solid rgba(18, 63, 47, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.guide-list li::before,
.timeline li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--green-950);
  background: var(--yellow);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.guide-list li:hover,
.timeline li:hover {
  transform: translateX(4px);
  border-color: rgba(29, 92, 67, 0.34);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(6, 21, 16, 0.10);
}

.guide-list li:hover::before,
.timeline li:hover::before {
  background: var(--lime);
  transform: scale(1.06);
}

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

.feature-matrix article {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.wide-media {
  margin-top: 18px;
}

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

.timeline li {
  background: rgba(18, 63, 47, 0.04);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  overflow: hidden;
}

.faq-list summary {
  position: relative;
  min-height: 58px;
  padding: 16px 56px 16px 18px;
  cursor: pointer;
  color: var(--green-900);
  font-weight: 900;
  list-style: none;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  color: var(--green-950);
  background: var(--yellow);
  border-radius: 6px;
  font-weight: 900;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list details:hover {
  transform: translateY(-2px);
  border-color: rgba(29, 92, 67, 0.30);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 34px rgba(6, 21, 16, 0.10);
}

.faq-list details:hover summary {
  color: var(--green-700);
}

.faq-list details:hover summary::after {
  background: var(--lime);
  transform: translateY(-50%) rotate(90deg);
}

.faq-list details p {
  padding: 0 18px 18px;
  color: var(--muted);
}

.floating-detail {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  color: var(--green-950);
  background: var(--yellow);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(6, 21, 16, 0.24), 0 0 0 6px rgba(243, 200, 63, 0.12);
  font-weight: 900;
  line-height: 1.2;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.floating-detail:hover {
  background: var(--lime);
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(6, 21, 16, 0.30), 0 0 0 8px rgba(156, 255, 91, 0.14);
}

.floating-detail:hover .button-icon {
  transform: translateX(2px);
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 34px 0 42px;
  color: var(--muted);
}

.friend-links {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(18, 63, 47, 0.98), rgba(6, 21, 16, 0.98)),
    var(--green-900);
  border-top: 1px solid rgba(156, 255, 91, 0.16);
  border-bottom: 4px solid var(--yellow);
}

.friend-links-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 46px;
  text-align: center;
}

.friend-links h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 34px);
}

.friend-links-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.friend-links-list a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  color: var(--green-950);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  font-weight: 900;
  line-height: 1.25;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.friend-links-list a:hover {
  color: var(--green-950);
  background: var(--lime);
  border-color: var(--yellow);
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(156, 255, 91, 0.20);
}

.site-footer strong {
  color: var(--green-800);
}

.site-footer p {
  max-width: 640px;
  margin-top: 6px;
}

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

@media (max-width: 1040px) {
  .hero-grid,
  .split-layout,
  .guide-layout,
  .timeline-layout {
    grid-template-columns: 1fr;
  }

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

  .sticky-media {
    position: static;
  }

  .hero {
    min-height: auto;
  }
}

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

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 68px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    color: #fff;
    background: rgba(6, 21, 16, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px;
  }

  .site-nav .nav-cta {
    margin: 6px 0 0;
    text-align: center;
  }

  .facts-strip,
  .info-grid,
  .image-row,
  .content-grid,
  .feature-matrix {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .floating-detail {
    right: 14px;
    bottom: 14px;
    min-height: 46px;
    padding: 12px 16px;
  }

}

@media (max-width: 520px) {
  .header-inner,
  .hero-grid,
  .content-section,
  .site-footer {
    width: min(100% - 24px, var(--max));
  }

  .brand-text {
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  h1 {
    font-size: 30px;
  }

  .hero {
    padding-top: 44px;
  }

  .content-section {
    padding: 52px 0;
  }
}

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

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