:root {
  --ink: #25242a;
  --muted: #68666d;
  --paper: #fffaf6;
  --white: #ffffff;
  --pink: #f45d73;
  --pink-dark: #c93450;
  --yellow: #ffc857;
  --mint: #1f9d8a;
  --line: #e9e4e2;
  --shadow: 0 16px 42px rgba(37, 36, 42, 0.12);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 20px rgba(37, 36, 42, 0.06);
}

.nav-wrap,
.section-inner,
.footer-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
  font-size: 20px;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
}

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

.site-nav a:not(.button) {
  padding: 8px 13px;
  color: #4f4d53;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a[aria-current="page"],
.site-nav a:not(.button):hover {
  color: var(--pink-dark);
}

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

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 2px solid var(--pink);
  border-radius: 5px;
  background: var(--pink);
  color: var(--white);
  font-weight: 800;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.button-secondary {
  border-color: var(--ink);
  background: var(--white);
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--pink-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: min(620px, calc(100vh - 74px));
  overflow: hidden;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  display: none;
}

.hero::after {
  position: absolute;
  right: 36%;
  bottom: 54px;
  width: 92px;
  height: 92px;
  background: var(--mint);
  border-radius: 50%;
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--max));
  min-height: inherit;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(610px, 60%);
  padding: 64px 0 90px;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 + p {
  max-width: 620px;
  margin: 24px 0 0;
  color: #4d4a50;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 700;
}

.hero-meta li::before {
  color: var(--mint);
  content: "●";
  margin-right: 8px;
}

.hero-shot {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 10%;
  bottom: auto;
  width: min(25vw, 285px);
  max-width: 400px;
  height: auto;
  border: 3px solid var(--ink);
  box-shadow: 16px 18px 0 rgba(37, 36, 42, 0.16);
  transform: translateY(-50%) rotate(2deg);
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 25px 24px;
  border-right: 1px solid #48464d;
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  display: block;
  color: var(--yellow);
  font-size: 21px;
}

.trust-item span {
  color: #d7d4d8;
  font-size: 13px;
}

.content-section {
  padding: 86px 0;
}

.content-section.tint {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.section-heading h2,
.article-section h2,
.cta-band h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

.section-kicker {
  max-width: 380px;
  color: var(--muted);
  font-size: 14px;
}

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

.feature-card,
.path-card,
.quote-card,
.info-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.feature-card {
  min-height: 250px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 70px;
  height: 70px;
  border: 12px solid var(--yellow);
  border-radius: 50%;
  content: "";
}

.feature-card:nth-child(2)::after,
.feature-card:nth-child(5)::after {
  border-color: var(--mint);
}

.feature-no {
  display: inline-block;
  padding: 3px 9px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.feature-card h3,
.path-card h3,
.info-card h3 {
  margin: 20px 0 10px;
  font-size: 21px;
  line-height: 1.3;
}

.feature-card p,
.path-card p,
.info-card p {
  margin: 0;
  color: var(--muted);
}

.preview-layout {
  display: grid;
  grid-template-columns: minmax(280px, 400px) 1fr;
  align-items: center;
  gap: clamp(40px, 8vw, 110px);
}

.preview-frame {
  position: relative;
  width: min(100%, 380px);
  margin: 0;
}

.preview-frame::before {
  position: absolute;
  inset: 22px -20px -22px 20px;
  z-index: -1;
  border: 3px solid var(--ink);
  background: var(--yellow);
  content: "";
}

.preview-frame img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border: 3px solid var(--ink);
}

.preview-copy h2 {
  margin: 0 0 28px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
}

.tick-list,
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tick-list li,
.check-list li {
  position: relative;
  padding: 14px 0 14px 34px;
  border-bottom: 1px solid var(--line);
}

.tick-list li::before,
.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--mint);
  font-weight: 900;
  content: "✓";
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.path-card {
  display: grid;
  min-height: 250px;
  padding: 30px;
  border-top: 5px solid var(--pink);
}

.path-card:nth-child(2) {
  border-top-color: var(--mint);
}

.path-card .text-link {
  align-self: end;
  margin-top: 26px;
}

.text-link {
  color: var(--pink-dark);
  font-weight: 900;
}

.text-link::after {
  content: " →";
}

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

.quote-card {
  padding: 26px;
}

.quote-card blockquote {
  margin: 0;
  font-size: 16px;
}

.quote-card footer {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

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

details {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

summary {
  padding: 19px 40px 19px 0;
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 0 0 20px;
  color: var(--muted);
}

.cta-band {
  padding: 64px 0;
  background: var(--yellow);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-band .button {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--pink);
}

.page-hero {
  padding: 82px 0 68px;
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
}

.page-hero .breadcrumb {
  margin: 0 0 18px;
  color: var(--pink-dark);
  font-size: 14px;
  font-weight: 800;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(38px, 6vw, 68px);
}

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

.page-hero .hero-actions {
  margin-top: 28px;
}

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

.article-body {
  min-width: 0;
}

.article-section {
  padding: 0 0 62px;
  scroll-margin-top: 96px;
}

.article-section + .article-section {
  padding-top: 6px;
}

.article-section h2 {
  margin-bottom: 24px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--ink);
  font-size: 32px;
}

.article-section h3 {
  margin: 28px 0 8px;
  font-size: 20px;
}

.article-section p {
  margin: 0 0 16px;
  color: #4d4a50;
}

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

.step-list li {
  position: relative;
  padding: 24px 24px 24px 76px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--pink);
  background: var(--white);
  counter-increment: steps;
}

.step-list li::before {
  position: absolute;
  top: 24px;
  left: 22px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
  content: counter(steps);
  font-weight: 900;
}

.step-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.note-box {
  margin: 22px 0;
  padding: 20px 22px;
  border: 1px solid #b9ded7;
  border-left: 5px solid var(--mint);
  background: #f2fbf9;
}

.sidebar {
  position: sticky;
  top: 98px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--paper);
}

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

.sidebar a:not(.button) {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.sidebar .button {
  width: 100%;
  margin-top: 20px;
}

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

.info-card {
  padding: 24px;
}

.info-card h3 {
  margin-top: 0;
}

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

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

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-links a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--pink-dark);
  font-weight: 800;
}

.site-footer {
  padding: 48px 0 26px;
  background: var(--ink);
  color: #e5e2e5;
}

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

.footer-brand {
  margin-bottom: 14px;
  color: var(--white);
}

.footer-grid h2 {
  margin: 0 0 14px;
  font-size: 15px;
  color: var(--yellow);
}

.footer-grid p,
.footer-grid a {
  color: #c7c3c8;
  font-size: 13px;
}

.footer-grid a {
  display: block;
  padding: 4px 0;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid #45434a;
  color: #aaa6ac;
  font-size: 12px;
}

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

  .site-nav {
    position: fixed;
    inset: 74px 0 auto;
    display: none;
    padding: 18px 20px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

  .site-nav a:not(.button) {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 640px;
  }

  .hero::before {
    top: auto;
    right: -5%;
    bottom: -60px;
    width: 52%;
    height: 56%;
  }

  .hero-inner {
    align-items: flex-start;
  }

  .hero-copy {
    width: 64%;
    padding-top: 70px;
  }

  .hero-shot {
    top: 50%;
    right: 5%;
    bottom: auto;
    width: 180px;
  }

  .trust-grid,
  .feature-grid,
  .quote-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid #48464d;
  }

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

  .sidebar {
    position: static;
    order: -1;
  }
}

@media (max-width: 680px) {
  .nav-wrap,
  .section-inner,
  .footer-inner,
  .hero-inner {
    width: min(calc(100% - 28px), var(--max));
  }

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

  .site-nav {
    inset: 66px 0 auto;
  }

  .brand {
    font-size: 17px;
  }

  .hero {
    min-height: 690px;
  }

  .hero-copy {
    width: 100%;
    padding: 42px 0 228px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero h1 + p,
  .page-hero h1 + p {
    font-size: 16px;
  }

  .hero::before {
    right: -16px;
    bottom: -68px;
    width: 78%;
    height: 48%;
  }

  .hero::after {
    right: auto;
    bottom: 100px;
    left: 12px;
    width: 64px;
    height: 64px;
  }

  .hero-shot {
    top: auto;
    right: auto;
    bottom: 18px;
    left: 50%;
    width: 146px;
    transform: translateX(-50%) rotate(2deg);
  }

  .trust-grid,
  .feature-grid,
  .path-grid,
  .quote-grid,
  .mini-faq,
  .info-grid,
  .footer-grid,
  .preview-layout {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid #48464d;
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .content-section {
    padding: 62px 0;
  }

  .section-heading {
    display: block;
  }

  .section-kicker {
    margin-top: 12px;
  }

  .preview-layout {
    gap: 52px;
  }

  .preview-frame {
    width: calc(100% - 20px);
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero {
    padding: 58px 0 48px;
  }

  .step-list li {
    padding: 68px 20px 22px;
  }

  .step-list li::before {
    top: 18px;
    left: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
