:root {
  color-scheme: light;
  --ink: #21134d;
  --ink-soft: #321d61;
  --muted: #655d78;
  --pink: #c83869;
  --pink-soft: #f3dfe7;
  --purple: #7659e8;
  --line: rgba(33, 19, 77, .13);
  --paper: #fffdf9;
  --warm: #f8f5ef;
  --wash: #f1ecfa;
  --display: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-family: var(--body);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--warm); }
body.is-modal-open { overflow: hidden; }
button, a { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.eyebrow { margin: 0 0 14px; color: var(--pink); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }

.hero { min-height: 680px; padding: 32px 0 56px; display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: center; position: relative; border-bottom: 1px solid var(--line); }
.hero-copy { min-width: 0; padding-top: 8px; }
.brand-lockup { margin-bottom: 50px; display: inline-flex; align-items: center; gap: 13px; }
.brand-mark { width: 58px; height: 58px; overflow: hidden; border: 1px solid rgba(33,19,77,.09); border-radius: 17px; background: #fff; box-shadow: 0 10px 26px rgba(33,19,77,.09); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-copy { display: grid; gap: 3px; }
.brand-copy strong { font-family: var(--display); font-size: 1.25rem; letter-spacing: .08em; }
.brand-copy small { color: var(--muted); font-size: .76rem; letter-spacing: .04em; }
.hero h1 { margin: 0; font-family: var(--display); font-size: clamp(3.8rem, 5.4vw, 5.25rem); font-weight: 600; line-height: .98; letter-spacing: -.065em; }
.hero h1 strong { display: inline-block; margin-top: .12em; color: var(--pink); font-family: var(--body); font-weight: 900; letter-spacing: -.075em; white-space: nowrap; }
.lede { max-width: 31rem; margin: 28px 0 22px; color: var(--muted); font-size: 1.08rem; line-height: 1.8; }
.hero-topics { max-width: 32rem; margin: 0 0 28px; padding: 16px 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-topics li { display: grid; gap: 5px; padding: 0 14px; border-right: 1px solid var(--line); }
.hero-topics li:first-child { padding-left: 0; }
.hero-topics li:last-child { padding-right: 0; border-right: 0; }
.hero-topics span { color: var(--pink); font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.hero-topics strong { font-size: .94rem; }
.hero-action { width: min(100%, 420px); display: inline-grid; gap: 8px; }
.hero-support { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.consult-link { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; color: var(--ink); font-size: .9rem; font-weight: 800; text-underline-offset: 4px; }
.consult-link:hover { color: var(--pink); }
.primary-button { min-height: 62px; padding: 7px 9px 7px 24px; border: 1px solid var(--ink); border-radius: 17px; display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; color: #fff; background: var(--ink); box-shadow: 0 16px 34px rgba(33,19,77,.23); font-weight: 800; font-size: 1rem; line-height: 1.2; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.primary-button__icon { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--pink); font-size: 1.3rem; line-height: 1; transition: transform .2s ease, background .2s ease; }
.primary-button:hover { transform: translateY(-2px); background: var(--ink-soft); box-shadow: 0 20px 40px rgba(33,19,77,.28); }
.primary-button:hover .primary-button__icon { transform: translateX(2px); background: #d94a7a; }
.primary-button:active { transform: translateY(0); box-shadow: 0 10px 24px rgba(33,19,77,.2); }
.primary-button:focus-visible, .consult-link:focus-visible, .service-info a:focus-visible, .wechat-actions button:focus-visible, .qr-modal__close:focus-visible { outline: 3px solid rgba(200,56,105,.32); outline-offset: 4px; }
.button-note { margin: 0; display: grid; gap: 3px; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.button-note span { color: var(--ink); font-weight: 700; }
.button-note small { font-size: .76rem; }
.hero-visual { position: relative; margin: 18px 0 0; min-width: 0; }
.hero-visual__image { overflow: hidden; border: 10px solid var(--paper); border-radius: 8px 88px 8px 8px; background: #ece6f3; box-shadow: 0 24px 58px rgba(33,19,77,.15); }
.hero-visual__image img { width: 100%; height: auto; }
.hero-visual figcaption { max-width: 31rem; margin: 18px 14px 0 36px; padding-left: 18px; display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 14px; border-left: 2px solid var(--pink); }
.hero-visual figcaption span { color: var(--pink); font-size: .7rem; font-weight: 800; letter-spacing: .12em; }
.hero-visual figcaption p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.6; }

.about { padding: 52px 0; display: grid; grid-template-columns: 1.12fr .88fr; gap: 64px; align-items: center; border-bottom: 1px solid var(--line); }
.about-copy h2, .steps h2 { font-family: var(--display); font-weight: 600; }
.about-copy h2 { max-width: 38rem; margin: 0 0 18px; font-size: clamp(2rem, 3.2vw, 2.85rem); line-height: 1.2; letter-spacing: -.035em; }
.about-copy > p:last-child { max-width: 39rem; margin: 0; color: var(--muted); font-size: 1.02rem; line-height: 1.9; }
.coverage { padding: 20px 0 20px 40px; border-left: 1px solid var(--line); }
.coverage strong { display: flex; align-items: flex-start; color: var(--pink); font-size: clamp(4rem, 7vw, 5.9rem); line-height: .9; letter-spacing: -.07em; }
.coverage sup { margin: .08em 0 0 .08em; font-size: .36em; letter-spacing: 0; }
.coverage h3 { margin: 20px 0 12px; font-size: 1.35rem; line-height: 1.35; }
.coverage p { margin: 0; color: var(--muted); line-height: 1.75; }
.coverage small { display: block; margin-top: 16px; color: var(--muted); font-size: .76rem; line-height: 1.65; }

.steps { margin-top: 52px; padding: 38px 40px 32px; overflow: hidden; position: relative; color: #fff; background: var(--ink); border-radius: 8px 66px 8px 8px; box-shadow: 0 24px 54px rgba(33,19,77,.18); }
.steps::after { content: ""; position: absolute; width: 240px; height: 240px; right: -110px; top: -130px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; pointer-events: none; }
.steps-heading { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; }
.steps header { max-width: 38rem; }
.steps .eyebrow { color: #f39ab8; }
.steps h2 { margin: 0; font-size: clamp(2rem, 3.2vw, 2.65rem); line-height: 1.18; letter-spacing: -.035em; }
.steps-cta { min-height: 48px; padding: 0 17px 0 19px; border: 1px solid rgba(255,255,255,.34); border-radius: 12px; display: inline-flex; align-items: center; gap: 18px; color: #fff; background: rgba(255,255,255,.08); font-weight: 800; transition: background .18s ease, transform .18s ease; }
.steps-cta span:last-child { color: #f39ab8; font-size: 1.15rem; }
.steps-cta:hover { transform: translateY(-1px); background: rgba(255,255,255,.14); }
.steps-cta:focus-visible { outline: 3px solid rgba(243,154,184,.4); outline-offset: 4px; }
.steps ol { margin: 24px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.18); }
.steps li { position: relative; min-height: 148px; padding: 22px 30px 4px 0; border-right: 1px solid rgba(255,255,255,.16); }
.steps li:not(:first-child) { padding-left: 30px; }
.steps li:last-child { padding-right: 0; border-right: 0; }
.steps ol span { color: #f39ab8; font-family: var(--display); font-size: 1.8rem; line-height: 1; }
.steps h3 { margin: 16px 0 8px; color: #fff; font-size: 1.18rem; }
.steps p { margin: 0; color: rgba(255,255,255,.68); font-size: .94rem; line-height: 1.75; }

.code-card { position: relative; overflow: hidden; scroll-margin-top: 24px; margin: 56px 0 64px; border: 1px solid rgba(33,19,77,.09); border-radius: 8px 66px 8px 8px; display: grid; grid-template-columns: 55% 45%; background: #f3efe7; color: var(--ink); box-shadow: 0 26px 58px rgba(33,19,77,.13); }
.code-card__copy { position: relative; z-index: 2; min-width: 0; padding: 58px 34px 50px 58px; }
.code-card__brand { margin-bottom: 38px; display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: .8rem; font-weight: 800; letter-spacing: .12em; }
.code-card__logo { width: 48px; height: 48px; overflow: hidden; border: 1px solid rgba(33,19,77,.08); border-radius: 14px; background: #fff; box-shadow: 0 8px 22px rgba(33,19,77,.09); }
.code-card__logo img { width: 100%; height: 100%; object-fit: cover; }
.code-card .eyebrow { margin-bottom: 14px; }
.code-card h2 { margin: 0 0 20px; max-width: 590px; font-family: var(--display); font-size: clamp(2.75rem, 4.8vw, 4.45rem); line-height: 1.08; letter-spacing: -.055em; font-weight: 600; }
.code-card h2 strong { color: var(--pink); font-weight: 700; }
.code-card__intro { max-width: 30rem; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.qr-contact { margin-top: 32px; display: grid; grid-template-columns: 164px minmax(0,1fr); gap: 22px; align-items: center; }
.code-wrap { padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 14px 30px rgba(33,19,77,.09); }
.code-wrap img { width: 100%; border-radius: 9px; }
.code-wrap .wechat-code { aspect-ratio: 1; object-fit: cover; object-position: 50% 50%; }
.qr-note { min-width: 0; }
.qr-note > span { display: block; margin-bottom: 7px; color: var(--pink); font-size: .74rem; font-weight: 800; letter-spacing: .12em; }
.qr-note > strong { display: block; font-size: 1.22rem; }
.qr-note > p { margin: 8px 0 16px; color: var(--muted); font-size: .84rem; line-height: 1.55; }
.wechat-actions { display: grid; gap: 7px; }
.wechat-actions button { min-height: 44px; padding: 0 15px; border: 1px solid var(--ink); border-radius: 12px; color: #fff; background: var(--ink); box-shadow: 0 9px 20px rgba(33,19,77,.16); font-weight: 800; transition: transform .18s ease, background .18s ease; }
.wechat-actions button:hover { transform: translateY(-1px); background: var(--ink-soft); }
.wechat-actions [data-copy-status] { min-height: 1.2em; color: var(--muted); font-size: .75rem; }
.code-card__photo { position: relative; z-index: 1; min-height: 520px; margin: 0; overflow: hidden; border-bottom-left-radius: 46% 22%; }
.code-card__photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 28px 0 48px rgba(243,239,231,.26); pointer-events: none; }
.code-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 52%; }
.service-info { position: relative; z-index: 3; grid-column: 1 / -1; margin: 0; padding: 25px 36px; border-top: 1px solid rgba(33,19,77,.1); display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(255,253,249,.9); backdrop-filter: blur(16px); }
.service-info div { padding: 0 26px; border-right: 1px solid rgba(33,19,77,.12); }
.service-info div:first-child { padding-left: 0; }
.service-info div:last-child { padding-right: 0; border-right: 0; }
.service-info dt { margin-bottom: 8px; color: var(--pink); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.service-info dd { margin: 0; font-weight: 800; }
.service-info a { color: var(--ink); text-decoration: none; }

footer { padding: 34px max(20px, calc((100% - 1180px)/2)); color: var(--muted); background: #eee9e1; font-size: .84rem; line-height: 1.7; }
footer p { max-width: 72rem; margin: 0 auto; }
.sticky-cta { display: none; }

.qr-modal { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 24px; }
.qr-modal[hidden] { display: none; }
.qr-modal__backdrop { position: absolute; inset: 0; background: rgba(19,11,45,.76); backdrop-filter: blur(8px); }
.qr-modal__dialog { position: relative; width: min(460px, 100%); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow: auto; padding: 30px 36px; border-radius: 24px; background: var(--paper); box-shadow: 0 28px 90px rgba(8,3,24,.38); text-align: center; }
.qr-modal__dialog .eyebrow { margin-bottom: 8px; }
.qr-modal__dialog h2 { margin: 0 44px 22px; font-family: var(--display); font-size: 2.15rem; line-height: 1.2; }
.qr-modal__close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; color: var(--ink); background: var(--wash); font-size: 1.8rem; line-height: 1; }
.qr-modal__code { position: relative; width: min(320px, 100%); aspect-ratio: 1; margin: 0 auto; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.qr-modal__code img { width: 100%; height: 100%; object-fit: contain; }
.qr-modal__hint { margin: 20px 0 0; color: var(--muted); line-height: 1.7; }

@media (max-width: 820px) {
  main { width: min(100% - 24px, 620px); }
  .hero { min-height: 0; padding: 24px 0 28px; grid-template-columns: 1fr; gap: 18px; }
  .hero-copy { padding-top: 0; }
  .brand-lockup { margin-bottom: 30px; }
  .brand-mark { width: 50px; height: 50px; border-radius: 15px; }
  .brand-copy strong { font-size: 1.08rem; }
  .brand-copy small { font-size: .68rem; }
  .hero h1 { font-size: clamp(2.75rem, 11.7vw, 3.45rem); line-height: 1; }
  .lede { margin: 18px 0 17px; font-size: .98rem; line-height: 1.72; }
  .hero-topics { margin-bottom: 20px; padding: 13px 0; }
  .hero-topics li { gap: 3px; padding: 0 10px; }
  .hero-topics span { font-size: .6rem; }
  .hero-topics strong { font-size: .82rem; }
  .hero-action { width: 100%; gap: 4px; }
  .hero-support { gap: 12px; }
  .consult-link { font-size: .85rem; }
  .hero-copy .primary-button { width: 100%; min-height: 58px; }
  .button-note { font-size: .78rem; }
  .button-note small { font-size: .7rem; }
  .hero-visual { margin: 2px 0 0; }
  .hero-visual__image { border-width: 7px; border-radius: 6px 52px 6px 6px; box-shadow: 0 18px 38px rgba(33,19,77,.14); }
  .hero-visual__image img { max-height: 250px; object-fit: cover; }
  .hero-visual figcaption { margin: 14px 8px 0 16px; padding-left: 12px; grid-template-columns: 1fr; gap: 3px; }
  .hero-visual figcaption p { font-size: .78rem; }
  .about { padding: 36px 0; grid-template-columns: 1fr; gap: 24px; }
  .about-copy h2 { font-size: clamp(1.7rem, 7.8vw, 2.25rem); }
  .about-copy > p:last-child { font-size: .94rem; line-height: 1.8; }
  .coverage { padding: 24px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .coverage strong { font-size: 3.5rem; }
  .coverage h3 { margin: 14px 0 10px; font-size: 1.15rem; }
  .coverage p { font-size: .9rem; }
  .coverage small { margin-top: 12px; }
  .steps { margin-top: 36px; padding: 28px 22px 20px; border-radius: 6px 42px 6px 6px; }
  .steps-heading { display: block; }
  .steps h2 { font-size: clamp(1.7rem, 7.5vw, 2.1rem); }
  .steps-cta { display: none; }
  .steps ol { margin-top: 18px; grid-template-columns: 1fr; }
  .steps li, .steps li:not(:first-child) { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 4px 12px; min-height: 0; padding: 16px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .steps li:last-child { border-bottom: 0; }
  .steps ol span { grid-row: 1 / 3; font-size: 1.55rem; }
  .steps h3 { margin: 0; font-size: 1.08rem; }
  .steps p { grid-column: 2; font-size: .87rem; }
  .code-card { margin: 40px 0 48px; grid-template-columns: 1fr; border-radius: 6px 42px 6px 6px; }
  .code-card__photo { grid-row: 2; min-height: 0; height: 180px; border-bottom-left-radius: 0; }
  .code-card__photo img { object-position: 54% 48%; }
  .code-card__copy { grid-row: 1; padding: 28px 20px; }
  .code-card__brand { margin-bottom: 20px; }
  .code-card h2 { font-size: clamp(2rem, 9vw, 2.5rem); }
  .qr-contact { margin-top: 24px; }
  .qr-contact { grid-template-columns: 130px minmax(0,1fr); gap: 15px; }
  .qr-note > strong { font-size: 1.02rem; }
  .qr-note > p { font-size: .77rem; }
  .wechat-actions button { min-height: 42px; padding: 0 10px; font-size: .77rem; }
  .service-info { grid-row: 3; padding: 0 20px 20px; grid-template-columns: 1fr; background: rgba(255,253,249,.84); }
  .service-info div, .service-info div:first-child, .service-info div:last-child { padding: 15px 4px; border-right: 0; border-bottom: 1px solid rgba(33,19,77,.1); }
  .service-info div:last-child { border-bottom: 0; }
  footer { padding-bottom: calc(106px + env(safe-area-inset-bottom)); }
  .sticky-cta { position: fixed; z-index: 10; left: 0; right: 0; bottom: 0; display: block; padding: 9px 14px calc(9px + env(safe-area-inset-bottom)); background: rgba(248,245,239,.94); border-top: 1px solid var(--line); backdrop-filter: blur(16px); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(110%); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
  .sticky-cta.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); transition-delay: 0s; }
  .sticky-cta .primary-button { width: 100%; min-height: 56px; border-radius: 15px; }
  .sticky-cta .primary-button__icon { width: 38px; height: 38px; flex-basis: 38px; border-radius: 10px; }
  .qr-modal { padding: 14px; }
  .qr-modal__dialog { max-height: calc(100vh - 28px); max-height: calc(100dvh - 28px); padding: 32px 22px 26px; border-radius: 22px; }
  .qr-modal__dialog h2 { margin-bottom: 18px; font-size: 1.9rem; }
  .qr-modal__code { width: min(260px, 78vw); }
}

@media (max-width: 380px) {
  .brand-copy small { display: none; }
  .hero h1 { font-size: 2.72rem; }
  .hero-topics strong { font-size: .78rem; }
  .primary-button { padding-left: 18px; gap: 16px; }
  .qr-contact { grid-template-columns: 112px minmax(0,1fr); gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .primary-button, .primary-button__icon, .sticky-cta { transition: none; }
}
