/* Guide pages, in Swarm Incidents' type and colors (load after base.css and si.css). */
.kicker { font-size: 15px; color: var(--muted); margin: 0 0 14px; }
.textlink { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.textlink:hover { text-decoration-color: currentColor; }
.guide { max-width: 760px; padding-block: 48px 0; }
.crumb { font-size: 15px; color: var(--muted); }
.crumb a { color: var(--ink-2); text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.guide h1 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -0.035em; margin-top: 18px; }
.guide .lede { font-size: clamp(18px, 1.8vw, 20px); line-height: 1.55; color: var(--ink-2); margin: 20px 0 0; }
.guide .draft { display: inline-block; margin-top: 18px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13.5px; color: var(--ink-2); }
.steps { list-style: none; counter-reset: step; margin: 44px 0 0; padding: 0; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 8px; padding: 26px 0; border-top: 1px solid var(--line); }
.steps > li::before { content: counter(step); font-family: var(--mono); font-size: 15px; line-height: 1.9; color: var(--muted); }
/* An alternative to the steps rather than one of them: the same row, marked "or" in the gutter. */
.steps-alt { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 8px; padding: 26px 0; border-top: 1px solid var(--line); }
.steps-alt .or { font-family: var(--mono); font-size: 15px; line-height: 1.9; color: var(--muted); }
.steps h2, .steps-alt h2 { font-size: 21px; line-height: 1.25; letter-spacing: -0.025em; }
.steps p, .steps-alt p { margin: 10px 0 0; color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.steps .links, .steps-alt .links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink); }
.chip .logo { --s: 22px; border-radius: 50%; }
.chip:hover { border-color: var(--line-2); }
.chip.lit { border-color: color-mix(in srgb, var(--escape) 55%, var(--line)); }
.rules { margin-top: 8px; padding: 22px 24px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.rules h2 { font-size: 18px; letter-spacing: -0.02em; }
.rules p { margin: 8px 0 0; color: var(--ink-2); line-height: 1.6; }
.next { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--ink); }
.next p { margin: 0; color: var(--ink-2); }
@media (max-width: 560px) {
  .steps > li, .steps-alt { grid-template-columns: 40px minmax(0, 1fr); }
  .steps > li::before, .steps-alt .or { font-size: 14px; }
}
