:root {
  --malt: #e6a23c;
  --malt-dark: #b97822;
  --wood: #4a3525;
  --wood-deep: #231914;
  --parchment: #f5edd6;
  --paper: #fff8e8;
  --ink: #2a211b;
  --muted: #776656;
  --green: #3f6f5b;
  --blue: #2f6174;
  --line: rgba(74, 53, 37, .18);
  --shadow: 0 22px 55px rgba(35, 25, 20, .22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
a,
summary,
.content-item,
.feature-list article,
.steps article,
.timeline li,
.faq-list details,
.media-panel,
.wide-figure,
.guide-callout,
.quick-links a {
  transition: color .22s ease, background-color .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease, opacity .22s ease;
}

p {
  margin: 0 0 1rem;
}

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

h1 {
  font-size: clamp(2.05rem, 4.2vw, 3.85rem);
  color: var(--malt);
  text-shadow: 0 4px 18px rgba(0, 0, 0, .58), 0 0 24px rgba(230, 162, 60, .22);
}

h2 {
  font-size: clamp(1.48rem, 2.35vw, 2.2rem);
  color: var(--malt-dark);
}

h3 {
  font-size: 1.18rem;
  color: var(--wood);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  padding: .65rem .9rem;
  background: var(--parchment);
  color: var(--wood);
  border: 2px solid var(--malt);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(35, 25, 20, .92);
  border-bottom: 1px solid rgba(245, 237, 214, .16);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--parchment);
  font-weight: 800;
  white-space: nowrap;
}

.brand:hover {
  color: var(--malt);
}

.brand img {
  border-radius: 6px;
  box-shadow: 0 0 0 2px rgba(230, 162, 60, .3);
  transition: transform .22s ease, box-shadow .22s ease;
}

.brand:hover img {
  transform: rotate(-3deg) scale(1.04);
  box-shadow: 0 0 0 2px rgba(230, 162, 60, .7), 0 8px 20px rgba(230, 162, 60, .22);
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-menu a {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  padding: .64rem .72rem;
  color: rgba(245, 237, 214, .88);
  font-size: .95rem;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.site-menu svg,
.btn svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  padding: .18rem;
  box-sizing: content-box;
  border-radius: 50%;
  background: rgba(230, 162, 60, .14);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.site-menu svg path:first-child {
  fill: transparent;
}

.site-menu a:hover svg,
.site-menu a.is-active svg,
.btn:hover svg {
  background: var(--malt);
  color: #24170f;
  transform: translateY(-1px);
}

.site-menu a:hover,
.site-menu a.is-active {
  color: var(--malt);
  background: transparent;
  border-color: rgba(230, 162, 60, .72);
  box-shadow: 0 0 0 1px rgba(230, 162, 60, .08), 0 0 16px rgba(230, 162, 60, .16);
}

.site-menu .nav-cta {
  margin-left: 8px;
  color: #24170f;
  background: var(--malt);
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  padding-left: .9rem;
  padding-right: .95rem;
  box-shadow: 0 10px 22px rgba(230, 162, 60, .2);
}

.site-menu .nav-cta:hover,
.site-menu .nav-cta.is-active {
  color: #24170f;
  background: #f1b557;
  border-color: rgba(255, 248, 232, .55);
  box-shadow: 0 14px 28px rgba(230, 162, 60, .28);
}

.site-menu .nav-cta svg {
  background: rgba(36, 23, 15, .12);
}

.site-menu .nav-cta:hover svg {
  background: #24170f;
  color: var(--malt);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(245, 237, 214, .25);
  background: rgba(245, 237, 214, .08);
  padding: 9px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--parchment);
  transition: transform .22s ease, opacity .18s ease, margin .22s ease;
  transform-origin: center;
}

.nav-toggle.is-open span:nth-child(1) {
  margin-top: 12px;
  transform: rotate(45deg) translate(1px, 1px);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
  margin: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  margin-top: -2px;
  transform: rotate(-45deg) translate(0, 0);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--wood-deep);
}

.hero picture,
.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
  opacity: .68;
  transform: scale(1.03);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(35, 25, 20, .92), rgba(35, 25, 20, .62) 45%, rgba(35, 25, 20, .36)),
    linear-gradient(0deg, rgba(35, 25, 20, .88), transparent 50%);
}

.hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0 72px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 .7rem;
  color: var(--malt);
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 760px;
  margin: 1.25rem 0 1.6rem;
  color: rgba(255, 248, 232, .92);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .48rem;
  min-height: 46px;
  padding: .72rem 1.16rem;
  font-weight: 900;
  border: 1px solid transparent;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.btn.primary {
  background: var(--malt);
  color: #21140c;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(230, 162, 60, .28);
}

.btn.primary svg {
  background: rgba(33, 20, 12, .12);
}

.btn.primary:hover {
  background: #f1b557;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(230, 162, 60, .34);
}

.btn.primary:hover svg {
  background: #21140c;
  color: var(--malt);
}

.btn.ghost {
  color: var(--parchment);
  border-color: rgba(245, 237, 214, .45);
  background: rgba(245, 237, 214, .08);
  border-radius: 999px;
}

.btn.ghost:hover {
  border-color: var(--malt);
  background: rgba(230, 162, 60, .14);
  transform: translateY(-2px);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 12px;
  margin: 0;
}

.hero-meta div {
  padding: .85rem .95rem;
  background: rgba(245, 237, 214, .1);
  border: 1px solid rgba(245, 237, 214, .18);
}

.hero-meta dt {
  color: var(--malt);
  font-size: .82rem;
  font-weight: 800;
}

.hero-meta dd {
  margin: 0;
  color: #fff8e8;
  font-weight: 800;
}

.quick-links {
  width: min(1180px, calc(100% - 32px));
  margin: -34px auto 0;
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--paper);
  border: 1px solid rgba(74, 53, 37, .16);
  box-shadow: var(--shadow);
}

.quick-links a {
  padding: 1rem;
  border-right: 1px solid var(--line);
}

.quick-links a:hover {
  color: var(--wood);
  background: #fff2c9;
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(74, 53, 37, .12);
}

.quick-links a:hover strong {
  color: var(--malt-dark);
}

.quick-links a:last-child {
  border-right: 0;
}

.quick-links strong {
  display: block;
  color: var(--wood);
}

.quick-links span {
  display: block;
  color: var(--muted);
  font-size: .9rem;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 44px;
  align-items: center;
}

.section-copy p,
.section-head p {
  color: #4e4035;
}

.section-head {
  max-width: 820px;
  margin-bottom: 32px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-copy > .section-kicker,
.section-copy > h2,
.final-cta .section-kicker,
.final-cta h2 {
  text-align: center;
}

.check-list {
  padding: 0;
  margin: 1.35rem 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.55rem;
  margin: .65rem 0;
  color: #3d3028;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .67rem;
  width: 9px;
  height: 9px;
  background: var(--green);
}

.media-panel,
.wide-figure,
.guide-callout,
.gallery {
  margin: 0;
  border: 1px solid rgba(74, 53, 37, .18);
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.media-panel:hover,
.wide-figure:hover,
.guide-callout:hover {
  transform: translateY(-6px);
  border-color: rgba(230, 162, 60, .55);
  box-shadow: 0 28px 62px rgba(35, 25, 20, .26);
}

.media-panel img,
.wide-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .5s ease, filter .3s ease;
}

.media-panel:hover img,
.wide-figure:hover img,
.guide-callout:hover img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.03);
}

figcaption {
  padding: .8rem 1rem;
  color: var(--muted);
  font-size: .92rem;
}

.section-paper {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  background:
    linear-gradient(180deg, rgba(255, 248, 232, .78), rgba(245, 237, 214, .94)),
    repeating-linear-gradient(90deg, rgba(74, 53, 37, .035) 0 1px, transparent 1px 36px);
}

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

.content-item,
.feature-list article,
.steps article,
.faq-list details {
  background: rgba(255, 248, 232, .88);
  border: 1px solid var(--line);
  padding: 1.1rem;
}

.content-item:hover,
.steps article:hover,
.feature-list article:hover {
  transform: translateY(-6px);
  border-color: rgba(230, 162, 60, .62);
  box-shadow: 0 18px 34px rgba(74, 53, 37, .15);
}

.content-item:hover h3,
.steps article:hover h3,
.feature-list article:hover h3 {
  color: var(--malt-dark);
}

.item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: .8rem;
  color: #1d130d;
  background: var(--malt);
  font-weight: 900;
  transition: transform .22s ease, background-color .22s ease;
}

.content-item:hover .item-icon {
  transform: rotate(-6deg) scale(1.08);
  background: #f1b557;
}

.wide-figure {
  margin-top: 24px;
}

.wide-figure img {
  aspect-ratio: 16 / 7;
}

.guide-layout .steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.steps article {
  min-height: 205px;
}

.guide-callout {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(0, 1fr);
  align-items: center;
}

.guide-callout img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform .5s ease, filter .3s ease;
}

.guide-callout div {
  padding: 1.6rem;
}

.section-dark {
  width: 100%;
  max-width: none;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  background:
    linear-gradient(135deg, rgba(35, 25, 20, .98), rgba(74, 53, 37, .96)),
    radial-gradient(circle at top left, rgba(230, 162, 60, .18), transparent 38%);
}

.section-dark h2,
.section-dark h3 {
  color: #fff3d0;
}

.section-dark h2 {
  color: var(--malt);
}

.section-dark p {
  color: rgba(245, 237, 214, .82);
}

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

.feature-list article {
  background: rgba(245, 237, 214, .08);
  border-color: rgba(245, 237, 214, .16);
}

.gallery-section {
  padding-bottom: 40px;
}

.gallery {
  position: relative;
  overflow: hidden;
  background: var(--wood-deep);
}

.gallery-track {
  display: grid;
}

.gallery-slide {
  grid-area: 1 / 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  margin: 0;
}

.gallery-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-slide img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.gallery-slide figcaption {
  color: #fff3d0;
  background: rgba(35, 25, 20, .95);
}

.gallery-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 42px;
  height: 52px;
  border: 0;
  background: rgba(245, 237, 214, .88);
  color: var(--wood);
  font-size: 2rem;
  cursor: pointer;
}

.gallery-btn.prev {
  left: 12px;
}

.gallery-btn.next {
  right: 12px;
}

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

.timeline li {
  counter-increment: update;
  position: relative;
  padding: 1rem 1rem 1rem 3.2rem;
  background: rgba(255, 248, 232, .9);
  border: 1px solid var(--line);
}

.timeline li:hover {
  transform: translateY(-5px);
  border-color: rgba(47, 97, 116, .45);
  box-shadow: 0 16px 30px rgba(74, 53, 37, .13);
  background: #fff6de;
}

.timeline li::before {
  content: counter(update);
  position: absolute;
  left: 1rem;
  top: 1.04rem;
  width: 1.55rem;
  height: 1.55rem;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-size: .8rem;
  font-weight: 900;
  transition: background-color .22s ease, transform .22s ease;
}

.timeline li:hover::before {
  background: var(--malt-dark);
  transform: scale(1.08);
}

.faq-section {
  padding-top: 78px;
}

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

.faq-list details {
  background: var(--paper);
}

.faq-list details:hover,
.faq-list details[open] {
  border-color: rgba(230, 162, 60, .55);
  box-shadow: 0 14px 28px rgba(74, 53, 37, .12);
}

.faq-list summary {
  cursor: pointer;
  color: var(--wood);
  font-weight: 900;
}

.faq-list summary:hover {
  color: var(--malt-dark);
}

.faq-list p {
  margin: .8rem 0 0;
  color: #4e4035;
}

.final-cta {
  margin-bottom: 70px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--wood);
  color: var(--parchment);
  box-shadow: var(--shadow);
}

.final-cta h2,
.final-cta p {
  color: var(--parchment);
}

.site-footer {
  padding: 28px max(16px, calc((100% - 1180px) / 2));
  display: flex;
  justify-content: space-between;
  gap: 24px;
  background: var(--wood-deep);
  color: rgba(245, 237, 214, .84);
}

.site-footer p {
  margin: .35rem 0 0;
}

.site-footer a {
  color: var(--malt);
  font-weight: 900;
}

.site-footer a:hover {
  color: #fff3d0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.friend-links {
  width: 100%;
  margin: 0;
  padding: 48px max(16px, calc((100% - 1180px) / 2)) 54px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0, rgba(230, 162, 60, .2), transparent 42%),
    linear-gradient(90deg, var(--wood-deep), var(--wood) 50%, var(--wood-deep));
  color: var(--parchment);
  border-top: 1px solid rgba(230, 162, 60, .22);
}

.friend-links h2 {
  color: var(--malt);
}

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

.friend-link-list a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 48px;
  padding: .72rem 1.2rem;
  color: #fff8e8;
  font-weight: 900;
  border: 1px solid rgba(245, 237, 214, .22);
  border-radius: 999px;
  background: rgba(245, 237, 214, .1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 12px 26px rgba(0, 0, 0, .18);
}

.friend-link-list a:hover {
  color: #24170f;
  background: var(--malt);
  border-color: rgba(255, 248, 232, .58);
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(230, 162, 60, .26);
}

.friend-link-list svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes heroDrift {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, .8%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

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

  .site-menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: rgba(35, 25, 20, .98);
    border: 1px solid rgba(245, 237, 214, .18);
  }

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

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

  .quick-links,
  .content-grid,
  .guide-layout .steps,
  .feature-list,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .guide-callout {
    grid-template-columns: 1fr;
  }

  .guide-callout img {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .nav-wrap {
    width: calc(100% - 24px);
  }

  .brand span {
    font-size: .95rem;
  }

  .hero {
    min-height: 720px;
  }

  .hero-inner {
    width: calc(100% - 28px);
    padding: 58px 0 52px;
  }

  .hero-meta,
  .quick-links,
  .content-grid,
  .guide-layout .steps,
  .feature-list,
  .timeline {
    grid-template-columns: 1fr;
  }

  .quick-links {
    margin-top: 0;
    width: 100%;
    box-shadow: none;
  }

  .quick-links a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section,
  .section-paper,
  .section-dark {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .wide-figure img,
  .gallery-slide img {
    aspect-ratio: 4 / 3;
  }

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

  .friend-link-list {
    flex-direction: column;
    align-items: stretch;
  }

  .friend-link-list a {
    justify-content: center;
  }
}
