/* Huggg recognition scorecard
   Brand tokens sampled from the live ROI calculator / huggg.me production CSS:
   - 1px solid #191919 borders (signature stamp look)
   - Hard-offset solid-ink shadows: 3px / 4px / 7px (no blur)
   - Radius scale: 10px / 12px / 20px
   - Poppins (400 / 500 / 600), sentence case, British English
   - Primary: Coral red #F15E40, Canary yellow #FDC828
   - Secondary: Spring green #4FA353, Indigo #4550A5, Rose pink #F7B4C6, Ivory #FFF5E2 */

:root {
  --huggg-coral: #f15e40;
  --huggg-coral-hover: #d94e32;
  --huggg-canary: #fdc828;
  --huggg-spring: #4fa353;
  --huggg-spring-deep: #3f8242;
  --huggg-gold: #eca221;
  --huggg-denim: #768dce;
  --huggg-rose: #f7b4c6;
  --huggg-indigo: #4550a5;
  --huggg-ivory: #fff5e2;
  --huggg-white: #ffffff;
  --huggg-ink: #191919;

  --hsc-muted: rgba(25, 25, 25, 0.62);
  --r-small: 10px;
  --r-medium: 12px;
  --r-large: 20px;
  --shadow-stamp-xs: 3px 3px 0 var(--huggg-ink);
  --shadow-stamp-sm: 4px 4px 0 var(--huggg-ink);
  --shadow-stamp-md: 7px 7px 0 var(--huggg-ink);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--huggg-ivory);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  color: var(--huggg-ink);
  line-height: 1.5;
}

.hsc-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}

.hsc-page__footnote {
  text-align: center;
  color: var(--hsc-muted);
  font-size: 0.85rem;
  margin: 1.5rem 0 0;
}

/* ----- card ----------------------------------------------------------- */
.hsc {
  font-size: 16px;
  font-weight: 400;
}

.hsc__card {
  background: var(--huggg-white);
  border: 1px solid var(--huggg-ink);
  border-radius: var(--r-large);
  box-shadow: var(--shadow-stamp-md);
  overflow: hidden;
}

/* ----- header --------------------------------------------------------- */
.hsc__header {
  background: var(--huggg-coral);
  color: var(--huggg-white);
  padding: 2.25rem 1.75rem 2rem;
  border-bottom: 1px solid var(--huggg-ink);
  text-align: center;
}

.hsc__header h2 {
  margin: 0.25rem 0 0.5rem;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--huggg-white);
}

.hsc__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--huggg-canary);
}

.hsc__sub {
  margin: 0.75rem auto 0;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
}

/* ----- body ----------------------------------------------------------- */
.hsc__body {
  padding: 1.75rem;
}

.hsc__body--intro {
  text-align: center;
}

/* ----- progress ------------------------------------------------------- */
.hsc__progress {
  padding: 1.25rem 1.75rem 0;
}

.hsc__progress-bar {
  height: 8px;
  background: var(--huggg-ivory);
  border: 1px solid var(--huggg-ink);
  border-radius: 999px;
  overflow: hidden;
}

.hsc__progress-fill {
  height: 100%;
  background: var(--huggg-canary);
  transition: width 0.25s ease;
}

.hsc__progress-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--hsc-muted);
}

/* ----- question ------------------------------------------------------- */
.hsc__q-label {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--huggg-coral);
}

.hsc__q-text {
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.25;
}

.hsc__options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hsc__option {
  text-align: left;
  font: inherit;
  color: var(--huggg-ink);
  background: var(--huggg-white);
  border: 1px solid var(--huggg-ink);
  border-radius: var(--r-medium);
  padding: 1rem 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-stamp-xs);
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.08s ease;
}

.hsc__option:hover {
  transform: translate(-1px, -1px);
  box-shadow: var(--shadow-stamp-sm);
}

.hsc__option:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--huggg-ink);
}

.hsc__option.is-selected {
  background: var(--huggg-canary);
}

/* ----- nav ------------------------------------------------------------ */
.hsc__nav {
  margin-top: 1.25rem;
}

/* ----- buttons -------------------------------------------------------- */
.hsc__btn {
  display: inline-block;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--r-medium);
  padding: 0.85rem 1.5rem;
  text-decoration: none;
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.08s ease;
}

.hsc__btn--primary {
  background: var(--huggg-coral);
  color: var(--huggg-white);
  border: 1px solid var(--huggg-ink);
  box-shadow: var(--shadow-stamp-sm);
}

.hsc__btn--primary:hover {
  background: var(--huggg-coral-hover);
  transform: translate(-1px, -1px);
  box-shadow: var(--shadow-stamp-md);
}

.hsc__btn--ghost {
  background: var(--huggg-white);
  color: var(--huggg-ink);
  border: 1px solid var(--huggg-ink);
  box-shadow: var(--shadow-stamp-xs);
}

.hsc__btn--ghost:hover {
  transform: translate(-1px, -1px);
  box-shadow: var(--shadow-stamp-sm);
}

.hsc__btn--text {
  background: transparent;
  border: none;
  color: var(--hsc-muted);
  text-decoration: underline;
  padding: 0.85rem 0.5rem;
}

/* ----- result --------------------------------------------------------- */
.hsc__score {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.hsc__score-num {
  font-size: 3.25rem;
  font-weight: 600;
  line-height: 1;
  color: var(--huggg-canary);
}

.hsc__score-max {
  font-size: 1.25rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.hsc__result-blurb {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
}

.hsc__fixes {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.hsc__fix {
  background: var(--huggg-ivory);
  border: 1px solid var(--huggg-ink);
  border-radius: var(--r-medium);
  padding: 1rem 1.1rem;
}

.hsc__fix-label {
  margin: 0 0 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--huggg-coral);
}

.hsc__fix-body {
  margin: 0;
}

/* ----- CTA ------------------------------------------------------------ */
.hsc__cta {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--huggg-indigo);
  color: var(--huggg-white);
  border: 1px solid var(--huggg-ink);
  border-radius: var(--r-medium);
  text-align: center;
}

.hsc__cta-heading {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.hsc__cta-body {
  margin: 0 0 1.1rem;
  color: rgba(255, 255, 255, 0.92);
}

.hsc__cta .hsc__btn--primary {
  background: var(--huggg-canary);
  color: var(--huggg-ink);
}

.hsc__cta .hsc__btn--primary:hover {
  background: #f3bd1c;
}

/* ----- actions -------------------------------------------------------- */
.hsc__actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

/* ----- responsive ----------------------------------------------------- */
@media (max-width: 520px) {
  .hsc__header {
    padding: 1.75rem 1.25rem 1.5rem;
  }
  .hsc__header h2 {
    font-size: 1.6rem;
  }
  .hsc__body,
  .hsc__progress {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .hsc__q-text {
    font-size: 1.2rem;
  }
  .hsc__actions {
    justify-content: center;
  }
}
