/* Extends the Screenshot document components with the existing homepage palette. */
:root {
  --bg: #fbf8f1;
  --paper: #fffef9;
  --ink: #1e2a25;
  --muted: #5d6c63;
  --line: rgba(30, 42, 37, .14);
  --accent: #0f7656;
  --accent-soft: #d8f0e2;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
[id] { scroll-margin-top: 24px; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 10; padding: 12px 18px; background: var(--paper); color: var(--accent); }
.skip-link:focus { top: 12px; }
.doc-shell { width: min(1040px, calc(100% - 32px)); }
.doc-top { flex-wrap: wrap; }
.top-nav, .footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.top-nav a, .footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); text-underline-offset: 3px; }
.doc-brand { min-height: 44px; }
.eyebrow { margin-bottom: 12px; color: var(--accent); font-size: 13px; font-weight: 760; letter-spacing: .09em; text-transform: uppercase; }
.doc-article h1 { font-size: clamp(32px, 5.5vw, 52px); text-wrap: balance; }
.lead { color: var(--muted); font-size: 19px; line-height: 1.65; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 260px); gap: 32px; align-items: start; }
.intro-grid h1 { margin-bottom: 20px; }
.feature-figure { margin: 0; }
.feature-figure img { display: block; width: 100%; border: 1px solid var(--line); border-radius: 12px; }
.feature-figure figcaption { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.doc-article a.download-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 10px 20px; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 740; text-align: center; text-decoration: none; }
.doc-article a.download-button:hover { background: #0c6248; }
.download-block { margin-top: 24px; }
.download-block small { display: block; margin-top: 10px; color: var(--muted); line-height: 1.55; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 24px; }
.guide-card { display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); border-radius: 8px; padding: 20px; background: #fff; }
.guide-card .step-label { margin: 0; color: var(--accent); font-size: 13px; font-weight: 750; }
.guide-card h3 { margin: 0; line-height: 1.35; }
.guide-card p { font-size: 15px; }
.guide-card > a { margin-top: auto; font-weight: 720; }
.toc { margin: 26px 0; padding: 18px 22px; border: 1px solid var(--line); border-radius: 8px; }
.toc strong { display: block; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 22px; }
.steps { padding-left: 26px; }
.steps > li { margin-bottom: 26px; padding-left: 6px; }
.steps h3 { margin: 0 0 8px; }
.steps > li::marker { color: var(--accent); font-weight: 800; }
.notice p:last-child, .guide-card p:last-child { margin-bottom: 0; }
.troubleshooting { margin: 0; }
.troubleshooting dt { margin-top: 20px; font-weight: 750; }
.troubleshooting dd { margin: 6px 0 0; }
.related-guides { margin-top: 36px; }
.related-guides ul { margin-bottom: 0; }
.doc-footer { line-height: 1.65; }
.doc-footer p { margin: 8px 0; }
@media (max-width: 760px) {
  .intro-grid { grid-template-columns: 1fr; }
  .feature-figure { max-width: 280px; margin-inline: auto; }
  .guide-grid { grid-template-columns: 1fr; }
  .doc-shell { padding-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
