:root {
  --primary: #ed97b7;
  --primary-soft: #f8b4c8;
  --primary-pale: #fff0f5;
  --primary-strong: #b54873;
  --primary-deep: #7e2f4e;
  --action: #f7619c;
  --action-hover: #e84e8d;
  --download-accent: #ffd400;
  --download-accent-hover: #f4c900;
  --warm-accent: #ffc0a6;
  --warm-accent-pale: #f8ece6;
  --lilac-pale: #f1edf8;
  --ink: #32272d;
  --text: #594b51;
  --muted: #786970;
  --surface: #ffffff;
  --background: #fff7f7;
  --line: #ead9e0;
  --shadow-soft: 8px 8px 20px rgb(125 76 95 / 10%), -8px -8px 20px rgb(255 255 255 / 90%);
  --shadow-card: 0 10px 34px rgb(94 57 73 / 9%);
  --radius: 8px;
  --page-width: 74rem;
  --header-height: 6rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 1rem); }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--background);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body, button, input, select, textarea { letter-spacing: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, a, label, summary { touch-action: manipulation; }
h1, h2, h3, p, figure, blockquote, ul { margin: 0; }
h1, h2, h3 { color: var(--ink); font-family: inherit; font-weight: 700; text-wrap: balance; }
section { scroll-margin-top: calc(var(--header-height) + 1rem); }
.page-shell { width: min(calc(100% - 3rem), var(--page-width)); margin-inline: auto; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 1000; padding: .7rem 1rem; color: #fff; background: var(--primary-deep); border-radius: var(--radius); transform: translateY(-180%); transition: transform 160ms ease; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--primary-strong); outline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-height); padding-top: 1rem; background: transparent; }
.header-layout { display: flex; align-items: center; height: 4.5rem; padding-inline: 1.5rem; gap: 2rem; background: rgb(255 247 247 / 97%); border-radius: var(--radius); box-shadow: 8px 8px 16px rgb(200 180 180 / 30%), -8px -8px 16px rgb(255 255 255 / 80%); backdrop-filter: blur(14px); }
.brand-link { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .7rem; min-height: 2.75rem; }
.brand-link img { width: 2.75rem; height: 2.75rem; object-fit: cover; border: 1px solid rgb(255 255 255 / 80%); border-radius: var(--radius); box-shadow: 0 6px 14px rgb(119 55 80 / 10%); }
.brand-link span { display: grid; line-height: 1.08; }
.brand-link strong { color: var(--ink); font-size: 1rem; }
.brand-link small { margin-top: .28rem; color: var(--primary-strong); font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 1.8rem; margin-left: auto; }
.site-nav a { position: relative; min-height: 2.75rem; padding-block: .65rem; color: var(--muted); font-size: .9rem; font-weight: 600; }
.site-nav a::after { position: absolute; bottom: .35rem; left: 0; width: 100%; height: 2px; content: ""; background: var(--primary-strong); transform: scaleX(0); transform-origin: right; transition: transform 180ms ease; }
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: .78rem 1.5rem; border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; font: inherit; font-size: .95rem; font-weight: 700; text-align: center; transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.button svg, .text-link svg, .card-copy svg { width: 1.15rem; height: 1.15rem; margin-left: .55rem; transition: transform 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button:hover svg, .text-link:hover svg, .discovery-card:hover .card-copy svg { transform: translateX(3px); }
.button-primary { color: #fff; background: var(--action); box-shadow: 0 10px 22px rgb(247 97 156 / 24%); }
.button-primary:hover { background: var(--action-hover); box-shadow: 0 14px 28px rgb(232 78 141 / 24%); }
.button-secondary { color: var(--primary-deep); background: transparent; border-color: var(--primary); }
.button-secondary:hover { background: var(--primary-pale); border-color: var(--primary-strong); }
.button-small { min-height: 2.75rem; padding: .58rem 1.15rem; font-size: .95rem; }

.hero-section { position: relative; display: grid; min-height: auto; padding: 2.25rem 0 2.5rem; overflow: hidden; }
.hero-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(27rem, 1.1fr); align-items: center; gap: clamp(3rem, 7vw, 7rem); }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { font-size: clamp(2.75rem, 4.3vw, 4rem); line-height: 1.25; }
.hero-copy h1 em { color: var(--primary-strong); font-style: normal; }
.hero-intro { max-width: 34rem; margin-top: 1.75rem; color: var(--muted); font-size: 1.08rem; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; width: min(100%, 34rem); margin-top: 2rem; }
.hero-actions .button-primary { flex: 1 1 auto; }
.hero-actions .button-secondary { flex: 0 0 auto; }
.hero-notes { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; padding: 0; margin-top: 2rem; list-style: none; }
.hero-notes li { display: inline-flex; align-items: center; color: var(--text); font-size: .86rem; font-weight: 650; }
.hero-notes li::before { width: .42rem; height: .42rem; margin-right: .55rem; content: ""; background: var(--warm-accent); border-radius: 50%; box-shadow: 0 0 0 4px var(--warm-accent-pale); }

.hero-visual { position: relative; justify-self: end; width: min(100%, 31.25rem); padding: 1rem; }
.hero-main-visual { display: block; width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.hero-mascot { position: absolute; right: -1rem; bottom: .3rem; z-index: 2; width: 42%; max-height: 70%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 14px 18px rgb(101 51 69 / 16%)); pointer-events: none; }
.hero-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: .7rem; min-width: 10.5rem; padding: .8rem .95rem; background: rgb(255 255 255 / 96%); border: 1px solid rgb(234 217 224 / 75%); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.hero-float span:last-child { display: grid; }
.hero-float strong { color: var(--ink); font-size: .9rem; }
.hero-float small { color: var(--muted); font-size: .8rem; }
.hero-float-top { top: -.3rem; right: -.9rem; }
.hero-float-bottom { bottom: -.1rem; left: -.8rem; }
.float-icon { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; color: var(--primary-strong); background: var(--primary-pale); border-radius: var(--radius); }
.float-icon svg { width: 1.2rem; height: 1.2rem; }
.float-dot { width: .65rem; height: .65rem; background: var(--warm-accent); border-radius: 50%; box-shadow: 0 0 0 5px var(--warm-accent-pale); }
.section-space { padding-block: 5rem; }
.section-heading { max-width: 44rem; margin-bottom: 3.25rem; }
.heading-centered { margin-inline: auto; text-align: center; }
.section-heading h2, .faq-heading h2, .closing-copy h2 { font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.35; }
.section-heading > p:last-child, .faq-heading > p { margin-top: 1.1rem; color: var(--muted); }

.discover-section { background: var(--background); }
.discovery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.discovery-card { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 4px 18px rgb(79 48 61 / 6%); transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.discovery-card:hover { border-color: var(--primary-soft); box-shadow: var(--shadow-card); transform: translateY(-4px); }
.cover-image { aspect-ratio: 3 / 2; overflow: hidden; background: var(--primary-pale); }
.cover-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.cover-image-banner img { object-position: center; }
.discovery-card:hover .cover-image img { transform: scale(1.04); }
.card-copy { display: flex; align-items: center; min-height: 4.25rem; padding: 1rem; color: var(--ink); font-size: 1rem; font-weight: 700; line-height: 1.6; text-wrap: wrap; }
.card-copy svg { flex: 0 0 auto; color: var(--primary-strong); }
.center-action { display: flex; justify-content: center; margin-top: 2.5rem; }
.text-link { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--primary-deep); font-weight: 750; }
.text-link svg { flex: 0 0 auto; }

.feature-section { background: var(--background); }
.feature-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.feature-item { display: flex; flex-direction: column; min-width: 0; padding: 2rem 1.5rem; background: rgb(255 255 255 / 58%); border-radius: var(--radius); }
.feature-item h3 { font-size: 1.25rem; line-height: 1.5; text-wrap: wrap; }
.feature-item p { margin-top: .85rem; margin-bottom: 1rem; color: var(--muted); font-size: 1rem; }
.feature-item a { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: auto; color: var(--primary-strong); font-size: .95rem; font-weight: 750; }
.feature-item a::after { margin-left: .45rem; content: "\2192"; transition: transform 180ms ease; }
.feature-item a:hover::after { transform: translateX(3px); }

.reading-section { background: #fff; }
.reading-heading { margin-bottom: 3.25rem; }
.reading-options { display: block; }
.reading-option { min-width: 0; }
.unified-experience-static { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); padding: clamp(2rem, 4vw, 4rem); background: var(--background); border-radius: var(--radius); }
.experience-copy { min-width: 0; }
.experience-intro { max-width: 31rem; color: var(--text); font-size: 1.15rem; line-height: 1.85; }
.experience-points { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.experience-points > div { display: grid; grid-template-columns: .55rem 1fr; align-items: start; gap: .9rem; }
.experience-points > div > span { width: .45rem; height: .45rem; margin-top: .48rem; background: var(--action); border-radius: 50%; }
.experience-points p, .experience-points strong, .experience-points small { display: block; }
.experience-points strong { color: var(--ink); font-size: 1rem; }
.experience-points small { margin-top: .3rem; color: var(--muted); font-size: .95rem; line-height: 1.7; }
.reading-showcase { min-width: 0; }
.reading-page-frame { display: flex; align-items: center; justify-content: center; padding: 1rem; background: transparent; }
.reading-page-frame img { width: min(100%, 18.75rem); height: auto; object-fit: contain; box-shadow: 0 10px 26px rgb(50 39 45 / 14%); }
.reading-showcase figcaption { margin-top: 1rem; color: var(--primary-strong); font-size: .9rem; font-weight: 700; text-align: center; }
.community-section { background: var(--background); }
.comment-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.comment-card { display: flex; flex-direction: column; min-width: 0; padding: 1.5rem; background: var(--surface); border: 1px solid rgb(234 217 224 / 64%); border-radius: var(--radius); box-shadow: 0 12px 34px rgb(100 58 76 / 10%); transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease; }
.comment-card:hover { border-color: var(--primary-soft); box-shadow: 0 18px 44px rgb(100 58 76 / 14%); transform: translateY(-4px); }
.comment-card h3 { color: var(--primary-deep); font-size: 1.1rem; line-height: 1.6; text-wrap: wrap; }
.comment-card p { margin-top: .9rem; color: var(--text); font-size: 1rem; line-height: 1.8; }

.faq-section { background: #fff; }
.faq-layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(31rem, 1.28fr); gap: clamp(3rem, 8vw, 8rem); }
.faq-heading { align-self: start; position: sticky; top: calc(var(--header-height) + 2rem); }
.faq-heading .text-link { margin-top: 1.4rem; }
.faq-list { display: grid; gap: .75rem; }
.faq-list details { background: var(--background); border-radius: var(--radius); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 5rem; padding: 1rem 1.4rem; color: var(--ink); cursor: pointer; font-weight: 750; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { flex: 0 0 auto; width: 1.25rem; height: 1.25rem; color: var(--primary-strong); transition: transform 180ms ease; }
.faq-list details[open] summary svg { transform: rotate(180deg); }
.faq-list details p { max-width: 42rem; padding: 0 1.4rem 1.4rem; color: var(--muted); font-size: 1rem; }

.closing-section { padding-block: 5rem; color: var(--text); background: var(--background); overflow: hidden; }
.closing-layout { display: grid; grid-template-columns: 1fr minmax(17rem, .55fr); align-items: center; gap: 4rem; padding: clamp(2.5rem, 6vw, 5rem); background: #fff; border: 1px solid rgb(234 217 224 / 70%); border-radius: var(--radius); box-shadow: 0 24px 64px rgb(100 58 76 / 14%); overflow: hidden; }
.closing-copy { position: relative; z-index: 2; }
.closing-copy h2 { color: var(--ink); }
.closing-copy > p { max-width: 38rem; margin-top: 1rem; color: var(--muted); }
.closing-actions { display: grid; gap: .75rem; width: min(100%, 24rem); margin-top: 2rem; }
.platform-download { display: flex; align-items: center; justify-content: center; gap: .85rem; width: 100%; min-height: 4rem; padding: .8rem 1.1rem; color: var(--ink); background: var(--download-accent); border: 1px solid transparent; border-radius: var(--radius); box-shadow: 0 8px 20px rgb(116 91 0 / 15%); text-decoration: none; transition: background-color .2s ease, box-shadow .2s ease; }
.platform-download:hover { color: var(--ink); background: var(--download-accent-hover); box-shadow: 0 10px 24px rgb(116 91 0 / 20%); }
.platform-download:focus-visible { outline: 3px solid rgb(247 97 156 / 30%); outline-offset: 3px; }
.platform-download svg { width: 1.75rem; height: 1.75rem; color: var(--ink); }
.platform-download strong { font-size: 1.1rem; line-height: 1.4; }
.closing-art { position: relative; height: 20rem; }
.page-shape { position: absolute; display: grid; place-items: center; width: 14rem; height: 17rem; background: #fff4f8; border-radius: var(--radius); box-shadow: 0 18px 40px rgb(40 13 24 / 26%); }
.page-shape-back { top: 1rem; right: 5.5rem; background: var(--action); transform: rotate(-9deg); }
.page-shape-front { right: 1rem; bottom: 0; transform: rotate(7deg); }
.page-shape-front img { width: 6rem; height: 6rem; object-fit: cover; border-radius: var(--radius); }
.closing-spark { position: absolute; width: .7rem; height: .7rem; background: var(--primary-strong); transform: rotate(45deg); }
.spark-one { top: 1rem; left: 1rem; background-color: var(--warm-accent); }
.spark-two { right: 0; bottom: 2rem; width: .45rem; height: .45rem; }

.site-footer { color: var(--text); background: #fff; }
.footer-top { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; padding-block: 4rem; }
.footer-brand > p { max-width: 22rem; margin-top: 1rem; color: var(--muted); font-size: .95rem; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-nav div { display: grid; align-content: start; gap: .6rem; }
.footer-nav strong { margin-bottom: .25rem; color: var(--ink); font-size: .95rem; }
.footer-nav a { width: fit-content; min-height: 2rem; color: var(--muted); font-size: .9rem; }
.footer-nav a:hover { color: var(--primary-strong); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.4rem; color: var(--muted); border-top: 1px solid var(--line); font-size: .85rem; }

@media (max-width: 960px) {
  .site-nav { display: none; }
  .header-layout > .button { margin-left: auto; }
  .hero-layout, .unified-experience-static, .faq-layout { grid-template-columns: 1fr; }
  .hero-layout { gap: 3rem; }
  .hero-visual { justify-self: center; width: min(100%, 31.25rem); }
  .discovery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-list, .comment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .unified-experience-static { gap: 3rem; }
  .faq-layout { gap: 2.5rem; }
  .faq-heading { position: static; }
  .closing-layout { grid-template-columns: minmax(0, 1fr) minmax(13rem, .45fr); gap: 2rem; }
  .closing-art { height: 17rem; }
  .page-shape { width: 11rem; height: 14rem; }
  .page-shape-back { right: 2rem; }
  .page-shape-front { right: 0; }
  .page-shape-front img { width: 5rem; height: 5rem; }
}

@media (max-width: 680px) {
  :root { --header-height: 5rem; }
  .page-shell { width: min(calc(100% - 2rem), var(--page-width)); }
  .site-header { padding-top: .5rem; background: transparent; }
  .header-layout { height: 4rem; padding-inline: .75rem; }
  .brand-link { gap: .55rem; }
  .brand-link img { width: 2.35rem; height: 2.35rem; }
  .brand-link strong { font-size: .9rem; }
  .brand-link small { font-size: .6rem; }
  .header-layout > .button { min-height: 2.75rem; padding-inline: .85rem; font-size: .9rem; }
  .hero-section { min-height: auto; padding: 1.25rem 0 1.5rem; }
  .hero-layout { display: flex; flex-direction: column; gap: 1.25rem; }
  .hero-copy h1 { font-size: clamp(2.15rem, 7.6vw, 2.75rem); line-height: 1.3; }
  .hero-intro { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: .5rem; }
  .hero-actions .button { flex: 0 0 auto; width: 100%; }
  .hero-actions .button-secondary { border-color: transparent; }
  .hero-actions .button-secondary:hover { border-color: transparent; }
  .hero-notes { display: none; }
  .hero-visual { width: 15rem; padding: .5rem .25rem 1.5rem; }
  .hero-mascot { right: -1rem; width: 50%; max-height: 70%; }
  .hero-float { min-width: 9.5rem; padding: .7rem .8rem; }
  .hero-float-top { top: -.6rem; right: -.35rem; }
  .hero-float-bottom { bottom: .75rem; left: -.25rem; }
  .section-space { padding-block: 3rem; }
  .unified-experience-static { gap: 2.5rem; padding: 1.5rem; }
  .closing-section { padding-block: 3rem; }
  .section-heading { margin-bottom: 2.4rem; }
  .section-heading h2, .faq-heading h2, .closing-copy h2 { font-size: clamp(1.55rem, 6vw, 2rem); }
  .discovery-grid { grid-template-columns: 1fr; gap: .85rem; }
  .feature-list, .comment-grid { grid-template-columns: 1fr; }
  .feature-item { padding: 2rem 1.5rem; }
  .comment-card { padding: 1.35rem; }
  .discovery-card { display: grid; grid-template-columns: 8.5rem 1fr; }
  .card-copy { min-height: 100%; }
  .faq-list summary { min-height: 4.5rem; font-size: 1rem; }
  .closing-layout { grid-template-columns: 1fr; gap: 2.5rem; padding: 2rem 1.5rem; }
  .closing-copy { text-align: center; }
  .closing-copy > p { margin-inline: auto; }
  .closing-actions { width: 100%; }
  .platform-download { width: 100%; }
  .closing-art { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 3rem; }
  .footer-nav { gap: 1rem; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 390px) {
  .page-shell { width: min(calc(100% - 1.5rem), var(--page-width)); }
  .header-layout { gap: .5rem; }
  .brand-link strong { font-size: .85rem; }
  .hero-notes { gap: .7rem; }
  .hero-notes li { font-size: .76rem; }
  .discovery-card { grid-template-columns: 7.5rem 1fr; }
}

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