@font-face {
  font-family: Firs;
  src: url("/wp-content/themes/smartzaym/credexa-online-assets/releases/crd65-green-v2-20261113/fonts/TTFirsNeue-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Firs;
  src: url("/wp-content/themes/smartzaym/credexa-online-assets/releases/crd65-green-v2-20261113/fonts/TTFirsNeue-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
:root {
  --purple: #732da9;
  --purple-light: #f1eaf6;
  --text: #282b40;
  --muted: #6a6b78;
  --surface: #f9f9f9;
  --field: #f2f2f2;
  --line: #d4d5d9;
  --gap: 12px;
  --radius: 16px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  font:
    400 15px/20px Firs,
    sans-serif;
  color: var(--text);
  background: white;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  border: 0;
}
a {
  color: var(--purple);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a.primary:hover {
  text-decoration: none;
}
button:disabled {
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #55cbb3;
  outline-offset: 3px;
}
p,
h1,
h2,
h3,
fieldset,
dl,
dd {
  margin: 0;
}
h1,
h2,
h3,
strong,
legend,
.medium {
  font-weight: 500;
}
h1 {
  font-size: 56px;
  line-height: 64px;
  letter-spacing: -1.12px;
}
h2 {
  font-size: 40px;
  line-height: 44px;
  letter-spacing: -0.8px;
}
h3 {
  font-size: 20px;
  line-height: 26px;
}
small,
.small {
  font-size: 13px;
  line-height: 18px;
}
small {
  display: block;
}
.muted {
  color: var(--muted);
}
.purple {
  color: var(--purple);
}
.container {
  width: min(100%, 1440px);
  margin: auto;
  padding-left: 108px;
  padding-right: 108px;
}
.section {
  padding-top: 64px;
  padding-bottom: 64px;
}
.section > h2,
.section > .container > h2 {
  margin-bottom: 24px;
}
.site-header {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  position: relative;
  width: 166.32px;
  height: 42px;
  display: block;
  flex-shrink: 0;
}
.brand-word {
  position: absolute;
  left: 0;
  top: 8.7px;
}
.brand-symbol {
  position: absolute;
  left: 129.93px;
  top: 3.36px;
}
.login {
  display: flex;
  align-items: center;
  min-height: 44px;
  width: 112px;
  font-weight: 500;
}
.primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 58px;
  padding: 16px 32px;
  border-radius: 16px;
  background: var(--purple);
  color: #fff;
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  text-align: center;
}
.primary:hover {
  background: #622491;
}
.primary:disabled {
  background: #b996d4;
  opacity: 0.4;
}
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 10px;
  background: #e6e6e6;
  color: var(--text);
  font-size: 16px;
  line-height: 20px;
}
.text-link {
  font-weight: 500;
}
.hero {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.hero-gradient {
  position: absolute;
  inset: 0 auto 0 0;
  width: 64.583%;
  background: linear-gradient(
    90deg,
    #fff,
    rgba(255, 255, 255, 0.98) 68%,
    transparent
  );
}
.hero-content {
  position: relative;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
  padding-top: 48px;
  padding-bottom: 48px;
}
.hero .primary {
  width: 320px;
}
.hero-content > p {
  max-width: 640px;
}
.calculator > h2 {
  margin-bottom: 32px;
}
.calculator > p {
  margin-bottom: 32px;
}
.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.calculator-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}
.range-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.range-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}
.range-heading label {
  color: var(--muted);
}
.range-heading output {
  font-weight: 500;
  font-size: 32px;
  line-height: 36px;
  letter-spacing: -0.64px;
}
.range-visual {
  height: 24px;
  position: relative;
}
.range-visual input {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  inset: -10px 0 auto 0;
  width: 100%;
  height: 44px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
.range-visual input::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(
    to right,
    var(--purple) 0 var(--range-fill),
    var(--purple-light) var(--range-fill) 100%
  );
}
.range-visual input::-moz-range-track {
  height: 4px;
  border-radius: 4px;
  background: var(--purple-light);
}
.range-visual input::-moz-range-progress {
  height: 4px;
  background: var(--purple);
}
.range-visual input::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 50%;
  background: var(--purple);
  margin-top: -6px;
}
.range-visual input::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 0;
  border-radius: 50%;
  background: var(--purple);
}
.range-bounds {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
}
.calculator fieldset {
  border: 0;
  padding: 0;
  min-width: 0;
}
.calculator legend {
  margin-bottom: 12px;
}
.radios {
  display: flex;
  gap: 12px;
}
.radios label {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  cursor: pointer;
}
.radios input {
  width: 22px;
  height: 22px;
  accent-color: var(--purple);
  margin: 0;
}
.calculator-result {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--purple-light);
  border-radius: 24px;
}
.payment {
  color: var(--purple);
  font-size: 40px;
  line-height: 44px;
  font-weight: 500;
  letter-spacing: -0.8px;
}
.calculator-result dl {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.calculator-result dl > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.calculator-result dt {
  color: var(--muted);
}
.calculator-result dd {
  font-weight: 500;
  text-align: right;
}
hr {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
  width: 100%;
}
.journey {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.journey article,
.faq article {
  background: var(--surface);
  padding: 24px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.conditions {
  background: var(--surface);
}
.conditions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.conditions article {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
}
.conditions > div > p {
  margin-bottom: 24px;
}
.eyebrow {
  color: var(--purple);
  font-weight: 500;
}
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.final-cta {
  background: #d3f2ee;
}
.final-cta .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.final-cta .container h2 {
  margin: 0;
}
.final-cta .primary {
  width: 310px;
}
.site-footer {
  background: var(--text);
  color: #a9aab2;
  padding: 48px 0;
  font-size: 13px;
  line-height: 18px;
}
.site-footer a {
  color: inherit;
  text-decoration: underline;
}
.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-columns {
  display: grid;
  grid-template-columns: 510fr 682fr;
  gap: 32px;
}
.footer-columns > div {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.mobile-sticky {
  display: none;
}
/* Registration reuses the approved filled input, primary and tertiary tokens. */
.registration-shell {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(40, 43, 64, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: auto;
}
.modal {
  background: #fff;
  border-radius: 24px;
  width: 640px;
  max-height: calc(100dvh - 48px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: none;
}
.modal-head {
  padding: 24px 32px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}
.modal-title {
  display: flex;
  gap: 12px;
  align-items: center;
}
.modal-title h2 {
  font-size: 32px;
  line-height: 36px;
  letter-spacing: -0.64px;
  flex: 1;
  min-width: 0;
}
.modal-title h2:focus {
  outline: none;
}
.name-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.name-block .manual-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-name-label {
  display: none;
}
.close {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: transparent;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.close img {
  display: block;
  width: 24px;
  height: 24px;
}
.progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--muted);
}
.progress span {
  padding-bottom: 8px;
  border-bottom: 3px solid var(--purple-light);
}
.progress span.passed {
  border-color: var(--purple);
}
.progress span.active {
  color: var(--purple);
}
.modal-body {
  padding: 0 32px;
  overflow: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}
.modal-body > *,
.modal-body form > * {
  flex-shrink: 0;
}
.modal-foot {
  padding: 16px 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.actions > .primary {
  flex: 1;
  min-width: 0;
}
.field-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  min-width: 0;
}
.field {
  min-height: 58px;
  display: flex;
  flex-direction: column;
  padding: 9px;
  height: 58px;
  justify-content: center;
  background: var(--field);
  border-radius: 8px;
  border: 1px solid transparent;
}
.field:focus-within {
  border-color: var(--purple);
}
.field > span {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}
.field input,
.field select {
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0;
  color: var(--text);
  width: 100%;
  min-width: 0;
  height: 22px;
}
.field input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.field select {
  cursor: pointer;
}
.field-error {
  border-color: #c43845;
}
.error-text {
  font-size: 13px;
  line-height: 18px;
  color: #b42839;
}
.error-banner {
  background: #fff1f2;
  color: #b42839;
  padding: 12px;
  border-radius: 8px;
}
.name-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
}
.check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  cursor: pointer;
  color: var(--muted);
}
.check input {
  appearance: none;
  margin: 0;
  width: 24px;
  height: 24px;
  border: 1px solid var(--muted);
  border-radius: 4px;
  background: var(--surface);
  flex-shrink: 0;
  display: grid;
  place-content: center;
}
.check input:checked {
  background: var(--purple);
  border-color: var(--purple);
}
.check input:checked:after {
  content: "✓";
  color: white;
  font-size: 20px;
}
.check.small {
  font-size: 13px;
  line-height: 18px;
}
.name-manual {
  background: none;
  padding: 0;
  text-align: left;
  color: var(--purple);
  font-size: 13px;
  line-height: 18px;
  align-self: flex-start;
}
.field-pair {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 16px;
}
.legal-links {
  font-size: 13px;
  line-height: 18px;
}
.photo-slot {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  padding: 12px;
  background: var(--surface);
}
.photo-slot > div {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.photo-slot .secondary {
  width: 96px;
  flex-shrink: 0;
}
.photo-slot small {
  color: var(--muted);
}
.legal-row {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}
.legal-row .secondary {
  width: 96px;
}
.full {
  width: 100%;
}
.button-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.photo-example {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 280px;
  overflow: hidden;
  background: var(--surface);
  border-radius: 16px;
}
.photo-example .passport-guide {
  height: 248px;
  width: 182.353px;
  object-fit: contain;
}
.photo-example .selfie-guide {
  width: 576px;
  height: 280px;
  max-width: 100%;
  object-fit: contain;
}
.camera-stage {
  position: relative;
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  height: 320px;
}
.camera-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.camera-stage .camera-frame {
  position: absolute;
  inset: 24px 25%;
  border: 2px solid white;
  border-radius: 8px;
  box-shadow: 0 0 0 100px rgba(40, 43, 64, 0.2);
  pointer-events: none;
}
.camera-stage.selfie .camera-frame {
  inset: 16px 30% 85px;
  border-radius: 50%;
}
.photo-preview {
  width: 100%;
  height: 300px;
  object-fit: contain;
  background: var(--surface);
  border-radius: 16px;
}
.test-note {
  padding: 12px 24px;
  background: #fff7de;
  color: var(--text);
  font-size: 13px;
  line-height: 18px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.otp-field {
  font-size: 24px;
  letter-spacing: 8px;
  text-align: center;
}
.saved-message {
  padding: 16px 0;
}
.registration-background {
  min-height: 100dvh;
}
.field-wrap input:focus-visible,
.field-wrap select:focus-visible {
  outline: none;
}
@media (max-width: 1100px) and (min-width: 768px) {
  .container {
    padding-left: 48px;
    padding-right: 48px;
  }
  .calculator-grid {
    gap: 24px;
  }
  .radios {
    flex-wrap: wrap;
  }
  .journey {
    gap: 12px;
  }
  .payment {
    font-size: 32px;
    line-height: 36px;
  }
  .range-heading output {
    font-size: 28px;
  }
}
@media (max-width: 767px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
  .section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  h1 {
    font-size: 36px;
    line-height: 36px;
    letter-spacing: -0.72px;
  }
  h2 {
    font-size: 28px;
    line-height: 32px;
    letter-spacing: -0.56px;
  }
  h3 {
    font-size: 17px;
    line-height: 22px;
  }
  .site-header {
    height: 88px;
  }
  .login {
    width: 96px;
    justify-content: flex-end;
  }
  .hero {
    min-height: 429px;
    align-items: flex-start;
    padding-bottom: 163px;
  }
  .hero-content {
    padding-top: 28px;
    padding-bottom: 0;
  }
  .hero-content > p {
    font-size: 15px;
    line-height: 20px;
  }
  .hero .primary {
    width: 100%;
  }
  .hero-image {
    top: auto;
    bottom: 0;
    height: 163px;
    width: 100%;
    object-fit: cover;
  }
  .hero-gradient {
    inset: auto 0 127px;
    width: 100%;
    height: 90px;
    background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0));
  }
  .calculator-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .range-heading output {
    font-size: 23px;
    line-height: 28px;
    letter-spacing: -0.46px;
  }
  .payment {
    font-size: 28px;
    line-height: 32px;
    letter-spacing: -0.56px;
  }
  .radios {
    flex-direction: column;
    gap: 12px;
  }
  .calculator-result {
    padding: 24px;
  }
  .calculator-result dt {
    max-width: 65%;
  }
  .journey,
  .conditions-grid,
  .footer-columns {
    grid-template-columns: 1fr;
  }
  .journey {
    gap: 12px;
  }
  .conditions-grid {
    gap: 24px;
  }
  .site-footer nav {
    flex-direction: column;
    gap: 24px;
  }
  .final-cta .primary {
    width: 100%;
  }
  .site-footer {
    padding: 40px 0 112px;
  }
  .mobile-sticky {
    position: fixed;
    z-index: 5;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    padding: 12px 24px max(12px, env(safe-area-inset-bottom));
    background: white;
    border-top: 1px solid var(--line);
  }
  .registration-shell {
    padding: 64px 12px 12px;
    align-items: flex-start;
  }
  .modal {
    width: 100%;
    max-width: 420px;
    max-height: calc(100dvh - 76px);
  }
  .modal-head {
    padding: 20px 24px 12px;
  }
  .modal-title h2 {
    font-size: 23px;
    line-height: 28px;
    letter-spacing: -0.46px;
  }
  .modal-body {
    padding: 0 24px;
  }
  .modal-foot {
    padding: 16px 24px 24px;
  }
  .field-pair {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .name-heading {
    gap: 4px;
  }
  .name-heading > .medium {
    font-size: 15px;
    line-height: 20px;
  }
  .desktop-name-label {
    display: none;
  }
  .mobile-name-label {
    display: inline;
  }
  .name-heading .check {
    gap: 6px;
  }
  .name-heading .check.small {
    font-size: 13px;
    white-space: nowrap;
  }
  .photo-slot .medium {
    font-size: 15px;
    line-height: 20px;
  }
  .photo-example .selfie-guide {
    width: 100%;
    height: auto;
  }
  .test-note {
    padding: 12px 24px;
  }
  .registration-background .hero {
    min-height: calc(100dvh - 88px);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media(max-width:767px){body:has(.mobile-sticky) jdiv:is(.__jivoMobileButton,.__jivoDesktopButton){bottom:calc(95px + env(safe-area-inset-bottom,0px))!important}body.credexa-chat-open .mobile-sticky{display:none}}
