/* ==========================================================================
   IINA 中文站 · 设计系统
   配色取自 IINA 官方 App 图标：深空底 #0A0D18 / 青色渐变 #26C8FA→#066FB3 / 靛蓝 #30358B
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* 品牌色 */
  --brand-50:  #EAF7FE;
  --brand-100: #CBEAFB;
  --brand-200: #A3DCF7;
  --brand-300: #6FCDEE;
  --brand-400: #26C8FA;
  --brand-500: #129FDF;
  --brand-600: #077BBF;
  --brand-700: #066FB3;
  --brand-800: #0A5C8F;

  --indigo-50:  #EDEEF9;
  --indigo-200: #C3C6E8;
  --indigo-600: #30358B;
  --indigo-700: #262A72;

  /* 中性色 */
  --ink-950: #06080F;
  --ink-900: #0A0D18;
  --ink-800: #11161F;
  --ink-700: #1C2431;
  --ink-600: #333D4F;
  --ink-500: #4E596C;
  --ink-400: #6E7889;
  --ink-300: #697282;
  --ink-200: #C6CDD6;

  --line:      #E3E8EE;
  --line-soft: #EEF1F5;
  --surface:   #FFFFFF;
  --canvas:    #F7F8FA;
  --canvas-2:  #F1F4F7;

  /* 排版 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
               "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
               "Liberation Mono", monospace;

  /* 尺寸 */
  --wrap: 1180px;
  --wrap-narrow: 860px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* 阴影：扁平体系，仅两级，克制使用 */
  --shadow-1: 0 1px 2px rgba(10, 13, 24, .05), 0 1px 1px rgba(10, 13, 24, .03);
  --shadow-2: 0 12px 32px -12px rgba(10, 13, 24, .16), 0 2px 8px rgba(10, 13, 24, .05);
  --shadow-dark: 0 30px 70px -30px rgba(6, 8, 15, .8);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 68px;
}

/* ---------- 2. Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-600);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  color: var(--ink-900);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.01em;
}

p { margin: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }

a {
  color: var(--brand-700);
  text-decoration: none;
  transition: color .18s var(--ease);
}
a:hover { color: var(--brand-800); }

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font: inherit; color: inherit; }

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

::selection { background: var(--brand-100); color: var(--ink-900); }

/* 屏幕阅读器专用 */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 跳转链接 */
.skip-link {
  position: absolute;
  top: 8px; left: 8px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink-900);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 14px;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); color: #fff; }

/* ---------- 3. Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: 96px; }
.section--tight { padding-block: 72px; }
.section--canvas { background: var(--canvas); }
.section--line { border-top: 1px solid var(--line-soft); }

.section-head {
  max-width: 720px;
  margin-bottom: 52px;
}
.section-head--center { margin-inline: auto; text-align: center; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-700);
}
.kicker::before {
  content: "";
  width: 18px; height: 2px;
  background: var(--brand-400);
  border-radius: 2px;
}
.section-head--center .kicker::before { display: none; }
.section-head--center .kicker {
  padding: 6px 14px;
  background: var(--brand-50);
  border-radius: 100px;
  letter-spacing: .08em;
}

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -.02em;
}
.section-head p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--ink-500);
}

/* ---------- 4. 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-900);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.01em;
  flex-shrink: 0;
}
.brand:hover { color: var(--ink-900); }
.brand__mark { width: 30px; height: 30px; border-radius: 8px; }
.brand__sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-300);
  padding-left: 9px;
  margin-left: 3px;
  border-left: 1px solid var(--line);
  line-height: 1.2;
}

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-600);
}
.nav__link:hover { background: var(--canvas-2); color: var(--ink-900); }
.nav__link[aria-current="page"] {
  color: var(--brand-700);
  background: var(--brand-50);
  font-weight: 600;
}

.header-cta { flex-shrink: 0; }
.nav__cta { display: none; }

/* 汉堡菜单 */
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; stroke: var(--ink-700); }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
              color .18s var(--ease), transform .18s var(--ease),
              box-shadow .18s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--brand-700);
  color: #fff;
  box-shadow: 0 1px 2px rgba(6, 111, 179, .28);
}
.btn--primary:hover {
  background: var(--brand-800);
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(6, 111, 179, .55);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink-700);
}
.btn--ghost:hover {
  background: var(--canvas);
  border-color: var(--ink-200);
  color: var(--ink-900);
}

.btn--light {
  background: #fff;
  color: var(--ink-900);
  box-shadow: var(--shadow-1);
}
.btn--light:hover { background: var(--brand-50); color: var(--brand-800); }

.btn--outline-light {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .38);
  color: #fff;
}

.btn--sm { padding: 9px 16px; font-size: 14px; border-radius: 9px; }
.btn--lg { padding: 15px 30px; font-size: 16px; border-radius: 12px; }
.btn--block { width: 100%; }

/* 文字链接（带箭头） */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-700);
}
.link-arrow svg {
  width: 16px; height: 16px;
  transition: transform .2s var(--ease);
}
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink-900);
  color: rgba(255, 255, 255, .78);
  isolation: isolate;
}
/* 背景光晕 */
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 780px;
  background:
    radial-gradient(46% 52% at 22% 34%, rgba(38, 200, 250, .28), transparent 70%),
    radial-gradient(38% 44% at 78% 12%, rgba(48, 53, 139, .55), transparent 72%),
    radial-gradient(30% 40% at 62% 78%, rgba(6, 111, 179, .28), transparent 70%);
  filter: blur(12px);
  z-index: -2;
}
/* 细网格 */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(80% 60% at 50% 0%, #000 20%, transparent 88%);
  mask-image: radial-gradient(80% 60% at 50% 0%, #000 20%, transparent 88%);
  z-index: -1;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  align-items: center;
  gap: 56px;
  padding-block: 88px 104px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  margin-bottom: 26px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, .88);
}
.hero__badge b {
  padding: 2px 8px;
  background: var(--brand-400);
  border-radius: 100px;
  color: var(--ink-900);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .01em;
}

.hero h1 {
  color: #fff;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.14;
  letter-spacing: -.03em;
  font-weight: 700;
}
.hero h1 .accent {
  background: linear-gradient(96deg, #7EE0FF 4%, var(--brand-400) 42%, #2A9FE0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero__lead {
  margin-top: 22px;
  max-width: 520px;
  font-size: 17.5px;
  line-height: 1.72;
  color: rgba(255, 255, 255, .78);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13.5px;
  color: rgba(255, 255, 255, .62);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta svg { width: 15px; height: 15px; color: var(--brand-400); }

/* ---- 播放器示意 ---- */
.hero__visual { position: relative; }

.player-mock {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(168deg, #1A2233 0%, #0D1220 58%, #080B14 100%);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: var(--shadow-dark);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-4deg) rotateX(2deg);
  transition: transform .6s var(--ease);
}
.player-mock:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }

.player-mock__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: rgba(255, 255, 255, .03);
}
.player-mock__dots { display: flex; gap: 6px; }
.player-mock__dots i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
}
.player-mock__dots i:first-child { background: #FF5F57; }
.player-mock__dots i:nth-child(2) { background: #FEBC2E; }
.player-mock__dots i:nth-child(3) { background: #28C840; }
.player-mock__title {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, .42);
  font-family: var(--font-mono);
}

.player-mock__stage {
  position: relative;
  aspect-ratio: 16 / 9.6;
  display: grid;
  place-items: center;
  background:
    radial-gradient(58% 68% at 50% 44%, rgba(38, 200, 250, .16), transparent 72%),
    linear-gradient(180deg, #0B1220, #070A12);
}
/* 影片抽象画面 */
.player-mock__film {
  position: absolute;
  inset: 0;
  opacity: .5;
  background:
    radial-gradient(30% 46% at 26% 68%, rgba(48, 53, 139, .8), transparent 70%),
    radial-gradient(26% 40% at 72% 34%, rgba(6, 111, 179, .6), transparent 72%),
    radial-gradient(20% 30% at 60% 82%, rgba(38, 200, 250, .3), transparent 70%);
}
.player-mock__play {
  position: relative;
  width: 74px; height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.player-mock__play::after {
  content: "";
  width: 0; height: 0;
  margin-left: 4px;
  border-left: 20px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.player-mock__osc {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  padding: 10px 14px 12px;
  border-radius: 12px;
  background: rgba(10, 13, 24, .72);
  border: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.player-mock__track {
  position: relative;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .16);
  overflow: visible;
}
.player-mock__track i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--brand-500), var(--brand-400));
}
.player-mock__track::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 38%;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(38, 200, 250, .25);
}
.player-mock__ctrl {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 11px;
  color: rgba(255, 255, 255, .62);
}
.player-mock__ctrl svg { width: 15px; height: 15px; }
.player-mock__ctrl .time {
  margin-left: auto;
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: .02em;
}

/* 浮标：格式支持 */
.player-float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-radius: 12px;
  background: rgba(12, 17, 28, .86);
  border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .9);
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  animation: floaty 6s ease-in-out infinite;
}
.player-float svg { width: 16px; height: 16px; color: var(--brand-400); }
.player-float--a { top: 12%; left: 14px; }
.player-float--b { bottom: 20%; right: 12px; animation-delay: -3s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* ---------- 7. 事实条 ---------- */
.facts {
  background: var(--ink-800);
  border-top: 1px solid rgba(255, 255, 255, .07);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-color: rgba(255, 255, 255, .08);
}
.facts__item {
  padding: 34px 24px;
  border-left: 1px solid rgba(255, 255, 255, .08);
}
.facts__item:first-child { border-left: 0; padding-left: 0; }
.facts__num {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.facts__num small {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-400);
  margin-left: 4px;
}
.facts__label {
  margin-top: 6px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .6);
}

/* ---------- 8. 卡片网格 ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--gap-lg { gap: 26px; }

.card {
  position: relative;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease),
              transform .2s var(--ease);
}
.card:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}
.card h3 {
  font-size: 17.5px;
  font-weight: 700;
}
.card p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--ink-500);
  line-height: 1.68;
}

/* 图标容器（矢量图标统一规格） */
.icon-box {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 18px;
  border-radius: 11px;
  background: var(--brand-50);
  color: var(--brand-700);
}
.icon-box svg { width: 22px; height: 22px; }
.icon-box--indigo { background: var(--indigo-50); color: var(--indigo-600); }
.icon-box--ink { background: var(--canvas-2); color: var(--ink-700); }
.icon-box--sm { width: 36px; height: 36px; border-radius: 9px; margin-bottom: 0; }
.icon-box--sm svg { width: 18px; height: 18px; }

/* 列表项带勾 */
.checks { margin-top: 18px; display: grid; gap: 10px; }
.checks li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--ink-500);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--brand-50);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23066FB3' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 10px 10px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- 9. 场景卡 ---------- */
.scene {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.scene__visual {
  position: relative;
  height: 132px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #131A28, #0A0D18);
  overflow: hidden;
}
.scene__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(52% 82% at 50% 18%, rgba(38, 200, 250, .22), transparent 72%);
}
.scene__visual svg {
  position: relative;
  width: 46px; height: 46px;
  color: rgba(255, 255, 255, .9);
  stroke-width: 1.4;
}
.scene__body { padding: 24px 26px 28px; }
.scene__tag {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-700);
}
.scene h3 { font-size: 17px; }
.scene p { margin-top: 9px; font-size: 14.5px; color: var(--ink-500); }
.scene ul { margin-top: 14px; display: grid; gap: 7px; }
.scene li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  color: var(--ink-400);
}
.scene li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand-300);
}

/* ---------- 10. 分栏内容 ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.split--wide-left { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.split__body h2 {
  font-size: clamp(25px, 3vw, 34px);
  letter-spacing: -.02em;
}
.split__body > p {
  margin-top: 16px;
  font-size: 16.5px;
  color: var(--ink-500);
}

/* 界面示意面板 */
.panel-demo {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.panel-demo__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--canvas);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-400);
  font-family: var(--font-mono);
}
.panel-demo__head span.dots { display: flex; gap: 5px; }
.panel-demo__head span.dots i {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--ink-200);
}
.panel-demo__body { padding: 20px; }

/* 设置项示意 */
.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
}
.setting-row:last-child { border-bottom: 0; padding-bottom: 0; }
.setting-row:first-child { padding-top: 0; }
.setting-row__label { font-size: 14px; color: var(--ink-600); font-weight: 500; }
.setting-row__label small {
  display: block;
  font-size: 12.5px;
  color: var(--ink-300);
  font-weight: 400;
  margin-top: 2px;
}
/* 开关 */
.switch {
  position: relative;
  flex-shrink: 0;
  width: 40px; height: 23px;
  border-radius: 100px;
  background: var(--brand-600);
  border: 0;
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px; left: 20px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}
.switch--off { background: var(--ink-200); }
.switch--off::after { left: 3px; }

/* 键帽 */
kbd {
  display: inline-block;
  padding: 3px 7px;
  min-width: 24px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-700);
  background: var(--canvas);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 5px;
  line-height: 1.4;
  white-space: nowrap;
}

/* 列表式功能（带左侧图标） */
.feature-list { display: grid; gap: 26px; }
.feature-list__item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.feature-list__item h3 { font-size: 16px; }
.feature-list__item p {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--ink-500);
}

/* ---------- 11. 步骤 ---------- */
.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 20px;
  padding-bottom: 30px;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 13.5px;
  font-weight: 700;
  font-family: var(--font-mono);
  z-index: 1;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 46px; left: 22px;
  width: 1px; height: calc(100% - 46px);
  background: var(--line);
}
.step h3 { font-size: 16.5px; padding-top: 9px; }
.step p { margin-top: 7px; font-size: 14.5px; color: var(--ink-500); }
.step code, .step pre { margin-top: 12px; }

/* ---------- 12. 代码块 ---------- */
code {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--canvas-2);
  border: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: .875em;
  color: var(--ink-700);
}
pre {
  margin: 0;
  padding: 16px 18px;
  overflow-x: auto;
  background: var(--ink-900);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, .08);
  font-size: 13px;
  line-height: 1.72;
  color: #D7DEE9;
}
pre code {
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  font-size: inherit;
}
pre .cmt { color: #6B7A90; }
pre .val { color: #7EE0FF; }

/* ---------- 13. 表格 ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
caption {
  padding: 16px 20px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-400);
  border-bottom: 1px solid var(--line-soft);
  background: var(--canvas);
}
th, td {
  padding: 13px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}
th {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-400);
  background: var(--canvas);
  white-space: nowrap;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #FBFCFD; }
td strong { color: var(--ink-900); font-weight: 600; }
td code { font-size: 12.5px; white-space: nowrap; }
.td-num { font-family: var(--font-mono); font-size: 13px; color: var(--ink-500); }
.td-nowrap { white-space: nowrap; }

/* ---------- 14. 版本卡 ---------- */
.release-card {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.release-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-400), var(--brand-600));
}
.release-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.release-card h3 {
  font-size: 21px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .02em;
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid var(--brand-100);
  white-space: nowrap;
}
.badge--green {
  background: #E9F8EF;
  color: #1B7A45;
  border-color: #C8EBD6;
}
.badge--ink {
  background: var(--canvas-2);
  color: var(--ink-500);
  border-color: var(--line);
}
.badge--indigo {
  background: var(--indigo-50);
  color: var(--indigo-600);
  border-color: var(--indigo-200);
}

.release-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--ink-400);
}
.release-card__meta b { color: var(--ink-700); font-weight: 600; }
.release-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.sha {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-400);
  word-break: break-all;
  line-height: 1.6;
}

/* ---------- 15. 系统要求列表 ---------- */
.req-list { display: grid; gap: 0; }
.req-list__row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px;
}
.req-list__row:last-child { border-bottom: 0; }
.req-list__row dt {
  font-weight: 600;
  color: var(--ink-400);
  font-size: 13.5px;
}
.req-list__row dd { margin: 0; color: var(--ink-600); }

/* ---------- 16. 提示条 ---------- */
.note {
  display: flex;
  gap: 13px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  font-size: 14px;
  color: var(--brand-800);
  line-height: 1.65;
}
.note svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--brand-600);
}
.note strong { color: var(--brand-800); }
.note--neutral {
  background: var(--canvas);
  border-color: var(--line);
  color: var(--ink-500);
}
.note--neutral svg { color: var(--ink-300); }

/* ---------- 17. 手风琴（FAQ） ---------- */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  width: 100%;
  padding: 22px 4px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.5;
  transition: color .18s var(--ease);
}
.acc-trigger:hover { color: var(--brand-700); }
.acc-trigger__icon {
  position: relative;
  flex-shrink: 0;
  width: 22px; height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition: background-color .2s var(--ease), border-color .2s var(--ease),
              transform .25s var(--ease);
}
.acc-trigger__icon::before,
.acc-trigger__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 9px; height: 1.5px;
  background: var(--ink-500);
  transform: translate(-50%, -50%);
  transition: transform .25s var(--ease), background-color .2s var(--ease);
}
.acc-trigger__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-trigger[aria-expanded="true"] .acc-trigger__icon {
  background: var(--brand-700);
  border-color: var(--brand-700);
  transform: rotate(180deg);
}
.acc-trigger[aria-expanded="true"] .acc-trigger__icon::before,
.acc-trigger[aria-expanded="true"] .acc-trigger__icon::after { background: #fff; }
.acc-trigger[aria-expanded="true"] .acc-trigger__icon::after { transform: translate(-50%, -50%) rotate(0); }

.acc-panel {
  overflow: hidden;
  height: 0;
  transition: height .28s var(--ease);
}
.acc-panel__inner {
  padding: 0 4px 24px;
  font-size: 15px;
  color: var(--ink-500);
  line-height: 1.75;
  max-width: 96%;
}
.acc-panel__inner p + p { margin-top: 12px; }
.acc-panel__inner ul { margin-top: 12px; display: grid; gap: 8px; }
.acc-panel__inner li { position: relative; padding-left: 17px; }
.acc-panel__inner li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--ink-200);
}
.acc-panel__inner code { font-size: 13px; }

/* ---------- 18. 模态框 ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 20px;
  border: 0;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s var(--ease), visibility .22s var(--ease);
}
.modal[open] { display: grid; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal::backdrop { background: transparent; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 15, .62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 34px 34px 28px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 90px -30px rgba(6, 8, 15, .6);
  transform: translateY(14px) scale(.985);
  transition: transform .26s var(--ease);
}
.modal.is-open .modal__dialog { transform: translateY(0) scale(1); }

.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  color: var(--ink-400);
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.modal__close:hover { background: var(--canvas-2); color: var(--ink-900); }
.modal__close svg { width: 19px; height: 19px; }

.modal__head { text-align: center; padding: 0 20px; }
.modal__icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin: 0 auto 16px;
  border-radius: 14px;
  background: var(--brand-50);
  color: var(--brand-700);
}
.modal__icon svg { width: 26px; height: 26px; }
.modal__head h2 { font-size: 21px; letter-spacing: -.01em; }
.modal__head p {
  margin-top: 9px;
  font-size: 14px;
  color: var(--ink-400);
  line-height: 1.65;
}

/* 二维码区域 */
.qr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  margin-top: 22px;
  max-width: 336px;          /* 整体收窄，二维码不再占满卡片宽度 */
  margin-inline: auto;
}
.qr-slot { margin: 0; text-align: center; }
.qr-box {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 6px;
  background: var(--canvas);
  border: 1px dashed var(--ink-200);
  border-radius: var(--radius);
  overflow: hidden;
}
/* 占位：虚线 QR 轮廓 */
.qr-placeholder {
  display: grid;
  place-items: center;
  gap: 9px;
  color: var(--ink-300);
}
.qr-placeholder svg { width: 42px; height: 42px; opacity: .55; }
.qr-placeholder span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .02em;
}
/* 二维码图片：src 直接写在 HTML 里，由浏览器原生加载。
   默认即显示并覆盖在下层占位之上，因此不依赖 JS、双击打开本地文件也能正常显示。
   JS 仅在加载成功后加 has-qr（隐藏占位虚线），失败时加 is-hidden（回退到占位）。
   图片自带 10% 白边（见 _tools/make_qr.py），故此处不再额外加 padding。 */
.qr-box img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  background: #fff;
  border-radius: calc(var(--radius) - 2px);
  display: block;
}
.qr-box img.is-hidden { display: none; }
.qr-box.has-qr .qr-placeholder { visibility: hidden; }
.qr-box.has-qr { border-style: solid; border-color: var(--line); background: #fff; padding: 0; }
.qr-slot figcaption {
  margin-top: 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-700);
  line-height: 1.5;
}

.modal__foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--ink-300);
  text-align: center;
  line-height: 1.7;
}
.modal__foot a { color: var(--ink-400); text-decoration: underline; text-underline-offset: 2px; }
.modal__foot a:hover { color: var(--brand-700); }

body.is-locked { overflow: hidden; }

/* ---------- 19. 页脚 ---------- */
.site-footer {
  background: var(--ink-900);
  color: rgba(255, 255, 255, .5);
  padding: 64px 0 28px;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer__brand .brand {
  color: #fff;
  font-size: 18px;
}
.footer__brand .brand__sub {
  color: rgba(255, 255, 255, .35);
  border-color: rgba(255, 255, 255, .16);
}
.footer__desc {
  margin-top: 16px;
  max-width: 320px;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .58);
}
.footer__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.footer__chips span {
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, .62);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 100px;
}
.footer__col h2 {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 16px;
}
.footer__col ul { display: grid; gap: 11px; }
.footer__col a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .6);
}
.footer__col a:hover { color: var(--brand-400); }
.footer__col a::after {
  content: "";
  display: inline-block;
  width: 0; height: 0;
}
.footer__ext { display: inline-flex; align-items: center; gap: 5px; }
.footer__ext svg { width: 11px; height: 11px; opacity: .55; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .55);
}
.footer__legal {
  max-width: 780px;
  font-size: 12px;
  line-height: 1.72;
  color: rgba(255, 255, 255, .52);
}
.footer__legal a { color: rgba(255, 255, 255, .62); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 20. 页面头（内页） ---------- */
.page-head {
  position: relative;
  overflow: hidden;
  padding: 68px 0 76px;
  background: var(--ink-900);
  color: rgba(255, 255, 255, .68);
  isolation: isolate;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto -10%;
  height: 520px;
  background:
    radial-gradient(42% 60% at 18% 20%, rgba(38, 200, 250, .2), transparent 70%),
    radial-gradient(40% 60% at 82% 0%, rgba(48, 53, 139, .48), transparent 72%);
  z-index: -2;
}
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%);
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
  z-index: -1;
  pointer-events: none;
}
.page-head h1 {
  color: #fff;
  font-size: clamp(30px, 4.2vw, 46px);
  letter-spacing: -.025em;
  line-height: 1.18;
  max-width: 820px;
}
.page-head p {
  margin-top: 18px;
  max-width: 660px;
  font-size: 16.5px;
  color: rgba(255, 255, 255, .74);
  line-height: 1.72;
}

/* 面包屑 */
.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  font-size: 13px;
  color: rgba(255, 255, 255, .58);
}
.crumbs a { color: rgba(255, 255, 255, .72); }
.crumbs a:hover { color: var(--brand-400); }
.crumbs svg { width: 13px; height: 13px; opacity: .5; }
.crumbs span[aria-current] { color: rgba(255, 255, 255, .78); }

/* 页面内锚点导航 */
.anchor-nav {
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface);
  position: sticky;
  top: var(--header-h);
  z-index: 40;
}
.anchor-nav__list {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scrollbar-width: none;
}
.anchor-nav__list::-webkit-scrollbar { display: none; }
.anchor-nav a {
  display: block;
  padding: 15px 0;
  border-bottom: 2px solid transparent;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-500);
  white-space: nowrap;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.anchor-nav a:hover { color: var(--ink-900); border-bottom-color: var(--ink-200); }

/* ---------- 21. 结尾 CTA ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 82px 0;
  background: var(--ink-900);
  text-align: center;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -60% 0 auto 0;
  height: 560px;
  background:
    radial-gradient(44% 60% at 50% 70%, rgba(38, 200, 250, .26), transparent 70%),
    radial-gradient(36% 50% at 76% 20%, rgba(48, 53, 139, .45), transparent 72%);
  z-index: -1;
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: -.02em;
}
.cta-band p {
  margin: 14px auto 0;
  max-width: 520px;
  font-size: 16px;
  color: rgba(255, 255, 255, .7);
}
.cta-band .hero__actions { justify-content: center; }

/* ---------- 22. 动画 ----------
   仅做位移，不做透明度过渡：即使脚本未执行，内容也始终可读 */
.reveal {
  transform: translateY(16px);
  transition: transform .55s var(--ease);
}
.reveal.is-in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { transform: none; }
}

/* ---------- 23. 响应式 ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 52px; padding-block: 64px 80px; }
  .hero__lead { max-width: 640px; }
  .player-mock { transform: none; max-width: 640px; }
  .hero__visual { order: 2; }
  .split { gap: 44px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .facts__item { padding: 28px 20px; }
  .facts__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts__item:first-child { padding-top: 30px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 860px) {
  :root { --header-h: 62px; }
  .section { padding-block: 68px; }
  .section--tight { padding-block: 54px; }
  .section-head { margin-bottom: 38px; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--wide-left { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }

  /* backdrop-filter 会为 fixed 子元素创建包含块，导致抽屉高度塌缩，
     移动端改用不透明背景并移除滤镜 */
  .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #fff;
  }

  /* 移动端抽屉 */
  .nav.is-open {
    display: block;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    bottom: 0;
    margin: 0;
    padding: 20px 24px 40px;
    background: var(--surface);
    border-top: 1px solid var(--line-soft);
    overflow-y: auto;
    z-index: 85;
  }
  .nav.is-open .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav.is-open .nav__link {
    padding: 14px 12px;
    font-size: 16px;
    border-radius: 10px;
  }
  .nav.is-open .nav__cta {
    display: block;
    margin-top: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--line-soft);
  }
  .nav.is-open .nav__cta .btn { width: 100%; }

  .page-head { padding: 48px 0 56px; }
  .anchor-nav__list { gap: 22px; }
  .modal__dialog { padding: 28px 22px 22px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .release-card, .card { padding: 24px; }
  .player-float--a { left: -8px; }
  .player-float--b { right: -6px; }
  .step { grid-template-columns: 38px minmax(0, 1fr); gap: 16px; }
  .step::before { width: 38px; height: 38px; font-size: 12.5px; }
  .step::after { left: 18px !important; top: 38px !important; height: calc(100% - 38px) !important; }
  .table-wrap { border-radius: var(--radius-sm); }
  th, td { padding: 11px 14px; }
  .req-list__row { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 560px) {
  .wrap { padding-inline: 18px; }
  .hero__inner { padding-block: 46px 62px; }
  .hero h1 { font-size: clamp(30px, 8.6vw, 38px); }
  .hero__lead { font-size: 15.5px; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .facts__grid { grid-template-columns: 1fr; }
  .facts__item { padding: 22px 0 !important; border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .facts__item:first-child { border-top: 0; }
  .grid--4 { grid-template-columns: 1fr; }
  .qr-grid { grid-template-columns: 1fr 1fr; gap: 10px; max-width: 300px; }
  .qr-box { padding: 5px; }
  .qr-placeholder svg { width: 32px; height: 32px; }
  .qr-placeholder span { font-size: 10px; }
  .qr-slot figcaption { font-size: 11.5px; margin-top: 7px; }
  .modal__dialog { padding: 26px 18px 20px; border-radius: 16px; }
  .player-float { display: none; }
  .brand__sub { display: none; }
}

/* ---------- 24. 打印 ---------- */
@media print {
  .site-header, .site-footer, .hero__actions, .modal, .cta-band, .nav-toggle { display: none !important; }
  body { color: #000; }
  .hero, .page-head { background: #fff; color: #000; }
  .hero h1, .page-head h1 { color: #000; }
}
