/* Airlend Flow v25.14 — balanced broker welcome index */
.af-index {
  --afi-navy: #071b3a;
  --afi-ink: #152033;
  --afi-muted: rgba(21, 32, 51, .66);
  --afi-soft: rgba(21, 32, 51, .055);
  --afi-border: rgba(12, 36, 76, .10);
  --afi-blue: #1464f6;
  --afi-blue-2: #0b54df;
  --afi-blue-soft: rgba(20, 100, 246, .085);
  --afi-blue-line: rgba(20, 100, 246, .22);
  --afi-green: #14b87a;
  --afi-radius: 20px;
  --afi-shadow: 0 18px 48px rgba(7, 27, 58, .08);
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(20, 100, 246, .085), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(20, 184, 122, .065), transparent 26%),
    linear-gradient(180deg, #fbfdff 0%, #f7f9fd 100%);
  color: var(--afi-ink);
  font-family: inherit;
}

.af-index *,
.af-index *::before,
.af-index *::after { box-sizing: border-box; }
.af-index a { text-decoration: none; }

.af-index-nav,
.af-index-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.af-index-nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--afi-border);
}

.af-index-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--afi-navy);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: -.01em;
}

.af-index-logo {
  width: 118px;
  height: auto;
  display: block;
  object-fit: contain;
}

.af-index-brand span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding-left: 12px;
  border-left: 1px solid var(--afi-border);
  color: rgba(7, 27, 58, .72);
}

.af-index-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.af-index-nav-link {
  color: var(--afi-muted);
  font-size: 13px;
  font-weight: 800;
  padding: 10px 3px;
  transition: color .16s ease;
}

.af-index-nav-link:hover { color: var(--afi-blue); }

.af-index-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 17px;
  border-radius: 13px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: -.01em;
  line-height: 1;
  white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}

.af-index-btn:hover {
  transform: translateY(-1px);
}

.af-index-btn i { font-size: 13px; }

.af-index-btn--small {
  min-height: 40px;
  padding: 0 15px;
}

.af-index-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--afi-blue), var(--afi-blue-2));
  box-shadow: 0 14px 28px rgba(20, 100, 246, .22);
}

.af-index-btn--primary:hover {
  color: #fff;
  box-shadow: 0 18px 34px rgba(20, 100, 246, .28);
}

.af-index-btn--secondary {
  color: var(--afi-blue);
  background: #fff;
  border-color: rgba(20, 100, 246, .20);
}

.af-index-btn--secondary:hover {
  color: var(--afi-blue-2);
  border-color: rgba(20, 100, 246, .36);
  box-shadow: 0 12px 24px rgba(7, 27, 58, .06);
}

.af-index-hero {
  min-height: 550px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 58px;
  align-items: center;
  padding: 82px 0 56px;
}

.af-index-copy {
  max-width: 690px;
}

.af-index-kicker {
  margin: 0 0 13px;
  color: var(--afi-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.af-index h1,
.af-index h2,
.af-index h3,
.af-index p { margin-top: 0; }

.af-index h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--afi-navy);
  font-size: clamp(38px, 5.1vw, 64px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 900;
}

.af-index-lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: var(--afi-muted);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.58;
  letter-spacing: -.015em;
}

.af-index-cta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 17px;
}

.af-index-note {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--afi-blue-soft);
  border: 1px solid rgba(20, 100, 246, .11);
  color: rgba(7, 27, 58, .72);
  font-size: 12px;
  font-weight: 750;
}

.af-index-flow-card {
  position: relative;
  isolation: isolate;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--afi-border);
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--afi-shadow);
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.af-index-flow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(20, 100, 246, .10), transparent 36%),
    radial-gradient(circle at 92% 14%, rgba(20, 184, 122, .13), transparent 26%);
}

.af-index-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--afi-border);
  color: var(--afi-navy);
  font-size: 13px;
  font-weight: 900;
}

.af-index-dot {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 999px;
  background: var(--afi-green);
  box-shadow: 0 0 0 5px rgba(20, 184, 122, .12);
}

.af-index-paths {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.af-index-path {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  padding: 14px;
  border-radius: 17px;
  border: 1px solid rgba(12, 36, 76, .08);
  background: rgba(255, 255, 255, .75);
}

.af-index-path-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(20, 100, 246, .13), rgba(20, 100, 246, .055));
  color: var(--afi-blue);
}

.af-index-path strong {
  display: block;
  color: var(--afi-navy);
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 3px;
}

.af-index-path small {
  display: block;
  color: var(--afi-muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.af-index-mini-link {
  margin-top: 18px;
  padding: 15px;
  border-radius: 17px;
  border: 1px solid var(--afi-blue-line);
  background: rgba(20, 100, 246, .06);
}

.af-index-mini-link span,
.af-index-mini-link strong {
  display: block;
}

.af-index-mini-link span {
  margin-bottom: 5px;
  color: var(--afi-muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.af-index-mini-link strong {
  color: var(--afi-navy);
  font-size: 13px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.af-index-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 8px 0 46px;
}

.af-index-strip article {
  min-height: 168px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--afi-border);
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 12px 30px rgba(7, 27, 58, .045);
}

.af-index-strip span,
.af-index-workflow-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 15px;
  color: var(--afi-blue);
  background: var(--afi-blue-soft);
  border: 1px solid rgba(20, 100, 246, .11);
}

.af-index-strip h2,
.af-index-workflow-card h3 {
  margin-bottom: 7px;
  color: var(--afi-navy);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -.02em;
}

.af-index-strip p,
.af-index-workflow-card p,
.af-index-bottom p {
  margin-bottom: 0;
  color: var(--afi-muted);
  font-size: 13px;
  line-height: 1.55;
}

.af-index-workflow {
  padding: 34px 0 58px;
  border-top: 1px solid var(--afi-border);
}

.af-index-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.af-index-section-head h2,
.af-index-bottom h2 {
  margin-bottom: 0;
  color: var(--afi-navy);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 900;
}

.af-index-workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.af-index-workflow-card {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--afi-border);
  background: #fff;
  box-shadow: 0 14px 34px rgba(7, 27, 58, .05);
}

.af-index-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-bottom: 54px;
  padding: 26px;
  border-radius: 24px;
  border: 1px solid rgba(20, 100, 246, .18);
  background:
    linear-gradient(135deg, rgba(20, 100, 246, .08), rgba(255, 255, 255, .82)),
    #fff;
  box-shadow: 0 16px 40px rgba(7, 27, 58, .06);
}

.af-index-bottom h2 {
  max-width: 670px;
  margin-bottom: 10px;
}

.af-index-bottom p { max-width: 760px; }

.af-index-bottom-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .af-index-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 62px;
    min-height: auto;
  }

  .af-index-copy { max-width: none; }
  .af-index-flow-card { max-width: 620px; }
  .af-index-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .af-index-workflow-grid { grid-template-columns: 1fr; }
  .af-index-bottom { grid-template-columns: 1fr; }
  .af-index-bottom-actions { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .af-index-nav,
  .af-index-shell {
    width: min(100% - 28px, 1120px);
  }

  .af-index-nav {
    min-height: 70px;
  }

  .af-index-brand span { display: none; }
  .af-index-logo { width: 108px; }
  .af-index-nav-actions { gap: 8px; }
  .af-index-nav-link { display: none; }

  .af-index-hero {
    padding: 46px 0 36px;
  }

  .af-index h1 {
    font-size: clamp(36px, 11vw, 46px);
  }

  .af-index-lead {
    font-size: 16px;
  }

  .af-index-cta,
  .af-index-bottom-actions {
    align-items: stretch;
    width: 100%;
  }

  .af-index-cta .af-index-btn,
  .af-index-bottom-actions .af-index-btn {
    width: 100%;
  }

  .af-index-strip { grid-template-columns: 1fr; }
  .af-index-strip article { min-height: auto; }
  .af-index-section-head { display: block; }
  .af-index-section-head .af-index-kicker { margin-bottom: 10px; }
  .af-index-flow-card,
  .af-index-bottom { border-radius: 20px; }
}
