:root {
  --coral: #e94f6d;
  --coral-dark: #c93857;
  --blush: #fff0f3;
  --peach: #ffb36b;
  --green: #173c36;
  --green-soft: #dcebe7;
  --ink: #18211f;
  --muted: #66706d;
  --line: #e7e9e8;
  --paper: #ffffff;
  --wash: #f7f9f8;
  --shadow: 0 18px 48px rgba(23, 60, 54, 0.12);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 74px;
  border-bottom: 1px solid rgba(231, 233, 232, 0.9);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

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

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

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

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

.main-nav a:not(.button) {
  position: relative;
  color: #35413e;
  font-size: 15px;
  font-weight: 650;
}

.main-nav a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--coral);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: 180ms ease;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  border: 1px solid var(--coral);
  border-radius: 6px;
  background: var(--coral);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(233, 79, 109, 0.2);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  background: var(--coral-dark);
  box-shadow: 0 14px 30px rgba(201, 56, 87, 0.24);
  transform: translateY(-2px);
}

.button:focus-visible,
.menu-toggle:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(255, 179, 107, 0.65);
  outline-offset: 3px;
}

.button.secondary {
  border-color: var(--green);
  background: transparent;
  color: var(--green);
  box-shadow: none;
}

.button.secondary:hover {
  background: var(--green);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--green);
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  content: "";
  transition: 180ms ease;
}

.hero {
  position: relative;
  min-height: min(700px, calc(100svh - 112px));
  overflow: hidden;
  background: #fff;
}

.hero::before {
  position: absolute;
  inset: 0 0 0 44%;
  background: var(--blush);
  content: "";
}

.hero::after {
  position: absolute;
  top: 10%;
  right: 6%;
  width: 34%;
  height: 76%;
  border: 1px solid rgba(233, 79, 109, 0.2);
  content: "";
  transform: rotate(4deg);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  min-height: inherit;
  gap: 48px;
  padding: 54px 0;
}

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

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

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

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: 72px;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 640px;
  margin: 0 0 28px;
  color: #46524f;
  font-size: 18px;
}

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

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  list-style: none;
}

.hero-note li::before {
  margin-right: 8px;
  color: var(--green);
  content: "✓";
  font-weight: 900;
}

.phone-stage {
  position: relative;
  min-height: 540px;
}

.phone {
  position: absolute;
  width: min(292px, 56%);
  overflow: hidden;
  border: 8px solid var(--green);
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow);
}

.phone img {
  width: 100%;
  height: auto;
}

.phone.primary {
  right: 12%;
  bottom: 0;
  z-index: 2;
}

.phone.secondary-phone {
  top: 0;
  left: 4%;
  transform: rotate(-5deg) scale(0.88);
}

.section {
  padding: 88px 0;
}

.section.alt {
  background: var(--wash);
}

.section.dark {
  background: var(--green);
  color: #e9f2ef;
}

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

.section-heading h2 {
  max-width: 720px;
  margin: 0;
  font-size: 48px;
}

.section-heading .index {
  color: var(--coral);
  font-size: 14px;
  font-weight: 900;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature-item {
  min-height: 250px;
  padding: 30px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.feature-num {
  display: block;
  margin-bottom: 48px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
}

.feature-item h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.rhythm-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: start;
  gap: 80px;
}

.rhythm-intro {
  position: sticky;
  top: 118px;
}

.rhythm-intro h2 {
  margin-bottom: 22px;
  font-size: 52px;
}

.rhythm-intro p {
  color: #afc7c1;
}

.rhythm-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.rhythm-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.rhythm-step strong {
  color: var(--peach);
  font-size: 18px;
}

.rhythm-step h3 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 22px;
}

.rhythm-step p {
  margin: 0;
  color: #afc7c1;
}

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

.screen {
  margin: 0;
}

.screen img {
  width: 100%;
  max-width: 292px;
  height: auto;
  margin: 0 auto;
  border: 7px solid var(--green);
  border-radius: 26px;
  box-shadow: 0 16px 34px rgba(23, 60, 54, 0.14);
}

.screen figcaption {
  margin-top: 16px;
  text-align: center;
}

.screen figcaption strong {
  display: block;
  color: var(--green);
}

.screen figcaption span {
  color: var(--muted);
  font-size: 14px;
}

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

.path-card {
  position: relative;
  min-height: 300px;
  padding: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.path-card::after {
  position: absolute;
  right: -28px;
  bottom: -42px;
  color: var(--blush);
  content: attr(data-mark);
  font-size: 180px;
  font-weight: 900;
  line-height: 1;
}

.path-card > * {
  position: relative;
  z-index: 1;
}

.path-card h3 {
  margin: 38px 0 12px;
  font-size: 28px;
}

.path-card p {
  max-width: 500px;
  margin-bottom: 26px;
  color: var(--muted);
}

.text-link {
  color: var(--coral-dark);
  font-weight: 850;
}

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

.review-grid {
  display: grid;
  grid-template-columns: 0.75fr repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.review-score,
.quote {
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.review-score strong {
  display: block;
  color: var(--coral);
  font-size: 56px;
  line-height: 1;
}

.review-score span {
  color: var(--muted);
  font-size: 14px;
}

.quote {
  margin: 0;
}

.quote p {
  margin: 0 0 22px;
  color: #35413e;
}

.quote cite {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
}

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

details {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

summary {
  position: relative;
  padding: 20px 54px 20px 22px;
  color: var(--green);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  position: absolute;
  top: 18px;
  right: 22px;
  color: var(--coral);
  content: "+";
  font-size: 24px;
  line-height: 1;
}

details[open] summary::after {
  content: "−";
}

details p,
details ul {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.download-band {
  padding: 66px 0;
  background: var(--coral);
  color: #fff;
}

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

.download-band h2 {
  max-width: 700px;
  margin: 0;
  color: #fff;
  font-size: 46px;
}

.download-band .button {
  border-color: #fff;
  background: #fff;
  color: var(--coral-dark);
  box-shadow: none;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 74px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.page-hero::before {
  position: absolute;
  inset: 0 0 0 62%;
  background: var(--blush);
  content: "";
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 850px;
  font-size: 64px;
}

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

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

.article-nav {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 8px;
  padding-left: 18px;
  border-left: 2px solid var(--line);
}

.article-nav strong {
  margin-bottom: 8px;
  color: var(--green);
}

.article-nav a {
  color: var(--muted);
  font-size: 14px;
}

.article-nav a:hover {
  color: var(--coral-dark);
}

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

.article-body section {
  padding: 0 0 64px;
  scroll-margin-top: 108px;
}

.article-body h2 {
  margin-bottom: 24px;
  font-size: 40px;
}

.article-body h3 {
  margin: 30px 0 12px;
  font-size: 22px;
}

.article-body p {
  margin: 0 0 18px;
  color: #45514e;
}

.steps {
  display: grid;
  gap: 0;
  counter-reset: guide-step;
}

.step {
  position: relative;
  padding: 0 0 38px 76px;
  counter-increment: guide-step;
}

.step::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  content: counter(guide-step, decimal-leading-zero);
  font-weight: 900;
}

.step::after {
  position: absolute;
  top: 54px;
  bottom: 6px;
  left: 23px;
  width: 2px;
  background: var(--line);
  content: "";
}

.step:last-child::after {
  display: none;
}

.step h3 {
  margin-top: 0;
}

.tip {
  margin: 24px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--peach);
  background: #fff7ed;
  color: #5c4b37;
}

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

.check-list li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.check-list li::before {
  margin-right: 10px;
  color: var(--coral);
  content: "✓";
  font-weight: 900;
}

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

.detail-item {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-item h3 {
  margin-top: 0;
}

.detail-item p:last-child {
  margin-bottom: 0;
}

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

.related-links a {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--green);
  font-weight: 800;
}

.related-links a:hover {
  border-color: var(--coral);
  color: var(--coral-dark);
}

.site-footer {
  padding: 54px 0 28px;
  background: #112d29;
  color: #abc0bb;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 44px;
  padding-bottom: 34px;
}

.footer-brand .brand {
  margin-bottom: 16px;
  color: #fff;
}

.footer-brand p {
  max-width: 600px;
  margin: 0;
  font-size: 14px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 12px 24px;
}

.footer-nav a {
  color: #e9f2ef;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.footer-bottom p {
  margin: 0 0 6px;
}

@media (max-width: 980px) {
  h1 {
    font-size: 56px;
  }

  .section-heading h2,
  .download-band h2 {
    font-size: 40px;
  }

  .rhythm-intro h2 {
    font-size: 44px;
  }

  .page-hero h1 {
    font-size: 52px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 74px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    align-content: start;
    align-items: stretch;
    padding: 26px 20px;
    background: #fff;
  }

  .main-nav.is-open {
    display: grid;
    gap: 0;
  }

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

  .main-nav .button {
    margin-top: 20px;
  }

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

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

  .rhythm-grid,
  .article-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .rhythm-intro,
  .article-nav {
    position: static;
  }

  .article-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 20px;
  }

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

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

  .brand {
    font-size: 18px;
  }

  .hero {
    min-height: auto;
    background: #fff;
  }

  .hero::before {
    inset: 48% 0 0;
  }

  .hero::after {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 48px 0 34px;
  }

  h1 {
    font-size: 42px;
  }

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

  .hero-actions .button {
    flex: 1 1 150px;
  }

  .phone-stage {
    min-height: 450px;
  }

  .phone {
    width: min(230px, 60%);
  }

  .phone.primary {
    right: 5%;
  }

  .phone.secondary-phone {
    left: 2%;
  }

  .section {
    padding: 66px 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column-reverse;
    gap: 8px;
  }

  .feature-grid,
  .path-grid,
  .review-grid,
  .check-list,
  .feature-detail,
  .related-links {
    grid-template-columns: 1fr;
  }

  .feature-item {
    min-height: 210px;
  }

  .feature-num {
    margin-bottom: 30px;
  }

  .rhythm-step {
    grid-template-columns: 46px 1fr;
  }

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

  .screen img {
    border-width: 5px;
    border-radius: 20px;
  }

  .screen figcaption span {
    display: none;
  }

  .download-band .container,
  .footer-grid {
    align-items: stretch;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .download-band .container {
    display: flex;
  }

  .page-hero {
    padding: 64px 0 54px;
    background: #fff;
  }

  .page-hero::before {
    inset: 72% 0 0;
  }

  .page-hero h1 {
    font-size: 40px;
  }

  .article-nav strong {
    width: 100%;
  }

  .step {
    padding-left: 62px;
  }
}

@media (max-width: 400px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .screen img {
    max-width: 260px;
  }

  h1,
  .page-hero h1 {
    font-size: 36px;
  }
}

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

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