/* OOB START 2026-11-09 public How It Works page — standalone stylesheet (the page is served outside the SPA) */
:root {
  --sb-teal: #1ca39a;
  --sb-teal-dark: #157a73;
  --sb-teal-soft: #e6f4f3;
  --sb-ink: #1a1a1a;
  --sb-paper: #f7f7f5;
  --sb-card: #ffffff;
  --sb-text: #1f2328;
  --sb-text-muted: #5a6068;
  --sb-rule: #e2e2e0;
  --sb-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --sb-font-serif: Georgia, "Times New Roman", serif;
  --sb-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--sb-font-sans);
  background: var(--sb-paper);
  color: var(--sb-text);
  line-height: 1.6;
}
a { color: var(--sb-teal-dark); }
a:hover { color: #10605a; }

/* Site header: matches the Gnosis top bar */
.sb-site { background: var(--sb-ink); }
.sb-site__nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.sb-site__brand {
  font-family: var(--sb-font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--sb-teal);
  text-decoration: none;
}
.sb-site__links { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.sb-site__links a {
  color: #bdbdbd;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
}
.sb-site__links a:hover, .sb-site__links a[aria-current="page"] { color: var(--sb-teal); }
.sb-site__links a.sb-site__cta { background: var(--sb-teal); color: #fff; padding: 0.5rem 1rem; border-radius: 999px; }
.sb-site__links a.sb-site__cta:hover { background: var(--sb-teal-dark); color: #fff; }

/* Guide body: a comfortable reading measure */
.sb-guide {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}
.sb-guide h1, .sb-guide h2, .sb-guide h3, .sb-guide h4, .sb-guide h5 {
  font-family: var(--sb-font-serif);
  line-height: 1.25;
  margin: 1.8em 0 0.6em;
}
.sb-guide h1 { font-size: 2.1rem; margin-top: 0.5em; }
.sb-guide h2 { font-size: 1.75rem; }
.sb-guide h3 { font-size: 1.35rem; }
.sb-guide h4 { font-size: 1.12rem; }
.sb-guide h5 { font-size: 1rem; }
.sb-lede { font-size: 1.1rem; color: var(--sb-text-muted); }
.sb-part { border-top: 3px solid var(--sb-teal); margin-top: 3rem; padding-top: 0.5rem; }
.sb-guide hr { border: none; border-top: 1px solid var(--sb-rule); margin: 2rem 0; }
.sb-guide blockquote {
  margin: 1.25rem 0;
  padding: 0.5rem 1rem;
  border-left: 4px solid var(--sb-teal);
  background: var(--sb-teal-soft);
}
.sb-guide code {
  font-family: var(--sb-font-mono);
  font-size: 0.88em;
  background: #eceeea;
  padding: 0.1em 0.3em;
  border-radius: 3px;
  overflow-wrap: anywhere;
}
.sb-guide pre {
  background: #20242a;
  color: #f1f1ee;
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
  line-height: 1.45;
}
.sb-guide pre code { background: none; color: inherit; padding: 0; font-size: 0.85rem; overflow-wrap: normal; white-space: pre; }
.sb-guide table { border-collapse: collapse; width: 100%; margin: 1.25rem 0; display: block; overflow-x: auto; }
.sb-guide th, .sb-guide td { border: 1px solid var(--sb-rule); padding: 0.45rem 0.6rem; text-align: left; vertical-align: top; }
.sb-guide th { background: var(--sb-teal-soft); }

/* Parts list */
.sb-toc { background: var(--sb-card); border: 1px solid var(--sb-rule); border-radius: 6px; padding: 0.75rem 1.25rem; margin: 1.5rem 0; }
.sb-toc ol { margin: 0; padding-left: 1.25rem; }
.sb-toc li { margin: 0.3rem 0; }

/* "Have your AI tell you about SprintBench" */
.sb-ai { margin: 1.5rem 0; }
.sb-btn {
  display: inline-block;
  background: var(--sb-teal-dark);
  color: #fff;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid var(--sb-teal-dark);
  font: 600 0.95rem var(--sb-font-sans);
  cursor: pointer;
  text-decoration: none;
}
.sb-btn:hover { background: #10605a; color: #fff; }
.sb-btn--ghost { background: transparent; color: var(--sb-teal-dark); }
.sb-btn--ghost:hover { background: var(--sb-teal-soft); color: #10605a; }
.sb-ai__dialog {
  max-width: 32rem;
  width: calc(100% - 2rem);
  border: none;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}
.sb-ai__dialog::backdrop { background: rgba(0, 0, 0, 0.45); }
.sb-ai__dialog h2 { font-family: var(--sb-font-serif); margin-top: 0; font-size: 1.35rem; }
.sb-ai__actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1rem; }
.sb-ai__status { min-height: 1.5em; color: var(--sb-text-muted); font-size: 0.9rem; margin-bottom: 0; }

.sb-site__foot { text-align: center; color: var(--sb-text-muted); font-size: 0.85rem; padding: 1.5rem 1rem 2.5rem; border-top: 1px solid var(--sb-rule); }

@media (max-width: 720px) {
  .sb-guide h1 { font-size: 1.7rem; }
  .sb-guide h2 { font-size: 1.45rem; }
}
/* OOB END 2026-11-09 */
