/* ── Interactions (desktop-safe + mobile enhanced) ── */

/* Buttons & CTAs — filter only on desktop to avoid breaking absolute layout */
.interactive-btn,
.calculator-btn,
.link,
.link2,
.link3,
.link4,
.link5,
.link7,
.link9,
.input2,
.nav-toggle {
  cursor: pointer;
  transition:
    filter 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.interactive-btn:hover,
.calculator-btn:hover,
.link:hover,
.link2:hover,
.link3:hover,
.link4:hover,
.link5:hover,
.input2:hover {
  filter: brightness(1.08);
}

.interactive-btn:active,
.calculator-btn:active,
.link:active,
.link2:active,
.link3:active,
.link4:active,
.link5:active,
.input2:active,
.interactive-btn.is-pressed,
.calculator-btn.is-pressed {
  filter: brightness(0.92);
}

.interactive-btn:focus-visible,
.calculator-btn:focus-visible,
.loan-type-card:focus-visible,
.service-card:focus-visible,
.interactive-link:focus-visible {
  outline: 2px solid rgba(229, 190, 1, 0.75);
  outline-offset: 3px;
}

/* Loan & service cards — selection via shadow/filter on desktop */
.loan-type-card,
.service-card {
  cursor: pointer;
  transition: box-shadow 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.loan-type-card.is-selected {
  box-shadow:
    0 0 0 2px rgba(229, 190, 1, 0.9),
    0 8px 28px rgba(0, 0, 0, 0.4);
  filter: brightness(1.12);
  z-index: 3;
}

.service-card.is-active {
  box-shadow:
    0 0 0 2px rgba(229, 190, 1, 0.65),
    0 8px 24px rgba(0, 0, 0, 0.35);
  filter: brightness(1.06);
}

.interactive-link {
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.interactive-link:hover {
  opacity: 0.8;
}

/* Header nav — cream labels so they stay readable on navy */
.frame-nav .link-home,
.frame-nav .button-menu-pages,
.frame-nav .button-menu-more-pages,
.frame-nav .button-menu-information,
.frame-nav .button-menu-information2,
.frame-nav .button-menu-information3,
.frame-nav .button-menu-information4,
.frame-nav .button-menu-information5 {
  cursor: pointer;
  color: #fefaf3;
  -webkit-text-fill-color: #fefaf3;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.frame-nav .link-home:hover,
.frame-nav .button-menu-pages:hover,
.frame-nav .button-menu-information3:hover,
.frame-nav .button-menu-information4:hover,
.frame-nav .button-menu-information5:hover,
.frame-nav .nav-dropdown-trigger:hover .nav-dropdown-trigger-head span {
  background-image: var(--gold-texture);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 1;
}

/* Footer links */
.footer-links-grid > div,
.section .link-home-1,
.section .link-home-2,
.section .link-home-3,
.section .link-features-1,
.section .link-features-2,
.section .link-features-3,
.section .link-pricing,
.section .link-customers,
.section .link-about-1,
.section .link-about-2,
.section .link-about-3,
.section .link-request-demo,
.section .link-blog,
.section .link-contact,
.section .link-privacy,
.section .link-disclaimer,
.section .link-terms,
.section .link-linkedin,
.section .link-bluesky,
.section .link-instagram,
.section .link-x-twitter {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

/* Footer links — dark hover/active on gold background */
.footer-links-grid > div:hover,
.section .link-home-1:hover,
.section .link-home-2:hover,
.section .link-home-3:hover,
.section .link-features-1:hover,
.section .link-features-2:hover,
.section .link-features-3:hover,
.section .link-pricing:hover,
.section .link-customers:hover,
.section .link-about-1:hover,
.section .link-about-2:hover,
.section .link-about-3:hover,
.section .link-request-demo:hover,
.section .link-blog:hover,
.section .link-contact:hover,
.section .link-privacy:hover,
.section .link-disclaimer:hover,
.section .link-terms:hover,
.section .link-linkedin:hover,
.section .link-bluesky:hover,
.section .link-instagram:hover,
.section .link-x-twitter:hover {
  color: #12121d !important;
  opacity: 1;
  font-weight: 500;
}

.frame-nav .nav-link-active {
  color: #e5be01 !important;
}

.footer-links-grid > div.nav-link-active,
.section .link-home-1.nav-link-active,
.section .link-home-2.nav-link-active,
.section .link-home-3.nav-link-active,
.section .link-features-1.nav-link-active,
.section .link-features-2.nav-link-active,
.section .link-features-3.nav-link-active,
.section .link-pricing.nav-link-active,
.section .link-customers.nav-link-active,
.section .link-about-1.nav-link-active,
.section .link-about-2.nav-link-active,
.section .link-about-3.nav-link-active,
.section .link-request-demo.nav-link-active,
.section .link-blog.nav-link-active,
.section .link-contact.nav-link-active,
.section .link-privacy.nav-link-active,
.section .link-disclaimer.nav-link-active,
.section .link-terms.nav-link-active,
.section .link-linkedin.nav-link-active,
.section .link-bluesky.nav-link-active,
.section .link-instagram.nav-link-active,
.section .link-x-twitter.nav-link-active {
  color: #0b132b !important;
  font-weight: 600;
}

/* Calculator inputs */
.calc-control {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #e0e0e0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.2;
  outline: none;
  box-sizing: border-box;
}

.calc-control::placeholder {
  color: rgba(224, 224, 224, 0.45);
  font-size: 16px;
}

.calculator-input {
  transition: box-shadow 0.2s ease;
}

.calculator-input:focus-within {
  box-shadow: 0 0 0 2px rgba(229, 190, 1, 0.45);
}

.calculator-input--select {
  padding: 0 10px !important;
}

.calculator-input--select.is-custom-select {
  overflow: visible;
}

.calculator-input--select.is-open {
  z-index: 8;
}

.calc-select {
  appearance: none;
  cursor: pointer;
  height: 100%;
  padding: 0 24px 0 0 !important;
  color: #fefaf3;
  background-color: transparent;
  color-scheme: dark;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23e5be01' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}

.calc-select option {
  background-color: #0b132b;
  color: #fefaf3;
}

.calc-select--native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.calc-dropdown {
  position: relative;
  z-index: 2;
  flex: 1;
  width: 100%;
  height: 100%;
}

.calc-dropdown__btn {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 28px 0 0;
  border: 0;
  background: transparent;
  color: #fefaf3;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23e5be01' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
}

.calc-dropdown__menu {
  position: absolute;
  left: -10px;
  right: -10px;
  top: calc(100% + 8px);
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #080e1e;
  border: 1px solid rgba(229, 190, 1, 0.45);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  z-index: 30;
}

.calc-dropdown__menu[hidden] {
  display: none;
}

.calc-dropdown__menu [role="option"] {
  padding: 10px 16px;
  color: #e0e0e0;
  font-family: var(--font-body);
  font-size: 15px;
  cursor: pointer;
}

.calc-dropdown__menu [role="option"]:hover {
  background: rgba(229, 190, 1, 0.12);
  color: #fefaf3;
}

.calc-dropdown__menu [role="option"][aria-selected="true"] {
  background: rgba(229, 190, 1, 0.2);
  color: #e5be01;
}

.calc-affix {
  flex-shrink: 0;
  color: rgba(224, 224, 224, 0.75);
  font-size: 16px;
  line-height: 1;
  padding: 0;
}

.calc-affix--suffix {
  color: rgba(224, 224, 224, 0.65);
  font-size: 16px;
  white-space: nowrap;
}

/* Summary animation — safe on desktop (inside calculator panel) */
.calculator-panel--summary.is-updated {
  animation: summaryPulse 0.55s ease;
}

.calculator-panel--summary.is-updated ._0-weekly {
  animation: countPop 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes summaryPulse {
  0% { box-shadow: 0 0 0 0 rgba(229, 190, 1, 0.35); }
  70% { box-shadow: 0 0 0 12px rgba(229, 190, 1, 0); }
  100% { box-shadow: 0 0 0 0 rgba(229, 190, 1, 0); }
}

@keyframes countPop {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

/* Ripple — do not override position; breaks AutoHTML absolute buttons */
.ripple-host {
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(229, 190, 1, 0.35);
  transform: scale(0);
  animation: rippleAnim 0.55s ease-out forwards;
  pointer-events: none;
}

@keyframes rippleAnim {
  to { transform: scale(2.8); opacity: 0; }
}

/* Toast */
.app-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  z-index: 9999;
  max-width: min(90vw, 420px);
  padding: 14px 22px;
  border-radius: 10px;
  background: rgba(5, 9, 21, 0.96);
  border: 1px solid rgba(229, 190, 1, 0.45);
  color: #e0e0e0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.app-toast.is-showing {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.footer-email-input {
  width: 100%;
  height: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: none;
  background: transparent;
  color: #12121d;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  outline: none;
}

.footer-email-input::placeholder {
  color: rgba(0, 0, 0, 0.45);
}

.section .input:focus-within {
  box-shadow: 0 0 0 2px rgba(229, 190, 1, 0.4);
}

/* ── Motion — premium fintech feel (engaging, not gimmicky) ── */
:root {
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-duration: 0.7s;
  --motion-distance: 22px;
}

/* Parallax */
.motion-parallax,
.motion-hero-media {
  transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0);
  will-change: transform;
}

/* Hero load sequence */
.motion-hero-item {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
}

body.motion-ready .motion-hero-item {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.65s var(--motion-ease),
    transform 0.65s var(--motion-ease);
  transition-delay: var(--motion-delay, 0s);
}

.motion-hero-logo {
  opacity: 0;
  transform: scale(0.96) translate3d(0, 16px, 0);
}

body.motion-ready .motion-hero-logo {
  opacity: 1;
  transform: scale(1) translate3d(0, 0, 0);
  transition:
    opacity 0.8s var(--motion-ease),
    transform 0.8s var(--motion-ease);
  transition-delay: var(--motion-delay, 0s);
}

.motion-hero-media {
  opacity: 0;
  transform: translate3d(32px, 36px, 0);
}

body.motion-ready .motion-hero-media {
  opacity: 1;
  transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0);
  transition:
    opacity 0.85s var(--motion-ease),
    transform 0.85s var(--motion-ease);
  transition-delay: var(--motion-delay, 0s);
}

/* Hero image carousel — full-bleed background */
.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-carousel__viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 0;
}

.hero-carousel__track {
  position: absolute;
  inset: 0;
}

.hero-carousel__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 0;
  transition: opacity 1.4s ease-in-out;
  will-change: opacity;
  backface-visibility: hidden;
}

.hero-carousel__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-carousel__slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  pointer-events: none;
  user-select: none;
  transform: translateZ(0);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--color-bg-dark) 90%, transparent) 0%,
      color-mix(in srgb, var(--color-bg-dark) 72%, transparent) 22%,
      color-mix(in srgb, var(--color-bg-dark) 40%, transparent) 42%,
      color-mix(in srgb, var(--color-bg-dark) 12%, transparent) 56%,
      transparent 72%
    ),
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--color-bg-dark) 32%, transparent) 0%,
      transparent 24%
    );
}

/* Mobile-only card gallery under home hero copy — hidden on desktop */
.hero-mobile-gallery {
  display: none;
}

/* Lender logo carousel */
.logo-carousel {
  position: relative;
  width: 100%;
}

.logo-carousel__viewport {
  overflow: hidden;
  width: 100%;
  padding: 8px 0;
  box-sizing: border-box;
  background: transparent;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 7%,
    #000 93%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 7%,
    #000 93%,
    transparent 100%
  );
}

.logo-carousel__track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  will-change: transform;
}

.logo-carousel__track.is-auto-scroll {
  animation: heroCarouselScroll var(--carousel-duration, 28s) linear infinite;
}

@keyframes heroCarouselScroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(calc(-1 * var(--carousel-loop-width, 1856px)), 0, 0); }
}

.logo-carousel__slide {
  position: relative;
  isolation: isolate;
  flex: 0 0 220px;
  width: 220px;
  height: 112px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 22px;
  box-sizing: border-box;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
}

.logo-carousel__slide::before {
  content: none;
}

.logo-carousel__slide img {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
  max-width: 176px;
  max-height: 68px;
  object-fit: contain;
  display: block;
  pointer-events: none;
  user-select: none;
  filter: brightness(0) invert(1);
}

@media (max-width: 1279px) {
  .section2 .hero-carousel,
  .section2 .hero-shade {
    position: absolute !important;
    inset: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    order: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    z-index: 0;
  }

  .section2 .hero-shade {
    z-index: 1;
  }

  .section2 .hero-carousel__viewport {
    mask-image: none;
    -webkit-mask-image: none;
    border-radius: 0;
    aspect-ratio: auto;
    height: 100%;
  }

  .section2 .hero-carousel__track {
    height: 100%;
  }

  .section2 .hero-carousel__slide {
    flex: none;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    box-shadow: none;
  }

  .section2 .hero-carousel__slide img {
    object-position: center;
  }

  .section2 .hero-carousel__slide--desktop-only {
    display: none !important;
  }

  .motion-hero-item,
  .motion-hero-logo,
  .motion-hero-media {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Testimonial carousel */
@media (min-width: 1280px) {
  .section6 .testimonial-carousel {
    position: absolute !important;
    left: 262px;
    right: 266px;
    top: 551px;
    z-index: 6;
    width: auto;
    height: auto;
  }
}

.testimonial-carousel__viewport {
  overflow: hidden;
  width: 100%;
}

@media (min-width: 1280px) {
  .testimonial-carousel__viewport {
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      #000 2.5%,
      #000 97.5%,
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      #000 2.5%,
      #000 97.5%,
      transparent 100%
    );
  }
}

.testimonial-carousel__track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  will-change: transform;
}

@media (min-width: 1280px) {
  .testimonial-carousel__track {
    gap: 24px;
  }
}

.testimonial-carousel__slide {
  display: flex;
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  height: 420px;
}

@media (min-width: 1280px) {
  .testimonial-carousel__slide {
    flex: 0 0 448px;
    width: 448px;
    height: 428px;
  }
}

.testimonial-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 22px 22px 20px;
  border: 1px solid transparent;
  border-radius: 20px;
  background:
    linear-gradient(#0a101f, #0a101f) padding-box,
    var(--gold-texture) center / cover border-box;
}

@media (min-width: 1280px) {
  .testimonial-card {
    padding: 22px 24px 20px;
  }
}

.testimonial-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex: 0 0 auto;
}

.testimonial-card__header-end {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 0 0 auto;
}

.testimonial-card__quote {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex: 0 0 auto;
}

.testimonial-card__stars {
  width: 86px;
  height: 16px;
  object-fit: contain;
  flex: 0 0 auto;
}

.testimonial-card__google-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  background:
    linear-gradient(#0a101f, #0a101f) padding-box,
    var(--gold-texture) center / cover border-box;
  color: #fefaf3;
  font-family: Inter, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.testimonial-card__google-pill img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.testimonial-card__text {
  margin: 0;
  color: #e0e0e0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  flex: 0 1 auto;
  min-height: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  overflow: hidden;
}

.testimonial-card__text.is-expanded {
  display: block;
  flex: 1 1 auto;
  -webkit-line-clamp: unset;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(229, 190, 1, 0.35) transparent;
}

.testimonial-card__read-more {
  align-self: flex-start;
  flex: 0 0 auto;
  margin: 10px 0 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  background-image: var(--gold-texture);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.testimonial-card__read-more:hover {
  opacity: 0.85;
}

.testimonial-card__read-more:focus-visible {
  outline: 2px solid rgba(229, 190, 1, 0.85);
  outline-offset: 3px;
}

@media (min-width: 1280px) {
  .testimonial-card__text {
    font-size: 17.6px;
    line-height: 1.45;
  }
}

.testimonial-card__footer {
  margin-top: auto;
  flex: 0 0 auto;
  padding-top: 16px;
}

.testimonial-card__identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 40px;
  border: 1px solid rgba(254, 250, 243, 0.28);
}

.testimonial-card__avatar--initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  background:
    linear-gradient(#121a2f, #121a2f) padding-box,
    var(--gold-texture) center / cover border-box;
}

.testimonial-card__initials-text {
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  background-image: var(--gold-texture);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.testimonial-card__meta {
  min-width: 0;
}

.testimonial-card__author {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: Inter, system-ui, sans-serif;
  font-size: 20px;
  font-weight: 500;
  font-style: normal;
  line-height: 1.3;
  background-image: var(--gold-texture);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.testimonial-card__role {
  display: block;
  color: #e0e0e0;
  font-size: 14px;
  line-height: 1.4;
  margin-top: 2px;
}

.testimonial-card__date {
  display: block;
  margin-top: 4px;
  color: rgba(224, 224, 224, 0.65);
  font-size: 15px;
  line-height: 1.4;
}

.testimonial-card__source {
  display: inline-block;
  margin-top: 6px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  background-image: var(--gold-texture);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.testimonial-card__source:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.testimonial-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: min(720px, 100%);
  margin: 28px auto 0;
  position: relative;
  z-index: 8;
  pointer-events: auto;
}

.testimonial-carousel__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  background: rgba(254, 250, 243, 0.35);
  transition:
    transform 0.3s var(--motion-ease),
    background 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.testimonial-carousel__dot::before {
  content: "";
  position: absolute;
  inset: -10px;
}

.testimonial-carousel__dot.is-active {
  background: var(--gold-texture) center / cover no-repeat;
  transform: scale(1.15);
}

.testimonial-carousel__dot:focus-visible {
  outline: 2px solid rgba(229, 190, 1, 0.85);
  outline-offset: 3px;
}

.section6 > .mobile-testimonial-card {
  display: none !important;
}

@media (max-width: 1279px) {
  .section6 .testimonial-carousel {
    order: 4;
    width: 100%;
    max-width: 480px;
    margin: 0 auto 24px;
    padding: 0 16px;
    box-sizing: border-box;
  }

  .section6 > .mobile-testimonial-card {
    display: none !important;
  }

  .testimonial-carousel__track {
    align-items: stretch;
  }

  .testimonial-carousel__slide {
    height: 400px;
  }

  .testimonial-card {
    min-height: 0;
  }

  .testimonial-card__text {
    flex: 0 1 auto;
    margin-bottom: 0;
    -webkit-line-clamp: 6;
  }

  .testimonial-card__text.has-read-more:not(.is-expanded) {
    margin-bottom: 0;
  }

  .testimonial-card__read-more {
    margin: 10px 0 0;
  }

  .testimonial-card__footer {
    margin-top: auto;
  }
}

/* Nav & sticky header */
.frame-spacer {
  display: none;
  pointer-events: none;
}

.frame {
  transition:
    background 0.45s var(--motion-ease),
    box-shadow 0.45s var(--motion-ease),
    backdrop-filter 0.45s ease,
    height 0.35s var(--motion-ease),
    border-color 0.35s ease;
}

.frame.is-scrolled {
  box-shadow:
    0 1px 0 rgba(229, 190, 1, 0.12),
    0 8px 32px rgba(0, 0, 0, 0.32);
  background: rgba(5, 9, 21, 0.94) !important;
}

@media (min-width: 1280px) {
  /* Glass backdrop — full viewport width bar that fades in behind the header */
  .frame-sticky-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: calc(88px * var(--fit-scale, calc(100vw / 1920)));
    z-index: 9999;
    pointer-events: none;
    background: rgba(5, 9, 21, 0.94);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    box-shadow: 0 1px 0 rgba(229, 190, 1, 0.24), 0 16px 48px rgba(0, 0, 0, 0.45);
    /* Start invisible, fade in smoothly when is-active is added */
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .frame-sticky-backdrop.is-active {
    display: block;
    opacity: 1;
  }

  /* When leaving, keep displayed until opacity fades to 0 */
  .frame-sticky-backdrop.is-leaving {
    display: block;
    opacity: 0;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 1, 1);
  }

  .frame-sticky-backdrop::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(229, 190, 1, 0.55) 50%,
      transparent
    );
  }

  /* Sticky frame: position:fixed still sits in the ancestor zoom tree in
     Chromium, so do not re-apply --fit-scale (that shrinks the bar twice). */
  html.is-scaled-fit ._1920-w-dark .frame.is-sticky,
  html.is-scaled-fit ._1920-w-dark.is-inner-page .frame.is-sticky,
  ._1920-w-dark.is-inner-page .frame.is-sticky,
  ._1920-w-dark .frame.is-sticky,
  .frame.is-sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: auto !important;
    width: 1920px !important;
    height: 88px !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 56px !important;
    box-sizing: border-box !important;
    z-index: 10000 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    zoom: 1 !important;
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }

  .frame-spacer.is-active {
    display: block;
  }


}

@media (max-width: 1279px) {
  .frame.is-scrolled {
    height: 54px !important;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.38);
    border-bottom-color: rgba(229, 190, 1, 0.24) !important;
  }

  .frame.is-scrolled .pathfyndr-11-1-photoroom-22 {
    height: 44px !important;
    width: auto !important;
    max-width: 100% !important;
    transition: height 0.3s var(--motion-ease);
  }
}

/* Scroll reveals — varied, cohesive */
.reveal-on-scroll {
  transition:
    opacity var(--motion-duration) var(--motion-ease),
    transform var(--motion-duration) var(--motion-ease);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal-on-scroll.reveal-up {
  opacity: 0;
  transform: translate3d(0, var(--motion-distance), 0);
}

.reveal-on-scroll.reveal-headline {
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(0.975);
}

.reveal-on-scroll.reveal-card {
  opacity: 0;
  transform: translate3d(0, 36px, 0) scale(0.94);
}

.reveal-on-scroll.reveal-left {
  opacity: 0;
  transform: translate3d(-28px, 20px, 0);
}

.reveal-on-scroll.reveal-right {
  opacity: 0;
  transform: translate3d(28px, 20px, 0);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

@media (min-width: 1280px) {
  .loan-type-card.reveal-on-scroll.is-visible {
    transition:
      opacity var(--motion-duration) var(--motion-ease),
      transform 0.45s var(--motion-ease),
      box-shadow 0.45s var(--motion-ease),
      filter 0.45s ease;
  }

  .loan-type-card.reveal-on-scroll.is-visible:hover {
    transform: translate3d(0, -8px, 0) scale(1.02);
    filter: brightness(1.08);
    box-shadow:
      0 16px 48px rgba(0, 0, 0, 0.38),
      0 0 0 1px rgba(229, 190, 1, 0.25);
  }

  .loan-type-card.reveal-on-scroll.is-visible.is-selected {
    transform: translate3d(0, -6px, 0) scale(1.01);
  }

  .service-card.reveal-on-scroll.is-visible {
    transition:
      opacity var(--motion-duration) var(--motion-ease),
      transform 0.5s var(--motion-ease),
      filter 0.45s ease,
      box-shadow 0.45s ease;
  }

  .service-card.reveal-on-scroll.is-visible:hover {
    transform: translate3d(0, -5px, 0);
    filter: brightness(1.06);
  }

  .car-service-card.reveal-on-scroll.is-visible {
    transition:
      opacity var(--motion-duration) var(--motion-ease),
      transform 0.5s var(--motion-ease),
      filter 0.45s ease,
      box-shadow 0.45s ease;
  }

  .car-service-card.reveal-on-scroll.is-visible:hover {
    transform: translate3d(0, -5px, 0);
    filter: brightness(1.06);
  }

  .link2.interactive-btn {
    transition:
      filter 0.3s ease,
      box-shadow 0.35s var(--motion-ease),
      transform 0.35s var(--motion-ease);
  }

  .link2.interactive-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(229, 190, 1, 0.22);
  }
}

@media (max-width: 1279px) {
  .reveal-on-scroll.reveal-left,
  .reveal-on-scroll.reveal-right {
    transform: translate3d(0, 20px, 0);
  }

  .loan-type-card.is-visible:active,
  .service-card.is-visible:active,
  .car-service-card.is-visible:active {
    transform: scale(0.98);
  }

  .interactive-btn:hover,
  .calculator-btn:hover,
  .link:hover,
  .link2:hover {
    filter: brightness(1.06);
  }
}

/* Ambient gold blur orbs — slow drift */
@media (min-width: 1280px) {
  .ellipse-1,
  .ellipse-2,
  .ellipse-3,
  .ellipse-22 {
    pointer-events: none;
    will-change: transform, opacity;
    transform: translate3d(0, 0, 0);
  }

  .ellipse-1.ambient-orb {
    animation: orbDrift1 32s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  }

  .ellipse-2.ambient-orb {
    animation: orbDrift2 38s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    animation-delay: -12s;
  }

  .ellipse-3.ambient-orb {
    animation: orbDrift3 34s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    animation-delay: -20s;
  }

  .ellipse-22.ambient-orb {
    animation: orbDrift4 36s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    animation-delay: -8s;
  }

  @keyframes orbDrift1 {
    0%,
    100% {
      transform: translate3d(0, 0, 0) scale(1);
      opacity: 0.92;
    }
    25% {
      transform: translate3d(48px, -36px, 0) scale(1.06);
      opacity: 1;
    }
    50% {
      transform: translate3d(24px, 42px, 0) scale(0.97);
      opacity: 0.88;
    }
    75% {
      transform: translate3d(-32px, 18px, 0) scale(1.03);
      opacity: 0.96;
    }
  }

  @keyframes orbDrift2 {
    0%,
    100% {
      transform: translate3d(0, 0, 0) scale(1);
      opacity: 0.9;
    }
    20% {
      transform: translate3d(-40px, 28px, 0) scale(1.05);
      opacity: 1;
    }
    55% {
      transform: translate3d(-18px, -44px, 0) scale(0.96);
      opacity: 0.86;
    }
    80% {
      transform: translate3d(36px, -12px, 0) scale(1.02);
      opacity: 0.94;
    }
  }

  @keyframes orbDrift3 {
    0%,
    100% {
      transform: translate3d(0, 0, 0) scale(1);
      opacity: 0.85;
    }
    30% {
      transform: translate3d(-52px, 24px, 0) scale(1.08);
      opacity: 0.95;
    }
    60% {
      transform: translate3d(-28px, -38px, 0) scale(0.98);
      opacity: 0.8;
    }
    85% {
      transform: translate3d(20px, -20px, 0) scale(1.04);
      opacity: 0.9;
    }
  }

  @keyframes orbDrift4 {
    0%,
    100% {
      transform: translate3d(0, 0, 0) scale(1);
      opacity: 0.88;
    }
    35% {
      transform: translate3d(44px, 32px, 0) scale(1.07);
      opacity: 0.96;
    }
    65% {
      transform: translate3d(16px, -40px, 0) scale(0.95);
      opacity: 0.82;
    }
    90% {
      transform: translate3d(-24px, 12px, 0) scale(1.02);
      opacity: 0.9;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-parallax,
  .motion-hero-media,
  .motion-hero-item,
  .motion-hero-logo,
  .reveal-on-scroll,
  .loan-type-card,
  .service-card,
  .interactive-btn,
  .calculator-panel--summary.is-updated,
  .scroll-top-btn,
  .frame.is-sticky.is-sticky-enter,
  .frame-sticky-backdrop.is-enter,
  .hero-carousel__track.is-auto-scroll,
  .hero-carousel__slide img,
  .logo-carousel__track.is-auto-scroll {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
    --parallax-x: 0 !important;
    --parallax-y: 0 !important;
  }

  .ellipse-1,
  .ellipse-2,
  .ellipse-3,
  .ellipse-22,
  .ambient-orb {
    animation: none !important;
    transform: none !important;
  }

  .scroll-top-btn:not(.is-visible) {
    pointer-events: none !important;
  }
}

/* Scroll to top */
.scroll-top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9998;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #25231e;
  background: linear-gradient(135deg, #e5be01 0%, #c9a601 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(229, 190, 1, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 12px, 0);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s,
    box-shadow 0.2s ease,
    filter 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}

.scroll-top-btn:hover {
  filter: brightness(1.08);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(229, 190, 1, 0.35);
}

.scroll-top-btn:active {
  transform: translate3d(0, 1px, 0);
  filter: brightness(0.96);
}

.scroll-top-btn.is-busy {
  pointer-events: none;
  opacity: 0.85;
}

.scroll-top-btn:focus-visible {
  outline: 2px solid rgba(229, 190, 1, 0.85);
  outline-offset: 3px;
}

.scroll-top-btn__icon {
  display: block;
}

@media (max-width: 1279px) {
  .scroll-top-btn {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }
}

/* Pre-approval lead modal — above sticky header (z-index 10000).
   Lives on document.body (outside #page-scale-viewport zoom), so size
   against the visual viewport and --fit-scale — never a ~900–1680px cap. */
.lead-modal {
  --lead-scale: var(--fit-scale, 1);
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) 24px
    max(16px, env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lead-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 9, 21, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.lead-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(70vw, 3200px);
  max-width: 70vw;
  max-height: 88dvh;
  overflow-x: hidden;
  overflow-y: auto;
  padding: clamp(28px, 2.2vw, 72px) clamp(32px, 2.6vw, 80px) clamp(24px, 2vw, 64px);
  border-radius: clamp(14px, 1vw, 22px);
  border: 1px solid transparent;
  background:
    linear-gradient(#0a101f, #0a101f) padding-box,
    var(--gold-texture) center / cover border-box;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  color: #fefaf3;
  box-sizing: border-box;
}

.lead-modal__close {
  position: absolute;
  top: clamp(10px, 0.8vw, 18px);
  right: clamp(10px, 0.8vw, 18px);
  width: clamp(36px, 2.6vw, 56px);
  height: clamp(36px, 2.6vw, 56px);
  border: 1px solid transparent;
  border-radius: 8px;
  background:
    linear-gradient(#141b2e, #141b2e) padding-box,
    var(--gold-texture) center / cover border-box;
  color: #fefaf3;
  font-size: clamp(22px, 1.6vw, 32px);
  line-height: 1;
  cursor: pointer;
}

.lead-modal__close:hover {
  background:
    linear-gradient(#1c2438, #1c2438) padding-box,
    var(--gold-texture) center / cover border-box;
}

.lead-modal__eyebrow {
  margin: 0 0 4px;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(12px, 0.85vw, 18px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background-image: var(--gold-texture);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.lead-modal__title {
  margin: 0 0 8px;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(28px, 2.5vw, 72px);
  line-height: 1.15;
  font-weight: 400;
}

.lead-modal__copy {
  margin: 0 0 18px;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(15px, 1.15vw, 28px);
  line-height: 1.45;
  color: rgba(254, 250, 243, 0.78);
}

.lead-modal__quote {
  margin: 0 0 12px;
  padding: clamp(9px, 0.8vw, 16px) clamp(12px, 1vw, 20px);
  border-radius: 10px;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(10, 16, 31, 0.96), rgba(10, 16, 31, 0.96)) padding-box,
    var(--gold-texture) center / cover border-box;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(13px, 0.95vw, 22px);
  line-height: 1.35;
  color: rgba(254, 250, 243, 0.88);
}

.lead-modal form#lead-details-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(16px, 1.5vw, 36px);
  align-items: start;
}

.lead-modal form#lead-details-form .lead-modal__hp,
.lead-modal form#lead-details-form [data-lead-amount-field],
.lead-modal form#lead-details-form [data-lead-purpose-field],
.lead-modal form#lead-details-form [data-lead-role-field],
.lead-modal form#lead-details-form .lead-modal__error,
.lead-modal form#lead-details-form .lead-modal__actions {
  grid-column: 1 / -1;
}

.lead-modal__field {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 0.45vw, 10px);
  margin: 0 0 clamp(14px, 1.1vw, 22px);
}

/* Author display:flex above beats the UA [hidden] rule — keep mode-only fields hidden */
.lead-modal__field[hidden],
.lead-modal [data-lead-amount-field][hidden],
.lead-modal [data-lead-purpose-field][hidden],
.lead-modal [data-lead-role-field][hidden] {
  display: none !important;
}

.lead-modal__field label {
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(14px, 1vw, 22px);
  font-weight: 500;
  color: rgba(254, 250, 243, 0.9);
}

.lead-modal__field input {
  width: 100%;
  box-sizing: border-box;
  height: clamp(48px, 3.5vw, 84px);
  padding: 0 clamp(14px, 1.1vw, 22px);
  border-radius: 10px;
  border: 1px solid rgba(254, 250, 243, 0.18);
  background: rgba(5, 9, 21, 0.65);
  color: #fefaf3;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(16px, 1.15vw, 26px);
}

.lead-modal__field input:focus {
  outline: none;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(5, 9, 21, 0.92), rgba(5, 9, 21, 0.92)) padding-box,
    var(--gold-texture) center / cover border-box;
}

.lead-modal__field input.is-invalid {
  border-color: #e57373;
}

.lead-modal__field-label {
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(12px, 0.9vw, 20px);
  font-weight: 500;
  color: rgba(254, 250, 243, 0.9);
}

.lead-modal__amount {
  display: flex;
  align-items: center;
  gap: 0;
  height: clamp(48px, 3.5vw, 84px);
  border-radius: 10px;
  border: 1px solid rgba(254, 250, 243, 0.18);
  background: rgba(5, 9, 21, 0.65);
  overflow: hidden;
}

.lead-modal__amount:focus-within {
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(5, 9, 21, 0.92), rgba(5, 9, 21, 0.92)) padding-box,
    var(--gold-texture) center / cover border-box;
}

.lead-modal__amount-affix {
  flex: 0 0 auto;
  padding: 0 0 0 clamp(12px, 1vw, 20px);
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(14px, 1vw, 22px);
  color: rgba(254, 250, 243, 0.7);
}

.lead-modal__amount input {
  border: 0 !important;
  background: transparent !important;
  height: 100%;
  flex: 1 1 auto;
  min-width: 0;
  padding-left: 8px;
}

.lead-modal__field:has(.lead-modal__amount input.is-invalid) .lead-modal__amount {
  border-color: #e57373;
}

.lead-modal__purpose {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(8px, 0.7vw, 16px);
}

.lead-modal__purpose-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(44px, 3.2vw, 72px);
  padding: clamp(8px, 0.7vw, 14px) clamp(10px, 0.9vw, 18px);
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid rgba(254, 250, 243, 0.18);
  background: #0a101f;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(13px, 1vw, 22px);
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  color: rgba(254, 250, 243, 0.88);
  cursor: pointer;
}

.lead-modal__purpose-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lead-modal__purpose-option:has(input:checked),
.lead-modal__purpose-option:has(input:focus-visible) {
  border: 1px solid transparent;
  background:
    linear-gradient(#0a101f, #0a101f) padding-box,
    var(--gold-texture) center / cover border-box;
  color: #fefaf3;
}

.lead-modal__purpose-option.is-invalid {
  border-color: #e57373;
}

.lead-modal--home .lead-modal__dialog,
.lead-modal--novated .lead-modal__dialog,
.lead-modal--careers .lead-modal__dialog,
.lead-modal--enquiry .lead-modal__dialog {
  width: min(72vw, 3400px);
  max-width: 72vw;
  overflow-y: auto;
}

.lead-modal__error {
  min-height: 0;
  margin: 0 0 8px;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(12px, 0.85vw, 18px);
  line-height: 1.3;
  color: #ff8a80;
}

.lead-modal__error:empty {
  display: none;
}

.lead-modal__hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lead-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 0.8vw, 18px);
  margin-top: 4px;
}

.lead-modal__btn {
  flex: 1 1 160px;
  min-height: clamp(48px, 3.5vw, 84px);
  padding: 0 clamp(18px, 1.4vw, 28px);
  border-radius: 10px;
  border: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(16px, 1.15vw, 26px);
  font-weight: 600;
  cursor: pointer;
}

.lead-modal__btn--primary {
  background: var(--gold-texture) center / cover no-repeat;
  color: #111;
}

.lead-modal__btn--ghost {
  border: 1px solid transparent;
  background:
    linear-gradient(#0a101f, #0a101f) padding-box,
    var(--gold-texture) center / cover border-box;
  color: #fefaf3;
}

.lead-modal__btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.lead-modal__demo {
  margin: 0 0 10px;
  padding: clamp(8px, 0.7vw, 14px) clamp(10px, 0.9vw, 16px);
  border-radius: 8px;
  border: 1px solid transparent;
  background:
    linear-gradient(#141b2e, #141b2e) padding-box,
    var(--gold-texture) center / cover border-box;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(13px, 0.95vw, 22px);
  line-height: 1.4;
}

.lead-modal__demo-text {
  background-image: var(--gold-texture);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.lead-modal__step[hidden] {
  display: none !important;
}

@media (max-width: 639px) {
  .lead-modal {
    align-items: flex-start;
    padding: max(10px, env(safe-area-inset-top, 0px)) 12px
      max(12px, env(safe-area-inset-bottom, 0px));
  }

  .lead-modal form#lead-details-form {
    grid-template-columns: 1fr;
  }

  .lead-modal__dialog,
  .lead-modal--home .lead-modal__dialog,
  .lead-modal--novated .lead-modal__dialog,
  .lead-modal--careers .lead-modal__dialog,
  .lead-modal--enquiry .lead-modal__dialog {
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 20px);
    padding: 16px 14px 14px;
    margin: 0;
  }

  .lead-modal__close {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
  }

  .lead-modal__eyebrow {
    font-size: 11px;
  }

  .lead-modal__title {
    font-size: 22px;
  }

  .lead-modal__copy {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .lead-modal__field {
    margin-bottom: 10px;
  }

  .lead-modal__field input,
  .lead-modal__amount,
  .lead-modal__btn {
    height: 44px;
    min-height: 44px;
    font-size: 16px;
  }
}
