/* ==========================================================================
   守望家 · 官网统一样式
   所有页面（index.html / legal/*.html）共用本文件。
   改动顺序建议：先改变量（:root），再改组件，最后改页面级区块。
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  --brand: #2c45c7;
  --brand-dark: #22379f;
  --brand-soft: #eef2ff;
  --mint: #12b981;
  --ink: #101828;
  --text: #344054;
  --muted: #5b6478;
  --line: #e6ebf4;
  --bg: #f7f9fd;
  --card: #ffffff;
  --radius: 22px;
  --shadow: 0 24px 60px -30px rgba(24, 39, 75, 0.35);
  --shadow-soft: 0 12px 30px -18px rgba(24, 39, 75, 0.35);
  --max: 1120px;
  --nav-h: 66px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", sans-serif;
}

/* ---------- 2. 基础 ---------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::selection { background: rgba(44, 69, 199, 0.14); }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 12px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

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

/* ---------- 3. 顶部导航 ---------- */
header.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: saturate(180%) blur(14px);
  background: rgba(247, 249, 253, 0.82);
  border-bottom: 1px solid rgba(230, 235, 244, 0.8);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.2px;
  font-size: 16px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(140deg, #3a55e0, #2437a8);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 8px 18px -8px rgba(44, 69, 199, 0.8);
  flex: none;
}

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 14px;
  color: var(--muted);
}
.nav-links a:hover { color: var(--brand); }
.nav-links a[aria-current="page"] { color: var(--brand); font-weight: 600; }

.nav-cta { display: flex; align-items: center; gap: 12px; }

/* 移动端汉堡按钮：默认隐藏，960px 以下出现 */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(247, 249, 253, 0.98);
  padding: 8px 0 18px;
}
.nav-drawer a {
  display: block;
  padding: 12px 2px;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid rgba(230, 235, 244, 0.7);
}
.nav-drawer a:last-child { border-bottom: 0; }
.nav-drawer .drawer-cta {
  margin-top: 12px;
  display: flex;
  gap: 10px;
}
.nav-drawer .drawer-cta .btn { flex: 1; }

body.nav-open .nav-drawer { display: block; }

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease,
    border-color 0.16s ease;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 26px -14px rgba(44, 69, 199, 0.9);
}
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #c9d4ea; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }

/* ---------- 5. 首页 Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 68px 0 40px; }
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 560px;
  background:
    radial-gradient(600px 320px at 18% 10%, rgba(44, 69, 199, 0.16), transparent 70%),
    radial-gradient(520px 300px at 78% 0%, rgba(18, 185, 129, 0.14), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  box-shadow: var(--shadow-soft);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }

h1 {
  margin: 20px 0 16px;
  font-size: clamp(30px, 4.1vw, 50px);
  line-height: 1.18;
  letter-spacing: -1.2px;
  font-weight: 800;
  word-break: keep-all; /* 中文默认任意断行，「一张图就安心」会被拆成 5+1 */
}
h1 .grad {
  display: inline-block; /* 整块换行，避免最后一个字被挤到下一行 */
  background: linear-gradient(120deg, #2c45c7 10%, #5b7cfa 55%, #12b981 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead { font-size: 17px; color: var(--muted); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
  font-size: 13px;
  color: var(--muted);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.tick { color: var(--mint); font-weight: 700; }

/* ---------- 6. 手机框 ---------- */
.phone-stage { position: relative; display: flex; justify-content: center; }

.phone {
  position: relative;
  width: 330px;
  height: 668px;
  background: #0b1224;
  border-radius: 46px;
  padding: 11px;
  box-shadow: 0 40px 80px -40px rgba(16, 24, 40, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.35) inset;
  flex: none;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #f5f7fb;
  border-radius: 36px;
  overflow: hidden;
}
.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 24px;
  background: #0b1224;
  border-radius: 999px;
  z-index: 3;
  pointer-events: none;
}
.phone iframe { width: 100%; height: 100%; border: 0; display: block; }
.phone-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #94a3b8;
  font-size: 13px;
  background: #f5f7fb;
  /* 占位层不能吃掉手机框里的点击：加载慢或被跳过时也要能直接操作 */
  pointer-events: none;
  z-index: 1;
}

.float-card {
  position: absolute;
  z-index: 6;
  pointer-events: none;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 22px 40px -26px rgba(16, 24, 40, 0.45);
  padding: 12px 14px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(230, 235, 244, 0.9);
}
.float-card strong { color: var(--ink); font-size: 13px; display: block; }
.float-card .avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 700;
  font-size: 13px;
  flex: none;
}
.float-card.one { top: 104px; left: -40px; }
.float-card.two { bottom: 92px; right: -36px; }

/* ---------- 7. 通用区块 ---------- */
main { display: block; }
section { padding: 76px 0; scroll-margin-top: calc(var(--nav-h) + 16px); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.8px;
  line-height: 1.2;
}
.section-head p { margin: 0; color: var(--muted); font-size: 16px; }

.moments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.moment {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.moment .time {
  font-size: 12px;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.4px;
}
.moment h3 { margin: 10px 0 8px; font-size: 18px; letter-spacing: -0.3px; }
.moment p { margin: 0; color: var(--muted); font-size: 14px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature .ico {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 16px;
  font-size: 19px;
  line-height: 1;
}
.feature h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -0.2px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #ffffff, #f8faff);
  border: 1px solid var(--line);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 3px 10px;
  display: inline-block;
  margin-bottom: 14px;
}
.step h3 { margin: 0 0 8px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- 8. 深色体验区 ---------- */
.experience {
  background: linear-gradient(150deg, #101a3a 0%, #1b2a68 45%, #24407f 100%);
  color: #eef2ff;
  border-radius: 32px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.experience::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(18, 185, 129, 0.28), transparent 65%);
  pointer-events: none;
}
.experience h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.9px;
  line-height: 1.18;
}
.experience p {
  margin: 0 0 22px;
  color: rgba(238, 242, 255, 0.76);
  font-size: 15px;
  max-width: 460px;
}
.experience ul {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: rgba(238, 242, 255, 0.86);
}
.experience ul li { display: flex; gap: 10px; align-items: flex-start; }
.experience ul li::before { content: "✓"; color: #5eead4; font-weight: 700; }
.experience .btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}
.experience .btn-ghost:hover { background: rgba(255, 255, 255, 0.18); }
.experience .phone { width: 300px; height: 620px; }

.demo-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
  color: rgba(238, 242, 255, 0.86);
  margin-bottom: 22px;
}
.demo-note code {
  background: rgba(94, 234, 212, 0.16);
  color: #99f6e4;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 13px;
  letter-spacing: 1px;
}

/* ---------- 9. 卡片网格（隐私 / 下载） ---------- */
.privacy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.privacy-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.privacy-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.privacy-card p { margin: 0; color: var(--muted); font-size: 14px; }
.privacy-links { margin-top: 20px; font-size: 14px; color: var(--muted); }
.privacy-links a {
  color: var(--brand);
  border-bottom: 1px solid rgba(44, 69, 199, 0.25);
}
.inline-link { color: var(--brand); border-bottom: 1px solid rgba(44, 69, 199, 0.25); }

/* ---------- 10. FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; }
details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 22px;
}
details[open] { box-shadow: var(--shadow-soft); }
summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brand); font-weight: 700; }
details[open] summary::after { content: "−"; }
details p { margin: 12px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- 11. 页脚 ---------- */
footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 56px;
  color: var(--muted);
  font-size: 13px;
  background: linear-gradient(180deg, rgba(247, 249, 253, 0), #fff 40%);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.foot-brand p { margin: 10px 0 0; max-width: 260px; line-height: 1.7; }
.foot-col h4 {
  margin: 2px 0 12px;
  font-size: 13px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.2px;
}
.foot-col a,
.foot-col span { display: block; padding: 5px 0; }
.foot-col a:hover { color: var(--brand); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
}
.disclaimer { margin: 16px 0 0; color: #8a93a6; line-height: 1.75; }

/* ---------- 12. 法务页骨架 ---------- */
.doc-hero {
  position: relative;
  overflow: hidden;
  padding: 52px 0 36px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, var(--bg));
}
.doc-hero::before {
  content: "";
  position: absolute;
  inset: -60% -10% auto 30%;
  height: 420px;
  background: radial-gradient(520px 260px at 60% 10%, rgba(44, 69, 199, 0.12), transparent 70%);
  pointer-events: none;
}
.crumbs {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}
.crumbs a:hover { color: var(--brand); }
.crumbs .sep { color: #b9c2d4; }
.doc-hero h1 {
  position: relative;
  margin: 0 0 14px;
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -1px;
  word-break: normal;
}
.doc-lead {
  position: relative;
  margin: 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 16px;
}
.doc-meta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}
.doc-meta b { color: var(--ink); font-weight: 600; }

.doc-layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 56px;
  /* 注意：这里必须保留左右 24px，否则会覆盖 .wrap 的横向内边距，手机上卡片会贴边 */
  padding: 44px 24px 76px;
  align-items: start;
}

.toc {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  font-size: 13.5px;
  border-left: 2px solid var(--line);
  padding-left: 16px;
}
.toc h3 {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.6px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
}
.toc a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  line-height: 1.5;
}
.toc a:hover { color: var(--brand); }
.toc a.active { color: var(--brand); font-weight: 600; }

.prose {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 44px 44px;
  box-shadow: var(--shadow-soft);
  max-width: 780px;
}
.prose h2 {
  margin: 44px 0 14px;
  font-size: 20px;
  letter-spacing: -0.3px;
  scroll-margin-top: calc(var(--nav-h) + 24px);
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.prose h2:first-of-type { margin-top: 0; }
.prose h2 .num {
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
  background: var(--brand-soft);
  border-radius: 8px;
  padding: 2px 8px;
  flex: none;
  transform: translateY(-1px);
}
.prose h3 { margin: 26px 0 10px; font-size: 16px; }
.prose p { margin: 0 0 14px; color: var(--text); font-size: 15.5px; line-height: 1.85; }
.prose ul,
.prose ol { margin: 0 0 16px; padding-left: 22px; color: var(--text); font-size: 15.5px; line-height: 1.85; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: #98a2b3; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--brand); border-bottom: 1px solid rgba(44, 69, 199, 0.3); }

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 18px;
  font-size: 14px;
}
.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}
.prose th { background: #f8fafd; font-weight: 600; color: var(--ink); }
.prose td { color: var(--text); }

.callout {
  background: #f8faff;
  border: 1px solid #dfe7f7;
  border-left: 3px solid var(--brand);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 18px 0;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.8;
}
.callout p:last-child { margin-bottom: 0; }

.doc-foot {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
.doc-foot a { color: var(--brand); }

.related {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
  max-width: 780px;
}
.related a {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  transition: border-color 0.16s ease, transform 0.16s ease;
}
.related a:hover { border-color: #c9d4ea; transform: translateY(-2px); }
.related .t { font-weight: 600; color: var(--ink); font-size: 15px; }
.related .d { color: var(--muted); font-size: 13px; margin-top: 4px; }

/* ---------- 13. 响应式 ---------- */
@media (max-width: 1024px) {
  .doc-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 36px; }
  .prose { padding: 32px 30px 36px; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .phone-stage { order: -1; }
  .phone { width: 300px; height: 610px; }
  .features,
  .moments,
  .steps { grid-template-columns: 1fr 1fr; }
  .experience { grid-template-columns: 1fr; padding: 36px; }
  .experience .phone { display: none; }
  .privacy-grid { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr; }

  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }

  .doc-layout { grid-template-columns: 1fr; gap: 24px; padding: 32px 24px 60px; }
  .toc {
    position: static;
    border-left: 0;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 16px;
    padding: 14px 18px 10px;
    /* 手机上目录不要顶掉正文：两列 + 限高滚动 */
    max-height: 268px;
    overflow: auto;
  }
  .toc h3 { margin-bottom: 8px; }
  .toc-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
  }
  .toc a { padding: 4px 0; }

  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

@media (max-width: 640px) {
  .features,
  .moments,
  .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .float-card { display: none; }
  .phone { width: 280px; height: 570px; }
  section { padding: 52px 0; }

  .prose { padding: 26px 22px 30px; border-radius: 18px; }
  .prose h2 { font-size: 18px; }
  .prose p,
  .prose ul,
  .prose ol { font-size: 15px; }
  .prose table { font-size: 13px; }
  .prose th,
  .prose td { padding: 8px 10px; }
  .foot-grid { grid-template-columns: 1fr; }
  .doc-hero { padding: 36px 0 28px; }
}

/* ---------- 14. 打印（法务页打印友好） ---------- */
@media print {
  header.nav,
  footer.site-footer,
  .toc,
  .related,
  .doc-hero::before,
  .skip-link,
  .nav-toggle { display: none !important; }
  body { background: #fff; }
  .doc-hero { border: 0; padding: 0 0 12px; }
  .doc-layout { display: block; padding: 0; }
  .prose {
    border: 0;
    box-shadow: none;
    padding: 0;
    max-width: none;
  }
  .prose h2 { page-break-after: avoid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
