:root {
  color-scheme: light;
  --orange: #f28a22;
  --orange-dark: #c96316;
  --yellow: #ffd35b;
  --cream: #fff3dc;
  --cream-2: #fff8ed;
  --pink: #ff9eba;
  --cyan: #1aaec1;
  --purple: #7650d6;
  --brown: #4a2c1a;
  --brown-soft: #7b5134;
  --gray: #4b4b4b;
  --line: rgba(96, 58, 31, 0.16);
  --shadow: 0 18px 42px rgba(106, 60, 16, 0.14);
  --shadow-strong: 0 24px 58px rgba(106, 60, 16, 0.22);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  color: var(--brown);
  background: linear-gradient(180deg, #fff8ed 0%, #ffe8bd 42%, #fff7e9 100%);
  line-height: 1.75;
}

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

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

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

.icon {
  width: 1.08em;
  height: 1.08em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 76px;
  padding: 10px clamp(18px, 4vw, 48px);
  background: rgba(255, 248, 237, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  display: grid;
  grid-template-columns: minmax(0, var(--max));
  justify-content: center;
  align-items: center;
  transition: box-shadow 0.22s ease, background 0.22s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 248, 237, 0.96);
  box-shadow: 0 12px 30px rgba(106, 60, 16, 0.12);
}

.site-header > .brand,
.site-header > .nav-toggle,
.site-header > .main-nav {
  grid-row: 1;
}

.site-header > .brand {
  grid-column: 1;
  justify-self: start;
}

.site-header > .nav-toggle,
.site-header > .main-nav {
  grid-column: 1;
  justify-self: end;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.18rem;
}

.brand img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid rgba(242, 138, 34, 0.28);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.brand:hover img,
.brand:focus-visible img {
  transform: rotate(-4deg) scale(1.04);
  box-shadow: 0 10px 24px rgba(242, 138, 34, 0.24);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.96rem;
  color: var(--brown-soft);
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--orange-dark);
  border-color: rgba(242, 138, 34, 0.78);
  box-shadow: 0 0 0 3px rgba(255, 211, 91, 0.26);
  outline: none;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.main-nav .nav-cta {
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(26, 174, 193, 0.25);
}

.main-nav a .icon {
  transition: color 0.18s ease, transform 0.18s ease;
}

.main-nav a:hover .icon,
.main-nav a:focus-visible .icon {
  color: currentColor;
  transform: translateY(-1px);
}

.main-nav .nav-cta .icon {
  color: currentColor;
}

.main-nav .nav-cta:hover .icon,
.main-nav .nav-cta:focus-visible .icon {
  color: currentColor;
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta:focus-visible {
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(26, 174, 193, 0.28);
  transform: translateY(-2px);
}

.main-nav .nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff7e9;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--brown);
  transform-origin: center;
  transition: opacity 0.18s ease, transform 0.18s 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);
}

.section-band,
.content-section,
.final-cta {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: calc(100svh - 76px);
  display: grid;
  align-items: center;
  padding: clamp(44px, 7vw, 84px) 0 72px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 74px;
  background: linear-gradient(180deg, rgba(255, 248, 237, 0), rgba(255, 248, 237, 1));
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  animation: heroDrift 16s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 248, 237, 0.98) 0%, rgba(255, 248, 237, 0.88) 42%, rgba(255, 248, 237, 0.35) 100%),
    linear-gradient(180deg, rgba(255, 211, 91, 0.18), rgba(255, 158, 186, 0.18));
}

.hero-inner {
  width: min(760px, 100%);
  margin-inline: max(18px, calc((100% - var(--max)) / 2));
  padding-top: 28px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--orange-dark);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--orange);
  box-shadow: 12px 0 0 var(--yellow), 24px 0 0 var(--cyan);
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 5.2vw, 5rem);
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--brown);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.72rem, 3vw, 2.6rem);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.35;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 28px;
  color: var(--gray);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.hero-actions,
.gallery-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
  transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: -1px auto -1px -45%;
  width: 34%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.46), transparent);
  opacity: 0;
  transition: transform 0.42s ease, opacity 0.22s ease;
}

.button:hover::before,
.button:focus-visible::before {
  opacity: 1;
  transform: translateX(420%) skewX(-18deg);
}

.button:hover,
.button:focus-visible {
  color: var(--orange-dark);
  border-color: rgba(242, 138, 34, 0.78);
  box-shadow: 0 0 0 3px rgba(255, 211, 91, 0.26);
  outline: none;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(26, 174, 193, 0.26);
}

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

.button .icon {
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.button.primary .icon {
  color: currentColor;
}

.button.secondary .icon {
  color: currentColor;
}

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

.button.primary:hover,
.button.primary:focus-visible {
  color: #fff;
  border-color: transparent;
  box-shadow: 0 18px 34px rgba(26, 174, 193, 0.32);
  transform: translateY(-2px);
}

.button.primary:hover .icon,
.button.primary:focus-visible .icon {
  color: currentColor;
}

.button.secondary:hover .icon,
.button.secondary:focus-visible .icon {
  color: currentColor;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
  margin: 34px 0 0;
}

.hero-facts div,
.info-card,
.feature-list article,
.update-grid article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
}

.hero-facts div {
  padding: 14px;
}

.hero-facts dt {
  color: var(--brown-soft);
  font-size: 0.8rem;
}

.hero-facts dd {
  margin: 0;
  font-weight: 900;
}

.content-section {
  padding: clamp(54px, 7vw, 92px) 0;
}

.intro-layout,
.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: center;
}

.section-copy p,
.section-heading p,
.info-card p,
.feature-list p,
.update-grid p,
.faq-list p,
.final-cta p {
  color: var(--gray);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
  margin-inline: auto;
  text-align: center;
}

.section-heading .section-kicker,
.section-copy > .section-kicker {
  display: flex;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}

.section-copy > h2 {
  text-align: center;
}

.feature-figure,
.guide-image,
.gallery-item {
  margin: 0;
}

.feature-figure img,
.guide-image img,
.gallery-item img,
.media-strip img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(96, 58, 31, 0.14);
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.feature-figure:hover img,
.guide-image:hover img,
.gallery-item:hover img,
.media-strip figure:hover img {
  transform: translateY(-4px) scale(1.015);
  box-shadow: var(--shadow-strong);
  filter: saturate(1.08) contrast(1.02);
}

.feature-figure figcaption,
.guide-image figcaption,
.media-strip figcaption,
.gallery-item figcaption {
  margin-top: 10px;
  color: var(--brown-soft);
  font-size: 0.92rem;
}

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

.info-card {
  position: relative;
  padding: 22px;
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.info-card::before,
.feature-list article::before,
.update-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--yellow), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.info-card:hover,
.feature-list article:hover,
.update-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 138, 34, 0.38);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-strong);
}

.info-card:hover::before,
.feature-list article:hover::before,
.update-grid article:hover::before {
  transform: scaleX(1);
}

.card-icon {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--orange-dark);
  font-weight: 900;
  transition: color 0.22s ease, transform 0.22s ease;
}

.info-card:hover .card-icon {
  color: var(--cyan);
  transform: translateX(4px);
}

.media-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.media-strip figure {
  margin: 0;
}

.media-strip img {
  aspect-ratio: 16 / 9;
}

.guide-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.timeline-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-list li {
  position: relative;
  padding: 18px 18px 18px 52px;
  border-left: 4px solid var(--orange);
  background: rgba(255, 255, 255, 0.58);
  border-radius: 8px;
}

.timeline-list li::before {
  content: counter(item);
  counter-increment: item;
  position: absolute;
  left: 16px;
  top: 18px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--orange);
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 900;
}

.timeline-list {
  counter-reset: item;
}

.feature-band {
  padding-bottom: 42px;
}

.feature-list,
.update-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-list article,
.update-grid article {
  position: relative;
  padding: 20px;
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.gallery-section {
  overflow: hidden;
}

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

.gallery-item img {
  aspect-ratio: 16 / 10;
}

.gallery-item:nth-child(3) img {
  object-fit: cover;
}

.gallery-controls {
  display: none;
  margin-top: 16px;
}

.gallery-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--brown);
  background: #fff7e9;
  font-size: 1.6rem;
  transition: transform 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.gallery-controls button:hover,
.gallery-controls button:focus-visible {
  color: var(--orange-dark);
  border-color: rgba(242, 138, 34, 0.58);
  box-shadow: 0 0 0 3px rgba(255, 211, 91, 0.26);
  transform: translateY(-2px);
  outline: none;
}

.updates-section {
  background: rgba(255, 255, 255, 0.34);
}

.update-grid time {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--orange-dark);
  font-weight: 900;
}

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

.faq-list details {
  padding: 0;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.faq-list details:hover,
.faq-list details:focus-within {
  transform: translateY(-3px);
  border-color: rgba(242, 138, 34, 0.38);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-strong);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 900;
  list-style: none;
  transition: color 0.18s ease, background 0.18s ease;
}

.faq-list summary:hover,
.faq-list summary:focus-visible {
  color: var(--orange-dark);
  background: rgba(255, 211, 91, 0.16);
  outline: none;
}

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

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--orange-dark);
}

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

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
}

.final-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 70px;
  padding: clamp(26px, 5vw, 46px);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 211, 91, 0.74), rgba(255, 158, 186, 0.48));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: inherit;
  pointer-events: none;
}

.friend-links-band {
  width: 100%;
  padding: clamp(46px, 7vw, 74px) 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 211, 91, 0.46), transparent 38%),
    linear-gradient(90deg, rgba(255, 248, 237, 0.96) 0%, rgba(255, 225, 181, 0.92) 50%, rgba(255, 248, 237, 0.96) 100%);
  border-top: 1px solid rgba(242, 138, 34, 0.16);
  border-bottom: 1px solid rgba(242, 138, 34, 0.16);
}

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

.friend-links-inner .section-kicker {
  display: flex;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
}

.friend-links-inner h2 {
  margin-bottom: 24px;
  color: var(--brown);
}

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

.friend-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid rgba(242, 138, 34, 0.18);
  border-radius: 999px;
  color: var(--brown);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 26px rgba(106, 60, 16, 0.1);
  font-weight: 900;
  line-height: 1.2;
  transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.friend-links a:hover,
.friend-links a:focus-visible {
  color: var(--orange-dark);
  border-color: rgba(242, 138, 34, 0.66);
  background: #fff;
  box-shadow: 0 16px 34px rgba(106, 60, 16, 0.16), 0 0 0 3px rgba(255, 211, 91, 0.26);
  transform: translateY(-3px);
  outline: none;
}

.final-cta p {
  max-width: 720px;
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 48px);
  color: var(--brown-soft);
  border-top: 1px solid var(--line);
  background: rgba(255, 248, 237, 0.8);
}

.site-footer p {
  margin: 0;
}

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

  .main-nav {
    position: absolute;
    left: 50%;
    right: auto;
    top: calc(100% + 10px);
    width: min(calc(100vw - 32px), 520px);
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
    padding: 14px;
    background: rgba(255, 248, 237, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    transform: translateX(-50%);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    justify-content: flex-start;
    min-height: 48px;
    padding: 12px 14px;
    border-color: rgba(96, 58, 31, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.58);
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav .nav-cta {
    grid-column: 1 / -1;
    justify-content: center;
    min-height: 50px;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  .intro-layout,
  .guide-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  .site-header {
    min-height: 68px;
    padding-inline: 16px;
  }

  .main-nav {
    width: calc(100vw - 28px);
    top: calc(100% + 8px);
    gap: 8px;
    padding: 12px;
  }

  .main-nav a {
    min-height: 46px;
    padding: 10px 12px;
    font-size: 0.95rem;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .section-band,
  .content-section,
  .final-cta {
    width: min(100% - 28px, var(--max));
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(255, 248, 237, 0.96) 0%, rgba(255, 248, 237, 0.84) 56%, rgba(255, 248, 237, 0.58) 100%),
      linear-gradient(180deg, rgba(255, 211, 91, 0.16), rgba(255, 158, 186, 0.22));
  }

  .hero-facts,
  .content-grid,
  .media-strip,
  .feature-list,
  .update-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .gallery {
    display: block;
  }

  .gallery-item {
    display: none;
  }

  .gallery-item.is-active {
    display: block;
  }

  .gallery-controls {
    display: flex;
  }

  .final-cta,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .friend-links a {
    width: min(100%, 280px);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.01) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.055) translate3d(-1.2%, -0.8%, 0);
  }
}
