:root {
  --cdv-blue: #0d2d59;
  --cdv-blue-dark: #061c3c;
  --cdv-blue-bright: #0d4ba8;
  --cdv-yellow: #f8c900;
  --cdv-yellow-dark: #d9aa00;
  --cdv-ink: #10264a;
  --cdv-muted: #53647a;
  --cdv-line: #dfe6ee;
  --cdv-soft: #f5f8fb;
  --cdv-white: #ffffff;
  --cdv-radius: 16px;
  --cdv-shadow: 0 14px 32px rgba(13, 45, 89, .12);
}

.cdv-app,
.cdv-app * {
  box-sizing: border-box;
}

.cdv-app {
  width: min(100% - 2rem, 1060px);
  margin: clamp(2rem, 6vw, 5.5rem) auto;
  color: var(--cdv-ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
}

.cdv-app h1,
.cdv-app h2,
.cdv-app h3 {
  color: var(--cdv-blue);
  line-height: 1.16;
  margin-top: 0;
}

.cdv-app p {
  margin-top: 0;
}

.cdv-app label {
  display: block;
  margin: 1rem 0;
}

.cdv-app input,
.cdv-app select {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: .7rem;
  margin-top: .35rem;
}

.cdv-app video {
  display: block;
  width: 100%;
  height: auto;
  margin: 1rem 0;
}

.cdv-app button {
  cursor: pointer;
}

.cdv-app button:focus-visible,
.cdv-app a:focus-visible,
.cdv-app input:focus-visible,
.cdv-app select:focus-visible {
  outline: 3px solid rgba(13, 75, 168, .28);
  outline-offset: 3px;
}

.cdv-app [hidden] {
  display: none !important;
}

/* Shared building blocks for the diagnostic screens. */
.cdv-card {
  background: var(--cdv-white);
  border: 1px solid rgba(13, 45, 89, .08);
  border-radius: var(--cdv-radius);
  box-shadow: var(--cdv-shadow);
}

.cdv-card__kicker,
.cdv-eyebrow {
  display: block;
  color: var(--cdv-blue-bright);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.4;
}

.cdv-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 60px;
  min-width: min(100%, 435px);
  padding: 1rem 2.2rem;
  border: 1px solid var(--cdv-yellow-dark);
  border-radius: 999px;
  background: var(--cdv-yellow);
  color: var(--cdv-blue-dark);
  box-shadow: 0 10px 22px rgba(217, 170, 0, .24);
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.25;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.cdv-cta > span {
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 0;
}

.cdv-cta:hover {
  background: #ffd83e;
  box-shadow: 0 13px 26px rgba(217, 170, 0, .3);
  transform: translateY(-2px);
}

/* Tela 1 – Apresentação */
.cdv-intro {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
  background: var(--cdv-soft);
}

.cdv-intro__hero {
  position: relative;
  z-index: 0;
  max-width: none;
  margin: 0;
  padding: clamp(3.5rem, 7vw, 5rem) 1rem clamp(10rem, 16vw, 13.5rem);
  overflow: hidden;
  background: linear-gradient(135deg, #02152d 0%, #062653 58%, #07336d 100%);
  border-radius: 0 0 12px 12px;
  color: var(--cdv-white);
  text-align: center;
}

.cdv-intro__hero::after {
  position: absolute;
  z-index: -1;
  content: '';
  top: -8rem;
  right: -18rem;
  width: min(78vw, 900px);
  height: min(47vw, 510px);
  border: 1px solid rgba(22, 100, 213, .45);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(22, 100, 213, .12), 0 0 0 56px rgba(22, 100, 213, .1), 0 0 0 84px rgba(22, 100, 213, .08), 0 0 0 112px rgba(22, 100, 213, .06);
  transform: rotate(-28deg);
}

.cdv-intro__hero .cdv-eyebrow {
  margin-bottom: 1.45rem;
  color: var(--cdv-yellow);
}

.cdv-intro__hero h1 {
  max-width: 790px;
  margin: 0 auto;
  color: var(--cdv-white);
  font-size: clamp(2.04rem, 4.28vw, 3.72rem);
  font-weight: 750;
  letter-spacing: -.05em;
}

.cdv-accent {
  color: var(--cdv-yellow);
}

.cdv-intro__support {
  max-width: 680px;
  margin: 2rem auto 0;
  color: var(--cdv-white);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.55;
}

.cdv-intro__promise {
  max-width: 700px;
  margin: 1.25rem auto 0;
  padding-top: .35rem;
  color: #aeb9c8;
  font-size: 1rem;
  line-height: 1.65;
}

.cdv-intro__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  width: min(calc(100% - 2rem), 900px);
  margin: -9.5rem auto 0;
}

.cdv-product-card {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 2.1rem;
  align-items: center;
  padding: clamp(2rem, 4vw, 2.75rem) clamp(1.5rem, 5vw, 3.5rem);
}

.cdv-product-card__heading h2,
.cdv-video-card h2,
.cdv-intro__benefits h2 {
  margin: .55rem 0 .55rem;
  font-size: clamp(1.65rem, 2.7vw, 2.15rem);
  letter-spacing: -.035em;
}

.cdv-product-card__heading h2 {
  max-width: 280px;
}

.cdv-product-card__heading p,
.cdv-video-card__intro p {
  margin-bottom: 0;
  color: var(--cdv-ink);
  line-height: 1.45;
}

.cdv-product-card__indicators {
  display: grid;
  gap: 1.05rem;
  padding-left: 2.1rem;
  border-left: 1px solid var(--cdv-line);
}

.cdv-indicator {
  display: flex;
  align-items: center;
  gap: .9rem;
  color: var(--cdv-ink);
  line-height: 1.25;
}

.cdv-indicator__icon,
.cdv-benefit__icon {
  display: inline-grid;
  flex: 0 0 54px;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--cdv-blue-bright);
  border: 2px solid #c7daf7;
  border-radius: 50%;
  background: #f8fbff;
}

.cdv-indicator__icon {
  flex-basis: 54px;
}

.cdv-indicator__icon svg,
.cdv-benefit__icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.cdv-indicator strong,
.cdv-indicator small {
  display: block;
}

.cdv-indicator strong {
  font-size: 1.03rem;
  font-weight: 750;
}

.cdv-indicator small {
  margin-top: .3rem;
  font-size: .9rem;
}

.cdv-video-card {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(1.6rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 2.25rem);
}

.cdv-video-card__intro {
  padding-left: .25rem;
}

.cdv-video-card__intro h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
}

.cdv-video-card__player {
  overflow: hidden;
  border-radius: 12px;
  background: var(--cdv-blue-dark);
}

.cdv-video-card__player .cdv-video-embed {
  margin: 0;
}

.cdv-video-card__player > video {
  width: 100%;
  margin: 0;
}

.cdv-video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 1rem 0;
  background: #000;
}

.cdv-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cdv-intro__benefits {
  padding: 1.1rem 0 .25rem;
}

.cdv-intro__benefits h2 {
  margin-bottom: 1.45rem;
  text-align: center;
}

.cdv-intro__benefits ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.cdv-intro__benefits li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
  min-height: 122px;
  padding: 0 1.4rem;
  color: var(--cdv-ink);
  text-align: center;
}

.cdv-intro__benefits li + li {
  border-left: 1px solid var(--cdv-line);
}

.cdv-benefit__icon {
  flex-basis: 54px;
}

.cdv-intro__action {
  padding-top: .65rem;
  text-align: center;
}

.cdv-intro__action p {
  margin: .85rem 0 0;
  color: var(--cdv-ink);
  font-size: .88rem;
}

.cdv-lock-icon {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  vertical-align: -.15em;
}

.cdv-lock-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

/* Tela 2 – Identificação */
.cdv-identification-step {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: var(--cdv-soft);
}

.cdv-flow-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  width: 100%;
  min-height: 145px;
  padding: 2.1rem max(1.25rem, calc((100% - 1180px) / 2));
  overflow: hidden;
  background: linear-gradient(135deg, #02152d 0%, #062653 62%, #07336d 100%);
  color: var(--cdv-white);
}

.cdv-flow-header::after {
  position: absolute;
  z-index: 0;
  content: '';
  top: -10rem;
  right: -13rem;
  width: min(70vw, 850px);
  height: 420px;
  border: 1px solid rgba(22, 100, 213, .42);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(22, 100, 213, .12), 0 0 0 56px rgba(22, 100, 213, .09), 0 0 0 84px rgba(22, 100, 213, .07);
  transform: rotate(-28deg);
}

.cdv-flow-back {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  flex: 0 0 auto;
  margin-top: .45rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #c9dcf8;
  font-size: 1rem;
  text-decoration: underline;
}

.cdv-flow-back span {
  font-size: 1.45rem;
  line-height: 1;
  text-decoration: none;
}

.cdv-progress {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(100px, 1fr));
  width: min(100%, 610px);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.cdv-progress li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  color: rgba(255, 255, 255, .85);
  font-size: .9rem;
  line-height: 1.2;
  text-align: center;
}

.cdv-progress li::after {
  position: absolute;
  z-index: -1;
  top: 17px;
  left: 50%;
  width: 100%;
  height: 1px;
  content: '';
  background: #2f85c8;
}

.cdv-progress li:last-child::after {
  display: none;
}

.cdv-progress__number {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 2px solid #1775b8;
  border-radius: 50%;
  background: var(--cdv-blue-dark);
  color: #dcecff;
  font-size: 1rem;
  font-weight: 700;
}

.cdv-progress li:first-child .cdv-progress__number {
  border-color: var(--cdv-white);
  background: var(--cdv-white);
  color: var(--cdv-blue);
}

.cdv-progress li.is-active {
  color: var(--cdv-yellow);
  font-weight: 700;
}

.cdv-progress li.is-active .cdv-progress__number {
  border-color: var(--cdv-yellow);
  background: var(--cdv-white);
  color: var(--cdv-blue);
}

.cdv-progress li.is-complete .cdv-progress__number {
  border-color: var(--cdv-white);
  background: var(--cdv-white);
  color: var(--cdv-blue);
}

.cdv-progress:has(li:nth-child(3).is-active) li:nth-child(-n+2) .cdv-progress__number {
  border-color: var(--cdv-white);
  background: var(--cdv-white);
  color: var(--cdv-blue);
}

.cdv-progress:has(li:nth-child(3).is-active) li:nth-child(-n+2)::after {
  background: var(--cdv-white);
}

.cdv-progress:has(li:nth-child(4).is-active) li:nth-child(-n+3)::after {
  background: var(--cdv-white);
}

.cdv-identification__intro {
  max-width: 850px;
  margin: 0 auto;
  padding: 2.5rem 1rem 2rem;
  text-align: center;
}

.cdv-identification__intro h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -.04em;
}

.cdv-identification__intro h2:focus {
  outline: none;
}

.cdv-identification__intro p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--cdv-muted);
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.cdv-identification-card {
  width: min(calc(100% - 2rem), 900px);
  margin: 0 auto;
  padding: .7rem clamp(1.5rem, 4vw, 2.25rem);
}

.cdv-app label.cdv-field {
  display: grid;
  grid-template-columns: 60px 195px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin: 0;
  padding: 1.05rem 0;
  border-bottom: 1px solid #edf1f6;
}

.cdv-field:last-child {
  border-bottom: 0;
}

.cdv-field__icon,
.cdv-security-note__icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--cdv-blue-bright);
  border: 2px solid #c9dcfb;
  border-radius: 50%;
  background: #f5f9ff;
}

.cdv-field__icon svg,
.cdv-security-note__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.cdv-field__body {
  display: contents;
}

.cdv-field__label {
  grid-column: 2;
  color: var(--cdv-ink);
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.35;
}

.cdv-field__label em {
  color: #e24141;
  font-style: normal;
}

.cdv-field input,
.cdv-field select {
  grid-column: 3;
  min-height: 52px;
  margin: 0;
  padding: .8rem 1rem;
  border: 1px solid #cfd9e5;
  border-radius: 7px;
  background: var(--cdv-white);
  color: var(--cdv-ink);
  font: inherit;
  font-size: .98rem;
}

.cdv-field input::placeholder {
  color: #68758b;
  opacity: 1;
}

.cdv-field select {
  color: #68758b;
}

.cdv-field small {
  grid-column: 3;
  margin-top: -.6rem;
  color: var(--cdv-muted);
  font-size: .82rem;
}

.cdv-identification-card .cdv-conditional {
  grid-template-columns: 60px 1fr;
}

.cdv-identification-card .cdv-conditional .cdv-field__body {
  display: grid;
  grid-column: 2;
  grid-template-columns: 195px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.cdv-identification-card .cdv-conditional .cdv-field__label,
.cdv-identification-card .cdv-conditional input {
  grid-column: auto;
}

.cdv-security-note {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(calc(100% - 2rem), 700px);
  margin: 2.1rem auto 0;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: #eaf1ff;
  color: var(--cdv-ink);
}

.cdv-security-note__icon {
  flex: 0 0 56px;
  background: #dfeaff;
}

.cdv-security-note > span:last-child {
  display: grid;
  gap: .25rem;
}

.cdv-security-note strong {
  font-size: .95rem;
}

.cdv-security-note > span:last-child > span {
  font-size: .86rem;
  line-height: 1.45;
}

.cdv-identification-actions {
  justify-content: center;
  align-items: center;
  width: min(calc(100% - 2rem), 500px);
  margin: 2rem auto 0;
}

.cdv-secondary-action,
.cdv-form-cta {
  min-height: 58px;
  padding: .9rem 2rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
}

.cdv-secondary-action {
  border: 0;
  background: transparent;
  color: #2d71db;
}

.cdv-form-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  min-width: 220px;
  border: 1px solid var(--cdv-yellow-dark);
  background: var(--cdv-yellow);
  color: var(--cdv-blue-dark);
  box-shadow: 0 10px 22px rgba(217, 170, 0, .2);
}

.cdv-form-cta > span {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 0;
}

.cdv-identification__privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  margin: 1rem 0 0;
  color: var(--cdv-ink);
  font-size: .85rem;
  text-align: center;
}

/* Tela 3 – Privacidade */
.cdv-consent-step {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: var(--cdv-soft);
}

.cdv-consent__intro {
  max-width: 850px;
  margin: 0 auto;
  padding: 2.5rem 1rem 2.2rem;
  text-align: center;
}

.cdv-consent__intro h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -.04em;
}

.cdv-consent__intro h2:focus {
  outline: none;
}

.cdv-consent__intro p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--cdv-ink);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.65;
}

.cdv-consent-card {
  width: min(calc(100% - 2rem), 920px);
  margin: 0 auto;
  padding: 1.7rem clamp(1.5rem, 4vw, 2.5rem);
}

.cdv-app label.cdv-consent-option {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin: 0;
  padding: 1rem 0 2rem;
}

.cdv-consent-option + .cdv-consent-option {
  padding-top: 2rem;
  border-top: 1px solid var(--cdv-line);
}

.cdv-consent-option__icon {
  display: inline-grid;
  place-items: center;
  width: 74px;
  height: 74px;
  color: var(--cdv-blue-bright);
  border: 2px solid #c9dcfb;
  border-radius: 50%;
  background: #f5f9ff;
}

.cdv-consent-option__icon svg {
  width: 39px;
  height: 39px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.cdv-consent-option__body {
  display: grid;
  gap: .85rem;
  padding-top: .55rem;
}

.cdv-consent-option__checkline {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: .9rem;
  align-items: center;
  color: var(--cdv-ink);
  font-size: 1.12rem;
  font-weight: 750;
  line-height: 1.35;
}

.cdv-consent-option__checkline input {
  display: block;
  width: 29px;
  height: 29px;
  margin: 0;
  appearance: none;
  border: 2px solid #687995;
  border-radius: 4px;
  background: var(--cdv-white);
  cursor: pointer;
}

.cdv-consent-option__checkline input:checked {
  position: relative;
  border-color: var(--cdv-blue-bright);
  background: var(--cdv-blue-bright);
}

.cdv-consent-option__checkline input:checked::after {
  position: absolute;
  top: 0;
  left: 6px;
  content: '✓';
  color: var(--cdv-white);
  font-size: 1.15rem;
  line-height: 25px;
}

.cdv-consent-option__checkline a,
.cdv-consent-option__description a,
.cdv-consent-option__link {
  color: #1c5fda;
  text-decoration: underline;
}

.cdv-consent-option__checkline small {
  color: var(--cdv-muted);
  font-size: .82rem;
  font-weight: 400;
}

.cdv-consent-option__description {
  max-width: 650px;
  color: var(--cdv-ink);
  font-size: 1rem;
  line-height: 1.8;
}

.cdv-consent-option__link {
  width: fit-content;
  font-size: 1rem;
}

.cdv-consent-option__links {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.5rem;
}

.cdv-consent-option__description a:focus-visible,
.cdv-consent-option__link:focus-visible {
  border-radius: 3px;
  outline: 3px solid #1c5fda;
  outline-offset: 3px;
}

.cdv-consent-option__link span {
  display: inline-block;
  margin-left: .3rem;
  font-size: 1.3rem;
  line-height: 0;
  text-decoration: none;
}

.cdv-consent-option__hint {
  color: var(--cdv-muted);
  font-size: .92rem;
}

.cdv-consent-security {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: .6rem 0 0;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: #eaf1ff;
  color: var(--cdv-ink);
  font-size: .95rem;
  line-height: 1.7;
}

.cdv-consent-security .cdv-security-note__icon {
  flex: 0 0 56px;
}

.cdv-consent-actions {
  justify-content: center;
  width: min(calc(100% - 2rem), 580px);
  margin: 2.3rem auto 0;
}

/* Tela 4 – Introdução dos blocos */
.cdv-block-intro {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: var(--cdv-soft);
}

.cdv-block-intro__content {
  width: min(calc(100% - 2rem), 900px);
  margin: 0 auto;
  padding-top: 2.5rem;
}

.cdv-block-intro__intro {
  margin-bottom: 1.65rem;
}

.cdv-block-intro__intro h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.6rem, 5vw, 4rem);
  letter-spacing: -.045em;
}

.cdv-block-intro__intro h2:focus {
  outline: none;
}

.cdv-block-intro__question {
  max-width: 820px;
  margin: 0 0 .85rem;
  color: var(--cdv-blue);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.45;
}

.cdv-block-intro__intro p {
  max-width: 820px;
  margin: 0;
  color: var(--cdv-ink);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.65;
}

.cdv-block-intro__observation {
  color: var(--cdv-yellow-dark);
  font-weight: 700;
}

.cdv-block-video-card {
  overflow: hidden;
  border: 1px solid rgba(13, 45, 89, .08);
  border-radius: 14px;
  background: var(--cdv-white);
  box-shadow: var(--cdv-shadow);
}

.cdv-block-video-card .cdv-video-embed {
  margin: 0;
  border-radius: 14px;
}

.cdv-block-hint {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.45rem;
  padding: .95rem 1.1rem;
  border-radius: 14px;
  background: #eaf1ff;
  color: var(--cdv-ink);
  font-size: 1rem;
}

.cdv-block-hint__icon {
  display: inline-grid;
  flex: 0 0 46px;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--cdv-blue-bright);
  border-radius: 50%;
  background: #f5f9ff;
}

.cdv-block-hint__icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.cdv-block-actions {
  justify-content: flex-start;
  width: 100%;
  margin-top: 1.8rem;
}

/* Telas de perguntas */
.cdv-question-step {
  width: 100vw;
  min-inline-size: 0;
  margin-left: calc(50% - 50vw);
  padding: 0 0 clamp(3rem, 6vw, 5rem);
  border: 0;
  background: var(--cdv-soft);
}

.cdv-question__content {
  position: relative;
  width: min(calc(100% - 2rem), 900px);
  margin: 0 auto;
  padding: 2.5rem clamp(1.5rem, 4vw, 2.5rem) 1.75rem;
  border-radius: 16px;
  background: var(--cdv-white);
  box-shadow: var(--cdv-shadow);
}

.cdv-question__legend-accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.cdv-question__legend-accessible:focus {
  outline: none;
}

.cdv-question__intro {
  position: relative;
  margin-bottom: 1.8rem;
  padding-right: 170px;
}

.cdv-question__eyebrow {
  display: block;
  margin-bottom: .9rem;
  color: var(--cdv-blue-bright);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.cdv-question__title {
  display: block;
  width: 100%;
  margin: 0 0 .95rem;
  color: var(--cdv-blue);
  font-size: clamp(2.1rem, 4.7vw, 3.4rem);
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1.1;
}

.cdv-question__title:focus {
  outline: none;
}

.cdv-question__intro p {
  max-width: 770px;
  margin: .35rem 0 0;
  color: var(--cdv-ink);
  font-size: 1.08rem;
  line-height: 1.65;
}

.cdv-question__badge {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-grid;
  place-items: center;
  width: 116px;
  height: 116px;
  border: 1px solid #d8e3f3;
  border-radius: 12px;
  background: #fbfdff;
  color: var(--cdv-blue-bright);
}

.cdv-question__badge svg {
  width: 72px;
  height: 72px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.cdv-question-options {
  overflow: hidden;
  border: 1px solid #dce5f0;
  border-radius: 10px;
}

.cdv-app label.cdv-question-option {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin: 0;
  padding: .85rem 1.1rem;
  border-bottom: 1px solid #e4ebf4;
  background: var(--cdv-white);
  cursor: pointer;
  transition: background-color .2s ease;
}

.cdv-app label.cdv-question-option:last-child {
  border-bottom: 0;
}

.cdv-app label.cdv-question-option:hover {
  background: #f8fbff;
}

.cdv-question-option__icon {
  display: inline-grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 9px;
  background: #f0f5ff;
  color: var(--cdv-blue-bright);
}

.cdv-question-option__icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.cdv-question-option__control {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: .9rem;
  align-items: center;
  color: var(--cdv-ink);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.4;
}

.cdv-question-option__control input {
  display: block;
  width: 26px;
  height: 26px;
  margin: 0;
  appearance: none;
  border: 2px solid #687995;
  border-radius: 4px;
  background: var(--cdv-white);
  cursor: pointer;
}

.cdv-question-option__control input:checked {
  position: relative;
  border-color: var(--cdv-blue-bright);
  background: var(--cdv-blue-bright);
}

.cdv-question-option__control input:checked::after {
  position: absolute;
  top: 0;
  left: 5px;
  content: '✓';
  color: var(--cdv-white);
  font-size: 1rem;
  line-height: 22px;
}

.cdv-question-option:has(input:checked) {
  background: #f0f6ff;
}

.cdv-question-hint {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-top: 1.1rem;
  padding: .75rem 1rem;
  border-radius: 12px;
  background: #eaf1ff;
  color: var(--cdv-ink);
  font-size: .88rem;
  line-height: 1.45;
}

.cdv-question-hint__icon {
  display: inline-grid;
  flex: 0 0 36px;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f9ff;
  color: var(--cdv-blue-bright);
}

.cdv-question-hint__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.cdv-question-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.45rem;
}

.cdv-question-actions {
  flex: 0 0 auto;
  margin: 0;
}

.cdv-question-progress {
  display: grid;
  grid-template-columns: auto minmax(100px, 160px) auto;
  gap: .75rem;
  align-items: center;
  color: var(--cdv-muted);
  font-size: .88rem;
  white-space: nowrap;
}

.cdv-question-progress__track {
  display: block;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8edf4;
}

.cdv-question-progress__track > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--cdv-yellow);
}

.cdv-question-progress strong {
  color: var(--cdv-muted);
  font-weight: 500;
}

/* Tela de revisão */
.cdv-review-step {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: var(--cdv-soft);
}

.cdv-review__content {
  width: min(calc(100% - 2rem), 920px);
  margin: 0 auto;
  padding: 2.5rem 0 1rem;
}

.cdv-review__intro {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: 0 1.25rem 1.5rem;
}

.cdv-review__icon {
  display: inline-grid;
  flex: 0 0 74px;
  place-items: center;
  width: 74px;
  height: 74px;
  color: var(--cdv-blue-bright);
  border: 2px solid #c9dcfb;
  border-radius: 50%;
  background: #f5f9ff;
}

.cdv-review__icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.cdv-review__intro h2 {
  margin-bottom: .65rem;
  font-size: clamp(2.1rem, 4vw, 3rem);
  letter-spacing: -.045em;
}

.cdv-review__intro h2:focus {
  outline: none;
}

.cdv-review__intro p {
  margin: 0;
  color: var(--cdv-ink);
  font-size: 1rem;
  line-height: 1.6;
}

.cdv-review-security {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin: 0 0 1.35rem;
  padding: .85rem 1rem;
  border: 1px solid #d6e3fb;
  border-radius: 12px;
  background: #f0f5ff;
  color: var(--cdv-blue);
  font-size: .9rem;
}

.cdv-review-security .cdv-question-hint__icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
}

.cdv-review-list {
  display: grid;
  gap: .7rem;
}

.cdv-review-item {
  overflow: hidden;
  border: 1px solid rgba(13, 45, 89, .08);
  border-radius: 14px;
  background: var(--cdv-white);
  box-shadow: 0 7px 20px rgba(13, 45, 89, .07);
}

.cdv-review-item summary {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 150px 24px;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.15rem;
  color: var(--cdv-ink);
  cursor: pointer;
  list-style: none;
}

.cdv-review-item summary::-webkit-details-marker {
  display: none;
}

.cdv-review-item summary:focus-visible {
  outline: 3px solid rgba(13, 75, 168, .28);
  outline-offset: -3px;
}

.cdv-review-item__icon {
  display: inline-grid;
  place-items: center;
  width: 55px;
  height: 55px;
  border: 2px solid #c9dcfb;
  border-radius: 50%;
  background: #f5f9ff;
  color: var(--cdv-blue-bright);
}

.cdv-review-item__icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.cdv-review-item__main {
  display: grid;
  gap: .25rem;
}

.cdv-review-item__main strong {
  font-size: 1rem;
  font-weight: 750;
}

.cdv-review-item__main > span {
  color: var(--cdv-muted);
  font-size: .86rem;
  line-height: 1.35;
}

.cdv-review-item__count {
  color: #2b8b70;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.cdv-review-item__chevron {
  color: var(--cdv-blue);
  font-size: 1.6rem;
  line-height: 1;
  transition: transform .2s ease;
}

.cdv-review-item[open] .cdv-review-item__chevron {
  transform: rotate(180deg);
}

.cdv-review-item__details {
  padding: 0 1.15rem 1.2rem 5.7rem;
  border-top: 1px solid #e5ecf5;
}

.cdv-review-item__details ul {
  margin: 1rem 0;
  padding-left: 1.2rem;
  color: var(--cdv-ink);
}

.cdv-review-item__details li {
  margin: .35rem 0;
}

.cdv-review-item__details p {
  margin: 1rem 0;
  color: var(--cdv-muted);
}

.cdv-edit {
  padding: .55rem .9rem;
  border: 1px solid #b8cfee;
  border-radius: 999px;
  background: var(--cdv-white);
  color: var(--cdv-blue-bright);
  font-size: .85rem;
  font-weight: 700;
}

.cdv-review-total {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-top: 1.3rem;
  padding: .9rem 1rem;
  border-radius: 12px;
  background: #fff8dc;
  color: var(--cdv-ink);
}

.cdv-review-total__icon {
  display: inline-grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffeb9a;
  color: #8b6d00;
}

.cdv-review-total__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.cdv-review-total > span:last-child {
  display: grid;
  gap: .15rem;
}

.cdv-review-total strong,
.cdv-review-total small {
  display: block;
}

.cdv-review-total strong {
  font-size: .9rem;
}

.cdv-review-total small {
  font-size: .78rem;
}

.cdv-review-actions {
  justify-content: flex-start;
  margin-top: 1.5rem;
}

/* Tela de processamento */
.cdv-processing-step {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: var(--cdv-soft);
}

.cdv-processing__content {
  width: min(calc(100% - 2rem), 980px);
  margin: 0 auto;
  padding: 3rem clamp(1.5rem, 5vw, 3.5rem) 2.1rem;
  border-radius: 18px;
  background: var(--cdv-white);
  box-shadow: var(--cdv-shadow);
}

.cdv-processing__intro {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.cdv-processing__icon {
  display: inline-grid;
  flex: 0 0 130px;
  place-items: center;
  width: 130px;
  height: 130px;
  border: 2px solid #d7e4fb;
  border-radius: 50%;
  background: #f5f9ff;
  color: var(--cdv-blue-bright);
}

.cdv-processing__icon svg {
  width: 70px;
  height: 70px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.cdv-processing__intro h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  letter-spacing: -.045em;
}

.cdv-processing__intro h2:focus {
  outline: none;
}

.cdv-processing__intro p {
  max-width: 740px;
  margin: .5rem 0 0;
  color: var(--cdv-ink);
  font-size: 1.08rem;
  line-height: 1.55;
}

.cdv-processing-progress {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin: 2rem 0 2.5rem 160px;
}

.cdv-processing-progress__track {
  display: block;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8edf4;
}

.cdv-processing-progress__track > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #2162df;
  transition: width .35s ease;
}

.cdv-processing-progress strong {
  color: #2162df;
  font-size: 1rem;
}

.cdv-processing-stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.cdv-processing-stage {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-height: 170px;
  padding: 1.35rem;
  border: 1px solid #dce5f0;
  border-radius: 14px;
  background: var(--cdv-white);
}

.cdv-processing-stage__icon {
  display: inline-grid;
  flex: 0 0 52px;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid #d7e4fb;
  border-radius: 50%;
  background: #f5f9ff;
  color: var(--cdv-blue-bright);
}

.cdv-processing-stage__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.cdv-processing-stage h3 {
  margin: .15rem 0 .55rem;
  font-size: 1rem;
  line-height: 1.35;
}

.cdv-processing-stage p {
  margin: 0;
  color: var(--cdv-ink);
  font-size: .88rem;
  line-height: 1.55;
}

.cdv-processing-security {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: #eaf1ff;
  color: var(--cdv-ink);
}

.cdv-processing-security .cdv-security-note__icon {
  flex: 0 0 58px;
}

.cdv-processing-security > span:last-child {
  display: grid;
  gap: .25rem;
}

.cdv-processing-security strong,
.cdv-processing-security > span:last-child > span {
  display: block;
}

.cdv-processing-security > span:last-child > span {
  font-size: .88rem;
  line-height: 1.45;
}

.cdv-processing-actions {
  justify-content: flex-start;
  margin-top: 2rem;
}

.cdv-processing-submit:disabled,
.cdv-flow-back:disabled {
  opacity: 1;
  cursor: default;
}

.cdv-processing-submit:disabled {
  cursor: wait;
}

.cdv-spinner {
  display: inline-block;
  width: 21px;
  height: 21px;
  border: 3px solid rgba(13, 45, 89, .25);
  border-top-color: var(--cdv-blue-bright);
  border-radius: 50%;
  animation: cdv-spin .8s linear infinite;
}

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

.cdv-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Página de resultados */
.cdv-result-body {
  margin: 0;
  background: var(--cdv-soft);
}

.cdv-result.cdv-app {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-bottom: 4rem;
}

.cdv-result__flow {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  min-height: 190px;
  padding: 2rem max(1.25rem, calc((100% - 1080px) / 2));
  overflow: hidden;
  background: linear-gradient(135deg, #02152d 0%, #062653 62%, #07336d 100%);
  color: var(--cdv-white);
}

.cdv-result__flow::after {
  position: absolute;
  z-index: 0;
  content: '';
  top: -11rem;
  right: -10rem;
  width: min(58vw, 800px);
  height: 420px;
  border: 1px solid rgba(22, 100, 213, .42);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(22, 100, 213, .12), 0 0 0 56px rgba(22, 100, 213, .09), 0 0 0 84px rgba(22, 100, 213, .07);
  transform: rotate(-28deg);
}

.cdv-result__back {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  flex: 0 0 auto;
  margin-top: .45rem;
  color: #d5e4fb;
  font-size: 1rem;
  text-decoration: underline;
}

.cdv-result__back span {
  font-size: 1.45rem;
  line-height: 1;
  text-decoration: none;
}

.cdv-result__flow .cdv-progress {
  position: relative;
  z-index: 1;
  width: min(100%, 650px);
  margin: 0 auto;
}

.cdv-result__surface {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), 1060px);
  margin: -78px auto 0;
  padding: 2rem clamp(1rem, 4vw, 3rem) 3rem;
  border-radius: 18px;
  background: var(--cdv-white);
  box-shadow: 0 18px 50px rgba(13, 45, 89, .13);
}

.cdv-result__hero {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 2rem;
}

.cdv-result__hero-icon {
  display: inline-grid;
  flex: 0 0 78px;
  place-items: center;
  width: 78px;
  height: 78px;
  color: var(--cdv-blue-bright);
  border: 2px solid #d7e4fb;
  border-radius: 50%;
  background: #f5f9ff;
}

.cdv-result__hero-icon svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.cdv-result__hero h1,
.cdv-result-empty h1 {
  margin-bottom: .4rem;
  font-size: clamp(2rem, 4vw, 3.15rem);
  letter-spacing: -.045em;
}

.cdv-result__hero p {
  margin: 0;
  color: var(--cdv-ink);
  font-size: 1rem;
}

.cdv-result-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .95fr);
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 2rem;
}

.cdv-result-executive {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  width: 100%;
  margin-bottom: 2rem;
}

.cdv-result-executive .cdv-result-risk {
  width: 100%;
  min-height: 0;
}

.cdv-result-kicker,
.cdv-result-section-title {
  color: var(--cdv-blue-bright);
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.cdv-result-score .cdv-score {
  margin: .35rem 0 .25rem;
  color: #e2ae00;
  font-size: clamp(3.5rem, 7vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: 1;
}

.cdv-result-score .cdv-score small {
  font-size: .55em;
  letter-spacing: -.02em;
}

.cdv-result-score__track {
  width: min(100%, 340px);
  height: 8px;
  margin: .7rem 0 1.25rem;
  overflow: hidden;
  border-radius: 999px;
  background: #e8edf4;
}

.cdv-result-score__track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--cdv-yellow);
}

.cdv-result-score h3 {
  max-width: 430px;
  margin: 0 0 .9rem;
  color: var(--cdv-ink);
  font-size: 1rem;
  line-height: 1.45;
}

.cdv-result-score > p:not(.cdv-score) {
  max-width: 450px;
  margin: .6rem 0 0;
  color: var(--cdv-ink);
  font-size: .9rem;
  line-height: 1.65;
}

.cdv-result-risk {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-height: 250px;
  padding: 1.35rem;
  border: 1px solid #f0d16c;
  border-radius: 12px;
  background: #fffdf5;
}

.cdv-result-risk__icon {
  display: inline-grid;
  flex: 0 0 48px;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff0b6;
  color: #ca9800;
}

.cdv-result-risk__icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.cdv-result-risk h2 {
  margin-bottom: .9rem;
  font-size: 1rem;
}

.cdv-result-risk p {
  margin: 0;
  color: var(--cdv-ink);
  font-size: .82rem;
  line-height: 1.65;
}

.cdv-result-limit {
  border-color: #f2da86;
  background: #fffaf0;
}

.cdv-result-limit .cdv-result-risk__icon {
  border-color: #f2da86;
  background: #fff7d8;
  color: #9a7200;
}

.cdv-result-favorable {
  border-color: #cbdcf7;
  background: #f2f7ff;
}

.cdv-result-favorable .cdv-result-risk__icon {
  border-color: #cbdcf7;
  background: #e8f1ff;
  color: var(--cdv-blue-bright);
}

.cdv-result-strength__interpretation {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #cbdcf7;
}

.cdv-result-strength__interpretation h3 {
  margin: 0 0 .5rem;
  color: var(--cdv-blue);
  font-size: 1rem;
}

.cdv-result-section-title {
  margin: 2rem 0 .8rem;
}

.cdv-result-competencies {
  margin-top: 1.5rem;
}

.cdv-result-competency {
  overflow: hidden;
  margin: .7rem 0;
  border: 1px solid #dfe7f1;
  border-radius: 11px;
  background: var(--cdv-white);
}

.cdv-result-competency summary {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 90px 20px;
  gap: .9rem;
  align-items: center;
  padding: .85rem 1rem;
  cursor: pointer;
  list-style: none;
}

.cdv-result-competency summary::-webkit-details-marker {
  display: none;
}

.cdv-result-competency summary:focus-visible {
  outline: 3px solid rgba(13, 75, 168, .28);
  outline-offset: -3px;
}

.cdv-result-competency__icon,
.cdv-result-section-heading__icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #d7e4fb;
  border-radius: 50%;
  background: #f5f9ff;
  color: var(--cdv-blue-bright);
}

.cdv-result-competency__icon svg,
.cdv-result-section-heading__icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.cdv-result-competency__main {
  display: grid;
  gap: .25rem;
}

.cdv-result-competency__main strong {
  color: var(--cdv-ink);
  font-size: .93rem;
}

.cdv-result-competency__main span {
  color: var(--cdv-muted);
  font-size: .78rem;
  line-height: 1.35;
}

.cdv-result-competency__score {
  padding: .45rem .4rem;
  border-radius: 7px;
  background: #fdebed;
  color: #c92f37;
  font-size: .9rem;
  font-weight: 800;
  text-align: center;
}

.cdv-result-competency__score--attention {
  background: #fff3bf;
  color: #7a5a00;
}

.cdv-result-competency__score--progress {
  background: #e6f6ed;
  color: #187447;
}

.cdv-result-competency__score--complete {
  background: #e8f1ff;
  color: var(--cdv-blue-bright);
}

.cdv-result-competency__chevron {
  color: var(--cdv-blue);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform .2s ease;
}

.cdv-result-competency[open] .cdv-result-competency__chevron {
  transform: rotate(180deg);
}

.cdv-result-competency__details {
  padding: .1rem 1rem 1.2rem 5.8rem;
  border-top: 1px solid #e5ecf5;
  color: var(--cdv-ink);
  font-size: .86rem;
  line-height: 1.65;
}

.cdv-result-competency__details p {
  margin: .9rem 0;
}

.cdv-result-contrast,
.cdv-result-reflection,
.cdv-result-about {
  margin-top: 1.6rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid #dfe7f1;
  border-radius: 12px;
  background: #f6f9ff;
}

.cdv-result-reflection {
  background: #edf4ff;
}

.cdv-result-section-heading {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
}

.cdv-result-section-heading__icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
}

.cdv-result-section-heading__icon--yellow {
  border-color: #f2da86;
  background: #fff7d8;
  color: #c69200;
}

.cdv-result-section-heading h2 {
  margin: .15rem 0 .45rem;
  font-size: 1rem;
}

.cdv-result-section-heading p,
.cdv-result-about > p,
.cdv-result-about > div:not(.cdv-result-section-heading) {
  color: var(--cdv-ink);
  font-size: .84rem;
  line-height: 1.6;
}

.cdv-result-section-heading p {
  margin: 0;
}

.cdv-result-video {
  margin-top: 1.7rem;
}

.cdv-result-video .cdv-result-section-heading {
  margin-bottom: .8rem;
}

.cdv-result-video .cdv-result-section-heading h2 {
  font-size: 1.7rem;
}

.cdv-result-video .cdv-video-embed {
  margin: 0 auto;
  overflow: hidden;
  max-width: 820px;
  border-radius: 14px;
  box-shadow: var(--cdv-shadow);
}

.cdv-result-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  margin-top: 1.7rem;
}

.cdv-result-bottom > section {
  min-width: 0;
  padding: 1.15rem;
  border: 1px solid #dfe7f1;
  border-radius: 12px;
}

.cdv-result-bottom .cdv-result-about {
  margin-top: 0;
  background: #f6f9ff;
}

.cdv-result-interest {
  border-color: #f0d16c !important;
  background: #fffdf5;
}

.cdv-result-email {
  margin-top: 1rem;
  padding: .85rem;
  border: 1px solid #cfe7d9;
  border-radius: 10px;
  background: #f4fbf6;
}

.cdv-result-email p {
  margin: 0 0 .75rem;
  color: var(--cdv-ink);
  font-size: .78rem;
  line-height: 1.5;
}

.cdv-resend {
  padding: .55rem .8rem;
  border: 1px solid #98baf0;
  border-radius: 6px;
  background: var(--cdv-white);
  color: var(--cdv-blue-bright);
  font-size: .8rem;
  font-weight: 700;
}

.cdv-interest {
  display: grid;
  gap: .7rem;
  margin-top: 1rem;
}

.cdv-interest label {
  margin: 0;
  color: var(--cdv-ink);
  font-size: .75rem;
  font-weight: 700;
}

.cdv-interest label small {
  color: var(--cdv-muted);
  font-weight: 400;
}

.cdv-interest input,
.cdv-interest select {
  min-height: 38px;
  margin-top: .25rem;
  padding: .5rem .65rem;
  border: 1px solid #cfd9e5;
  border-radius: 5px;
  background: var(--cdv-white);
  color: var(--cdv-ink);
  font: inherit;
  font-size: .8rem;
}

.cdv-interest button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 44px;
  border: 1px solid var(--cdv-yellow-dark);
  border-radius: 6px;
  background: var(--cdv-yellow);
  color: var(--cdv-blue-dark);
  font-weight: 800;
}

.cdv-interest button span {
  font-size: 1.35rem;
  line-height: 0;
}

.cdv-interest-message {
  color: var(--cdv-muted);
  font-size: .78rem;
}

.cdv-result-empty {
  padding: 3rem 1rem;
  text-align: center;
}

/* Existing diagnostic controls and result styles. */
.cdv-check,
.cdv-option {
  padding: .8rem;
  border: 1px solid #d5d5d5;
  border-radius: 4px;
}

.cdv-option {
  cursor: pointer;
}

.cdv-option input,
.cdv-check input {
  display: inline-block;
  width: auto;
  margin-right: .6rem;
}

.cdv-actions {
  display: flex;
  gap: .75rem;
  margin-top: 1.5rem;
}

.cdv-actions button {
  padding: .75rem 1rem;
}

.cdv-score {
  font-size: 2rem;
}

.cdv-competency {
  padding: 1rem 0;
  border-top: 1px solid #ddd;
}

.cdv-alert {
  padding-left: 1rem;
  border-left: 4px solid #876b2b;
}

.cdv-errors {
  margin-top: 1rem;
  color: #8a1f1f;
}

@media (max-width: 760px) {
  .cdv-product-card,
  .cdv-video-card {
    grid-template-columns: 1fr;
  }

  .cdv-product-card__indicators {
    padding-top: 1.35rem;
    padding-left: 0;
    border-top: 1px solid var(--cdv-line);
    border-left: 0;
  }

  .cdv-flow-header {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding-top: 1.5rem;
    padding-bottom: 1.7rem;
  }

  .cdv-flow-back {
    align-self: flex-start;
    margin-top: 0;
  }

  .cdv-progress {
    width: 100%;
  }

  .cdv-field {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: .85rem;
  }

  .cdv-field__body {
    display: grid;
    grid-column: 2;
    grid-template-columns: 1fr;
    gap: .35rem;
  }

  .cdv-field__label,
  .cdv-field input,
  .cdv-field select,
  .cdv-field small {
    grid-column: auto;
  }

  .cdv-identification-card .cdv-conditional .cdv-field__body {
    grid-column: 2;
    grid-template-columns: 1fr;
  }

  .cdv-identification-card .cdv-conditional .cdv-field__label,
  .cdv-identification-card .cdv-conditional input {
    grid-column: auto;
  }

  .cdv-processing__intro {
    align-items: flex-start;
    gap: 1.25rem;
  }

  .cdv-processing-progress {
    margin-left: 0;
  }

  .cdv-processing-stages {
    grid-template-columns: 1fr;
  }

  .cdv-result-overview,
  .cdv-result-bottom {
    grid-template-columns: 1fr;
  }

  .cdv-result__surface {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }
}

@media (max-width: 560px) {
  .cdv-app {
    width: min(100% - 1.25rem, 1060px);
    margin: 1.5rem auto 3rem;
  }

  .cdv-intro__hero {
    padding-top: 3rem;
    padding-bottom: 7.5rem;
  }

  .cdv-intro__hero h1 {
    font-size: clamp(1.76rem, 9.2vw, 2.68rem);
  }

  .cdv-intro__support {
    margin-top: 1.5rem;
    font-size: 1.03rem;
  }

  .cdv-intro__promise {
    font-size: .95rem;
  }

  .cdv-intro__content {
    width: min(calc(100% - 1.25rem), 900px);
    margin-top: -6rem;
  }

  .cdv-product-card,
  .cdv-video-card {
    padding: 1.35rem;
    border-radius: 14px;
  }

  .cdv-flow-header {
    min-height: 180px;
  }

  .cdv-progress {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cdv-progress li {
    font-size: .7rem;
  }

  .cdv-progress__number {
    width: 32px;
    height: 32px;
    font-size: .9rem;
  }

  .cdv-progress li::after {
    top: 15px;
  }

  .cdv-identification__intro {
    padding-top: 2rem;
  }

  .cdv-identification__intro h2 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .cdv-identification-card {
    width: min(calc(100% - 1.25rem), 900px);
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .cdv-security-note {
    width: min(calc(100% - 1.25rem), 700px);
    align-items: flex-start;
    padding: 1rem;
  }

  .cdv-identification-actions {
    width: min(calc(100% - 1.25rem), 500px);
    flex-direction: row;
  }

  .cdv-secondary-action,
  .cdv-form-cta {
    width: auto;
  }

  .cdv-product-card__heading h2 {
    max-width: none;
  }

  .cdv-intro__benefits {
    padding-top: .75rem;
  }

  .cdv-intro__benefits ul {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .cdv-intro__benefits li {
    min-height: 0;
    padding: 1.1rem .5rem 0;
  }

  .cdv-intro__benefits li + li {
    padding-top: 1.25rem;
    border-top: 1px solid var(--cdv-line);
    border-left: 0;
  }

  .cdv-consent__intro {
    padding-top: 2rem;
  }

  .cdv-consent__intro h2 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .cdv-consent-card {
    width: min(calc(100% - 1.25rem), 920px);
    padding: 1rem;
  }

  .cdv-consent-option {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: .85rem;
  }

  .cdv-consent-option__icon {
    width: 56px;
    height: 56px;
  }

  .cdv-consent-option__icon svg {
    width: 31px;
    height: 31px;
  }

  .cdv-consent-option__checkline {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: .65rem;
    font-size: .95rem;
  }

  .cdv-consent-option__description {
    font-size: .9rem;
    line-height: 1.6;
  }

  .cdv-consent-security {
    align-items: flex-start;
    padding: .9rem;
    font-size: .82rem;
    line-height: 1.5;
  }

  .cdv-consent-actions {
    width: min(calc(100% - 1.25rem), 580px);
  }

  .cdv-block-intro__content {
    width: min(calc(100% - 1.25rem), 900px);
    padding-top: 2rem;
  }

  .cdv-block-intro__intro h2 {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .cdv-block-intro__intro p {
    font-size: 1rem;
  }

  .cdv-block-hint {
    align-items: flex-start;
    font-size: .9rem;
  }

  .cdv-question__content {
    width: min(calc(100% - 1.25rem), 900px);
    padding: 2rem 1rem 1.25rem;
  }

  .cdv-question__intro {
    padding-right: 0;
  }

  .cdv-question__title {
    font-size: clamp(1.9rem, 9vw, 2.75rem);
  }

  .cdv-question__intro p {
    font-size: .98rem;
  }

  .cdv-question__badge {
    position: static;
    width: 72px;
    height: 72px;
    margin-top: 1rem;
  }

  .cdv-question__badge svg {
    width: 45px;
    height: 45px;
  }

  .cdv-app label.cdv-question-option {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: .65rem;
    padding: .75rem .6rem;
  }

  .cdv-question-option__icon {
    width: 36px;
    height: 36px;
  }

  .cdv-question-option__icon svg {
    width: 23px;
    height: 23px;
  }

  .cdv-question-option__control {
    grid-template-columns: 27px minmax(0, 1fr);
    gap: .55rem;
    font-size: .86rem;
  }

  .cdv-question-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }

  .cdv-question-actions {
    width: 100%;
  }

  .cdv-question-actions button {
    width: 100%;
  }

  .cdv-question-progress {
    grid-template-columns: auto minmax(80px, 1fr) auto;
    width: 100%;
    font-size: .8rem;
  }

  .cdv-review__content {
    width: min(calc(100% - 1.25rem), 920px);
    padding-top: 2rem;
  }

  .cdv-review__intro {
    align-items: flex-start;
    gap: .9rem;
    padding-right: .25rem;
    padding-left: .25rem;
  }

  .cdv-review__icon {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
  }

  .cdv-review__icon svg {
    width: 31px;
    height: 31px;
  }

  .cdv-review__intro h2 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .cdv-review__intro p {
    font-size: .9rem;
  }

  .cdv-review-security {
    align-items: flex-start;
    font-size: .8rem;
  }

  .cdv-review-item summary {
    grid-template-columns: 44px minmax(0, 1fr) 20px;
    gap: .7rem;
    padding: .8rem .65rem;
  }

  .cdv-review-item__icon {
    width: 40px;
    height: 40px;
  }

  .cdv-review-item__icon svg {
    width: 23px;
    height: 23px;
  }

  .cdv-review-item__main strong {
    font-size: .86rem;
  }

  .cdv-review-item__main > span {
    font-size: .75rem;
  }

  .cdv-review-item__count {
    grid-column: 2;
    text-align: left;
    font-size: .78rem;
  }

  .cdv-review-item__chevron {
    grid-column: 3;
    grid-row: 1;
  }

  .cdv-review-item__details {
    padding: 0 .8rem 1rem;
  }

  .cdv-review-total {
    align-items: flex-start;
    font-size: .8rem;
  }

  .cdv-processing__content {
    width: min(calc(100% - 1.25rem), 980px);
    padding: 2rem 1rem 1.35rem;
  }

  .cdv-processing__intro {
    flex-direction: column;
    gap: 1rem;
  }

  .cdv-processing__icon {
    flex-basis: 86px;
    width: 86px;
    height: 86px;
  }

  .cdv-processing__icon svg {
    width: 48px;
    height: 48px;
  }

  .cdv-processing__intro h2 {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
  }

  .cdv-processing__intro p {
    font-size: .95rem;
  }

  .cdv-processing-progress {
    margin-top: 1.5rem;
    margin-bottom: 1.8rem;
  }

  .cdv-processing-stage {
    min-height: 0;
    padding: 1rem;
  }

  .cdv-processing-security {
    align-items: flex-start;
    padding: .9rem;
  }

  .cdv-result__flow {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding-top: 1.5rem;
    padding-bottom: 1.7rem;
  }

  .cdv-result__back {
    align-self: flex-start;
    margin-top: 0;
  }

  .cdv-result__flow .cdv-progress {
    width: 100%;
  }

  .cdv-result__surface {
    width: min(calc(100% - 1.25rem), 1060px);
    margin-top: -4rem;
    padding: 1.25rem .75rem 2rem;
    border-radius: 14px;
  }

  .cdv-result__hero {
    align-items: flex-start;
    gap: .8rem;
  }

  .cdv-result__hero-icon {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
  }

  .cdv-result__hero-icon svg {
    width: 31px;
    height: 31px;
  }

  .cdv-result__hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .cdv-result-overview {
    gap: 1.2rem;
  }

  .cdv-result-score .cdv-score {
    font-size: 4rem;
  }

  .cdv-result-risk {
    min-height: 0;
  }

  .cdv-result-competency summary {
    grid-template-columns: 42px minmax(0, 1fr) 20px;
    gap: .65rem;
    padding: .75rem .65rem;
  }

  .cdv-result-competency__icon {
    width: 40px;
    height: 40px;
  }

  .cdv-result-competency__icon svg {
    width: 23px;
    height: 23px;
  }

  .cdv-result-competency__main strong {
    font-size: .82rem;
  }

  .cdv-result-competency__main span {
    font-size: .72rem;
  }

  .cdv-result-competency__score {
    grid-column: 2;
    width: fit-content;
    font-size: .78rem;
  }

  .cdv-result-competency__chevron {
    grid-column: 3;
    grid-row: 1;
  }

  .cdv-result-competency__details {
    padding: .1rem .8rem 1rem;
    font-size: .8rem;
  }

  .cdv-result-section-heading p,
  .cdv-result-about > p,
  .cdv-result-about > div:not(.cdv-result-section-heading) {
    font-size: .78rem;
  }

  .cdv-cta {
    width: 100%;
    min-width: 0;
    padding-right: 1rem;
    padding-left: 1rem;
    font-size: .76rem;
  }

  .cdv-actions {
    flex-direction: column;
  }

  .cdv-actions button {
    width: 100%;
  }
}
