* { box-sizing: border-box; }
:root {
  --purple: #604591;
  --ink: #332a45;
  --muted: #736c80;
  --lavender: #f7f3ff;
  --cream: #fcf5e9;
  --blue: #eff7fc;
  --line: #e7e0ef;
  --header-height: 80px;
}
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--ink); background: #fff; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible, .comic-grid:focus-visible { outline: 3px solid #9572cb; outline-offset: 5px; }
p, h1, h2, h3 { margin: 0; }
p { line-height: 1.85; }
img { display: block; max-width: 100%; }
.wrap { width: calc(100% - 96px); max-width: 1120px; margin-inline: auto; }
.icon { display: inline-block; flex: 0 0 auto; width: 20px; height: 20px; background: currentColor; mask: var(--icon) center / contain no-repeat; -webkit-mask: var(--icon) center / contain no-repeat; }
.icon-download { --icon: url("../images/icon-download.svg"); }
.icon-cloud { --icon: url("../images/icon-cloud-download.svg"); }
.icon-heart { --icon: url("../images/icon-heart.svg"); }
.icon-book { --icon: url("../images/icon-book-open.svg"); }
.icon-bookmark { --icon: url("../images/icon-bookmark-check.svg"); }
.icon-arrow { --icon: url("../images/icon-arrow-right.svg"); }
.site-header { position: sticky; top: 0; z-index: 20; height: var(--header-height); background: #f7f3fff2; backdrop-filter: blur(16px); border-bottom: 1px solid #e9e2f0; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 24px; font-weight: 750; letter-spacing: .06em; white-space: nowrap; color: var(--purple); transition: color .2s; }
.brand-mark { width: 42px; height: 42px; padding: 2px; object-fit: contain; flex: 0 0 auto; background: #eee5f8; border: 1px solid #e1d4ee; border-radius: 12px; }
.brand-wordmark { line-height: 1.4; }
.brand-wordmark span { font-size: 14px; letter-spacing: .09em; margin-left: 7px; }
.site-header nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; }
.site-header nav a { position: relative; padding-block: 14px; transition: color .2s; }
.site-header nav a::after { content: ""; position: absolute; height: 2px; background: #8c70b5; left: 0; right: 0; bottom: 5px; transform: scaleX(0); transition: transform .2s; }
.header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid #c3afd9; border-radius: 12px; padding: 11px 20px; font-size: 14px; font-weight: 600; color: var(--purple); background: #fff8; transition: background .2s, border-color .2s, box-shadow .2s, transform .2s; }
.hero { position: relative; background: radial-gradient(ellipse at 50% 42%, #eee4fc 0%, #f7f3ff 58%); text-align: center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: url("../images/hero-feather-staggered.webp") 12px 0 / 220px 220px repeat; opacity: .055; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; padding-block: 86px; }
h1 { font-size: 76px; line-height: 1.2; letter-spacing: .055em; padding-left: .055em; font-weight: 800; color: var(--purple); }
.hero-subtitle { font-size: 28px; line-height: 1.5; font-weight: 650; letter-spacing: .03em; color: var(--purple); margin-top: 17px; }
.hero-copy { font-size: 16px; margin-top: 25px; color: var(--muted); }
.actions { display: flex; justify-content: center; gap: 14px; margin: 30px auto 0; max-width: 410px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 14px 24px; border-radius: 13px; font-size: 15px; line-height: 1.6; font-weight: 650; border: 1px solid var(--purple); white-space: nowrap; transition: background .2s, border-color .2s, box-shadow .2s, transform .2s; }
.button .icon { transition: transform .2s; }
.primary { background: var(--purple); color: #fff; flex: 1.2; box-shadow: 0 6px 15px #60459117; }
.secondary { background: #fff7; border-color: #c6b6df; color: var(--purple); flex: 1; }
.section { padding-block: 92px; }
h2, .section-heading h2 { font-size: 36px; line-height: 1.45; font-weight: 750; letter-spacing: -.025em; }
.section-heading { margin-bottom: 42px; }
.section-heading p { font-size: 15px; color: var(--muted); margin-top: 15px; }
.discover { background: var(--blue); }
.discover .section-heading, .features .section-heading, .reading-tools .section-heading { text-align: center; }
.categories { list-style: none; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; padding: 0; margin: 0 0 36px; font-size: 12px; color: #616d7d; }
.categories li { padding: 8px 13px; border: 1px solid #d8e4ed; border-radius: 999px; background: #ffffff45; }
.categories .active { background: var(--purple); border-color: var(--purple); color: #fff; }
.comic-grid { display: grid; grid-template-columns: repeat(4, minmax(210px, 1fr)); gap: 28px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #b5a2cb transparent; padding: 10px 0 22px; }
.comic-card { min-width: 0; scroll-snap-align: start; }
.cover-link { display: block; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid #332a4510; box-shadow: 0 5px 12px #3345540b; transition: border-color .25s, box-shadow .25s, transform .25s; }
.cover-image { width: 100%; height: auto; aspect-ratio: 2/3; object-fit: contain; object-position: center; background: #fff; }
.tags { font-size: 11px; color: #7d649a; margin-top: 20px; line-height: 1.6; letter-spacing: .04em; }
.comic-card h3 { font-size: 21px; line-height: 1.5; margin-top: 7px; font-weight: 700; }
.author { font-size: 11px; color: var(--muted); margin-top: 6px; line-height: 1.7; }
.synopsis { font-size: 13px; margin-top: 12px; color: #6d6975; }
.features { background: var(--cream); }
.reading-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; margin: 0; padding: 8px 0 0; list-style: none; }
.reading-step { position: relative; min-width: 0; }
.reading-step:not(:last-child)::after { content: ""; position: absolute; top: 25px; left: 66px; right: -26px; height: 1px; background: #ded3c3; }
.step-number { position: relative; display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; margin-bottom: 24px; border: 1px solid #d9cae9; border-radius: 50%; background: #eee5f7; color: var(--purple); font-size: 15px; font-weight: 700; transition: background .25s, border-color .25s, color .25s; }
.reading-step h3 { font-size: 20px; line-height: 1.5; margin-bottom: 12px; }
.reading-step p { font-size: 14px; color: #756d75; }
.reading-panel { margin-top: 48px; padding: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; border: 1px solid #eee5d6; background: #fffaf2; border-radius: 22px; }
.small-heading { font-weight: 650; font-size: 18px; margin-bottom: 10px; }
.reading-settings > p + p { font-size: 14px; color: #756d75; }
.setting-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 20px 0 0; padding: 0; font-size: 12px; color: #7c6c6c; }
.setting-list li { padding: 7px 12px; background: #f1e9dd; border-radius: 7px; }
.shelf-panel { border: 1px solid #e4dcec; background: #fff; border-radius: 16px; padding: 22px; box-shadow: 0 4px 12px #60459105; transition: border-color .25s, box-shadow .25s; }
.shelf-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.shelf-heading h3 { font-size: 16px; }
.shelf-heading > span { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: #8a73a5; }
.shelf-heading .icon { width: 14px; height: 14px; }
.shelf-row { display: grid; grid-template-columns: 58px 1fr; gap: 17px; align-items: center; }
.shelf-row .cover-image { width: 58px; border-radius: 4px; }
.shelf-info > p { font-size: 16px; font-weight: 600; }
.shelf-info > span { font-size: 11px; color: var(--muted); }
.shelf-info > .shelf-note { font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 8px; }
.reading-tools { background: var(--lavender); }
.core-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.core-card { padding: 34px 30px; background: #fff; border: 1px solid #eee8f3; border-radius: 24px; transition: border-color .25s, box-shadow .25s, transform .25s; }
.feature-icon { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 16px; margin-bottom: 27px; transition: transform .25s; }
.feature-icon .icon { width: 25px; height: 25px; }
.feature-icon-cloud { background: #eaf1ff; color: #6c8ed0; }
.feature-icon-heart { background: #e8f6ef; color: #5b9d7a; }
.feature-icon-book { background: #fff0f3; color: #d58396; }
.core-card h3 { font-size: 22px; margin-bottom: 13px; }
.core-card p { font-size: 14px; color: #756d80; }
.faq-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: grid; grid-template-columns: minmax(0, 1fr) 18px; align-items: center; gap: 16px; cursor: pointer; padding: 23px 4px 23px 0; font-size: 16px; line-height: 1.65; list-style: none; position: relative; font-weight: 600; transition: color .2s, background .2s; border-radius: 8px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; display: block; width: 18px; height: 18px; color: #9377b4; background: linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat; transition: color .2s, transform .2s; }
details[open] summary::after { background: linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat; }
details > p { padding-bottom: 24px; padding-right: 28px; font-size: 14px; color: var(--muted); }
.download { position: relative; background: radial-gradient(ellipse at 50% 100%, #ede1fb 0%, #f7f3ff 70%); text-align: center; }
.download::before { content: ""; position: absolute; inset: 0; z-index: 0; background: url("../images/hero-feather.webp") center / clamp(280px, 45vw, 440px) auto no-repeat; opacity: .065; pointer-events: none; }
.download-inner { position: relative; z-index: 1; }
.download h2 { color: var(--purple); font-size: 42px; }
.download p { font-size: 15px; color: var(--muted); margin: 21px 0 28px; }
.download-button { min-width: 220px; }
.site-footer { padding: 34px 0; background: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-footer .brand { font-size: 20px; }
.site-footer .brand-wordmark span { font-size: 13px; }
.site-footer p { font-size: 12px; color: var(--muted); margin-top: 8px; }
.footer-links { display: flex; gap: 32px; font-size: 13px; color: var(--muted); }
.footer-links a { padding-block: 14px; transition: color .2s; }
/* Keyboard feedback shares the same visual language as pointer feedback. */
.site-header nav a:focus-visible::after { transform: scaleX(1); }
.comic-card:focus-within .cover-link { border-color: #b59bcd; box-shadow: 0 6px 10px -6px #60459145; }
.comic-card:focus-within h3 a { color: var(--purple); }
.shelf-panel:focus-within { border-color: #bca5d2; box-shadow: 0 6px 16px #6045910d; }
summary:focus-visible { color: var(--purple); background: #f7f3ff; }
@media (hover: hover) and (pointer: fine) {
  .site-header nav a:hover { color: var(--purple); }
  .site-header nav a:hover::after { transform: scaleX(1); }
  .header-cta:hover { background: #fff; border-color: #9e7fc1; box-shadow: 0 3px 9px #60459112; transform: translateY(-1px); }
  .primary:hover { background: #51387e; border-color: #51387e; box-shadow: 0 7px 18px #60459128; transform: translateY(-2px); }
  .secondary:hover { background: #fff; border-color: #a88bc6; box-shadow: 0 4px 12px #6045910d; transform: translateY(-2px); }
  .button:hover .icon-download { transform: translateY(2px); }
  .button:hover .icon-arrow { transform: translateX(3px); }
  .comic-card:hover .cover-link { border-color: #b59bcd; box-shadow: 0 6px 10px -6px #60459145; transform: translateY(-3px); }
  .comic-card:hover h3 a { color: var(--purple); }
  .reading-step:hover .step-number { background: #e2d4f1; border-color: #bca0d6; color: #51387e; }
  .shelf-panel:hover { border-color: #bca5d2; box-shadow: 0 6px 16px #6045910d; }
  .core-card:hover { border-color: #dacbe9; box-shadow: 0 8px 22px #6045910c; transform: translateY(-3px); }
  .core-card:hover .feature-icon { transform: translateY(-2px); }
  summary:hover { color: var(--purple); background: #f7f3ff; }
  summary:hover::after { color: #604591; transform: scale(1.12); }
  .footer-links a:hover { color: var(--purple); }
}
.button:active, .header-cta:active { transform: translateY(1px); }
@media (hover: hover) and (pointer: fine) and (max-width: 600px) {
  .secondary:hover { background: transparent; border-color: transparent; box-shadow: none; color: #8a61b1; }
}
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .header-inner { gap: 28px; }
  .site-header nav { gap: 21px; }
  .comic-grid { gap: 22px; }
  .comic-card h3 { font-size: 19px; }
  .core-card { padding: 28px 24px; }
  .reading-panel { gap: 30px; }
}
@media (max-width: 850px) {
  .site-header nav { display: none; }
  .header-cta { margin-left: auto; }
  .hero-inner { padding-block: 100px; }
  h1 { font-size: 62px; }
  .comic-grid { gap: 24px; }
  .reading-panel { gap: 24px; padding: 26px; }
  .core-grid { gap: 14px; }
  .core-card { padding: 24px 20px; border-radius: 20px; }
  .core-card h3 { font-size: 20px; }
  .core-card p { font-size: 13px; }
  .section { padding-block: 72px; }
  .faq-layout { grid-template-columns: 1fr; gap: 0; }
  .faq .section-heading { margin-bottom: 30px; }
}
@media (max-width: 700px) {
  .reading-steps { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .reading-step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; }
  .step-number { width: 44px; height: 44px; grid-row: 1 / span 2; margin-bottom: 0; }
  .reading-step h3 { margin-top: 7px; margin-bottom: 10px; font-size: 18px; }
  .reading-step p { grid-column: 2; }
  .reading-step:not(:last-child)::after { top: 56px; bottom: -18px; left: 21px; right: auto; width: 1px; height: auto; }
  .reading-panel { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  :root { --header-height: 68px; }
  .wrap { width: calc(100% - 40px); }
  .header-inner { gap: 14px; }
  .brand { font-size: 21px; gap: 6px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 10px; }
  .brand-wordmark span { font-size: 12px; margin-left: 5px; }
  .header-cta { font-size: 12px; padding: 10px 13px; border-radius: 10px; }
  .hero-inner { padding-block: 96px; }
  h1 { font-size: clamp(38px, 10.5vw, 58px); line-height: 1.25; }
  .hero-subtitle { font-size: 22px; margin-top: 15px; }
  .hero-copy { font-size: 14px; margin-top: 22px; }
  .desktop-break { display: none; }
  .actions { flex-direction: column; gap: 8px; margin-top: 26px; max-width: none; }
  .button { width: 100%; min-height: 54px; padding: 14px 20px; }
  .secondary { border-color: transparent; background: transparent; min-height: 44px; padding-block: 10px; }
  .section { padding-block: 54px; }
  h2, .section-heading h2 { font-size: 27px; }
  .section-heading { margin-bottom: 30px; }
  .section-heading p { font-size: 14px; margin-top: 13px; }
  .categories { gap: 7px; margin-bottom: 23px; justify-content: flex-start; font-size: 11px; }
  .categories li { padding: 7px 11px; }
  .comic-grid { gap: 18px; }
  .comic-card h3 { font-size: 18px; }
  .tags { font-size: 11px; margin-top: 16px; }
  .synopsis { font-size: 13px; margin-top: 10px; }
  .reading-panel { margin-top: 32px; padding: 23px 20px; gap: 26px; border-radius: 18px; }
  .reading-step p { font-size: 13px; }
  .small-heading { font-size: 17px; }
  .reading-settings > p + p { font-size: 13px; }
  .setting-list { margin-top: 16px; }
  .shelf-panel { padding: 17px; }
  .shelf-row { gap: 12px; }
  .shelf-info > p { font-size: 15px; }
  .core-grid { grid-template-columns: 1fr; gap: 15px; }
  .core-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; padding: 22px; }
  .feature-icon { grid-row: 1 / span 2; width: 40px; height: 40px; margin: 0; border-radius: 12px; }
  .feature-icon .icon { width: 22px; height: 22px; }
  .core-card h3 { font-size: 20px; line-height: 1.5; margin-bottom: 8px; }
  .core-card p { grid-column: 2; font-size: 14px; }
  summary { font-size: 15px; padding-block: 21px; }
  .download h2 { font-size: clamp(23px, 6.2vw, 30px); }
  .download p { font-size: 14px; }
  .download-button { max-width: 360px; }
  .footer-inner { align-items: center; flex-direction: row; gap: 16px; }
  .footer-links { width: auto; flex: 0 0 auto; margin-left: auto; white-space: nowrap; }
  .site-footer { padding-block: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:hover, .header-cta:hover, .comic-card:hover .cover-link, .core-card:hover, .core-card:hover .feature-icon, .button:hover .icon, summary:hover::after, .button:active, .header-cta:active { transform: none; }
  *, *::before, *::after { transition: none !important; }
}
