/* Credit Data Smart readiness assessment — loaded after lead-magnets.css. */
.readiness-assessment-page {
  --ra-green: #1d8f68;
  --ra-amber: #c17b18;
  --ra-red: #c74848;
  --ra-panel: #fff;
}

.ra-hero .lm-hero-grid {
  align-items: center;
}

.ra-hero .lm-answer-card ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(29, 37, 42, 0.1);
}

.ra-hero .lm-answer-card li {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 12px;
  align-items: start;
  color: #4e5961;
  font-size: 14px;
  line-height: 1.55;
  list-style: none;
}

.ra-hero .lm-answer-card li::before {
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: #335cff;
  content: "";
}

.ra-overview-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(29, 37, 42, 0.1);
  border-radius: 26px;
  background: rgba(29, 37, 42, 0.1);
}

.ra-overview-grid article {
  min-height: 210px;
  padding: 30px 24px;
  background: #fff;
}

.ra-overview-grid span {
  display: block;
  margin-bottom: 38px;
  color: #335cff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.ra-overview-grid h3 {
  margin-bottom: 12px;
  color: #20282d;
  font-size: 19px;
  line-height: 1.25;
}

.ra-overview-grid p {
  margin-bottom: 0;
  color: #68737b;
  font-size: 14px;
  line-height: 1.65;
}

.ra-assessment-section {
  padding-top: 0;
}

.ra-tool-shell {
  display: grid;
  grid-template-columns: minmax(250px, 0.32fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 5vw, 74px);
}

.ra-progress-panel {
  position: sticky;
  top: 28px;
  padding: 30px;
  border: 1px solid rgba(29, 37, 42, 0.1);
  border-radius: 26px;
  background: #20282d;
  box-shadow: 0 26px 60px rgba(29, 37, 42, 0.12);
}

.ra-progress-panel .lm-kicker {
  color: #9eb1ff;
}

.ra-progress-panel h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
}

.ra-progress-panel > p:not(.lm-kicker),
.ra-privacy-note {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.7;
}

.ra-progress {
  height: 10px;
  margin: 26px 0 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.ra-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6682ff, #b9c5ff);
  transition: width 220ms ease;
}

.ra-progress-count {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.ra-privacy-note {
  margin: 26px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.ra-privacy-note strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
}

.ra-form {
  display: grid;
  gap: 26px;
}

.ra-question-group {
  display: grid;
  gap: 16px;
}

.ra-section-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  margin: 18px 0 0;
}

.ra-section-heading span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #335cff;
  font-size: 12px;
  font-weight: 900;
}

.ra-section-heading h2 {
  margin: 0;
  color: #20282d;
  font-size: clamp(24px, 2.5vw, 34px);
}

.ra-section-heading p {
  grid-column: 2;
  margin: -9px 0 4px;
  color: #68737b;
  font-size: 14px;
  line-height: 1.6;
}

.ra-question {
  min-width: 0;
  margin: 0;
  padding: 28px;
  border: 1px solid rgba(29, 37, 42, 0.11);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 45px rgba(29, 37, 42, 0.055);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ra-question:focus-within {
  border-color: rgba(51, 92, 255, 0.5);
  box-shadow: 0 18px 52px rgba(51, 92, 255, 0.1);
}

.ra-question.is-incomplete {
  border-color: var(--ra-red);
  box-shadow: 0 0 0 3px rgba(199, 72, 72, 0.1);
}

.ra-question legend {
  width: 100%;
  padding: 0;
  color: #20282d;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 800;
}

.ra-question legend span {
  display: inline-flex;
  min-width: 35px;
  margin-right: 10px;
  color: #335cff;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.ra-question-help {
  margin: 10px 0 20px;
  color: #5d686f;
  font-size: 14px;
  line-height: 1.65;
}

.readiness-assessment-page .lm-section-heading > p {
  color: #58636a;
}

.ra-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ra-option {
  position: relative;
  min-width: 0;
}

.ra-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.ra-option span {
  display: flex;
  min-height: 48px;
  padding: 10px 14px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(29, 37, 42, 0.13);
  border-radius: 12px;
  color: #58636a;
  background: #f7f8fa;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.ra-option input:focus-visible + span {
  outline: 3px solid rgba(51, 92, 255, 0.28);
  outline-offset: 2px;
}

.ra-option input:checked + span {
  color: #fff;
  border-color: #335cff;
  background: #335cff;
  transform: translateY(-1px);
}

.ra-submit-panel {
  display: flex;
  padding: 28px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(51, 92, 255, 0.18);
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(51, 92, 255, 0.08), rgba(98, 58, 255, 0.04));
}

.ra-submit-panel p {
  max-width: 560px;
  margin: 0;
  color: #58636a;
  font-size: 14px;
  line-height: 1.65;
}

.ra-validation {
  min-height: 24px;
  margin: -8px 0 0;
  color: var(--ra-red);
  font-size: 14px;
  font-weight: 800;
}

.ra-result {
  scroll-margin-top: 28px;
  margin-top: 42px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 8%, rgba(99, 126, 255, 0.42), transparent 30%),
    linear-gradient(135deg, #182127, #252f36);
  box-shadow: 0 34px 90px rgba(29, 37, 42, 0.2);
}

.ra-result:focus {
  outline: none;
}

.ra-result-header {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: center;
}

.ra-score-ring {
  --assessment-score: 0%;
  position: relative;
  display: grid;
  width: 190px;
  height: 190px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#8fa4ff var(--assessment-score), rgba(255, 255, 255, 0.12) 0);
}

.ra-score-ring::before {
  position: absolute;
  inset: 13px;
  border-radius: inherit;
  background: #202a30;
  content: "";
}

.ra-score-value {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
}

.ra-score-value strong {
  display: block;
  font-size: 58px;
  line-height: 0.95;
}

.ra-score-value span {
  color: rgba(255, 255, 255, 0.63);
  font-size: 13px;
  font-weight: 800;
}

.ra-result-copy .lm-kicker {
  color: #9eb1ff;
}

.ra-result-copy h2 {
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.ra-result-copy > p:not(.lm-kicker) {
  max-width: 800px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.7;
}

.ra-result-copy strong {
  color: #fff;
}

.ra-section-results {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 42px;
}

.ra-section-result {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.ra-section-result > div:first-child {
  display: flex;
  min-height: 46px;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
}

.ra-section-result h3 {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 1.35;
}

.ra-section-result strong {
  color: #fff;
  font-size: 13px;
}

.ra-section-track {
  height: 7px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.ra-section-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #8fa4ff;
}

.ra-actions-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.55fr);
  gap: 28px;
  margin-top: 44px;
}

.ra-actions-grid > div,
.ra-result-cta {
  padding: 28px;
  border-radius: 22px;
  background: #fff;
}

.ra-actions-grid h2,
.ra-result-cta h2 {
  margin-bottom: 20px;
  color: #20282d;
  font-size: 24px;
}

.ra-recommendations {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.ra-recommendations li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  list-style: none;
}

.ra-recommendations span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #335cff;
  background: rgba(51, 92, 255, 0.09);
  font-size: 11px;
  font-weight: 900;
}

.ra-recommendations p {
  margin: 5px 0 0;
  color: #58636a;
  font-size: 14px;
  line-height: 1.55;
}

.ra-result-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #e9edff;
}

.ra-result-cta p {
  margin-bottom: 24px;
  color: #58636a;
  font-size: 14px;
  line-height: 1.65;
}

.ra-result-cta .lm-button {
  margin-top: auto;
}

.ra-result-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.ra-tool-button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.ra-tool-button:hover,
.ra-tool-button:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.ra-band-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ra-band-grid article {
  padding: 26px;
  border: 1px solid rgba(29, 37, 42, 0.1);
  border-radius: 22px;
  background: #fff;
}

.ra-band-grid strong {
  display: block;
  margin-bottom: 28px;
  color: #335cff;
  font-size: 13px;
}

.ra-band-grid h3 {
  margin-bottom: 10px;
  color: #20282d;
  font-size: 19px;
}

.ra-band-grid p {
  margin: 0;
  color: #68737b;
  font-size: 14px;
  line-height: 1.65;
}

.ra-disclaimer {
  margin-top: 24px;
  padding: 22px 24px;
  border-left: 4px solid #335cff;
  color: #58636a;
  background: #eef1ff;
  font-size: 14px;
  line-height: 1.7;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1100px) {
  .ra-overview-grid,
  .ra-section-results {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ra-tool-shell {
    grid-template-columns: 1fr;
  }

  .ra-progress-panel {
    position: static;
  }
}

@media (max-width: 767px) {
  .ra-overview-grid,
  .ra-section-results,
  .ra-band-grid,
  .ra-actions-grid,
  .ra-result-header {
    grid-template-columns: 1fr;
  }

  .ra-overview-grid article {
    min-height: 0;
  }

  .ra-overview-grid span {
    margin-bottom: 22px;
  }

  .ra-question {
    padding: 22px 18px;
  }

  .ra-options {
    grid-template-columns: 1fr;
  }

  .ra-option span {
    justify-content: flex-start;
    text-align: left;
  }

  .ra-submit-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .ra-submit-panel .lm-button {
    width: 100%;
  }

  .ra-result {
    padding: 26px 18px;
    border-radius: 24px;
  }

  .ra-score-ring {
    width: 160px;
    height: 160px;
  }

  .ra-section-results {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ra-progress span,
  .ra-question,
  .ra-option span {
    transition: none;
  }
}

@media print {
  .ra-progress-panel,
  .ra-form,
  .ra-result-tools,
  .ra-result-cta,
  .ra-hero,
  .ra-overview,
  .ra-scoring,
  .lm-header,
  .lm-cluster-nav,
  .lm-final-cta,
  .lm-footer {
    display: none !important;
  }

  .ra-assessment-section,
  .lm-section {
    padding: 0 !important;
  }

  .ra-tool-shell {
    display: block;
  }

  .ra-result {
    display: block !important;
    margin: 0;
    padding: 20px;
    color: #20282d;
    background: #fff;
    box-shadow: none;
  }

  .ra-result-copy h2,
  .ra-result-copy strong,
  .ra-score-value,
  .ra-score-value strong {
    color: #20282d;
  }

  .ra-result-copy > p:not(.lm-kicker),
  .ra-score-value span {
    color: #58636a;
  }

  .ra-score-ring {
    border: 8px solid #335cff;
    background: #fff;
  }

  .ra-score-ring::before {
    background: #fff;
  }

  .ra-section-result {
    border-color: #d9dde1;
    background: #fff;
  }

  .ra-section-result h3,
  .ra-section-result strong {
    color: #20282d;
  }

  .ra-section-track {
    background: #e5e7eb;
  }

  .ra-actions-grid {
    display: block;
  }

  .ra-actions-grid > div {
    padding: 0;
  }
}

/* Editorial assessment treatment: the score is the only prominent visual;
   questions and guidance read like a working document rather than a card deck. */
.ra-hero .lm-hero-grid {
  align-items: start;
}

.ra-hero .lm-answer-card ul {
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
}

.ra-overview-grid {
  display: block;
  overflow: visible;
  border: 0;
  border-top: 2px solid #20282d;
  border-radius: 0;
  background: transparent;
}

.ra-overview-grid article {
  display: grid;
  min-height: 0;
  padding: 21px 0;
  border-bottom: 1px solid #dfe3e5;
  grid-template-columns: 54px minmax(190px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  background: transparent;
}

.ra-overview-grid span,
.ra-overview-grid h3,
.ra-overview-grid p {
  margin: 0;
}

.ra-overview-grid span {
  color: #335cff;
  font-size: 10px;
}

.ra-overview-grid h3 {
  font-size: 17px;
  line-height: 1.4;
}

.ra-overview-grid p {
  color: #526067;
  font-size: 15px;
  line-height: 1.7;
}

.ra-assessment-section {
  padding-top: 64px;
}

.ra-tool-shell {
  display: block;
}

.ra-progress-panel {
  position: static;
  max-width: 820px;
  margin-bottom: 42px;
  padding: 24px 0;
  border: 0;
  border-top: 2px solid #20282d;
  border-bottom: 1px solid #dfe3e5;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ra-progress-panel .lm-kicker {
  color: #335cff;
}

.ra-progress-panel h2 {
  color: #20282d;
  font-size: 30px;
}

.ra-progress-panel > p:not(.lm-kicker),
.ra-privacy-note {
  max-width: 720px;
  color: #526067;
  font-size: 14px;
}

.ra-progress {
  max-width: 520px;
  height: 6px;
  border-radius: 0;
  background: #e4e7e9;
}

.ra-progress span {
  border-radius: 0;
  background: #335cff;
}

.ra-progress-count,
.ra-privacy-note strong {
  color: #20282d;
}

.ra-privacy-note {
  margin-top: 20px;
  padding-top: 17px;
  border-top-color: #e2e5e7;
}

.ra-form {
  max-width: 820px;
  gap: 38px;
}

.ra-question-group {
  gap: 0;
}

.ra-section-heading {
  margin: 0;
  padding: 0 0 20px;
  border-bottom: 2px solid #20282d;
  grid-template-columns: 40px 1fr;
  gap: 10px;
}

.ra-section-heading span {
  width: auto;
  height: auto;
  place-items: start;
  border-radius: 0;
  color: #335cff;
  background: transparent;
  font-size: 10px;
}

.ra-section-heading h2 {
  font-size: 27px;
}

.ra-section-heading p {
  margin-top: 0;
  color: #526067;
}

.ra-question {
  padding: 24px 0;
  border: 0;
  border-bottom: 1px solid #dfe3e5;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.ra-question:focus-within {
  border-color: #335cff;
  background: #fafbff;
  box-shadow: none;
}

.ra-question.is-incomplete {
  padding-inline: 14px;
  border-color: var(--ra-red);
  background: #fff8f8;
  box-shadow: none;
}

.ra-question legend {
  font-size: 17px;
  line-height: 1.5;
}

.ra-question legend span {
  min-width: 31px;
}

.ra-question-help {
  max-width: 720px;
  margin: 8px 0 16px 41px;
}

.ra-options {
  margin-left: 41px;
  grid-template-columns: repeat(3, max-content);
  justify-content: start;
  gap: 8px;
}

.ra-option span {
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 3px;
  background: #fff;
  font-size: 12px;
}

.ra-option input:checked + span {
  transform: none;
}

.ra-submit-panel {
  padding: 24px 0;
  border: 0;
  border-top: 2px solid #20282d;
  border-bottom: 1px solid #dfe3e5;
  border-radius: 0;
  background: transparent;
}

.ra-result {
  max-width: 940px;
  margin-top: 52px;
  padding: 42px 0;
  border-top: 3px solid #20282d;
  border-bottom: 1px solid #dfe3e5;
  border-radius: 0;
  color: #20282d;
  background: #fff;
  box-shadow: none;
}

.ra-result-header {
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 42px;
}

.ra-score-ring {
  width: 150px;
  height: 150px;
  background: conic-gradient(#335cff var(--assessment-score), #e2e6e9 0);
}

.ra-score-ring::before {
  inset: 10px;
  background: #fff;
}

.ra-score-value,
.ra-score-value strong,
.ra-result-copy h2,
.ra-result-copy strong {
  color: #20282d;
}

.ra-score-value strong {
  font-size: 48px;
}

.ra-score-value span,
.ra-result-copy > p:not(.lm-kicker) {
  color: #526067;
}

.ra-result-copy .lm-kicker {
  color: #335cff;
}

.ra-result-copy h2 {
  font-size: clamp(32px, 4vw, 46px);
}

.ra-section-results {
  gap: 0;
  margin-top: 34px;
  border-top: 2px solid #20282d;
}

.ra-section-result {
  padding: 16px 12px;
  border: 0;
  border-right: 1px solid #dfe3e5;
  border-bottom: 1px solid #dfe3e5;
  border-radius: 0;
  background: transparent;
}

.ra-section-result:first-child {
  border-left: 1px solid #dfe3e5;
}

.ra-section-result h3,
.ra-section-result strong {
  color: #20282d;
}

.ra-section-track {
  border-radius: 0;
  background: #e4e7e9;
}

.ra-section-track span {
  border-radius: 0;
  background: #335cff;
}

.ra-actions-grid {
  gap: 34px;
  margin-top: 40px;
}

.ra-actions-grid > div,
.ra-result-cta {
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.ra-recommendations {
  border-top: 2px solid #20282d;
}

.ra-recommendations li {
  padding: 15px 0;
  border-bottom: 1px solid #dfe3e5;
}

.ra-recommendations span {
  border-radius: 0;
}

.ra-result-cta {
  padding: 24px;
  border-left: 3px solid #335cff;
  background: #f3f5ff;
}

.ra-tool-button {
  border-color: #aeb6bb;
  border-radius: 3px;
  color: #20282d;
}

.ra-tool-button:hover,
.ra-tool-button:focus-visible {
  border-color: #20282d;
  color: #fff;
  background: #20282d;
}

.ra-band-grid {
  display: block;
  border-top: 2px solid #20282d;
}

.ra-band-grid article {
  display: grid;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid #dfe3e5;
  border-radius: 0;
  grid-template-columns: 130px 240px minmax(0, 1fr);
  gap: 24px;
  background: transparent;
}

.ra-band-grid strong,
.ra-band-grid h3,
.ra-band-grid p {
  margin: 0;
}

.ra-band-grid p {
  color: #526067;
}

.ra-disclaimer {
  padding: 18px 20px;
  background: #f3f5ff;
}

@media (max-width: 767px) {
  .ra-overview-grid article,
  .ra-band-grid article {
    grid-template-columns: 36px 1fr;
  }

  .ra-overview-grid p,
  .ra-band-grid p {
    grid-column: 2;
  }

  .ra-options {
    margin-left: 0;
    grid-template-columns: 1fr;
  }

  .ra-question-help {
    margin-left: 0;
  }

  .ra-result-header,
  .ra-actions-grid {
    grid-template-columns: 1fr;
  }

  .ra-section-results {
    grid-template-columns: 1fr;
  }

  .ra-section-result,
  .ra-section-result:first-child {
    border-left: 1px solid #dfe3e5;
  }
}
