/* Shared interaction surfaces for self-evaluation and human follow-up. */
.interactive-main {
  position: relative;
  min-height: 100svh;
  padding: 78px 24px 76px;
}

.interactive-hero,
.assessment-workspace,
.lead-layout,
.interactive-disclaimer {
  max-width: 1232px;
  margin-inline: auto;
}

.interactive-hero {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(38px, 7vw, 110px);
  padding: 50px 0 36px;
}

.interactive-hero-copy {
  max-width: 720px;
}

.interactive-hero-copy .back-link {
  margin-bottom: 30px;
}

.interactive-hero-copy h1 {
  margin: 0;
  color: #14213d;
  font-size: clamp(48px, 6.5vw, 84px);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 1.03;
}

.interactive-hero-copy h1 span {
  color: transparent;
  background: linear-gradient(90deg, #2f9cf4, #6557ff 62%, #f7a649);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.interactive-hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin-top: 24px;
  color: #64728d;
  font-size: 17px;
  line-height: 1.9;
}

.interactive-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.interactive-trust-row span {
  padding: 8px 12px;
  border: 1px solid rgba(101, 87, 255, 0.16);
  border-radius: 999px;
  color: #5149bd;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 10px 24px rgba(42, 57, 104, 0.06);
  font-size: 12px;
  font-weight: 800;
}

.assessment-orb,
.contact-visual {
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: center;
}

.assessment-orb::before,
.contact-visual::before {
  content: "";
  position: absolute;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(164, 157, 255, 0.17) 48%, transparent 72%);
  filter: blur(4px);
}

.assessment-orb img,
.contact-visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 410px);
  filter: drop-shadow(0 24px 38px rgba(65, 78, 152, 0.13));
  animation: interactive-orb-float 7s ease-in-out infinite;
}

.assessment-orb-label,
.contact-visual-card {
  position: absolute;
  z-index: 2;
  padding: 10px 13px;
  border: 1px solid rgba(91, 114, 159, 0.14);
  border-radius: 10px;
  color: #14213d;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 36px rgba(42, 57, 104, 0.11);
  backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 900;
}

.orb-label-one {
  top: 7%;
  left: 5%;
  transform: rotate(-6deg);
}

.orb-label-two {
  right: 0;
  top: 35%;
  color: #5149bd;
  transform: rotate(5deg);
}

.orb-label-three {
  bottom: 5%;
  left: 17%;
  color: #126d5a;
  transform: rotate(-4deg);
}

.assessment-workspace {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: 590px;
  overflow: hidden;
  border: 1px solid rgba(91, 114, 159, 0.15);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 28px 78px rgba(42, 57, 104, 0.1);
  backdrop-filter: blur(14px);
}

.assessment-progress {
  display: flex;
  flex-direction: column;
  padding: 28px 20px;
  border-right: 1px solid rgba(91, 114, 159, 0.12);
  background:
    radial-gradient(circle at 10% 0%, rgba(156, 235, 215, 0.4), transparent 48%),
    linear-gradient(165deg, rgba(248, 251, 255, 0.94), rgba(237, 241, 253, 0.88));
}

.assessment-progress-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  color: #64728d;
  font-size: 12px;
  font-weight: 800;
}

.assessment-progress-top strong {
  color: #14213d;
  font-size: 28px;
  letter-spacing: -0.05em;
}

.assessment-progress-bar {
  height: 5px;
  margin: 14px 0 24px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(101, 87, 255, 0.11);
}

.assessment-progress-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #33b7ff, #6557ff, #f7a649);
  transition: width 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.assessment-stages {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.assessment-stages li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 58px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #64728d;
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.assessment-stages li > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #64728d;
  background: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 900;
}

.assessment-stages li strong,
.assessment-stages li small {
  display: block;
}

.assessment-stages li strong {
  color: #64728d;
  font-size: 12px;
}

.assessment-stages li small {
  margin-top: 3px;
  color: #9aa6b8;
  font-size: 10px;
}

.assessment-stages li.is-current {
  border-color: rgba(101, 87, 255, 0.18);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 26px rgba(42, 57, 104, 0.07);
  transform: translateX(3px);
}

.assessment-stages li.is-current > span,
.assessment-stages li.is-complete > span {
  color: #fff;
  background: linear-gradient(135deg, #6557ff, #33b7ff);
}

.assessment-stages li.is-current strong,
.assessment-stages li.is-complete strong {
  color: #14213d;
}

.assessment-sidebar-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 30px;
  color: #64728d;
  font-size: 11px;
  line-height: 1.55;
}

.assessment-sidebar-note p {
  margin: 0;
}

.mini-globe {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: 1px solid rgba(101, 87, 255, 0.24);
  border-radius: 50%;
  color: #6557ff;
  font-size: 21px;
}

.assessment-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 5vw, 62px);
  background: rgba(255, 255, 255, 0.88);
}

.assessment-card.is-entering {
  animation: assessment-card-in 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.assessment-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #8b98ad;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.assessment-card-top span:last-child {
  color: #5149bd;
}

.assessment-question {
  flex: 1 1 auto;
  padding-top: 56px;
}

.assessment-question-heading {
  max-width: 720px;
}

.requirement-tag {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid rgba(101, 87, 255, 0.18);
  border-radius: 999px;
  color: #5149bd;
  background: rgba(101, 87, 255, 0.06);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.assessment-question-heading h2 {
  margin: 18px 0 0;
  color: #14213d;
  font-size: clamp(29px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1.12;
}

.assessment-question-heading p {
  max-width: 680px;
  margin: 15px 0 0;
  color: #64728d;
  font-size: 15px;
  line-height: 1.8;
}

.pathway-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-top: 35px;
}

.pathway-choice {
  position: relative;
  min-height: 126px;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 18px;
  text-align: left;
  border: 1px solid rgba(91, 114, 159, 0.15);
  border-radius: 15px;
  color: #14213d;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(244, 248, 255, 0.8));
  box-shadow: 0 10px 26px rgba(42, 57, 104, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pathway-choice:hover,
.pathway-choice:focus-visible,
.pathway-choice.is-selected {
  border-color: rgba(101, 87, 255, 0.46);
  box-shadow: 0 16px 34px rgba(101, 87, 255, 0.12);
  transform: translateY(-3px);
}

.pathway-choice.is-selected {
  background: linear-gradient(145deg, rgba(224, 255, 246, 0.92), rgba(231, 228, 255, 0.8));
}

.pathway-choice-code {
  color: #6557ff;
  font-size: 22px;
  font-weight: 900;
}

.pathway-choice strong {
  font-size: 14px;
}

.pathway-choice small {
  max-width: 240px;
  color: #64728d;
  font-size: 11px;
  line-height: 1.5;
}

.pathway-choice i {
  position: absolute;
  right: 17px;
  bottom: 15px;
  color: #6557ff;
  font-size: 20px;
  font-style: normal;
}

.assessment-input,
.field-input,
.field-textarea {
  width: 100%;
  border: 1px solid rgba(91, 114, 159, 0.22);
  border-radius: 12px;
  outline: 0;
  color: #14213d;
  background: rgba(248, 251, 255, 0.9);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.assessment-input {
  max-width: 720px;
  min-height: 56px;
  margin-top: 35px;
  padding: 0 17px;
  font-size: 16px;
}

.assessment-input:focus,
.field-input:focus,
.field-textarea:focus {
  border-color: rgba(101, 87, 255, 0.56);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(101, 87, 255, 0.09);
}

.assessment-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-top: 35px;
}

.assessment-option {
  min-height: 112px;
  display: flex;
  align-items: center;
  padding: 17px;
  border: 1px solid rgba(91, 114, 159, 0.15);
  border-radius: 14px;
  color: #31415f;
  background: rgba(248, 251, 255, 0.88);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.assessment-option:hover,
.assessment-option.is-selected {
  border-color: rgba(101, 87, 255, 0.44);
  background: linear-gradient(145deg, rgba(231, 228, 255, 0.72), rgba(224, 255, 246, 0.6));
  transform: translateY(-2px);
}

.assessment-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.assessment-option span {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.assessment-actions {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
}

.assessment-back,
.assessment-next,
.lead-submit {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 21px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.assessment-back {
  border: 1px solid rgba(91, 114, 159, 0.18);
  color: #64728d;
  background: rgba(255, 255, 255, 0.7);
}

.assessment-next,
.lead-submit {
  border: 1px solid #6557ff;
  color: #fff;
  background: linear-gradient(135deg, #6557ff, #33b7ff);
  box-shadow: 0 14px 30px rgba(101, 87, 255, 0.2);
}

.assessment-back:hover,
.assessment-next:hover,
.lead-submit:hover {
  transform: translateY(-2px);
}

.assessment-actions p,
.lead-status {
  min-height: 20px;
  margin: 0;
  color: #64728d;
  font-size: 12px;
  line-height: 1.5;
}

.assessment-clear {
  margin-top: 15px;
  padding: 0;
  border: 0;
  color: #64728d;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.assessment-clear:hover {
  color: #6557ff;
}

.status-error,
.lead-status.error {
  color: #ad3f32;
}

.status-success,
.lead-status.success {
  color: #126d5a;
}

.assessment-result {
  max-width: 620px;
  padding-top: 18px;
}

.result-score {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 25px;
  color: #6557ff;
}

.result-score strong {
  font-size: clamp(76px, 10vw, 126px);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 0.9;
}

.result-score span {
  color: #64728d;
  font-size: 18px;
  font-weight: 800;
}

.assessment-result h2 {
  margin: 24px 0 0;
  color: #14213d;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -0.06em;
}

.assessment-result > p {
  max-width: 570px;
  margin-top: 14px;
  color: #64728d;
  font-size: 15px;
  line-height: 1.85;
}

.result-route {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 12px 15px;
  border: 1px solid rgba(101, 87, 255, 0.15);
  border-radius: 12px;
  color: #64728d;
  background: rgba(231, 228, 255, 0.3);
  font-size: 12px;
}

.result-route strong {
  color: #5149bd;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.result-cta {
  text-decoration: none;
}

.assessment-result > small {
  display: block;
  margin-top: 22px;
  color: #8b98ad;
  font-size: 11px;
}

.interactive-disclaimer {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(91, 114, 159, 0.12);
  border-radius: 12px;
  color: #64728d;
  background: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  line-height: 1.7;
}

.interactive-disclaimer strong {
  flex: 0 0 auto;
  color: #5149bd;
}

/* The Chinese assessment uses the shared Dobby data/API contract while
   keeping Ziyoudabi's visual shell and authentication surface. */
.criteria-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.criteria-options small {
  color: #64728d;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
}

.criteria-major {
  margin-top: 28px;
  min-height: 88px;
}

.criteria-count,
.criteria-note {
  display: block;
  margin: 22px 0 0;
  color: #64728d;
  font-size: 12px;
  line-height: 1.7;
}

.criteria-note span {
  display: block;
  margin-bottom: 8px;
  color: #31415f;
  font-weight: 800;
}

.criteria-note .field-textarea {
  min-height: 120px;
  padding: 14px 16px;
}

.file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(91, 114, 159, 0.12);
  color: #31415f;
  font-size: 12px;
}

.result-section-heading {
  margin: 30px 0 12px;
  color: #14213d;
  font-size: 18px;
  font-weight: 900;
}

.result-list {
  display: grid;
  gap: 10px;
}

.result-item {
  padding: 14px 16px;
  border: 1px solid rgba(91, 114, 159, 0.13);
  border-radius: 12px;
  background: rgba(248, 251, 255, 0.72);
}

.result-item strong {
  color: #31415f;
  font-size: 13px;
}

.result-item p {
  margin: 7px 0 0;
  color: #64728d;
  font-size: 12px;
  line-height: 1.7;
}

.result-actions-list {
  margin: 0;
  padding: 0 0 0 22px;
  color: #64728d;
  font-size: 13px;
  line-height: 1.8;
}

.result-actions-list li + li {
  margin-top: 6px;
}

.corporation-auth-dialog {
  width: min(520px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 22px;
  color: #14213d;
  background: #fbfdff;
  box-shadow: 0 28px 90px rgba(25, 40, 88, 0.3);
}

.corporation-auth-dialog::backdrop {
  background: rgba(16, 28, 56, 0.5);
  backdrop-filter: blur(4px);
}

.corporation-auth-content {
  padding: 34px;
}

.corporation-auth-content h2 {
  margin: 12px 0 0;
  color: #14213d;
  font-size: 30px;
  letter-spacing: -0.05em;
}

.corporation-auth-content > p:not(.eyebrow) {
  margin: 12px 0 22px;
  color: #64728d;
  font-size: 13px;
  line-height: 1.75;
}

.corporation-auth-google,
.corporation-auth-submit {
  width: 100%;
  min-height: 46px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.corporation-auth-google {
  border: 1px solid rgba(91, 114, 159, 0.2);
  color: #31415f;
  background: #fff;
}

.corporation-auth-google span {
  margin-right: 8px;
  color: #4285f4;
  font-weight: 900;
}

.corporation-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: #8b98ad;
  font-size: 11px;
}

.corporation-auth-divider::before,
.corporation-auth-divider::after {
  flex: 1;
  height: 1px;
  background: rgba(91, 114, 159, 0.14);
  content: '';
}

.corporation-auth-content label {
  display: block;
  margin-bottom: 7px;
  color: #31415f;
  font-size: 12px;
  font-weight: 800;
}

.corporation-auth-content input[type="email"] {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(91, 114, 159, 0.22);
  border-radius: 12px;
  outline: 0;
  color: #14213d;
  background: #fff;
}

.corporation-auth-content input[type="email"]:focus {
  border-color: rgba(101, 87, 255, 0.56);
  box-shadow: 0 0 0 4px rgba(101, 87, 255, 0.09);
}

.corporation-auth-submit {
  margin-top: 14px;
  border: 1px solid #6557ff;
  color: #fff;
  background: linear-gradient(135deg, #6557ff, #33b7ff);
}

.corporation-auth-content > small {
  display: block;
  margin-top: 18px;
  color: #8b98ad;
  font-size: 11px;
  line-height: 1.6;
}

.auth-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: #64728d;
  font-size: 12px;
}

.auth-status.error {
  color: #ad3f32;
}

.auth-status.success {
  color: #126d5a;
}

@media (max-width: 720px) {
  .criteria-options {
    grid-template-columns: 1fr;
  }

  .corporation-auth-content {
    padding: 26px 22px;
  }
}

.interactive-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 25px max(24px, 6vw);
  border-top: 1px solid rgba(91, 114, 159, 0.14);
  color: #64728d;
  background: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.interactive-footer a {
  color: #5149bd;
  font-weight: 800;
}

/* Assessment hero typography: give the large Chinese lockup room to breathe. */
.assessment-hero .interactive-hero-copy {
  max-width: 720px;
}

.assessment-hero .interactive-hero-copy .eyebrow {
  margin-bottom: 32px;
  letter-spacing: 0.24em;
  line-height: 1.5;
}

.assessment-hero .interactive-hero-copy h1 {
  letter-spacing: 0.005em;
  line-height: 1.22;
}

.assessment-hero .interactive-hero-copy > p:not(.eyebrow) {
  margin-top: 30px;
  letter-spacing: 0.015em;
  line-height: 2.08;
}

.assessment-hero .interactive-trust-row {
  gap: 14px;
  margin-top: 34px;
}

/* Assessment hero typography: give the large Chinese lockup room to breathe. */
.assessment-hero .interactive-hero-copy {
  max-width: 720px;
}

.assessment-hero .interactive-hero-copy .eyebrow {
  margin-bottom: 32px;
  letter-spacing: 0.24em;
  line-height: 1.5;
}

.assessment-hero .interactive-hero-copy h1 {
  letter-spacing: 0.005em;
  line-height: 1.22;
}

.assessment-hero .interactive-hero-copy > p:not(.eyebrow) {
  margin-top: 30px;
  letter-spacing: 0.015em;
  line-height: 2.08;
}

.assessment-hero .interactive-trust-row {
  gap: 14px;
  margin-top: 34px;
}

/* Contact / lead page */
.contact-hero {
  min-height: 460px;
}

.contact-visual-card {
  display: grid;
  gap: 5px;
}

.contact-visual-card strong {
  font-size: 12px;
  letter-spacing: 0.08em;
}

.contact-visual-card small {
  color: #64728d;
  font-size: 11px;
}

.visual-card-top {
  top: 12%;
  right: -2%;
  transform: rotate(5deg);
}

.visual-card-bottom {
  bottom: 10%;
  left: 4%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #126d5a;
  transform: rotate(-4deg);
}

.lead-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: start;
  padding: 46px 0 30px;
}

.lead-intro {
  position: sticky;
  top: 114px;
  padding-top: 22px;
}

.lead-intro h2 {
  margin: 0;
  color: #14213d;
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 1.08;
}

.lead-intro > p:not(.eyebrow) {
  max-width: 460px;
  margin-top: 18px;
  color: #64728d;
  font-size: 15px;
  line-height: 1.9;
}

.lead-promise-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.lead-promise-list > div {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #31415f;
  font-size: 13px;
  font-weight: 800;
}

.lead-promise-list span {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #6557ff, #33b7ff);
  font-size: 10px;
}

.lead-promise-list p {
  margin: 0;
}

.lead-summary {
  margin-top: 30px;
  padding: 12px 14px;
  border: 1px solid rgba(18, 109, 90, 0.18);
  border-radius: 10px;
  color: #126d5a;
  background: rgba(156, 235, 215, 0.28);
  font-size: 12px;
  font-weight: 800;
}

.interactive-card {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(91, 114, 159, 0.15);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 65px rgba(42, 57, 104, 0.1);
}

.lead-form {
  display: grid;
  gap: 21px;
}

.field-label,
.lead-fieldset legend {
  display: grid;
  gap: 8px;
  color: #31415f;
  font-size: 13px;
  font-weight: 850;
}

.lead-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 9px;
}

.contact-method {
  position: relative;
  cursor: pointer;
}

.contact-method input {
  position: absolute;
  opacity: 0;
}

.contact-method span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid rgba(91, 114, 159, 0.18);
  border-radius: 999px;
  color: #64728d;
  background: rgba(248, 251, 255, 0.84);
  font-size: 12px;
  font-weight: 850;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.contact-method input:checked + span,
.contact-method:hover span {
  border-color: rgba(101, 87, 255, 0.4);
  color: #5149bd;
  background: rgba(231, 228, 255, 0.64);
}

.path-methods .contact-method span {
  min-width: 56px;
}

.field-textarea {
  min-height: 128px;
  resize: vertical;
  padding: 12px 14px;
  line-height: 1.65;
}

.privacy-note {
  margin: 0;
  color: #8b98ad;
  font-size: 11px;
  line-height: 1.65;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #64728d;
  font-size: 11px;
  line-height: 1.6;
}

.consent-row input {
  margin-top: 3px;
  accent-color: #6557ff;
}

.lead-submit {
  width: fit-content;
}

@keyframes interactive-orb-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes assessment-card-in {
  from {
    opacity: 0.3;
    transform: translateY(10px);
  }

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

@media (max-width: 900px) {
  .interactive-hero,
  .lead-layout {
    grid-template-columns: 1fr;
  }

  .interactive-hero-copy {
    max-width: 760px;
  }

  .assessment-orb,
  .contact-visual {
    min-height: 300px;
    max-width: 520px;
    margin-inline: auto;
  }

  .lead-intro {
    position: static;
  }
}

@media (max-width: 720px) {
  .interactive-main {
    padding: 0 18px 58px;
  }

  .interactive-hero {
    min-height: 0;
    padding: 178px 0 40px;
  }

  .interactive-hero-copy h1 {
    font-size: clamp(42px, 12vw, 64px);
  }

  .assessment-workspace {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .assessment-progress {
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(91, 114, 159, 0.12);
  }

  .assessment-stages {
    grid-template-columns: repeat(5, minmax(92px, 1fr));
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .assessment-stages li {
    min-width: 92px;
    min-height: 48px;
    grid-template-columns: 27px minmax(0, 1fr);
    padding: 6px;
  }

  .assessment-stages li > span {
    width: 27px;
    height: 27px;
    border-radius: 8px;
    font-size: 9px;
  }

  .assessment-stages li small {
    display: none;
  }

  .assessment-stages li.is-current {
    transform: none;
  }

  .assessment-sidebar-note {
    display: none;
  }

  .assessment-card {
    padding: 24px 18px 22px;
  }

  .assessment-question {
    padding-top: 34px;
  }

  .pathway-choice-grid,
  .assessment-options {
    grid-template-columns: 1fr;
  }

  .assessment-option {
    min-height: 64px;
  }

  .assessment-actions {
    grid-template-columns: auto 1fr;
  }

  .assessment-actions p {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .assessment-next {
    grid-column: 2;
    grid-row: 2;
  }

  .assessment-back {
    grid-column: 1;
    grid-row: 2;
  }

  .interactive-disclaimer {
    display: block;
  }

  .interactive-disclaimer strong {
    display: block;
    margin-bottom: 3px;
  }

  .interactive-footer {
    flex-direction: column;
    gap: 8px;
    padding-inline: 18px;
  }

  .lead-layout {
    padding-top: 18px;
  }

  .interactive-card {
    padding: 22px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .assessment-orb img,
  .contact-visual img,
  .assessment-card.is-entering {
    animation: none;
  }
}

/* Interaction pages: clear two-column hero and deliberate form rhythm. */
.interactive-main {
  padding: 78px 24px 64px;
}

.interactive-hero {
  min-height: 360px;
  gap: clamp(34px, 5vw, 70px);
  padding: 38px 0 24px;
}

.interactive-hero-copy {
  max-width: 680px;
}

.interactive-hero-copy .back-link {
  margin-bottom: 19px;
}

.interactive-hero-copy h1 {
  font-size: clamp(44px, 5.7vw, 72px);
  letter-spacing: -0.065em;
  line-height: 1.08;
}

.interactive-hero-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin-top: 19px;
  font-size: 15px;
  line-height: 1.85;
}

.interactive-trust-row {
  gap: 8px;
  margin-top: 21px;
}

.interactive-trust-row span {
  padding: 7px 11px;
  font-size: 11px;
}

.assessment-orb,
.contact-visual {
  min-height: 292px;
}

.assessment-orb img,
.contact-visual img {
  width: min(100%, 350px);
}

.assessment-workspace {
  min-height: 520px;
  margin-top: 12px;
  border-radius: 20px;
  scroll-margin-top: 96px;
}

.assessment-progress {
  padding: 24px 18px;
}

.assessment-progress-bar {
  margin-bottom: 20px;
}

.assessment-card {
  padding: clamp(26px, 4vw, 46px);
}

.assessment-question {
  padding-top: 38px;
}

.assessment-question-heading h2 {
  font-size: clamp(27px, 3.5vw, 42px);
}

.pathway-choice-grid,
.assessment-options {
  gap: 11px;
  margin-top: 24px;
}

.pathway-choice {
  min-height: 112px;
  padding: 16px;
}

.assessment-options {
  margin-top: 24px;
}

.assessment-option {
  min-height: 96px;
  padding: 15px;
}

.assessment-actions {
  gap: 14px;
  margin-top: 26px;
}

.lead-layout {
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: clamp(30px, 5vw, 68px);
  padding: 26px 0 28px;
}

.lead-intro {
  top: 100px;
  padding-top: 8px;
}

.lead-intro h2 {
  font-size: clamp(34px, 4.2vw, 52px);
}

.lead-intro > p:not(.eyebrow) {
  margin-top: 15px;
  font-size: 14px;
  line-height: 1.85;
}

.lead-promise-list {
  gap: 10px;
  margin-top: 22px;
}

.interactive-card {
  padding: clamp(26px, 3.5vw, 36px);
  border-radius: 18px;
}

#leadForm {
  display: grid;
  gap: 18px;
}

#leadForm .privacy-note {
  margin-bottom: -2px;
}

.field-label,
.lead-fieldset legend {
  gap: 7px;
  font-size: 12px;
}

.field-input {
  min-height: 46px;
  padding: 0 13px;
}

.field-textarea {
  min-height: 126px;
}

.lead-fieldset {
  display: grid;
  gap: 8px;
}

.lead-fieldset .contact-methods {
  margin-top: 0;
}

.consent-row {
  margin-top: -2px;
}

.lead-submit {
  margin-top: 1px;
}

@media (max-width: 900px) {
  .interactive-hero {
    min-height: 0;
    padding-top: 42px;
  }

  .assessment-orb,
  .contact-visual {
    min-height: 280px;
  }

  .lead-layout {
    padding-top: 22px;
  }
}

@media (max-width: 720px) {
  .interactive-main {
    padding: 0 18px 52px;
  }

  .interactive-hero {
    padding: 150px 0 30px;
  }

  .interactive-hero-copy h1 {
    font-size: clamp(40px, 11vw, 60px);
    line-height: 1.1;
  }

  .interactive-hero-copy > p:not(.eyebrow) {
    font-size: 14px;
  }

  .assessment-workspace {
    margin-top: 0;
  }

  .assessment-card {
    padding: 24px 18px 22px;
  }

  .lead-layout {
    padding-top: 12px;
  }

  .lead-intro {
    padding-top: 0;
  }

  #leadForm {
    gap: 16px;
  }
}

/* Assessment workspace: keep stage labels intact and give the answer area more air. */
.assessment-workspace {
  grid-template-columns: 272px minmax(0, 1fr);
}

.assessment-progress {
  padding: 34px 24px;
}

.assessment-stages li {
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 8px;
}

.assessment-stages li small {
  grid-column: 2;
  margin-top: -2px;
  line-height: 1.5;
  white-space: normal;
}

.assessment-card {
  padding: clamp(38px, 4vw, 58px) clamp(42px, 5vw, 82px);
}

.assessment-card-top,
.assessment-question,
.assessment-actions {
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
}

.assessment-question {
  padding-top: 44px;
}

.assessment-question-heading {
  max-width: 850px;
}

.assessment-question-heading h2 {
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.pathway-choice-grid {
  max-width: 980px;
  gap: 18px;
  margin: 34px auto 0;
}

.pathway-choice {
  min-height: 118px;
  padding: 22px 24px;
  gap: 9px;
}

.pathway-choice small {
  max-width: 270px;
  line-height: 1.8;
}

.assessment-options {
  max-width: 980px;
  gap: 18px;
  margin-inline: auto;
}

.assessment-option {
  min-height: 104px;
  padding: 22px 24px;
}

@media (max-width: 720px) {
  .assessment-workspace {
    grid-template-columns: 1fr;
  }

  .assessment-progress {
    padding: 18px;
  }

  .assessment-card {
    padding: 28px 20px 24px;
  }

  .assessment-card-top,
  .assessment-question,
  .assessment-actions {
    max-width: none;
  }

  .assessment-question {
    padding-top: 36px;
  }

  .pathway-choice-grid {
    gap: 14px;
    margin-top: 26px;
  }

  .pathway-choice {
    min-height: 104px;
    padding: 18px;
  }

  .assessment-options {
    gap: 14px;
  }

  .assessment-option {
    min-height: 64px;
    padding: 18px;
  }
}

/* Assessment hero: replace the floating label cluster with a simple US flag mark. */
.assessment-orb .assessment-flag {
  width: min(100%, 330px);
  opacity: 0.96;
  filter: drop-shadow(0 22px 30px rgba(65, 78, 152, 0.14));
  animation: assessment-flag-float 8s ease-in-out infinite;
}

@keyframes assessment-flag-float {
  0%,
  100% {
    transform: translateY(3px) rotate(-1deg);
  }

  50% {
    transform: translateY(-7px) rotate(1deg);
  }
}

@media (max-width: 720px) {
  .assessment-orb .assessment-flag {
    width: min(100%, 270px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .assessment-orb .assessment-flag {
    animation: none;
  }
}

/* Contact page refinement: calmer type hierarchy and clearer choice controls. */
.contact-hero .interactive-hero-copy {
  max-width: 650px;
}

.contact-hero .interactive-hero-copy .back-link {
  margin-bottom: 24px;
}

.contact-hero .interactive-hero-copy .eyebrow,
.lead-intro .eyebrow {
  letter-spacing: 0.2em;
  line-height: 1.65;
}

.contact-hero .interactive-hero-copy h1 {
  max-width: 650px;
  font-size: clamp(40px, 4.8vw, 60px);
  letter-spacing: -0.025em;
  line-height: 1.28;
  word-break: keep-all;
}

.contact-hero .interactive-hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 26px;
  color: #64728d;
  font-size: 15px;
  letter-spacing: 0.02em;
  line-height: 2.15;
}

.contact-visual {
  min-height: 360px;
}

.contact-visual .contact-agent {
  width: min(100%, 380px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(65, 78, 152, 0.16));
  animation: contact-agent-float 6s ease-in-out infinite;
}

@keyframes contact-agent-float {
  0%,
  100% {
    transform: translateY(4px) rotate(-1deg);
  }

  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

.lead-layout {
  gap: clamp(48px, 6.5vw, 92px);
  padding: 54px 0 38px;
}

.lead-intro {
  padding-top: 16px;
}

.lead-intro .eyebrow {
  margin-bottom: 22px;
}

.lead-intro h2 {
  font-size: clamp(36px, 3.8vw, 50px);
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.lead-intro > p:not(.eyebrow) {
  max-width: 440px;
  margin-top: 22px;
  font-size: 14px;
  letter-spacing: 0.02em;
  line-height: 2.15;
}

.lead-promise-list {
  gap: 16px;
  margin-top: 30px;
}

.lead-promise-list > div {
  gap: 13px;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

#leadForm {
  gap: 22px;
}

.privacy-note {
  letter-spacing: 0.02em;
  line-height: 1.9;
}

.field-label,
.lead-fieldset legend {
  gap: 9px;
  letter-spacing: 0.02em;
  line-height: 1.7;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 320px;
}

.contact-method {
  min-width: 0;
}

.contact-method span {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  padding: 0 14px;
  font-size: 13px;
  letter-spacing: 0.03em;
}

.path-methods {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: none;
}

.path-methods .contact-method span {
  min-width: 0;
}

@media (max-width: 720px) {
  .contact-hero .interactive-hero-copy h1 {
    font-size: clamp(38px, 10vw, 54px);
    letter-spacing: -0.02em;
    line-height: 1.3;
  }

  .contact-hero .interactive-hero-copy > p:not(.eyebrow) {
    font-size: 14px;
    line-height: 2.05;
  }

  .lead-layout {
    gap: 40px;
    padding-top: 34px;
  }

  .lead-intro {
    padding-top: 0;
  }

  .lead-intro h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .contact-methods,
  .path-methods {
    max-width: 100%;
  }

  .path-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Final narrow-screen pass: keep the interactive pages inside the viewport. */
@media (max-width: 720px) {
  .interactive-main,
  .interactive-hero,
  .lead-layout,
  .assessment-workspace {
    min-width: 0;
    max-width: 100%;
  }

  .interactive-main {
    overflow-x: clip;
  }

  .interactive-hero-copy,
  .contact-visual,
  .lead-intro,
  .lead-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .lead-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-visual {
    min-height: 270px;
    overflow: hidden;
  }

  .contact-visual .contact-agent {
    width: min(78vw, 300px);
    max-width: 100%;
  }

  .visual-card-top {
    right: 1%;
    max-width: 110px;
  }

  .visual-card-bottom {
    left: 1%;
    max-width: 116px;
  }

  .assessment-progress {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .assessment-stages {
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
    overflow: hidden;
  }

  .assessment-stages li {
    min-width: 0;
    width: 100%;
    grid-template-columns: 27px minmax(0, 1fr);
    gap: 5px;
    padding: 6px 4px;
  }

  .assessment-stages li strong {
    min-width: 0;
    overflow: hidden;
    font-size: 10px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
