/* ============================================================
   Lendflow Capital — Homepage styles
   Depends on tokens + globals from site-shared.css
   ============================================================ */

.home-page {
  overflow-x: hidden;
  background: var(--brand-bg);
  color: var(--brand-ink);
  font-family: var(--font-ui);
  line-height: 1.6;
}

.home-page :where(*, *::before, *::after) {
  box-sizing: border-box;
}

.home-page a { text-decoration: none; color: inherit; }
.home-page ul { list-style: none; margin: 0; padding: 0; }

/* ─── NAV ─────────────────────────────────────────────── */
.lf-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 420ms var(--ease-brand),
              backdrop-filter 420ms var(--ease-brand),
              border-color 420ms var(--ease-brand),
              box-shadow 420ms var(--ease-brand);
}
body.is-scrolled .lf-nav {
  background: rgba(254, 254, 254, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: rgba(1, 31, 65, 0.06);
  box-shadow: 0 8px 32px -16px rgba(1, 31, 65, 0.12);
}

.lf-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lf-nav__brand img {
  height: 52px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  transition: transform 360ms var(--ease-brand), filter 360ms var(--ease-brand);
}
.lf-nav__brand:hover img {
  transform: translateY(-1px);
  filter: drop-shadow(0 6px 14px rgba(13, 142, 246, 0.22));
}

.lf-nav__links {
  display: flex;
  gap: 8px;
  align-items: center;
}
.lf-nav__links a {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--brand-navy);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 200ms var(--ease-brand), background 200ms var(--ease-brand);
}
.lf-nav__links a:hover {
  color: var(--brand-blue);
  background: rgba(13, 142, 246, 0.06);
}

.lf-nav__item--has-menu { position: relative; }
.lf-nav__menubtn {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--brand-navy);
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 200ms var(--ease-brand), background 200ms var(--ease-brand);
}
.lf-nav__menubtn:hover,
.lf-nav__menubtn[aria-expanded="true"],
.lf-nav__item--has-menu:hover > .lf-nav__menubtn {
  color: var(--brand-blue);
  background: rgba(13, 142, 246, 0.06);
}
.lf-nav__caret {
  font-size: 0.7em;
  transition: transform 200ms var(--ease-brand);
}
.lf-nav__menubtn[aria-expanded="true"] .lf-nav__caret,
.lf-nav__item--has-menu:hover > .lf-nav__menubtn .lf-nav__caret { transform: rotate(180deg); }

.lf-nav__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: rgba(254, 254, 254, 0.98);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(1, 31, 65, 0.06);
  border-radius: 12px;
  box-shadow: 0 18px 40px -18px rgba(1, 31, 65, 0.22);
  padding: 8px;
  list-style: none;
  margin: 0;
  display: none;
  z-index: 110;
}
.lf-nav__menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.lf-nav__item--has-menu:hover > .lf-nav__menu,
.lf-nav__item--has-menu:focus-within > .lf-nav__menu,
.lf-nav__menubtn[aria-expanded="true"] + .lf-nav__menu { display: block; }
.lf-nav__menu li { margin: 0; }
.lf-nav__menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--brand-navy);
  white-space: nowrap;
  transition: color 200ms var(--ease-brand), background 200ms var(--ease-brand);
}
.lf-nav__menu a:hover {
  color: var(--brand-blue);
  background: rgba(13, 142, 246, 0.08);
}

.lf-nav__cta {
  color: #fff !important;
  font-weight: 600 !important;
  background: var(--brand-gradient);
  padding: 10px 22px !important;
  border-radius: 10px !important;
  box-shadow: 0 6px 18px -8px rgba(13, 142, 246, 0.5);
  transition: transform 220ms var(--ease-brand), box-shadow 220ms var(--ease-brand) !important;
}
.lf-nav__cta:hover {
  transform: translateY(-1px);
  background: var(--brand-gradient-hover) !important;
  box-shadow: 0 10px 28px -8px rgba(13, 142, 246, 0.6);
}

.lf-nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--brand-hairline);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  color: var(--brand-navy);
  font-size: 20px;
  line-height: 1;
}

.lf-nav__mobile {
  display: none;
  background: rgba(254, 254, 254, 0.96);
  backdrop-filter: blur(20px);
  padding: 16px 32px 24px;
  border-top: 1px solid var(--brand-hairline);
}
.lf-nav__mobile.is-open { display: block; }
.lf-nav__mobile a {
  display: block;
  padding: 14px 0;
  font-weight: 500;
  color: var(--brand-navy);
  border-bottom: 1px solid var(--brand-hairline);
}
.lf-nav__mobile a.lf-nav__cta {
  margin-top: 16px;
  text-align: center;
  padding: 14px 24px !important;
  border-bottom: none;
}
.lf-nav__mobile-group {
  border-bottom: 1px solid var(--brand-hairline);
  padding: 10px 0 4px;
}
.lf-nav__mobile-group-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(1, 31, 65, 0.55);
  font-weight: 600;
  padding: 4px 0;
}
.lf-nav__mobile-group a {
  border-bottom: none !important;
  padding: 10px 0 10px 14px !important;
  font-size: 0.95rem;
}

/* ─── HERO ─────────────────────────────────────────────── */
.lf-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}
.lf-hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(0);
}
.lf-hero__orb--a {
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(13, 142, 246, 0.07) 0%, transparent 70%);
}
.lf-hero__orb--b {
  bottom: -10%;
  left: -10%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(1, 31, 65, 0.04) 0%, transparent 70%);
}
.lf-hero__grid {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.lf-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: rgba(13, 142, 246, 0.06);
  border: 1px solid rgba(13, 142, 246, 0.12);
  margin-bottom: 28px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-blue);
}
.lf-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-blue);
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(13, 142, 246, 0.6);
  animation: lfPulse 2.4s ease-out infinite;
}
@keyframes lfPulse {
  0%   { box-shadow: 0 0 0 0 rgba(13, 142, 246, 0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(13, 142, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(13, 142, 246, 0); }
}

.lf-hero h1 {
  font-family: var(--font-display) !important;
  font-weight: 400 !important;
  font-size: clamp(2.8rem, 5vw, 4.2rem) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.022em !important;
  color: var(--brand-navy);
  margin-bottom: 24px;
  text-wrap: balance;
}
.lf-hero h1 .lf-gradient-text {
  background: var(--brand-gradient-text);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.lf-hero__sub {
  font-size: 1.15rem;
  color: var(--brand-mute);
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 36px;
}

.lf-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.lf-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--brand-gradient);
  color: #fff !important;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 12px;
  box-shadow: 0 10px 28px -10px rgba(13, 142, 246, 0.5);
  transition: transform 300ms var(--ease-brand), box-shadow 300ms var(--ease-brand), background 300ms var(--ease-brand);
  border: none;
  cursor: pointer;
  font-family: var(--font-ui);
}
.lf-btn-primary:hover {
  transform: translateY(-2px);
  background: var(--brand-gradient-hover);
  box-shadow: 0 16px 36px -10px rgba(13, 142, 246, 0.6);
}
.lf-btn-primary:active { transform: translateY(0); }

.lf-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 16px 28px;
  background: transparent;
  color: var(--brand-navy);
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 12px;
  border: 1.5px solid rgba(1, 31, 65, 0.15);
  transition: border-color 220ms var(--ease-brand), color 220ms var(--ease-brand), transform 200ms var(--ease-brand);
  cursor: pointer;
  font-family: var(--font-ui);
}
.lf-btn-ghost:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-1px);
}

.lf-hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
}
.lf-hero__stats > div > .lf-stat-val {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--brand-navy);
  line-height: 1;
}
.lf-hero__stats > div > .lf-stat-label {
  font-size: 0.82rem;
  color: var(--brand-mute);
  font-weight: 500;
  margin-top: 4px;
}

/* ─── QUALIFY CALC ─────────────────────────────────────── */
.lf-calc {
  position: relative;
  background: #fff;
  border: 1.5px solid rgba(1, 31, 65, 0.06);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow:
    0 30px 80px -32px rgba(1, 31, 65, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
}
.lf-calc::before {
  content: '';
  position: absolute;
  inset: -40px -20px -20px -20px;
  background: radial-gradient(60% 60% at 70% 20%, rgba(13, 142, 246, 0.12), transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}
.lf-calc__inner { position: relative; z-index: 1; }

.lf-calc h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.7rem;
  color: var(--brand-navy);
  margin-bottom: 28px;
  line-height: 1.15;
}
.lf-calc__label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-mute);
  display: block;
  margin-bottom: 10px;
}
.lf-calc__creditgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 28px;
}
.lf-credit-btn {
  padding: 12px 14px;
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 500;
  border: 1.5px solid rgba(1, 31, 65, 0.1);
  background: #fff;
  color: var(--brand-navy);
  transition: all 220ms var(--ease-brand);
}
.lf-credit-btn:hover {
  border-color: rgba(13, 142, 246, 0.35);
  color: var(--brand-blue);
}
.lf-credit-btn[aria-pressed="true"] {
  border-color: var(--brand-blue);
  background: rgba(13, 142, 246, 0.06);
  color: var(--brand-blue);
}

.lf-calc__revenue {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--brand-navy);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.lf-calc__slider {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  -webkit-appearance: none;
          appearance: none;
  cursor: pointer;
  background: linear-gradient(to right,
    var(--brand-navy) 0%,
    var(--brand-blue) var(--lf-calc-pct, 50%),
    rgba(1, 31, 65, 0.1) var(--lf-calc-pct, 50%));
  margin-bottom: 8px;
  outline: none;
}
.lf-calc__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand-blue);
  box-shadow: 0 4px 12px -2px rgba(13, 142, 246, 0.4);
  cursor: grab;
  transition: transform 160ms var(--ease-brand);
}
.lf-calc__slider::-webkit-slider-thumb:hover { transform: scale(1.08); }
.lf-calc__slider::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.12); }
.lf-calc__slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand-blue);
  box-shadow: 0 4px 12px -2px rgba(13, 142, 246, 0.4);
  cursor: grab;
}

.lf-calc__slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--brand-mute);
  font-weight: 500;
  margin-bottom: 28px;
}

.lf-calc__result {
  background: rgba(13, 142, 246, 0.04);
  border-radius: 16px;
  padding: 20px 24px;
  text-align: center;
  margin-bottom: 24px;
}
.lf-calc__result-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-mute);
  margin-bottom: 6px;
}
.lf-calc__result-value {
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1;
  background: var(--brand-gradient-text);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}

.lf-calc__cta {
  display: block;
  width: 100%;
  padding: 16px;
  text-align: center;
  background: var(--brand-gradient);
  color: #fff !important;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  box-shadow: 0 10px 24px -10px rgba(13, 142, 246, 0.45);
  transition: transform 280ms var(--ease-brand), box-shadow 280ms var(--ease-brand);
}
.lf-calc__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -10px rgba(13, 142, 246, 0.55);
}

/* ─── SECTION shared ───────────────────────────────────── */
.lf-section { padding: 100px 32px; }
.lf-section--muted { background: rgba(1, 31, 65, 0.02); }
.lf-section__inner { max-width: 1200px; margin: 0 auto; }
.lf-section__head { text-align: center; margin-bottom: 64px; }
.lf-section__head h2 {
  font-family: var(--font-display) !important;
  font-weight: 400 !important;
  font-size: clamp(2rem, 3.5vw, 2.8rem) !important;
  color: var(--brand-navy);
  margin-bottom: 16px;
  line-height: 1.1 !important;
  letter-spacing: -0.018em !important;
}
.lf-section__head p {
  color: var(--brand-mute);
  font-size: 1.1rem;
  font-weight: 400;
  max-width: 520px;
  margin: 0 auto;
}

/* ─── FEATURES ─────────────────────────────────────────── */
.lf-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.lf-feature {
  background: #fff;
  border-radius: 18px;
  padding: 36px 28px;
  border: 1px solid rgba(1, 31, 65, 0.05);
  transition: transform 380ms var(--ease-brand), box-shadow 380ms var(--ease-brand), border-color 380ms var(--ease-brand);
  cursor: default;
}
.lf-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px -16px rgba(1, 31, 65, 0.12);
  border-color: rgba(13, 142, 246, 0.15);
}
.lf-feature img { width: 56px; height: 56px; margin-bottom: 20px; }
.lf-feature h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--brand-navy);
  margin-bottom: 8px;
  line-height: 1.2;
  font-weight: 500;
}
.lf-feature p {
  font-size: 0.92rem;
  font-weight: 450;
  color: var(--brand-mute);
  line-height: 1.55;
}

/* ─── PRODUCTS ─────────────────────────────────────────── */
.lf-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.lf-product {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: clamp(36px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
  transition: transform 380ms var(--ease-brand);
}
.lf-product:hover { transform: translateY(-3px); }

.lf-product--primary {
  background: var(--brand-gradient);
  color: #fff;
}
.lf-product--primary h3 { color: #fff; }
.lf-product--primary p { color: rgba(255, 255, 255, 0.8); }

.lf-product--subtle {
  background: rgba(1, 31, 65, 0.03);
  color: var(--brand-navy);
}
.lf-product--subtle h3 { color: var(--brand-navy); }
.lf-product--subtle p { color: var(--brand-mute); }

.lf-product h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  margin-bottom: 16px;
  line-height: 1.1;
}
.lf-product p {
  font-size: 1rem;
  font-weight: 400;
  max-width: 380px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.lf-product__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff !important;
  transition: transform 220ms var(--ease-brand), box-shadow 220ms var(--ease-brand), background 220ms var(--ease-brand);
  align-self: flex-start;
}
.lf-product--primary .lf-product__link {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.lf-product--primary .lf-product__link:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-1px);
}
.lf-product--subtle .lf-product__link {
  background: var(--brand-gradient);
  box-shadow: 0 8px 20px -8px rgba(13, 142, 246, 0.4);
}
.lf-product--subtle .lf-product__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgba(13, 142, 246, 0.5);
}

/* ─── HOW IT WORKS ─────────────────────────────────────── */
.lf-how__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.lf-how__sticky {
  position: sticky;
  top: 112px;
}
.lf-how__sticky h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--brand-navy);
  margin-bottom: 20px;
  line-height: 1.08;
  letter-spacing: -0.018em;
}
.lf-how__sticky p {
  color: var(--brand-mute);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
.lf-how__sticky p + p { margin-bottom: 32px; }
.lf-how__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--brand-gradient);
  color: #fff !important;
  font-weight: 600;
  border-radius: 12px;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px -8px rgba(13, 142, 246, 0.45);
  transition: transform 220ms var(--ease-brand), box-shadow 220ms var(--ease-brand);
}
.lf-how__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -8px rgba(13, 142, 246, 0.55);
}

.lf-how__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.lf-how__item {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  border: 1px solid rgba(1, 31, 65, 0.05);
  display: flex;
  gap: 20px;
  align-items: center;
  transition: border-color 300ms var(--ease-brand), box-shadow 300ms var(--ease-brand), transform 300ms var(--ease-brand);
}
.lf-how__item:hover {
  border-color: rgba(13, 142, 246, 0.15);
  box-shadow: 0 12px 32px -12px rgba(1, 31, 65, 0.1);
  transform: translateY(-1px);
}
.lf-how__item img { width: 56px; height: 56px; flex-shrink: 0; }
.lf-how__item h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--brand-navy);
  margin-bottom: 4px;
  line-height: 1.2;
  font-weight: 600;
}
.lf-how__item p {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--brand-mute);
  line-height: 1.55;
}

/* ─── APPLY ────────────────────────────────────────────── */
.lf-apply__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.lf-apply__head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--brand-navy);
  margin-bottom: 20px;
  line-height: 1.08;
  letter-spacing: -0.018em;
  white-space: pre-line;
}
.lf-apply__head p {
  color: var(--brand-mute);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
}
.lf-apply__qualify-title {
  font-size: 0.95rem;
  color: var(--brand-navy);
  font-weight: 500;
  margin-bottom: 16px;
}
.lf-apply__qualify {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lf-apply__qualify li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--brand-navy);
}
.lf-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-gradient);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #fff;
  flex-shrink: 0;
}

.lf-form {
  background: #fff;
  border-radius: 22px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(1, 31, 65, 0.06);
  box-shadow: 0 30px 80px -32px rgba(1, 31, 65, 0.15);
  position: relative;
}
.lf-form__progress {
  height: 3px;
  background: rgba(1, 31, 65, 0.08);
  border-radius: 999px;
  margin-bottom: 28px;
  overflow: hidden;
}
.lf-form__progress-bar {
  height: 100%;
  width: 0%;
  background: var(--brand-gradient);
  border-radius: 999px;
  transition: width 520ms cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 18px -2px rgba(13, 142, 246, 0.5);
}
.lf-form__step-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 10px;
}
.lf-form h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  color: var(--brand-navy);
  margin-bottom: 20px;
  line-height: 1.15;
}
.lf-form__options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.lf-form__options.cols-2 { grid-template-columns: 1fr 1fr; }

.lf-form__choice {
  padding: 14px 18px;
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 500;
  text-align: left;
  border: 1.5px solid rgba(1, 31, 65, 0.08);
  background: #fff;
  color: var(--brand-navy);
  transition: transform 220ms var(--ease-brand), border-color 220ms var(--ease-brand), background 220ms var(--ease-brand), color 220ms var(--ease-brand), box-shadow 220ms var(--ease-brand);
}
.lf-form__choice:hover {
  border-color: rgba(13, 142, 246, 0.4);
  color: var(--brand-blue);
  transform: translateY(-1px);
}
.lf-form__choice[aria-pressed="true"] {
  border-color: var(--brand-blue);
  background: rgba(13, 142, 246, 0.06);
  color: var(--brand-blue);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -10px rgba(13, 142, 246, 0.3);
}

.lf-form__controls { display: flex; gap: 12px; margin-top: 28px; }
.lf-form__back {
  padding: 14px 24px;
  border-radius: 12px;
  border: 1px solid rgba(1, 31, 65, 0.15);
  background: transparent;
  color: var(--brand-navy);
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  transition: background 180ms var(--ease-brand), border-color 180ms var(--ease-brand);
}
.lf-form__back:hover {
  background: rgba(1, 31, 65, 0.04);
  border-color: var(--brand-navy);
}

.lf-form__thanks {
  text-align: center;
  padding: 20px 0;
}
.lf-form__check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  color: #fff;
}
.lf-form__thanks h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.8rem;
  color: var(--brand-navy);
  margin-bottom: 10px;
}
.lf-form__restart {
  margin-top: 24px;
  padding: 12px 24px;
  border-radius: 10px;
  border: 1px solid rgba(1, 31, 65, 0.15);
  background: transparent;
  color: var(--brand-navy);
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-ui);
}

.lf-form__hint {
  margin: -4px 0 18px;
  color: var(--brand-mute);
  font-size: 0.95rem;
}
.lf-form__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
@media (max-width: 560px) {
  .lf-form__fields { grid-template-columns: 1fr; }
}
.lf-form__fields label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-mute);
  margin-bottom: 6px;
}
.lf-form__optional {
  text-transform: none;
  letter-spacing: 0;
  color: rgba(1, 31, 65, 0.45);
  font-weight: 500;
}
.lf-form__fields input {
  width: 100%;
  font-family: var(--font-ui);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid rgba(1, 31, 65, 0.1);
  border-radius: 12px;
  background: #fff;
  color: var(--brand-navy);
  transition: border-color 220ms var(--ease-brand), box-shadow 220ms var(--ease-brand);
}
.lf-form__fields input:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(13, 142, 246, 0.12), 0 8px 20px -10px rgba(13, 142, 246, 0.3);
}
.lf-form__submit {
  margin-top: 20px;
  padding: 14px 28px;
  background: var(--brand-gradient);
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 10px 24px -10px rgba(13, 142, 246, 0.45);
  transition: transform 280ms var(--ease-brand), box-shadow 280ms var(--ease-brand);
}
.lf-form__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -10px rgba(13, 142, 246, 0.55);
}
.lf-form__submit[disabled] {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}

/* ─── FOOTER ───────────────────────────────────────────── */
.lf-footer {
  background: var(--brand-navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 32px 32px;
}
.lf-footer__inner { max-width: 1200px; margin: 0 auto; }
.lf-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
.lf-footer__brand img {
  height: 34px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
}
.lf-footer__brand p {
  font-size: 0.88rem;
  line-height: 1.6;
}
.lf-footer__col > .lf-footer__title {
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.4);
}
.lf-footer__col a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  color: inherit;
  transition: color 200ms;
}
.lf-footer__col a:hover { color: #fff; }
.lf-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}
.lf-footer__bottom .lf-legal { display: flex; gap: 16px; }
.lf-footer__bottom a { color: inherit; }
.lf-footer__bottom a:hover { color: #fff; }

/* ============================================================
   INNER PAGES — sub-hero, prose, FAQ, story, trust banner
   ============================================================ */

/* Sub-hero (inner page hero — shorter than home hero) */
.lf-subhero {
  position: relative;
  padding: 148px 32px 72px;
  overflow: hidden;
}
.lf-subhero__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.lf-subhero__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 18px;
}
.lf-subhero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: var(--brand-navy);
  margin-bottom: 20px;
  text-wrap: balance;
}
.lf-subhero h1 .lf-gradient-text {
  background: var(--brand-gradient-text);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lf-subhero p {
  font-size: 1.15rem;
  color: var(--brand-mute);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.65;
}

/* Prose block (paragraphs + headings in legal / about body) */
.lf-prose {
  max-width: 760px;
  margin: 0 auto;
  color: var(--brand-ink);
  font-size: 1.03rem;
  line-height: 1.75;
}
.lf-prose h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.6vw, 2.1rem);
  color: var(--brand-navy);
  margin: 48px 0 18px;
  line-height: 1.1;
  letter-spacing: -0.018em;
}
.lf-prose h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--brand-navy);
  margin: 32px 0 12px;
  line-height: 1.2;
}
.lf-prose p { margin: 0 0 18px; color: var(--brand-mute); }
.lf-prose p strong, .lf-prose strong { color: var(--brand-navy); font-weight: 600; }
.lf-prose a { color: var(--brand-blue); text-decoration: underline; text-decoration-color: rgba(13, 142, 246, 0.35); text-underline-offset: 3px; }
.lf-prose a:hover { text-decoration-color: var(--brand-blue); }
.lf-prose ul, .lf-prose ol { margin: 0 0 20px; padding-left: 22px; color: var(--brand-mute); }
.lf-prose li { margin-bottom: 8px; }

/* Story steps (sequential timeline cards) */
.lf-story {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: story;
}
.lf-story__step {
  background: #fff;
  border: 1px solid rgba(1, 31, 65, 0.06);
  border-radius: 18px;
  padding: 36px 28px;
  position: relative;
  transition: transform 380ms var(--ease-brand), box-shadow 380ms var(--ease-brand), border-color 380ms var(--ease-brand);
  counter-increment: story;
}
.lf-story__step:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 142, 246, 0.2);
  box-shadow: 0 20px 48px -16px rgba(1, 31, 65, 0.1);
}
.lf-story__step::before {
  content: counter(story, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  background: var(--brand-gradient-text);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}
.lf-story__step h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--brand-navy);
  margin-bottom: 10px;
  line-height: 1.2;
  font-weight: 500;
}
.lf-story__step p {
  font-size: 0.95rem;
  color: var(--brand-mute);
  line-height: 1.6;
}

/* Value grid (3x3 card grid, tighter than features) */
.lf-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.lf-value {
  background: #fff;
  border: 1px solid rgba(1, 31, 65, 0.06);
  border-radius: 16px;
  padding: 28px 26px;
  transition: transform 380ms var(--ease-brand), border-color 380ms var(--ease-brand), box-shadow 380ms var(--ease-brand);
}
.lf-value:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 142, 246, 0.2);
  box-shadow: 0 14px 32px -14px rgba(1, 31, 65, 0.1);
}
.lf-value h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--brand-navy);
  margin-bottom: 8px;
  line-height: 1.25;
  font-weight: 500;
}
.lf-value p {
  font-size: 0.9rem;
  color: var(--brand-mute);
  line-height: 1.6;
}

/* FAQ accordion */
.lf-faq {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lf-faq details {
  background: #fff;
  border: 1px solid rgba(1, 31, 65, 0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 240ms var(--ease-brand), box-shadow 240ms var(--ease-brand);
}
.lf-faq details[open] {
  border-color: rgba(13, 142, 246, 0.3);
  box-shadow: 0 10px 28px -16px rgba(13, 142, 246, 0.18);
}
.lf-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 26px;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--brand-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 200ms var(--ease-brand);
}
.lf-faq summary::-webkit-details-marker { display: none; }
.lf-faq summary::after {
  content: '';
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--brand-navy);
  border-bottom: 2px solid var(--brand-navy);
  transform: rotate(45deg);
  transition: transform 280ms var(--ease-brand), border-color 200ms var(--ease-brand);
  flex-shrink: 0;
}
.lf-faq details[open] summary { color: var(--brand-blue); }
.lf-faq details[open] summary::after {
  transform: rotate(-135deg);
  border-color: var(--brand-blue);
}
.lf-faq__body {
  padding: 0 26px 22px;
  color: var(--brand-mute);
  font-size: 0.97rem;
  line-height: 1.7;
}
.lf-faq__body p + p { margin-top: 12px; }

/* Icon list (values / what we do) */
.lf-iconlist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 32px;
}
.lf-iconlist__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.lf-iconlist__bullet {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.82rem;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 6px 16px -6px rgba(13, 142, 246, 0.4);
}
.lf-iconlist__item h4 {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1rem;
  color: var(--brand-navy);
  margin-bottom: 4px;
  line-height: 1.3;
}
.lf-iconlist__item p {
  font-size: 0.92rem;
  color: var(--brand-mute);
  line-height: 1.55;
}

/* Trust banner (CTA before footer) */
.lf-trust {
  background: var(--brand-gradient);
  color: #fff;
  border-radius: 26px;
  padding: clamp(48px, 6vw, 80px) clamp(32px, 5vw, 64px);
  max-width: 1200px;
  margin: 40px 32px;
  margin-inline: auto;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Breathing room around trust banner when wrapped in a <section> */
section:has(> .lf-trust) {
  padding: 40px 32px 80px;
}
@media (max-width: 540px) {
  section:has(> .lf-trust) { padding: 24px 20px 64px; }
}
.lf-trust::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 80% 20%, rgba(255, 255, 255, 0.14), transparent 60%),
    radial-gradient(60% 60% at 20% 80%, rgba(255, 255, 255, 0.08), transparent 60%);
  pointer-events: none;
}
.lf-trust__inner { position: relative; z-index: 1; }
.lf-trust h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin-bottom: 14px;
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: #fff;
}
.lf-trust p {
  font-size: 1.08rem;
  max-width: 560px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}
.lf-trust .lf-btn-primary {
  background: #fff;
  color: var(--brand-navy) !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.lf-trust .lf-btn-primary:hover {
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand-navy) !important;
}

/* Simple contact/input form (contact-us) */
.lf-simple-form {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lf-simple-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-mute);
  margin-bottom: 8px;
}
.lf-simple-form input,
.lf-simple-form textarea,
.lf-simple-form select {
  width: 100%;
  font-family: var(--font-ui);
  font-size: 1rem;
  padding: 14px 16px;
  border: 1.5px solid rgba(1, 31, 65, 0.1);
  border-radius: 12px;
  background: #fff;
  color: var(--brand-navy);
  transition: border-color 220ms var(--ease-brand), box-shadow 220ms var(--ease-brand);
}
.lf-simple-form input:focus,
.lf-simple-form textarea:focus,
.lf-simple-form select:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(13, 142, 246, 0.12), 0 8px 20px -10px rgba(13, 142, 246, 0.3);
}
.lf-simple-form textarea { resize: vertical; min-height: 140px; }
.lf-simple-form button {
  align-self: flex-start;
  padding: 14px 28px;
  background: var(--brand-gradient);
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 10px 24px -10px rgba(13, 142, 246, 0.45);
  transition: transform 280ms var(--ease-brand), box-shadow 280ms var(--ease-brand);
}
.lf-simple-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -10px rgba(13, 142, 246, 0.55);
}

/* Blog list cards */
.lf-bloggrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.lf-blogcard {
  background: #fff;
  border: 1px solid rgba(1, 31, 65, 0.06);
  border-radius: 18px;
  padding: 32px 28px;
  transition: transform 380ms var(--ease-brand), border-color 380ms var(--ease-brand), box-shadow 380ms var(--ease-brand);
}
.lf-blogcard:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 142, 246, 0.2);
  box-shadow: 0 16px 40px -16px rgba(1, 31, 65, 0.12);
}
.lf-blogcard__meta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 12px;
}
.lf-blogcard h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  color: var(--brand-navy);
  line-height: 1.2;
  margin-bottom: 10px;
  font-weight: 500;
}
.lf-blogcard p {
  font-size: 0.92rem;
  color: var(--brand-mute);
  line-height: 1.6;
  margin-bottom: 16px;
}
.lf-blogcard__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 200ms var(--ease-brand);
}
.lf-blogcard__link:hover { gap: 8px; }

/* Empty state (blog with no posts) */
.lf-empty {
  max-width: 520px;
  margin: 40px auto;
  text-align: center;
  padding: 48px 32px;
  background: rgba(1, 31, 65, 0.02);
  border: 1px dashed rgba(1, 31, 65, 0.15);
  border-radius: 20px;
}
.lf-empty h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--brand-navy);
  margin-bottom: 10px;
  font-weight: 500;
}
.lf-empty p { color: var(--brand-mute); font-size: 0.95rem; }

/* Careers job list */
.lf-jobs {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 880px;
  margin: 0 auto;
}
.lf-job {
  background: #fff;
  border: 1px solid rgba(1, 31, 65, 0.08);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  transition: border-color 280ms var(--ease-brand), box-shadow 280ms var(--ease-brand), transform 280ms var(--ease-brand);
  text-decoration: none;
  color: inherit;
}
.lf-job:hover {
  border-color: var(--brand-blue);
  box-shadow: 0 14px 32px -14px rgba(13, 142, 246, 0.2);
  transform: translateY(-1px);
}
.lf-job h4 {
  font-family: var(--font-display);
  font-size: 1.24rem;
  color: var(--brand-navy);
  margin-bottom: 4px;
  font-weight: 500;
  line-height: 1.2;
}
.lf-job__meta {
  font-size: 0.85rem;
  color: var(--brand-mute);
}
.lf-job__arrow {
  font-size: 1.2rem;
  color: var(--brand-blue);
  transition: transform 260ms var(--ease-brand);
}
.lf-job:hover .lf-job__arrow { transform: translateX(4px); }

/* Media — inner page */
@media (max-width: 900px) {
  .lf-story,
  .lf-values { grid-template-columns: 1fr 1fr; }
  .lf-iconlist,
  .lf-bloggrid { grid-template-columns: 1fr; }
  .lf-subhero { padding: 120px 20px 56px; }
}
@media (max-width: 540px) {
  .lf-story,
  .lf-values { grid-template-columns: 1fr; }
  .lf-job { flex-direction: column; align-items: flex-start; }
}

/* ─── MEDIA ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .lf-hero__grid,
  .lf-products,
  .lf-how__grid,
  .lf-apply__grid { grid-template-columns: 1fr !important; gap: 48px; }
  .lf-features { grid-template-columns: 1fr 1fr; }
  .lf-footer__grid { grid-template-columns: 1fr 1fr; }
  .lf-nav__links { display: none; }
  .lf-nav__toggle { display: inline-flex; }
  .lf-how__sticky { position: static; }
  .lf-hero { min-height: auto; padding-bottom: 40px; }
}
@media (max-width: 540px) {
  .lf-features,
  .lf-footer__grid { grid-template-columns: 1fr; }
  .lf-hero__grid { padding: 60px 20px 40px; }
  .lf-section { padding: 72px 20px; }
  .lf-nav__inner { padding: 0 20px; }
  .lf-hero__stats { gap: 28px; flex-wrap: wrap; }
}
