:root {
  --paper: #f5f7f6;
  --white: #ffffff;
  --ink: #17191c;
  --muted: #62676d;
  --line: #d9dedb;
  --red: #e6403a;
  --red-dark: #bd2b27;
  --blue: #2267d8;
  --green: #69b99b;
  --green-pale: #dff1ea;
  --yellow: #f0c553;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

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;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 247, 246, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner,
.hero-inner,
.progress-inner,
.section-inner,
.download-band-inner,
.footer-inner,
.page-hero-inner,
.article-shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 4px;
}

.brand span {
  font-size: 18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav > a:not(.download-link) {
  position: relative;
  padding: 24px 0 21px;
}

.site-nav > a:not(.download-link)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 16px;
  height: 3px;
  background: var(--red);
  transition: right 0.2s ease;
}

.site-nav > a:hover::after,
.site-nav > a.active::after {
  right: 0;
}

.download-link,
.primary-button,
.outline-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  border-radius: 4px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.download-link {
  padding: 0 22px;
  color: var(--white);
  background: var(--ink);
}

.download-link:hover,
.primary-button:hover,
.outline-button:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1.05fr);
  align-items: center;
  gap: 68px;
  padding-block: 54px 46px;
}

.eyebrow,
.band-index,
.frame-top,
.frame-tag,
.progress-label,
.article-kicker {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.eyebrow span:first-child {
  padding: 4px 8px;
  color: var(--white);
  background: var(--red);
}

.hero h1 {
  max-width: 600px;
  margin: 0;
  font-size: 46px;
  line-height: 1.08;
  font-weight: 900;
  white-space: nowrap;
}

.hero-copy > p {
  max-width: 580px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
}

.primary-button {
  min-width: 146px;
  padding: 0 28px;
  color: var(--white);
  background: var(--red);
  box-shadow: 5px 5px 0 var(--ink);
}

.primary-button:hover {
  background: var(--red-dark);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  border-bottom: 1px solid currentColor;
}

.text-link span {
  font-size: 19px;
}

.hero-facts {
  display: flex;
  gap: 18px;
  margin: 36px 0 0;
}

.hero-facts div {
  min-width: 104px;
  padding-top: 10px;
  border-top: 2px solid var(--ink);
}

.hero-facts dt,
.hero-facts dd {
  margin: 0;
}

.hero-facts dt {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.hero-facts dd {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 800;
}

.hero-media {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media::before {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  background: var(--green-pale);
  border: 1px solid #b7d9cc;
  transform: rotate(-4deg);
}

.player-frame,
.collection-frame {
  position: absolute;
  overflow: hidden;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 4px;
}

.player-frame {
  left: 18px;
  top: 34px;
  width: 318px;
  height: 430px;
  z-index: 1;
  box-shadow: 10px 10px 0 var(--blue);
}

.frame-top {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 11px;
  color: var(--white);
  background: var(--ink);
}

.player-frame img {
  width: 100%;
  height: calc(100% - 36px);
  object-fit: contain;
  background: #f2f3f3;
}

.collection-frame {
  right: 0;
  bottom: 12px;
  width: 242px;
  height: 402px;
  z-index: 2;
  box-shadow: 10px 10px 0 var(--red);
}

.collection-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #eef1ef;
}

.frame-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 5px 8px;
  color: var(--white);
  background: var(--ink);
}

.progress-rail {
  color: var(--white);
  background: var(--ink);
}

.progress-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: center;
}

.progress-label {
  color: var(--yellow);
}

.progress-inner ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.progress-inner li {
  padding: 7px 18px;
  border-left: 1px solid #3f4246;
  font-size: 13px;
  font-weight: 700;
}

.progress-inner strong {
  display: block;
  color: var(--green);
  font-size: 11px;
}

.section {
  padding: 90px 0;
}

#guide,
#faq {
  scroll-margin-top: 80px;
}

.home-guide .section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.home-guide-steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-guide-steps li:last-child {
  grid-column: 1 / -1;
}

.section-light {
  background: var(--white);
}

.section-heading {
  margin-bottom: 40px;
}

.split-heading,
.gallery-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: end;
}

.section-heading h2,
.guide-band h2,
.download-band h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.2;
  font-weight: 900;
}

.section-note {
  color: var(--muted);
  line-height: 1.8;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
}

.feature-card {
  min-height: 270px;
  padding: 32px;
  background: var(--white);
  border-right: 1px solid var(--line);
}

.feature-card:last-child {
  border-right: 0;
}

.feature-number {
  display: inline-flex;
  width: 44px;
  height: 28px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.accent-red .feature-number { background: var(--red); }
.accent-blue .feature-number { background: var(--blue); }
.accent-green .feature-number { color: var(--ink); background: var(--green); }

.feature-card h3 {
  margin: 48px 0 14px;
  font-size: 21px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.guide-band {
  padding: 62px 0;
  background: var(--green-pale);
  border-block: 1px solid #b7d9cc;
}

.guide-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.band-index {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
}

.guide-band h2 {
  font-size: 34px;
}

.guide-band .band-copy {
  max-width: 760px;
  margin: 12px 0 0;
  color: #43544d;
}

.outline-button {
  flex: 0 0 auto;
  gap: 10px;
  padding: 0 22px;
  border: 2px solid var(--ink);
  background: transparent;
}

.outline-button:hover {
  color: var(--white);
  background: var(--ink);
}

.section-dark {
  color: var(--white);
  background: var(--ink);
}

.section-dark .section-note {
  color: #c3c7cc;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 26px;
  align-items: end;
}

.gallery-item {
  margin: 0;
}

.gallery-image {
  height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #282b2f;
  border: 1px solid #42464c;
}

.gallery-tall .gallery-image {
  height: 540px;
  background: #dde8e3;
}

.gallery-image img {
  width: auto;
  max-width: 400px;
  height: 100%;
  object-fit: contain;
}

.gallery-item figcaption {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 0 10px;
  padding-top: 18px;
}

.gallery-item figcaption span {
  grid-row: 1 / 3;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.gallery-item figcaption strong {
  font-size: 16px;
}

.gallery-item figcaption small {
  color: #989da4;
}

.faq-preview {
  background: var(--paper);
}

.faq-preview-inner {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 70px;
}

.question-list {
  border-top: 2px solid var(--ink);
}

.question-list .faq-item:hover .faq-question {
  color: var(--red);
}

.question-list a {
  min-height: 78px;
  display: grid;
  grid-template-columns: 50px 1fr 30px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.question-list a:hover strong {
  color: var(--red);
}

.question-list span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.question-list b {
  font-size: 20px;
}

.faq-all {
  grid-column: 2;
  justify-self: start;
}

.download-band {
  padding: 64px 0;
  color: var(--white);
  background: var(--red);
}

.download-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.download-band .band-index {
  color: #ffd9d7;
}

.download-band .band-copy {
  margin: 10px 0 0;
  color: #ffe9e8;
}

.light-button {
  color: var(--ink);
  background: var(--white);
  box-shadow: 5px 5px 0 var(--ink);
}

.light-button:hover {
  background: var(--paper);
}

.site-footer {
  padding: 50px 0 36px;
  color: #c4c7cb;
  background: #101113;
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  color: var(--white);
}

.footer-inner nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin: 25px 0;
  font-size: 14px;
}

.footer-inner nav a:hover {
  color: var(--white);
}

.disclaimer {
  max-width: 760px;
  margin: 0 auto;
  font-size: 13px;
  text-align: center;
}

.copyright {
  margin: 14px 0 0;
  font-size: 12px;
  text-align: center;
}

/* Internal pages */
.page-hero {
  color: var(--white);
  background: var(--ink);
  border-bottom: 8px solid var(--red);
}

.page-hero-inner {
  min-height: 365px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 60px;
  padding: 72px 0 62px;
}

.page-hero h1 {
  max-width: 760px;
  margin: 10px 0 0;
  font-size: 52px;
  line-height: 1.16;
}

.page-hero p {
  margin: 0;
  color: #c7cbd0;
  line-height: 1.9;
}

.article-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 60px;
  padding-block: 70px 100px;
}

.article-nav {
  position: sticky;
  top: 104px;
  align-self: start;
  border-top: 3px solid var(--ink);
}

.article-nav strong {
  display: block;
  padding: 16px 0 12px;
  font-size: 13px;
}

.article-nav a {
  display: block;
  padding: 10px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.article-nav a:hover {
  color: var(--red);
}

.article-content {
  min-width: 0;
}

.content-section {
  padding: 0 0 62px;
  margin-bottom: 62px;
  border-bottom: 1px solid var(--line);
}

.content-section:last-child {
  margin-bottom: 0;
}

.content-section h2 {
  margin: 0 0 24px;
  font-size: 32px;
  line-height: 1.3;
}

.content-section h3 {
  margin: 28px 0 10px;
  font-size: 19px;
}

.content-section p {
  margin: 0 0 16px;
  color: #4d5258;
}

.step-list {
  display: grid;
  gap: 18px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
}

.step-list span {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--red);
  font-weight: 900;
}

.step-list h3 {
  margin: 0 0 8px;
}

.step-list p {
  margin: 0;
}

.notice {
  padding: 22px 24px;
  margin: 26px 0;
  background: var(--green-pale);
  border-left: 5px solid var(--green);
}

.notice strong {
  display: block;
  margin-bottom: 5px;
}

.notice p {
  margin: 0;
  color: #35443f;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 16px 18px 16px 48px;
  background: var(--white);
  border: 1px solid var(--line);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 17px;
  color: var(--blue);
  font-weight: 900;
}

.inline-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 30px;
  margin-top: 30px;
  color: var(--white);
  background: var(--ink);
}

.inline-action h3,
.inline-action p {
  margin: 0;
  color: inherit;
}

.inline-action p {
  margin-top: 5px;
  color: #bec3c8;
}

.faq-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.faq-search {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.faq-search:focus {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.faq-list {
  border-top: 2px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  min-height: 76px;
  display: grid;
  grid-template-columns: 45px 1fr 32px;
  align-items: center;
  gap: 12px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.faq-preview .faq-question {
  font-size: 21px;
  line-height: 1.4;
}

.faq-question .faq-index {
  color: var(--red);
  font-size: 12px;
}

.faq-icon {
  position: relative;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 7px;
  width: 12px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease;
}

.faq-icon::after {
  transform: rotate(90deg);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: rotate(0);
}

.faq-answer {
  padding: 0 44px 24px 57px;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

.faq-empty {
  display: none;
  padding: 26px 0;
  color: var(--muted);
}

.faq-empty.visible {
  display: block;
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1.1fr);
    gap: 34px;
  }

  .player-frame { width: 270px; height: 390px; }
  .collection-frame { width: 210px; height: 350px; }
  .progress-inner { grid-template-columns: 130px 1fr; }
  .progress-inner li { padding-inline: 10px; }
  .article-shell { grid-template-columns: 210px minmax(0, 1fr); gap: 38px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 74px; }

  .header-inner,
  .hero-inner,
  .progress-inner,
  .section-inner,
  .download-band-inner,
  .footer-inner,
  .page-hero-inner,
  .article-shell {
    width: min(calc(100% - 32px), var(--max));
  }

  .header-inner { min-height: 64px; }
  .brand img { width: 38px; height: 38px; }
  .menu-toggle { display: flex; }
  .site-header { backdrop-filter: none; }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: fixed;
    inset: 64px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 16px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px rgba(23, 25, 28, 0.12);
  }

  .site-nav.open { display: flex; }
  .site-nav > a:not(.download-link) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .site-nav > a:not(.download-link)::after { display: none; }
  .site-nav .download-link { margin-top: 16px; }

  .hero-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 34px 28px;
  }

  .hero h1 { max-width: none; font-size: 36px; line-height: 1.12; }

  .hero-copy > p { margin-top: 16px; font-size: 15px; line-height: 1.75; }
  .hero-actions { margin-top: 20px; }
  .hero-facts { display: none; }

  .hero-media {
    min-height: 285px;
    max-width: 420px;
    width: 100%;
    margin-inline: auto;
  }

  .hero-media::before {
    width: 238px;
    height: 238px;
  }

  .player-frame {
    left: 6%;
    top: 5px;
    width: 180px;
    height: 265px;
    box-shadow: 6px 6px 0 var(--blue);
  }

  .frame-top { height: 29px; font-size: 9px; }
  .player-frame img { height: calc(100% - 29px); }

  .collection-frame {
    right: 5%;
    bottom: 4px;
    width: 124px;
    height: 236px;
    box-shadow: 6px 6px 0 var(--red);
  }

  .frame-tag { top: 7px; left: 7px; padding: 3px 5px; font-size: 8px; }

  .progress-inner {
    min-height: 60px;
    display: block;
    padding-block: 9px;
  }

  .progress-label { display: none; }
  .progress-inner ol { grid-template-columns: repeat(4, 1fr); }
  .progress-inner li { padding: 4px 6px; font-size: 10px; text-align: center; }
  .progress-inner li:first-child { border-left: 0; }

  .section { padding: 64px 0; }
  .home-guide .section-heading { display: block; }
  .home-guide-steps { grid-template-columns: 1fr; }
  .home-guide-steps li:last-child { grid-column: auto; }
  .section-heading { margin-bottom: 28px; }
  .split-heading,
  .gallery-heading { grid-template-columns: 1fr; gap: 12px; }
  .section-heading h2,
  .guide-band h2,
  .download-band h2 { font-size: 30px; }

  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-card:last-child { border-bottom: 0; }
  .feature-card h3 { margin-top: 28px; }

  .guide-band-inner,
  .download-band-inner { align-items: flex-start; flex-direction: column; gap: 28px; }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 14px;
    scroll-snap-type: x mandatory;
  }

  .gallery-item { scroll-snap-align: start; }
  .gallery-image,
  .gallery-tall .gallery-image { height: 400px; }

  .faq-preview-inner { grid-template-columns: 1fr; gap: 0; }
  .faq-all { grid-column: 1; margin-top: 28px; }

  .page-hero-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 48px 0 46px;
  }

  .page-hero h1 { font-size: 40px; }
  .article-shell { display: block; padding-block: 46px 70px; }
  .article-nav { position: static; margin-bottom: 42px; }
  .article-nav a { display: inline-block; margin-right: 18px; }
  .content-section { padding-bottom: 46px; margin-bottom: 46px; }
  .content-section h2 { font-size: 27px; }
  .check-list { grid-template-columns: 1fr; }
  .inline-action { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 430px) {
  .hero h1 { font-size: 34px; }
  .eyebrow { margin-bottom: 12px; }
  .hero-actions { gap: 17px; }
  .primary-button { min-width: 130px; padding-inline: 20px; }
  .hero-media { min-height: 260px; }
  .player-frame { width: 180px; height: 245px; }
  .collection-frame { width: 124px; height: 213px; }
  .progress-inner li { font-size: 9px; }
  .question-list a { grid-template-columns: 40px 1fr 24px; }
  .step-list li { grid-template-columns: 1fr; }
  .faq-question { grid-template-columns: 35px 1fr 30px; }
  .faq-answer { padding-left: 47px; padding-right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
