:root {
  color-scheme: light;
  --ink: #1a1714;
  --muted: #655d54;
  --line: #e9e3da;
  --brand-orange: #f26419;
  --accent: #d84f0b;
  --accent-tint: #fff0e6;
  --accent-border: #ffe0cc;
  font-family: "Golos Text", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scrollbar-color: #f97316 #faf9f7;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
}
html::-webkit-scrollbar { width: 10px; }
html::-webkit-scrollbar-track { background: #faf9f7; }
html::-webkit-scrollbar-thumb {
  border: 2px solid #faf9f7;
  border-radius: 999px;
  background: linear-gradient(180deg, #f97316, #fb923c);
}
html::-webkit-scrollbar-thumb:hover { background: #ea580c; }
.scroll-indicator {
  position: fixed;
  inset: 0 0 0 auto;
  width: 10px;
  z-index: 11;
  pointer-events: none;
  background: #faf9f7;
}
.scroll-indicator > span {
  display: block;
  width: 6px;
  margin-inline: auto;
  border-radius: 999px;
  background: #f97316;
}
@media (forced-colors: active) {
  .scroll-indicator { display: none; }
}
body { margin: 0; color: var(--ink); background: #fff; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.layout { width: min(100% - 64px, 1240px); margin-inline: auto; }

.layout {
  display: grid;
  grid-template-columns: 204px minmax(0, 920px);
  align-items: start;
  gap: clamp(30px, 5vw, 72px);
  padding-block: 52px 80px;
}
.article-nav {
  position: sticky;
  top: 32px;
  display: grid;
  gap: 10px;
  border-right: 1px solid var(--line);
  padding-right: 16px;
}
.article-category { margin: 0 0 2px; font-size: 14px; font-weight: 600; }
.article-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.article-nav a:hover { color: var(--accent); }
article { min-width: 0; font-size: 16px; line-height: 1.6; }
.article-header h1 { margin: 0 0 12px; font-size: clamp(29px, 4vw, 38px); font-weight: 650; line-height: 1.2; letter-spacing: -.025em; }
article h2 { margin: 0 0 12px; font-size: clamp(21px, 3vw, 24px); font-weight: 600; line-height: 1.3; scroll-margin-top: 18px; }
article p, .troubleshooting ul { max-width: 74ch; margin: 0; }
.intro { color: var(--muted); }
article section { margin-top: 30px; }
.steps { margin: 0; padding-inline-start: 24px; }
.steps > li { padding-inline-start: 3px; }
.steps > li + li { margin-top: 25px; }
.steps > li::marker { color: var(--muted); }
figure { margin: 12px 0 0; }
.screenshot { display: block; width: fit-content; max-width: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; cursor: zoom-in; }
.screenshot img { display: block; width: 100%; height: auto; }
figcaption { margin-top: 6px; color: var(--muted); font-size: 13px; }
.status-figure { max-width: 293px; }
.status-figure .screenshot { border: 0; border-radius: 0; }
.troubleshooting ul { padding-inline-start: 20px; }
.troubleshooting li + li { margin-top: 7px; }

@media (max-width: 760px) {
  .layout { width: calc(100% - 36px); }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-block: 24px 48px; }
  .article-nav { position: static; display: flex; flex-wrap: wrap; gap: 7px 14px; border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 12px; }
  .article-category { width: 100%; }
  .steps figure { margin-inline-start: -27px; }
}
