:root {
  --ink: #1d1f23;
  --muted: #626975;
  --line: #dfe3e8;
  --paper: #ffffff;
  --canvas: #f4f5f7;
  --nav: #15191e;
  --nav-muted: #aeb6c2;
  --accent: #c94049;
  --accent-dark: #9f2f37;
  --soft: #f8f1ec;
  --note: #edf5f7;
  --warning: #fff5df;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font: 15px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--accent-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
code, pre { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
code { padding: .12rem .34rem; border-radius: 4px; background: #eef0f2; font-size: .9em; }
pre { overflow: auto; padding: 17px 19px; border: 1px solid #2b3038; border-radius: 8px; color: #f5f6f7; background: #1a1e24; }
pre code { padding: 0; color: inherit; background: transparent; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 20; padding: 9px 13px; color: #fff; background: var(--accent); }
.skip-link:focus { top: 10px; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0 28px;
  border-bottom: 1px solid #2c3239;
  color: #fff;
  background: var(--nav);
}
.brand { color: #fff; font-size: 20px; font-weight: 760; letter-spacing: -.02em; text-decoration: none; }
.brand span { margin-left: 7px; color: #ffbec2; font-size: 12px; font-weight: 700; }
.top-actions { display: flex; align-items: center; gap: 21px; }
.top-actions a { color: #e6e9ed; font-size: 13px; text-decoration: none; }
.top-actions .support-link { padding: 7px 12px; border: 1px solid #626b76; border-radius: 5px; color: #fff; }
.page-shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); max-width: 1440px; margin: 0 auto; }
.sidebar {
  position: sticky;
  top: 62px;
  align-self: start;
  height: calc(100vh - 62px);
  overflow-y: auto;
  padding: 27px 22px 40px;
  border-right: 1px solid var(--line);
  background: #f9fafb;
}
.sidebar a { display: block; padding: 5px 9px; border-left: 2px solid transparent; color: #343a43; font-size: 13px; text-decoration: none; }
.sidebar a:hover, .sidebar a:focus { border-left-color: var(--accent); color: var(--accent-dark); background: #fff; }
.nav-label { margin: 20px 9px 7px; color: #818a97; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.nav-label:first-child { margin-top: 0; }
.content { min-width: 0; padding: 48px clamp(28px, 6vw, 84px) 70px; background: var(--paper); }
section { max-width: 960px; margin-bottom: 68px; scroll-margin-top: 86px; }
.hero { padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 8px; color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -.025em; }
h1 { margin: 0 0 18px; font-size: clamp(42px, 7vw, 72px); }
h2 { margin: 0 0 22px; padding-bottom: 13px; border-bottom: 1px solid var(--line); font-size: 27px; }
h3 { margin: 25px 0 10px; font-size: 18px; }
p { margin: 0 0 16px; }
.hero > p:not(.eyebrow) { max-width: 720px; color: #474e58; font-size: 18px; }
.release-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.release-meta span { padding: 6px 10px; border: 1px solid #d6dbe1; border-radius: 5px; color: #4c535d; background: #fafafa; font-size: 12px; font-weight: 650; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.check-grid div { min-height: 91px; padding: 17px 19px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.check-grid strong, .check-grid span { display: block; }
.check-grid span { margin-top: 4px; color: var(--muted); font-size: 13px; }
.note, .warning { margin-top: 22px; padding: 15px 18px; border-left: 3px solid #347a8b; background: var(--note); }
.warning { border-left-color: #ba7a16; background: var(--warning); }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; min-height: 45px; margin: 0 0 14px; padding: 4px 0 13px 50px; border-bottom: 1px solid #edf0f2; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid #cfd4da; border-radius: 50%; color: var(--accent-dark); font-size: 12px; font-weight: 800; background: #fff; }
.steps.compact li { margin-bottom: 8px; }
.task-list { padding-left: 21px; }
.task-list li { margin-bottom: 8px; }
.two-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.two-column > div { padding: 20px 22px; border-top: 3px solid var(--accent); background: var(--soft); }
.two-column h3 { margin-top: 0; }
table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 13px; }
th, td { padding: 13px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: #3b424b; background: #f5f6f7; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.trouble-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 15px 3px; font-weight: 700; }
details p { padding: 0 3px 15px; color: var(--muted); }
.support-card { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 24px; border: 1px solid var(--line); }
.support-card div { padding: 17px 19px; border-right: 1px solid var(--line); }
.support-card div:last-child { border-right: 0; }
.support-card strong, .support-card span, .support-card a { display: block; }
.support-card strong { margin-bottom: 4px; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
footer { display: flex; justify-content: space-between; max-width: 960px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

@media (max-width: 860px) {
  .page-shell { display: block; }
  .sidebar { position: static; width: 100%; height: auto; padding: 17px 20px; white-space: nowrap; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .sidebar .nav-label { display: none; }
  .sidebar a { display: inline-block; margin-right: 4px; padding: 7px 9px; border-left: 0; border-bottom: 2px solid transparent; }
  .sidebar a:hover, .sidebar a:focus { border-left-color: transparent; border-bottom-color: var(--accent); }
  .content { padding: 38px 24px 60px; }
  section { scroll-margin-top: 78px; }
}

@media (max-width: 620px) {
  .topbar { padding: 0 17px; }
  .top-actions > a:first-child { display: none; }
  .content { padding-inline: 17px; }
  .check-grid, .two-column, .support-card { grid-template-columns: 1fr; }
  .support-card div { border-right: 0; border-bottom: 1px solid var(--line); }
  .support-card div:last-child { border-bottom: 0; }
  table { display: block; overflow-x: auto; white-space: nowrap; }
  h2 { font-size: 24px; }
}

@media print {
  .topbar, .sidebar, .skip-link { display: none; }
  .page-shell { display: block; }
  .content { padding: 0; }
  section { break-inside: avoid; }
}
