:root {
  color-scheme: light;
  --ink: #1c1f23;
  --muted: #5d6268;
  --paper: #fbf7ee;
  --surface: #fffdf8;
  --dark: #14171a;
  --accent: #ffc83d;
  --blue: #155e75;
  --line: #d9d3c7;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a {
  color: inherit;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  padding: 10px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgb(255 255 255 / 12%);
  background: rgb(20 23 26 / 94%);
  color: var(--paper);
  backdrop-filter: blur(14px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: 0.08em;
}
.brand img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}
.site-header nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  flex: 1;
  font-size: 14px;
}
.site-header nav a {
  text-decoration: none;
}
.site-header nav a:hover {
  color: var(--accent);
}
.site-header .launch {
  padding: 6px 14px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--dark);
  font-weight: 650;
}
main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 96px;
}
.hero {
  padding: 92px 0 80px;
  border-bottom: 1px solid var(--line);
}
.eyebrow,
.section-number {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.12;
}
h1 {
  max-width: 800px;
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 78px);
  letter-spacing: -0.045em;
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.035em;
}
h3 {
  margin-bottom: 8px;
  font-size: 19px;
}
p {
  margin: 0 0 18px;
}
.lede {
  max-width: 720px;
  color: var(--muted);
  font-size: 21px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--dark);
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
}
.button-primary {
  background: var(--dark);
  color: var(--paper);
}
.button-primary:hover {
  background: var(--blue);
  border-color: var(--blue);
}
.button-secondary:hover {
  background: var(--surface);
}
.manual-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}
.contents {
  position: sticky;
  top: 96px;
  margin-top: 64px;
  padding-left: 18px;
  border-left: 2px solid var(--line);
  font-size: 14px;
}
.contents p {
  margin-bottom: 10px;
  font-weight: 750;
}
.contents ol {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.contents a {
  color: var(--muted);
  text-decoration: none;
}
.contents ol a:hover {
  color: var(--blue);
}
article {
  min-width: 0;
}
.manual-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}
.manual-section > p:not(.section-number, .note, .closing) {
  max-width: 760px;
}
.steps {
  display: grid;
  gap: 18px;
  margin: 28px 0;
  padding-left: 24px;
}
.steps li {
  padding-left: 8px;
}
.callout,
.note {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 4px solid var(--accent);
  background: var(--surface);
}
.manual-shot {
  margin: 30px 0;
}
.manual-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #b9b3a8;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgb(20 23 26 / 12%);
}
.manual-shot--wide {
  max-width: 840px;
}
.manual-shot--compact {
  width: fit-content;
  max-width: min(100%, 560px);
}
.manual-shot--compact img {
  width: auto;
  max-width: 100%;
}
.manual-shot figcaption {
  max-width: 680px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.tool-grid,
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.tool-card,
.choice-grid > div {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.tool-card p,
.choice-grid p {
  margin: 0;
  color: var(--muted);
}
.tool-card {
  padding-right: 58px;
}
.tool-key {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--blue);
  font-weight: 750;
}
.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  margin-top: 28px;
}
ul {
  margin: 0;
  padding-left: 22px;
}
.manual-section li + li {
  margin-top: 7px;
}
kbd {
  display: inline-block;
  min-width: 26px;
  padding: 1px 7px;
  border: 1px solid #aaa49a;
  border-bottom-width: 2px;
  border-radius: 4px;
  background: var(--surface);
  font:
    650 13px / 1.65 ui-monospace,
    monospace;
  text-align: center;
}
code {
  padding: 1px 5px;
  border-radius: 3px;
  background: #ece6da;
  font-size: 0.9em;
}
.troubleshooting {
  margin: 28px 0 0;
}
.troubleshooting div {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
  gap: 28px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.troubleshooting dt {
  font-weight: 750;
}
.troubleshooting dd {
  margin: 0;
  color: var(--muted);
}
.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 28px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}
.shortcut-grid div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--surface);
}
.shortcut-grid span {
  font-size: 14px;
}
.closing {
  max-width: 680px;
  margin: 32px 0 24px;
  font-size: 19px;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px max(24px, calc((100vw - 1180px) / 2));
  background: var(--dark);
  color: var(--paper);
  font-size: 14px;
}

@media (max-width: 820px) {
  .site-header nav a:not(.launch) {
    display: none;
  }
  .hero {
    padding: 64px 0 56px;
  }
  .manual-layout {
    display: block;
  }
  .contents {
    position: static;
    margin: 38px 0 0;
    columns: 2;
  }
  .contents p {
    column-span: all;
  }
  .manual-section {
    padding: 56px 0;
  }
  .tool-grid,
  .choice-grid,
  .two-column {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }
  main {
    padding-inline: 18px;
  }
  .site-header {
    padding-inline: 18px;
  }
  .site-header nav {
    gap: 10px;
  }
  .contents {
    columns: 1;
  }
  .troubleshooting div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .shortcut-grid {
    grid-template-columns: 1fr;
  }
  footer {
    flex-direction: column;
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
