:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #242220;
  background: #fff;
  --accent: #a63e26;
  --muted: #625e59;
  --rule: #dedbd6;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(100% - 3rem, 61rem); margin-inline: auto; }

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  border-bottom: 1px solid var(--rule);
}

.brand { display: flex; align-items: center; gap: .65rem; font-weight: 650; text-decoration: none; }
.brand img { border-radius: .35rem; }
.navigation { padding-block: .8rem; color: var(--muted); font-size: .9rem; text-decoration: none; }
.navigation:hover { color: var(--accent); text-decoration: underline; }

.intro { padding-block: clamp(4rem, 9vw, 8rem) clamp(3.5rem, 8vw, 6rem); }
.intro h1 { margin: 0; font-size: clamp(3rem, 9vw, 6.25rem); letter-spacing: -.06em; line-height: 1; }
.intro p { margin: 1.25rem 0 0; font-size: clamp(1.35rem, 3vw, 1.9rem); font-weight: 650; }
.intro .description { max-width: 33rem; margin-top: .75rem; font-size: 1rem; font-weight: 400; line-height: 1.8; color: var(--muted); }
.primary { display: inline-block; margin-top: 1.8rem; padding: .8rem 1.1rem; border-radius: .4rem; background: var(--accent); color: #fff; font-weight: 650; text-decoration: none; }
.primary:hover { background: #8d321d; }

.guide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 1.5rem; border-block: 1px solid var(--rule); padding-block: 2.25rem; scroll-margin-top: 1.25rem; }
.guide h2 { margin: 0; font-size: 1.55rem; }
.guide ol { margin: 0; padding-left: 1.35rem; line-height: 1.7; }
.guide li + li { margin-top: 1.15rem; }
.guide li::marker { color: var(--accent); font-weight: 650; }
.guide li span { display: block; color: var(--muted); }
.footer { padding-block: 1.5rem 2rem; color: var(--muted); font-size: .85rem; }

@media (max-width: 38rem) {
  .wrap { width: calc(100% - 2.25rem); }
  .guide { grid-template-columns: 1fr; }
}
