:root {
  --ink: #191b22;
  --muted: #626672;
  --line: #d9dce3;
  --paper: #f4f6f8;
  --white: #ffffff;
  --signal: #ef3f56;
  --signal-dark: #b91f38;
  --cold: #e9f0f3;
  --rail: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  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%; }
.site-header { height: 70px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); position: sticky; top: 0; z-index: 20; }
.header-inner { width: var(--rail); height: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; }
.brand img { width: 36px; height: 36px; border-radius: 6px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 700; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--signal-dark); }
.menu-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); background: var(--white); font-size: 22px; cursor: pointer; }
.button { min-height: 46px; padding: 10px 24px; display: inline-flex; align-items: center; justify-content: center; background: var(--signal); color: white; border: 1px solid var(--signal); text-decoration: none; font-weight: 800; }
.button:hover { background: var(--signal-dark); border-color: var(--signal-dark); }
.button.secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.hero-inner { width: var(--rail); margin: 0 auto; min-height: 548px; padding: 48px 0; display: grid; grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr); align-items: center; gap: 50px; }
.kicker { margin: 0 0 12px; color: var(--signal-dark); font-size: 13px; font-weight: 900; letter-spacing: 0; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 520px; margin-bottom: 18px; font-size: clamp(38px, 4.1vw, 62px); line-height: 1.08; letter-spacing: 0; }
.hero-copy > p { max-width: 570px; margin-bottom: 26px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.filmstrip { height: 420px; display: grid; grid-template-columns: 1fr 1.05fr 1fr; align-items: center; gap: 12px; padding: 18px; border: 1px solid #c9cdd5; background: var(--white); position: relative; overflow: hidden; }
.filmstrip::before { content: "01 / APP VIEW"; position: absolute; top: 6px; left: 12px; z-index: 2; font-size: 10px; font-weight: 900; color: var(--signal-dark); }
.shot { min-width: 0; padding: 20px 5px 5px; height: 100%; display: flex; align-items: center; justify-content: center; border-left: 1px solid var(--line); }
.shot:first-child { border-left: 0; }
.shot:nth-child(1) { transform: translateY(14px); }
.shot:nth-child(3) { transform: translateY(-12px); }
.shot img { width: 100%; max-width: 170px; max-height: 366px; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(25,27,34,.14)); }
.section { padding: 76px 0; }
.section.alt { background: var(--paper); }
.container { width: var(--rail); margin: 0 auto; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 30px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.section-heading h2 { margin: 0; font-size: 30px; line-height: 1.25; }
.section-note { max-width: 580px; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { min-width: 0; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature b { display: block; margin-bottom: 10px; color: var(--signal-dark); font-size: 13px; }
.feature h3 { margin-bottom: 8px; font-size: 19px; }
.feature p { margin: 0; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.gallery figure { margin: 0; min-width: 0; padding: 18px; border: 1px solid var(--line); background: white; }
.gallery img { width: 100%; max-width: 400px; height: 430px; margin: auto; object-fit: contain; }
.gallery figcaption { padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.split-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); }
.deep-link { padding: 34px; text-decoration: none; background: white; }
.deep-link + .deep-link { border-left: 1px solid var(--line); }
.deep-link span { color: var(--signal-dark); font-weight: 900; }
.deep-link h3 { margin: 8px 0; font-size: 24px; }
.faq-preview { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.faq-preview article { padding: 24px; border-left: 4px solid var(--signal); background: white; }
.faq-preview p { margin: 0; color: var(--muted); }
.cta-band { background: var(--ink); color: white; }
.cta-inner { width: var(--rail); margin: 0 auto; padding: 58px 0; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.cta-inner h2 { margin-bottom: 8px; font-size: 30px; }
.cta-inner p { margin: 0; color: #c8cad1; }
.page-hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero .container { padding: 66px 0 54px; }
.page-hero h1 { font-size: clamp(34px, 4vw, 52px); }
.page-hero p { max-width: 760px; color: var(--muted); }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 54px; align-items: start; }
.article h2 { margin-top: 46px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 26px; }
.article h2:first-child { margin-top: 0; }
.article h3 { margin-top: 26px; }
.article p, .article li { color: #454954; }
.aside { position: sticky; top: 100px; padding: 22px; border-top: 4px solid var(--signal); background: var(--paper); }
.aside a { display: block; margin-top: 12px; }
.steps { counter-reset: step; padding: 0; list-style: none; }
.steps li { position: relative; padding: 0 0 24px 52px; }
.steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; color: var(--signal-dark); font-weight: 900; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 20px 42px 20px 0; cursor: pointer; font-weight: 800; position: relative; }
.faq-list summary::after { content: "+"; position: absolute; right: 8px; font-size: 24px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 28px 20px 0; margin: 0; color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); background: var(--white); }
.footer-inner { width: var(--rail); margin: 0 auto; padding: 28px 0; text-align: center; color: var(--muted); font-size: 13px; }
.footer-inner p { margin-bottom: 5px; }

@media (max-width: 920px) {
  :root { --rail: min(100% - 28px, 720px); }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; position: absolute; left: 14px; right: 14px; top: 61px; padding: 16px; flex-direction: column; align-items: stretch; gap: 4px; background: white; border: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 9px; }
  .hero-inner { min-height: 0; padding: 30px 0 28px; grid-template-columns: 1fr; gap: 25px; }
  h1 { font-size: clamp(34px, 10vw, 46px); }
  .hero-copy > p { font-size: 15px; margin-bottom: 18px; }
  .filmstrip { height: 265px; padding: 14px 8px 8px; gap: 5px; }
  .shot { padding: 12px 2px 2px; }
  .shot img { max-height: 235px; }
  .section { padding: 54px 0; }
  .section-heading { display: block; }
  .section-note { margin-top: 9px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img { height: 390px; }
  .faq-preview { grid-template-columns: 1fr; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .article-grid { grid-template-columns: 1fr; }
  .aside { position: static; }
}

@media (max-width: 520px) {
  .site-header { height: 62px; }
  .brand span { font-size: 15px; }
  .hero-inner { padding-top: 25px; }
  h1 { max-width: 360px; font-size: 36px; }
  .filmstrip { height: 235px; }
  .shot img { max-height: 205px; }
  .feature-grid, .split-links { grid-template-columns: 1fr; }
  .deep-link + .deep-link { border-left: 0; border-top: 1px solid var(--line); }
  .section-heading h2, .cta-inner h2 { font-size: 26px; }
  .page-hero .container { padding: 44px 0 38px; }
}
