@font-face {
  font-family: "Kahroba";
  src: url("/loan/assets/yk-landing/fonts/Kahroba-VF-FD.ttf") format("truetype");
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}

.yk-landing { --yk-primary: #093fb4; --yk-primary-500: #093fb4; --yk-orange: #f79009; --yk-orange-shadow: #dc6803; --yk-border: #e2ebf0; --yk-muted: #60718b; --yk-fg: #0f172b; --yk-card: #fff; font-family: Kahroba, Arial, Helvetica, sans-serif; }
.yk-landing, .yk-landing button, .yk-landing input, .yk-landing textarea { font-family: Kahroba, Arial, Helvetica, sans-serif; }
.yk-landing .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; }

/* Hero sits under a transparent header so the blue Subtract shape reaches the top */
body.yk-landing { padding-top: 0; background: #fff; }
.yk-landing .site-header {
  position: absolute;
  z-index: 9000;
  background: transparent;
  border-bottom: 0;
}
.yk-landing .site-header.is-solid {
  position: fixed;
  background: #fff;
  border-bottom: 1px solid var(--yk-border);
}

.yk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 3.75rem;
  padding: .75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 1rem;
  color: #fff;
  background: linear-gradient(0deg, var(--yk-orange), var(--yk-orange));
  box-shadow: 0 1px 0 0 rgba(255,255,255,.2) inset, 0 4px 0 0 var(--yk-orange-shadow), 0 4px 12px rgba(0,0,0,.2);
  text-shadow: 0 2px 0 #00000026;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.yk-btn:active { transform: translateY(.125rem); box-shadow: 0 1px 0 0 rgba(255,255,255,.25); }
.yk-btn img { width: 1.25rem; height: 1.25rem; }
.yk-btn--lg { min-height: 4.55rem; min-width: 14.4rem; font-size: 1.25rem; }
.yk-btn--sm { min-height: 2.5rem; min-width: 8.4rem; padding-inline: 1rem; font-size: .75rem; border-radius: .75rem; }
@media (min-width: 48rem) {
  .yk-btn--lg { min-height: 4.55rem; min-width: 19rem; font-size: 1.5rem; }
  .yk-btn--sm { min-height: 3.125rem; min-width: 12.5rem; font-size: 1rem; }
}

.yk-section-head { max-width: 72rem; margin: 0 auto 1.5rem; padding-inline: 1.25rem; text-align: right; }
.yk-section-head--center { text-align: center; }
.yk-section-head h2 { margin: 0; font-size: clamp(1.25rem, 3vw, 1.875rem); font-weight: 700; color: var(--yk-fg); }
.yk-section-head p { margin: .75rem 0 0; color: var(--yk-muted); font-size: .95rem; line-height: 1.8; }

.yk-hero { padding: 0 0 2rem; overflow-x: clip; }
.yk-hero__shell {
  position: relative;
  isolation: isolate;
  padding: 5rem 0 2.75rem;
  overflow: hidden;
}
.yk-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.yk-hero__bg-mobile {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  border-radius: 0 0 1.5rem 1.5rem;
  clip-path: inset(0 3px 0 3px);
}
.yk-hero__bg-desktop {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.yk-hero__grid { width: min(100% - 2.5rem, 80rem); margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.yk-hero__copy { text-align: center; }
.yk-hero__social-proof { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-bottom: 1rem; }
.yk-avatars { display: flex; align-items: center; }
.yk-avatars img { width: 2rem; height: 2rem; border-radius: 999px; border: 2px solid #fff; margin-inline-start: -.75rem; object-fit: cover; }
.yk-avatars img:first-child { margin-inline-start: 0; }
.yk-avatars span { margin-inline-start: .5rem; display: inline-flex; min-width: 2rem; height: 2rem; align-items: center; justify-content: center; border-radius: 999px; background: #f1f5f9; color: var(--yk-primary); font-size: .75rem; font-weight: 700; padding-inline: .5rem; }
.yk-avatar-count { text-align: right; }
.yk-avatar-count strong { display: block; font-size: .875rem; }
.yk-avatar-count span { display: block; font-size: .75rem; color: var(--yk-muted); }
.yk-hero h1 { margin: 0; font-size: 1.5rem; line-height: 1.35; font-weight: 700; color: var(--yk-fg); }
.yk-hero h1 > span { display: block; margin-top: .75rem; }
.yk-hero__underline { position: relative; display: inline-block; white-space: nowrap; margin-bottom: 1.25rem; }
.yk-hero__underline img { position: absolute; left: 50%; top: 100%; width: 100%; min-width: 5rem; height: .625rem; transform: translate(-50%, -.125rem); pointer-events: none; }
.yk-hero__copy > p { margin: 1rem 0 0; color: #314158; font-size: 1.125rem; }
.yk-hero__visual { display: flex; justify-content: center; }
.yk-hero__visual img { width: 100%; max-width: 36rem; height: 18.75rem; object-fit: contain; }
.yk-hero__cta {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-top: .25rem;
  margin-bottom: -2.25rem;
}
.yk-hero__speed { display: flex; align-items: center; justify-content: center; gap: .25rem; margin-top: 2.75rem; font-size: .75rem; font-weight: 500; }
.yk-hero__speed img { width: 1.125rem; height: 1.125rem; }
.yk-loan-cards { width: min(100%, 80rem); margin: 1rem auto 0; padding-inline: 1.25rem; display: flex; gap: 1rem; overflow-x: auto; scrollbar-width: none; }
.yk-loan-cards::-webkit-scrollbar { display: none; }
.yk-loan-cards article { flex: 0 0 17.5rem; display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; padding: 1.5rem 1rem; border-radius: 1rem; background: #f8fafc; }
.yk-loan-cards img { width: 2rem; height: 2rem; }
.yk-loan-cards strong { font-size: 1rem; color: var(--yk-fg); }
.yk-loan-cards span { font-size: .875rem; color: #475569; }

@media (min-width: 40rem) {
  .yk-hero__shell { padding-top: 5.5rem; padding-bottom: 3.25rem; }
  .yk-hero h1 { font-size: 3rem; line-height: 1.05; text-align: right; }
  .yk-hero__copy { text-align: right; }
  .yk-hero__social-proof { justify-content: flex-start; }
  .yk-hero__copy > p { text-align: right; font-size: 1.5rem; margin-block: 1.75rem; }
  .yk-hero__underline { margin-bottom: 0; }
  .yk-hero__underline img { height: 1.2rem; min-width: 7.5rem; }
  .yk-hero__visual img { height: auto; max-width: 42rem; }
  .yk-hero__cta { margin-bottom: -2.5rem; }
  .yk-hero__speed { margin-top: 3.25rem; font-size: 1rem; }
  .yk-hero__speed img { width: 1.5rem; height: 1.5rem; }
  .yk-avatars img { width: 2.75rem; height: 2.75rem; }
}

@media (min-width: 64rem) {
  .yk-hero__shell { padding-top: 6rem; padding-bottom: 3.5rem; }
  .yk-hero__bg-mobile { display: none; }
  .yk-hero__bg-desktop { display: block; }
  .yk-hero__grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    grid-template-areas:
      "copy visual"
      "cta cta";
    align-items: center;
    column-gap: 1rem;
    row-gap: 1rem;
    padding-block: 2.5rem 0;
  }
  .yk-hero__copy { grid-area: copy; align-self: center; }
  .yk-hero__copy > p { margin-bottom: 1.75rem; }
  .yk-hero__visual { grid-area: visual; justify-content: flex-end; align-self: center; }
  .yk-hero__visual img { max-width: none; width: 112%; transform: translateX(-2rem); }
  .yk-hero__cta {
    grid-area: cta;
    justify-content: center;
    align-self: end;
    margin: 0 0 -2.75rem;
  }
  .yk-loan-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
  .yk-loan-cards article { flex: none; min-width: 0; }
  .yk-loan-cards strong { font-size: 1.25rem; margin-top: 1.5rem; }
}

.yk-why { width: min(100% - 1rem, 80rem); margin: 3.75rem auto 5rem; overflow: hidden; text-align: center; }
.yk-why__eyebrow { margin: 0 0 1rem; color: var(--yk-primary); font-weight: 500; }
.yk-why h2 { margin: 0 0 2rem; font-size: clamp(1.25rem, 3vw, 1.875rem); font-weight: 700; }
.yk-why__tabs { display: flex; gap: .75rem; overflow-x: auto; padding-bottom: .5rem; scrollbar-width: none; }
.yk-why__tabs::-webkit-scrollbar { display: none; }
.yk-why__tab { flex: none; border: 0; border-radius: 999px; padding: 2px; background: #e2e8f0; cursor: pointer; transition: transform .2s ease; }
.yk-why__tab:hover { transform: translateY(-2px); }
.yk-why__tab.is-active { background: #093fb4; }
.yk-why__tab-inner { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: 0 1.25rem; border-radius: 999px; background: #fff; color: #0f172b; font-size: .875rem; }
.yk-why__tab.is-active .yk-why__tab-inner { background: var(--yk-primary-500); color: #fff; }
.yk-why__panels { margin-top: 2rem; }
.yk-why__panel { display: none; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.yk-why__panel.is-active { display: grid; animation: yk-fade-up .35s ease; }
.yk-why__media { position: relative; display: grid; place-items: center; min-height: 12.5rem; }
.yk-why__media::before { content: ""; position: absolute; width: 19rem; height: 19rem; border-radius: 999px; background: #dbeafe; filter: blur(3rem); opacity: .7; }
.yk-why__img-desktop { display: none; position: relative; z-index: 1; width: min(100%, 22rem); height: auto; }
.yk-why__img-mobile { position: relative; z-index: 1; width: min(100%, 22rem); height: auto; animation: yk-float 5s ease-in-out infinite; }
.yk-why__title { margin: 0 0 1rem; font-size: 1.25rem; font-weight: 600; line-height: 1.4; }
.yk-why__desc { margin: 0; color: #475569; font-size: .875rem; line-height: 2; padding-inline: .5rem; }
.yk-why__bullets { display: none; margin: 1rem 0 0; padding: 0; list-style: none; text-align: right; }
.yk-why__bullets li { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; }
.yk-why__bullets img { width: 1.5rem; height: 1.5rem; flex: none; }

@media (min-width: 48rem) {
  .yk-why { margin-top: 7.5rem; }
  .yk-why__tabs { flex-wrap: wrap; justify-content: center; overflow: visible; }
  .yk-why__tab-inner { font-size: 1rem; }
  .yk-why__panel.is-active { grid-template-columns: 1fr 1fr; }
  .yk-why__media { min-height: 28.75rem; order: 2; }
  .yk-why__text { order: 1; text-align: right; }
  .yk-why__title { font-size: 1.875rem; text-align: right; }
  .yk-why__desc { font-size: 1rem; text-align: right; padding: 0; }
  .yk-why__img-desktop { display: block; max-width: 26rem; animation: yk-float 5s ease-in-out infinite; }
  .yk-why__img-mobile { display: none; }
  .yk-why__bullets { display: block; }
}

.yk-steps { width: min(100%, 72rem); margin: 0 auto; padding: 1.25rem 1rem 2rem; }
.yk-steps__mobile { display: block; }
.yk-steps__desktop { display: none; }
.yk-video { overflow: hidden; border: 1px solid var(--yk-border); border-radius: .75rem; background: #f1f5f9; margin-top: 1.5rem; aspect-ratio: 16 / 9; }
.yk-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.yk-steps__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 1.5rem; }
.yk-step-card { display: flex; flex-direction: column; align-items: center; padding: 1rem; border: 1px solid var(--yk-border); border-radius: .75rem; background: #fff; text-align: center; }
.yk-step-card--raised { position: relative; z-index: 1; box-shadow: 0 1px 2px rgb(0 0 0 / .06); }
.yk-step-card__num { color: var(--yk-primary); font-size: 1.875rem; font-weight: 500; margin-bottom: 1rem; }
.yk-step-card h3 { margin: 0 0 .5rem; font-size: .875rem; }
.yk-step-card p { margin: 0; color: var(--yk-muted); font-size: .75rem; }
.yk-step-row { border: 1px solid var(--yk-border); border-radius: .75rem; background: #fff; padding: 1.25rem; box-shadow: 0 1px 2px rgb(0 0 0 / .05); }
.yk-step-row > div { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: .5rem; }
.yk-step-row span { color: var(--yk-primary); font-size: 1.5rem; font-weight: 500; line-height: 1; }
.yk-step-row h3 { margin: 0; font-size: 1.125rem; }
.yk-step-row p { margin: 0; color: var(--yk-muted); }

@media (min-width: 64rem) {
  .yk-steps__mobile { display: none; }
  .yk-steps__desktop { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; align-items: stretch; margin-top: 2rem; }
  .yk-steps__list { display: flex; flex-direction: column; gap: 1rem; }
  .yk-steps__desktop .yk-video { margin: 0; aspect-ratio: auto; min-height: 30rem; height: 100%; }
}

.yk-quotes { padding: 4rem 0; }
.yk-quotes__controls { width: min(100% - 2rem, 72rem); margin: 0 auto 1rem; display: flex; justify-content: flex-end; gap: .5rem; }
.yk-quotes__controls button { width: 2.5rem; height: 2.5rem; border: 1px solid var(--yk-border); border-radius: 999px; background: #fff; color: var(--yk-primary); cursor: pointer; }
.yk-quotes__viewport { overflow: hidden; width: 100%; }
.yk-quotes__track { display: flex; gap: 1.5rem; padding-inline-end: 1rem; transition: transform .5s ease; }
.yk-quote { flex: none; display: flex; flex-direction: column; justify-content: space-between; gap: 1.5rem; padding: 1.875rem; border: 1px solid var(--yk-border); border-radius: 1rem; background: #fff; }
.yk-quote__stars { display: flex; gap: .15rem; margin-bottom: .5rem; color: #eab308; }
.yk-quote__star { width: 1.25rem; height: 1.25rem; }
.yk-quote p { margin: 0; color: var(--yk-fg); font-size: .875rem; line-height: 1.7; }
.yk-quote__footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.yk-quote__user { display: flex; align-items: center; gap: .625rem; }
.yk-quote__avatar { width: 3.5rem; height: 3.5rem; border: 1px solid var(--yk-border); border-radius: 999px; display: grid; place-items: center; }
.yk-quote__user strong { display: block; font-size: .875rem; }
.yk-quote__user span { display: block; font-size: .75rem; color: var(--yk-muted); }
@media (min-width: 48rem) {
  .yk-quote p { font-size: 1rem; }
  .yk-quote__stars { margin-bottom: 1.5rem; }
  .yk-quote__user strong { font-size: 1rem; }
  .yk-quote__user span { font-size: .875rem; }
}

.yk-bottom-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  height: 3.5rem;
  padding-inline: 1.25rem;
  background: #fff;
  box-shadow: 0 -8px 16px #00000026;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .3s ease, opacity .3s ease;
}
.yk-bottom-bar.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.yk-bottom-bar span { font-size: .75rem; font-weight: 500; color: #393e4a; white-space: nowrap; }
@media (min-width: 48rem) { .yk-bottom-bar { display: none; } }

.yk-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 43, .72);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.yk-modal.is-open { opacity: 1; pointer-events: auto; }
.yk-modal[hidden] { display: none !important; }
.yk-modal__dialog {
  display: flex;
  flex-direction: column;
  width: 100dvw;
  height: 100dvh;
  max-width: 100dvw;
  max-height: 100dvh;
  overflow: hidden;
  background: #fff;
  transform: translateY(1rem) scale(.97);
  transition: transform .3s ease;
}
.yk-modal.is-open .yk-modal__dialog { transform: none; }
.yk-modal__header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; border-bottom: 1px solid var(--yk-border); }
.yk-modal__title { display: flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 500; }
.yk-modal__close { border: 0; background: transparent; color: #64748b; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.yk-modal__body { position: relative; flex: 1; overflow: hidden; }
.yk-modal__body iframe { width: 100%; height: 100%; border: 0; }
.yk-modal__spinner { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: rgb(17 24 39 / .3); backdrop-filter: blur(4px); }
.yk-modal__spinner[hidden] { display: none; }
.yk-spinner { width: 4rem; height: 4rem; border: 4px solid rgb(255 255 255 / .35); border-top-color: #fff; border-radius: 999px; animation: yk-spin .8s linear infinite; }
@media (min-width: 48rem) {
  .yk-modal__dialog { width: 622px; height: 652px; max-width: 622px; max-height: 652px; border-radius: .75rem; }
  .yk-modal__title { font-size: 1rem; }
}

@keyframes yk-spin { to { transform: rotate(360deg); } }
@keyframes yk-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes yk-fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .yk-why__img-desktop, .yk-why__img-mobile { animation: none; }
  .yk-quotes__track, .yk-btn, .yk-bottom-bar, .yk-modal, .yk-modal__dialog { transition: none; }
}
