:root { --paper: #fff5e3; --ink: #20201e; --muted: #5b554d; --line: #d1c6b3; --accent: #d73b2e; --red: #ec503f; --yellow: #fbe24b; --header-height: 76px; --icon-search: url("../images/icon-search.svg"); --icon-book-open: url("../images/icon-book-open.svg"); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; font-size: 16px; line-height: 1.75; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.3; overflow-wrap: anywhere; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color 160ms ease; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.container { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.section { padding-block: 80px; }
.site-header { position: sticky; top: 0; z-index: 20; height: var(--header-height); border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { display: flex; align-items: center; gap: 36px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 25px; font-family: Impact, "Arial Narrow", sans-serif; font-weight: 900; letter-spacing: -1.1px; line-height: 1; }
.brand-image { width: 34px; height: 34px; flex: 0 0 auto; object-fit: contain; background: #ff8b3e; }
.header-inner nav { display: flex; gap: 30px; margin-left: auto; }
nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; }
nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 7px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; }
nav a:focus-visible::after { transform: scaleX(1); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 12px 24px; border: 1px solid transparent; border-radius: 999px; font-size: 18px; font-weight: 700; line-height: 1.5; text-align: center; transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.button-primary { width: 260px; max-width: 100%; color: var(--ink); background: var(--yellow); }
.header-download { min-height: 36px; padding: 6px 18px; font-size: 14px; background: var(--yellow); color: var(--ink); white-space: nowrap; }
.hero { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 60px; padding-block: 70px 64px; }
.hero-copy { min-width: 0; }
h1 { font-size: clamp(42px, 5vw, 68px); line-height: 1.18; font-weight: 900; letter-spacing: -1.8px; }
h1 span { display: inline-block; margin-top: 8px; }
.intro { margin-top: 28px; max-width: 32em; color: var(--muted); font-size: 17px; line-height: 1.9; }
.hero-actions { display: flex; margin-top: 30px; }
.hero-actions .button-primary { border-color: var(--ink); }
.hero-books { position: relative; min-width: 0; aspect-ratio: 1 / 1.08; color: var(--ink); isolation: isolate; }
.cover-pair { position: absolute; width: 59%; top: 7%; right: 3%; transform: rotate(5deg); }
.hero-cover { width: 100%; }
.hero-books figcaption { position: absolute; z-index: 1; left: -3%; top: 21%; width: 53%; display: flex; flex-direction: column; justify-content: space-between; padding: 28px 24px 24px; background: #ff8b3e; transform: rotate(-5deg); }
.collage-title { display: block; min-width: 0; font-family: Impact, "Arial Narrow", sans-serif; font-size: clamp(30px, 3.4vw, 48px); line-height: 1; font-weight: 900; letter-spacing: -1.5px; white-space: nowrap; }
.collage-copy { display: flex; flex-direction: column; gap: 5px; margin-top: 30px; padding-top: 16px; border-top: 1px solid #20201e66; font-size: 14px; line-height: 1.6; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
h2 { font-size: clamp(30px, 3vw, 42px); letter-spacing: -1px; font-weight: 900; }
.section-heading > p, .faq-heading > p { font-size: 14px; color: var(--muted); }
.book-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.book-card { min-width: 0; }
.book-image { aspect-ratio: 1; width: 100%; background: var(--paper); border: 1px solid #20201e99; box-shadow: 4px 4px 0 #20201e18; overflow: hidden; transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.book-image img { width: 100%; height: 100%; object-fit: contain; object-position: center; filter: saturate(.86) sepia(.08) contrast(.97); transition: filter 220ms ease; }
.book-copy { padding-top: 22px; }
.book-category { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.book-copy h3 { font-size: 22px; line-height: 1.5; }
.reading-section { background: #e84f40; color: #fffaf0; }
.reading-section .section { padding-block: 88px; }
.reading-section .section-heading > p { color: #fffaf0; }
.reading-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 80px; }
.reading-feature { background: var(--paper); color: var(--ink); padding: 38px; transform: rotate(-2deg); box-shadow: 8px 9px 0 #20201e18; transition: box-shadow 220ms ease; }
.reading-feature h3 { font-size: 36px; margin-bottom: 24px; font-weight: 900; }
.reading-feature p { font-size: 17px; line-height: 1.9; }
.reading-options article { padding-block: 24px; border-bottom: 1px solid #fffaf066; }
.reading-options article:first-child { padding-top: 0; }
.reading-options article:last-child { border: 0; padding-bottom: 0; }
.reading-options h3 { font-size: 25px; margin-bottom: 12px; }
.reading-options p { font-size: 16px; color: #fffaf0; }
.daily-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.daily-item { padding: 32px; border: 1px solid #20201e99; background: var(--paper); box-shadow: 4px 4px 0 #20201e18; min-width: 0; transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.daily-item h3 { font-size: 24px; margin-bottom: 12px; }
.daily-item p { color: var(--muted); font-size: 16px; margin-top: 16px; line-height: 1.9; }
.feature-icon { display: block; width: 36px; height: 36px; margin-bottom: 26px; background: currentColor; mask: var(--feature-icon) center / contain no-repeat; -webkit-mask: var(--feature-icon) center / contain no-repeat; transition: color 180ms ease; }
.icon-search { --feature-icon: var(--icon-search); }
.icon-bookshelf { --feature-icon: var(--icon-book-open); }
.icon-folder { position: relative; width: 34px; height: 26px; margin-top: 10px; background: transparent; border: 2px solid currentColor; border-radius: 3px; mask: none; -webkit-mask: none; }
.icon-folder::before { content: ""; position: absolute; left: -2px; top: -9px; width: 17px; height: 9px; border: 2px solid currentColor; border-bottom: 0; border-radius: 3px 3px 0 0; }
.faq-section { display: grid; grid-template-columns: .9fr 1.5fr; gap: 64px; }
.faq-heading p { margin-top: 20px; }
.faq-list article { padding: 24px 0; border-bottom: 1px solid var(--line); }
.faq-list article:first-child { padding-top: 0; }
.faq-list h3 { font-size: 19px; line-height: 1.6; }
.faq-list p { font-size: 15px; color: var(--muted); margin-top: 12px; }
.download-section { background: var(--ink); color: var(--paper); border-top: 1px solid var(--ink); }
.download-inner { display: flex; flex-direction: column; align-items: center; padding-block: 64px 32px; text-align: center; }
.download-heading { font-size: clamp(36px, 4vw, 48px); letter-spacing: -1px; }
.download-description { margin-top: 18px; font-size: 16px; color: #fff5e3cc; }
.download-inner > .button { margin-top: 28px; }
.download-section a:focus-visible { outline-color: var(--yellow); }
.footer-bottom { display: grid; grid-template-columns: minmax(0, 2fr) 1fr 1fr; align-items: start; width: 100%; gap: 48px; margin-top: 52px; padding-top: 36px; border-top: 1px solid #fff5e333; text-align: left; }
.footer-tagline { margin-top: 10px; color: #fff5e3aa; font-size: 14px; }
.footer-link-group h3 { margin: 0 0 12px; color: #fff5e388; font-size: 13px; font-weight: 500; letter-spacing: .06em; }
.footer-link-group nav { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.footer-meta { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 16px; margin-top: 32px; padding-top: 18px; border-top: 1px solid #fff5e322; color: #fff5e388; font-size: 12px; text-align: left; }
.footer-meta a { display: inline-flex; align-items: center; min-height: 44px; color: var(--paper); }
.button:active { transform: translateY(1px); box-shadow: none; }
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .hero { gap: 36px; }
  .reading-grid, .faq-section { gap: 40px; }
}
@media (max-width: 900px) {
  :root { --header-height: 68px; }
  .header-inner nav { display: none; }
  .header-download { margin-left: auto; }
  .section { padding-block: 60px; }
  .hero { gap: 28px; padding-block: 48px; }
  h1 { font-size: 44px; letter-spacing: -1.5px; }
  .intro { font-size: 15px; margin-top: 22px; }
  .hero-books figcaption { padding: 22px 18px 18px; }
  .collage-title { font-size: 30px; }
  .collage-copy { font-size: 12px; margin-top: 24px; padding-top: 12px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 12px; }
  .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .book-copy h3 { font-size: 20px; }
  .reading-feature { padding: 28px; }
  .reading-feature h3 { font-size: 29px; }
  .faq-section { grid-template-columns: 1fr 1.5fr; gap: 32px; }
  .faq-list h3 { font-size: 18px; }
  .daily-item { padding: 24px; }
  .daily-item h3 { font-size: 21px; }
  .daily-item p { font-size: 15px; }
}
@media (max-width: 640px) {
  :root { --header-height: 64px; }
  .container { width: calc(100% - 40px); }
  .header-inner { gap: 16px; }
  .brand { font-size: 23px; gap: 8px; }
  .brand-image { width: 32px; height: 32px; }
  .header-download { min-height: 32px; padding: 5px 15px; font-size: 13px; }
  .section { padding-block: 44px; }
  .hero { grid-template-columns: 1fr; padding-block: 36px 32px; gap: 24px; }
  h1 { font-size: clamp(36px, 9.6vw, 52px); line-height: 1.25; letter-spacing: -1px; }
  h1 span { margin-top: 6px; }
  .intro { font-size: 15px; margin-top: 22px; }
  .hero-actions { margin-top: 24px; }
  .hero-actions .button-primary { width: 100%; }
  .hero-books { width: 100%; max-width: 390px; aspect-ratio: auto; padding-block: 12px; margin: 0 auto; }
  .hero-books .cover-pair { display: none; }
  .hero-books figcaption { position: relative; top: auto; left: auto; width: min(320px, calc(100% - 24px)); margin-inline: auto; padding: 26px; }
  .collage-title { font-size: clamp(26px, 7.5vw, 32px); }
  h2 { font-size: 29px; letter-spacing: -.6px; }
  .section-heading { margin-bottom: 24px; }
  .section-heading > p { margin-top: 10px; font-size: 13px; }
  .book-grid { gap: 30px 20px; }
  .book-copy { padding-top: 16px; }
  .book-category { font-size: 12px; margin-bottom: 8px; }
  .book-copy h3 { font-size: 18px; }
  .reading-section .section { padding-block: 48px; }
  .reading-grid { grid-template-columns: 1fr; gap: 36px; }
  .reading-feature { margin-inline: 6px; padding: 26px; transform: rotate(-1.5deg); }
  .reading-feature h3 { font-size: 28px; }
  .reading-feature p { font-size: 15px; }
  .reading-options h3 { font-size: 23px; }
  .reading-options p { font-size: 15px; }
  .reading-options article { padding-block: 22px; }
  .daily { padding-block: 44px 24px; }
  .daily-grid { grid-template-columns: 1fr; gap: 14px; }
  .daily-item { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 10px 12px; padding: 18px; }
  .daily-item .feature-icon { width: 28px; height: 28px; margin: 0; }
  .daily-item .icon-folder { height: 22px; margin-top: 6px; }
  .daily-item h3 { margin: 0; font-size: 20px; }
  .daily-item p { grid-column: 1 / -1; margin: 0; font-size: 14px; line-height: 1.7; }
  .faq-section { grid-template-columns: 1fr; padding-block: 32px 44px; gap: 20px; }
  .faq-heading p { margin-top: 10px; font-size: 13px; }
  .faq-list article { padding-block: 18px; }
  .faq-list article:first-child { padding-top: 0; }
  .faq-list h3 { font-size: 18px; line-height: 1.5; }
  .faq-list p { font-size: 14px; margin-top: 12px; line-height: 1.7; }
  .download-inner { padding-block: 44px 24px; }
  .download-heading { font-size: clamp(30px, 8.5vw, 38px); }
  .download-description { margin-top: 14px; font-size: 14px; }
  .download-inner > .button { width: 100%; margin-top: 24px; }
  .footer-bottom { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 24px; margin-top: 40px; padding-top: 28px; }
  .footer-intro { grid-column: 1 / -1; }
  .footer-meta { margin-top: 24px; flex-wrap: wrap; gap: 4px 16px; }
}
@media (hover: hover) and (pointer: fine) {
  a:hover { text-decoration: underline; text-underline-offset: 4px; }
  nav a:hover { text-decoration: none; }
  nav a:hover::after { transform: scaleX(1); }
  .book-card:hover .book-image { transform: translateY(-3px); border-color: var(--ink); box-shadow: 6px 7px 0 #20201e25; }
  .book-card:hover .book-image img { filter: saturate(.96) sepia(.04) contrast(1); }
  .daily-item:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 6px 7px 0 #20201e25; }
  .daily-item:hover .feature-icon { color: var(--accent); }
  .reading-feature:hover { box-shadow: 11px 12px 0 #20201e25; }
  .button:hover { background: var(--ink); color: var(--paper); text-decoration: none; transform: translateY(-2px); box-shadow: 0 4px 0 #20201e20; }
  .button:active { transform: translateY(1px); box-shadow: none; }
  .download-section .button:hover { background: var(--paper); color: var(--ink); box-shadow: 0 4px 0 #00000040; }
  .download-section nav a:hover { color: var(--yellow); text-decoration: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  a, .button, nav a::after, .book-image, .book-image img, .daily-item, .feature-icon, .reading-feature { transition: none; }
  .button:hover, .button:active, .book-card:hover .book-image, .daily-item:hover { transform: none; }
}
