:root {
  --ink: #242132;
  --muted: #676272;
  --paper: #fbfafd;
  --surface: #ffffff;
  --lavender: #f1eafb;
  --purple: #7136a8;
  --purple-deep: #43205f;
  --berry: #bd4d9d;
  --line: #e5e0ea;
  --shadow: 0 18px 45px rgba(57, 30, 81, .12);
  --radius: 22px;
  --content: min(1120px, calc(100% - 48px));
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button { font: inherit; }

.skip-link { position: fixed; z-index: 30; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.container { width: var(--content); margin: 0 auto; }
.section { padding: 96px 0; }
.section--tint { background: #f4eff9; }
.section--ink { color: #f8f4fc; background: var(--purple-deep); position: relative; overflow: hidden; }
.section--ink::after { content: ""; position: absolute; right: -12rem; bottom: -15rem; width: 35rem; height: 35rem; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.eyebrow { margin: 0 0 12px; color: var(--purple); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.section--ink .eyebrow { color: #edcdf1; }
.section-heading { max-width: 670px; margin-bottom: 42px; }
.section-heading h2, .page-hero h1 { margin: 0; letter-spacing: -.045em; line-height: 1.18; font-size: clamp(2rem, 4vw, 3.4rem); }
.section-heading p { margin: 18px 0 0; color: var(--muted); }

.site-header { position: sticky; z-index: 10; top: 0; border-bottom: 1px solid rgba(229,224,234,.9); background: rgba(251,250,253,.89); backdrop-filter: blur(15px); }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 1.24rem; font-weight: 850; letter-spacing: -.04em; }
.brand img { width: 34px; height: 34px; }
.primary-nav { display: flex; align-items: center; gap: 24px; color: #4f4a58; font-size: .93rem; font-weight: 700; }
.primary-nav a:not(.btn):hover, .primary-nav a[aria-current="page"] { color: var(--purple); }
.nav-toggle { display: none; border: 0; background: transparent; padding: 9px; color: var(--ink); }

.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { color: #fff; background: var(--purple); box-shadow: 0 10px 24px rgba(113,54,168,.23); }
.btn--primary:hover { background: #5a258e; }
.btn--ghost { background: #fff; border-color: var(--line); }
.btn--ghost:hover { border-color: #b6a0cf; }
.btn--light { color: var(--purple-deep); background: #fff; }
.btn--small { min-height: 38px; padding: 0 15px; font-size: .88rem; }

.hero { position: relative; overflow: hidden; padding: 96px 0 104px; background: linear-gradient(120deg, #fcfafe 0%, #f4ecfb 55%, #f1dfea 100%); }
.hero::before { content: ""; position: absolute; width: 720px; height: 720px; right: -196px; top: -208px; border-radius: 48% 52% 45% 55%; background: radial-gradient(circle at 37% 39%, rgba(255,255,255,.94) 0 2%, rgba(248,233,255,.66) 17%, transparent 47%), linear-gradient(145deg, #c781c4 3%, #9149b5 44%, #613093 100%); transform: rotate(-17deg); opacity: .98; }
.hero::after { content: ""; position: absolute; width: 420px; height: 420px; right: 5%; bottom: -310px; border: 1px solid rgba(113,54,168,.16); border-radius: 50%; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 54px; align-items: center; }
.hero-copy { max-width: 670px; }
.hero h1 { margin: 0; font-size: clamp(3.1rem, 5.2vw, 5.5rem); letter-spacing: -.075em; line-height: .99; }
.hero h1 em { color: var(--purple); font-style: normal; }
.hero p { max-width: 570px; margin: 25px 0 31px; color: #5b5664; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 18px 0 0; color: #716a77; font-size: .85rem; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 390px; }
.hero-display { position: relative; width: min(100%, 405px); padding: 25px; border: 1px solid rgba(255,255,255,.78); border-radius: 28px; background: rgba(255,255,255,.88); box-shadow: 0 28px 56px rgba(62,28,92,.24); transform: rotate(3.2deg); backdrop-filter: blur(12px); }
.hero-display::before { content: ""; position: absolute; z-index: -1; width: 150px; height: 150px; right: -46px; bottom: -44px; border-radius: 50%; background: rgba(255,255,255,.2); filter: blur(2px); }
.hero-display__top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 19px; border-bottom: 1px solid #e7dfeb; }
.hero-logo { width: 72px; height: 72px; border-radius: 20px; box-shadow: 0 10px 20px rgba(85,34,120,.22); }
.hero-display__badge { padding: 6px 10px; border-radius: 99px; color: #7136a8; background: #f1e7f7; font-size: .72rem; font-weight: 800; letter-spacing: .05em; }
.hero-display__kicker { margin: 22px 0 7px; color: #6d4b80; font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero-display__title { margin: 0; color: #282032; font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 850; letter-spacing: -.065em; line-height: 1.1; }
.hero-display__sample { margin: 21px 0 0; padding: 15px 16px; border-radius: 14px; color: #57435f; background: #f7f3f9; font-family: Georgia, "Times New Roman", serif; font-size: 1.04rem; }
.hero-display__sample strong { display: block; margin-bottom: 4px; color: #3b2944; font-family: "Microsoft YaHei UI", sans-serif; font-size: .8rem; letter-spacing: .08em; }

.stat-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 27px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border: 0; }
.stat strong { display: block; font-size: 1.4rem; letter-spacing: -.04em; }
.stat span { color: var(--muted); font-size: .9rem; }

.scene-grid, .feature-grid, .quote-grid, .download-options { display: grid; gap: 18px; }
.scene-grid { grid-template-columns: repeat(3, 1fr); }
.scene { min-height: 240px; padding: 28px; border-radius: var(--radius); background: #fff; box-shadow: 0 1px 0 var(--line); }
.scene__number { color: #b889c9; font-size: .8rem; font-weight: 800; letter-spacing: .12em; }
.scene h3, .feature h3 { margin: 27px 0 8px; font-size: 1.26rem; letter-spacing: -.035em; }
.scene p, .feature p { margin: 0; color: var(--muted); font-size: .94rem; }
.scene__bar { width: 58px; height: 5px; margin-top: 28px; border-radius: 99px; background: linear-gradient(90deg, var(--berry), var(--purple)); }

.feature-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: start; }
.feature-grid { grid-template-columns: repeat(2, 1fr); }
.feature { position: relative; min-height: 208px; padding: 25px 24px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.feature__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--purple); background: var(--lavender); font-weight: 900; }
.feature h3 { margin-top: 18px; }

.quote-grid { grid-template-columns: repeat(3, 1fr); position: relative; z-index: 1; }
.quote { padding: 25px; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(255,255,255,.07); }
.quote p { margin: 0 0 22px; font-size: 1.04rem; }
.quote footer { color: #d9cde0; font-size: .88rem; }

.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 42px; }
.faq details { padding: 18px 0; border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 800; }
.faq p { margin: 11px 0 0; color: var(--muted); font-size: .92rem; }

.cta { padding: 62px; border-radius: 28px; color: #fff; background: linear-gradient(118deg, #4a1f69, #7b3ca9 64%, #c45c9d); }
.cta h2 { max-width: 580px; margin: 0; font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.05em; line-height: 1.15; }
.cta p { color: #eee2f4; }

.page-hero { padding: 82px 0 74px; border-bottom: 1px solid var(--line); background: linear-gradient(130deg, #faf6ff, #f3eafa); }
.page-hero__inner { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.page-hero p { max-width: 650px; margin: 19px 0 0; color: var(--muted); font-size: 1.06rem; }
.page-mark { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 28px; color: #fff; background: linear-gradient(140deg, var(--berry), var(--purple)); font-size: 2rem; font-weight: 900; box-shadow: var(--shadow); }

.prose-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; }
.sticky-note { position: sticky; top: 102px; align-self: start; padding: 26px; border-left: 3px solid var(--berry); background: var(--lavender); }
.sticky-note p { margin: 0; color: #5b4665; }
.copy h2 { margin: 0 0 16px; font-size: 1.65rem; letter-spacing: -.04em; }
.copy h3 { margin: 31px 0 10px; font-size: 1.12rem; }
.copy p, .copy li { color: var(--muted); }
.copy ol, .copy ul { padding-left: 1.25rem; }
.step-list { display: grid; gap: 0; counter-reset: step; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); color: var(--berry); font-size: 1.1rem; font-weight: 900; }
.step h3 { margin: 0 0 6px; }
.step p { margin: 0; }

.release-card { display: grid; grid-template-columns: 1fr auto; gap: 30px; padding: 38px; border: 1px solid #d7c5e4; border-radius: 24px; background: linear-gradient(135deg, #fff, #f6f0fa); box-shadow: var(--shadow); }
.release-card h2 { margin: 6px 0; font-size: 2.1rem; letter-spacing: -.05em; }
.release-card p { margin: 0; color: var(--muted); }
.release-tag { align-self: start; padding: 7px 12px; border-radius: 99px; color: #6b397f; background: #eadcf4; font-size: .8rem; font-weight: 800; }
.checksum { margin-top: 24px; padding: 15px; border-radius: 12px; color: #5b5361; background: #fff; font: .76rem/1.5 Consolas, monospace; overflow-wrap: anywhere; }
.download-options { grid-template-columns: repeat(2, 1fr); margin-top: 30px; }
.download-option { display: grid; grid-template-columns: 100px 1fr; align-items: center; gap: 18px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.download-option img { width: 100px; border-radius: 10px; }
.download-option h3 { margin: 0 0 5px; font-size: 1rem; }
.download-option p { margin: 0; color: var(--muted); font-size: .84rem; }
.notice { margin-top: 28px; padding: 18px 20px; border-radius: 14px; border: 1px solid #ead9ba; color: #76521e; background: #fffaf0; font-size: .9rem; }

.site-footer { padding: 58px 0 25px; color: #cdbfd6; background: #26152f; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 35px; }
.footer-brand { color: #fff; }
.footer-brand img { width: 36px;border-radius: 5px; vertical-align: middle; margin-right: 8px; }
.site-footer h2 { margin: 0 0 11px; color: #fff; font-size: 1rem; }
.site-footer p, .site-footer a { color: #cdbfd6; font-size: .88rem; }
.site-footer a { display: block; margin: 6px 0; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; margin-top: 43px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #a895b2; font-size: .78rem; }

.download-modal[hidden] { display: none; }
.download-modal { position: fixed; z-index: 50; inset: 0; display: grid; place-items: center; padding: 20px; }
.download-modal__backdrop { position: absolute; inset: 0; border: 0; background: rgba(31,13,41,.62); }
.download-modal__dialog { position: relative; width: min(620px, 100%); padding: 32px; border-radius: 24px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.download-modal__close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; color: var(--ink); background: #f2edf5; cursor: pointer; font-size: 1.4rem; }
.download-modal h2 { margin: 0; font-size: 1.9rem; letter-spacing: -.05em; }
.download-modal > div > p { margin: 8px 0 22px; color: var(--muted); }
.modal-main-action { width: 100%; }
.modal-qr { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 20px; }
.modal-qr figure { margin: 0; padding: 14px; border-radius: 14px; background: #faf7fc; text-align: center; }
.modal-qr img { width: 170px; display: block; margin: 0 auto 7px; }
.modal-qr figcaption { color: var(--muted); font-size: .78rem; }

:focus-visible { outline: 3px solid #d489c4; outline-offset: 3px; }

@media (max-width: 800px) {
  :root { --content: min(100% - 36px, 1120px); }
  .nav-toggle { display: block; }
  .primary-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; padding: 20px 24px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .primary-nav.is-open { display: flex; }
  .primary-nav .btn { text-align: center; }
  .hero { padding: 65px 0 72px; }
  .hero-grid, .feature-layout, .prose-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { min-height: 270px; }
  .hero::before { width: 460px; height: 460px; right: -210px; top: 175px; }
  .hero-display { max-width: 360px; transform: rotate(1.5deg); }
  .scene-grid, .quote-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .faq { grid-template-columns: 1fr; gap: 0; }
  .sticky-note { position: static; }
  .release-card, .page-hero__inner { grid-template-columns: 1fr; }
  .release-tag { justify-self: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .section { padding: 66px 0; }
  .hero h1 { font-size: 3.1rem; }
  .feature-grid, .download-options, .footer-grid, .stat-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .cta { padding: 34px 25px; }
  .download-option { grid-template-columns: 84px 1fr; }
  .download-option img { width: 84px; }
  .footer-bottom { flex-direction: column; }
  .download-modal__dialog { padding: 28px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
