:root {
  --bg: #f8f9fa;
  --surface: #ffffff;
  --surface-2: #eef4f0;
  --ink: #17211c;
  --muted: #5f6f68;
  --line: #dbe6df;
  --green: #2d6a4f;
  --green-dark: #174331;
  --green-soft: #e3f1e9;
  --orange: #ff7a00;
  --gold: #ffc300;
  --shadow: 0 18px 48px rgba(23, 33, 28, .12);
  --radius: 8px;
  --pill: 999px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-top: 62px;
}

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

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

p {
  margin: 0 0 1rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.25;
  letter-spacing: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

li,
dd,
dt,
summary,
figcaption,
a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

h1 {
  max-width: 780px;
  font-size: clamp(1.9rem, 4.2vw, 3.25rem);
  color: var(--green-dark);
}

h2 {
  font-size: clamp(1.35rem, 2.55vw, 2.05rem);
  color: var(--green-dark);
}

h3 {
  font-size: .95rem;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: .65rem .9rem;
  color: #fff;
  background: var(--green-dark);
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(219, 230, 223, .86);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  width: min(100% - 32px, 1240px);
  min-height: 62px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--green-dark);
  font-weight: 800;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: .15rem;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: .36rem;
  padding: .56rem .72rem;
  color: #30443a;
  font-size: .98rem;
  border-radius: var(--pill);
  transition: color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.nav-links svg,
.btn svg,
.index-grid svg {
  width: 1.08em;
  height: 1.08em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
  color: var(--green-dark);
  background: var(--green-soft);
}

.nav-links .nav-cta {
  margin-left: .4rem;
  color: #fff;
  background: var(--orange);
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(255, 122, 0, .24);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(23, 67, 49, .1);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
  color: #fff;
  background: #e86e00;
}

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #b7cbbf;
  border-radius: 50%;
  background: #f8f9fa;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--green-dark);
  border-radius: 2px;
  transition: opacity .2s ease, transform .2s ease;
}

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

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

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

.hero {
  position: relative;
  min-height: min(62vh, 560px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero h1 {
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 32, 24, .88) 0%, rgba(15, 32, 24, .62) 42%, rgba(15, 32, 24, .18) 100%),
    linear-gradient(180deg, rgba(15, 32, 24, .16) 0%, rgba(15, 32, 24, .58) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  padding: 4rem 0 3rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 .8rem;
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: .94rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 1.45rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  min-height: 42px;
  padding: .62rem .95rem;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

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

.btn-primary {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 14px 32px rgba(255, 122, 0, .28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #e86e00;
  box-shadow: 0 18px 38px rgba(255, 122, 0, .34);
}

.btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, .44);
  background: rgba(255, 255, 255, .12);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .2);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .16);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 130px));
  gap: .8rem;
  margin: 1.65rem 0 0;
}

.hero-stats div {
  padding: .65rem .75rem;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 18px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(10px);
}

.hero-stats dt {
  color: rgba(255, 255, 255, .7);
  font-size: .8rem;
}

.hero-stats dd {
  margin: .1rem 0 0;
  font-weight: 800;
}

.quick-index {
  padding: .75rem 0;
  background: var(--green);
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}

.index-grid a {
  display: flex;
  align-items: center;
  gap: .42rem;
  min-height: 42px;
  padding: .55rem .75rem;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--pill);
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.index-grid a:hover,
.index-grid a:focus-visible {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .42);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(10, 41, 27, .16);
}

.section {
  padding: 3.3rem 0;
}

.muted {
  background: var(--surface);
}

.split-grid,
.content-layout,
.cta-inner,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  gap: 2rem;
  align-items: center;
}

.section-copy {
  max-width: 680px;
}

.section-head {
  max-width: 820px;
  margin: 0 auto 1.2rem;
  text-align: center;
}

.section-head.compact {
  max-width: 760px;
}

.section-copy > .section-kicker,
.section-copy > h2,
.gallery-head .section-kicker,
.gallery-head h2 {
  text-align: center;
}

.cta-inner .section-kicker,
.cta-inner h2 {
  text-align: left;
}

.section-copy > .section-kicker,
.section-copy > h2 {
  margin-left: auto;
  margin-right: auto;
}

.section-head p:last-child,
.section-copy p:last-child {
  margin-bottom: 0;
}

.notice {
  margin-top: 1rem;
  padding: .85rem 1rem;
  color: #244236;
  background: var(--green-soft);
  border-left: 4px solid var(--green);
  border-radius: 0 8px 8px 0;
}

.media-panel,
.feature-visual,
.wide-figure,
.gallery-track figure {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.media-panel:hover,
.feature-visual:hover,
.wide-figure:hover,
.gallery-track figure:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 106, 79, .34);
  box-shadow: 0 22px 56px rgba(23, 33, 28, .16);
}

.media-panel img,
.feature-visual img,
.wide-figure img,
.gallery-track img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}

.media-panel:hover img,
.feature-visual:hover img,
.wide-figure:hover img,
.gallery-track figure:hover img {
  transform: scale(1.025);
  filter: saturate(1.05) contrast(1.03);
}

figcaption {
  padding: .65rem .8rem;
  color: var(--muted);
  font-size: .86rem;
  background: #fff;
}

.content-layout {
  grid-template-columns: .88fr 1.12fr;
  align-items: stretch;
}

.feature-visual img {
  height: 100%;
  min-height: 330px;
}

.cards-grid,
.guide-grid,
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}

.info-card,
.guide-step,
.feature-list article {
  padding: .95rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.info-card:hover,
.guide-step:hover,
.feature-list article:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 106, 79, .38);
  background: #fff;
  box-shadow: 0 16px 34px rgba(23, 33, 28, .1);
}

.muted .info-card,
.muted .feature-list article {
  background: var(--bg);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: .75rem;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-size: .78rem;
  font-weight: 900;
  transition: transform .22s ease, background .22s ease;
}

.info-card:hover .card-icon {
  transform: rotate(-6deg) scale(1.06);
  background: var(--orange);
}

.info-card h3,
.guide-step h3,
.feature-list h3 {
  margin-bottom: .55rem;
  color: var(--green-dark);
}

.info-card p,
.guide-step p,
.feature-list p {
  margin: 0;
  color: var(--muted);
}

.wide-figure {
  max-width: 760px;
  margin-top: 1.5rem;
}

.wide-figure img {
  max-height: 380px;
}

.gallery-section {
  padding: 3.3rem 0;
  background: var(--green-dark);
  color: #fff;
}

.gallery-head {
  position: relative;
  display: block;
  padding-right: 120px;
  margin-bottom: 1.1rem;
}

.gallery-head > div:first-child {
  max-width: 100%;
  text-align: center;
}

.gallery-head h2 {
  max-width: 760px;
}

.gallery-controls {
  position: absolute;
  top: .15rem;
  right: 0;
  display: flex;
  gap: .55rem;
}

.gallery-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  cursor: pointer;
  position: relative;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.gallery-controls button:hover,
.gallery-controls button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .18);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .18);
}

.gallery-controls button::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
}

.gallery-prev::before {
  transform: rotate(-45deg) translate(2px, 2px);
}

.gallery-next::before {
  transform: rotate(135deg) translate(2px, 2px);
}

.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(310px, 46%);
  gap: .8rem;
  overflow-x: auto;
  padding-bottom: .4rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.gallery-track figure {
  scroll-snap-align: start;
  background: #fff;
}

.gallery-track figcaption {
  min-height: 66px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: version;
}

.timeline li {
  position: relative;
  min-height: 96px;
  padding: .85rem .9rem .85rem 3.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.timeline li:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 106, 79, .36);
  box-shadow: 0 14px 30px rgba(23, 33, 28, .09);
}

.timeline li::before {
  counter-increment: version;
  content: counter(version, decimal-leading-zero);
  position: absolute;
  top: 1.15rem;
  left: 1.15rem;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-size: .78rem;
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: .85rem;
}

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

details:hover,
details[open] {
  border-color: rgba(45, 106, 79, .36);
  box-shadow: 0 12px 28px rgba(23, 33, 28, .08);
}

details:hover {
  transform: translateY(-1px);
}

summary {
  cursor: pointer;
  padding: .9rem 2.6rem .9rem .95rem;
  color: var(--green-dark);
  font-weight: 800;
  list-style: none;
  position: relative;
  transition: color .2s ease, background .2s ease;
}

summary:hover {
  color: var(--orange);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: translateY(-65%) rotate(45deg);
  transition: transform .2s ease;
}

details[open] summary::after {
  transform: translateY(-35%) rotate(225deg);
}

details p {
  padding: 0 .95rem .95rem;
  color: var(--muted);
}

.cta-band {
  padding: 2.7rem 0;
  color: #fff;
  background: var(--green);
}

.cta-inner {
  grid-template-columns: minmax(0, 1fr) auto;
}

.cta-inner p {
  max-width: 760px;
  color: rgba(255, 255, 255, .86);
}

.cta-inner .section-kicker {
  color: var(--gold);
}

.friend-links {
  padding: 3rem 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(23, 67, 49, .96), rgba(45, 106, 79, .86)),
    var(--green);
  text-align: center;
}

.friend-links .section-kicker {
  color: var(--gold);
  margin-bottom: .45rem;
}

.friend-links h2 {
  color: #fff;
}

.friend-link-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .7rem;
  margin-top: 1.4rem;
}

.friend-link-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .58rem 1.2rem;
  color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: var(--pill);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .12);
  transition: transform .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.friend-link-list a:hover,
.friend-link-list a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .52);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .18);
}

.site-footer {
  padding: 2.3rem 0 1.1rem;
  color: #dce9e2;
  background: #14251d;
}

.footer-grid {
  align-items: start;
  grid-template-columns: 1.4fr .7fr 1fr;
}

.footer-brand {
  color: #fff;
  font-size: 1.2rem;
}

.site-footer h2 {
  margin-bottom: .8rem;
  color: #fff;
  font-size: 1rem;
}

.section-head h2,
.section-copy h2,
.guide-step h3,
.info-card h3,
.feature-list h3,
.cta-inner h2 {
  color: var(--green-dark);
}

.gallery-head h2,
.cta-inner h2 {
  color: #fff;
}

.site-footer p {
  max-width: 520px;
  color: #b9cbc2;
}

.site-footer a:not(.footer-brand) {
  display: block;
  margin: .28rem 0;
  color: #dce9e2;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: .95rem;
  color: #9fb4aa;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

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

  .nav-links {
    position: absolute;
    top: 62px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: .7rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    min-height: 44px;
  }

  .nav-links .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .split-grid,
  .content-layout,
  .cta-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .feature-visual img {
    min-height: 320px;
  }
}

@media (max-width: 700px) {
  body {
    padding-top: 62px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .nav-wrap {
    width: min(100% - 24px, 1240px);
  }

  .hero {
    min-height: min(58vh, 520px);
  }

  h1 {
    font-size: clamp(1.65rem, 7vw, 2rem);
  }

  h2 {
    font-size: clamp(1.28rem, 5.7vw, 1.75rem);
  }

  .hero-inner {
    width: min(100% - 28px, var(--container));
    padding: 2.7rem 0 2rem;
  }

  .hero-copy {
    font-size: .9rem;
  }

  .hero-stats,
  .cards-grid,
  .guide-grid,
  .feature-list,
  .index-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    max-width: 360px;
  }

  .section,
  .gallery-section {
    padding: 2.5rem 0;
  }

  .gallery-head {
    align-items: start;
    flex-direction: column;
  }

  .gallery-track {
    grid-auto-columns: minmax(260px, 86%);
  }

  .cta-inner .btn {
    width: 100%;
  }

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

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

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