/* ==========================================================================
   iOS下载 内页骨架：极简单列 · 大留白 + 窄容器 + 细线分隔
   ========================================================================== */

:root {
  --ios-bg: #ffffff;
  --ios-ink: #0a0a0a;
  --ios-muted: #86868b;
  --ios-line: #e5e5ea;
  --ios-blue: #0071e3;
  --ios-soft: #f5f5f7;
}

body.ios-page { background: var(--ios-bg); color: var(--ios-ink); }

.ios-page .site-header { background: rgba(255, 255, 255, .86); border-bottom-color: var(--ios-line); }
.ios-page .brand-mark { background: #0a0a0a; color: #fff; border-radius: 9px; box-shadow: none; }
.ios-page .brand-text em { color: var(--ios-muted); font-weight: 500; }
.ios-page .site-nav a { color: #6e6e73; font-weight: 400; }
.ios-page .site-nav a:hover { color: #0a0a0a; background: transparent; }
.ios-page .site-nav a.is-active { color: #0a0a0a; background: transparent; font-weight: 600; }
.ios-page .btn-login { background: #0a0a0a; border-radius: 980px; box-shadow: none; font-weight: 500; }

/* 窄容器 */
.narrow {
  width: 100%;
  max-width: 780px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------------- Hero ---------------- */
.ios-hero {
  padding: 96px 0 40px;
  text-align: center;
}

.ios-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2px;
  color: var(--ios-muted);
}

.ios-hero h1 {
  margin: 16px auto 18px;
  max-width: 700px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -1.5px;
}

.ios-hero .lead {
  max-width: 560px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ios-muted);
}

.ios-hero .lead strong { color: var(--ios-ink); font-weight: 600; }

.ios-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 34px 0 0;
}

.ios-actions .btn {
  border-radius: 980px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 500;
}

.ios-actions .btn-primary { background: var(--ios-blue); color: #fff; }
.ios-actions .btn-primary:hover { background: #0077ed; }
.ios-actions .btn-room {
  background: var(--ios-soft);
  color: var(--ios-ink);
  border-color: transparent;
}

.ios-actions .btn-room b { font-weight: 700; letter-spacing: 1px; }

.ios-visual {
  margin: 56px auto 0;
  max-width: 560px;
}

.ios-visual img {
  width: 100%;
  border-radius: 24px;
  background: var(--ios-soft);
}

/* ---------------- 步骤 ---------------- */
.ios-section { padding: 96px 0; }

.ios-section.tight { padding: 72px 0; }

.ios-title {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 14px;
}

.ios-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ios-muted);
  max-width: 600px;
}

.steps { margin-top: 46px; border-top: 1px solid var(--ios-line); }

.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 26px;
  padding: 30px 0;
  border-bottom: 1px solid var(--ios-line);
}

.step .n {
  font-size: 15px;
  font-weight: 600;
  color: var(--ios-muted);
  letter-spacing: .5px;
  padding-top: 3px;
}

.step h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.2px;
  margin-bottom: 7px;
}

.step p { font-size: 15.5px; line-height: 1.75; color: var(--ios-muted); }
.step p strong { color: var(--ios-ink); font-weight: 600; }
.step p + p { margin-top: 8px; }
.step a { color: var(--ios-blue); }
.step a:hover { text-decoration: underline; }

/* ---------------- 失败原因 ---------------- */
.fault-list { margin-top: 34px; display: grid; gap: 0; border-top: 1px solid var(--ios-line); }

.fault {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 30px;
  padding: 24px 0;
  border-bottom: 1px solid var(--ios-line);
}

.fault dt { font-size: 16px; font-weight: 600; letter-spacing: -.2px; }
.fault dd { margin: 0; font-size: 15px; line-height: 1.75; color: var(--ios-muted); }
.fault dd code {
  font-family: var(--mono);
  font-size: 13.5px;
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--ios-soft);
  color: var(--ios-ink);
}

/* ---------------- 规格 ---------------- */
.specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ios-line);
  border: 1px solid var(--ios-line);
  border-radius: 18px;
  overflow: hidden;
  margin-top: 40px;
}

.specs div {
  background: #fff;
  padding: 26px 24px;
}

.specs .k { font-size: 13px; color: var(--ios-muted); }
.specs .v { display: block; margin-top: 8px; font-size: 24px; font-weight: 600; letter-spacing: -.5px; }
.specs .v small { font-size: 13px; font-weight: 400; color: var(--ios-muted); margin-left: 4px; }

/* ---------------- 提示 ---------------- */
.ios-note {
  margin-top: 44px;
  padding: 26px 30px;
  border-radius: 18px;
  background: var(--ios-soft);
}

.ios-note h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.ios-note p { font-size: 14.5px; line-height: 1.8; color: var(--ios-muted); }
.ios-note a { color: var(--ios-blue); }

/* ---------------- 相关 ---------------- */
.ios-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.ios-related a {
  padding: 24px;
  border-radius: 18px;
  background: var(--ios-soft);
  transition: background .2s;
}

.ios-related a:hover { background: #ededf0; }
.ios-related strong { display: block; font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.ios-related span { font-size: 13px; color: var(--ios-muted); }

/* ---------------- 底部 CTA ---------------- */
.ios-cta {
  padding: 0 0 96px;
  text-align: center;
}

.ios-cta h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.ios-cta p { font-size: 16px; color: var(--ios-muted); margin-bottom: 26px; }

.ios-cta .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ios-cta .row .btn { border-radius: 980px; }
.ios-cta .tg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 980px;
  border: 1px solid var(--ios-line);
  font-size: 15px;
  font-weight: 500;
  transition: background .2s;
}
.ios-cta .tg:hover { background: var(--ios-soft); }

/* 入场 */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .8s, transform .8s; }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 780px) {
  .ios-hero { padding: 64px 0 32px; }
  .ios-visual { margin-top: 40px; }
  .ios-section { padding: 68px 0; }
  .specs { grid-template-columns: 1fr; }
  .fault { grid-template-columns: 1fr; gap: 8px; }
  .ios-related { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .ios-hero h1 { font-size: 36px; letter-spacing: -1px; }
  .ios-hero .lead { font-size: 16px; }
  .ios-actions .btn { width: 100%; }
  .step { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .step .n { padding-top: 0; }
  .ios-cta .row .btn, .ios-cta .tg { width: 100%; justify-content: center; }
}
