/* Root homepage overrides: the Life Coach visual language, adapted for Yangming Technology. */
body { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif; }
.brand { letter-spacing: -.02em; }
.hero h1, .featured h2, .section-heading h2, .about h2, .contact h2 { word-break: keep-all; }
.hero-lead { max-width: 660px; }
.hero-cn { font-weight: 650; color: #5f6570; }
.featured-lead, .featured h2, .feature-points li { word-break: keep-all; }
.featured-lead { max-width: 650px; }
.stage-ratepilot { width: 92px; height: 92px; left: 28%; top: 13%; padding: 7px; animation-delay: -1.5s; }
.stage-stamp { width: 96px; height: 96px; right: 29%; bottom: 12%; padding: 7px; animation-delay: -3.8s; }
.stage-countdown { width: 90px; height: 90px; right: 28%; top: 12%; padding: 7px; animation-delay: -4.9s; }
.stage-ratepilot img, .stage-stamp img, .stage-countdown img { object-fit: cover; }

.card-ratepilot { grid-column: span 6; color: #eff7ff; background: radial-gradient(circle at 75% 15%, rgba(81, 167, 255, .36), transparent 35%), linear-gradient(145deg, #101d38, #19365a); }
.card-ratepilot .platform-pill, .card-ratepilot p { color: #b8d1eb; }
.card-ratepilot .card-number { color: rgba(255, 255, 255, .43); }
.card-ratepilot .card-link { color: #91d9ff; }
.card-stamp { grid-column: span 6; color: #fff4ef; background: radial-gradient(circle at 73% 18%, rgba(255, 177, 107, .34), transparent 35%), linear-gradient(145deg, #382024, #5b2931); }
.card-stamp .platform-pill, .card-stamp p { color: #e4bec0; }
.card-stamp .card-number { color: rgba(255, 255, 255, .43); }
.card-stamp .card-link { color: #ffc18b; }
.card-countdown { grid-column: span 12; min-height: 390px; background: radial-gradient(circle at 78% 16%, rgba(255, 120, 126, .24), transparent 34%), linear-gradient(145deg, #fffaf8, #f8e9e8); }
.card-countdown .platform-pill, .card-countdown p { color: #8b6265; }
.card-countdown .card-link { color: #c8474f; }
.card-countdown .card-icon { box-shadow: 0 20px 45px rgba(151, 62, 72, .14); }
.new-app-icon { position: absolute; top: 34px; right: 38px; width: 150px; height: 150px; overflow: hidden; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .18); border-radius: 42px; box-shadow: 0 24px 60px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .24); transform: rotate(6deg); }
.new-app-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.card-ratepilot .card-copy, .card-stamp .card-copy { max-width: 78%; }
.card-ratepilot .card-copy, .card-stamp .card-copy { margin-top: auto; }
.card-ratepilot .card-link, .card-stamp .card-link { margin-top: 24px; }
.about-copy strong { font-weight: 760; }
.contact > p:not(.overline) { max-width: 800px; }
.contact-copy-wrap { display: inline-flex; align-items: center; gap: 10px; }
.contact-copy { padding: 0; border: 0; background: transparent; font: inherit; cursor: pointer; }
.contact-copy:hover { color: #fff; }
.contact-copy-status { color: #8ee6c1; font-size: 12px; }
.wechat-card { width: min(100%, 430px); margin: 36px 0 0; padding: 14px; display: flex; align-items: center; gap: 18px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 24px; background: rgba(255, 255, 255, .07); }
.wechat-card img { flex: 0 0 170px; width: 170px; height: 170px; object-fit: contain; border-radius: 16px; background: #fff; }
.wechat-card figcaption { display: grid; gap: 8px; }
.wechat-card strong { color: #fff; font-size: 17px; }
.wechat-card span { color: #9b9da4; font-size: 13px; line-height: 1.55; }

.services-section { width: min(1260px, calc(100% - 40px)); margin: 0 auto 160px; }
.services-intro { max-width: 840px; margin-bottom: 48px; }
.services-intro h2 { margin: 0 0 22px; font-size: clamp(54px, 6.5vw, 96px); line-height: .94; letter-spacing: -.07em; }
.services-intro h2 em { color: var(--muted); font-style: normal; }
.services-intro > p:last-child { max-width: 680px; margin: 0; color: var(--ink-2); font-size: 18px; line-height: 1.65; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-card { min-height: 590px; padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--ink); background: #fffdf8; }
.service-card-link { color: inherit; transition: transform .2s ease, box-shadow .2s ease; }
.service-card-link:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(29, 29, 31, .12); }
.service-card-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.service-card:nth-child(2) { background: #e0e8ff; }
.service-card:nth-child(3) { color: #fff; background: #11151c; }
.service-price { margin-bottom: 24px; color: var(--blue); font-size: 42px; font-weight: 850; letter-spacing: -.07em; }
.service-card:nth-child(3) .service-price { color: #ffca53; }
.service-card h3 { max-width: 360px; margin: 0 0 14px; font-size: clamp(28px, 3vw, 42px); line-height: .98; letter-spacing: -.06em; }
.service-tag { min-height: 42px; margin: 0 0 22px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.service-card:nth-child(3) .service-tag { color: #a7abb3; }
.service-card dl { margin: 0 0 22px; }
.service-card dl div { padding: 13px 0; border-top: 1px solid currentColor; }
.service-card dt { color: var(--muted); font-size: 12px; }
.service-card:nth-child(3) dt { color: #a7abb3; }
.service-card dd { margin: 5px 0 0; font-size: 14px; line-height: 1.55; }
.service-boundary { min-height: 70px; margin: auto 0 20px; font-size: 14px; line-height: 1.6; }
.service-buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 15px; color: #fff; background: var(--ink); font-size: 14px; font-weight: 800; }
.service-buy span { font-size: 18px; transition: transform .2s ease; }
.service-buy:hover span { transform: translateX(3px); }
.service-card:nth-child(3) .service-buy { color: var(--ink); background: #fff; }
.service-notice { margin: 16px 0 0; padding: 22px 25px; border-left: 5px solid #ffca53; color: #5e4b1d; background: #fff0d2; font-size: 14px; line-height: 1.7; }

@media (max-width: 1050px) {
  .stage-ratepilot { left: 24%; top: 13%; }
  .stage-stamp { right: 24%; bottom: 12%; }
  .stage-countdown { right: 27%; top: 12%; }
  .card-ratepilot, .card-stamp { grid-column: span 6; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; }
}

@media (max-width: 760px) {
  .stage-ratepilot { width: 62px; height: 62px; left: 25%; top: 14%; padding: 5px; }
  .stage-stamp { width: 64px; height: 64px; right: 24%; bottom: 14%; padding: 5px; }
  .stage-countdown { width: 60px; height: 60px; right: 26%; top: 12%; padding: 5px; }
  .new-app-icon { top: 28px; right: 28px; width: 116px; height: 116px; border-radius: 34px; }
  .card-ratepilot, .card-stamp { grid-column: auto; min-height: 470px; }
  .card-ratepilot .card-copy, .card-stamp .card-copy { max-width: 100%; }
  .card-countdown { grid-column: auto; min-height: 470px; }
  .wechat-card { align-items: flex-start; gap: 14px; }
  .wechat-card img { flex-basis: 132px; width: 132px; height: 132px; }
  .services-section { width: calc(100% - 28px); margin-bottom: 110px; }
  .services-intro h2 { font-size: clamp(44px, 14vw, 66px); }
  .services-intro > p:last-child { font-size: 17px; }
  .service-card { padding: 28px; }
  .service-price { margin-bottom: 18px; font-size: 38px; }
}
