:root {
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --soft: #eef4ff;
}

body {
  min-height: 100vh;
}

.hero {
  min-height: calc(100vh - 66px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 12% 20%, rgba(37, 99, 235, .16), transparent 30%),
    linear-gradient(135deg, rgba(37, 99, 235, .08), transparent 55%);
}

.audit-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .75rem;
  max-width: 760px;
}

.score-preview,
.panel,
.metric {
  border: 1px solid var(--bs-border-color);
  background: var(--bs-body-bg);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
}

.score-preview {
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.score-ring {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  font-size: 2.5rem;
  font-weight: 800;
  background: conic-gradient(#16a34a 0 92%, #e5e7eb 92% 100%);
}

.panel {
  padding: 1.25rem;
}

.metric {
  padding: 1.25rem;
}

.metric span {
  display: block;
  color: var(--bs-secondary-color);
}

.metric strong {
  display: block;
  font-size: 2rem;
}

.auth-wrap {
  max-width: 520px;
}

pre {
  background: var(--bs-tertiary-bg);
  padding: 1rem;
  border-radius: 8px;
  white-space: pre-wrap;
}

@media (max-width: 700px) {
  .audit-form {
    grid-template-columns: 1fr;
  }

  .score-preview {
    align-items: flex-start;
    flex-direction: column;
  }
}
