:root {
  --clr-navy: #092a5a;
  --clr-purple: #5e2fcf;
  --clr-purple-icon: #6b38ca;
  --clr-lavender: #f1edfd;
  --clr-lavender-glow: rgba(232, 222, 250, 0.8);
  --clr-border: #d1d3d7;
  --clr-text: #404059;
  --clr-bg: #f8f8fc;
  --clr-white: #ffffff;
  --clr-error: #d63c4b;
  --font-primary: "Poppins", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0 !important;
  overflow-x: hidden !important;
  background: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 400;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--clr-purple);
}

.lp-wrap,
.topbar-in {
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
}

.material-symbols-sharp {
  display: inline-block;
  font-family: "Material Symbols Sharp";
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga";
  font-variation-settings:
    "FILL" 1,
    "wght" 500,
    "GRAD" 0,
    "opsz" 24;
}

.topbar {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100px;
  flex: 0 0 100px;
  background: var(--clr-white);
}

.topbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-center .topbar-in {
  justify-content: center;
}

.brand {
  display: block;
  width: 225px;
  height: 60px;
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.topbar-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 37px;
  padding: 0 16px;
  border-radius: 20px;
  background: var(--clr-lavender);
  color: var(--clr-purple);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

/* Funnel */

.quiz {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  min-height: calc(100vh - 70px);
  background: var(--clr-bg);
}

.quiz[data-step="1"] .quiz-head {
  display: none;
}

.quiz-main {
  position: relative;
  display: flex;
  flex: 1;
  overflow: hidden;
}

.quiz-stage {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 710px;
  align-items: center;
  justify-content: center;
}

.quiz[data-step="1"] .quiz-stage {
  min-height: 810px;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 85px;
}

.quiz[data-step="2"] .quiz-stage {
  min-height: 749px;
}

.quiz[data-step="1"] .quiz-stage::before {
  position: absolute;
  z-index: -1;
  top: 63px;
  left: 304px;
  width: 669px;
  height: 669px;
  border-radius: 50%;
  background: var(--clr-lavender-glow);
  content: "";
  pointer-events: none;
}

.hero {
  position: relative;
  width: 500px;
  height: 680px;
  flex: 0 0 500px;
}

.quiz:not([data-step="1"]) .hero {
  display: none;
}

.hero-logo {
  margin-bottom: 40px;
}

.hero-title {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--clr-navy);
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.6px;
}

.hero-title span {
  color: var(--clr-purple);
}

.hero-fig {
  position: absolute;
  z-index: 1;
  top: 210px;
  left: 0;
  width: 619px;
  height: 495px;
  pointer-events: none;
}

.hero-fig img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.quiz-box {
  position: relative;
  z-index: 4;
  width: 700px;
  flex: 0 0 auto;
  padding: 40px;
  border-radius: 24px;
  background: var(--clr-white);
  box-shadow: 0 10px 30px rgba(9, 35, 94, 0.15);
  transform: translateY(-10px);
}

.quiz[data-step="1"] .quiz-box {
  width: 600px;
  transform: none;
}

.quiz-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.stepbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 21px;
}

.progress-track {
  display: flex;
  width: 380px;
  gap: 10px;
}

.progress-seg {
  height: 8px;
  flex: 1;
  border-radius: 4px;
  background: var(--clr-lavender);
}

.progress-seg.is-filled {
  background: var(--clr-purple);
}

.progress-label {
  color: var(--clr-navy);
  font-size: 14px;
  line-height: 21px;
  white-space: nowrap;
}

.step {
  display: none;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.step.is-active {
  display: flex;
}

.step.is-active.is-visible {
  opacity: 1;
  transform: none;
}

.step-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.step-heading {
  margin: 0;
  color: var(--clr-navy);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.5;
}

.step-hint {
  margin: 0;
  color: var(--clr-text);
  font-size: 15px;
  line-height: 23px;
}

.step-info {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--clr-lavender);
}

.step-info .material-symbols-sharp {
  flex: 0 0 24px;
  color: #5e2da1;
  font-size: 24px;
}

.step-info p {
  margin: 0;
  color: var(--clr-navy);
  font-size: 13px;
  line-height: 20px;
}

.options,
.fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.option {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  gap: 16px;
  padding: 10px 20px;
  border: 1px solid var(--clr-border);
  border-radius: 10px;
  background: var(--clr-white);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.option:hover {
  border-color: var(--clr-purple);
}

.option:has(.option-input:checked) {
  border: 2px solid var(--clr-purple);
  padding: 9px 19px;
}

.option-input {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 0;
  appearance: none;
  place-items: center;
  border: 1.5px solid var(--clr-border);
  border-radius: 50%;
  cursor: pointer;
}

.option-input:checked {
  border-color: var(--clr-purple);
}

.option-input:checked::before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clr-purple);
  content: "";
}

.option-input:focus-visible,
.terms-input:focus-visible {
  outline: 3px solid rgba(94, 47, 207, 0.2);
  outline-offset: 2px;
}

.option-text {
  color: var(--clr-text);
  font-size: 15px;
  line-height: 23px;
}

.field {
  position: relative;
  width: 100%;
}

.field-icon,
.field-check {
  position: absolute;
  z-index: 2;
  top: 50%;
  color: var(--clr-purple);
  pointer-events: none;
  transform: translateY(-50%);
}

.field-icon {
  left: 14px;
  width: 18px;
  font-size: 18px;
}

.field-check {
  right: 16px;
  display: none;
  color: var(--clr-text);
  font-size: 20px;
}

.field-input {
  width: 100%;
  height: 56px;
  padding: 0 48px 0 42px;
  border: 1px solid var(--clr-border);
  border-radius: 10px;
  outline: none;
  background: var(--clr-white);
  color: var(--clr-text);
  font-size: 16px;
  line-height: 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fields .field-input {
  height: 52px;
}

.field-input::placeholder {
  color: var(--clr-text);
  opacity: 1;
}

.field-input:focus,
.field.is-valid .field-input {
  border: 1.5px solid var(--clr-purple);
  box-shadow: 0 0 0 2px rgba(94, 47, 207, 0.04);
}

.field.is-valid .field-check {
  display: block;
}

.terms {
  display: flex;
  min-height: 29px;
  align-items: center;
  gap: 12px;
}

.terms-input {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin: 0;
  appearance: none;
  place-items: center;
  border: 1.5px solid var(--clr-border);
  border-radius: 4px;
  background: var(--clr-white);
  cursor: pointer;
}

.terms-input:checked {
  border-color: var(--clr-purple);
  background: var(--clr-purple);
}

.terms-input:checked::after {
  color: var(--clr-white);
  content: "\2713";
  font-size: 13px;
  line-height: 1;
}

.terms-text {
  color: var(--clr-text);
  font-size: 14px;
  line-height: 21px;
}

.terms-text a {
  color: var(--clr-purple);
  text-decoration: underline;
  text-underline-offset: 2px;
}

label.error {
  display: block;
  width: 100%;
  margin-top: -4px;
  color: var(--clr-error);
  font-size: 12px;
  line-height: 18px;
}

.field-input.error,
input.error {
  border-color: var(--clr-error) !important;
}

.option:has(.option-input.error) {
  border-color: var(--clr-error);
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.quiz[data-step="1"] .actions {
  gap: 16px;
}

.actions-row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.quiz[data-step="1"] .actions-row {
  justify-content: center;
}

.button {
  display: inline-flex;
  height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(94, 47, 207, 0.2);
}

.button .material-symbols-sharp {
  font-size: 18px;
}

.btn-main {
  width: 220px;
  border: 1.5px solid var(--clr-purple);
  background: var(--clr-purple);
  color: var(--clr-white);
}

.btn-main:hover,
.btn-main:focus-visible {
  border-color: #4f23b7;
  background: #4f23b7;
  color: var(--clr-white);
}

.quiz[data-step="1"] .btn-main {
  width: 100%;
}

.quiz[data-step="5"] .btn-main {
  width: 320px;
}

.btn-back {
  width: 180px;
  border: 1.5px solid var(--clr-purple);
  background: transparent;
  color: var(--clr-purple);
}

.btn-back:hover,
.btn-back:focus-visible {
  background: var(--clr-lavender);
  color: var(--clr-purple);
}

.button[hidden] {
  display: none !important;
}

.safe {
  display: flex;
  min-height: 41px;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.safe .material-symbols-sharp {
  color: var(--clr-purple);
  font-size: 20px;
}

.safe p {
  margin: 0;
  color: var(--clr-navy);
  font-size: 14px;
  line-height: 21px;
}

.quiz[data-step="5"] .safe {
  display: none;
}

.quiz-bot {
  position: absolute;
  z-index: 3;
  display: none;
  width: 300px;
  height: 380px;
  object-fit: contain;
  pointer-events: none;
}

.quiz[data-step="3"] .quiz-bot {
  top: 100px;
  right: calc((1240px - 100vw) / 2);
  display: block;
}

.quiz[data-step="5"] .quiz-bot {
  z-index: 5;
  top: 100px;
  left: 0;
  display: block;
  transform: scaleX(-1);
}

/* Adstrategy footer */

#section-ads {
  position: relative;
  z-index: 30;
  display: flex;
  width: 100%;
  height: 70px;
  flex: 0 0 70px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  background: var(--clr-white);
}

#section-ads a,
#section-ads img {
  display: block;
}

#section-ads img {
  width: 160px;
  height: auto;
  max-height: 38px;
  object-fit: contain;
}

body:has(.result) #section-ads {
  height: 80px;
  flex-basis: 80px;
}

/* Outcome pages */

.result {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  background: var(--clr-bg);
}

.result-main {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.result-glow {
  position: absolute;
  z-index: 0;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: var(--clr-lavender-glow);
  filter: blur(100px);
  pointer-events: none;
}

.result-ok .result-glow {
  top: 0;
  left: calc(50% + 30px);
}

.result-hero,
.perks-wrap {
  position: relative;
  z-index: 2;
}

.result-hero-split {
  display: grid;
  height: 450px;
  grid-template-columns: 550px 600px;
  gap: 90px;
}

.result-hero-split .result-copy {
  display: flex;
  height: 315px;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-top: 67px;
}

.result-status {
  color: var(--clr-purple-icon);
  font-size: 90px;
  font-variation-settings:
    "FILL" 1,
    "wght" 500,
    "GRAD" 0,
    "opsz" 48;
}

.result-title {
  margin: 0;
  color: var(--clr-navy);
  font-weight: 800;
}

.result-hero-split .result-title {
  font-size: 64px;
  line-height: 1.1;
}

.result-subtitle {
  margin: 0;
  color: var(--clr-purple);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.result-text {
  margin: 0;
  color: var(--clr-text);
  font-size: 16px;
  line-height: 1.6;
}

.result-text strong,
.result-title span {
  color: var(--clr-purple);
  font-weight: 700;
}

.result-bot-col {
  width: 600px;
  height: 450px;
  overflow: hidden;
}

.result-bot-col img {
  display: block;
  width: 600px;
  height: auto;
}

.result-ok .perks-wrap {
  height: 283px;
}

.perks {
  display: grid;
  width: min(1062px, 100%);
  min-height: 243px;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  margin-inline: auto;
  padding: 32px 50px;
  border-radius: 24px;
  background: var(--clr-white);
  box-shadow: 0 4px 20px rgba(9, 35, 94, 0.1);
}

.feature {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-inline: 16px;
  text-align: center;
}

.feature + .feature {
  border-left: 1px solid rgba(0, 0, 0, 0.5);
}

.feature-icon {
  display: grid;
  width: 90px;
  height: 90px;
  flex: 0 0 90px;
  place-items: center;
  border-radius: 50%;
  background: var(--clr-lavender);
  color: var(--clr-purple-icon);
  font-size: 46px;
  font-variation-settings:
    "FILL" 1,
    "wght" 500,
    "GRAD" 0,
    "opsz" 48;
}

.feature-title {
  margin: 0;
  color: var(--clr-navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
}

.feature-text {
  max-width: 236px;
  margin: 0;
  color: var(--clr-text);
  font-size: 14px;
  line-height: 1.1;
}

.result-alt .result-main {
  min-height: 769px;
  padding-top: 20px;
}

.result-glow-left {
  top: 185px;
  left: -43px;
  width: 500px;
  height: 500px;
  filter: blur(120px);
}

.result-glow-right {
  top: 435px;
  right: -60px;
  width: 500px;
  height: 500px;
  filter: blur(120px);
}

.result-hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.result-bot-center {
  width: 478px;
  height: 300px;
}

.result-bot-center img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.result-hero-center .result-copy {
  display: flex;
  width: min(908px, 100%);
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin-top: 25px;
  text-align: center;
}

.result-hero-center .result-title {
  font-size: 40px;
  line-height: 1.5;
}

.result-alt .perks-wrap {
  margin-top: 25px;
}

.result-alt .perks {
  width: min(1026px, 100%);
  min-height: 237px;
  grid-template-columns: 239px 330px 257px;
  gap: 50px;
  padding: 32px 50px 38px;
}

.result-alt .feature {
  gap: 10px;
  padding: 0;
}

/* Política de privacidade */

#Politica .modal-dialog {
  width: min(700px, calc(100% - 40px));
  max-width: none;
  margin-inline: auto;
}

#Politica .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: var(--clr-white);
  box-shadow: 0 18px 50px rgba(9, 35, 94, 0.22);
  color: var(--clr-text);
}

#Politica .modal-header {
  align-items: center;
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--clr-lavender);
}

#Politica .modal-title {
  margin: 0;
  color: var(--clr-navy);
  font-size: 24px;
  font-weight: 800;
  line-height: 36px;
}

#Politica .close {
  display: inline-grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  margin-left: 20px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--clr-lavender);
  color: var(--clr-purple);
  opacity: 1;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

#Politica .close:hover {
  background: var(--clr-purple);
  color: var(--clr-white);
  transform: translateY(-1px);
}

#Politica .close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(94, 47, 207, 0.2);
}

#Politica .close .material-symbols-sharp {
  font-size: 22px;
}

#Politica .modal-body {
  padding: 24px 32px 0;
}

#Politica .modal-inner-content {
  max-height: min(430px, 55vh);
  padding-right: 14px;
  overflow-y: auto;
  color: var(--clr-text);
  font-size: 14px;
  line-height: 22px;
  scrollbar-color: var(--clr-purple) var(--clr-lavender);
  scrollbar-width: thin;
}

#Politica .modal-inner-content::-webkit-scrollbar {
  width: 8px;
}

#Politica .modal-inner-content::-webkit-scrollbar-track {
  border-radius: 4px;
  background: var(--clr-lavender);
}

#Politica .modal-inner-content::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: var(--clr-purple);
}

#Politica .modal-inner-content p {
  margin: 0 0 14px;
}

#Politica .modal-inner-content > br {
  display: none;
}

#Politica .modal-inner-content p:has(> b:only-child) {
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--clr-navy);
  font-size: 16px;
  line-height: 24px;
}

#Politica .modal-inner-content ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

#Politica .modal-inner-content li + li {
  margin-top: 4px;
}

#Politica .modal-footer {
  padding: 20px 32px 28px;
  border-top: 0;
}

#Politica .modal-footer .btn {
  display: inline-flex;
  width: 100%;
  height: 52px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 24px;
  border: 1.5px solid var(--clr-purple);
  border-radius: 8px;
  background: var(--clr-purple);
  color: var(--clr-white);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

#Politica .modal-footer .btn:hover,
#Politica .modal-footer .btn:focus-visible {
  border-color: #4f23b7;
  background: #4f23b7;
  color: var(--clr-white);
  transform: translateY(-1px);
}

#Politica .modal-footer .btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(94, 47, 207, 0.2);
}

@media (max-width: 1300px) {
  .quiz-bot {
    display: none !important;
  }

  .result-hero-split {
    grid-template-columns: 46% 50%;
    gap: 4%;
  }

  .result-bot-col,
  .result-bot-col img {
    width: 100%;
  }
}

@media (max-width: 1050px) {
  .quiz[data-step="1"] .quiz-stage {
    flex-direction: column;
    align-items: center;
    gap: 36px;
    padding-block: 42px 60px;
  }

  .quiz[data-step="1"] .quiz-stage::before {
    top: 130px;
    left: 50%;
    width: 560px;
    height: 560px;
    transform: translateX(-50%);
  }

  .hero {
    width: 600px;
    height: auto;
    flex-basis: auto;
    text-align: center;
  }

  .hero-logo {
    margin-inline: auto;
  }

  .hero-title {
    font-size: 44px;
  }

  .hero-title br {
    display: none;
  }

  .hero-fig {
    display: none;
  }

  .quiz[data-step="1"] .quiz-box {
    width: 600px;
  }

  .result-hero-split {
    height: auto;
    grid-template-columns: 1fr;
    gap: 16px;
    padding-block: 48px 24px;
  }

  .result-hero-split .result-copy {
    height: auto;
    align-items: center;
    margin: 0;
    text-align: center;
  }

  .result-bot-col {
    width: min(520px, 100%);
    height: auto;
    margin-inline: auto;
  }

  .result-bot-col img {
    width: 100%;
  }

  .result-ok .perks-wrap {
    height: auto;
    padding-bottom: 40px;
  }

  .result-alt .perks {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
}

@media (max-width: 760px) {
  #Politica .modal-dialog {
    width: min(100% - 32px, 620px);
  }

  #Politica .modal-content {
    border-radius: 20px;
  }

  #Politica .modal-header {
    padding: 22px 20px 16px;
  }

  #Politica .modal-title {
    font-size: 21px;
    line-height: 28px;
  }

  #Politica .close {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    margin-left: 12px;
  }

  #Politica .modal-body {
    padding: 18px 20px 0;
  }

  #Politica .modal-inner-content {
    max-height: 52vh;
    padding-right: 10px;
    font-size: 13px;
    line-height: 20px;
  }

  #Politica .modal-inner-content p {
    margin-bottom: 12px;
  }

  #Politica .modal-inner-content p:has(> b:only-child) {
    margin-top: 20px;
    font-size: 15px;
    line-height: 22px;
  }

  #Politica .modal-footer {
    padding: 18px 20px 22px;
  }

  #Politica .modal-footer .btn {
    height: 50px;
    font-size: 14px;
  }

  .lp-wrap,
  .topbar-in {
    width: min(100% - 32px, 620px);
  }

  .topbar {
    height: 80px;
    flex-basis: 80px;
  }

  .brand {
    width: 180px;
    height: 48px;
  }

  .topbar-step {
    min-width: auto;
    height: 34px;
    padding-inline: 13px;
    font-size: 12px;
  }

  .quiz-stage,
  .quiz[data-step="1"] .quiz-stage {
    min-height: 0;
    padding-block: 32px 48px;
  }

  .quiz[data-step="1"] .quiz-stage::before {
    top: 100px;
    width: 430px;
    height: 430px;
  }

  .hero {
    width: 100%;
  }

  .hero-logo {
    margin-bottom: 28px;
  }

  .hero-title {
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.1;
  }

  .quiz-box,
  .quiz[data-step="1"] .quiz-box {
    width: 100%;
    padding: 28px 24px;
    border-radius: 20px;
    transform: none;
  }

  .quiz-form,
  .step {
    gap: 24px;
  }

  .stepbar {
    height: auto;
    gap: 14px;
  }

  .progress-track {
    width: auto;
    flex: 1;
    gap: 7px;
  }

  .progress-label {
    font-size: 12px;
  }

  .step-heading {
    font-size: 21px;
    line-height: 1.3;
  }

  .step-info {
    align-items: flex-start;
    padding: 12px 14px;
  }

  .option {
    padding-inline: 15px;
  }

  .option:has(.option-input:checked) {
    padding-inline: 14px;
  }

  .option-text {
    font-size: 14px;
    line-height: 20px;
  }

  .actions,
  .quiz[data-step="1"] .actions {
    gap: 18px;
  }

  .actions-row {
    gap: 12px;
  }

  .button {
    height: 50px;
    min-height: 50px;
    flex-shrink: 0;
    padding-inline: 16px;
    font-size: 14px;
  }

  .btn-back {
    width: 120px;
  }

  .btn-main,
  .quiz[data-step="5"] .btn-main {
    width: auto;
    flex: 1;
  }

  .quiz[data-step="5"] .btn-main {
    line-height: 18px;
    white-space: normal;
  }

  .safe p {
    font-size: 12px;
  }

  #section-ads,
  body:has(.result) #section-ads {
    height: 68px;
    flex-basis: 68px;
  }

  .result-hero-split .result-title {
    font-size: clamp(42px, 13vw, 58px);
  }

  .result-subtitle {
    font-size: 20px;
  }

  .perks,
  .result-alt .perks {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 22px;
  }

  .result-alt .perks {
    row-gap: 16px;
    padding-block: 28px;
  }

  .feature {
    padding-block: 24px;
  }

  .feature + .feature {
    border-top: 1px solid rgba(0, 0, 0, 0.18);
    border-left: 0;
  }

  .result-alt .result-main {
    min-height: 0;
    padding-block: 24px 40px;
  }

  .result-bot-center {
    width: min(100%, 478px);
    height: auto;
  }

  .result-hero-center .result-title {
    font-size: 32px;
    line-height: 1.25;
  }

  .result-hero-center .result-copy {
    gap: 10px;
  }
}

@media (max-width: 460px) {
  .topbar-step {
    max-width: 92px;
  }

  .brand {
    width: 158px;
    height: 42px;
  }

  .quiz-box,
  .quiz[data-step="1"] .quiz-box {
    padding-inline: 18px;
  }

  .progress-label {
    display: none;
  }

  .step-info p {
    font-size: 12px;
  }

  .terms {
    align-items: flex-start;
  }

  .btn-back {
    width: 104px;
  }

  .button .material-symbols-sharp {
    font-size: 16px;
  }

  .quiz[data-step="5"] .actions-row {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .quiz[data-step="5"] .btn-back,
  .quiz[data-step="5"] .btn-main {
    width: 100%;
    height: 50px;
    min-height: 50px;
    flex: 0 0 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
