.assessment-body {
  background:
    radial-gradient(circle at 90% 10%, rgba(183, 211, 199, 0.35), transparent 28rem),
    radial-gradient(circle at 6% 92%, rgba(224, 215, 191, 0.28), transparent 24rem),
    #f6f8f4;
}

.assessment-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  padding: 2rem clamp(1.5rem, 5vw, 5rem);
}

.assessment-main {
  width: min(100%, 74rem);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.assessment-intro {
  width: min(100%, 48rem);
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.assessment-kicker,
.question-eyebrow,
.progress-row,
.field-label,
.review-label {
  color: #527269;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.assessment-intro h1 {
  margin: 0.75rem 0 1.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.assessment-intro > p:last-child {
  max-width: 39rem;
  margin: 0;
  color: #486059;
  font-size: 1.03rem;
  line-height: 1.7;
}

.assessment-card {
  width: min(100%, 52rem);
  min-height: 36rem;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border: 1px solid rgba(24, 49, 43, 0.14);
  background: rgba(255, 255, 255, 0.67);
  box-shadow: 0 1.5rem 4rem rgba(38, 68, 59, 0.07);
  backdrop-filter: blur(14px);
}

.progress-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.progress-row p {
  margin: 0;
}

.progress-track {
  height: 2px;
  margin: 0.9rem 0 clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
  background: rgba(24, 49, 43, 0.12);
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: #527269;
  transition: width 220ms ease;
}

.step-heading {
  max-width: 38rem;
  margin: 0.55rem 0 2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.step-copy {
  max-width: 38rem;
  margin: -0.75rem 0 2rem;
  color: #557069;
  line-height: 1.65;
}

.identity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.field {
  display: grid;
  gap: 0.55rem;
}

.field-full {
  grid-column: 1 / -1;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.text-input,
.other-input,
.weight-input,
.weight-unit,
.login-input {
  width: 100%;
  min-height: 3.2rem;
  border: 1px solid rgba(24, 49, 43, 0.23);
  border-radius: 0;
  outline: none;
  background: rgba(255, 255, 255, 0.72);
  color: #18312b;
  font: inherit;
  padding: 0.8rem 0.95rem;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.text-input:focus,
.other-input:focus,
.weight-input:focus,
.weight-unit:focus,
.login-input:focus {
  border-color: #527269;
  box-shadow: 0 0 0 3px rgba(82, 114, 105, 0.12);
}

.options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.option {
  position: relative;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(24, 49, 43, 0.17);
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
  line-height: 1.45;
  transition: border-color 150ms ease, background 150ms ease;
}

.option:hover,
.option:has(input:focus-visible) {
  border-color: #6f9187;
}

.option:has(input:checked) {
  border-color: #527269;
  background: rgba(211, 227, 220, 0.48);
}

.option input {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  margin: 0.18rem 0 0;
  accent-color: #38564e;
}

.selection-note {
  margin: -0.75rem 0 1.35rem;
  color: #6b7c76;
  font-size: 0.87rem;
}

.other-field {
  margin-top: 1rem;
}

.other-input {
  min-height: 6rem;
  resize: vertical;
}

.weight-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 8rem;
  gap: 0.75rem;
  max-width: 25rem;
}

.urgent-notice,
.emergency-note {
  margin: 1.5rem 0 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid #a14d3a;
  background: rgba(245, 224, 215, 0.62);
  color: #733628;
  line-height: 1.55;
}

.emergency-note {
  margin: 0 0 2rem;
}

.review-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 2rem;
}

.review-item {
  padding: 1rem;
  background: rgba(229, 236, 231, 0.55);
}

.review-item p {
  margin: 0.35rem 0 0;
  overflow-wrap: anywhere;
}

.consent-box {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.consent-option {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  color: #38534b;
  font-size: 0.94rem;
  line-height: 1.55;
}

.consent-option input {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  margin-top: 0.25rem;
  accent-color: #38564e;
}

.form-error {
  min-height: 1.4rem;
  margin: 1.35rem 0 0;
  color: #9a3f30;
  font-size: 0.9rem;
}

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

.assessment-actions[hidden] {
  display: none;
}

.button {
  min-height: 3rem;
  border: 1px solid #38564e;
  border-radius: 0;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  padding: 0.8rem 1.5rem;
  text-transform: uppercase;
}

.button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.button-primary {
  margin-left: auto;
  background: #294b42;
  color: #fff;
}

.button-secondary {
  background: transparent;
  color: #294b42;
}

.privacy-note {
  margin: 2rem 0 0;
  color: #77847f;
  font-size: 0.78rem;
  line-height: 1.55;
}

.success-panel {
  padding: 1.5rem 0;
}

.reference-number {
  display: inline-block;
  margin: 1rem 0 0;
  padding: 0.7rem 0.9rem;
  background: rgba(211, 227, 220, 0.6);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.04em;
}

@media (max-width: 700px) {
  .assessment-shell {
    padding: 1.5rem;
  }

  .assessment-main {
    padding: 4rem 0;
  }

  .assessment-intro h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .assessment-card {
    min-height: 33rem;
    padding: 1.35rem;
  }

  .identity-grid,
  .review-summary,
  .options {
    grid-template-columns: 1fr;
  }

  .field-full {
    grid-column: auto;
  }

  .assessment-footer p:first-child {
    display: none;
  }

  .assessment-footer {
    justify-content: flex-end;
  }
}

@media (max-width: 430px) {
  .assessment-header .site-nav {
    gap: 0.65rem;
  }

  .assessment-header .nav-link {
    font-size: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .progress-track span,
  .option,
  .text-input,
  .other-input,
  .weight-input,
  .weight-unit {
    transition: none;
  }
}
