:root {
  --rust: #d2691e;
  --leaf: #b8860b;
  --coffee: #4a2e2b;
  --coffee-deep: #2b1b19;
  --pink: #ffb6c1;
  --cream: #f6ead7;
  --paper: #fff8ea;
  --fog: #d9d5c8;
  --moss: #435f51;
  --steel: #768082;
  --shadow: rgba(43, 27, 25, 0.28);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--coffee-deep);
}

body {
  margin: 0;
  color: var(--coffee-deep);
  background: var(--cream);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 320ms ease, background-color 320ms ease, border-color 320ms ease, box-shadow 320ms ease, transform 320ms ease;
}

p,
h1,
h2,
h3 {
  overflow-wrap: anywhere;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  transition: color 320ms ease, background-color 320ms ease, border-color 320ms ease, box-shadow 320ms ease, transform 320ms ease;
}

:focus-visible {
  outline: 3px solid rgba(255, 182, 193, 0.9);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--coffee);
  border-radius: 6px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(74, 46, 43, 0.95);
  border-bottom: 1px solid rgba(255, 182, 193, 0.28);
  backdrop-filter: blur(14px);
}

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

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

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition: transform 320ms ease, box-shadow 320ms ease;
}

.brand:hover img {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.nav-menu a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  color: rgba(255, 248, 234, 0.9);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.nav-menu a svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.nav-menu a:hover,
.nav-menu a.is-active {
  color: var(--coffee-deep);
  background: var(--pink);
  transform: translateY(-1px);
}

.nav-menu .nav-cta {
  margin-left: 8px;
  color: var(--coffee-deep);
  background: var(--leaf);
  border: 1px solid rgba(255, 248, 234, 0.35);
  border-radius: 999px;
}

.nav-menu .nav-cta:hover {
  background: var(--pink);
  box-shadow: 0 10px 22px rgba(255, 182, 193, 0.18);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 248, 234, 0.25);
  border-radius: 999px;
  background: rgba(255, 248, 234, 0.08);
}

.nav-toggle svg {
  display: block;
  width: 22px;
  height: 22px;
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--paper);
  background: var(--coffee-deep);
}

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

.hero-picture img {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background: rgba(43, 27, 25, 0.62);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 144px 0 56px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin: 0;
  color: var(--paper);
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 248, 234, 0.92);
  font-size: 18px;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  transition: transform 360ms ease, box-shadow 360ms ease, background-color 360ms ease, border-color 360ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: var(--coffee-deep);
  background: var(--pink);
  box-shadow: 0 12px 24px rgba(255, 182, 193, 0.22);
}

.button-primary:hover {
  background: #ffd0d7;
  box-shadow: 0 18px 34px rgba(255, 182, 193, 0.34);
}

.button-ghost {
  color: var(--paper);
  border-color: rgba(255, 248, 234, 0.46);
  background: rgba(255, 248, 234, 0.08);
}

.button-ghost:hover {
  background: rgba(255, 248, 234, 0.18);
  border-color: rgba(255, 248, 234, 0.78);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.button svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.hero-facts {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 36px 0 0;
  padding: 0;
  background: rgba(255, 248, 234, 0.22);
  border: 1px solid rgba(255, 248, 234, 0.22);
}

.hero-facts div {
  min-height: 92px;
  padding: 18px;
  background: rgba(74, 46, 43, 0.72);
}

.hero-facts dt {
  margin: 0 0 4px;
  color: var(--pink);
  font-size: 12px;
  font-weight: 900;
}

.hero-facts dd {
  margin: 0;
  color: var(--paper);
  font-weight: 800;
}

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

.section-heading {
  max-width: 780px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section h2 {
  margin: 0;
  color: var(--coffee);
  font-size: clamp(24px, 3.8vw, 38px);
  line-height: 1.18;
}

.section h3 {
  margin: 0 0 10px;
  color: var(--coffee);
  font-size: 20px;
  line-height: 1.35;
}

.section-heading p:not(.section-kicker) {
  margin: 14px 0 0;
  color: rgba(43, 27, 25, 0.72);
}

.intro-section,
.guide-section,
.updates-section {
  width: 100%;
  max-width: none;
  background: var(--paper);
}

.intro-section > *,
.guide-section > *,
.updates-section > * {
  width: min(var(--max), calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.intro-layout,
.guide-layout,
.route-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 36px;
  align-items: center;
}

.prose p {
  margin: 0 0 16px;
  color: rgba(43, 27, 25, 0.78);
}

.media-frame {
  margin: 0;
  background: var(--coffee);
  border: 1px solid rgba(74, 46, 43, 0.18);
  box-shadow: 0 20px 44px var(--shadow);
  overflow: hidden;
  transition: transform 420ms ease, box-shadow 420ms ease, border-color 420ms ease;
}

.media-frame:hover {
  transform: translateY(-5px);
  border-color: rgba(210, 105, 30, 0.46);
  box-shadow: 0 26px 56px rgba(43, 27, 25, 0.34);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 620ms ease, filter 420ms ease;
}

.media-frame:hover img {
  transform: scale(1.035);
  filter: saturate(1.06) contrast(1.03);
}

.media-frame figcaption {
  padding: 12px 14px;
  color: var(--paper);
  font-size: 14px;
}

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

.info-card,
.tips-list article,
.feature-list article,
.timeline article,
.faq-list details {
  border: 1px solid rgba(74, 46, 43, 0.16);
  background: rgba(255, 248, 234, 0.76);
  box-shadow: 0 10px 26px rgba(74, 46, 43, 0.08);
  transition: transform 420ms ease, box-shadow 420ms ease, border-color 420ms ease, background-color 420ms ease;
}

.info-card:hover,
.tips-list article:hover,
.feature-list article:hover,
.timeline article:hover,
.faq-list details:hover {
  transform: translateY(-5px);
  border-color: rgba(210, 105, 30, 0.42);
  background: rgba(255, 248, 234, 0.94);
  box-shadow: 0 18px 40px rgba(74, 46, 43, 0.16);
}

.info-card {
  min-height: 244px;
  padding: 22px;
  border-radius: 8px;
}

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 32px;
  margin-bottom: 20px;
  color: var(--paper);
  background: var(--rust);
  border-radius: 4px;
  font-weight: 900;
}

.info-card p,
.tips-list p,
.feature-list p,
.timeline p,
.faq-list p {
  margin: 0;
  color: rgba(43, 27, 25, 0.76);
}

.route-section {
  padding-top: 92px;
}

.route-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

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

.small-frame img {
  min-height: 240px;
}

.route-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.route-steps li {
  min-height: 176px;
  padding: 20px;
  color: rgba(43, 27, 25, 0.78);
  background: #f0dfc4;
  border-left: 4px solid var(--rust);
  transition: transform 420ms ease, box-shadow 420ms ease, background-color 420ms ease;
}

.route-steps li:hover {
  transform: translateY(-4px);
  background: #f7e8cf;
  box-shadow: 0 16px 34px rgba(74, 46, 43, 0.14);
}

.route-steps strong {
  color: var(--coffee);
}

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

.tips-list article {
  min-height: 184px;
  padding: 20px;
  border-radius: 8px;
}

.strategy-band {
  margin-top: 28px;
  padding: 28px;
  color: var(--paper);
  background: var(--coffee);
  border-left: 6px solid var(--pink);
  transition: transform 420ms ease, box-shadow 420ms ease, border-color 420ms ease;
}

.strategy-band:hover {
  transform: translateY(-4px);
  border-left-color: #ffd0d7;
  box-shadow: 0 20px 44px rgba(43, 27, 25, 0.24);
}

.strategy-band h3 {
  color: var(--pink);
}

.strategy-band p {
  margin: 0;
  color: rgba(255, 248, 234, 0.88);
}

.features-section {
  padding-bottom: 96px;
}

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

.feature-list article {
  min-height: 190px;
  padding: 20px;
  border-radius: 8px;
}

.gallery {
  border-top: 2px solid rgba(74, 46, 43, 0.16);
  padding-top: 24px;
}

.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.gallery-header h3 {
  margin: 0;
}

.gallery-track {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.95fr);
  gap: 18px;
  align-items: start;
}

.gallery-main {
  margin: 0;
  background: var(--coffee);
  border: 1px solid rgba(74, 46, 43, 0.18);
  overflow: hidden;
  box-shadow: 0 20px 44px var(--shadow);
  transition: transform 420ms ease, box-shadow 420ms ease, border-color 420ms ease;
}

.gallery-main:hover {
  transform: translateY(-5px);
  border-color: rgba(210, 105, 30, 0.46);
  box-shadow: 0 26px 56px rgba(43, 27, 25, 0.34);
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 620ms ease, filter 420ms ease;
}

.gallery-main:hover img {
  transform: scale(1.035);
  filter: saturate(1.06) contrast(1.03);
}

.gallery-main figcaption {
  padding: 12px 14px;
  color: var(--paper);
  font-weight: 800;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}

.gallery-thumb {
  display: flex;
  flex-direction: column;
  padding: 0;
  appearance: none;
  font: inherit;
  color: var(--paper);
  background: var(--coffee);
  border: 1px solid rgba(74, 46, 43, 0.18);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 10px 26px rgba(74, 46, 43, 0.08);
  transition: transform 420ms ease, box-shadow 420ms ease, border-color 420ms ease, background-color 420ms ease;
}

.gallery-thumb:hover,
.gallery-thumb:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 182, 193, 0.5);
  box-shadow: 0 18px 38px rgba(74, 46, 43, 0.22);
}

.gallery-thumb.is-active {
  border-color: var(--pink);
  box-shadow: 0 18px 38px rgba(255, 182, 193, 0.18);
  transform: translateY(-3px);
}

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 620ms ease, filter 420ms ease;
}

.gallery-thumb:hover img,
.gallery-thumb:focus-visible img {
  transform: scale(1.05);
  filter: saturate(1.08) contrast(1.04);
}

.gallery-thumb span {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 8px 10px;
  font-weight: 800;
  font-size: 13px;
}

.gallery-thumb span svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.gallery-thumb span strong {
  font: inherit;
  font-weight: inherit;
}

.gallery-thumb:focus-visible {
  outline: 3px solid rgba(255, 182, 193, 0.9);
  outline-offset: 3px;
}

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

.timeline article {
  min-height: 220px;
  padding: 20px;
  border-radius: 8px;
}

.timeline time {
  display: block;
  margin-bottom: 12px;
  color: var(--rust);
  font-size: 13px;
  font-weight: 900;
}

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

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

.faq-list details {
  border-radius: 8px;
  overflow: hidden;
}

.faq-list summary {
  min-height: 70px;
  display: flex;
  align-items: center;
  padding: 18px 20px;
  color: var(--coffee);
  font-weight: 900;
  cursor: pointer;
  transition: background-color 320ms ease, color 320ms ease;
}

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

.faq-list summary::marker {
  color: var(--rust);
}

.faq-list details[open] summary {
  background: #f0dfc4;
}

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

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 48px;
  padding: 34px;
  color: var(--paper);
  background: var(--coffee);
  border-top: 4px solid var(--pink);
  transition: transform 420ms ease, box-shadow 420ms ease;
}

.final-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(43, 27, 25, 0.24);
}

.final-cta h2 {
  color: var(--paper);
}

.final-cta p:not(.section-kicker) {
  max-width: 760px;
  margin: 10px 0 0;
  color: rgba(255, 248, 234, 0.82);
}

.friend-links {
  width: 100%;
  margin: 0;
  padding: 50px 0 58px;
  color: var(--paper);
  background: linear-gradient(135deg, rgba(43, 27, 25, 0.98), rgba(74, 46, 43, 0.94) 52%, rgba(210, 105, 30, 0.82) 142%);
  border-top: 1px solid rgba(255, 182, 193, 0.18);
  border-bottom: 1px solid rgba(255, 182, 193, 0.18);
}

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

.friend-links h2 {
  margin: 0;
  color: var(--paper);
  text-align: center;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.18;
}

.friend-links .section-kicker {
  text-align: center;
}

.friend-links-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 220px));
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.friend-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 10px 14px;
  color: var(--paper);
  background: rgba(255, 248, 234, 0.08);
  border: 1px solid rgba(255, 248, 234, 0.18);
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
  transition: transform 420ms ease, box-shadow 420ms ease, border-color 420ms ease, background-color 420ms ease;
}

.friend-link:hover {
  transform: translateY(-4px);
  background: rgba(255, 248, 234, 0.14);
  border-color: rgba(255, 182, 193, 0.42);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.friend-bullet {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 3px rgba(255, 248, 234, 0.12);
}

.friend-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.friend-meta strong {
  color: var(--paper);
  font-size: 13px;
  line-height: 1.35;
}

.friend-meta small {
  margin-top: 4px;
  color: rgba(255, 248, 234, 0.76);
  font-size: 13px;
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px max(16px, calc((100% - var(--max)) / 2));
  color: var(--paper);
  background: var(--coffee-deep);
  border-top: 1px solid rgba(255, 182, 193, 0.24);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pink);
  font-weight: 900;
  border-radius: 999px;
}

.site-footer a svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

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

  .nav-menu {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 18px;
    background: rgba(74, 46, 43, 0.98);
    border-bottom: 1px solid rgba(255, 182, 193, 0.28);
  }

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

  .nav-menu a,
  .nav-menu .nav-cta {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }

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

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

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

  .gallery-track {
    grid-template-columns: 1fr;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .brand span {
    max-width: 12em;
    white-space: normal;
    line-height: 1.25;
  }

  .hero {
    min-height: 88vh;
  }

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

  .hero-copy {
    font-size: 16px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .section,
  .intro-section > *,
  .guide-section > *,
  .updates-section > * {
    width: calc(100% - 28px);
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .content-grid,
  .route-media,
  .route-steps,
  .tips-list,
  .feature-list,
  .timeline,
  .faq-list,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .info-card,
  .tips-list article,
  .feature-list article,
  .timeline article,
  .route-steps li {
    min-height: auto;
  }

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

  .gallery-track {
    grid-template-columns: 1fr;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .gallery-thumb span {
    padding: 7px 8px;
    font-size: 12px;
  }

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

  .final-cta {
    width: calc(100% - 28px);
    padding: 24px;
  }

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

  .friend-links {
    padding: 46px 0 54px;
  }

  .friend-links-grid {
    grid-template-columns: 1fr;
  }

  .friend-link {
    min-height: 62px;
    padding: 10px 14px;
  }
}

@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;
  }
}
