/* One card in the landing's Aideology brand (frontend/src/styles/tokens.css). No Figma frame exists
   for this page; see the change's design.md → "Visual design". */
@font-face {
  font-family: Inter;
  src: url('/Inter-latin-ext.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --brand-primary: #90d43c;
  --brand-primary-hover: #7fc230;
  --brand-on-primary: #1a2e05;
  --brand-accent: #5a8a1e;
  --gray-50: #f9fafb;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-900: #111827;
  --danger: #b91c1c;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--gray-50);
  color: var(--gray-900);
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
.card {
  width: 100%;
  max-width: 440px;
  padding: 40px 32px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.06);
}
.logo { display: block; height: 40px; width: auto; margin-bottom: 24px; }
h1 { margin: 0 0 8px; font-size: 22px; font-weight: 600; }
.message { margin: 0 0 24px; color: var(--gray-500); line-height: 1.5; }
[data-state='failed'] .message { color: var(--danger); }
.steps { list-style: none; margin: 0 0 24px; padding: 0; display: none; }
[data-state='starting'] .steps, [data-state='waiting'] .steps, [data-state='ready'] .steps { display: block; }
.steps li { padding: 6px 0 6px 28px; position: relative; color: var(--gray-500); }
.steps li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
}
.steps li[data-status='active'] { color: var(--gray-900); font-weight: 500; }
.steps li[data-status='active']::before {
  border-color: var(--brand-primary);
  border-top-color: transparent;
  animation: spin 0.9s linear infinite;
}
.steps li[data-status='done']::before { background: var(--brand-primary); border-color: var(--brand-primary); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .steps li[data-status='active']::before { animation: none; } }
.button {
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--brand-primary);
  color: var(--brand-on-primary);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.button:hover { background: var(--brand-primary-hover); }
.button:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 2px; }
.hint { margin: 24px 0 0; font-size: 13px; color: var(--gray-500); line-height: 1.5; }
