/* runway漫画 · 奶油玫瑰 / 轻熟书刊 */
:root {
  --paper: #f8f3ed;
  --surface: #fffdf9;
  --rose: #efdde0;
  --rose-soft: #f4e9e8;
  --wine: #8e2946;
  --wine-dark: #712039;
  --ink: #2b2225;
  --muted: #6d6165;
  --line: #d9ccca;
  --header-height: 80px;
  --ease: cubic-bezier(.22,.61,.36,1);
}
* { 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", "Microsoft YaHei", sans-serif; font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
::selection { background: var(--rose); color: var(--wine-dark); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: inherit; font-weight: 600; }
h1 { font-size: clamp(32px,3.45vw,50px); line-height: 1.48; letter-spacing: -.035em; }
h2 { font-size: clamp(28px,2.65vw,38px); line-height: 1.5; letter-spacing: -.025em; }
h3 { font-size: 19px; line-height: 1.5; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--wine); outline-offset: 5px; }
.container { width: min(1200px,calc(100% - 96px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 20; height: var(--header-height); background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-family: inherit; line-height: 1.3; transition: color .22s; }
.brand-logo { width: 100px; height: auto; flex: 0 0 auto; transition: opacity .22s; }
.brand span { font-size: 15px; font-weight: 500; letter-spacing: .04em; transform: translateY(3px); }
.main-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; font-size: 14px; }
.main-nav a { display: flex; align-items: center; min-height: 44px; position: relative; transition: color .2s; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--wine); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.header-download { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 19px; background: var(--wine); color: white; font-size: 14px; border: 1px solid var(--wine); border-radius: 2px; transition: background .2s,border-color .2s; }
.hero { padding: 84px 0 80px; }
.hero-inner { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 60px; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--wine); font-size: 13px; letter-spacing: .16em; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.title-accent { display: block; margin-top: 10px; color: var(--wine); }
.title-phrase { display: inline-block; }
.hero-intro { max-width: 29em; color: var(--muted); margin-top: 26px; line-height: 1.95; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 12px 28px; background: var(--wine); color: white; border: 1px solid var(--wine); border-radius: 2px; font-weight: 600; font-size: 16px; box-shadow: 0 4px 12px #8e294612; transition: background .22s,border-color .22s,box-shadow .22s,transform .22s var(--ease); }
.download-icon { display: inline-block; flex: 0 0 19px; width: 19px; height: 19px; background-color: currentColor; mask: url("../images/icon-download.svg") center / contain no-repeat; -webkit-mask: url("../images/icon-download.svg") center / contain no-repeat; }
.secondary-link { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 44px; font-weight: 600; font-size: 16px; transition: color .2s; }
.secondary-link span { display: inline-block; transition: transform .22s var(--ease); }
.hero-gallery { min-width: 0; position: relative; padding-top: 14px; }
.hero-primary, .hero-secondary { position: relative; height: auto; border: 7px solid var(--paper); transform: rotate(-3deg); box-shadow: 0 16px 32px #4b283a14; transition: transform .35s var(--ease),box-shadow .35s; }
.hero-primary { width: 100%; }
.hero-secondary { width: 56%; margin: -48px 2px 0 auto; }
.section { padding: 86px 0; border-top: 1px solid var(--line); }
.section-heading { margin-bottom: 38px; }
.section-heading p { margin-top: 14px; color: var(--muted); max-width: 42em; }
.comic-groups { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.comic-group { min-width: 0; }
.comic-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; align-items: stretch; }
.comic-card { min-width: 0; padding-bottom: 22px; border-bottom: 1px solid var(--line); transition: border-color .25s; }
.comic-media { aspect-ratio: 8 / 5; background: #ede3e1; overflow: hidden; }
.comic-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s var(--ease); }
.genre { color: var(--wine); font-size: 12px; letter-spacing: .05em; margin: 19px 0 9px; }
.comic-card h3 { font-size: 19px; font-weight: 600; transition: color .25s; }
.comic-description { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.features-section { background: var(--surface); }
.feature-layout, .faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.feature-layout { grid-template-columns: 1.2fr .8fr; }
.feature-heading { grid-column: 2; grid-row: 1; margin-bottom: 0; padding-top: 3px; }
.feature-heading::after { content: ""; display: block; height: 2px; width: 48px; background: var(--wine); margin-top: 26px; }
.feature-list { grid-column: 1; grid-row: 1; }
.feature { padding: 26px 0; border-top: 1px solid var(--line); }
.feature:first-child { padding-top: 0; border-top: 0; }
.feature:last-child { padding-bottom: 0; }
.feature h3 { color: var(--wine-dark); font-size: 18px; }
.feature p { margin-top: 10px; color: var(--muted); }
.faq-section { background: var(--surface); }
.faq-layout .section-heading { margin-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 23px 44px 23px 0; font-weight: 600; font-size: 15px; position: relative; list-style: none; transition: color .2s,background-color .2s; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; color: var(--wine); border-radius: 50%; background-image: linear-gradient(currentColor,currentColor),linear-gradient(currentColor,currentColor); background-position: center; background-size: 12px 2px,2px 12px; background-repeat: no-repeat; pointer-events: none; transition: color .22s,background-color .22s; }
details[open] summary { color: var(--wine-dark); }
details[open] summary::after { background-size: 12px 2px,0 0; }
details p { color: var(--muted); padding: 0 32px 25px 0; font-size: 15px; line-height: 1.95; }
.download-section { background: var(--rose); background-image: radial-gradient(ellipse at 50% 0%,#fffdf94d,transparent 70%); padding: 88px 0; }
.download-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; text-align: center; }
.download-inner h2 { color: var(--wine-dark); }
.download-inner p { margin-top: 16px; color: var(--muted); }
.download-inner .button { flex-shrink: 0; min-width: 212px; }
.site-footer { padding: 44px 0 36px; background: var(--paper); }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; align-items: end; }
.site-footer p, .footer-meta a { font-size: 12px; color: var(--muted); }
.site-footer p { margin-top: 12px; }
.footer-meta { text-align: right; }
.footer-meta a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; transition: color .2s,text-decoration-color .2s; }
/* Interactive feedback: keyboard matches hover, touch retains press states. */
.brand:focus-visible, .main-nav a:focus-visible, .secondary-link:focus-visible, .footer-meta a:focus-visible, summary:focus-visible { color: var(--wine); }
.brand:focus-visible .brand-logo { opacity: .82; }
.main-nav a:focus-visible::after { transform: scaleX(1); }
.header-download:focus-visible, .button:focus-visible { background: var(--wine-dark); border-color: var(--wine-dark); }
.footer-meta a:focus-visible { text-decoration-color: currentColor; }
summary:focus-visible { background-color: #f4e9e866; }
summary:focus-visible::after { background-color: var(--wine); color: var(--surface); }
@media (hover:hover) and (pointer:fine) {
  .brand:hover, .main-nav a:hover, .secondary-link:hover, .footer-meta a:hover, summary:hover { color: var(--wine); }
  .brand:hover .brand-logo { opacity: .82; }
  .main-nav a:hover::after { transform: scaleX(1); }
  .header-download:hover, .button:hover { background: var(--wine-dark); border-color: var(--wine-dark); }
  .button:hover { box-shadow: 0 7px 16px #8e29461a; transform: translateY(-2px); }
  .secondary-link:hover span { transform: translateX(4px); }
  .footer-meta a:hover { text-decoration-color: currentColor; }
  summary:hover { background-color: #f4e9e866; }
  summary:hover::after { background-color: var(--wine); color: var(--surface); }
  .hero-primary:hover, .hero-secondary:hover { transform: rotate(-1deg); box-shadow: 0 20px 36px #4b283a20; }
  .comic-card:hover { border-color: var(--wine); }
  .comic-card:hover h3 { color: var(--wine); }
  .comic-card:hover .comic-media img { transform: scale(1.035); }
}
.button:active, .header-download:active { background: var(--wine-dark); border-color: var(--wine-dark); box-shadow: none; transform: translateY(1px); }
.brand:active, .main-nav a:active, .secondary-link:active, .footer-meta a:active { color: var(--wine-dark); }
.brand:active .brand-logo { opacity: .7; }
.secondary-link:active span { transform: translateX(2px); }
summary:active { color: var(--wine-dark); background-color: var(--rose-soft); }
summary:active::after { background-color: var(--wine-dark); color: var(--surface); }
@media (max-width:1100px) {
  .container { width: calc(100% - 64px); }
  .hero-inner { gap: 36px; }
  .hero { padding: 64px 0; }
  .comic-grid { gap: 20px; }
  .feature-layout, .faq-layout { gap: 48px; }
}
@media (max-width:900px) {
  :root { --header-height: 72px; }
  .brand-logo { width: 96px; }
  .main-nav { display: none; }
  .header-download { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 46px; }
  h1 br, h2 br { display: none; }
  h1, h2 { text-wrap: balance; }
  .hero-actions { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); align-items: stretch; gap: 16px; }
  .hero-actions .button, .hero-actions .secondary-link { width: 100%; }
  .hero-gallery { width: calc(100% - 14px); max-width: 620px; margin-inline: auto; }
  .hero-secondary { width: 50%; }
  .comic-groups { grid-template-columns: 1fr; gap: 48px; }
  .comic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 34px 24px; }
  .feature-layout, .faq-layout { grid-template-columns: 1fr; gap: 36px; }
  .feature-heading { grid-column: auto; grid-row: 1; padding-top: 0; }
  .feature-list { grid-column: auto; grid-row: 2; }
  .section { padding: 64px 0; }
}
@media (max-width:600px) {
  :root { --header-height: 56px; }
  .container { width: calc(100% - 40px); }
  .header-inner { gap: 12px; }
  .brand { gap: 4px; }
  .brand-logo { width: 90px; }
  .brand span { font-size: 14px; transform: translateY(2px); }
  .header-download { position: relative; min-height: 36px; font-size: 12px; padding: 5px 12px; }
  .header-download::before { content: ""; position: absolute; inset: -4px 0; }
  .hero { padding: 42px 0 48px; }
  h1 { font-size: 30px; letter-spacing: -.035em; }
  h2 { font-size: 28px; }
  .eyebrow { font-size: 12px; margin-bottom: 18px; }
  .hero-intro { font-size: 15px; margin-top: 20px; }
  .hero-actions { grid-template-columns: 1fr; gap: 10px; margin-top: 26px; }
  .hero-primary, .hero-secondary { border-width: 5px; }
  .hero-secondary { width: 58%; margin-top: -30px; }
  .section { padding: 48px 0; }
  .section-heading { margin-bottom: 28px; }
  .feature-heading { margin-bottom: 0; }
  .section-heading p { font-size: 15px; }
  .comic-groups { gap: 40px; }
  .comic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px 16px; }
  .comic-card h3 { font-size: 17px; text-wrap: balance; }
  .genre { margin-top: 16px; }
  .comic-description { margin-top: 8px; text-wrap: balance; }
  .feature-layout, .faq-layout { gap: 30px; }
  .feature-heading::after { margin-top: 22px; }
  .feature p { font-size: 15px; }
  summary { padding-block: 21px; }
  details p { padding-right: 12px; }
  .download-inner { gap: 26px; }
  .download-inner .button { width: 100%; }
  .download-inner p { font-size: 15px; }
  .site-footer { padding: 28px 0 24px; }
  .footer-inner { align-items: center; gap: 16px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
