:root {
  --ink: #111417;
  --muted: #596169;
  --paper: #f4f6f7;
  --white: #ffffff;
  --line: #cfd6da;
  --blue: #146cff;
  --blue-dark: #0a46a8;
  --lime: #b8df3a;
  --coral: #fa5a4f;
  --shadow: 0 16px 36px rgba(17, 20, 23, 0.14);
}

* { 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.75;
}
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.22; letter-spacing: 0; }

.header-inner,
.hero-inner,
.section-inner,
.subhero-inner,
.footer-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
}
.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}
.brand img { width: 38px; height: 38px; border-radius: 4px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 750; }
.nav > a:not(.download-link) { padding: 22px 0 19px; border-bottom: 3px solid transparent; }
.nav > a[aria-current="page"] { color: var(--blue-dark); border-color: var(--blue); }
.download-link,
.button-primary,
.button-secondary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 2px solid var(--ink);
  border-radius: 2px;
  font-weight: 900;
  line-height: 1.2;
}
.download-link,
.button-primary { color: var(--white); background: var(--blue); border-color: var(--blue); }
.button-secondary { background: var(--lime); }
.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  padding: 10px;
  border: 2px solid var(--ink);
  border-radius: 2px;
  background: var(--white);
}
.menu-toggle span { display: block; height: 2px; margin: 4px 0; background: var(--ink); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 42px 0 34px;
  background: var(--white);
}
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 34%;
  background: var(--blue);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(500px, 1.06fr);
  align-items: center;
  gap: 52px;
}
.eyebrow {
  display: inline-flex;
  padding: 4px 10px;
  color: var(--ink);
  background: var(--lime);
  border: 2px solid var(--ink);
  font-size: 13px;
  font-weight: 900;
}
h1 { margin: 16px 0 16px; font-size: 46px; font-weight: 950; }
h2 { margin-bottom: 0; font-size: 34px; }
h3 { margin-bottom: 10px; font-size: 20px; }
.hero-copy > p { max-width: 570px; margin-bottom: 22px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.consent-key {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
}
.consent-key div { padding: 10px 8px; border-top: 3px solid var(--ink); font-size: 13px; font-weight: 800; }
.consent-key div:nth-child(2) { border-color: var(--coral); }
.consent-key div:nth-child(3) { border-color: var(--blue); }

.hero-media {
  min-width: 0;
  min-height: 520px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 12px;
}
.consent-screen {
  position: relative;
  padding: 8px;
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
}
.consent-screen:nth-child(1) { transform: translateY(-22px); }
.consent-screen:nth-child(3) { transform: translateY(22px); }
.consent-screen img { width: 100%; max-width: 400px; }
.consent-number {
  position: absolute;
  top: -15px;
  left: -9px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  font-size: 13px;
  font-weight: 900;
}
.consent-screen:nth-child(2) .consent-number { background: var(--coral); }
.consent-screen:nth-child(3) .consent-number { background: var(--blue-dark); }

.section { padding: 78px 0; }
.section-white { background: var(--white); }
.section-dark { color: var(--white); background: var(--ink); }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 14px;
  border-bottom: 3px solid currentColor;
}
.section-note { max-width: 560px; color: var(--muted); font-size: 15px; text-align: right; }
.section-dark .section-note { color: #c4cbd0; }

.sequence-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 2px solid var(--ink);
}
.sequence-step { min-height: 190px; padding: 24px; background: var(--white); border-right: 2px solid var(--ink); }
.sequence-step:last-child { border-right: 0; }
.sequence-step b { display: block; margin-bottom: 24px; color: var(--blue-dark); font-size: 13px; }
.sequence-step:nth-child(2) b { color: var(--coral); }
.sequence-step p { margin-bottom: 0; color: var(--muted); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gallery-item { min-width: 0; margin: 0; }
.gallery-frame {
  min-height: 530px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #20262c;
  border-bottom: 8px solid var(--lime);
}
.gallery-item:nth-child(2) .gallery-frame { border-color: var(--coral); }
.gallery-item:nth-child(3) .gallery-frame { border-color: var(--blue); }
.gallery-frame img { width: auto; max-width: 400px; max-height: 480px; object-fit: contain; }
.gallery-item figcaption { padding-top: 12px; color: #d2d8dc; font-size: 14px; }

.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.feature-row { min-height: 150px; display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 18px; padding: 24px 18px 24px 0; border-bottom: 2px solid var(--ink); }
.feature-row:nth-child(odd) { border-right: 2px solid var(--ink); padding-right: 28px; }
.feature-row:nth-child(even) { padding-left: 28px; }
.feature-number { width: 50px; height: 50px; display: grid; place-items: center; color: var(--white); background: var(--blue); font-weight: 900; }
.feature-row:nth-child(2n) .feature-number { color: var(--ink); background: var(--lime); }
.feature-row p { margin-bottom: 0; color: var(--muted); }

.deep-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.deep-link { min-height: 220px; padding: 30px; color: var(--white); background: var(--blue-dark); }
.deep-link:nth-child(2) { color: var(--ink); background: var(--lime); }
.deep-link p { color: inherit; opacity: 0.82; }
.deep-link a { display: inline-flex; margin-top: 16px; padding-bottom: 2px; border-bottom: 2px solid currentColor; font-weight: 900; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}
.faq-question::after { content: "+"; width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; color: var(--white); background: var(--ink); }
.faq-question[aria-expanded="true"]::after { content: "−"; background: var(--blue); }
.faq-answer { display: none; max-width: 900px; padding: 0 44px 22px 0; color: var(--muted); }
.faq-answer.is-open { display: block; }

.download-band { padding: 52px 0; background: var(--coral); }
.download-band .section-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.download-band h2 { color: var(--ink); margin-bottom: 8px; }
.download-copy, .download-band p { max-width: 720px; margin: 0; color: #291b1a; }
.download-band .button-primary { color: var(--white); background: var(--ink); border-color: var(--ink); }

.site-footer { padding: 30px 0; color: #cbd1d4; background: #0b0e10; }
.footer-inner { font-size: 13px; text-align: center; }
.footer-inner p { margin: 4px auto; }

.subhero { padding: 58px 0; color: var(--white); background: var(--blue-dark); border-bottom: 12px solid var(--lime); }
.subhero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 250px; align-items: end; gap: 48px; }
.subhero h1 { margin-bottom: 12px; font-size: 44px; }
.subhero p { max-width: 760px; margin-bottom: 0; color: #dce7fb; }
.subhero-stamp { padding: 18px; color: var(--ink); background: var(--white); border-left: 10px solid var(--coral); font-weight: 900; }

.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 52px; align-items: start; }
.article-main { min-width: 0; }
.article-main h2 { margin: 48px 0 18px; padding: 10px 0; border-top: 4px solid var(--blue); border-bottom: 1px solid var(--line); font-size: 28px; }
.article-main h2:first-child { margin-top: 0; }
.article-main h3 { margin-top: 28px; }
.article-main p, .article-main li { color: #394149; }
.article-main li + li { margin-top: 10px; }
.note { margin: 22px 0; padding: 20px 22px; background: #ebf2ff; border-left: 6px solid var(--blue); }
.caution { margin: 22px 0; padding: 20px 22px; background: #fff0ee; border-left: 6px solid var(--coral); }
.aside-nav { position: sticky; top: 94px; padding: 22px; border: 2px solid var(--ink); background: var(--white); }
.aside-nav strong, .aside-nav a { display: block; }
.aside-nav a { padding: 9px 0; color: var(--blue-dark); border-bottom: 1px solid var(--line); }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 64px 0 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 24px 20px; background: var(--white); }
  .nav.is-open { display: flex; }
  .nav > a:not(.download-link) { padding: 16px 4px; border-bottom: 1px solid var(--line); }
  .nav .download-link { margin-top: 18px; }
  .header-inner { min-height: 64px; }
  .hero { padding: 28px 0 26px; }
  .hero::after { top: auto; width: 100%; height: 39%; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  h1 { margin: 12px 0; font-size: 32px; }
  .hero-copy > p { margin-bottom: 16px; font-size: 15px; }
  .consent-key { display: none; }
  .hero-media { min-height: 270px; gap: 7px; }
  .consent-screen { padding: 4px; border-width: 2px; }
  .consent-screen:nth-child(1) { transform: translateY(-9px); }
  .consent-screen:nth-child(3) { transform: translateY(9px); }
  .consent-number { top: -11px; width: 26px; height: 26px; }
  .section { padding: 56px 0; }
  .sequence-grid { grid-template-columns: minmax(0, 1fr); }
  .sequence-step { min-height: 0; border-right: 0; border-bottom: 2px solid var(--ink); }
  .sequence-step:last-child { border-bottom: 0; }
  .gallery-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery-frame { min-height: 520px; }
  .subhero-inner, .article-grid { grid-template-columns: minmax(0, 1fr); }
  .subhero-stamp, .aside-nav { display: none; }
}

@media (max-width: 560px) {
  .header-inner, .hero-inner, .section-inner, .subhero-inner, .footer-inner { width: min(100% - 28px, 1160px); }
  .brand img { width: 34px; height: 34px; }
  h1 { font-size: 30px; }
  h2 { font-size: 28px; }
  .button-primary, .button-secondary { min-width: 130px; padding: 10px 14px; }
  .hero-media { min-height: 238px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .section-note { text-align: left; }
  .feature-list, .deep-links { grid-template-columns: minmax(0, 1fr); }
  .feature-row:nth-child(odd) { border-right: 0; padding-right: 18px; }
  .feature-row:nth-child(even) { padding-left: 0; }
  .download-band .section-inner { align-items: flex-start; flex-direction: column; }
  .subhero { padding: 42px 0; }
  .subhero h1 { font-size: 33px; }
}

