/*
 * Homepage (/) layout. Tokens come from lp-forms.css, which loads first.
 */
.lp-home {
    background: var(--lp-bg);
    color: var(--lp-muted);
}
.lp-home h1, .lp-home h2, .lp-home h3 {
    color: var(--lp-ink);
    letter-spacing: -.02em;
}
.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: 1rem;
    color: var(--lp-steel);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.lp-section {
    padding: 6rem 0;
}
.lp-section-head {
    max-width: 640px;
    margin: 0 auto 3rem;
    text-align: center;
}
.lp-section-head h2 {
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: .75rem;
}
.lp-section-head p {
    font-size: 1.075rem;
    margin: 0;
}

/* ---------- Hero ---------- */
.lp-hero {
    position: relative;
    overflow: hidden;
    padding: calc(110px + 3.5rem) 0 6rem;
    background:
        radial-gradient(700px 420px at 85% 10%, rgba(23, 166, 127, .16), transparent 70%),
        radial-gradient(600px 500px at 0% 100%, rgba(63, 101, 119, .45), transparent 70%),
        var(--lp-slate);
    color: rgba(255, 255, 255, .75);
}
.lp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
    pointer-events: none;
}
.lp-hero .container {
    position: relative;
    z-index: 1;
}
/* Personal-loan photo: right side of the hero, under the form and the glow */
.lp-hero-art {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: calc((100% - min(95%, 1320px)) / 2 + min(95%, 1320px) * 5 / 12 + 4rem);
    max-width: 50%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%);
    mask-image: linear-gradient(90deg, transparent, #000 24%);
}
.lp-hero-art[hidden] {
    display: none;
}
.lp-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 4rem;
    align-items: center;
}
.lp-hero .lp-eyebrow {
    padding: .4rem .85rem;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    color: #9fe3cd;
    letter-spacing: .04em;
    text-transform: none;
    font-size: .85rem;
}
.lp-hero h1 {
    margin-bottom: 1.25rem;
    color: #fff;
    font-size: clamp(2.6rem, 5.5vw, 4.25rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.035em;
}
.lp-hero h1 em {
    font-style: normal;
    white-space: nowrap;
    background: linear-gradient(90deg, #5fd6b1, #8fb8c9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.lp-hero-lead {
    max-width: 520px;
    margin-bottom: 2rem;
    font-size: 1.15rem;
    line-height: 1.6;
}
.lp-hero-points {
    display: grid;
    gap: .85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.lp-hero-points li {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: rgba(255, 255, 255, .88);
    font-weight: 500;
}
.lp-hero-points i {
    display: inline-flex;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(23, 166, 127, .18);
    color: #5fd6b1;
    font-size: 1rem;
}

/* Hero form card */
.lp-start {
    overflow: hidden;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .06);
    color: var(--lp-muted);
}
.lp-start-head {
    padding: 1.65rem 2rem 1.45rem;
    background:
        radial-gradient(420px 160px at 100% 0, rgba(95, 214, 177, .28), transparent 70%),
        linear-gradient(145deg, #1f5c52 0%, #163e3c 48%, #1a3336 100%);
    color: rgba(255, 255, 255, .78);
}
.lp-start-head h2 {
    margin-bottom: .35rem;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}
.lp-start-sub {
    margin: 0;
    color: rgba(255, 255, 255, .74);
    font-size: .95rem;
}
.lp-start-body {
    padding: 1.5rem 2rem 1.75rem;
}
.lp-start-field {
    margin-bottom: 1.1rem;
}
.lp-start label {
    display: block;
    margin-bottom: .45rem;
    color: var(--lp-ink);
    font-size: .875rem;
    font-weight: 600;
}
.lp-start .form-select {
    min-height: 54px;
    border: 1.5px solid var(--lp-line);
    border-radius: 12px;
    color: var(--lp-ink);
    font-weight: 500;
}
.lp-start .form-select:focus {
    border-color: var(--lp-steel);
    box-shadow: var(--lp-ring);
}
/* Custom list so the open menu matches the card instead of the browser menu */
.lp-pick {
    position: relative;
}
.lp-pick-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.lp-pick-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    width: 100%;
    min-height: 54px;
    padding: 0 1rem 0 1.05rem;
    border: 1.5px solid var(--lp-line);
    border-radius: 12px;
    background: #fff;
    color: var(--lp-ink);
    font-weight: 500;
    text-align: left;
}
.lp-pick-btn.is-placeholder {
    color: var(--lp-muted);
    font-weight: 400;
}
.lp-pick-btn:hover {
    border-color: #c5d0d8;
}
.lp-pick-btn:focus {
    outline: 0;
}
.lp-pick-btn:focus-visible,
.lp-pick-btn.is-open {
    border-color: var(--lp-steel);
    box-shadow: var(--lp-ring);
}
.lp-pick-caret {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    margin-right: .15rem;
    border-right: 2px solid var(--lp-steel);
    border-bottom: 2px solid var(--lp-steel);
    transform: translateY(-2px) rotate(45deg);
    transition: transform .15s ease;
}
.lp-pick-btn.is-open .lp-pick-caret {
    transform: translateY(2px) rotate(225deg);
}
.lp-pick-menu {
    position: fixed;
    z-index: 1040;
    margin: 0;
    padding: .4rem;
    overflow: auto;
    list-style: none;
    border: 1px solid var(--lp-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 40px -18px rgba(31, 44, 51, .45), 0 0 0 1px rgba(31, 44, 51, .03);
    color: var(--lp-ink);
}
.lp-pick-opt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    min-height: 42px;
    padding: .45rem .75rem;
    border-radius: 10px;
    color: var(--lp-ink);
    font-weight: 500;
    cursor: pointer;
}
.lp-pick-opt:hover,
.lp-pick-opt:focus {
    outline: 0;
    background: var(--lp-steel-soft);
}
.lp-pick-opt.is-selected {
    background: rgba(23, 166, 127, .1);
    color: var(--lp-slate);
}
.lp-pick-opt .ai-check {
    flex: 0 0 auto;
    color: var(--lp-green);
    font-size: 1rem;
    opacity: 0;
}
.lp-pick-opt.is-selected .ai-check {
    opacity: 1;
}
.lp-pick-btn.is-invalid,
.lp-pick-btn.is-invalid:focus-visible,
.lp-pick-btn.is-invalid.is-open {
    border-color: #c53636;
    box-shadow: 0 0 0 4px rgba(197, 54, 54, .16);
}
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 54px;
    padding: 0 1.75rem;
    border: 0;
    border-radius: 12px;
    background: var(--lp-steel);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 12px 24px -12px rgba(63, 101, 119, .8);
    transition: background .15s ease, transform .15s ease;
}
.lp-btn:hover, .lp-btn:focus-visible {
    background: var(--lp-steel-dark);
    color: #fff;
    transform: translateY(-1px);
}
.lp-btn-light {
    background: #fff;
    color: var(--lp-slate);
    box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .7);
}
.lp-btn-light:hover, .lp-btn-light:focus-visible {
    background: #eef4f7;
    color: var(--lp-slate);
}
.lp-start .lp-btn {
    width: 100%;
    margin-top: 1.15rem;
    background: #0e6848;
    box-shadow: 0 10px 22px -12px rgba(14, 104, 72, .9);
    animation: lpPulse 2.4s ease-in-out infinite;
}
.lp-start .lp-btn:hover,
.lp-start .lp-btn:focus-visible {
    background: #0a5339;
}
.lp-start .lp-trust {
    margin-top: 1.1rem;
    font-size: .8rem;
}

/* ---------- Partner logos ---------- */
.lp-logos {
    padding: 3rem 0;
    border-bottom: 1px solid var(--lp-line);
    background: #fff;
}
.lp-logos p {
    margin-bottom: 1.75rem;
    text-align: center;
    font-size: .875rem;
    font-weight: 500;
}
.lp-logo-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.lp-logo-track {
    --gap: 4rem;
    display: flex;
    align-items: center;
    gap: var(--gap);
    width: max-content;
    animation: lpMarquee 32s linear infinite;
}
.lp-logo-marquee:hover .lp-logo-track {
    animation-play-state: paused;
}
.lp-logo-track img {
    flex: none;
    width: auto;
    max-width: 130px;
    max-height: 34px;
    filter: grayscale(1);
    mix-blend-mode: multiply;
    opacity: .6;
    transition: filter .2s ease, opacity .2s ease;
}
.lp-logo-track img:hover {
    filter: none;
    opacity: 1;
}

/* ---------- How it works ---------- */
.lp-how {
    overflow: hidden;
}
.lp-how-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 5rem;
    align-items: center;
    max-width: 1040px;
    margin: 0 auto;
}
.lp-how-row.is-flipped .lp-how-visual {
    order: -1;
}
.lp-how-badge {
    display: inline-block;
    margin-bottom: 1.1rem;
    padding: .35rem .8rem;
    border-radius: 999px;
    background: var(--lp-steel);
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
}
.lp-how-text h3 {
    margin-bottom: 1rem;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
}
.lp-how-text > p {
    margin-bottom: 1.75rem;
    font-size: 1.075rem;
}
.lp-btn-outline {
    min-height: 46px;
    padding: 0 1.4rem;
    border: 1.5px solid var(--lp-steel);
    border-radius: 999px;
    background: transparent;
    color: var(--lp-steel);
    box-shadow: none;
}
.lp-btn-outline:hover, .lp-btn-outline:focus-visible {
    background: var(--lp-steel);
    color: #fff;
}
.lp-how-arrow {
    display: flex;
    justify-content: center;
    color: var(--lp-steel);
    pointer-events: none;
}
.lp-how-arrow-1 { margin: -120px 0 -110px -250px; }
.lp-how-arrow-2 { margin: -20px 0 -130px -110px; }
.lp-how-arrow-2 svg { transform: translate(-60px, -40px); }
.lp-arrow-draw {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
}
.lp-arrow-head {
    opacity: 0;
}
.lp-how-arrow.is-in .lp-arrow-draw {
    transition: stroke-dashoffset 1.4s .2s ease-in-out;
    stroke-dashoffset: 0;
}
.lp-how-arrow.is-in .lp-arrow-head {
    transition: opacity .3s 1.5s ease;
    opacity: 1;
}
/* Arrow 1's path starts at its arrowhead, so it draws from the other end. */
.lp-how-arrow-1 .lp-arrow-draw { stroke-dashoffset: -1; }

/* Step mock-ups: small product sketches that loop while in view */
.lp-how-visual {
    position: relative;
}
.lp-how-visual::before {
    content: "";
    position: absolute;
    inset: 8% -4% -6% 8%;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(23, 166, 127, .14), rgba(63, 101, 119, .14));
    transform: rotate(-3deg);
}
.lp-how-row.is-flipped .lp-how-visual::before {
    inset: 8% 8% -6% -4%;
    transform: rotate(3deg);
}
.lp-mock {
    position: relative;
    overflow: hidden;
    max-width: 440px;
    margin: 0 auto;
    border: 1px solid var(--lp-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--lp-card-shadow);
}
.lp-mock *, .lp-mock *::before, .lp-mock *::after {
    animation-play-state: paused !important;
}
.is-in .lp-mock *, .is-in .lp-mock *::before, .is-in .lp-mock *::after {
    animation-play-state: running !important;
}
.lp-mock-bar {
    display: flex;
    gap: 6px;
    padding: .8rem 1rem;
    border-bottom: 1px solid #eef1f4;
}
.lp-mock-bar i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #e3e9ef;
}
.lp-mock-body {
    position: relative;
    padding: 1.4rem;
}
.lp-mock-label {
    margin-bottom: .8rem;
    color: var(--lp-ink);
    font-size: .85rem;
    font-weight: 700;
}
.lp-mock-logo {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--lp-steel-soft);
}
.lp-mock-line,
.lp-mock-lines span,
.lp-mock-doc span {
    display: block;
    height: 8px;
    border-radius: 6px;
    background: #e9eef2;
}

/* Mock 1: matching */
.lp-mock-request {
    display: flex;
    gap: .5rem;
    margin-bottom: 1.25rem;
}
.lp-mock-chip {
    padding: .35rem .75rem;
    border-radius: 999px;
    background: var(--lp-steel-soft);
    color: var(--lp-steel);
    font-size: .8rem;
    font-weight: 600;
}
.lp-mock-progress {
    height: 6px;
    margin-bottom: 1.1rem;
    overflow: hidden;
    border-radius: 6px;
    background: #eef1f4;
}
.lp-mock-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--lp-green), var(--lp-steel));
    transform-origin: left;
    animation: lpFill 6s ease-in-out infinite;
}
.lp-mock-partners {
    display: grid;
    gap: .6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.lp-mock-partners li {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .6rem;
    border: 1px solid #eef1f4;
    border-radius: 14px;
    animation: lpPartner 6s ease infinite;
}
.lp-mock-partners li:nth-child(2) { animation-delay: .35s; }
.lp-mock-partners li:nth-child(3) { animation-delay: .7s; }
.lp-mock-partners .lp-mock-line { flex: 1; max-width: 120px; }
.lp-mock-match-tag {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    margin-left: auto;
    padding: .25rem .55rem;
    border-radius: 999px;
    background: rgba(23, 166, 127, .12);
    color: var(--lp-green);
    font-size: .72rem;
    font-weight: 700;
    animation: lpTag 6s ease infinite;
}
.lp-mock-partners li:nth-child(2) .lp-mock-match-tag { animation-delay: .35s; }
.lp-mock-partners li:nth-child(3) .lp-mock-match-tag { animation-delay: .7s; }

/* Mock 2: offers */
.lp-mock-offer {
    position: relative;
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .6rem;
    padding: .75rem;
    border: 1.5px solid #eef1f4;
    border-radius: 14px;
}
.lp-mock-lines {
    display: grid;
    flex: 1;
    gap: 6px;
}
.lp-mock-lines span:first-child { width: 70%; background: #dfe6ec; }
.lp-mock-lines span:last-child { width: 45%; }
.lp-mock-btn {
    padding: .35rem .75rem;
    border-radius: 8px;
    background: var(--lp-steel-soft);
    color: var(--lp-steel);
    font-size: .75rem;
    font-weight: 700;
}
.lp-mock-offer.is-pick {
    animation: lpPick 5s ease infinite;
}
.lp-mock-offer.is-pick .lp-mock-btn {
    animation: lpPickBtn 5s ease infinite;
}
.lp-mock-picked {
    position: absolute;
    top: -10px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    padding: .2rem .55rem;
    border-radius: 999px;
    background: var(--lp-green);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    animation: lpPicked 5s ease infinite;
}
.lp-mock-cursor {
    position: absolute;
    top: 0;
    left: 0;
    width: 22px;
    height: 22px;
    background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3l14 8-6 1.5L10 19z' fill='%231d243a' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E");
    animation: lpCursor 5s ease infinite;
}

/* Mock 3: finish */
.lp-mock-doc {
    display: grid;
    gap: 9px;
    margin-bottom: 1.1rem;
    padding: 1rem;
    border-radius: 12px;
    background: var(--lp-bg);
}
.lp-mock-doc span {
    transform-origin: left;
    animation: lpLine 6s ease infinite;
}
.lp-mock-doc span:nth-child(1) { width: 90%; }
.lp-mock-doc span:nth-child(2) { width: 75%; animation-delay: .2s; }
.lp-mock-doc span:nth-child(3) { width: 85%; animation-delay: .4s; }
.lp-mock-doc span:nth-child(4) { width: 50%; animation-delay: .6s; }
.lp-mock-sign {
    margin-bottom: 1rem;
    padding-bottom: .4rem;
    border-bottom: 1.5px dashed var(--lp-line);
    color: var(--lp-steel);
}
.lp-mock-sign svg {
    display: block;
    width: 70%;
    height: 44px;
}
.lp-mock-sign path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: lpSign 6s ease infinite;
}
.lp-mock-done {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .7rem .9rem;
    border-radius: 12px;
    background: rgba(23, 166, 127, .1);
    color: var(--lp-green);
    font-size: .85rem;
    font-weight: 700;
    animation: lpDone 6s ease infinite;
}
.lp-mock-done i {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--lp-green);
    color: #fff;
    font-size: .8rem;
}

/* ---------- Loan purposes ---------- */
.lp-purposes {
    background: #FFFFFF;
}
.lp-purpose-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}
.lp-purpose {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.75rem 1.1rem 1.5rem;
    border: 1px solid #e6e4de;
    border-radius: 18px;
    background: #f8f8f8;
    color: var(--lp-muted);
    text-align: center;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.lp-purpose:hover {
    border-color: #d4d1c9;
    box-shadow: 0 10px 24px -16px rgba(31, 44, 51, .4);
    color: var(--lp-muted);
    transform: translateY(-2px);
}
.lp-purpose-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .85rem;
    color: var(--lp-steel);
    font-size: 1.65rem;
    line-height: 1;
}
.lp-purpose h3 {
    margin-bottom: .45rem;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.3;
}
.lp-purpose p {
    flex: 1;
    margin: 0 0 1.15rem;
    font-size: .875rem;
    line-height: 1.45;
}
.lp-purpose-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    margin-top: auto;
    border-radius: 10px;
    background: #0e6848;
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
}
.lp-purpose:hover .lp-purpose-btn {
    background: #0a5339;
}

/* Research-style panel under the program cards */
.lp-insight {
    margin-top: 3rem;
    overflow: hidden;
    border-radius: 28px;
    background: #15282e;
    color: rgba(255, 255, 255, .76);
}
.lp-insight-main {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 2.5rem;
    align-items: center;
    padding: 2.75rem 2.75rem 1.5rem;
}
.lp-insight-copy .lp-eyebrow {
    margin-bottom: .9rem;
    color: #9fe3cd;
    letter-spacing: .12em;
    font-size: .72rem;
}
.lp-insight h2 {
    max-width: 14ch;
    margin-bottom: 1rem;
    color: #fff;
    font-size: clamp(1.85rem, 3vw, 2.65rem);
    font-weight: 700;
    line-height: 1.12;
}
.lp-insight p {
    max-width: 460px;
    margin-bottom: 1.6rem;
    font-size: 1rem;
    line-height: 1.55;
}
.lp-insight .lp-btn {
    background: #17a67f;
    box-shadow: 0 12px 24px -14px rgba(23, 166, 127, .8);
}
.lp-insight .lp-btn:hover,
.lp-insight .lp-btn:focus-visible {
    background: #128a69;
}
.lp-insight-visual {
    position: relative;
    min-height: 280px;
}
.lp-insight-spark {
    position: absolute;
    top: 0;
    left: 8%;
    width: 46px;
    height: 46px;
    fill: #5fd6b1;
    z-index: 2;
}
.lp-insight-scene {
    margin-top: 1.75rem;
    border-radius: 22px;
    overflow: hidden;
}
.lp-insight-scene svg {
    display: block;
    width: 100%;
    height: auto;
}
.lp-insight-chip {
    position: absolute;
    right: 0;
    bottom: 1.25rem;
    width: 148px;
    padding: .85rem .9rem .7rem;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 32px -18px rgba(0, 0, 0, .45);
    color: var(--lp-ink);
}
.lp-insight-chip span {
    display: block;
    color: var(--lp-muted);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.lp-insight-chip strong {
    display: block;
    margin: .1rem 0 .55rem;
    color: var(--lp-ink);
    font-size: 1.25rem;
    letter-spacing: -.03em;
}
.lp-insight-bars {
    display: flex;
    align-items: flex-end;
    gap: .35rem;
    height: 52px;
}
.lp-insight-bars span {
    flex: 1;
    border-radius: 4px 4px 2px 2px;
    background: #17a67f;
}
.lp-insight-bars span:nth-child(odd) {
    background: #3f6577;
}
.lp-insight-wave {
    display: block;
    width: 100%;
    height: 36px;
    margin-bottom: -1px;
}
.lp-insight-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem 2rem;
    padding: 1.15rem 2.75rem 1.85rem;
    background: #12343a;
}
.lp-insight-stat {
    display: flex;
    align-items: center;
    gap: .9rem;
}
.lp-insight-stat strong {
    flex: 0 0 auto;
    color: #fff;
    font-size: clamp(1.7rem, 2.4vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1;
}
.lp-insight-stat span {
    color: rgba(255, 255, 255, .72);
    font-size: .9rem;
    line-height: 1.35;
}

/* ---------- Goals ---------- */
.lp-goals-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 4rem;
    align-items: start;
}
.lp-goals-intro {
    position: sticky;
    top: 120px;
}
.lp-goals-intro h2 {
    margin-bottom: 1rem;
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    font-weight: 700;
}
.lp-goals-intro > p {
    margin-bottom: 1.75rem;
    font-size: 1.075rem;
}
.lp-checks {
    display: grid;
    gap: .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.lp-checks li {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: var(--lp-ink);
    font-weight: 500;
}
.lp-checks i {
    color: var(--lp-green);
    font-size: 1.25rem;
}
.lp-goal-list {
    display: grid;
    gap: 1rem;
}
.lp-goal {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 1.75rem;
    border: 1px solid var(--lp-line);
    border-radius: 18px;
    background: #fff;
    color: var(--lp-muted);
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.lp-goal:hover {
    border-color: #c7d6de;
    box-shadow: var(--lp-card-shadow);
    color: var(--lp-muted);
}
.lp-goal div {
    flex: 1;
}
.lp-goal h3 {
    margin-bottom: .25rem;
    font-size: 1.125rem;
    font-weight: 700;
}
.lp-goal p {
    margin: 0;
    font-size: .95rem;
}
.lp-goal-arrow {
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--lp-steel-soft);
    color: var(--lp-steel);
    font-size: 1.1rem;
    transition: background .2s ease, color .2s ease;
}
.lp-goal:hover .lp-goal-arrow {
    background: var(--lp-steel);
    color: #fff;
}

/* ---------- Closing CTA ---------- */
.lp-cta-wrap {
    padding: 0 0 6rem;
}
.lp-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 4rem 2rem;
    border-radius: 28px;
    background:
        radial-gradient(500px 300px at 100% 0, rgba(23, 166, 127, .25), transparent 70%),
        linear-gradient(135deg, var(--lp-steel) 0%, var(--lp-slate) 100%);
    color: rgba(255, 255, 255, .78);
    text-align: center;
}
/* Photo sits on the left and dissolves into the green panel */
.lp-cta-art {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 58%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    pointer-events: none;
    z-index: 0;
    filter: saturate(.55) brightness(.72);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 28%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 28%, transparent 100%);
}
.lp-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(24, 72, 78, .62) 0%, rgba(31, 44, 51, .28) 32%, transparent 56%);
}
.lp-cta h2 {
    margin-bottom: .75rem;
    color: #fff;
    font-size: clamp(1.9rem, 3.5vw, 2.75rem);
    font-weight: 700;
}
.lp-cta p {
    max-width: 480px;
    margin: 0 auto 2rem;
    font-size: 1.075rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .lp-hero-grid { gap: 2.5rem; }
    .lp-purpose-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
    .lp-hero-art { display: none; }
    .lp-hero { padding: calc(90px + 2rem) 0 4rem; }
    .lp-hero-grid,
    .lp-goals-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
    .lp-goals-intro { position: static; }
    .lp-purpose-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-insight-main { grid-template-columns: minmax(0, 1fr); padding: 2rem 1.75rem 1rem; }
    .lp-insight h2 { max-width: none; }
    .lp-insight-stats { grid-template-columns: minmax(0, 1fr); padding: 1.5rem 1.75rem 1.6rem; }
    .lp-section { padding: 4.5rem 0; }
    .lp-start { max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 575px) {
    /* Keep just the headline above the form so the search starts near the top */
    .lp-hero { padding: calc(55px + 1.5rem) 0 3rem; }
    .lp-hero-grid { gap: 1.25rem; }
    .lp-hero h1 { margin-bottom: 0; font-size: 2.2rem; }
    .lp-hero .lp-eyebrow,
    .lp-hero-lead,
    .lp-hero-points { display: none; }
    .lp-start { border-radius: 20px; }
    .lp-start-head { padding: 1.35rem 1.25rem 1.2rem; }
    .lp-start-body { padding: 1.25rem 1.25rem 1.5rem; }
    .lp-purpose-grid { grid-template-columns: minmax(0, 1fr); }
    .lp-insight { border-radius: 22px; }
    .lp-insight-main { padding: 1.5rem 1.25rem .75rem; }
    .lp-insight-stats { padding: 1.35rem 1.25rem 1.4rem; }
    .lp-insight-chip { width: 132px; right: .4rem; }
    .lp-section { padding: 3.5rem 0; }
    .lp-logo-track { --gap: 2.5rem; }
    .lp-logo-track img { max-width: 100px; max-height: 26px; }
    .lp-goal { padding: 1.25rem; gap: 1rem; }
    .lp-cta { padding: 3rem 1.25rem; border-radius: 22px; }
    .lp-cta-art { width: 100%; opacity: .45; filter: saturate(.4) brightness(.55); }
    .lp-cta-wrap { padding-bottom: 3.5rem; }
}

/* Hero form: personal / business switch */
.lp-start-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin-bottom: 1.5rem;
    padding: 4px;
    border-radius: 14px;
    background: var(--lp-steel-soft);
}
.lp-start-switch button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    min-height: 42px;
    padding: 0 .5rem;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--lp-muted);
    font-size: .9rem;
    font-weight: 600;
    transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.lp-start-switch button:hover {
    color: var(--lp-ink);
}
.lp-start-switch button.is-active {
    background: #fff;
    color: var(--lp-ink);
    box-shadow: 0 1px 2px rgba(31, 44, 51, .08), 0 4px 12px -4px rgba(31, 44, 51, .18);
}
.lp-start-switch button.is-active i {
    color: var(--lp-green);
}
.lp-start-switch button:focus-visible {
    outline: 0;
    box-shadow: var(--lp-ring);
}
@media (max-width: 575px) {
    .lp-start-switch button { font-size: .85rem; white-space: nowrap; }
    .lp-start-switch button i { display: none; }
}

/* ---------- Motion ---------- */
/* Hero entrance */
.lp-hero [data-hero] > *,
.lp-start {
    animation: lpUp .7s cubic-bezier(.2, .8, .2, 1) both;
}
.lp-hero [data-hero] > :nth-child(2) { animation-delay: .08s; }
.lp-hero [data-hero] > :nth-child(3) { animation-delay: .16s; }
.lp-hero [data-hero] > :nth-child(4) { animation-delay: .24s; }
.lp-start { animation-delay: .2s; animation-duration: .8s; }
.lp-hero::after {
    content: "";
    position: absolute;
    top: -20%;
    right: -10%;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(23, 166, 127, .16), transparent 65%);
    animation: lpDrift 14s ease-in-out infinite alternate;
    pointer-events: none;
}

/* Scroll reveal: only hidden once the script has marked the page (html.lp-anim) */
.lp-anim [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1);
    transition-delay: var(--d, 0ms);
}
.lp-anim [data-reveal="left"] { transform: translateX(-40px); }
.lp-anim [data-reveal="right"] { transform: translateX(40px); }
.lp-anim [data-reveal="zoom"] { transform: scale(.94); }
.lp-anim [data-reveal].is-in {
    opacity: 1;
    transform: none;
}
/* Cards keep their own hover lift once revealed */
.lp-anim .lp-purpose.is-in,
.lp-anim .lp-goal.is-in {
    transition: opacity .7s cubic-bezier(.2, .8, .2, 1) var(--d, 0ms), transform .7s cubic-bezier(.2, .8, .2, 1) var(--d, 0ms),
                border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.lp-anim .lp-purpose.is-in:hover { transform: translateY(-3px); transition-delay: 0ms; }
.lp-cta::after {
    content: "";
    position: absolute;
    inset: -40%;
    background: conic-gradient(from 0deg, transparent, rgba(23, 166, 127, .18), transparent 30%);
    animation: lpSpin 16s linear infinite;
    pointer-events: none;
}
.lp-cta > *:not(.lp-cta-art) {
    position: relative;
    z-index: 2;
}

@keyframes lpPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(14, 104, 72, .38); }
    70% { box-shadow: 0 0 0 9px rgba(14, 104, 72, 0); }
}
@keyframes lpUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
}
@keyframes lpDrift {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(-120px, 80px) scale(1.15); }
}
@keyframes lpSpin {
    to { transform: rotate(360deg); }
}
@keyframes lpMarquee {
    to { transform: translateX(calc(-50% - var(--gap) / 2)); }
}
@keyframes lpFill {
    0% { transform: scaleX(0); }
    45%, 85% { transform: scaleX(1); }
    100% { transform: scaleX(1); opacity: 0; }
}
@keyframes lpPartner {
    0%, 10% { opacity: 0; transform: translateY(8px); }
    20%, 88% { opacity: 1; transform: none; }
    100% { opacity: 0; }
}
@keyframes lpTag {
    0%, 45% { opacity: 0; transform: scale(.6); }
    52%, 88% { opacity: 1; transform: none; }
    100% { opacity: 0; }
}
@keyframes lpCursor {
    0% { left: 30%; top: 210px; opacity: 0; }
    15% { opacity: 1; }
    40%, 46% { left: calc(100% - 68px); top: 150px; transform: none; }
    50% { left: calc(100% - 68px); top: 150px; transform: scale(.85); }
    55%, 85% { left: calc(100% - 68px); top: 150px; transform: none; opacity: 1; }
    100% { left: calc(100% - 68px); top: 150px; opacity: 0; }
}
@keyframes lpPick {
    0%, 48% { border-color: #eef1f4; box-shadow: none; transform: none; }
    55%, 90% { border-color: var(--lp-green); box-shadow: 0 10px 24px -14px rgba(23, 166, 127, .6); transform: scale(1.03); }
    100% { border-color: #eef1f4; box-shadow: none; transform: none; }
}
@keyframes lpPickBtn {
    0%, 48% { background: var(--lp-steel-soft); color: var(--lp-steel); }
    55%, 90% { background: var(--lp-green); color: #fff; }
    100% { background: var(--lp-steel-soft); color: var(--lp-steel); }
}
@keyframes lpPicked {
    0%, 50% { opacity: 0; transform: translateY(6px) scale(.8); }
    58%, 90% { opacity: 1; transform: none; }
    100% { opacity: 0; }
}
@keyframes lpLine {
    0% { transform: scaleX(0); }
    15%, 90% { transform: scaleX(1); }
    100% { transform: scaleX(1); opacity: .4; }
}
@keyframes lpSign {
    0%, 25% { stroke-dashoffset: 1; }
    55%, 92% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes lpDone {
    0%, 55% { opacity: 0; transform: translateY(8px); }
    62%, 92% { opacity: 1; transform: none; }
    100% { opacity: 0; }
}

@media (max-width: 991px) {
    .lp-how-row { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
    .lp-how-arrow + .lp-how-row { margin-top: 4.5rem; }
    .lp-how-row.is-flipped .lp-how-visual { order: 0; }
    .lp-how-arrow { display: none; }
    .lp-how-text { text-align: center; }
    .lp-how-text .lp-checks { justify-items: center; }
}
@media (prefers-reduced-motion: reduce) {
    .lp-home *, .lp-home *::before, .lp-home *::after {
        animation: none !important;
        transition: none !important;
    }
    .lp-anim [data-reveal] { opacity: 1; transform: none; }
    .lp-arrow-draw { stroke-dashoffset: 0 !important; }
    .lp-arrow-head, .lp-mock-match-tag, .lp-mock-picked, .lp-mock-done { opacity: 1; }
    .lp-mock-sign path { stroke-dashoffset: 0; }
}
