:root {
  color-scheme: light;
  background: #f5f5f0;
  color: #192923;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.55;
}

* { box-sizing: border-box; }
body { margin: 0; }

main {
  width: min(calc(100% - 2rem), 46rem);
  margin-inline: auto;
  padding-block: clamp(1.25rem, 5vw, 3rem) 3rem;
}

header { margin-bottom: 1.75rem; }
header p { color: #3b5046; margin: 0.75rem 0 0; }

.back-link {
  color: #315849;
  font-weight: 650;
  text-underline-offset: 0.2em;
}

h1 {
  margin: 0.65rem 0 0;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

section + section { margin-top: 1.35rem; }
h2 { margin: 0 0 0.4rem; font-size: 1.05rem; }

details {
  background: white;
  border: 1px solid #dce4da;
  border-radius: 0.55rem;
}

details + details { margin-top: 0.35rem; }

summary {
  min-height: 2.75rem;
  padding: 0.6rem 0.85rem;
  border-radius: inherit;
  cursor: pointer;
  font-weight: 650;
}

summary:hover, details[open] summary { background: #eef4eb; }
summary::marker { color: #52725e; }
:focus-visible { outline: 2px solid #315849; outline-offset: 2px; }

details p {
  margin: 0.75rem 0.85rem 0.85rem;
  color: #3b5046;
  overflow-wrap: anywhere;
}

.screenshot-link {
  display: block;
  margin: 0 0.85rem 0.85rem;
  cursor: zoom-in;
}

.screenshot-link img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid #dce4da;
  border-radius: 0.35rem;
}

.guide-footer {
  width: min(calc(100% - 2rem), 46rem);
  margin: 0 auto 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid #dce4da;
}
