:root {
  --serif: "Anthropic Serif", "Noto Serif SC", Georgia, serif;
  --sans: "Anthropic Sans", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --bg: #faf9f5;
  --bg-soft: #f2efe4;
  --bg-card: #fffdf7;
  --bg-warm: #f5f1e3;
  --ink: #141413;
  --ink-soft: #3d3d3a;
  --ink-faint: #6f6e66;
  --line: rgba(31, 30, 29, 0.13);
  --line-strong: rgba(31, 30, 29, 0.22);
  --accent: #d97757;
  --accent-deep: #b85a3d;
  --accent-soft: #f1d8c8;
  --accent-wash: #fbe9dd;
  --green: #39795a;
  --green-wash: #e7f0e9;
  --radius: 8px;
}

[data-theme="dark"] {
  --bg: #262624;
  --bg-soft: #1f1e1c;
  --bg-card: #30302e;
  --bg-warm: #2e2c28;
  --ink: #faf9f5;
  --ink-soft: #c2c0b6;
  --ink-faint: #93918a;
  --line: rgba(222, 220, 209, 0.13);
  --line-strong: rgba(222, 220, 209, 0.22);
  --accent: #e08b6b;
  --accent-deep: #f0a487;
  --accent-soft: rgba(217, 119, 87, 0.22);
  --accent-wash: rgba(217, 119, 87, 0.12);
  --green: #7db397;
  --green-wash: rgba(82, 143, 108, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--accent-soft); color: var(--ink); }

* { scrollbar-width: thin; scrollbar-color: var(--accent-soft) transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb {
  background: var(--accent-soft);
  border: 2px solid transparent;
  border-radius: 999px;
  background-clip: content-box;
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1300;
  width: 0;
  height: 3px;
  background: var(--accent);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  max-width: 1320px;
  margin: 0 auto;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 42px 24px 28px;
  border-right: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
  z-index: 100;
}

@media (min-width: 961px) {
  body.has-qa-nav .sidebar {
    top: 56px;
    height: calc(100vh - 56px);
  }
}

.sidebar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
}
.sidebar__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--accent); flex: none; }
.toc { display: flex; flex-direction: column; gap: 2px; }
.toc__link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--ink-faint);
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.2s, background 0.2s, padding-left 0.2s;
}
.toc__link::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 3px;
  background: var(--accent);
  transform: translateY(-50%);
  transition: height 0.2s;
}
.toc__link:hover { color: var(--ink); background: var(--bg-warm); }
.toc__link.is-active { color: var(--ink); padding-left: 18px; background: var(--accent-wash); }
.toc__link.is-active::before { height: 18px; }
.toc__num {
  width: 28px;
  flex: none;
  font-family: var(--serif);
  font-size: 12px;
  color: var(--ink-faint);
}
.toc__link.is-active .toc__num { color: var(--accent-deep); }
.sidebar__foot {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 28px;
  color: var(--ink-faint);
  font-size: 12px;
  line-height: 1.55;
}

.toc-toggle {
  display: none;
  position: fixed;
  top: 76px;
  right: 18px;
  z-index: 1150;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--ink);
  cursor: pointer;
}
.toc-toggle span { width: 17px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.2s, opacity 0.2s; }
.toc-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.toc-toggle.is-open span:nth-child(2) { opacity: 0; }
.toc-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.toc-backdrop { display: none; position: fixed; inset: 0; z-index: 1070; background: rgba(20, 20, 19, 0.55); }

.content {
  min-width: 0;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  padding: 0 64px 72px;
}
.content p { margin: 0 0 18px; color: var(--ink-soft); }
.content strong { color: var(--ink); font-weight: 650; }
.content code {
  font-family: var(--mono);
  font-size: 0.9em;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--bg-warm);
  color: var(--accent-deep);
}

.hero {
  position: relative;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 82px 0 46px;
  overflow: hidden;
}
.hero__glow { display: none; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-bottom: 22px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-wash);
  color: var(--accent-deep);
  font-size: 12px;
}
.hero__eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero__title {
  max-width: 850px;
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: 0;
}
.hero__title span { display: block; }
.hero__title-accent { color: var(--accent-deep); font-style: italic; }
.hero__lead { max-width: 720px; font-size: 18px; line-height: 1.75; }
.hero__keywords { display: flex; flex-wrap: wrap; gap: 9px; margin: 8px 0 24px; }
.kw { padding: 6px 12px; border-radius: 999px; background: var(--bg-card); color: var(--ink-soft); font-size: 13px; }
.hero__scroll {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--bg-warm);
  color: var(--ink-soft);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.hero__scroll:hover { color: var(--accent-deep); background: var(--accent-wash); }

.section { padding: 44px 0 10px; scroll-margin-top: 88px; }
.section__head {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.section__index {
  font-family: var(--serif);
  font-size: 58px;
  line-height: 0.82;
  color: var(--accent-soft);
}
.section__title {
  margin: 0;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
}
.section__intro { font-size: 16px; line-height: 1.85; }
.section__intro a, .step__desc a, .callout a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 截图向导：编号步骤 + 图注 + 提示块 */
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  margin: 30px 0 26px;
}
.step__num {
  padding-top: 2px;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 42px;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: right;
}
.step__body { min-width: 0; }
.step__title {
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
}
.step__desc {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.75;
}

.callout {
  margin: 18px 0 4px;
  padding: 16px 20px;
  border-left: 3px solid var(--line-strong);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.72;
}
.callout p { margin: 0; }
.callout--focus { border-left-color: var(--accent); background: var(--accent-wash); }

figure {
  margin: 14px 0 10px;
  padding: 18px 18px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-card);
  text-align: center;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s;
}
figure:hover {
  transform: translateY(-2px);
  border-color: var(--accent-soft);
  box-shadow: 0 8px 32px rgba(20, 20, 19, 0.08);
}
figure img {
  display: inline-block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 460px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(20, 20, 19, 0.08), 0 0 0 1px rgba(20, 20, 19, 0.05);
  cursor: zoom-in;
}
[data-theme="dark"] figure img {
  background: transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
figcaption {
  padding: 12px 4px 4px;
  color: var(--ink-faint);
  font-size: 12.5px;
  font-style: italic;
  line-height: 1.5;
}
.figure-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
  margin: 14px 0 10px;
}
.figure-row figure { margin: 0; }
.figure-row figure img { max-height: 380px; }

.prep-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.prep-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
}
.prep-item__num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-wash);
  color: var(--accent-deep);
  font-family: var(--serif);
  font-size: 13px;
}
.prep-item strong, .prep-item span { display: block; }
.prep-item span { margin-top: 3px; color: var(--ink-faint); font-size: 13px; line-height: 1.65; }

.command-panel {
  margin: 26px 0 18px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #1d1c1a;
  color: #f5f2e9;
}
.command-panel--primary { background: #2d2925; }
.command-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.05);
  color: #b9b5aa;
  font-size: 12px;
}
.command-panel__label { color: #f5f2e9; font-weight: 600; }
.command-panel__step { font-family: var(--mono); }
.command-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 88px;
  padding: 20px 20px 20px 24px;
}
.command-row code {
  min-width: 0;
  padding: 0;
  background: transparent;
  color: #fffdf7;
  font-family: var(--mono);
  font-size: 17px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 80px;
  min-height: 40px;
  padding: 9px 13px;
  border: 0;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.2s;
  flex: none;
}
.copy-button:hover { background: var(--accent-deep); }
.copy-button.is-copied { background: var(--green); }
.copy-button--light { background: rgba(255, 255, 255, 0.13); color: #fff; }
.copy-button--light:hover { background: rgba(255, 255, 255, 0.2); }
.status-chip { padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 650; }
.status-chip--on { color: #bce0ca; background: rgba(80, 154, 111, 0.2); }
.status-chip--off { color: #e9c5b7; background: rgba(217, 119, 87, 0.18); }

.setup-options {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.setup-option {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
}
.setup-option__copy { margin-bottom: 12px; }
.setup-option__copy strong, .setup-option__copy span { display: block; }
.setup-option__copy span { margin-top: 3px; color: var(--ink-faint); font-size: 13px; }
.setup-option__command, .launch-item__command {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 12px 12px 12px 16px;
  border-radius: 7px;
  background: var(--bg-warm);
}
.setup-option__command code, .launch-item__command code {
  min-width: 0;
  padding: 0;
  background: transparent;
  overflow-wrap: anywhere;
}
.copy-button--compact { min-width: 74px; min-height: 36px; padding: 7px 11px; }

.launch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.launch-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
}
.launch-item > div:first-child { margin-bottom: 12px; }
.launch-item > div:first-child strong, .launch-item > div:first-child span { display: block; }
.launch-item > div:first-child span { margin-top: 3px; color: var(--ink-faint); font-size: 13px; }

.after-command {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--green-wash);
}
.after-command__number { color: var(--green); font-size: 13px; font-weight: 700; }
.after-command p { margin: 0; color: var(--ink-soft); }

.section--final { padding-top: 48px; }
.final {
  position: relative;
  overflow: hidden;
  padding: 44px 46px;
  border-radius: 18px;
  background: linear-gradient(150deg, #2b2a27 0%, #3a352f 100%);
  color: #f5f4ee;
}
.final__glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 4px;
  background: var(--accent);
}
.final__index { position: relative; display: inline-block; margin-bottom: 12px; color: #efb9a2; font-family: var(--serif); font-size: 14px; }
.final__title { position: relative; max-width: 720px; margin: 6px 0 20px; color: #fff; font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1.45; letter-spacing: 0; }
.final__title em { color: #efa082; font-style: italic; }
.final .final__lead { position: relative; max-width: 720px; margin: 0 0 24px; color: #ede9de; font-size: 16px; line-height: 1.8; }
.final .final__lead code, .final .final__list code, .new-user code { background: rgba(255, 255, 255, 0.09); color: #fff7ef; }
.final__list { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.final .final__list span { display: block; padding: 14px 16px; border-radius: 8px; background: rgba(255, 255, 255, 0.055); color: #d8d4c8; font-size: 14px; line-height: 1.65; }
.final .final__list span strong { color: #fff; }
.new-user {
  position: relative;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.new-user__copy { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; margin-bottom: 12px; }
.new-user__copy strong { color: #fff; }
.new-user__copy span { color: #c8c3b8; font-size: 14px; }
.new-user__command {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 14px 14px 18px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
}
.new-user__command code { padding: 0; background: transparent; overflow-wrap: anywhere; }
.official-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  color: #efb9a2;
  font-size: 13px;
  text-decoration: none;
}
.official-link:hover { color: #fff; }
.final .disable-note {
  position: relative;
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #c8c3b8;
  font-size: 14px;
}

.doc-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 13px;
}
.doc-foot__dot { color: var(--accent); }

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 1500;
  padding: 10px 16px;
  border-radius: 999px;
  background: #1d1c1a;
  color: #fff;
  font-size: 13px;
  opacity: 0;
  transform: translate(-50%, 14px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.copy-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 1; transform: none; animation: none; }
.reveal-up { opacity: 1; transform: none; }
.reveal-up.is-visible { opacity: 1; transform: none; }

.page-footer {
  position: relative;
  z-index: 2;
  margin-top: 8px;
  padding: 52px 0 32px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-warm) 100%);
  color: var(--ink-soft);
  font-family: var(--sans);
}
.page-footer__inner { max-width: 1180px; margin: 0 auto; padding: 0 64px; }
.page-footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.page-footer__brand { display: flex; flex-direction: column; gap: 16px; }
.page-footer__logo { display: inline-flex; align-items: center; gap: 10px; width: max-content; color: var(--ink); font-family: var(--serif); font-size: 22px; text-decoration: none; }
.page-footer__mark { display: grid; place-items: center; width: 28px; height: 28px; flex: none; }
.page-footer__mark svg { display: block; }
.page-footer__name em { color: var(--accent); font-style: italic; }
.page-footer__tagline { max-width: 380px; margin: 0; color: var(--ink-faint); font-size: 14px; line-height: 1.85; }
.page-footer__keywords { display: flex; flex-wrap: wrap; gap: 8px; }
.page-footer__keywords span { padding: 4px 11px; border-radius: 999px; background: var(--bg-card); color: var(--ink-faint); font-size: 12px; }
.page-footer__cta { display: flex; flex-direction: column; gap: 12px; padding: 26px 28px; border-radius: var(--radius); background: var(--bg-card); }
.page-footer__cta-title { margin: 0; color: var(--ink); font-family: var(--serif); font-size: 18px; font-weight: 600; }
.page-footer__cta-desc { margin: 0 0 4px; color: var(--ink-soft); font-size: 14px; }
.page-footer__cta-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: max-content; padding: 11px 20px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 650; text-decoration: none; transition: background 0.2s; }
.page-footer__cta-btn:hover { background: var(--accent-deep); }
.page-footer__minor { display: flex; gap: 18px; margin-top: 4px; padding-top: 14px; border-top: 1px dashed var(--line); }
.page-footer__minor-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-faint); font-size: 13px; text-decoration: none; }
.page-footer__minor-link:hover { color: var(--accent-deep); }
.page-footer__bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; color: var(--ink-faint); font-size: 13px; }
.page-footer__made-with { font-family: var(--serif); font-style: italic; }

/* Lightbox：图片点击原地放大 */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background: rgba(15, 14, 12, 0);
  cursor: zoom-out;
  transition: background 0.35s var(--ease);
}
.lightbox-overlay.is-open { background: rgba(15, 14, 12, 0.88); }
.lightbox-img {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
  cursor: zoom-out;
  will-change: transform;
  transition: transform 0.42s var(--ease);
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-family: inherit;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.35s var(--ease), background 0.2s, border-color 0.2s;
}
.lightbox-overlay.is-open .lightbox-close { opacity: 1; }
.lightbox-close:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.24); }
.lightbox-close svg { width: 18px; height: 18px; }

@media (max-width: 1080px) {
  .content { padding-right: 42px; padding-left: 42px; }
  .page-footer__inner { padding: 0 40px; }
  .page-footer__grid { gap: 36px; }
}

@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: min(280px, 82vw);
    height: 100vh;
    z-index: 1100;
    transform: translateX(-100%);
    transition: transform 0.3s var(--ease);
  }
  .sidebar.is-open { transform: none; }
  .toc-toggle { display: flex; }
  .toc-backdrop.is-open { display: block; }
  .content { max-width: 860px; padding: 0 28px 72px; }
  .hero { min-height: auto; padding: 70px 0 40px; }
  .hero__title { font-size: 40px; }
}

@media (max-width: 820px) {
  .page-footer { padding: 48px 0 32px; }
  .page-footer__inner { padding: 0 22px; }
  .page-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 28px; }
  .page-footer__bottom { flex-direction: column; gap: 8px; padding-top: 18px; }
}

@media (max-width: 620px) {
  .content { padding: 0 20px 68px; }
  .toc-toggle { top: 70px; right: 14px; }
  .hero { padding-top: 68px; }
  .hero__title { font-size: 32px; line-height: 1.28; }
  .hero__lead { font-size: 16px; }
  .section { padding-top: 36px; }
  .section__head { align-items: center; gap: 12px; }
  .section__index { font-size: 42px; }
  .section__title { font-size: 23px; }
  .command-row { align-items: stretch; flex-direction: column; padding: 18px; }
  .command-row code { font-size: 14px; }
  .copy-button { width: 100%; }
  .prep-list, .launch-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 40px 1fr; gap: 14px; }
  .step__num { font-size: 32px; }
  .step__title { font-size: 18px; }
  .figure-row { grid-template-columns: 1fr; }
  .setup-option__command, .launch-item__command { align-items: stretch; flex-direction: column; }
  .after-command { grid-template-columns: 1fr; gap: 6px; }
  .final { padding: 34px 24px; border-radius: 12px; }
  .final__title { font-size: 24px; }
  .final__list { grid-template-columns: 1fr; }
  .new-user__command { align-items: stretch; flex-direction: column; }
  .doc-foot { align-items: center; flex-direction: column; }
  .doc-foot__dot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-up { opacity: 1; transform: none; animation: none; transition: none; }
  .sidebar, .copy-toast { transition: none; }
  figure, .lightbox-overlay, .lightbox-img { transition: none; }
}
