.root {
  --v3-accent: #2e936f;
  --v3-accent-dark: #237457;
  --v3-text: #111827;
  --v3-muted: #4b5563;
  --v3-border: #dde3eb;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  overflow-x: clip;
  background: #fff;
  color: var(--v3-text);
  font-family:
    'WL11705 Red Hat Text', var(--font-red-hat-text), 'Red Hat Text', Arial,
    sans-serif;
}

.root *,
.root *::before,
.root *::after {
  box-sizing: border-box;
}

.header {
  position: relative;
  width: min(100%, 480px);
  height: 69px;
  margin: 0 auto;
  border-bottom: 1px solid #d1d5db;
}

.headerInner {
  width: calc(100% - 44px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transform: translateY(9px);
}

.headerCompact {
  height: 46px;
}

.headerCompact .headerInner {
  width: calc(100% - 48px);
  transform: none;
}

.brandLogo {
  display: flex;
  width: 106px;
  height: 30px;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.brandLogo > img,
.brandLogo > svg,
.brandLogo > * {
  width: auto !important;
  max-width: 106px !important;
  height: auto !important;
  max-height: 30px !important;
  object-fit: contain;
  object-position: left center;
}

.main {
  width: min(100%, 480px);
  min-height: calc(100vh - 69px);
  margin: 0 auto;
  padding: 26px 24px 2px;
}

.mainReview {
  padding-top: 0;
}

.mainCompact {
  min-height: calc(100vh - 46px);
  padding-top: 28px;
}

.mainContact {
  padding-top: 34px;
}

.progressRow {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 23px;
}

.backButton {
  width: 19px;
  height: 22px;
  margin-left: -9px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #4b5563;
  cursor: pointer;
  font: inherit;
}

.backButton:disabled {
  cursor: wait;
  opacity: 0.45;
}

.progress {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.progressNoBack {
  width: 88.8889%;
  flex: none;
  margin-right: auto;
  margin-left: auto;
}

.progressSegment {
  height: 12px;
  border-radius: 6px;
  background: #e5e7eb;
}

.progressDone {
  background: var(--v3-accent);
}

.progressCurrent {
  background: #deede0;
}

.stage {
  display: flex;
  min-height: calc(100vh - 140px);
  flex-direction: column;
}

.stageContent {
  width: 100%;
  min-width: 0;
}

.initialStageContent {
  padding-bottom: 22px;
}

.welcomeHeader {
  will-change: transform;
}

.welcomeIntro {
  will-change: opacity;
}

.welcomeHeaderEntering {
  animation: welcome-header-enter 469ms linear both;
}

.welcomeIntroFresh {
  animation: welcome-intro-fresh 294ms linear both;
}

.welcomeIntroReturning {
  animation: welcome-intro-return 219ms linear both;
}

@keyframes welcome-header-enter {
  0% {
    opacity: 0.001;
    transform: translateY(-150px);
  }
  14.9% {
    opacity: 0.055;
    transform: translateY(-150px);
  }
  22.2% {
    opacity: 0.558;
    transform: translateY(-70.96px);
  }
  29.6% {
    opacity: 0.788;
    transform: translateY(-34.22px);
  }
  34.3% {
    opacity: 0.944;
    transform: translateY(-6.7px);
  }
  40.1% {
    opacity: 0.989;
    transform: translateY(-0.83px);
  }
  50.5% {
    opacity: 1;
    transform: translateY(2.22px);
  }
  62.7% {
    opacity: 1;
    transform: translateY(1.47px);
  }
  76.3% {
    opacity: 1;
    transform: translateY(0.41px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes welcome-intro-fresh {
  0%,
  35.4% {
    opacity: 0;
  }
  47.3% {
    opacity: 0.125;
  }
  54.8% {
    opacity: 0.569;
  }
  63.9% {
    opacity: 0.754;
  }
  80.6% {
    opacity: 0.942;
  }
  100% {
    opacity: 1;
  }
}

@keyframes welcome-intro-return {
  0%,
  10% {
    opacity: 0;
  }
  23.7% {
    opacity: 0.079;
  }
  31.5% {
    opacity: 0.221;
  }
  46.6% {
    opacity: 0.527;
  }
  54.3% {
    opacity: 0.662;
  }
  69.4% {
    opacity: 0.852;
  }
  84.5% {
    opacity: 0.955;
  }
  100% {
    opacity: 1;
  }
}

.stageEnterForward {
  animation: stage-forward 500ms cubic-bezier(0.44, 0, 0.56, 1) both;
}

.stageEnterBack {
  animation: stage-back 500ms cubic-bezier(0.44, 0, 0.56, 1) both;
}

@keyframes stage-forward {
  from {
    opacity: 0;
    transform: translateY(150px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes stage-back {
  from {
    opacity: 0;
    transform: translateY(150px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(150px);
  transition:
    opacity 500ms cubic-bezier(0.44, 0, 0.56, 1),
    transform 500ms cubic-bezier(0.44, 0, 0.56, 1);
}

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

.conditional {
  opacity: 1;
  transition: opacity 350ms cubic-bezier(0.44, 0, 0.56, 1);
}

.conditionalHidden {
  opacity: 0;
  pointer-events: none;
  user-select: none;
}

.questionRevealBlock {
  display: flow-root;
}

.healthRevealTitle {
  height: 40px;
  overflow: clip;
}

.healthRevealPrompt {
  overflow: clip;
}

.heroMedia {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  border-radius: 16px;
}

.heroImage {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.heroBrand {
  position: absolute;
  bottom: 13%;
  left: 7%;
  width: 39%;
  height: 25%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  filter: brightness(0) invert(1);
  opacity: 0.32;
  pointer-events: none;
}

.heroBrand > img,
.heroBrand > svg,
.heroBrand > * {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 100% !important;
  object-fit: contain;
  object-position: left center;
}

.heroHeading {
  margin: 22px 0 12px;
  color: var(--v3-text);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.1;
}

.accent {
  color: var(--v3-accent);
}

.introCopy {
  margin: 0;
  color: var(--v3-muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
}

.divider {
  width: 100%;
  height: 1px;
  margin: 33px 0 19px;
  border: 0;
  background: #e5e7eb;
}

.questionBlock {
  width: 100%;
  margin-top: 32px;
}

.questionBlockCompact {
  margin-top: 12px;
}

.fieldFull.questionBlockCompact {
  margin-top: 14px;
}

.questionTitle {
  margin: 0 0 15px;
  color: var(--v3-text);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.standaloneQuestion {
  margin-bottom: 32px;
}

h3.questionTitle {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: normal;
  line-height: 1.35;
}

.questionTitleLarge {
  margin: 0 0 24px;
  color: var(--v3-text);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.sectionTitle {
  margin: 0 0 9px;
  color: var(--v3-accent);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.bodyLarge {
  margin: 0;
  color: #232d40;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
}

.paceResultCopy {
  margin: 0;
  color: #232d40;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
}

.body {
  margin: 0;
  color: var(--v3-muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
}

/* Short explanatory note between a question title and its choices. */
.body.questionHelp {
  margin: -7px 0 15px;
  font-size: 15px;
}

.bodyStrong {
  color: var(--v3-text);
  font-weight: 600;
}

.safetyText {
  margin: 12px 0 0;
  color: #786310;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}

.safetyAlert {
  width: 100%;
  min-height: 48px;
  margin: 12px 0 0;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #facc15;
  border-radius: 8px;
  background: #fdfce8;
  color: #786310;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}

.safetyAlert svg {
  width: 24px;
  height: 24px;
  flex: none;
  color: #e3b600;
}

.dobSpacer {
  height: 15px;
}

.fieldGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field + .fieldFull {
  margin-top: 16px;
}

.fieldFull {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.medicationDetailsHeading {
  margin: 0 0 72px;
  color: var(--v3-text);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.medicationDetailsIntro {
  width: 100%;
  max-width: none;
  margin-left: 0;
}

.medicationDetailsStage .fieldFull {
  gap: 12px;
}

.medicationDetailsStage .questionBlock {
  margin-top: 96px;
}

.medicationDetailsStage .questionBlockCompact {
  margin-top: 32px;
}

.conditionalDetailsField .fieldFull {
  gap: 12px;
}

.label {
  color: #233040;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
}

.allergyLabel {
  color: #111827;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
}

.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid #dde3eb;
  border-radius: 8px;
  outline: none;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  color: var(--v3-muted);
  font:
    400 16px/1.2 var(--font-red-hat-text),
    'Red Hat Text',
    Arial,
    sans-serif;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.input,
.select {
  height: 51.2px;
  padding: 0 16px;
}

.select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #8c929b 50%),
    linear-gradient(135deg, #8c929b 50%, transparent 50%);
  background-position:
    calc(100% - 21px) 23px,
    calc(100% - 16px) 23px;
  background-repeat: no-repeat;
  background-size:
    5px 5px,
    5px 5px;
  padding-right: 42px;
}

.textarea {
  min-height: 100px;
  padding: 16px;
  resize: vertical;
}

.conditionalDetailsTextarea {
  min-height: 150px;
}

.initialConditionalDetails {
  margin-top: 32px;
  animation: initial-conditional-details 350ms cubic-bezier(0.44, 0, 0.56, 1)
    both;
}

.medicalDetailLabel {
  color: #667085;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

@keyframes initial-conditional-details {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

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

.conditionalChoiceGroup {
  transform-origin: top center;
}

.conditionalChoiceGroupClosingPrograms {
  animation: v3-conditional-close-programs 400ms linear both;
}

.conditionalChoiceGroupClosingFurther {
  animation: v3-conditional-close-further 400ms linear both;
}

.conditionalChoiceGroupClosingPrograms .option,
.conditionalChoiceGroupClosingFurther .option {
  transform-origin: center;
}

.conditionalChoiceGroupClosingPrograms .option {
  animation: v3-conditional-close-programs-child 400ms linear both;
}

.conditionalChoiceGroupClosingFurther .option {
  animation: v3-conditional-close-further-child 400ms linear both;
}

.conditionalDetailsLayout {
  display: grid;
  grid-template-rows: 1fr;
  overflow: visible;
}

.conditionalDetailsLayoutOpening {
  animation: v3-conditional-layout-expand 400ms linear both;
}

.conditionalDetailsContent {
  min-height: 0;
  overflow: visible;
}

.conditionalDetailsField {
  padding-top: 12px;
}

@keyframes v3-conditional-layout-expand {
  0% {
    grid-template-rows: 0fr;
  }
  3.4% {
    grid-template-rows: 0.086fr;
  }
  7.4% {
    grid-template-rows: 0.22fr;
  }
  11.9% {
    grid-template-rows: 0.381fr;
  }
  20.2% {
    grid-template-rows: 0.669fr;
  }
  24.4% {
    grid-template-rows: 0.777fr;
  }
  32.6% {
    grid-template-rows: 0.914fr;
  }
  41.1% {
    grid-template-rows: 0.985fr;
  }
  49.2% {
    grid-template-rows: 1fr;
  }
  100% {
    grid-template-rows: 1fr;
  }
}

@keyframes v3-conditional-close-programs {
  0% {
    transform: scaleY(2.655);
  }
  3.4% {
    transform: scaleY(2.513);
  }
  7.4% {
    transform: scaleY(2.291);
  }
  11.9% {
    transform: scaleY(2.024);
  }
  20.2% {
    transform: scaleY(1.548);
  }
  24.4% {
    transform: scaleY(1.369);
  }
  32.6% {
    transform: scaleY(1.142);
  }
  41.1% {
    transform: scaleY(1.025);
  }
  49.2% {
    transform: scaleY(0.982);
  }
  62.1% {
    transform: scaleY(0.977);
  }
  82.9% {
    transform: scaleY(0.995);
  }
  100% {
    transform: scaleY(1);
  }
}

@keyframes v3-conditional-close-programs-child {
  0% {
    transform: scaleY(0.3766);
  }
  3.4% {
    transform: scaleY(0.3979);
  }
  7.4% {
    transform: scaleY(0.4365);
  }
  11.9% {
    transform: scaleY(0.494);
  }
  20.2% {
    transform: scaleY(0.6461);
  }
  24.4% {
    transform: scaleY(0.7305);
  }
  32.6% {
    transform: scaleY(0.8754);
  }
  41.1% {
    transform: scaleY(0.9756);
  }
  49.2% {
    transform: scaleY(1.0183);
  }
  62.1% {
    transform: scaleY(1.0235);
  }
  82.9% {
    transform: scaleY(1.005);
  }
  100% {
    transform: scaleY(1);
  }
}

@keyframes v3-conditional-close-further {
  0% {
    transform: scaleY(2.849);
  }
  3.4% {
    transform: scaleY(2.69);
  }
  7.4% {
    transform: scaleY(2.442);
  }
  11.9% {
    transform: scaleY(2.145);
  }
  20.2% {
    transform: scaleY(1.612);
  }
  24.4% {
    transform: scaleY(1.412);
  }
  32.6% {
    transform: scaleY(1.159);
  }
  41.1% {
    transform: scaleY(1.028);
  }
  49.2% {
    transform: scaleY(0.98);
  }
  62.1% {
    transform: scaleY(0.974);
  }
  82.9% {
    transform: scaleY(0.994);
  }
  100% {
    transform: scaleY(1);
  }
}

@keyframes v3-conditional-close-further-child {
  0% {
    transform: scaleY(0.351);
  }
  3.4% {
    transform: scaleY(0.3717);
  }
  7.4% {
    transform: scaleY(0.4095);
  }
  11.9% {
    transform: scaleY(0.4662);
  }
  20.2% {
    transform: scaleY(0.6203);
  }
  24.4% {
    transform: scaleY(0.7082);
  }
  32.6% {
    transform: scaleY(0.8628);
  }
  41.1% {
    transform: scaleY(0.9728);
  }
  49.2% {
    transform: scaleY(1.0204);
  }
  62.1% {
    transform: scaleY(1.0267);
  }
  82.9% {
    transform: scaleY(1.006);
  }
  100% {
    transform: scaleY(1);
  }
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: #0099ff;
  box-shadow: 0 4px 20px rgba(49, 171, 232, 0.3);
}

.input::placeholder,
.textarea::placeholder {
  color: #999;
  opacity: 1;
}

.input[type='number'] {
  appearance: textfield;
}

.input[type='number']::-webkit-inner-spin-button,
.input[type='number']::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.optionList {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.optionListTight {
  gap: 16px;
}

.optionGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.option {
  width: 100%;
  min-height: 50.906px;
  padding: 16px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  color: #111827;
  cursor: pointer;
  font:
    400 14px/1.35 var(--font-red-hat-text),
    'Red Hat Text',
    Arial,
    sans-serif;
  outline: none;
  text-align: left;
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease;
  will-change: transform;
}

.option:active {
  animation: v3-option-press 330ms linear both;
  background: #f8fbff;
  box-shadow: 0 4px 20px #d9e9ff;
}

.option:focus-visible {
  outline: 2px solid #31abe8;
  outline-offset: 3px;
}

.optionReleasing {
  animation: v3-option-release 430ms linear both;
}

.option::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid #dde3eb;
  border-radius: 8px;
  pointer-events: none;
}

@keyframes v3-option-press {
  0% {
    transform: scale(1);
  }
  4% {
    transform: scale(0.99849);
  }
  16% {
    transform: scale(0.967772);
  }
  31% {
    transform: scale(0.949825);
  }
  46% {
    transform: scale(0.948906);
  }
  100% {
    transform: scale(0.95);
  }
}

@keyframes v3-option-release {
  0% {
    transform: scale(0.95);
  }
  2.3% {
    transform: scale(0.953);
  }
  23.7% {
    transform: scale(0.966);
  }
  37.7% {
    transform: scale(0.993);
  }
  55.8% {
    transform: scale(1.0001);
  }
  77.4% {
    transform: scale(1.00057);
  }
  100% {
    transform: scale(1);
  }
}

.optionSelected {
  min-height: 52.906px;
  border: 1px solid #31abe8;
  background: #fff;
  box-shadow: 0 4px 20px rgba(49, 171, 232, 0.3);
}

.optionSelected::after {
  border: 0;
}

.choiceMark {
  width: 16px;
  height: 16px;
  flex: none;
  position: relative;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(187, 187, 187, 0.2);
  box-shadow: none;
  color: #fff;
  font-size: 11px;
}

.choiceMark::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: inherit;
  pointer-events: none;
}

.checkMark {
  border-radius: 4px;
  box-shadow: none;
}

.optionSelected .choiceMark {
  background: #fff;
  box-shadow: inset 0 0 0 5px #0099ff;
}

.optionSelected .choiceMark::after {
  border: 0;
}

.optionSelected .checkMark {
  background: #0099ff;
  box-shadow: none;
}

.optionSelected .checkMark::before {
  content: '';
  width: 16px;
  height: 16px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M 4 8 L 6.5 10.5 L 11.5 5.5' fill='transparent' stroke-width='2' stroke='white' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M 4 8 L 6.5 10.5 L 11.5 5.5' fill='transparent' stroke-width='2' stroke='white' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.multipleOption.optionSelected {
  min-height: 50.906px;
  border: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.markerOnlySelection.optionSelected {
  min-height: 50.906px;
  border: 0;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.multipleOption.optionSelected::after,
.markerOnlySelection.optionSelected::after {
  border: 1px solid #dde3eb;
}

.multipleOption:active,
.multipleOption.optionReleasing {
  animation: none;
  transform: none;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.multipleOption {
  gap: 10px;
}

.exclusiveNoneOption {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.exclusiveNoneDivider {
  width: 100%;
  height: 1px;
  background: #dfe4ed;
}

.optionCopy {
  min-width: 0;
  flex: 1;
}

.optionLabel {
  display: block;
}

.optionDescription {
  display: block;
  margin-top: 2px;
  color: #6b7280;
  font-size: 12px;
}

.tileOption {
  min-height: 67.2px;
  gap: 12px;
  color: var(--v3-text);
  font-size: 16px;
  font-weight: 500;
}

.compactOption {
  gap: 10px;
}

.largeOption {
  min-height: 85px;
}

.yesNoOption {
  min-height: 85px;
}

.yesNoOption + .yesNoOption {
  margin-top: 4px;
}

.initialYesNoGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.initialYesNoCard.tileOption {
  min-height: 190px;
  padding: 24px 16px 0;
  position: relative;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.initialYesNoCard .tileIcon {
  position: absolute;
  top: 54px;
  left: 50%;
  background: transparent;
  transform: translateX(-50%);
}

.initialYesNoCard .tileIcon svg {
  width: 36px;
  height: 36px;
}

.initialYesNoCard .optionCopy {
  position: absolute;
  top: 109.898px;
  right: 16px;
  left: 16px;
}

.vitalOption.tileOption {
  min-height: 84.8px;
  padding: 24px 16px;
  gap: 12px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}

.vitalOption.tileOption.optionSelected {
  min-height: 84.8px;
}

.vitalQuestionTitle {
  margin-bottom: 13px !important;
}

.primaryButton.initialNextButton {
  margin-top: 64px;
  transition: none;
}

.primaryButton.initialNextButton:active,
.primaryButton.initialNextButton.primaryButtonReleasing {
  animation: none;
  transform: none;
  background: var(--v3-accent);
}

.vitalOption .optionDescription {
  margin-top: 2px;
  color: var(--vital-icon-fg);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
}

.vitalOption .optionLabel {
  font-weight: 500;
}

.vitalOption .tileIcon {
  background: transparent;
  color: var(--vital-icon-fg);
}

.vitalOption .tileIcon svg {
  width: 36px;
  height: 36px;
}

.vitalOptionGreen {
  --vital-icon-bg: #dff7e6;
  --vital-icon-fg: #22c55e;
}

.vitalOptionYellow {
  --vital-icon-bg: #ffedb4;
  --vital-icon-fg: #d6a500;
}

.vitalOptionOrange {
  --vital-icon-bg: #ffedd5;
  --vital-icon-fg: #f97316;
}

.vitalOptionRed {
  --vital-icon-bg: #fee2e2;
  --vital-icon-fg: #dc2626;
}

.vitalOptionTeal {
  --vital-icon-bg: #dbfcff;
  --vital-icon-fg: #14b8b8;
}

.genderOption {
  min-height: 180px;
  padding: 24px;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  color: #111827;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

.genderOption.optionReleasing {
  animation: v3-gender-option-release 106ms linear both;
}

@keyframes v3-gender-option-release {
  0% {
    transform: scale(0.95);
  }
  12.8% {
    transform: scale(0.953697);
  }
  16.5% {
    transform: scale(0.95529);
  }
  20.4% {
    transform: scale(0.957074);
  }
  26.1% {
    transform: scale(0.960027);
  }
  33.2% {
    transform: scale(0.964316);
  }
  41% {
    transform: scale(0.968803);
  }
  48.5% {
    transform: scale(0.973306);
  }
  56.3% {
    transform: scale(0.977682);
  }
  63.7% {
    transform: scale(0.98182);
  }
  70.1% {
    transform: scale(0.985183);
  }
  77.3% {
    transform: scale(0.98827);
  }
  84.9% {
    transform: scale(0.991428);
  }
  92.3% {
    transform: scale(0.994181);
  }
  100% {
    transform: scale(1);
  }
}

.genderIcon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
}

.genderIconFemale {
  background: transparent;
}

.genderIcon svg {
  width: 64px;
  height: 64px;
}

.tileIcon {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  font-size: 21px;
  font-weight: 700;
}

.tileIconBlue {
  background: #dbeafe;
  color: #3b82f6;
}

.tileIconRed {
  background: #fee2e2;
  color: #ef4444;
}

.tileIcon svg {
  width: 22px;
  height: 22px;
}

.paceOptionList {
  margin-right: 16px;
  margin-left: 16px;
}

.paceOption.tileOption {
  min-height: 0;
  padding: 24px 16px;
  gap: 32px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.paceOption.tileOption .tileIcon {
  position: absolute;
  top: 50%;
  left: 16px;
  background: #dff7e6;
  color: #22c55e;
  transform: translateY(-50%);
}

.paceOption.tileOption .optionCopy {
  margin-left: 48px;
}

.paceOption.tileOption:nth-child(2) .tileIcon {
  background: #dbeafe;
  color: #2563eb;
}

.paceOption.tileOption:nth-child(3) .tileIcon {
  background: #fee2e2;
  color: #dc2626;
}

.paceOption.tileOption:first-child .tileIcon svg {
  width: 25px;
  height: 25px;
}

.paceOption.tileOption:first-child .tileIcon path {
  stroke-width: 2.5;
}

.paceOption.tileOption:nth-child(n + 2) .tileIcon path {
  stroke-width: 2;
}

.paceOption.optionSelected {
  border: 1px solid #31abe8;
}

.paceOption.optionSelected::after {
  border: 0;
}

.error {
  min-height: 48px;
  margin: 14px 0 0;
  padding: 12px 12px 12px 46px;
  position: relative;
  display: flex;
  align-items: center;
  border: 0;
  border-radius: 8px;
  background: #fee2e2;
  color: #dc2626;
  font-size: 14px;
  font-weight: 400;
  line-height: 16.8px;
}

.error::before {
  content: '';
  width: 24px;
  height: 24px;
  position: absolute;
  top: 12px;
  left: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='9' stroke='%23dc2626' stroke-width='1.5'/%3E%3Cpath d='M12 7.75V13.25' stroke='%23dc2626' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='16.25' r='0.9' fill='%23dc2626'/%3E%3C/svg%3E")
    center / 24px 24px no-repeat;
}

.error::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid #dc2626;
  border-radius: 8px;
  pointer-events: none;
}

.optionList + .error {
  margin-top: 32px;
}

.error.initialError,
.optionList + .error.initialError {
  margin-top: 0;
}

.optionList + .error.heartRateError {
  margin-top: 12px;
}

.primaryButton {
  width: 100%;
  min-height: 53.6px;
  margin-top: 32px;
  padding: 16px;
  border: 0;
  border-radius: 16px;
  background: var(--v3-accent);
  color: #fff;
  cursor: pointer;
  font:
    600 18px/1.2 var(--font-red-hat-text),
    'Red Hat Text',
    Arial,
    sans-serif;
  will-change: transform;
}

.primaryButton:focus-visible,
.backButton:focus-visible {
  outline: 2px solid #31abe8;
  outline-offset: 3px;
}

.primaryButton:active {
  animation: v3-primary-press 416ms linear both;
}

@keyframes v3-primary-press {
  0% {
    transform: scale(1);
  }
  3.8% {
    transform: scale(0.9968);
  }
  8.4% {
    transform: scale(0.9887);
  }
  13.5% {
    transform: scale(0.9799);
  }
  24.3% {
    transform: scale(0.9583);
  }
  38.9% {
    transform: scale(0.954);
  }
  57.9% {
    transform: scale(0.9602);
  }
  76.2% {
    transform: scale(0.9608);
  }
  100% {
    transform: scale(0.96);
  }
}

.primaryButtonReleasing {
  animation: v3-primary-release 160ms linear both;
}

@keyframes v3-primary-release {
  0% {
    transform: var(--v3-primary-release-transform, scale(0.96));
  }
  9.4% {
    transform: scale(0.9617);
  }
  22.5% {
    transform: scale(0.9713);
  }
  35.6% {
    transform: scale(0.9785);
  }
  63.1% {
    transform: scale(0.994);
  }
  100% {
    transform: scale(1);
  }
}

.primaryButton:disabled {
  cursor: pointer;
  opacity: 1;
}

.contactButtonIcon {
  margin-right: 7px;
  display: inline-flex;
  vertical-align: -5px;
}

.buttonAtBottom {
  margin-top: 81px;
}

.laterButton {
  margin-top: 64px;
}

.paceResultButton {
  margin-top: 64px;
}

.leadingButton {
  margin-top: 80px;
}

.secondaryButton {
  margin: 17px auto 0;
  padding: 8px;
  border: 0;
  background: transparent;
  color: #4b5563;
  cursor: pointer;
  font:
    600 14px/1.2 var(--font-red-hat-text),
    'Red Hat Text',
    Arial,
    sans-serif;
  text-decoration: underline;
}

.paceHeading {
  margin: 20px 16px 20px;
  color: var(--v3-text);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.paceRule {
  height: 1px;
  margin: 0 16px 20px;
  background: #dbe3eb;
}

.paceCopy {
  margin: 0 16px 20px;
  color: var(--v3-text);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.paceQuestion {
  margin: 32px 16px 20px;
  color: #233040;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
}

.testimonialHeading {
  width: calc(100% - 32px);
  min-width: 0;
  margin: 21px 16px 32px;
  color: var(--v3-text);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.1;
  text-align: center;
}

.testimonialMedia {
  width: calc(100% - 40px);
  min-height: 530px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 20px;
  background: #1f2937;
  color: #fff;
  text-align: center;
}

.testimonialVideos {
  width: 100%;
  min-width: 0;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.testimonialVideo {
  width: 300px;
  height: 530px;
  flex: none;
  position: relative;
  left: 50%;
  display: block;
  overflow: hidden;
  border-radius: 20px;
  background: #1f2937;
  object-fit: cover;
  transform: translateX(-50%);
}

.testimonialVideo > *,
.testimonialVideo media-controller,
.testimonialVideo video {
  width: 100% !important;
  height: 100% !important;
}

.testimonialVideo video {
  display: block;
  object-fit: cover;
}

.testimonialVideoPlaceholder {
  background: linear-gradient(110deg, #1f2937 25%, #374151 45%, #1f2937 65%);
  background-size: 250% 100%;
  animation: testimonial-loading 1.2s ease-in-out infinite;
}

@keyframes testimonial-loading {
  to {
    background-position-x: -250%;
  }
}

.readyHeading {
  width: calc(100% - 32px);
  min-width: 0;
  margin: 32px 16px 0;
  color: var(--v3-text);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-align: center;
}

.testimonialFallback {
  max-width: 240px;
  padding: 28px;
  font-size: 18px;
  line-height: 1.5;
}

.reviewStage {
  width: 100%;
}

.reviewHeader {
  width: calc(100% + 48px);
  margin-left: -24px;
  padding: 22.5px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  background: #154c37;
  color: #fff;
}

.reviewBrand {
  font-size: 23px;
  font-weight: 700;
}

.reviewTreatment {
  margin-top: 1px;
  font-size: 14px;
  opacity: 0.86;
}

.reviewStatus {
  font-size: 13px;
  line-height: 1.7;
  text-align: right;
}

.reviewReady {
  color: #86efac;
}

.notEligiblePage {
  width: 100%;
  max-width: 432px;
  margin: 0 auto;
  padding: 40px 0 32px;
  text-align: center;
}

.notEligibleStatus {
  margin: 0 0 20px;
  color: #4b5563;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.notEligibleCard {
  padding: 32px 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.notEligibleShield {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #eef7f2;
  color: var(--v3-accent);
}

.notEligibleShield svg {
  width: 32px;
  height: 32px;
}

.notEligibleTitle {
  margin: 0;
  color: var(--v3-text);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.notEligibleCopy {
  margin: 16px 0 0;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.5;
}

.notEligiblePrompt {
  margin: 28px 0 0;
  color: var(--v3-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

.primaryButton.notEligibleReviewButton {
  width: auto;
  min-width: 212px;
  min-height: 48px;
  margin-top: 16px;
  padding: 13px 24px;
  border-radius: 12px;
  font-size: 16px;
}

.notEligibleDivider {
  width: 100%;
  height: 1px;
  margin: 32px 0 24px;
  border: 0;
  background: #dde3eb;
}

.notEligibleCorrect {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.45;
}

.notEligibleExit {
  margin-top: 14px;
  display: inline-block;
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
}

.assessmentBanner,
.reviewCard {
  width: calc(100% + 48px);
  margin-left: -24px;
}

.assessmentBanner {
  padding: 22px 24px;
  display: flex;
  gap: 13px;
  background: #f2faf3;
}

.assessmentCheck {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dcfce7;
  color: var(--v3-accent);
}

.assessmentCheck svg {
  width: 23px;
  height: 23px;
}

.assessmentTitle {
  margin: 0;
  color: #166534;
  font-size: 14px;
  font-weight: 600;
}

.assessmentCopy {
  margin: 4px 0 0;
  color: #16a34a;
  font-size: 12px;
  line-height: 1.5;
}

.reviewCard {
  margin-top: 24px;
  padding: 24px;
  position: relative;
  border: 0;
  border-radius: 8px;
  background: #f2faf3;
}

.reviewCard::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid #daede7;
  border-radius: 8px;
  pointer-events: none;
}

.reviewTitle {
  margin: 0 0 17px;
  color: var(--v3-text);
  font-family: Inter, sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.metrics {
  margin-top: 16px;
  padding: 16px 32px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.metric {
  min-height: 71.67px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #e5e7eb;
  color: #233040;
  font-size: 16px;
}

.metric:last-child {
  border-bottom: 0;
}

.metricIcon {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dcfce7;
  color: var(--v3-accent);
}

.metricIcon svg {
  width: 22px;
  height: 22px;
}

.programPrompt {
  margin: 32px 0;
}

.interestPrompt {
  margin: 32px 0 20px;
}

.identity {
  width: calc(100% + 48px);
  margin-top: 24px;
  margin-left: -24px;
  padding: 32px 32px 24px;
  background: linear-gradient(
    to bottom,
    #f9fafb 0,
    #f9fafb 370.516px,
    #fff 370.516px,
    #fff 100%
  );
}

.identityHeading {
  margin-bottom: 24px;
}

.identityNameGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.identity .fieldFull {
  gap: 8px;
}

.identityState {
  margin-top: 16px;
}

.identityButton {
  width: calc(100% + 16px);
  margin-top: 97px;
  margin-left: -8px;
}

.hipaaCopy {
  margin: 24px 0 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 4px;
  color: #6b7280;
  font-size: 12px;
  line-height: 15.6px;
  text-align: center;
}

.hipaaCopy svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.hipaaCopy span {
  max-width: 320px;
}

.largeOption > button {
  min-height: 85px;
}

.yesNoOption > button {
  min-height: 85px;
}

.legal {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 27px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.35;
}

.legal a {
  color: var(--v3-text);
  font-weight: 700;
  text-decoration: none;
}

.legalCheckbox {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  position: relative;
  flex: none;
  appearance: none;
  border: 1px solid #9ca3af;
  border-radius: 3px;
  background: #fff;
}

.legalCheckbox:checked {
  border-color: var(--v3-accent);
  background: var(--v3-accent);
}

.legalCheckbox:checked::after {
  content: '✓';
  position: absolute;
  inset: -2px 0 0;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.contactStageEnter {
  animation-delay: 200ms;
}

.contactOtpShell {
  --auth-border: #e4e4e7;
  --auth-muted: #71717a;
  padding-top: 38px;
}

.contactOtpCard {
  margin: 0 auto;
}

.contactHeading {
  margin: 38px 0 17px;
  color: var(--v3-text);
  font-family: Inter, sans-serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.2;
}

.contactIntro {
  margin: 0 0 17px;
  color: #4b5563;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.45;
}

.contactFields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contactLabel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #233040;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
}

.contactLabel .input {
  height: 49px;
}

.contactLabel .input[aria-invalid='true'] {
  border-color: #dc2626;
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.16);
}

.contactFieldError {
  margin-top: -4px;
  color: #dc2626;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
}

.contactPasswordField {
  position: relative;
  display: block;
}

.contactPasswordInput {
  padding-right: 52px;
}

.contactPasswordToggle {
  width: 38px;
  height: 38px;
  padding: 0;
  position: absolute;
  top: 50%;
  right: 7px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  transform: translateY(-50%);
}

.contactPasswordToggle:hover {
  background: #f3f4f6;
}

.contactPasswordToggle:focus-visible {
  outline: 2px solid var(--v3-accent);
  outline-offset: 1px;
}

.contactPasswordIcon {
  width: 20px;
  height: 20px;
}

.contactConsent {
  margin: 27px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #4b5563;
  cursor: pointer;
  font-size: 12px;
  line-height: 1.35;
}

.contactConsent strong,
.contactConsent a {
  color: var(--v3-accent);
  font-weight: 700;
  text-decoration: none;
}

.contactStageEnter .primaryButton:hover:not(:disabled) {
  background: #65877b;
}

.contactStageEnter .primaryButton:disabled {
  cursor: default;
}

.contactSpinner {
  width: 20px;
  height: 20px;
  display: inline-block;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: v3-contact-spin 700ms linear infinite;
  vertical-align: -4px;
}

@keyframes v3-contact-spin {
  to {
    transform: rotate(360deg);
  }
}

.mainContact .primaryButton {
  min-height: 56px;
}

@media (min-width: 810px) {
  .progressRow {
    padding: 0 24px;
  }

  .progress {
    gap: 24px;
  }

  .progressSegment {
    height: 12px;
  }

  .progressNoBack {
    width: 100%;
  }
}

@media (max-width: 809.98px) {
  .header {
    border-bottom: 0;
  }

  .header::after {
    content: '';
    position: absolute;
    right: 24px;
    bottom: 0;
    left: 24px;
    height: 1px;
    background: #d1d5db;
  }

  .headerCompact::after {
    right: 4px;
    left: 4px;
  }

  .headerInner {
    width: calc(100% - 96px);
    transform: translateY(10px);
  }

  .headerCompact .headerInner {
    width: calc(100% - 48px);
    transform: none;
  }

  .brandLogo {
    width: 98px;
    height: 28px;
  }

  .brandLogo > img,
  .brandLogo > svg,
  .brandLogo > * {
    max-width: 98px !important;
    max-height: 28px !important;
  }

  .progressRow {
    gap: 9px;
  }

  .progress {
    gap: 24px;
  }

  .progressNoBack {
    width: 88.8889%;
    margin-right: auto;
    margin-left: auto;
  }

  .progress:not(.progressNoBack) {
    margin-right: 19px;
  }

  .backButton {
    margin-left: -9px;
  }

  .heroHeading {
    font-size: 38px;
  }

  .testimonialHeading {
    margin-top: 21px;
    font-size: 44px;
    line-height: 1.1;
  }

  .fieldGrid {
    gap: 18px;
  }
}

@media (max-width: 359px) {
  .testimonialHeading {
    margin-right: 16px;
    margin-left: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stageEnterForward,
  .stageEnterBack {
    animation: none;
  }

  .welcomeHeaderEntering,
  .welcomeIntroFresh,
  .welcomeIntroReturning {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .option:active,
  .optionReleasing,
  .genderOption.optionReleasing,
  .primaryButton:active,
  .primaryButtonReleasing {
    animation: none;
    transform: none;
  }

  .conditionalDetailsLayout {
    grid-template-rows: 1fr;
    animation: none;
  }

  .initialConditionalDetails {
    animation: none;
  }

  .conditionalChoiceGroupClosingPrograms,
  .conditionalChoiceGroupClosingFurther,
  .conditionalChoiceGroupClosingPrograms .option,
  .conditionalChoiceGroupClosingFurther .option {
    animation: none;
    transform: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .testimonialVideoPlaceholder {
    animation: none;
  }
}
