/* Your first run: a numbered walkthrough, text beside its screenshot. */
.first-run {
  --fr-gutter: clamp(24px, 3vw, 40px);
  --fr-rule: 1px solid var(--color-border, #d8d0c3);
}
.first-run main.page { row-gap: 0; }

.first-run .fr-intro { padding: clamp(32px, 5vw, 56px) 0 clamp(24px, 3vw, 32px); }
.first-run .fr-intro h1 { margin: 0 0 12px; }
.first-run .fr-intro p { max-width: 66ch; margin: 0 0 8px; font-size: 1.05rem; }
.first-run .fr-intro .fr-meta { color: var(--color-muted, #655f55); font-size: 1rem; }

.first-run .fr-steps { margin: 0; padding: 0; list-style: none; counter-reset: fr-step; }
.first-run .fr-step {
  counter-increment: fr-step;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 20px var(--fr-gutter);
  align-items: start;
  padding: clamp(28px, 4vw, 48px) 0;
  border-top: var(--fr-rule);
}
/* Text-only steps: heading on the left, text on the right, in line with the screenshot steps. */
.first-run .fr-step-text { grid-template-columns: minmax(0, 1fr); }
.first-run .fr-step-text .fr-copy {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: var(--fr-gutter);
  max-width: none;
}
.first-run .fr-step-text .fr-copy > * { grid-column: 2; max-width: 66ch; }
.first-run .fr-step-text .fr-copy > h2 { grid-column: 1; grid-row: 1 / span 9; }
.first-run .fr-copy { min-width: 0; max-width: 66ch; }
.first-run .fr-copy h2 { margin: 0 0 12px; }
.first-run .fr-copy h2::before {
  content: counter(fr-step);
  display: block;
  margin-bottom: 4px;
  color: var(--color-muted, #655f55);
  font-size: 1rem;
  font-weight: 700;
}
.first-run .fr-copy p { margin: 0 0 10px; }
.first-run .fr-copy ul { margin: 0 0 10px; padding-left: 1.2em; }
.first-run .fr-copy li { margin-bottom: 6px; }
.first-run .fr-copy code { font-size: .95em; }
.first-run .fr-rule { color: var(--color-muted, #655f55); font-size: .95rem; }
.first-run .fr-rule a { display: inline-block; padding: 10px 0; font-weight: 600; }

.first-run .fr-shot { margin: 0; min-width: 0; }
.first-run .fr-shot-small { max-width: 520px; }
.first-run .fr-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: var(--fr-rule);
  border-radius: 4px;
}

.first-run .fr-words { padding: clamp(28px, 4vw, 48px) 0; border-top: var(--fr-rule); }
.first-run .fr-words h2 { margin: 0 0 20px; }
.first-run .fr-words dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px var(--fr-gutter);
  margin: 0;
}
.first-run .fr-words dl > div { min-width: 0; }
.first-run .fr-words dt { margin-bottom: 4px; font-family: "Space Grotesk", "Segoe UI", sans-serif; font-weight: 700; }
.first-run .fr-words dd { margin: 0; color: var(--color-muted, #655f55); }

.first-run .fr-next {
  padding: 24px 0;
  background: var(--guide-tint, #ebe3d6);
  box-shadow: 0 0 0 100vmax var(--guide-tint, #ebe3d6);
  clip-path: inset(0 -100vmax);
}
.first-run .fr-next p { margin: 0 0 12px; }
.first-run .fr-next-actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 980px) {
  .first-run .fr-words dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .first-run .fr-step-text .fr-copy { display: block; }
  .first-run .fr-step { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .first-run .fr-words dl { grid-template-columns: minmax(0, 1fr); }
}
