/* ==========================================================================
   VideoSaver 官网样式（v1.91）
   设计约束：
   1) 零外部依赖 —— 不引 CDN 字体/图标/框架（弱网、内网、离线都能开）；
   2) 品牌色与购买页同源（#2563eb 系），避免「官网蓝、收银台另一个蓝」；
   3) 只用系统字体：中文优先微软雅黑 / 苹方，数字用 tabular-nums 对齐；
   4) 所有动效都尊重 prefers-reduced-motion。
   ========================================================================== */

:root {
  --ink: #0b1526;
  --ink-2: #16223a;
  --muted: #5b6b86;
  --muted-2: #8593a8;
  --brand: #2563eb;
  --brand-d: #1d4ed8;
  --brand-l: #3b82f6;
  --cyan: #06b6d4;
  --ok: #059669;
  --warn: #b45309;
  --bg: #ffffff;
  --soft: #f5f8ff;
  --soft-2: #eef3fc;
  --line: #e4eaf4;
  --line-2: #d7e0ef;
  --radius: 16px;
  --radius-s: 10px;
  --shadow-s: 0 1px 2px rgba(16, 30, 54, .06), 0 2px 8px rgba(16, 30, 54, .04);
  --shadow-m: 0 10px 30px rgba(16, 30, 54, .09), 0 2px 6px rgba(16, 30, 54, .05);
  --shadow-l: 0 30px 70px rgba(8, 20, 40, .18);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei UI",
          "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font: 16px/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: #c7dbff; color: var(--ink); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.eyebrow {
  display: inline-block; margin-bottom: 14px; padding: 4px 12px;
  border-radius: 999px; background: #e8f0ff; color: var(--brand-d);
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
}
.section-head h2 { font-size: clamp(26px, 3vw, 34px); }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 17px; }

/* ------------------------------- 按钮 ------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border: 1px solid transparent; border-radius: 11px;
  font: 600 15px/1 var(--font); cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease,
              border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(180deg, var(--brand-l), var(--brand));
  color: #fff; box-shadow: 0 6px 16px rgba(37, 99, 235, .28);
}
.btn-primary:hover { box-shadow: 0 10px 24px rgba(37, 99, 235, .34); }
.btn-white { background: #fff; color: var(--brand-d); box-shadow: 0 8px 22px rgba(6, 16, 36, .22); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink-2); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-d); }
.btn-on-dark { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); color: #eaf1ff; }
.btn-on-dark:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 9px; }
.btn-lg { padding: 15px 28px; font-size: 16px; border-radius: 12px; }
.btn-block { width: 100%; }

/* ------------------------------- 顶栏 ------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 18px rgba(16, 30, 54, .05); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 17px; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  display: grid; place-items: center; box-shadow: 0 4px 12px rgba(37, 99, 235, .3);
}
.brand-mark svg { width: 18px; height: 18px; }
.brand small { display: block; font-size: 11px; font-weight: 600; color: var(--muted-2); letter-spacing: .04em; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-links a {
  padding: 8px 12px; border-radius: 8px; color: var(--ink-2);
  font-size: 14.5px; font-weight: 600;
}
.nav-links a:hover { background: var(--soft-2); color: var(--brand-d); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-toggle {
  display: none; width: 40px; height: 40px; margin-left: auto; border-radius: 9px;
  border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); cursor: pointer;
}
.nav-toggle span { display: block; width: 16px; height: 2px; margin: 3px auto; background: currentColor; border-radius: 2px; }

/* ------------------------------- 首屏 ------------------------------- */
.hero {
  position: relative; overflow: hidden; color: #eaf0fb;
  background:
    radial-gradient(900px 460px at 78% -8%, rgba(56, 132, 255, .42), transparent 62%),
    radial-gradient(700px 420px at 6% 12%, rgba(6, 182, 212, .22), transparent 60%),
    linear-gradient(180deg, #08101f 0%, #0b1526 46%, #0d1930 100%);
  padding: 84px 0 104px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 72%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 72%);
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px;
  border-radius: 999px; background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #cfe0ff; font-size: 13px; font-weight: 600;
}
.hero-badge b { padding: 2px 8px; border-radius: 999px; background: #2563eb; color: #fff; font-size: 12px; }
/* v1.92：双平台徽章的第二枚 —— 用青色与 Windows 的蓝色区分，避免看起来像一个版本号 */
.hero-badge b.alt { background: #0e7490; }
.hero h1 {
  margin: 20px 0 18px; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.14;
  letter-spacing: -.02em; color: #fff;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #7fb0ff, #4fe3f0 62%, #a5f3d0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { max-width: 540px; color: #b9c7de; font-size: 17.5px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: #8fa3c2; font-size: 13.5px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta svg { width: 15px; height: 15px; color: #4fd1c5; }
.hero-visual { position: relative; }
.hero-visual::after {
  content: ""; position: absolute; inset: 12% 8% 4%; z-index: -1;
  background: radial-gradient(closest-side, rgba(59, 130, 246, .38), transparent 70%);
  filter: blur(20px);
}
.app-mock { width: 100%; height: auto; filter: drop-shadow(0 34px 60px rgba(2, 10, 26, .55)); }

/* ------------------------------- 信任条 ------------------------------- */
.strip { background: #fff; border-bottom: 1px solid var(--line); }
.strip-in {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px 34px; padding: 22px 0;
}
.strip-item { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; font-weight: 600; }
.strip-item b { color: var(--ink); font-size: 15px; }
.strip-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(5, 150, 105, .12); }

/* ------------------------------- 功能卡 ------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  padding: 26px 24px 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-s);
  transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: #cfe0fb; }
.feature-ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(180deg, #eef4ff, #e0eaff); color: var(--brand-d);
  border: 1px solid #dbe7ff; margin-bottom: 16px;
}
.feature-ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 17.5px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14.5px; line-height: 1.72; }
.feature .tagline { display: inline-block; margin-top: 12px; font-size: 12.5px; font-weight: 700; color: var(--brand-d); }

/* ------------------------------- 三步 ------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 30px 26px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s);
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; margin-bottom: 14px; font: 800 30px/1 var(--font);
  color: #c3d4f2; letter-spacing: -.03em;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }
.step kbd {
  display: inline-block; padding: 1px 7px; border-radius: 6px; border: 1px solid var(--line-2);
  border-bottom-width: 2px; background: #fbfdff; font: 600 12.5px/1.6 var(--mono); color: var(--ink-2);
}

/* ------------------------------- 价格 ------------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 820px; margin: 0 auto; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 28px; border: 1px solid var(--line); border-radius: 18px;
  background: #fff; box-shadow: var(--shadow-s);
}
.plan--hi { border-color: #b9d2ff; box-shadow: 0 18px 44px rgba(37, 99, 235, .14); }
.plan-flag {
  position: absolute; top: -13px; left: 28px; padding: 3px 12px; border-radius: 999px;
  background: linear-gradient(180deg, var(--brand-l), var(--brand)); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
  box-shadow: 0 6px 14px rgba(37, 99, 235, .28);
}
.plan h3 { font-size: 18px; }
.plan .plan-desc { margin-top: 6px; color: var(--muted); font-size: 14px; min-height: 42px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 4px; }
.plan-price .cur { font-size: 20px; font-weight: 700; color: var(--ink-2); }
.plan-price .num { font-size: 46px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plan-price .unit { color: var(--muted); font-size: 14px; }
.plan-list { margin: 18px 0 24px; display: grid; gap: 10px; }
.plan-list li { display: flex; gap: 9px; color: var(--ink-2); font-size: 14.5px; }
.plan-list svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--ok); }
.plan-foot { margin-top: auto; }
.plan-note { margin-top: 10px; text-align: center; color: var(--muted-2); font-size: 12.5px; }
.pay-note { margin-top: 26px; text-align: center; color: var(--muted); font-size: 13.5px; }

/* ------------------------ 下载（v1.92：Windows / macOS 双平台） ------------------------ */
/* 两张卡等价：都能直接下载。JS 只负责「把当前系统那张标成推荐」，
   所以关掉 JS 或识别不出来时，功能不受影响（只是没有推荐角标）。 */
.dl-hint { display: block; margin-top: 8px; color: var(--brand-d); font-size: 13.5px; font-weight: 600; }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.dlbox {
  position: relative; display: flex; flex-direction: column;
  padding: 34px 32px; border: 1px solid var(--line); border-radius: 20px;
  background: #fff; box-shadow: var(--shadow-s);
  transition: border-color .18s, box-shadow .18s;
}
.dlbox.is-rec { border-color: #bcd4ff; box-shadow: var(--shadow-m); }
/* 识别到 macOS 时把 mac 卡排到前面 —— 纯 CSS 顺序，不动 DOM（读屏与无 JS 时顺序仍固定） */
html[data-os="mac"] .dlbox[data-os-box="mac"] { order: 1; }
html[data-os="mac"] .dlbox[data-os-box="windows"] { order: 2; }
.dlbox-tag {
  position: absolute; top: -13px; left: 32px; padding: 4px 12px; border-radius: 999px;
  background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em;
  opacity: 0; transform: translateY(4px); transition: opacity .18s, transform .18s;
}
.dlbox.is-rec .dlbox-tag { opacity: 1; transform: none; }
.dlbox-head { display: flex; align-items: center; gap: 14px; }
.dlbox-head .os {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: #0b1526; color: #fff; flex: none;
}
.dlbox-head .os svg { width: 22px; height: 22px; }
.dlbox-head h3 { font-size: 19px; }
.dlbox-head p { color: var(--muted); font-size: 13.5px; }
.dlbox .btn { margin: 24px 0 12px; }
.dl-file { color: var(--muted-2); font: 500 12.5px/1.7 var(--mono); word-break: break-all; }
.dlbox .sep { height: 1px; background: var(--line); margin: 20px 0 18px; }
.dlbox h4 { font-size: 14px; color: var(--ink-2); margin-bottom: 10px; letter-spacing: .02em; }
.dlbox ul { display: grid; gap: 9px; }
/* ⚠ li 不能用 display:flex：内容里一旦有 <b>/<code> 等行内元素，
   会被拆成多个 flex item 横向铺开 —— 句子顺序全乱（Safari/Chrome 同病，
   v1.92 macOS 卡的「右键 → 打开」一条就是这么炸的）。
   改用 doc-sec 同款：padding-left 挖位 + ::before 绝对定位圆点。 */
.dlbox li {
  position: relative; padding-left: 14px;
  color: var(--muted); font-size: 13.8px; line-height: 1.72;
}
.dlbox li::before {
  content: "·"; position: absolute; left: 2px; top: .18em;
  color: var(--brand); font-weight: 800;
}
.dlbox li b { color: var(--ink-2); }
/* Gatekeeper 提示的解法：给一块浅色警示底，命令行用等宽字体单独显示 */
.dl-tip {
  color: #6b5a3a; font-size: 12.8px; line-height: 1.8;
  padding: 12px 14px; border-radius: 10px; background: #fffaf0; border: 1px solid #f3e2c4;
}
.dl-tip code {
  display: inline-block; margin: 5px 0; padding: 3px 8px; border-radius: 5px;
  background: #fff; border: 1px solid #efdcc0;
  font: 600 12px/1.6 var(--mono); color: var(--ink-2); word-break: break-all;
}

/* ------------------------------- 文档入口 / FAQ ------------------------------- */
.docs-teaser {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 26px;
  padding: 30px 34px; border-radius: 18px; border: 1px solid #d8e5fb;
  background: linear-gradient(120deg, #f3f8ff, #eef6ff 60%, #eaf4ff);
}
.docs-teaser h3 { font-size: 19px; }
.docs-teaser p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.docs-teaser .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { padding: 3px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); color: var(--ink-2); font-size: 12.5px; font-weight: 600; }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  box-shadow: var(--shadow-s); overflow: hidden;
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 17px 20px; cursor: pointer; font-weight: 600; font-size: 15.5px;
  list-style: none; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 24px; height: 24px; border-radius: 7px;
  display: grid; place-items: center; background: var(--soft-2); color: var(--brand-d);
  font-weight: 700; transition: transform .2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .faq-body { padding: 16px 20px 18px; color: var(--muted); font-size: 14.5px; }
.faq .faq-body code { font: 600 13px/1.6 var(--mono); background: var(--soft-2); padding: 1px 6px; border-radius: 5px; color: var(--ink-2); }

/* ------------------------------- 页脚 ------------------------------- */
.footer { background: #08101f; color: #93a4c1; padding: 54px 0 30px; }
.footer-in { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer .brand { color: #fff; }
.footer .brand small { color: #7d8fae; }
.footer-about { margin-top: 14px; max-width: 320px; font-size: 13.5px; line-height: 1.75; }
.footer h5 { margin: 0 0 12px; color: #dbe5f5; font-size: 13.5px; letter-spacing: .04em; }
.footer li + li { margin-top: 9px; }
.footer a { color: #93a4c1; font-size: 13.5px; }
.footer a:hover { color: #fff; text-decoration: none; }
.footer-bot {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .09);
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-size: 12.5px; color: #6f819f;
}

/* ==========================================================================
   文档中心（docs.html）
   ========================================================================== */
.doc-hero {
  padding: 44px 0 40px; color: #eaf0fb;
  background:
    radial-gradient(760px 320px at 82% -30%, rgba(56, 132, 255, .38), transparent 64%),
    linear-gradient(180deg, #0a1426, #0c1a30);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.doc-hero h1 { font-size: clamp(26px, 3.4vw, 36px); color: #fff; }
.doc-hero p { margin-top: 10px; color: #a9bad6; font-size: 15px; max-width: 720px; }
.doc-hero .meta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.doc-hero .meta span {
  padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #cfe0ff;
}
.doc-shell { display: grid; grid-template-columns: 246px minmax(0, 1fr); gap: 40px; padding: 42px 0 80px; align-items: start; }
.doc-aside { position: sticky; top: 86px; }
.doc-search { position: relative; margin-bottom: 16px; }
.doc-search input {
  width: 100%; padding: 10px 12px 10px 34px; border: 1px solid var(--line-2);
  border-radius: 10px; font: 500 14px var(--font); color: var(--ink);
  background: #fff; outline: none;
}
.doc-search input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(37, 99, 235, .14); }
.doc-search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted-2); }
.doc-toc { display: grid; gap: 2px; }
.doc-toc a {
  display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink-2);
  font-size: 14px; font-weight: 600; border-left: 2px solid transparent;
}
.doc-toc a:hover { background: var(--soft-2); text-decoration: none; }
.doc-toc a.is-active { color: var(--brand-d); background: #eef4ff; border-left-color: var(--brand); }
.doc-toc .toc-hint { padding: 8px 12px; color: var(--muted-2); font-size: 12.5px; }
.doc-main { min-width: 0; }
.doc-sec {
  padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-s); margin-bottom: 18px;
  scroll-margin-top: 86px;
}
.doc-sec h2 { display: flex; align-items: center; gap: 10px; font-size: 20px; margin-bottom: 14px; }
.doc-sec h2 .n {
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: var(--soft-2); color: var(--brand-d); font-size: 13px; font-weight: 800; flex: none;
}
.doc-sec ul { display: grid; gap: 12px; }
.doc-sec li {
  position: relative; padding-left: 18px; color: #33415c; font-size: 15px; line-height: 1.78;
}
.doc-sec li::before {
  content: ""; position: absolute; left: 2px; top: .72em; width: 6px; height: 6px;
  border-radius: 50%; background: #b9ccf0;
}
.doc-sec li b { color: var(--ink); }
.doc-sec li code, .doc-sec li kbd {
  font: 600 13px/1.6 var(--mono); background: var(--soft-2); padding: 1px 6px;
  border-radius: 5px; color: var(--ink-2);
}
.doc-empty { padding: 40px 24px; text-align: center; color: var(--muted); }
.doc-foot { margin-top: 26px; padding: 22px 24px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.doc-foot b { color: var(--ink); }

/* ------------------------------- 响应式 ------------------------------- */
@media (max-width: 1000px) {
  .hero-in { grid-template-columns: 1fr; gap: 44px; }
  .hero-sub { max-width: none; }
  .grid-3, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
  .dlbox { padding: 30px 26px; }
}
@media (max-width: 860px) {
  .doc-shell { grid-template-columns: 1fr; gap: 22px; }
  .doc-aside { position: static; }
  .doc-toc { display: flex; flex-wrap: wrap; gap: 6px; }
  .doc-toc a { border-left: none; border: 1px solid var(--line); }
  .doc-toc a.is-active { border-color: var(--brand); }
  .doc-toc .toc-hint { display: none; }
}
@media (max-width: 760px) {
  .section { padding: 66px 0; }
  .wrap { padding: 0 18px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; position: absolute; left: 0; right: 0; top: 66px;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 18px 18px; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(16, 30, 54, .08);
  }
  .nav.open .nav-links a { padding: 11px 12px; }
  .grid-3, .steps, .price-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 72px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .docs-teaser { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr; gap: 26px; }
  .dlbox { padding: 26px 22px; }
  .dlbox-tag { left: 22px; }
  .doc-sec { padding: 22px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
