:root {
  --bg: #f3eee6;
  --bg-2: #ede4d7;
  --surface: #fffaf3;
  --surface-2: #f7f1e7;
  --text: #4f3327;
  --muted: #765e4f;
  --border: rgba(79, 51, 39, 0.16);
  --shadow: 0 20px 50px rgba(79, 51, 39, 0.12);
  --rose: #a45a5c;
  --rose-dark: #773334;
  --maple: #8a3d39;
  --gold: #c08a43;
  --gold-dark: #a66b24;
  --sage: #78846e;
  --shell: 1180px;
  --radius: 6px;
  --line: 1.7;
  --head: 1.2;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, #f7f2ea 0%, #f1e8db 100%);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  line-height: var(--line);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(79, 51, 39, 0.018),
      rgba(79, 51, 39, 0.018) 1px,
      transparent 1px,
      transparent 34px
    );
  opacity: 0.75;
}

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

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

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

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

button,
summary {
  font: inherit;
}

.shell {
  width: min(calc(100% - 32px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(12px);
  background: rgba(247, 242, 234, 0.88);
  border-bottom: 1px solid rgba(79, 51, 39, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border: 1px solid rgba(79, 51, 39, 0.14);
  background: #fff;
  box-shadow: 0 8px 18px rgba(79, 51, 39, 0.08);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-text strong {
  font-size: 1.02rem;
  line-height: 1.2;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.86rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-wrap: wrap;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  color: var(--muted);
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--rose-dark);
  border-color: rgba(192, 138, 67, 0.78);
  box-shadow: inset 0 0 0 1px rgba(164, 90, 92, 0.26), 0 0 0 3px rgba(192, 138, 67, 0.1);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 8px 18px rgba(79, 51, 39, 0.06);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  display: block;
  transform: translate(-50%, -50%);
  transition: transform 0.22s ease, opacity 0.18s ease;
}

.menu-toggle span:nth-child(1) {
  transform: translate(-50%, -50%) translateY(-6px);
}

.menu-toggle span:nth-child(3) {
  transform: translate(-50%, -50%) translateY(6px);
}

.site-header.is-open .menu-toggle span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.site-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn .icon {
  width: 1.08em;
  height: 1.08em;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 248, 239, 0.26) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.45s ease;
}

.btn:hover::after,
.btn:focus-visible::after {
  transform: translateX(120%);
}

.btn span,
.btn .icon {
  position: relative;
  z-index: 1;
}

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

.btn-primary {
  color: #fffaf3;
  background: linear-gradient(180deg, var(--rose) 0%, var(--maple) 100%);
  box-shadow: 0 12px 24px rgba(122, 51, 52, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(180deg, #b56668 0%, #8a3838 100%);
}

.btn-secondary {
  color: var(--rose-dark);
  background: rgba(255, 250, 243, 0.86);
  border-color: rgba(122, 51, 52, 0.16);
}

.hero {
  position: relative;
  min-height: 84svh;
  display: grid;
  align-items: end;
  overflow: clip;
  border-bottom: 1px solid rgba(79, 51, 39, 0.12);
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(19, 12, 8, 0.08) 0%, rgba(19, 12, 8, 0.54) 100%),
    linear-gradient(90deg, rgba(63, 36, 25, 0.28) 0%, rgba(63, 36, 25, 0.1) 52%, rgba(63, 36, 25, 0.24) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 68px 0 62px;
  max-width: 760px;
  color: #fff8ef;
}

.hero-kicker {
  margin: 0 0 14px;
  color: #f5ddba;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.15rem, 5vw, 3.9rem);
  line-height: 1.02;
}

.hero-lead {
  margin: 18px 0 0;
  max-width: 62ch;
  font-size: 1.03rem;
  color: rgba(255, 248, 239, 0.92);
}

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

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 248, 239, 0.26);
  background: rgba(31, 20, 15, 0.24);
  color: #fff8ef;
  font-size: 0.92rem;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.hero-chips span:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 221, 186, 0.5);
  background: rgba(31, 20, 15, 0.34);
}

.band {
  padding: 74px 0;
  border-bottom: 1px solid rgba(79, 51, 39, 0.08);
  background: rgba(255, 250, 243, 0.26);
}

.band-alt {
  background: rgba(237, 228, 215, 0.5);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: 36px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(0, 0.97fr) minmax(0, 1.03fr);
}

.text-section {
  max-width: 920px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--rose-dark);
  font-size: 0.94rem;
  font-weight: 700;
}

.section-copy h2 {
  position: relative;
  margin: 0;
  padding-bottom: 12px;
  font-size: clamp(1.42rem, 2.35vw, 2rem);
  line-height: 1.12;
}

.section-copy h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rose), var(--gold));
}

.section-copy h3 {
  margin: 22px 0 8px;
  font-size: 1.06rem;
  color: var(--maple);
}

.section-copy p {
  margin: 0;
  color: var(--muted);
}

.section-copy p + p {
  margin-top: 14px;
}

.media-frame {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(79, 51, 39, 0.14);
  background: linear-gradient(180deg, rgba(255, 250, 243, 0.88), rgba(244, 235, 223, 0.88));
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.media-frame img {
  width: 100%;
  height: auto;
  transition: transform 0.42s ease, filter 0.24s ease;
}

.media-frame:hover,
.media-frame:focus-within {
  transform: translateY(-4px);
  border-color: rgba(192, 138, 67, 0.42);
  box-shadow: 0 28px 62px rgba(79, 51, 39, 0.18);
}

.media-frame:hover img,
.media-frame:focus-within img {
  transform: scale(1.025);
  filter: saturate(1.04) contrast(1.02);
}

.logo-frame {
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(164, 90, 92, 0.1), rgba(192, 138, 67, 0.1)),
    rgba(255, 250, 243, 0.88);
}

.logo-frame img {
  width: min(148px, 48%);
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 18px 38px rgba(79, 51, 39, 0.16);
}

.info-list,
.bullet-grid,
.step-list,
.timeline {
  margin: 20px 0 0;
  padding: 0;
}

.info-list,
.step-list,
.timeline {
  list-style: none;
}

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

.info-list li,
.bullet-grid li,
.step-list li,
.timeline li {
  padding: 13px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 250, 243, 0.82);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.info-list li:hover,
.bullet-grid li:hover,
.step-list li:hover,
.timeline li:hover {
  transform: translateY(-2px);
  border-color: rgba(192, 138, 67, 0.38);
  background: rgba(255, 250, 243, 0.96);
  box-shadow: 0 12px 24px rgba(79, 51, 39, 0.08);
}

.info-list li {
  color: var(--text);
}

.bullet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.bullet-grid li {
  position: relative;
  padding-left: 34px;
  color: var(--text);
}

.bullet-grid li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--rose) 100%);
}

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

.step-list li,
.timeline li {
  color: var(--text);
}

.timeline {
  display: grid;
  gap: 10px;
}

.timeline strong {
  color: var(--rose-dark);
}

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

.feature-grid article {
  padding: 16px 15px 15px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 250, 243, 0.84);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.feature-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(192, 138, 67, 0.42);
  background: rgba(255, 250, 243, 0.98);
  box-shadow: 0 14px 28px rgba(79, 51, 39, 0.09);
}

.feature-grid h3 {
  margin-top: 0;
  color: var(--rose-dark);
  font-size: 1rem;
}

.feature-grid p {
  margin-top: 8px;
  color: var(--muted);
}

.inline-shot {
  margin: 18px 0 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 250, 243, 0.84);
  box-shadow: 0 12px 28px rgba(79, 51, 39, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.inline-shot img {
  width: 100%;
  height: auto;
  transition: transform 0.42s ease, filter 0.24s ease;
}

.inline-shot:hover {
  transform: translateY(-3px);
  border-color: rgba(192, 138, 67, 0.4);
  box-shadow: 0 18px 36px rgba(79, 51, 39, 0.12);
}

.inline-shot:hover img {
  transform: scale(1.02);
  filter: saturate(1.04) contrast(1.02);
}

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

.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 250, 243, 0.84);
  box-shadow: 0 10px 24px rgba(79, 51, 39, 0.05);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease, background-color 0.22s ease;
}

.faq-list details:hover,
.faq-list details[open] {
  border-color: rgba(192, 138, 67, 0.4);
  background: rgba(255, 250, 243, 0.96);
  box-shadow: 0 14px 28px rgba(79, 51, 39, 0.08);
}

.faq-list details:hover {
  transform: translateY(-2px);
}

.faq-list summary {
  position: relative;
  list-style: none;
  padding: 16px 48px 16px 16px;
  cursor: pointer;
  color: var(--text);
  font-weight: 700;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--rose-dark);
  font-size: 1.3rem;
  line-height: 1;
}

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

.faq-list details div {
  padding: 0 16px 16px;
}

.faq-list p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  padding: 0 0 18px;
  background: linear-gradient(180deg, rgba(239, 228, 214, 0.98) 0%, rgba(245, 238, 229, 1) 100%);
  border-top: 1px solid rgba(79, 51, 39, 0.08);
}

.friend-links {
  padding: 36px 0 34px;
  margin-bottom: 34px;
  text-align: center;
  background: linear-gradient(135deg, var(--rose) 0%, var(--maple) 100%);
  color: #fff8ef;
}

.friend-links h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.2;
}

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

.friend-link-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 248, 239, 0.42);
  background: rgba(255, 248, 239, 0.88);
  color: var(--text);
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(79, 51, 39, 0.14);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.friend-link-list a:hover,
.friend-link-list a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 248, 239, 0.78);
  background: #fff8ef;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border: 1px solid rgba(79, 51, 39, 0.14);
  background: #fff;
}

.footer-brand strong {
  display: block;
}

.footer-brand p,
.footer-copy p,
.copyright {
  margin: 0;
  color: var(--muted);
}

.footer-copy {
  font-size: 0.95rem;
}

.copyright {
  padding: 14px 16px 0;
  text-align: center;
  font-size: 0.9rem;
}

.floating-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 248, 239, 0.36);
  color: #fffaf3;
  background: linear-gradient(180deg, var(--rose) 0%, var(--maple) 100%);
  box-shadow: 0 16px 34px rgba(79, 51, 39, 0.26);
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.floating-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 248, 239, 0.28) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.5s ease;
}

.floating-cta:hover,
.floating-cta:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 248, 239, 0.68);
  box-shadow: 0 22px 42px rgba(79, 51, 39, 0.32);
}

.floating-cta:hover::after,
.floating-cta:focus-visible::after {
  transform: translateX(120%);
}

.floating-cta .icon,
.floating-cta span {
  position: relative;
  z-index: 1;
}

.floating-cta .icon {
  width: 1.08em;
  height: 1.08em;
}

.reveal-item {
  opacity: 0;
  translate: 0 16px;
  transition: opacity 0.5s ease, translate 0.5s ease;
}

.reveal-item.is-visible {
  opacity: 1;
  translate: 0 0;
}

@media (max-width: 1080px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 960px) {
  .header-inner {
    gap: 12px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    width: 100%;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 8px 0 0;
  }

  body.js .site-nav {
    display: none;
  }

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

  .site-nav a {
    width: 100%;
    justify-content: flex-start;
    background: rgba(255, 250, 243, 0.82);
    border: 1px solid rgba(79, 51, 39, 0.12);
  }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .site-nav a.is-active {
    color: var(--rose-dark);
    border-color: rgba(192, 138, 67, 0.78);
    background: rgba(255, 250, 243, 0.82);
    box-shadow: inset 0 0 0 1px rgba(164, 90, 92, 0.24), 0 0 0 3px rgba(192, 138, 67, 0.1);
  }

  .header-cta {
    width: 100%;
    margin-left: 0;
  }

  body.js .header-cta {
    display: none;
  }

  body.js .site-header.is-open .header-cta {
    display: inline-flex;
  }

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

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .info-list,
  .bullet-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 58px;
    padding-bottom: 54px;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 24px), var(--shell));
  }

  .hero {
    min-height: 80svh;
  }

  .band {
    padding: 58px 0;
  }

  .hero h1 {
    font-size: clamp(1.95rem, 10vw, 2.75rem);
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .btn {
    width: auto;
    min-height: 42px;
    padding-inline: 15px;
  }

  .faq-list summary {
    padding-right: 44px;
  }

  .floating-cta {
    left: 16px;
    right: 16px;
    bottom: 14px;
    width: auto;
    min-height: 46px;
  }
}

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

  .reveal-item {
    opacity: 1;
    translate: 0 0;
  }

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