/* AO3X 下载引导站 — 共享样式
   品牌基调与 website/（审核站）一致：纸色 + 酒红 + 衬线书卷气，
   但这是一个独立部署的营销/引导站点，移动端优先。 */

:root {
  color-scheme: light;
  --paper: #fbf7f0;
  --ink: #201916;
  --muted: #6d5f58;
  --faint: #9a8b82;
  --line: rgba(75, 55, 44, 0.18);
  --line-soft: rgba(75, 55, 44, 0.1);
  --panel: rgba(255, 252, 246, 0.82);
  --panel-strong: #fffaf2;
  --wine: #8f2d32;
  --wine-dark: #5f1b20;
  --wine-soft: rgba(143, 45, 50, 0.08);
  --sage: #4f735e;
  --sage-soft: rgba(79, 115, 94, 0.1);
  --gold: #d09a43;
  --gold-soft: rgba(208, 154, 67, 0.14);
  --blue: #304d72;
  --plum: #191521;
  --shadow: 0 28px 90px rgba(64, 38, 23, 0.15);
  --shadow-soft: 0 14px 40px rgba(64, 38, 23, 0.1);
  --radius: 10px;
  --serif: "Iowan Old Style", Georgia, "Songti SC", "Noto Serif CJK SC", serif;
  --body: Georgia, "Songti SC", "Noto Serif CJK SC", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", ui-monospace, Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--body);
  color: var(--ink);
  line-height: 1.7;
  background:
    linear-gradient(90deg, rgba(143, 45, 50, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(143, 45, 50, 0.05) 1px, transparent 1px),
    linear-gradient(130deg, #fffaf4 0%, var(--paper) 42%, #efe5d7 100%);
  background-size: 42px 42px, 42px 42px, auto;
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(208, 154, 67, 0.2), transparent 24%),
    radial-gradient(circle at 88% 24%, rgba(79, 115, 94, 0.14), transparent 26%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35), transparent 45%);
}

a {
  color: inherit;
}

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

button {
  font: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.32;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 36px));
  margin: 0 auto;
}

/* ---------- 顶栏 ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 247, 240, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(143, 45, 50, 0.24);
  box-shadow: 0 10px 22px rgba(143, 45, 50, 0.18);
  flex: 0 0 auto;
}

.brand-copy {
  line-height: 1.2;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 19px;
  display: block;
}

.brand-copy span {
  font-size: 12px;
  color: var(--muted);
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--sans);
  font-size: 14px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 7px 11px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.18s, background 0.18s;
}

.nav a:hover {
  color: var(--wine-dark);
  background: var(--wine-soft);
}

.nav a.active {
  color: #fffaf2;
  background: var(--wine);
}

@media (max-width: 560px) {
  .brand-copy span {
    display: none;
  }

  .nav a {
    padding: 7px 9px;
    font-size: 13px;
  }
}

@media (max-width: 340px) {
  .brand-copy {
    display: none;
  }
}

/* ---------- 通用区块 ---------- */

.section {
  padding: 52px 0 12px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 26px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--wine);
  margin-bottom: 10px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--wine);
  opacity: 0.7;
}

.section-head h2 {
  font-size: clamp(24px, 4.6vw, 32px);
}

.section-head p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15.5px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

/* ---------- 首页 Hero ---------- */

.hero {
  padding: 46px 0 10px;
  display: grid;
  gap: 34px;
  align-items: center;
}

@media (min-width: 880px) {
  .hero {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    padding: 64px 0 24px;
  }
}

.hero-copy .eyebrow {
  margin-bottom: 14px;
}

.hero-copy h1 {
  font-size: clamp(30px, 6.4vw, 46px);
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--wine);
}

.hero-lede {
  margin-top: 16px;
  color: var(--muted);
  font-size: clamp(15px, 2.6vw, 17px);
  max-width: 520px;
}

.hero-ctas {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}

.hero-meta {
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--faint);
}

/* 商店徽章按钮 */

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 20px 10px 16px;
  border-radius: 12px;
  text-decoration: none;
  background: linear-gradient(150deg, #2c2430, var(--plum) 55%, #0f0d13);
  color: #fffaf2;
  border: 1px solid rgba(230, 185, 95, 0.35);
  box-shadow: 0 16px 34px rgba(25, 21, 33, 0.35);
  font-family: var(--sans);
  line-height: 1.15;
  transition: transform 0.18s, box-shadow 0.18s;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(25, 21, 33, 0.42);
}

.store-badge svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}

.store-badge .badge-copy small {
  display: block;
  font-size: 11px;
  opacity: 0.82;
  letter-spacing: 0.02em;
}

.store-badge .badge-copy strong {
  display: block;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.store-badge.is-disabled {
  background: transparent;
  color: var(--muted);
  border: 1.5px dashed rgba(75, 55, 44, 0.32);
  box-shadow: none;
  cursor: default;
}

.store-badge.is-disabled:hover {
  transform: none;
  box-shadow: none;
}

.store-badge.is-disabled svg {
  opacity: 0.55;
}

.badge-tag {
  font-size: 10.5px;
  font-family: var(--sans);
  background: var(--gold-soft);
  color: #8a6320;
  border: 1px solid rgba(208, 154, 67, 0.4);
  border-radius: 999px;
  padding: 2px 8px;
  margin-left: 4px;
  white-space: nowrap;
  align-self: center;
}

/* 地区限制提示条 */

.notice {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--gold-soft);
  border: 1px solid rgba(208, 154, 67, 0.45);
  font-size: 14px;
  color: #5c4520;
  max-width: 560px;
}

.notice-icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: #a97b2d;
}

.notice strong {
  color: #4a3617;
}

/* 真实运行截图轮播 */

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 644px;
  position: relative;
  isolation: isolate;
}

.showcase-proof {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px -48px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.9);
  box-shadow: 0 8px 24px rgba(64, 38, 23, 0.08);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11.5px;
  white-space: nowrap;
}

.showcase-proof i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px var(--sage-soft);
  animation: proof-pulse 2.4s ease-in-out infinite;
}

.showcase-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.showcase-phone {
  width: min(270px, 72vw);
  padding: 8px;
  position: relative;
  z-index: 1;
  border-radius: 39px;
  background: #17131c;
  box-shadow:
    0 34px 74px rgba(31, 22, 41, 0.32),
    0 10px 26px rgba(143, 45, 50, 0.16),
    inset 0 0 0 1px rgba(255, 250, 242, 0.18);
}

.showcase-phone::before {
  content: "";
  position: absolute;
  top: 96px;
  right: -3px;
  width: 3px;
  height: 54px;
  border-radius: 0 3px 3px 0;
  background: #2d2633;
}

.showcase-screen {
  position: relative;
  aspect-ratio: 1206 / 2622;
  overflow: hidden;
  border-radius: 32px;
  background: var(--paper);
  outline: none;
}

.showcase-screen:focus-visible {
  box-shadow: inset 0 0 0 3px var(--gold);
}

.showcase-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.012);
  transition:
    opacity 0.65s ease,
    transform 1s ease;
  pointer-events: none;
}

.showcase-shot.is-active {
  opacity: 1;
  transform: scale(1);
}

.showcase-caption {
  width: min(292px, calc(100vw - 52px));
  min-height: 62px;
  margin-top: -13px;
  transform: translateX(18px);
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 10px 13px 10px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.94);
  box-shadow: 0 15px 38px rgba(64, 38, 23, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.showcase-caption-copy {
  display: block;
  min-width: 0;
  line-height: 1.25;
}

.showcase-caption-copy small,
.showcase-caption-copy strong {
  display: block;
}

.showcase-caption-copy small {
  margin-bottom: 3px;
  color: var(--faint);
  font-family: var(--sans);
  font-size: 9.5px;
}

.showcase-caption-copy strong {
  overflow: hidden;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.showcase-caption.is-updating .showcase-caption-copy {
  animation: caption-in 0.38s ease both;
}

.showcase-count {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--faint);
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1;
}

.showcase-count b {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 23px;
}

.showcase-count i {
  font-style: normal;
  opacity: 0.6;
}

.showcase-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  margin-top: 12px;
}

.showcase-arrow {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 250, 242, 0.8);
  color: var(--muted);
  cursor: pointer;
  transition:
    color 0.18s,
    border-color 0.18s,
    background 0.18s,
    transform 0.18s;
}

.showcase-arrow:hover {
  color: var(--wine);
  border-color: rgba(143, 45, 50, 0.36);
  background: var(--panel-strong);
  transform: translateY(-1px);
}

.showcase-arrow svg {
  width: 15px;
  height: 15px;
}

.showcase-arrow:focus-visible,
.showcase-dot:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 2px;
}

.showcase-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
}

.showcase-dot {
  width: 14px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.showcase-dot::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(75, 55, 44, 0.25);
  transition:
    width 0.28s ease,
    background 0.28s ease;
}

.showcase-dot:hover::before {
  background: rgba(143, 45, 50, 0.5);
}

.showcase-dot.is-active::before {
  width: 13px;
  background: var(--wine);
}

@keyframes proof-pulse {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}

@keyframes caption-in {
  from { opacity: 0.55; transform: translateY(2px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 879px) {
  .hero-visual {
    min-height: 616px;
  }

  .showcase-proof {
    margin-left: -34px;
  }
}

@media (max-width: 420px) {
  .showcase-phone {
    width: min(258px, 70vw);
  }

  .showcase-caption {
    transform: translateX(11px);
  }
}

/* ---------- 获取路径卡片 ---------- */

.path-grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 880px) {
  .path-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.path-card {
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.path-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--wine), var(--gold));
  opacity: 0;
  transition: opacity 0.2s;
}

.path-card:hover::after {
  opacity: 1;
}

.path-badge {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--wine);
  background: var(--wine-soft);
  border: 1px solid rgba(143, 45, 50, 0.22);
  border-radius: 999px;
  padding: 3px 11px;
  align-self: flex-start;
}

.path-badge.alt {
  color: var(--sage);
  background: var(--sage-soft);
  border-color: rgba(79, 115, 94, 0.28);
}

.path-badge.gold {
  color: #8a6320;
  background: var(--gold-soft);
  border-color: rgba(208, 154, 67, 0.4);
}

.path-card h3 {
  font-size: 19px;
}

.path-card p {
  color: var(--muted);
  font-size: 14px;
  flex: 1;
}

.path-cta {
  font-family: var(--sans);
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fffaf2;
  background: var(--wine);
  border: 1px solid var(--wine-dark);
  padding: 9px 16px;
  border-radius: 999px;
  align-self: flex-start;
  transition: background 0.18s, transform 0.18s;
}

.path-cta:hover {
  background: var(--wine-dark);
  transform: translateY(-1px);
}

.path-cta.ghost {
  color: var(--wine-dark);
  background: transparent;
  border: 1px solid rgba(143, 45, 50, 0.42);
}

.path-cta.ghost:hover {
  background: var(--wine-soft);
}

.path-cta svg {
  width: 14px;
  height: 14px;
}

.path-note {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--faint);
}

/* ---------- 特性 ---------- */

.feature-grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 680px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .feature-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature {
  padding: 20px 18px;
}

.feature-ico {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--wine-soft);
  color: var(--wine);
  margin-bottom: 12px;
}

.feature-ico svg {
  width: 18px;
  height: 18px;
}

.feature h3 {
  font-size: 16.5px;
  margin-bottom: 6px;
}

.feature p {
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- FAQ ---------- */

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

details.faq {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 18px;
  transition: background 0.2s;
}

details.faq[open] {
  background: var(--panel-strong);
}

details.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15.5px;
}

details.faq summary::-webkit-details-marker {
  display: none;
}

details.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-weight: 400;
  font-size: 19px;
  color: var(--wine);
  flex: 0 0 auto;
  transition: transform 0.2s;
}

details.faq[open] summary::after {
  transform: rotate(45deg);
}

details.faq .faq-body {
  padding: 0 0 16px;
  color: var(--muted);
  font-size: 14.5px;
  border-top: 1px dashed var(--line-soft);
  padding-top: 12px;
  margin-top: -4px;
}

details.faq .faq-body a {
  color: var(--wine);
}

/* ---------- 页脚 ---------- */

.footer {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  background: rgba(251, 247, 240, 0.7);
}

.footer-inner {
  padding: 30px 0 40px;
  display: grid;
  gap: 18px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.footer-brand strong {
  font-family: var(--serif);
}

.footer p {
  font-size: 12.5px;
  color: var(--faint);
  font-family: var(--sans);
  line-height: 1.75;
  max-width: 720px;
}

.footer a {
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-family: var(--sans);
  font-size: 13px;
}

/* ---------- 教程页 ---------- */

.guide-hero {
  padding: 44px 0 8px;
  max-width: 720px;
}

.guide-hero h1 {
  font-size: clamp(27px, 5.6vw, 40px);
}

.guide-hero .hero-lede {
  max-width: 640px;
}

.guide-facts {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--sans);
  font-size: 12.5px;
}

.fact-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 13px;
  color: var(--muted);
}

.fact-chip b {
  color: var(--wine);
  font-weight: 600;
}

/* 教程目录 */

.toc {
  margin-top: 26px;
  padding: 18px 20px;
  max-width: 720px;
}

.toc-title {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 10px;
}

.toc ol {
  margin: 0;
  padding: 0 0 0 2px;
  list-style: none;
  display: grid;
  gap: 7px;
  font-family: var(--sans);
  font-size: 14.5px;
  counter-reset: toc;
}

.toc ol a {
  counter-increment: toc;
  display: flex;
  gap: 10px;
  align-items: baseline;
  text-decoration: none;
  color: var(--ink);
  padding: 2px 0;
}

.toc ol a::before {
  content: counter(toc, decimal-leading-zero);
  font-size: 11.5px;
  color: var(--wine);
  font-family: var(--mono);
}

.toc ol a:hover {
  color: var(--wine-dark);
}

.toc ol a small {
  color: var(--faint);
  font-size: 12px;
}

/* 准备清单 */

.prep-list {
  display: grid;
  gap: 10px;
  max-width: 720px;
}

.prep-item {
  display: flex;
  gap: 13px;
  padding: 15px 17px;
  align-items: flex-start;
}

.prep-item .p-ico {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--sage-soft);
  color: var(--sage);
}

.prep-item .p-ico svg {
  width: 16px;
  height: 16px;
}

.prep-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 15.5px;
}

.prep-item span {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
}

/* 分部标题 */

.part-head {
  margin: 54px 0 8px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  scroll-margin-top: 82px;
}

.part-head .part-no {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--wine);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.part-head h2 {
  font-size: clamp(21px, 4.4vw, 27px);
}

.part-head + p.part-lede {
  color: var(--muted);
  font-size: 15px;
  max-width: 680px;
  margin-bottom: 8px;
}

/* 步骤 */

.step {
  display: grid;
  gap: 20px;
  padding: 26px 0 30px;
  border-bottom: 1px dashed var(--line);
  scroll-margin-top: 82px;
}

.step:last-of-type {
  border-bottom: 0;
}

@media (min-width: 860px) {
  .step {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 36px;
    align-items: start;
  }

  .step.flip {
    grid-template-columns: 320px minmax(0, 1fr);
  }

  .step.flip .step-text {
    order: 2;
  }

  .step.flip .step-visual {
    order: 1;
  }
}

.step-num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--wine);
  margin-bottom: 8px;
}

.step-num i {
  font-style: normal;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--wine);
  color: #fffaf2;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
}

.step-text h3 {
  font-size: 19.5px;
  margin-bottom: 9px;
}

.step-text p {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 9px;
}

.step-text p b,
.step-text li b {
  color: var(--ink);
}

.step-text ul,
.step-text ol {
  margin: 0 0 9px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14.5px;
  display: grid;
  gap: 5px;
}

.step-text .em {
  color: var(--wine-dark);
}

/* 提示框 */

.callout {
  display: flex;
  gap: 11px;
  padding: 13px 15px;
  border-radius: var(--radius);
  font-size: 13.5px;
  margin: 12px 0 4px;
  line-height: 1.65;
  font-family: var(--sans);
}

.callout svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 2px;
}

.callout.warn {
  background: rgba(143, 45, 50, 0.07);
  border: 1px solid rgba(143, 45, 50, 0.28);
  color: #6d2226;
}

.callout.tip {
  background: var(--sage-soft);
  border: 1px solid rgba(79, 115, 94, 0.3);
  color: #35543f;
}

.callout.info {
  background: var(--gold-soft);
  border: 1px solid rgba(208, 154, 67, 0.42);
  color: #5c4520;
}

.callout strong {
  font-weight: 700;
}

/* ---------- iOS 界面示意 ---------- */

.step-visual {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.shot {
  width: min(320px, 100%);
  background: linear-gradient(170deg, #ffffff, #f7f2e9);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  font-family: var(--sans);
  font-size: 13px;
  color: #2b2622;
}

/* 真机截图小组图（多张截图串成一个操作流程） */

.shot-sequence {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.shot-sequence .shot {
  width: min(248px, 100%);
}

.shot-sequence .shot img {
  display: block;
  width: 100%;
  height: auto;
}

.shot-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 24px;
  color: var(--faint);
  opacity: 0.75;
}

.shot-arrow svg {
  width: 14px;
  height: 14px;
}

.shot-cap {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--faint);
  text-align: center;
  max-width: 300px;
}

.shot-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px 4px;
  font-size: 11px;
  font-weight: 600;
  color: #45403a;
}

.shot-status .sig {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.shot-status .sig i {
  font-style: normal;
  display: block;
  width: 14px;
  height: 8px;
  border: 1px solid #45403a;
  border-radius: 2.5px;
  position: relative;
}

.shot-status .sig i::after {
  content: "";
  position: absolute;
  inset: 1.5px 4px 1.5px 1.5px;
  background: #45403a;
  border-radius: 1px;
}

.shot-url {
  margin: 8px 12px 4px;
  background: rgba(32, 25, 22, 0.06);
  border-radius: 9px;
  padding: 7px 12px;
  font-size: 12px;
  color: #5a534c;
  display: flex;
  align-items: center;
  gap: 7px;
}

.shot-url svg {
  width: 11px;
  height: 11px;
  opacity: 0.6;
}

.shot-body {
  padding: 12px 16px 18px;
}

.shot-title {
  font-size: 16.5px;
  font-weight: 700;
  margin: 4px 0 2px;
  letter-spacing: -0.01em;
}

.shot-sub {
  font-size: 11.5px;
  color: #8b837a;
  margin-bottom: 12px;
}

.ios-form {
  display: grid;
  gap: 8px;
}

.ios-field {
  background: #fff;
  border: 1px solid rgba(60, 50, 40, 0.16);
  border-radius: 10px;
  padding: 8px 12px;
}

.ios-field label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: #9a9189;
  text-transform: uppercase;
}

.ios-field .v {
  font-size: 13.5px;
  color: #26211d;
}

.ios-field .v.ph {
  color: #b3aaa1;
}

.ios-field.select .v {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ios-field.select .v::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #9a9189;
  border-bottom: 1.5px solid #9a9189;
  transform: rotate(45deg) translateY(-2px);
}

.hl {
  position: relative;
  border-color: rgba(143, 45, 50, 0.65) !important;
  box-shadow: 0 0 0 3px rgba(143, 45, 50, 0.14);
}

.hl-tag {
  position: absolute;
  top: -9px;
  right: 10px;
  background: var(--wine);
  color: #fffaf2;
  font-size: 9.5px;
  border-radius: 999px;
  padding: 1.5px 8px;
  letter-spacing: 0.05em;
}

.ios-btn {
  display: block;
  width: 100%;
  text-align: center;
  border: 0;
  border-radius: 11px;
  padding: 11px 0;
  font-size: 14.5px;
  font-weight: 600;
  background: #0071e3;
  color: #fff;
  margin-top: 10px;
}

.ios-btn.danger {
  background: #fff;
  color: #d70015;
  border: 1px solid rgba(60, 50, 40, 0.14);
}

.ios-btn.plain {
  background: rgba(32, 25, 22, 0.06);
  color: #26211d;
}

/* iOS 列表 / 单选 */

.ios-list {
  background: #fff;
  border: 1px solid rgba(60, 50, 40, 0.14);
  border-radius: 12px;
  overflow: hidden;
}

.ios-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10.5px 13px;
  border-bottom: 1px solid rgba(60, 50, 40, 0.08);
  font-size: 13.5px;
}

.ios-row:last-child {
  border-bottom: 0;
}

.ios-row .grow {
  flex: 1;
  min-width: 0;
}

.ios-row .sub {
  display: block;
  font-size: 10.5px;
  color: #9a9189;
}

.ios-row .radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #c9c1b8;
  flex: 0 0 auto;
}

.ios-row.on .radio {
  border-color: var(--wine);
  background: radial-gradient(circle, var(--wine) 0 5px, transparent 6px);
}

.ios-row.on {
  background: rgba(143, 45, 50, 0.05);
  font-weight: 600;
}

.ios-row .chev {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #b3aaa1;
  border-bottom: 1.5px solid #b3aaa1;
  transform: rotate(-45deg);
  flex: 0 0 auto;
}

.ios-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--wine), var(--gold));
  color: #fffaf2;
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 700;
  flex: 0 0 auto;
}

.ios-appicon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  flex: 0 0 auto;
  overflow: hidden;
}

.get-pill {
  background: rgba(0, 113, 227, 0.12);
  color: #0071e3;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 14px;
  flex: 0 0 auto;
}

/* iOS 弹窗 */

.ios-alert {
  width: min(250px, 88%);
  margin: 14px auto 6px;
  background: rgba(250, 248, 244, 0.98);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(30, 22, 16, 0.22);
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(60, 50, 40, 0.1);
}

.ios-alert .a-body {
  padding: 15px 14px 12px;
}

.ios-alert .a-title {
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 4px;
}

.ios-alert .a-msg {
  font-size: 11.5px;
  color: #6f675f;
  line-height: 1.5;
}

.ios-alert .a-actions {
  display: flex;
  border-top: 0.5px solid rgba(60, 50, 40, 0.18);
}

.ios-alert .a-actions span {
  flex: 1;
  padding: 9.5px 0;
  font-size: 13px;
  color: #0071e3;
}

.ios-alert .a-actions span + span {
  border-left: 0.5px solid rgba(60, 50, 40, 0.18);
}

.ios-alert .a-actions .strong {
  font-weight: 700;
}

/* 对/错对比 */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0 4px;
  font-family: var(--sans);
}

.compare-card {
  border-radius: var(--radius);
  padding: 12px 13px;
  font-size: 12.5px;
  line-height: 1.55;
}

.compare-card.ok {
  background: var(--sage-soft);
  border: 1px solid rgba(79, 115, 94, 0.35);
  color: #2f4d3a;
}

.compare-card.bad {
  background: rgba(143, 45, 50, 0.06);
  border: 1px solid rgba(143, 45, 50, 0.3);
  color: #6d2226;
}

.compare-card .c-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 13px;
}

.compare-card svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

@media (max-width: 480px) {
  .compare {
    grid-template-columns: 1fr;
  }
}

/* 地址卡片 + 复制 */

.addr-card {
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-family: var(--sans);
}

.addr-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 15px;
  background: var(--wine-soft);
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
  font-weight: 600;
  color: var(--wine-dark);
}

.addr-head small {
  font-weight: 400;
  color: var(--muted);
}

.copy-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 15px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
}

.copy-row:last-child {
  border-bottom: 0;
}

.copy-row .k {
  flex: 0 0 74px;
  font-size: 12px;
  color: var(--faint);
}

.copy-row .val {
  flex: 1;
  min-width: 0;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.copy-btn {
  flex: 0 0 auto;
  border: 1px solid rgba(143, 45, 50, 0.35);
  background: transparent;
  color: var(--wine);
  font-size: 11.5px;
  border-radius: 999px;
  padding: 3.5px 11px;
  cursor: pointer;
  font-family: var(--sans);
  transition: background 0.15s, color 0.15s;
}

.copy-btn:hover {
  background: var(--wine-soft);
}

.copy-btn.copied {
  background: var(--sage);
  border-color: var(--sage);
  color: #fffaf2;
}

.addr-alt {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

@media (min-width: 640px) {
  .addr-alt {
    grid-template-columns: 1fr 1fr;
  }
}

/* 购买成品号 */

.buy-panel {
  margin-top: 26px;
  padding: 26px 24px;
  display: grid;
  gap: 18px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 860px) {
  .buy-panel {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
    padding: 30px 30px;
  }
}

.buy-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--wine));
}

.buy-panel h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.buy-panel p {
  color: var(--muted);
  font-size: 14.5px;
}

.buy-check {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--muted);
}

.buy-check li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.buy-check svg {
  width: 15px;
  height: 15px;
  color: var(--sage);
  flex: 0 0 auto;
  margin-top: 3px;
}

/* 步骤间大 CTA */

.finish-cta {
  margin: 34px 0 8px;
  padding: 30px 24px;
  text-align: center;
  background:
    radial-gradient(circle at 20% 0%, rgba(208, 154, 67, 0.16), transparent 50%),
    var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.finish-cta h3 {
  font-size: clamp(20px, 4.4vw, 26px);
  margin-bottom: 8px;
}

.finish-cta p {
  color: var(--muted);
  font-size: 14.5px;
  max-width: 480px;
  margin: 0 auto 18px;
}

.finish-cta .hero-ctas {
  justify-content: center;
  margin-top: 0;
}

/* 返回顶部 / 页内导航微调 */

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 18px;
}

.back-home:hover {
  color: var(--wine-dark);
}

.back-home svg {
  width: 13px;
  height: 13px;
}

/* 渐显动画 */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .showcase-proof i,
  .showcase-caption.is-updating .showcase-caption-copy {
    animation: none;
  }

  .showcase-shot {
    transition: none;
  }
}
