:root {
  --ink: #161616;
  --paper: #fffaf7;
  --pink: #ff4f87;
  --pink-dark: #d92e67;
  --lemon: #f5e84f;
  --line: #262626;
  --muted: #625c59;
  --soft: #f3ebe7;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, Helvetica, sans-serif;
  line-height: 1.7;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.site-header { border-bottom: 2px solid var(--line); background: rgba(255,250,247,.96); position: sticky; top: 0; z-index: 20; }
.header-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 850; text-decoration: none; white-space: nowrap; }
.brand img { width: 38px; height: 38px; border: 1px solid var(--ink); }
.site-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 700; }
.site-nav a { text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 7px; text-decoration-color: var(--pink); }
.download-link, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; background: var(--pink); color: #161616; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); font-weight: 850; text-decoration: none; }
.download-link:hover, .button:hover { background: var(--lemon); transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }
.button.secondary { background: transparent; box-shadow: none; }
.menu-button { display: none; width: 44px; height: 44px; border: 2px solid var(--ink); background: var(--paper); padding: 10px; }
.menu-button span { display: block; height: 2px; background: var(--ink); margin: 5px 0; }

.hero { border-bottom: 2px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: minmax(0, .88fr) minmax(460px, 1.12fr); gap: 56px; align-items: center; padding: 52px 0 42px; }
.eyebrow { display: inline-block; margin-bottom: 16px; padding: 4px 10px; background: var(--lemon); border: 1px solid var(--ink); font-size: 12px; font-weight: 900; letter-spacing: 0; }
h1, h2, h3 { margin-top: 0; line-height: 1.16; letter-spacing: 0; }
h1 { font-size: clamp(40px, 5.1vw, 72px); max-width: 9em; margin-bottom: 20px; }
.hero-copy p { max-width: 610px; color: #3f3a38; font-size: 17px; margin: 0 0 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { min-width: 0; display: grid; grid-template-columns: .82fr 1fr 1fr; gap: 12px; align-items: center; position: relative; }
.hero-media::before { content: "03 / READING VIEWS"; position: absolute; right: 0; top: -28px; font-size: 11px; font-weight: 900; }
.hero-media img { width: 100%; max-width: 400px; height: auto; border: 2px solid var(--ink); box-shadow: 7px 7px 0 var(--pink); background: #fff; }
.hero-media img:nth-child(1) { transform: translateY(10px); }
.hero-media img:nth-child(2) { transform: translateY(-8px); }
.hero-media img:nth-child(3) { transform: translateY(16px); }

.category-strip { border-bottom: 2px solid var(--line); background: var(--ink); color: #fff; }
.category-strip .shell { display: grid; grid-template-columns: repeat(4, 1fr); }
.category-item { padding: 18px 22px; border-right: 1px solid #686868; }
.category-item:first-child { border-left: 1px solid #686868; }
.category-item b { color: var(--lemon); display: block; font-size: 12px; }
.section { padding: 72px 0; border-bottom: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 220px 1fr; gap: 40px; margin-bottom: 36px; align-items: end; }
.section-heading h2 { font-size: 34px; margin: 0; }
.section-note { max-width: 700px; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 2px solid var(--line); }
.feature { min-width: 0; padding: 26px; border-right: 1px solid var(--line); }
.feature:last-child { border-right: 0; }
.feature .number { font-size: 12px; font-weight: 900; color: var(--pink-dark); }
.feature h3 { margin: 32px 0 10px; font-size: 19px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; }
.gallery-card { min-width: 0; }
.gallery-frame { background: #eadfda; min-height: 470px; display: flex; align-items: center; justify-content: center; padding: 22px; border: 1px solid var(--ink); }
.gallery-frame img { width: auto; max-width: min(100%, 400px); max-height: 520px; height: auto; object-fit: contain; }
.gallery-card h3 { margin: 18px 0 6px; }
.gallery-card p { margin: 0; color: var(--muted); font-size: 14px; }
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.path-card { border-top: 8px solid var(--pink); padding: 28px; background: #fff; outline: 1px solid var(--line); }
.path-card:nth-child(2) { border-color: var(--lemon); }
.path-card h3 { font-size: 24px; }
.path-card a { font-weight: 850; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.faq-list { border-top: 2px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-list summary { cursor: pointer; font-weight: 800; }
.faq-list p { color: var(--muted); margin: 12px 0 0; }
.download-band { background: var(--pink); border-bottom: 2px solid var(--line); }
.download-band .shell { min-height: 230px; display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.download-band h2 { font-size: 38px; margin-bottom: 8px; }
.download-band p { margin: 0; max-width: 620px; }
.download-band .button { background: var(--lemon); min-width: 140px; }

.page-hero { padding: 64px 0 48px; border-bottom: 2px solid var(--line); }
.page-hero h1 { max-width: 760px; font-size: clamp(38px, 5vw, 62px); }
.page-hero p { max-width: 760px; color: var(--muted); }
.article-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 56px; padding: 62px 0 80px; }
.article-index { position: sticky; top: 96px; align-self: start; border-top: 4px solid var(--pink); padding-top: 16px; font-size: 13px; }
.article-index a { display: block; margin: 10px 0; }
.article-body { max-width: 790px; }
.article-body section { scroll-margin-top: 100px; margin-bottom: 52px; }
.article-body h2 { font-size: 28px; margin-bottom: 16px; }
.article-body h3 { margin: 28px 0 8px; }
.article-body p, .article-body li { color: #3f3a38; }
.article-body li { margin: 8px 0; }
.notice { border-left: 7px solid var(--lemon); background: var(--soft); padding: 18px 20px; }
.step-list { counter-reset: step; list-style: none; padding: 0; }
.step-list li { counter-increment: step; padding: 16px 0 16px 56px; border-bottom: 1px solid #c8bdb7; position: relative; }
.step-list li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 14px; font-weight: 900; color: var(--pink-dark); }
.faq-page details { border: 1px solid var(--line); margin-bottom: 12px; padding: 18px 20px; background: #fff; }
.faq-page summary { font-weight: 850; cursor: pointer; }
.faq-page p { margin-bottom: 0; }
.site-footer { background: var(--ink); color: #fff; text-align: center; padding: 34px 20px; }
.site-footer p { margin: 6px auto; max-width: 900px; font-size: 13px; color: #ddd; text-align: center; }

@media (max-width: 900px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 62px; }
  .menu-button { display: block; margin-left: auto; }
  .site-nav { display: none; position: absolute; left: 14px; right: 14px; top: 62px; padding: 18px; background: var(--paper); border: 2px solid var(--ink); flex-direction: column; align-items: stretch; }
  .site-nav.is-open { display: flex; }
  .header-inner > .download-link { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; padding: 34px 0 32px; }
  h1 { font-size: clamp(38px, 11vw, 56px); }
  .hero-media { order: 2; grid-template-columns: .82fr 1fr 1fr; gap: 7px; }
  .hero-media::before { display: none; }
  .hero-media img { box-shadow: 4px 4px 0 var(--pink); }
  .category-strip .shell { grid-template-columns: 1fr 1fr; }
  .category-item:nth-child(odd) { border-left: 1px solid #686868; }
  .section { padding: 54px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 8px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature { border-bottom: 1px solid var(--line); }
  .feature:nth-child(2) { border-right: 0; }
  .gallery-grid, .path-grid { grid-template-columns: 1fr; }
  .gallery-frame { min-height: 420px; }
  .download-band .shell { min-height: 260px; padding: 34px 0; flex-direction: column; align-items: flex-start; }
  .article-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 42px; }
  .article-index { position: static; }
}

@media (max-width: 520px) {
  .brand span { font-size: 14px; }
  .hero-copy p { font-size: 15px; }
  .hero-media { width: calc(100% - 4px); }
  .category-item { padding: 14px 12px; font-size: 13px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { border-right: 0; }
  .gallery-frame { min-height: 370px; padding: 14px; }
  .page-hero { padding: 44px 0 34px; }
  .article-body h2 { font-size: 24px; }
}
