:root {
  --sakura: #ed6f91;
  --sakura-dark: #c94f73;
  --petal: #ffd6e2;
  --plum: #73556d;
  --ink: #302b31;
  --muted: #6f6870;
  --teal: #2f8f83;
  --teal-soft: #dff4ef;
  --paper: #fffafc;
  --white: #ffffff;
  --line: #eadfe4;
  --shadow: 0 18px 50px rgba(83, 48, 67, 0.12);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.75;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  display: block;
  height: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 8px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(115, 85, 109, 0.12);
  background: rgba(255, 250, 252, 0.94);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-size: 19px;
  font-weight: 800;
  color: var(--plum);
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a:not(.btn) {
  position: relative;
  padding-block: 8px;
}

.site-nav a:not(.btn)::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: var(--sakura);
  content: "";
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: auto;
  background: var(--ink);
  content: "";
}

.menu-toggle span::before {
  transform: translateY(-6px);
}

.menu-toggle span::after {
  transform: translateY(4px);
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--sakura-dark);
  box-shadow: 0 12px 26px rgba(201, 79, 115, 0.24);
}

.btn-primary:hover {
  background: #b94467;
}

.btn-secondary {
  color: var(--plum);
  border: 1px solid var(--plum);
  background: transparent;
}

.hero {
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 250, 252, 0.98) 0%, rgba(255, 250, 252, 0.92) 56%, rgba(223, 244, 239, 0.7) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: center;
  gap: clamp(44px, 7vw, 90px);
  padding-block: 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  background: var(--teal);
  content: "";
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 72px);
}

h2 {
  margin-bottom: 34px;
  font-size: clamp(28px, 3.5vw, 42px);
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
}

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

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  font-size: 21px;
}

.trust-strip span {
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  justify-self: center;
}

.hero-visual::before {
  position: absolute;
  inset: 8% -12% -6% 16%;
  z-index: -1;
  border: 1px solid rgba(47, 143, 131, 0.34);
  background: var(--teal-soft);
  content: "";
  transform: rotate(4deg);
}

.hero-visual img {
  width: min(100%, 340px);
  max-width: 400px;
  border: 10px solid var(--white);
  box-shadow: var(--shadow);
}

.section {
  padding-block: 88px;
}

.section-alt {
  border-block: 1px solid var(--line);
  background: var(--white);
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--sakura-dark);
  font-weight: 800;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.feature-item {
  min-height: 230px;
  padding: 32px;
  background: var(--paper);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal);
  font-size: 20px;
  font-weight: 900;
}

.feature-item p,
.path-item p,
.review blockquote,
.content-block p,
.step-body p,
.feature-row p {
  margin: 0;
  color: var(--muted);
}

.preview-shell {
  position: relative;
}

.preview-track {
  display: grid;
  grid-auto-columns: minmax(240px, 300px);
  grid-auto-flow: column;
  gap: 22px;
  overflow-x: auto;
  padding: 2px 2px 20px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--sakura) var(--petal);
}

.preview-item {
  margin: 0;
  scroll-snap-align: start;
}

.preview-item img {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 8px solid var(--white);
  box-shadow: 0 12px 28px rgba(61, 44, 56, 0.14);
}

.preview-item figcaption {
  padding: 12px 4px 0;
  color: var(--muted);
  font-size: 14px;
}

.preview-controls {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-bottom: 18px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--plum);
  background: var(--white);
  font-size: 22px;
  cursor: pointer;
}

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

.path-item {
  padding-top: 26px;
  border-top: 3px solid var(--sakura);
}

.path-number {
  display: block;
  margin-bottom: 20px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.text-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--sakura-dark);
  font-weight: 800;
}

.text-link::after {
  margin-left: 8px;
  content: "\2192";
}

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

.review {
  margin: 0;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--white);
}

.review footer {
  margin-top: 18px;
  color: var(--plum);
  font-size: 14px;
  font-weight: 800;
}

.review-stars {
  color: #b86b18;
  letter-spacing: 2px;
}

.mini-faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mini-faq article {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

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

.page-hero {
  padding: 76px 0 68px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(100deg, var(--paper) 0%, #f2fbf8 100%);
}

.page-hero h1 {
  font-size: clamp(38px, 5vw, 62px);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
  gap: 64px;
}

.content-main {
  min-width: 0;
}

.side-nav {
  position: sticky;
  top: 100px;
  padding-left: 22px;
  border-left: 3px solid var(--petal);
}

.side-nav strong {
  display: block;
  margin-bottom: 12px;
}

.side-nav a {
  display: block;
  padding-block: 6px;
  color: var(--muted);
}

.side-nav a:hover {
  color: var(--sakura-dark);
}

.content-block {
  padding: 0 0 58px;
  scroll-margin-top: 100px;
}

.content-block + .content-block {
  padding-top: 58px;
  border-top: 1px solid var(--line);
}

.content-block h2 {
  font-size: clamp(27px, 3vw, 36px);
}

.content-copy {
  display: grid;
  gap: 16px;
}

.steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  counter-reset: guide-step;
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 22px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  counter-increment: guide-step;
}

.step::before {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--sakura-dark);
  content: counter(guide-step, decimal-leading-zero);
  font-weight: 900;
}

.step-body h3 {
  margin-bottom: 8px;
}

.notice {
  padding: 20px 22px;
  border-left: 4px solid var(--teal);
  color: var(--ink);
  background: var(--teal-soft);
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  color: var(--teal);
  content: "\2713";
  font-weight: 900;
}

.feature-list {
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.feature-row h3 {
  margin: 0;
  font-size: 18px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 22px 52px 22px 0;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 20px;
  right: 8px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--sakura-dark);
  content: "+";
}

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

.faq-answer {
  padding: 0 52px 24px 0;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

.download-band {
  padding: 56px 0;
  color: var(--white);
  background: var(--plum);
}

.download-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.download-band h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 30px;
}

.download-band p {
  margin: 0;
  color: #f4eaf0;
}

.download-band .btn-primary {
  color: var(--plum);
  background: var(--white);
  box-shadow: none;
}

.site-footer {
  padding: 48px 0 30px;
  color: #dcd1d8;
  background: #29252a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  color: var(--white);
}

.footer-brand img {
  width: 40px;
  height: 40px;
}

.site-footer h3 {
  color: var(--white);
  font-size: 16px;
}

.site-footer p {
  margin: 14px 0 0;
  font-size: 13px;
}

.footer-links {
  display: grid;
  gap: 7px;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--white);
}

.disclaimer {
  padding-top: 26px;
  border-top: 1px solid #454047;
  margin-top: 34px;
  font-size: 12px;
}

.copyright {
  margin-top: 12px;
  font-size: 12px;
}

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

  .site-nav {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    height: calc(100vh - 72px);
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    padding: 28px 20px;
    background: var(--paper);
  }

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

  .site-nav a:not(.btn) {
    padding: 12px 0;
  }

  .site-nav .btn {
    margin-top: 10px;
  }

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

  .hero-visual {
    justify-self: start;
  }

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

  .content-layout {
    grid-template-columns: 1fr;
  }

  .side-nav {
    display: none;
  }
}

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

  .nav-wrap {
    min-height: 64px;
  }

  .site-nav {
    top: 64px;
    height: calc(100vh - 64px);
  }

  .hero {
    min-height: 0;
  }

  .hero-grid {
    padding-block: 48px 58px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy > p:not(.eyebrow),
  .page-hero p:not(.eyebrow) {
    font-size: 16px;
  }

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

  .section {
    padding-block: 64px;
  }

  .feature-grid,
  .path-grid,
  .review-grid,
  .mini-faq,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .preview-track {
    grid-auto-columns: 80%;
  }

  .page-hero {
    padding: 54px 0 50px;
  }

  .step {
    grid-template-columns: 52px 1fr;
    gap: 14px;
  }

  .step::before {
    width: 44px;
    height: 44px;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .download-band .container {
    align-items: stretch;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
