.score-page {
  background: #fffaf2;
}

.narrow {
  max-width: 780px;
  margin: 0 auto;
	padding: 20px 0;
}

.score-hero {
  padding: 5rem 0 3rem;
  text-align: left;
}

.hero-copy {
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto 2rem;
}

.assessment-wrap {
  padding: 2rem 0 5rem;
}

.progress {
  height: 10px;
  background: #f1dfc1;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: #c62828;
  transition: width .25s ease;
}

.assessment-form {
  background: #fff;
  border: 2px solid #111;
  border-radius: 24px;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  box-shadow: 8px 8px 0 #111;
}

.step {
  display: none;
  border: 0;
  padding: 0;
  margin: 0;
}

.step.active {
  display: grid;
  gap: .85rem;
}

.step legend {
  font-size: clamp(1.5rem, 4vw, 2.35rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.step label {
  display: block;
  background: #fffaf2;
  border: 2px solid #111;
  border-radius: 14px;
  padding: 1rem;
  cursor: pointer;
  font-weight: 700;
}

.step label:hover {
  background: #ffe9bf;
}

.step input[type="radio"],
.step input[type="checkbox"] {
  margin-right: .6rem;
  transform: scale(1.15);
}

.step input[type="text"],
.step input[type="email"] {
  width: 100%;
  margin-top: .5rem;
  padding: 1rem;
  border: 2px solid #111;
  border-radius: 12px;
  font: inherit;
}

.checkbox-line {
  margin-top: 1rem;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #111;
  border-radius: 999px;
  padding: .9rem 1.25rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 4px 4px 0 #111;
}

.btn.primary {
  background: #c62828;
  color: #fff;
}

.btn.secondary {
  background: #fff;
  color: #111;
}

.btn:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.hidden {
  display: none !important;
}

.fine-print {
  font-size: .9rem;
  color: #555;
}

.results {
  padding: 4rem 0 6rem;
}

.results h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.score-card {
  background: #fff;
  border: 2px solid #111;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 8px 8px 0 #111;
  margin-bottom: 2rem;
}

.score-number {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 950;
  color: #c62828;
  line-height: 1;
}

.result-block {
  background: #fff;
  border: 2px solid #111;
  border-radius: 18px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.video-recommendations {
  display: grid;
  gap: 1rem;
}

.video-card {
  border: 2px solid #111;
  border-radius: 14px;
  padding: 1rem;
  background: #fffaf2;
}

.video-card h4 {
  margin: 0 0 .4rem;
}

.video-card a {
  font-weight: 900;
  color: #c62828;
}

.local-block {
  background: #fff0d1;
}

.step {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.step.active {
  opacity: 1;
  transform: translateY(0);
}

.assessment-shell {
  animation: assessmentFadeIn 320ms ease both;
}

@keyframes assessmentFadeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.progress-bar {
  transition: width 260ms ease;
}

.results {
  animation: resultsFadeIn 360ms ease both;
}

@keyframes resultsFadeIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .step,
  .assessment-shell,
  .results,
  .progress-bar {
    animation: none;
    transition: none;
    transform: none;
  }
}

@media (max-width: 640px) {
  .score-hero {
    padding: 3rem 0 2rem;
  }

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

  .btn {
    width: 100%;
  }
}