:root {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  background: #f4f6fa;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.container {
  width: min(760px, calc(100% - 32px));
  margin: 48px auto;
}

.card {
  background: white;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 12px 40px rgba(20, 30, 50, .08);
}

.hidden {
  display: none !important;
}

.eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: #6876ff;
}

h1 {
  margin: 8px 0 8px;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.muted {
  color: #657085;
}

label {
  display: block;
  margin-top: 22px;
  font-weight: 600;
}

input[type="email"],
input[type="password"],
input[type="text"] {
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  border: 1px solid #d8deea;
  border-radius: 10px;
  font-size: 1rem;
}

button {
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.primary {
  color: white;
  background: #5363ff;
}

.secondary {
  color: #34405a;
  background: #edf0f6;
}

form .primary {
  width: 100%;
  margin-top: 28px;
}

.category-row {
  padding: 18px 0;
  border-bottom: 1px solid #edf0f4;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.category-name {
  font-weight: 700;
}

.score {
  min-width: 32px;
  text-align: center;
  font-weight: 800;
  color: #5363ff;
}

.slider-line {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.step {
  width: 34px;
  height: 34px;
  padding: 0;
  background: #edf0f6;
  color: #34405a;
  border-radius: 50%;
}

input[type="range"] {
  width: 100%;
  accent-color: #5363ff;
}

.actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
}

.progress {
  color: #6876ff;
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.error {
  color: #b42318;
  min-height: 24px;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e7f6ec;
  color: #1f8f48;
  font-size: 2rem;
  font-weight: 800;
}

@media (max-width: 600px) {
  .container {
    margin: 16px auto;
  }

  .card {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .actions {
    flex-direction: column-reverse;
  }

  .actions button {
    width: 100%;
  }
}
