/* Styles of the app's own pages: start form, wait page, error page.
   Loaded after report.css on every page; split from it to keep both
   files under the size limit. No style lives in the HTML (CSP
   style-src 'self'). */

/* Error text and the back button */
.c-page-intro.oa-error { color: var(--blue-d); }
.oa-back { width: auto; }

/* Start page: the sentence under the form that names the checks. */
.oa-checks { margin-top: 18px; max-width: 58ch; font-size: 15px;
  line-height: 1.55; color: var(--ink-2); }

/* Start page: what the check covers, three blocks side by side that
   stack on a narrow screen. The lists use the site's .c-list. */
.oa-cover { display: grid; gap: 28px 40px; padding: 32px var(--pad-x) 40px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.c-root .oa-cover-block h3, .c-root .oa-faq-item h3 { font-size: 18px;
  line-height: 1.3; }
.oa-cover-block .c-list { margin-top: 12px; }
.oa-cover-block .c-list li { align-items: flex-start; line-height: 1.5; }
.oa-cover-block .c-list li::before { margin-top: 7px; }

/* Start page: the FAQ, one question and its answer per row. */
.oa-faq { max-width: 76ch; padding: 28px var(--pad-x) 40px; }
.oa-faq-item { padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.oa-faq-item:first-child { padding-top: 0; }
.oa-faq-item:last-child { border-bottom: 0; padding-bottom: 0; }
.oa-faq-item p { margin-top: 8px; font-size: 16px; line-height: 1.62;
  color: var(--ink-2); }
@media (max-width: 640px) {
  .oa-cover, .oa-faq { padding-left: 24px; padding-right: 24px; }
}

/* Wait page: a thin track with a red run that crosses it again and
   again while the scan runs. Only transform is animated, so the
   browser never lays the page out again for it. */
.oa-wait { margin-top: 28px; max-width: 520px; }
.oa-wait-line { position: relative; height: 3px; overflow: hidden;
  background: var(--line); }
.oa-wait-run { position: absolute; top: 0; left: 0; width: 40%;
  height: 100%; background: var(--blue);
  animation: oa-wait-run 1.6s ease-in-out infinite; }
@keyframes oa-wait-run {
  from { transform: translateX(-100%); }
  to { transform: translateX(250%); }
}
.oa-wait-hint { margin-top: 12px; font-size: 14px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: .02em; color: var(--muted); }

/* A visitor who asked for less motion gets a still line. */
@media (prefers-reduced-motion: reduce) {
  .oa-wait-run { animation: none; width: 100%; }
}
