/* Styles for the crawler-readable pages (scripts/build_seo.mjs): the static /problems/ pages
   and the landing content shown in index.html until the app starts. Everything is scoped to
   .seo / body.static so it can't affect the app. */

body.static {
  margin: 0;
  background: #fff;
  color: #1f2328;
}
@media (prefers-color-scheme: dark) {
  body.static { background: #1f1f1f; color: #e6e6e6; }
}

.seo {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 20px 48px;
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Ubuntu, sans-serif;
}
.seo a { color: #005fb8; }
@media (prefers-color-scheme: dark) { body.static .seo a { color: #4daafc; } }
.seo h1 { font-size: 1.8em; line-height: 1.25; margin: 0.4em 0; }
.seo h2 { font-size: 1.25em; margin: 1.6em 0 0.3em; }
.seo .muted { opacity: 0.7; }
.seo .small { font-size: 0.875em; }
.seo .problems { padding-left: 1.2em; }
.seo .problems li { margin: 0.5em 0; }
.seo .cta {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  background: #005fb8;
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
}
.seo .topics span {
  display: inline-block;
  margin: 0 4px 4px 0;
  padding: 1px 8px;
  border-radius: 10px;
  font-size: 0.8em;
  background: rgba(127, 127, 127, 0.15);
}
.seo pre, .seo code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; }
.seo pre { padding: 12px; overflow-x: auto; border-radius: 6px; background: rgba(127, 127, 127, 0.12); }
.seo :not(pre) > code { padding: 1px 4px; border-radius: 4px; background: rgba(127, 127, 127, 0.12); }
.seo table { border-collapse: collapse; }
.seo th, .seo td { border: 1px solid rgba(127, 127, 127, 0.3); padding: 4px 8px; }
.seo-nav { display: flex; gap: 16px; align-items: baseline; padding-bottom: 12px; border-bottom: 1px solid rgba(127, 127, 127, 0.25); }
.seo-nav .brand { font-weight: 700; text-decoration: none; color: inherit !important; margin-right: auto; }
.seo footer { margin-top: 48px; font-size: 0.875em; }
