:root {
  color-scheme: light;
  --ink: #20231c;
  --muted: #64675e;
  --line: #e7e5dc;
  --paper: #fffcf3;
  --white: #ffffff;
  --accent: #ffd84d;
  --accent-hover: #f4c732;
  --accent-soft: #fff2b5;
  --surface: #f6f6f0;
  --on-dark-muted: #c5c8bd;
  --radius: 12px;
  --motion: 180ms ease;
  --hover-line: #d6c467;
  --hover-shadow: 0 6px 18px #20231c0d;
  --header-height: 89px;
}
* { box-sizing: border-box; }
html {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--white);
  scroll-padding-top: var(--header-height);
  scroll-behavior: smooth;
}
body { margin: 0; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.3; }
h2 { font-size: clamp(28px, 2.6vw, 36px); font-weight: 750; letter-spacing: -.035em; }
h3 { font-size: 21px; font-weight: 650; }
h1[id], h2[id] { scroll-margin-top: 24px; }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--ink); }
.container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.icon { display: inline-block; flex-shrink: 0; background-color: currentColor; mask: var(--icon-source) center / contain no-repeat; }
.icon-image { --icon-source: url("../images/icon-image.svg"); }
.icon-moon { --icon-source: url("../images/icon-moon.svg"); }
.icon-download { --icon-source: url("../images/icon-download.svg"); }
.icon-bookmark { --icon-source: url("../images/icon-bookmark.svg"); }
.icon-android { --icon-source: url("../images/icon-android.svg"); }
.icon-apple { --icon-source: url("../images/icon-apple.svg"); }

.site-header { position: sticky; top: 0; z-index: 5; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; min-height: 88px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 750; letter-spacing: -.025em; white-space: nowrap; transition: opacity var(--motion); }
.brand img { border-radius: 11px; }
.brand:focus-visible, .brand:active { opacity: .78; }
.site-nav { display: flex; justify-content: center; gap: 28px; }
.site-nav a { position: relative; display: flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 14px; white-space: nowrap; transition: color var(--motion); }
.site-nav a::after { content: ""; position: absolute; bottom: 4px; left: 0; right: 0; height: 3px; border-radius: 2px; background: var(--accent); opacity: 0; transition: opacity var(--motion); }
.site-nav a:focus-visible, .site-nav a:active { color: var(--ink); }
.site-nav a:focus-visible::after, .site-nav a:active::after { opacity: 1; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 54px; padding: 14px 26px; background: var(--accent); color: var(--ink); border: 1px solid transparent; border-radius: var(--radius); font-size: 15px; line-height: 1.5; font-weight: 650; text-align: center; transition: background-color var(--motion), border-color var(--motion), color var(--motion), box-shadow var(--motion), transform var(--motion); }
.button > span { transition: transform var(--motion); }
.button:focus-visible { background: var(--accent-hover); box-shadow: var(--hover-shadow); }
.button:active { background: var(--accent-hover); transform: translateY(0); box-shadow: inset 0 2px 4px #20231c14; }
.button-small { min-height: 38px; padding: 7px 18px; font-size: 14px; border-radius: 10px; }
.button-secondary { background: var(--white); color: var(--ink); border-color: #d6d4c8; box-shadow: none; }
.button-secondary:focus-visible { background: var(--white); border-color: var(--ink); box-shadow: var(--hover-shadow); }
.button-secondary:active { background: var(--surface); border-color: var(--ink); box-shadow: none; }

main > section + section, .site-footer { border-top: 1px solid var(--line); }
.hero { position: relative; isolation: isolate; background: var(--paper); text-align: center; }
.hero::before, .hero::after, .download::before, .download::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.hero::before, .download::before { background: repeating-linear-gradient(12deg, var(--texture-fiber, #665d3c07) 0 .5px, transparent .5px 3px), repeating-linear-gradient(102deg, var(--texture-cross, #665d3c05) 0 .5px, transparent .5px 7px); }
.hero::after, .download::after { background: radial-gradient(circle, var(--texture-dot, #aa850a40) 1.2px, transparent 1.6px) 0 0 / 12px 12px; mask-image: radial-gradient(ellipse 30% 85% at 0% 40%, #000a, transparent), radial-gradient(ellipse 30% 85% at 100% 65%, #000a, transparent); }
.hero-inner { padding-block: 72px 80px; }
.hero-copy h1 { font-size: clamp(44px, 4.45vw, 64px); line-height: 1.25; font-weight: 800; letter-spacing: -.05em; }
.hero-copy h1 .hero-name { display: block; }
.hero-copy h1 .hero-tagline { display: table; max-width: 100%; margin: 5px auto 0; padding-inline: 6px; background: linear-gradient(transparent 69%, var(--accent) 69%, var(--accent) 92%, transparent 92%); }
.hero-copy > p { max-width: 600px; margin: 26px auto 0; color: var(--muted); font-size: 17px; line-height: 1.9; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-actions .button { min-width: 220px; font-size: 18px; }
.hero-actions .button-hero-download { padding: 16px 28px; }
.button-hero-download .icon { width: 22px; height: 22px; }

.section { padding-block: 88px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 34px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; font-weight: 600; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.text-link > span { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); transition: background-color var(--motion), transform var(--motion); }
.text-link:focus-visible { text-decoration-line: underline; }
.text-link:focus-visible > span, .text-link:active > span { background: var(--accent); }

.comic-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 28px; }
.comic-card { min-width: 0; }
.comic-cover { overflow: hidden; border-radius: var(--radius); background: var(--surface); border: 1px solid #20231c0d; box-shadow: 0 5px 16px #20231c08; transition: border-color var(--motion), box-shadow var(--motion); }
.comic-cover img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; transition: transform var(--motion); }
.comic-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; font-size: 12px; line-height: 1.6; }
.comic-tags span { padding: 3px 8px; border-radius: 5px; background: var(--paper); color: #676044; }
.comic-card h3 { margin-top: 10px; letter-spacing: -.02em; }
.author { margin-top: 6px; color: var(--muted); font-size: 13px; }
.comic-description { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.85; }

.reading { background: var(--surface); }
.feature-list { --card-columns: 4; display: grid; grid-template-columns: repeat(var(--card-columns), minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: auto; align-items: stretch; align-content: start; height: auto; min-height: 0; gap: 20px; margin-top: 36px; }
.feature { height: auto; min-height: 0; aspect-ratio: auto; min-width: 0; padding: 28px 24px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; transition: background-color var(--motion), border-color var(--motion), box-shadow var(--motion); }
.feature-symbol { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 24px; border-radius: 14px; background: var(--accent-soft); color: var(--ink); transition: background-color var(--motion); }
.feature-icon { display: block; width: 28px; height: 28px; }
.feature p { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.85; }

.community { padding-block: 64px; background: var(--accent-soft); }
.community-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.community-copy > p { max-width: 540px; margin-top: 18px; color: #5c563e; line-height: 1.9; }
.community-copy .text-link { margin-top: 18px; }
.community-copy .text-link > span { background: var(--white); }
.community-copy .text-link:focus-visible > span, .community-copy .text-link:active > span { background: var(--accent); }
.topic-list { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; padding: 0; list-style: none; }
.topic-list li { padding: 14px 20px; border: 1px solid #20231c0d; border-radius: 100px; font-size: 16px; font-weight: 600; background: var(--white); transition: background-color var(--motion), border-color var(--motion); }
.topic-list li span { color: #806300; margin-right: 6px; }

.feedback { background: var(--paper); }
.feedback-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: auto; align-items: stretch; align-content: start; gap: 24px; height: auto; min-height: 0; }
.feedback-card { min-width: 0; height: auto; min-height: 0; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; transition: border-color var(--motion), box-shadow var(--motion); }
.feedback-topic { display: inline-block; padding: 4px 10px; border-radius: 6px; background: var(--accent-soft); font-size: 12px; font-weight: 600; }
.feedback-text { margin-top: 18px; font-size: 16px; line-height: 1.9; }
.feedback-author { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.feedback-author strong { display: block; font-size: 14px; font-weight: 650; }
.feedback-author span { flex-shrink: 0; color: var(--muted); font-size: 12px; white-space: nowrap; }

.faq-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 72px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { padding-block: 26px; border-bottom: 1px solid var(--line); transition: background-color var(--motion); }
.faq-item h3 { font-size: 18px; line-height: 1.5; }
.faq-item p { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.9; }

.download { --texture-fiber: #fff2b509; --texture-cross: #fff2b506; --texture-dot: #ffd84d40; position: relative; isolation: isolate; padding-block: 64px 72px; background: var(--ink); color: var(--white); text-align: center; }
.download-inner { display: flex; flex-direction: column; align-items: center; }
.download-logo { margin-bottom: 24px; border-radius: 15px; }
.download h2 { font-size: clamp(30px, 3vw, 42px); letter-spacing: -.035em; }
.download p { margin-top: 16px; color: var(--on-dark-muted); }
.download-actions { display: flex; justify-content: center; flex-wrap: wrap; width: min(100%, 360px); gap: 16px; margin-top: 30px; }
.download-actions .button { width: 100%; min-width: 0; min-height: 64px; padding-block: 17px; font-size: 18px; }
.download-actions .icon { width: 22px; height: 22px; }
.download a:focus-visible { outline-color: var(--accent); }

.footer-inner { display: flex; align-items: center; gap: 32px; padding-block: 28px; }
.footer-brand { font-size: 18px; gap: 10px; }
.footer-brand img { border-radius: 8px; }
.footer-inner p { color: var(--muted); font-size: 13px; }
.footer-inner > .text-link { margin-left: auto; }

@media (hover: hover) and (pointer: fine) {
  .brand:hover { opacity: .78; }
  .site-nav a:hover { color: var(--ink); }
  .site-nav a:hover::after { opacity: 1; }
  .button:hover:not(:active) { background: var(--accent-hover); box-shadow: var(--hover-shadow); transform: translateY(-2px); }
  .button-secondary:hover:not(:active) { background: var(--white); border-color: var(--ink); }
  .header-action:hover:not(:active) > span { transform: translate(2px, -2px); }
  .button-hero-download:hover:not(:active) > .icon { transform: translateY(1px); }
  .button-secondary:hover:not(:active) > span { transform: translateY(2px); }
  .text-link:hover { text-decoration-line: underline; }
  .text-link:hover > span { background: var(--accent); transform: translate(2px, -2px); }
  .footer-inner .text-link:hover > span { transform: translateY(-2px); }
  .comic-card:hover .comic-cover { border-color: var(--hover-line); box-shadow: var(--hover-shadow); }
  .comic-card:hover .comic-cover img { transform: scale(1.025); }
  .feature:hover { background: var(--paper); border-color: var(--hover-line); box-shadow: var(--hover-shadow); }
  .feature:hover .feature-symbol { background: var(--accent); }
  .topic-list li:hover { background: var(--paper); border-color: var(--hover-line); }
  .feedback-card:hover { border-color: var(--hover-line); box-shadow: var(--hover-shadow); }
  .faq-item:hover { background: var(--paper); }
}

@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .header-inner { gap: 22px; }
  .site-nav { gap: 20px; }
  .brand { font-size: 20px; gap: 10px; }
  .comic-list { gap: 20px; }
  .feature-list { --card-columns: 2; gap: 24px; }
  .community-inner { gap: 36px; }
  .topic-list li { padding-inline: 16px; font-size: 15px; }
  .faq-inner { grid-template-columns: .8fr 2fr; gap: 48px; }
}
@media (max-width: 1023px) {
  :root { --header-height: 77px; }
  .header-inner { grid-template-columns: 1fr auto; min-height: 76px; padding-block: 14px; }
  .site-nav { display: none; }
  .hero-actions .button-secondary, .hero-actions .button-secondary:hover, .hero-actions .button-secondary:active, .hero-actions .button-secondary:focus-visible { background: transparent; border-color: transparent; box-shadow: none; }
  .hero-actions .button-secondary:active { color: var(--muted); }
}
@media (max-width: 850px) {
  .hero-inner { padding-block: 56px 64px; }
  .hero-copy h1 { font-size: 44px; }
  .hero-copy > p { max-width: 540px; font-size: 16px; margin-top: 22px; }
  .comic-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .section { padding-block: 64px; }
  .community-inner { grid-template-columns: 1fr; gap: 28px; }
  .topic-list { justify-content: flex-start; }
  .community { padding-block: 48px; }
  .faq-inner { grid-template-columns: 1fr; gap: 26px; }
  .feedback-list { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 600px) {
  :root { --header-height: 73px; }
  .container { width: calc(100% - 48px); }
  .brand { font-size: 19px; gap: 9px; }
  .brand img { width: 36px; height: 36px; border-radius: 9px; }
  .button-small { min-height: 38px; padding-inline: 12px; font-size: 13px; gap: 8px; }
  .header-inner { min-height: 72px; padding-block: 12px; }
  .hero-inner { padding-block: 44px 48px; }
  .hero::after, .download::after { opacity: .8; background-size: 10px 10px; mask-image: radial-gradient(ellipse 22% 60% at 0% 20%, #000a, transparent), radial-gradient(ellipse 22% 60% at 100% 80%, #000a, transparent); }
  .hero-copy h1 { font-size: clamp(30px, 8.5vw, 42px); line-height: 1.35; }
  .hero-copy h1 .hero-tagline { margin-top: 2px; font-size: clamp(22px, 6vw, 32px); }
  .hero-copy > p { margin-top: 22px; line-height: 1.85; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 26px; }
  .hero-actions .button { flex: none; width: 100%; padding: 13px 10px; gap: 7px; font-size: 16px; }
  .hero-actions .button-secondary { min-height: 44px; padding-block: 8px; }
  .section { padding-block: 48px; }
  .section-heading { display: block; margin-bottom: 24px; }
  .section-heading .text-link { margin-top: 8px; }
  .feedback-card { padding: 24px; }
  h2 { font-size: 28px; }
  .comic-list { gap: 32px 16px; }
  .comic-card h3 { font-size: 18px; margin-top: 8px; }
  .comic-tags { margin-top: 14px; }
  .comic-description { font-size: 14px; margin-top: 10px; }
  .feature-list { --card-columns: 1; margin-top: 28px; gap: 16px; }
  .feature { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 22px 20px; }
  .feature-symbol { grid-row: 1 / 3; width: 44px; height: 44px; margin: 0; border-radius: 12px; }
  .feature-icon { width: 24px; height: 24px; }
  .feature h3 { font-size: 20px; padding-top: 6px; }
  .feature p { grid-column: 2; margin-top: 9px; }
  .community { padding-block: 40px; }
  .community h2 { font-size: 27px; }
  .topic-list { gap: 9px; }
  .topic-list li { padding: 10px 12px; font-size: 14px; }
  .topic-list li span { margin-right: 2px; }
  .faq-item { padding-block: 23px; }
  .faq-item h3 { font-size: 17px; }
  .download { padding-block: 48px 52px; }
  .download-logo { width: 56px; height: 56px; margin-bottom: 24px; }
  .download h2 { max-width: 300px; font-size: 30px; line-height: 1.4; }
  .download h2 span { display: block; }
  .download-actions { flex-direction: column; align-self: center; gap: 12px; margin-top: 28px; }
  .footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding-block: 24px; }
  .footer-brand { font-size: 17px; }
  .footer-brand img { width: 30px; height: 30px; }
  .footer-inner p { grid-column: 1 / -1; grid-row: 2; }
  .footer-inner > .text-link { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .button, .button > span, .text-link > span, .comic-cover img { transform: none !important; }
}
