.test-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.free-test-hero { overflow: hidden; }

.free-test-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 880px);
  gap: 0;
  align-items: center;
}

.free-test-hero .section-heading { margin: 0; }
.free-test-hero .section-heading > p:last-of-type { max-width: 680px; }
.free-test-hero .accent { color: var(--violet); }
.free-test-hero h1 { hyphens: none; word-break: normal; }

.free-test-card,
.free-test-result {
  overflow: hidden;
  border: 1px solid rgba(79, 62, 92, .16);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.free-test-card { padding: clamp(24px, 5vw, 58px); }

.free-test-intro {
  display: grid;
  grid-template-columns: 1fr minmax(210px, 280px);
  gap: 32px;
  align-items: end;
  padding-bottom: 28px;
}

.free-test-intro h2 { margin-bottom: 12px; font-size: clamp(2.3rem, 5vw, 4.3rem); }
.free-test-intro p:last-child { margin: 0; color: var(--text); }

.test-progress { display: grid; gap: 8px; }
.test-progress > span { color: var(--plum); font-size: .86rem; font-weight: 500; text-align: right; }
.test-progress > div { height: 8px; overflow: hidden; border-radius: 99px; background: var(--cream-2); }
.test-progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--orange); transition: width .24s ease; }

.free-test-card fieldset {
  margin: 0;
  padding: clamp(26px, 4vw, 42px) 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.free-test-card legend {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  margin-bottom: 17px;
  padding: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.25;
}

.free-test-card legend > span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  font-size: .8rem;
}

.test-options { display: grid; gap: 12px; }
.room-options { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.temperature-options { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.text-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.compact-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.accent-options { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.question-help {
  margin: -7px 0 15px;
  color: var(--text);
  font-size: .86rem;
}

.test-options button {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(79, 62, 92, .24);
  border-radius: 15px;
  background: #fff;
  color: var(--plum);
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.test-options button:hover,
.test-options button:focus-visible,
.test-options button[aria-pressed="true"] {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(118, 89, 196, .14);
}

.test-options button[aria-pressed="true"]::after {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 11px;
  height: 11px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 1px rgba(79, 62, 92, .18);
  content: "";
}

@media (hover: hover) {
  .test-options button:hover { transform: translateY(-2px); }
}

.room-options button {
  display: grid;
  min-height: 118px;
  gap: 10px;
  place-items: center;
  padding: 18px 12px;
}

.test-options svg,
.button svg,
.result-points svg,
.paid-test-promise > svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.room-options svg { width: 31px; height: 31px; color: var(--orange); }

.temperature-options button { display: grid; grid-template-rows: 92px auto; padding: 0 0 18px; }
.temperature-options strong { padding: 15px 12px 0; }
.choice-palette { display: flex; width: 100%; height: 100%; }
.choice-palette i { flex: 1; }

.question-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); }
.question-pair fieldset { min-width: 0; }

.text-options button {
  display: grid;
  min-height: 100px;
  gap: 4px;
  align-content: center;
  padding: 18px;
  text-align: left;
}

.text-options small { color: var(--text); line-height: 1.35; }

.compact-options button {
  display: grid;
  min-height: 84px;
  gap: 6px;
  place-items: center;
  padding: 14px 10px;
}

.compact-options svg { width: 22px; height: 22px; color: var(--orange); }
.compact-options button:nth-child(1) svg { opacity: .42; }
.compact-options button:nth-child(2) svg { opacity: .7; }

.accent-options button {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 62px;
  padding: 10px;
  text-align: left;
}

.accent-options i { width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(47, 40, 51, .12); }
.accent-options button > span { display: grid; gap: 2px; min-width: 0; }
.accent-options small { color: var(--text); font-size: .72rem; line-height: 1.2; }

.test-submit-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.test-submit-area p { margin: 0; color: var(--text); }
.test-submit-area .button { gap: 9px; }
.test-submit-area .button svg,
.result-actions .button svg { width: 19px; height: 19px; }
.test-submit-area .button:disabled { cursor: not-allowed; opacity: .42; transform: none; box-shadow: none; }

.free-test-result {
  display: grid;
  grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr);
}

.free-test-result[hidden] { display: none; }
.result-palette { display: flex; min-height: 720px; }
.result-palette span { min-width: 0; flex: 1; }
.result-palette span:first-child { flex: 3; }
.result-palette span:nth-child(2) { flex: 1.5; }

.result-content { align-self: center; padding: clamp(28px, 5vw, 64px); }
.result-content h2 { max-width: 680px; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.result-content > p:not(.eyebrow) { color: var(--text); font-size: 1.08rem; }

.result-points { margin: 25px 0; padding: 0; list-style: none; }
.result-points li { display: flex; gap: 10px; align-items: flex-start; margin: 9px 0; }
.result-points svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 3px; color: #55715c; stroke-width: 2.4; }

.result-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.result-actions .button { gap: 8px; }
.text-button { padding: 8px 2px; border: 0; background: transparent; color: var(--plum); cursor: pointer; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }

.profile-invite {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.profile-invite .form-heading h3 { margin-bottom: 8px; font-size: clamp(1.65rem, 3vw, 2.4rem); }
.profile-invite .form-heading > p:last-child { margin: 0; color: var(--text); }

.profile-request-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 25px;
}

.profile-request-form fieldset {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.profile-request-form legend {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-bottom: 15px;
  padding: 0;
  color: var(--plum);
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.3;
}

.profile-request-form legend > span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  font-size: .72rem;
}

.depth-options { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.depth-options button {
  display: grid;
  min-height: 94px;
  gap: 4px;
  align-content: center;
  padding: 13px;
  text-align: left;
}
.depth-options small { color: var(--text); line-height: 1.3; }

.material-options {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  grid-auto-rows: 1fr;
}
.material-options button {
  display: grid;
  min-height: 76px;
  gap: 8px;
  align-items: center;
  grid-template-columns: 30px minmax(0, 1fr);
  padding: 11px;
  text-align: left;
}
.material-options i {
  width: 30px;
  height: 46px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(47, 40, 51, .14);
}
.material-options strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.profile-request-form > label,
.profile-identity-fields label {
  display: grid;
  gap: 8px;
  color: var(--plum);
  font-weight: 500;
}

.profile-request-form label > span > small { color: var(--text); font-weight: 400; }

.profile-request-form input[type="text"],
.profile-request-form input[type="email"] {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(79, 62, 92, .25);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 11px 13px;
}

.profile-request-form input:focus-visible {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(118, 89, 196, .14);
  outline: 0;
}

.profile-request-form .full-field,
.profile-identity-fields,
.profile-request-form .consent-field,
.profile-request-form .privacy-note,
.profile-submit-row { grid-column: 1 / -1; }

.disliked-colour-fieldset > p {
  margin: -5px 0 14px;
  color: var(--text);
  font-size: .9rem;
}

.disliked-colour-fieldset legend small {
  color: var(--text);
  font-family: "Archivo Narrow", Arial, sans-serif;
  font-size: .78rem;
  font-weight: 400;
}

.no-go-options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.no-go-options label {
  position: relative;
  display: block;
  cursor: pointer;
}

.no-go-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.no-go-options span {
  display: block;
  padding: 9px 13px;
  border: 1px solid rgba(79, 62, 92, .25);
  border-radius: 999px;
  background: #fff;
  color: var(--plum);
  font-size: .84rem;
  font-weight: 500;
  line-height: 1.2;
}

.no-go-options input:focus-visible + span,
.no-go-options input:checked + span {
  border-color: var(--violet);
  background: rgba(118, 89, 196, .1);
  box-shadow: 0 0 0 3px rgba(118, 89, 196, .12);
}

.disliked-colour-fieldset .colour-conflict {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f6ddcf;
  color: #6f342f;
  font-weight: 600;
}

.profile-identity-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.profile-request-form .consent-field {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: .9rem;
  font-weight: 400;
  line-height: 1.45;
}

.profile-request-form .consent-field input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--violet);
}

.profile-request-form .marketing-consent {
  margin-top: -2px;
  padding: 18px;
  border: 2px solid var(--orange);
  border-radius: 15px;
  background: #fff4ec;
  cursor: pointer;
}

.profile-request-form .marketing-consent > span { display: grid; gap: 5px; }
.profile-request-form .marketing-consent strong { color: var(--plum); font-size: 1rem; line-height: 1.3; }
.profile-request-form .marketing-consent small { color: var(--text); font-size: .82rem; line-height: 1.42; }

.privacy-note {
  margin: -2px 0 0;
  color: var(--text);
  font-size: .8rem;
  line-height: 1.45;
}

.privacy-note a { color: var(--plum); font-weight: 600; }

.profile-submit-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.profile-submit-row p { margin: 0; color: var(--text); font-size: .92rem; }
.profile-submit-row .button { flex: 0 0 auto; }
.profile-submit-row .button:disabled { cursor: not-allowed; opacity: .48; }

.profile-request-success {
  margin-top: 25px;
  padding: 24px;
  border-radius: 16px;
  background: var(--green);
}
.profile-request-success h3 { margin-bottom: 8px; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.profile-request-success p { margin: 7px 0 0; color: #405142; }
.profile-request-success[hidden] { display: none; }

.profile-personal-route { margin: 20px 0 0; color: var(--text); font-size: .94rem; }
.profile-personal-route a { color: var(--plum); font-weight: 600; }
.colour-result-visible .mobile-cta { display: none; }
.colour-test-started .mobile-cta[data-sticky-kind="kleurentest"],
.colour-test-ready .mobile-cta[data-sticky-kind="kleurentest"] { display: none; }

.paid-test-promise {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(280px, .8fr);
  gap: 28px;
  align-items: start;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 26px;
  background: var(--green);
}

.paid-test-promise > svg { width: 54px; height: 54px; padding: 12px; border-radius: 50%; background: var(--plum); color: var(--cream); }
.paid-test-promise h2 { margin-bottom: 0; font-size: clamp(2.2rem, 4vw, 4rem); }
.paid-test-promise ul { margin: 4px 0 0; padding: 0; list-style: none; }
.paid-test-promise li { margin: 0 0 10px; padding-left: 25px; color: #405142; }
.paid-test-promise li::before { margin-left: -25px; margin-right: 10px; content: "✓"; font-weight: 700; }

@media (max-width: 920px) {
  .free-test-hero-grid,
  .free-test-result { grid-template-columns: 1fr; }
  .temperature-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .room-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .result-palette { min-height: 270px; }
  .paid-test-promise { grid-template-columns: 54px 1fr; }
  .paid-test-promise ul { grid-column: 2; }
  .depth-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .free-test-hero {
    padding-top: 18px;
    padding-bottom: 16px;
  }
  #kleurentest-start.section-tight { padding-top: 14px; }
  .free-test-intro,
  .question-pair { grid-template-columns: 1fr; gap: 0; }
  .free-test-intro { padding-bottom: 14px; }
  .free-test-intro h2 { margin-bottom: 4px; font-size: 2rem; }
  .free-test-intro p:last-child { display: none; }
  .test-progress { margin-top: 10px; }
  .test-progress > span { text-align: left; }
  .temperature-options { grid-template-columns: 1fr; }
  .temperature-options button { grid-template-columns: 1.1fr 1fr; grid-template-rows: 84px; align-items: center; padding: 0 14px 0 0; text-align: left; }
  .temperature-options strong { padding: 0 0 0 14px; }
  .accent-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .test-submit-area { align-items: stretch; flex-direction: column; }
  .test-submit-area .button { width: 100%; }
  .result-actions { align-items: stretch; flex-direction: column; }
  .result-actions .button { width: 100%; }
  .profile-request-form,
  .profile-identity-fields { grid-template-columns: 1fr; }
  .profile-submit-row { align-items: stretch; flex-direction: column; }
  .profile-submit-row .button { width: 100%; }
}

@media (max-width: 520px) {
  .free-test-hero h1 { font-size: clamp(2.2rem, 10.7vw, 3rem); }
  .free-test-hero .page-intro { font-size: .96rem; line-height: 1.4; }
  .free-test-hero .trust-row { gap: 8px 14px; }
  .free-test-card { padding: 20px 18px 24px; border-radius: 20px; }
  .room-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compact-options { grid-template-columns: 1fr; }
  .accent-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .depth-options { grid-template-columns: 1fr; }
  .paid-test-promise { grid-template-columns: 1fr; }
  .paid-test-promise > svg { display: none; }
  .paid-test-promise ul { grid-column: auto; }
}
