/* =========================================================
   归仓 RepoHome — 官网样式
   纯 CSS，无框架，无外部资源
   ========================================================= */

/* ---------- 设计变量 ---------- */
:root {
  --primary: #FF8140;
  --primary-strong: #F06C27;

  --bg: #F4F5F7;
  --bg-alt: #FFFFFF;
  --card: #FFFFFF;
  --text: #1F2329;
  --muted: #8A919F;

  --border: rgba(31, 35, 41, .10);
  --border-soft: rgba(31, 35, 41, .06);
  --fallback-bg: #DCDFE4;
  --overlay: rgba(14, 16, 19, .88);
  --tint: rgba(255, 129, 64, .08);

  --shadow-sm: 0 1px 2px rgba(15, 20, 30, .05), 0 4px 12px rgba(15, 20, 30, .05);
  --shadow-md: 0 2px 6px rgba(15, 20, 30, .06), 0 10px 24px rgba(15, 20, 30, .07);

  --radius-card: 16px;
  --radius-btn: 10px;
  --radius-shot: 12px;

  --nav-h: 60px;
  --gap: 16px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

/* 暗色：手动切换 */
html[data-theme="dark"] {
  --bg: #0E1013;
  --bg-alt: #12151A;
  --card: #171A20;
  --text: #E8EAEE;
  --muted: #79818F;

  --border: rgba(232, 234, 238, .12);
  --border-soft: rgba(232, 234, 238, .07);
  --fallback-bg: #232830;
  --overlay: rgba(5, 6, 8, .9);
  --tint: rgba(255, 129, 64, .12);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 12px rgba(0, 0, 0, .3);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, .35), 0 10px 24px rgba(0, 0, 0, .4);
}

/* 暗色：跟随系统（未手动选择时） */
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    --bg: #0E1013;
    --bg-alt: #12151A;
    --card: #171A20;
    --text: #E8EAEE;
    --muted: #79818F;

    --border: rgba(232, 234, 238, .12);
    --border-soft: rgba(232, 234, 238, .07);
    --fallback-bg: #232830;
    --overlay: rgba(5, 6, 8, .9);
    --tint: rgba(255, 129, 64, .12);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 12px rgba(0, 0, 0, .3);
    --shadow-md: 0 2px 6px rgba(0, 0, 0, .35), 0 10px 24px rgba(0, 0, 0, .4);
  }
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  /* 平滑滚动由 script.js 在锚点点击时显式开启；
     这里不设 scroll-behavior:smooth，避免影响截图/渲染类工具的程序化滚动 */
  scroll-padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: max(16px, env(safe-area-inset-left, 0px));
  padding-inline-end: max(16px, env(safe-area-inset-right, 0px));
}

.container--narrow { max-width: 780px; }

/* 图片加载失败时的灰色占位块（不出现破图图标） */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--fallback-bg);
}
.media.is-fallback::after {
  content: attr(data-fallback);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  background: var(--fallback-bg);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(255, 129, 64, .28);
}
.btn--primary:hover { background: var(--primary-strong); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: var(--card);
  color: var(--text);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }

.btn--lg { min-height: 52px; padding: 14px 40px; font-size: 17px; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}
.icon-btn:hover { background: var(--card); border-color: var(--primary); }

/* 语言切换按钮（中 / EN） */
.icon-btn--text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .4px;
}

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg); /* 兜底：不支持 color-mix 时仍保持不透明 */
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  padding-top: env(safe-area-inset-top, 0px);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.is-scrolled {
  border-bottom-color: var(--border-soft);
  box-shadow: 0 2px 12px rgba(15, 20, 30, .06);
}

.nav__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 44px;
  margin-inline-end: auto;
}
.brand__icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  flex: 0 0 auto;
  box-shadow: var(--shadow-sm);
}
.brand__name {
  min-width: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand__name b { color: var(--primary); font-weight: 700; }

.nav__actions { display: flex; align-items: center; gap: 8px; }

.nav__links {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px max(16px, env(safe-area-inset-left, 0px));
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: var(--shadow-md);
}
.nav__links.is-open { display: flex; }
.nav__links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  color: var(--muted);
  transition: background-color .18s ease, color .18s ease;
}
.nav__links a:hover { background: var(--card); color: var(--primary); }

/* 主题切换图标 */
.ic--sun { display: none; }
html[data-theme="dark"] .ic--sun { display: block; }
html[data-theme="dark"] .ic--moon { display: none; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .ic--sun { display: block; }
  html:not([data-theme="light"]) .ic--moon { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 44px;
  background:
    radial-gradient(900px 320px at 50% -80px, rgba(255, 129, 64, .16), transparent 70%),
    var(--bg);
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__icon {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}
.hero__title {
  margin-top: 22px;
  font-size: clamp(30px, 7vw, 44px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: .5px;
}
.hero__tagline {
  margin-top: 10px;
  max-width: 34em;
  font-size: clamp(15px, 4vw, 18px);
  color: var(--muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  width: 100%;
  max-width: 320px;
}
.hero__actions .btn { flex: 1 1 auto; width: 100%; }
.hero__note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 分区 ---------- */
.section { padding: 56px 0; }
.section--alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border-soft);
}

.section__head { text-align: center; max-width: 640px; margin-inline: auto; }
.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--primary);
}
.section__title {
  margin-top: 6px;
  font-size: clamp(24px, 5.5vw, 32px);
  line-height: 1.3;
  font-weight: 700;
}
.section__desc { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- 功能卡片 ---------- */
.grid {
  display: grid;
  gap: var(--gap);
  margin-top: 32px;
  grid-template-columns: 1fr;
}

.card {
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--primary);
  background: rgba(255, 129, 64, .12);
}
.card__title { margin-top: 14px; font-size: 17px; font-weight: 650; }
.card__text { margin-top: 6px; font-size: 14.5px; color: var(--muted); }

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 129, 64, .35);
  }
}

/* ---------- 截图 ---------- */
.shots { margin-top: 32px; }
.shots__track {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 0;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.shots__track::-webkit-scrollbar { display: none; }

.shot {
  /* 手机：一屏一整张，宽度撑满容器，高度按 9:19 反推，左右滑动切换 */
  flex: 0 0 100%;
  scroll-snap-align: start;
  min-width: 0;
}
.shot__frame {
  display: block;
  width: 100%;
  padding: 7px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  cursor: zoom-in;
  transition: transform .2s ease, box-shadow .2s ease;
}
.shot__media {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 19;
  border-radius: var(--radius-shot);
  background: var(--fallback-bg);
}
.shot__media img { width: 100%; height: 100%; object-fit: cover; }
.shot figcaption {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
}
@media (hover: hover) and (pointer: fine) {
  .shot__frame:hover { transform: translateY(-4px); }
}
.shot__frame:active { transform: translateY(-1px); }

.shots__hint {
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* 分页指示点：只有能横向滚动时才显示（JS 加 .is-on） */
.shots__dots {
  display: none;
  justify-content: center;
  align-items: center;
  margin-top: 4px;
}
.shots__dots.is-on { display: flex; }
.shots__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.shots__dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
  opacity: .45;
  transition: background-color .18s ease, opacity .18s ease, transform .18s ease;
}
.shots__dot.is-active::before {
  background: var(--primary);
  opacity: 1;
  transform: scale(1.3);
}
.shots__dot:hover::before { opacity: .8; }

/* ---------- 隐私政策弹窗 ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: var(--overlay);
  opacity: 0;
  visibility: hidden;
  /* 打开时立刻可见（保证关闭按钮能拿到焦点），关闭时先淡出再隐藏 */
  transition: opacity .2s ease, visibility 0s .2s;
}
.modal.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .2s ease, visibility 0s 0s;
}

.modal__panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 780px;
  max-height: 92vh;
  max-height: calc(100dvh - 24px);
  background: var(--bg-alt);
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  box-shadow: 0 -8px 44px rgba(0, 0, 0, .4);
  transform: translateY(16px);
  transition: transform .22s ease;
}
.modal.is-open .modal__panel { transform: none; }

.modal__head {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 16px max(16px, env(safe-area-inset-right, 0px)) 14px max(16px, env(safe-area-inset-left, 0px));
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-soft);
}
.modal__head-text { min-width: 0; }
.modal__title { font-size: 17px; line-height: 1.45; }
.modal__meta {
  margin: 4px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}
.modal__close { flex: 0 0 auto; margin: -6px -8px 0 0; }

.modal__body {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 18px max(16px, env(safe-area-inset-right, 0px)) calc(28px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}

@media (min-width: 640px) {
  .modal { align-items: center; padding: 24px; }
  .modal__panel { border-radius: var(--radius-card); max-height: min(86vh, 880px); }
  .modal__head { padding-top: 18px; padding-right: 20px; padding-bottom: 16px; padding-left: 24px; }
  .modal__body { padding: 22px 24px 32px; }
  .modal__title { font-size: 19px; }
}

/* 隐私政策正文排版 */
.policy { font-size: 15px; line-height: 1.85; color: var(--text); }
.policy h3 {
  margin: 26px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.5;
}
.policy h3:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.policy h4 { margin: 18px 0 0; font-size: 15.5px; font-weight: 700; line-height: 1.6; }
.policy h4 + p, .policy h3 + p, .policy p + p { margin-top: 8px; }
.policy p { margin: 10px 0; }
.policy ul { margin: 10px 0; padding-left: 1.25em; }
.policy li { margin: 7px 0; }
.policy strong { font-weight: 650; }
.policy a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.policy__intro {
  margin: 16px 0 6px;
  padding: 14px 16px;
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--muted);
}
.policy__intro p { margin: 4px 0; }

.policy__summary {
  padding: 12px 14px;
  background: var(--tint);
  border-left: 3px solid var(--primary);
  border-radius: 0 10px 10px 0;
}

.policy .table-wrap {
  margin: 14px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.policy table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.75;
}
.policy th,
.policy td {
  padding: 10px 12px;
  border: 1px solid var(--border-soft);
  text-align: left;
  vertical-align: top;
}
.policy th {
  background: var(--card);
  font-weight: 650;
  white-space: nowrap;
}
.policy td:first-child {
  font-weight: 600;
  overflow-wrap: anywhere;
  min-width: 200px;
}
.policy td + td { color: var(--muted); }

/* 手机上表格改成一块一张的卡片，避免横向挤压 */
@media (max-width: 639.98px) {
  .policy .table-wrap { overflow-x: visible; }
  .policy table,
  .policy tbody,
  .policy tr,
  .policy td { display: block; width: 100%; }
  .policy thead { display: none; }
  .policy tr {
    margin-bottom: 12px;
    padding: 12px 14px;
    background: var(--card);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
  }
  .policy td { border: 0; padding: 0; min-width: 0; }
  .policy td + td { margin-top: 6px; }
}

/* ---------- 工作原理 ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin-top: 32px;
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
.step__title { margin-top: 14px; font-size: 17px; font-weight: 650; }
.step__text { margin-top: 6px; font-size: 14.5px; color: var(--muted); }

/* ---------- 下载 ---------- */
.download {
  margin-top: 32px;
  padding: 34px 22px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
}
.download .btn--lg { width: 100%; max-width: 320px; }
.download__note { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  background: transparent;
  border: 0;
  text-align: start;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
}
.faq__q:hover { color: var(--primary); }
.faq__caret { flex: 0 0 auto; color: var(--muted); transition: transform .22s ease; }
.faq__q[aria-expanded="true"] .faq__caret { transform: rotate(180deg); color: var(--primary); }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .24s ease;
}
.faq__q[aria-expanded="true"] + .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { overflow: hidden; }
.faq__a-inner p {
  padding: 0 18px 16px;
  font-size: 14.5px;
  color: var(--muted);
}

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

.footer {
  padding: 30px 0 calc(30px + env(safe-area-inset-bottom, 0px));
  background: var(--bg-alt);
  border-top: 1px solid var(--border-soft);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.footer__links a { min-height: 24px; }
.footer__links a:hover { color: var(--primary); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  padding-top: calc(20px + env(safe-area-inset-top, 0px));
  background: var(--overlay);
  opacity: 0;
  visibility: hidden;
  /* 打开时立刻可见（保证能拿到焦点），关闭时先淡出再隐藏 */
  transition: opacity .2s ease, visibility 0s .2s;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .2s ease, visibility 0s 0s;
}

.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 100%;
}
.lightbox__media {
  max-height: 76vh;
  max-width: min(calc(100vw - 120px), 420px);
  aspect-ratio: 9 / 19;
  background: transparent;
  border-radius: var(--radius-shot);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
}
.lightbox__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.lightbox__cap { color: #E8EAEE; font-size: 14px; text-align: center; }

.lightbox__btn {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: background-color .18s ease;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox__close { top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; }
.lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); }

body.is-locked { overflow: hidden; }

/* =========================================================
   断点
   ========================================================= */

/* ---------- 平板：640px ~ 1024px ---------- */
@media (min-width: 640px) {
  :root { --gap: 20px; }

  .grid--features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }

  /* 平板：截图高度按屏高取值，一屏约 2~3 张 */
  .shots__track { --shot-h: clamp(320px, 52vh, 520px); }
  .shot { flex: 0 0 calc(var(--shot-h) * 9 / 19 + 16px); }
  .shot__media { height: var(--shot-h); aspect-ratio: auto; }

  .hero { padding: 72px 0 56px; }
  .section { padding: 72px 0; }
  .hero__icon { width: 116px; height: 116px; border-radius: 28px; }

  .download { padding: 40px 32px; }
}

/* ---------- 电脑：> 1024px ---------- */
@media (min-width: 1024px) {
  .grid--features { grid-template-columns: repeat(3, 1fr); gap: 22px; }

  /* 电脑：宽度决定大小，一屏正好 4 张、无需滚动 */
  .shot { flex: 0 0 calc((100% - 3 * var(--gap)) / 4); }
  .shot__media { height: auto; aspect-ratio: 9 / 19; }
  .shots__hint { display: none; }

  .section { padding: 88px 0; }
  .hero { padding: 96px 0 72px; }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: start;
  }

  /* 桌面：横向导航，隐藏汉堡按钮 */
  .nav__burger { display: none; }
  .nav__links {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .nav__links a { padding: 0 14px; }
}

/* 手机端汉堡按钮 */
@media (max-width: 1023.98px) {
  .nav__burger { display: inline-flex; }
}

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
