:root {
  --ink: #11131a;
  --violet: #3c2be5;
  --violet-dark: #24189f;
  --peach: #ff8b5c;
  --mint: #b9f4c8;
  --paper: #faf9f6;
  --white: #fff;
  --gray: #686873;
  --line: #d7d6dc;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; }

.wrap { width: min(calc(100% - 36px), var(--wrap)); margin-inline: auto; }
.skip-link {
  position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 8px 14px;
  color: var(--white); background: var(--ink); transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-head { position: sticky; top: 0; z-index: 100; border-bottom: 2px solid var(--ink); background: rgba(250,249,246,.96); }
.head-row { display: flex; min-height: 72px; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 22px; font-weight: 900; }
.brand img { width: 42px; height: 42px; border: 2px solid var(--ink); }
.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; margin: 0; padding: 0; gap: 5px; list-style: none; }
.nav-list a:not(.download-btn) { display: block; padding: 10px 12px; border: 2px solid transparent; font-weight: 800; line-height: 1.2; }
.nav-list a:not(.download-btn):hover, .nav-list a[aria-current="page"]:not(.download-btn) { border-color: var(--ink); background: var(--mint); }
.download-btn { display: inline-flex; min-height: 45px; align-items: center; justify-content: center; padding: 9px 18px; border: 2px solid var(--ink); border-radius: 3px; color: var(--white); background: var(--violet); box-shadow: 4px 4px 0 var(--ink); font-weight: 900; line-height: 1.2; transition: transform .15s, box-shadow .15s, background .15s; }
.download-btn:hover { background: var(--violet-dark); box-shadow: 2px 2px 0 var(--ink); transform: translate(2px,2px); }
.download-btn.mint { color: var(--ink); background: var(--mint); }
.download-btn.mint:hover { background: var(--white); }
.nav-toggle { display: none; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 2px solid var(--ink); border-radius: 3px; background: var(--mint); cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 3px; margin: 4px auto; background: var(--ink); }

.hero { border-bottom: 2px solid var(--ink); background: var(--mint); }
.hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(390px,.95fr); min-height: min(680px, calc(100vh - 72px)); align-items: center; gap: 50px; padding-block: 58px; }
.eyebrow { display: inline-block; margin-bottom: 18px; padding: 5px 11px; border: 2px solid var(--ink); background: var(--peach); font-size: 14px; font-weight: 900; }
h1,h2,h3 { margin-top: 0; line-height: 1.23; }
h1 { max-width: 660px; margin-bottom: 22px; font-size: clamp(42px,6.5vw,78px); font-weight: 900; }
h2 { margin-bottom: 28px; font-size: clamp(30px,4vw,48px); font-weight: 900; }
h3 { margin-bottom: 10px; font-size: 21px; font-weight: 900; }
.hero-lead { max-width: 620px; margin: 0 0 28px; color: #3b3a44; font-size: 18px; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 19px; }
.text-link { border-bottom: 3px solid var(--violet); font-weight: 900; }
.hero-tags { display: flex; flex-wrap: wrap; margin: 28px 0 0; padding: 0; gap: 9px; list-style: none; }
.hero-tags li { padding: 4px 9px; border: 1px solid var(--ink); background: var(--white); font-size: 14px; font-weight: 800; }
.hero-stage { position: relative; min-height: 540px; }
.stage-card { position: absolute; inset: 34px 0 16px 46px; border: 2px solid var(--ink); background: var(--violet); }
.stage-card::after { content: "追番索引"; position: absolute; right: -2px; bottom: -40px; padding: 5px 14px; border: 2px solid var(--ink); background: var(--peach); font-weight: 900; }
.phone { position: absolute; z-index: 2; overflow: hidden; border: 4px solid var(--ink); border-radius: 24px; background: var(--ink); }
.phone img { width: 100%; max-width: 390px; }
.phone.one { top: 0; left: 17%; width: 246px; box-shadow: 12px 12px 0 var(--peach); }
.phone.two { right: 0; bottom: 5px; width: 200px; box-shadow: 9px 9px 0 var(--white); }
.stage-label { position: absolute; z-index: 3; top: 52px; left: 0; width: 118px; padding: 14px 10px; border: 2px solid var(--ink); background: var(--white); font-weight: 900; line-height: 1.25; text-align: center; transform: rotate(-7deg); }

.stats { color: var(--white); background: var(--ink); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat { min-height: 120px; padding: 24px; border-right: 1px solid #4a4b54; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; margin-bottom: 3px; color: var(--mint); font-size: 26px; }
.stat span { color: #d9d8df; font-size: 14px; }

.section { padding-block: 84px; }
.section.paper { border-block: 2px solid var(--ink); background: var(--white); }
.section.violet { color: var(--white); background: var(--violet); }
.section.peach { border-block: 2px solid var(--ink); background: var(--peach); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; gap: 24px; }
.section-head h2 { margin-bottom: 0; }
.kicker { margin-bottom: 8px; color: var(--violet); font-size: 14px; font-weight: 900; }
.violet .kicker { color: var(--mint); }

.index-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.index-card { min-height: 270px; padding: 26px; border: 2px solid var(--ink); background: var(--paper); }
.index-card:nth-child(2) { background: #eeeaff; }
.index-card:nth-child(3) { background: #fff1e9; }
.index-mark { display: inline-grid; width: 44px; height: 44px; margin-bottom: 28px; place-items: center; border: 2px solid var(--ink); background: var(--mint); font-weight: 900; }
.index-card p { margin: 0; color: var(--gray); }

.gallery-grid { display: grid; grid-template-columns: minmax(280px,.8fr) minmax(0,1.2fr); align-items: center; gap: 68px; }
.gallery-phone { width: min(100%,350px); margin-inline: auto; padding: 8px; border: 4px solid var(--white); border-radius: 26px; background: var(--ink); box-shadow: 13px 13px 0 var(--mint); cursor: zoom-in; }
.gallery-phone img { width: 100%; max-width: 390px; border-radius: 17px; }
.gallery-tabs { display: grid; grid-template-columns: repeat(2,1fr); gap: 13px; }
.gallery-tab { min-height: 110px; padding: 17px; border: 2px solid var(--white); border-radius: 3px; color: var(--white); background: transparent; text-align: left; cursor: pointer; }
.gallery-tab:hover, .gallery-tab[aria-selected="true"] { border-color: var(--ink); color: var(--ink); background: var(--mint); }
.gallery-tab strong { display: block; margin-bottom: 4px; font-size: 18px; }
.gallery-tab span { display: block; font-size: 14px; }
.gallery-caption { margin: 20px 0 0; font-weight: 750; }

.path-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.path { display: grid; grid-template-columns: 95px 1fr; min-height: 220px; overflow: hidden; border: 2px solid var(--ink); background: var(--white); }
.path-num { display: grid; place-items: center; color: var(--white); background: var(--violet); font-size: 34px; font-weight: 900; }
.path:nth-child(2) .path-num { color: var(--ink); background: var(--mint); }
.path-body { padding: 25px; }
.path-body p { margin: 0 0 15px; color: var(--gray); }
.path-body a { border-bottom: 3px solid var(--peach); font-weight: 900; }

.quote-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.quote { margin: 0; padding: 23px; border: 2px solid var(--ink); background: var(--white); }
.quote p { margin: 0 0 15px; }
.quote cite { color: var(--gray); font-size: 14px; font-style: normal; font-weight: 800; }
.review-note { margin: 8px 0 0; color: var(--gray); font-size: 12px; }
.quote time { display: block; margin-top: 8px; color: var(--gray); font-size: 12px; }

.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 2px solid var(--ink); }
.faq-button { display: flex; width: 100%; min-height: 70px; align-items: center; justify-content: space-between; padding: 17px 2px; border: 0; color: var(--ink); background: transparent; font-weight: 900; text-align: left; cursor: pointer; }
.faq-button::after { content: "+"; width: 34px; flex: 0 0 34px; margin-left: 18px; border: 2px solid var(--ink); background: var(--mint); font-size: 24px; line-height: 30px; text-align: center; }
.faq-button[aria-expanded="true"]::after { content: "\\2212"; }
.faq-panel { display: none; max-width: 900px; padding: 0 50px 23px 2px; color: #3f3e47; }
.faq-panel.open { display: block; }
.faq-panel p { margin: 0; }

.cta { border-top: 2px solid var(--ink); background: var(--mint); }
.cta-row { display: flex; min-height: 245px; align-items: center; justify-content: space-between; gap: 40px; }
.cta h2 { margin-bottom: 8px; }
.cta p { max-width: 700px; margin: 0; font-weight: 700; }
.site-foot { padding: 44px 0 26px; color: #d8d8df; background: var(--ink); }
.foot-grid { display: grid; grid-template-columns: 1fr auto; align-items: start; padding-bottom: 27px; gap: 45px; border-bottom: 1px solid #4a4b54; }
.foot-brand { color: var(--white); }
.foot-brand p { max-width: 650px; margin: 13px 0 0; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 17px; }
.foot-nav a { color: var(--white); }
.foot-nav a:hover { color: var(--mint); }
.copyright { margin: 18px 0 0; font-size: 13px; }
.copyright { color: #9da0ab; }

.sub-hero { border-bottom: 2px solid var(--ink); background: var(--white); }
.sub-hero.violet-bg { background: #eeeaff; }
.sub-grid { display: grid; grid-template-columns: minmax(0,1fr) 320px; min-height: 440px; align-items: center; gap: 60px; padding-block: 54px; }
.crumbs { display: flex; flex-wrap: wrap; margin: 0 0 20px; padding: 0; gap: 8px; list-style: none; font-size: 14px; font-weight: 800; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; }
.sub-grid h1 { max-width: 760px; font-size: clamp(40px,6vw,68px); }
.sub-grid p { max-width: 760px; margin: 0; font-size: 18px; font-weight: 650; }
.sub-grid img { width: 100%; max-width: 280px; margin-inline: auto; border: 4px solid var(--ink); border-radius: 24px; box-shadow: 11px 11px 0 var(--peach); }
.doc-layout { display: grid; grid-template-columns: minmax(0,1fr) 280px; align-items: start; gap: 60px; }
.doc h2 { margin: 62px 0 22px; font-size: 34px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { margin-top: 32px; }
.doc p { margin: 0 0 18px; }
.doc a:not(.download-btn) { color: var(--violet-dark); border-bottom: 2px solid currentColor; font-weight: 800; }
.doc-menu { position: sticky; top: 96px; border: 2px solid var(--ink); background: var(--white); }
.doc-menu strong { display: block; padding: 14px 17px; color: var(--white); background: var(--violet); }
.doc-menu ol { margin: 0; padding: 17px 17px 17px 38px; }
.doc-menu a:hover { color: var(--violet); }
.step-board { margin: 26px 0 33px; border: 2px solid var(--ink); }
.step { display: grid; grid-template-columns: 62px 1fr; border-bottom: 2px solid var(--ink); }
.step:last-child { border-bottom: 0; }
.step-no { display: grid; place-items: center; border-right: 2px solid var(--ink); background: var(--mint); font-size: 22px; font-weight: 900; }
.step-copy { padding: 21px; }
.step-copy h3 { margin-top: 0; }
.step-copy p:last-child { margin-bottom: 0; }
.notice { margin: 26px 0; padding: 21px 23px; border: 2px solid var(--ink); border-left: 11px solid var(--peach); background: #fff1ea; }
.notice strong { display: block; margin-bottom: 6px; }
.doc-figure { margin: 32px 0; }
.doc-figure img { width: min(100%,390px); max-width: 400px; margin-inline: auto; border: 4px solid var(--ink); border-radius: 21px; box-shadow: 9px 9px 0 var(--violet); }
.doc-figure figcaption { max-width: 620px; margin: 15px auto 0; color: var(--gray); font-size: 14px; text-align: center; }
.related { display: grid; grid-template-columns: repeat(2,1fr); margin-top: 44px; gap: 17px; }
.related a { padding: 19px; border: 2px solid var(--ink) !important; color: var(--ink) !important; background: var(--mint); }
.faq-page .faq-item { padding-inline: 17px; background: var(--white); }
.faq-page .faq-button { font-size: 18px; }
.zoom { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; padding: 26px; background: rgba(17,19,26,.94); }
.zoom.open { display: grid; }
.zoom img { width: auto; max-width: min(400px,90vw); max-height: 86vh; border: 4px solid var(--white); border-radius: 18px; }
.zoom-close { position: absolute; top: 18px; right: 18px; width: 45px; height: 45px; border: 2px solid var(--white); border-radius: 50%; color: var(--white); background: var(--ink); font-size: 28px; cursor: pointer; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: 72px 0 auto 0; display: none; margin: 0; border-bottom: 2px solid var(--ink); background: var(--paper); }
  .main-nav.open { display: block; }
  .nav-list { display: grid; width: min(calc(100% - 36px), var(--wrap)); margin-inline: auto; padding-block: 17px; }
  .nav-list a:not(.download-btn) { padding: 13px 4px; }
  .hero-grid { grid-template-columns: minmax(0,1fr) 410px; gap: 30px; }
  .index-grid { grid-template-columns: repeat(2,1fr); }
  .index-card:last-child { grid-column: 1 / -1; }
  .doc-layout { grid-template-columns: 1fr; }
  .doc-menu { position: static; order: -1; }
}
@media (max-width: 740px) {
  .wrap { width: min(calc(100% - 24px), var(--wrap)); }
  .site-head,.head-row { min-height: 64px; }
  .main-nav { top: 64px; }
  .brand { font-size: 20px; }
  .brand img { width: 38px; height: 38px; }
  .hero-grid,.sub-grid,.gallery-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; padding-block: 43px 58px; }
  .hero-lead,.sub-grid p { font-size: 16px; }
  .hero-stage { min-height: 480px; }
  .phone.one { left: 12%; width: 220px; }
  .phone.two { width: 165px; }
  .stage-label { width: 95px; font-size: 14px; }
  .stats-grid,.path-grid,.quote-grid,.related { grid-template-columns: 1fr; }
  .stat { min-height: auto; border-right: 0; border-bottom: 1px solid #4a4b54; }
  .stat:last-child { border-bottom: 0; }
  .section { padding-block: 62px; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .gallery-grid { gap: 45px; }
  .gallery-tabs { grid-template-columns: 1fr; }
  .path { grid-template-columns: 75px 1fr; }
  .cta-row { min-height: auto; align-items: flex-start; flex-direction: column; padding-block: 47px; }
  .foot-grid { grid-template-columns: 1fr; }
  .sub-grid { min-height: auto; padding-block: 43px 58px; }
  .sub-grid img { max-width: 245px; }
}
@media (max-width: 430px) {
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .download-btn { width: 100%; }
  .hero-stage { min-height: 430px; }
  .stage-card { left: 26px; }
  .phone.one { left: 13%; width: 190px; }
  .phone.two { width: 140px; }
  .stage-label { top: 38px; left: 0; width: 78px; padding: 10px 6px; }
  .index-grid { grid-template-columns: 1fr; }
  .index-card:last-child { grid-column: auto; }
  .step { grid-template-columns: 50px 1fr; }
  .faq-page .faq-button { font-size: 16px; }
  .path { grid-template-columns: 1fr; }
  .path-num { min-height: 65px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
