/* Student Loan Aid illustrations (templates/site/student_loan_art.html).
   Needs identity-art.css (.ipa sizing, a-* entrances, loop gating) and identity-art.js (fit + in-view engine).
   Laid out in px at the PNGs' 1x size. Only transform / opacity animate; loops run only while .is-on. */

.sla > .ipa__s > div, .sla > .ipa__s > i,
.sla-hero > .ipa__s > div, .sla-hero > .ipa__s > i { position: absolute; }

/* ---------- hero: loan balance / connected account / current plan ---------- */
.sla-hero__wire { left: 0; top: 0; }
.sla-hero__wire path { fill: none; stroke: rgba(255, 255, 255, .3); stroke-width: 2; stroke-dasharray: 1.986 3.972; stroke-dashoffset: -1.76; }
/* the PNG's verticals run a hair tighter than its top line: each run keeps its own dash phase */
.sla-hero__wire path + path { stroke-dasharray: 2 4; stroke-dashoffset: .81; }
.sla-hero__wire path + path + path { stroke-dasharray: 1.983 3.967; stroke-dashoffset: -2.76; }
.sla-hero__pulse { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(closest-side, #fff, rgba(255, 255, 255, .5) 45%, rgba(255, 255, 255, 0)); opacity: 0; }
@keyframes sla-wire {
    0% { transform: translate(87px, 235px); opacity: 0; }
    3% { opacity: 1; }
    25% { transform: translate(87px, 18px); }
    26.5% { transform: translate(92px, 6px); }
    28.1% { transform: translate(104px, 1px); }
    63.3% { transform: translate(410px, 1px); }
    64.9% { transform: translate(422px, 6px); }
    66.4% { transform: translate(427px, 18px); }
    72% { opacity: 1; }
    75%, 100% { transform: translate(427px, 93px); opacity: 0; }
}
.ipa.is-on .sla-hero__pulse { animation: sla-wire 6s linear 1.4s infinite; }

.sla-hero__bal {
    left: 0; top: 44px; width: 173.5px; height: 119px; border-radius: 16px;
    background: linear-gradient(166.5deg, #27399a, #2b43b8);
    box-shadow: inset 0 0 0 1px rgba(120, 135, 215, .45);
}
.sla-hero__bt { position: absolute; left: 19px; top: 20.5px; font-size: 15px; line-height: 16px; letter-spacing: -.01em; }
.sla-hero__tile { position: absolute; left: 116.5px; top: 18px; width: 37.5px; height: 37.5px; border-radius: 8px; overflow: hidden; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.sla-hero__tile svg { position: absolute; left: 10.75px; top: 10.75px; fill: none; stroke: #fff; stroke-width: 1.15; stroke-linecap: round; }
.sla-hero__shine { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, 0) 35%, rgba(255, 255, 255, .16) 50%, rgba(255, 255, 255, 0) 65%); opacity: 0; }
@keyframes sla-shine { 0% { transform: translateX(-40px); opacity: 1; } 30%, 100% { transform: translateX(40px); opacity: 1; } }
.ipa.is-on .sla-hero__shine { animation: sla-shine 5s ease-in-out 2.2s infinite; }
.sla-hero__amt { position: absolute; left: 19.5px; top: 78.5px; font-size: 19.5px; font-weight: 500; line-height: 24px; letter-spacing: -.01em; }

.sla-hero__conn {
    left: 278px; top: 93px; width: 200.5px; height: 201px; border-radius: 17px;
    background: linear-gradient(90deg, #2037ae, #1b2d8b 50%, #141f5d);
    box-shadow: inset 0 0 0 1px rgba(110, 125, 215, .45);
}
.sla-hero__ok { position: absolute; left: 62.75px; top: 15px; width: 75px; height: 75px; }
.sla-hero__ok > i { position: absolute; border-radius: 50%; }
.sla-hero__h1 { inset: 0; background: rgba(255, 255, 255, .05); }
.sla-hero__h2 { inset: 12.25px; background: rgba(255, 255, 255, .09); }
.sla-hero__ping { inset: 12.25px; background: rgba(255, 255, 255, .12); opacity: 0; }
.ipa.is-on .sla-hero__ping { animation: ipa-ping 3s ease-out 1.6s infinite; }
.sla-hero__disk { position: absolute; left: 21px; top: 21px; width: 33px; height: 33px; border-radius: 50%; background: #fff; }
.sla-hero__disk svg { fill: none; stroke: #394a9d; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sla-hero__ct { position: absolute; left: 0; right: 0; top: 92.5px; text-align: center; font-size: 15.5px; line-height: 23.5px; letter-spacing: -.01em; }
.sla-hero__bar { position: absolute; height: 4px; border-radius: 3px; background: rgba(150, 160, 255, .33); }
.sla-hero__bar.is-dim { background: rgba(150, 160, 255, .08); }
.ipa .sla-hero__bar { transform-origin: 50% 50%; }

.sla-hero__plan { left: 58px; top: 235px; width: 178px; height: 91.5px; border-radius: 9px; background: #fff; color: #1a1a1b; }
.sla-hero__pill { position: absolute; left: 9px; top: 8.5px; width: 160px; height: 39px; border-radius: 8px; background: #f7f8ff; }
.sla-hero__pill span { position: absolute; left: 8.5px; top: 8.5px; font-size: 9.95px; line-height: 11.5px; letter-spacing: -.005em; }
.sla-hero__crown { position: absolute; left: 125.5px; top: 4px; width: 31px; height: 31px; border-radius: 7px; overflow: hidden; background: linear-gradient(90deg, #3556fd, #8486ec); }
.sla-hero__crown svg { position: relative; fill: none; stroke: #fff; stroke-width: 1; stroke-linejoin: round; stroke-linecap: round; }
.sla-hero__sheen { position: absolute; top: 0; left: 0; width: 31px; height: 31px; background: linear-gradient(105deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .25) 50%, rgba(255, 255, 255, 0) 70%); opacity: 0; }
@keyframes sla-sheen { 0% { transform: translateX(-32px); opacity: 1; } 35%, 100% { transform: translateX(32px); opacity: 1; } }
.ipa.is-on .sla-hero__sheen { animation: sla-sheen 4.5s ease-in-out 2.6s infinite; }
.sla-hero__save { position: absolute; left: 12.5px; top: 63px; font-size: 13.2px; font-weight: 600; line-height: 17px; color: #375dfb; letter-spacing: -.01em; }

/* bars that grow up from their baseline (entrance) */
@keyframes sla-up { from { scale: 1 0; } }
.ipa .sla-up { transform-origin: 50% 100%; }
.ipa.is-armed:not(.is-in) .sla-up { scale: 1 0; }
.ipa.is-in .sla-up { animation: sla-up 1s cubic-bezier(.3, .7, .2, 1) var(--d, 0s) backwards; }

/* ---------- about: standard vs income-driven plan bars ---------- */
/* backdrop least-squares fitted to the PNG: a blue glow over a diagonal base; edge = SVG rect with a top-down fade */
.sla-about__frame {
    inset: 0; border-radius: 32px; overflow: hidden;
    background: radial-gradient(287.2px 306.4px at 260.6px 222.6px, rgba(35, 72, 255, .593), rgba(35, 72, 255, .463) 25%, rgba(35, 72, 255, .312) 50%, rgba(35, 72, 255, .113) 75%, rgba(35, 72, 255, 0)),
        linear-gradient(101.62deg, #0e143b, #152167);
}
.sla-about svg.sla-about__edge { position: absolute; left: 0; top: 0; fill: none; }
/* breathing light on top of the fitted field: invisible at rest, so the still frame is the PNG */
.sla-about__glow { position: absolute; left: 110px; top: 70px; width: 320px; height: 300px; background: radial-gradient(closest-side, rgba(45, 80, 240, .45), rgba(45, 80, 240, 0)); opacity: 0; }
@keyframes sla-glow { 50% { opacity: .3; } }
.ipa.is-on .sla-about__glow { animation: sla-glow 5s ease-in-out 1s infinite; }
.sla-about__card { left: 33px; top: 33px; width: 322px; height: 303.5px; border-radius: 25px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .145); }
.sla-about__card > * { position: absolute; }
.sla-about__div { left: 173.25px; top: 24.5px; width: 1.5px; height: 208px; background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, .48) 55%, rgba(255, 255, 255, 0)); }
.sla-about__bar { width: 40px; }
.sla-about__bar > i, .sla-about__bar > b { position: absolute; display: block; }
.sla-about__bar > i { inset: 0; border-radius: 9px; background: rgba(255, 255, 255, .11); }
.sla-about__bar > b { left: 3px; right: 3px; top: 3px; bottom: 3px; border-radius: 6px; background: rgba(255, 255, 255, .195); overflow: hidden; }
.sla-about__bar.is-blue > b { background: linear-gradient(90deg, #2e4dff, #8a8af0); }
.sla-about__bar.is-white > b { background: #fff; }
.sla-about__bar.is-solid > b { background: #264bff; }
/* a soft light that climbs the income-driven bar while on screen */
.sla-about__lift { position: absolute; left: 0; right: 0; bottom: 0; height: 60px; background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, .16) 50%, rgba(255, 255, 255, 0)); opacity: 0; }
@keyframes sla-lift { 0% { transform: translateY(60px); opacity: 1; } 45%, 100% { transform: translateY(-160px); opacity: 1; } }
.ipa.is-on .sla-about__lift { animation: sla-lift 4.5s cubic-bezier(.5, 0, .5, 1) 2.2s infinite; }
.sla-about__v { font-size: 9.85px; line-height: 14px; white-space: nowrap; }
.sla-about__l { top: 247px; font-size: 11.6px; line-height: 18.5px; white-space: nowrap; }
.sla-about__pill { width: 149px; height: 48px; }
.sla-about__pill > div { position: absolute; inset: 0; border-radius: 10px; }
/* the PNG's pills are frosted (they blur what is under them): fitted as opaque fills that follow the page x */
.sla-about__pill--a > div { background: linear-gradient(90deg, #3e54c4, #3d52bb 9px, #3548a8 45px, #2f419a 81px, #2e3d8f 117px, #2d3c8c); }
.sla-about__pill--b > div { background: linear-gradient(90deg, #3e57d6, #3e56d0 10px, #3d52bb 37px, #3548a8 73px, #2f419a 109px, #2e3d8f 145px, #2d3c8c); }
.sla-about__pill span { position: absolute; left: 12px; top: 15px; font-size: 16.05px; line-height: 20px; white-space: nowrap; }
.sla-about__pill--a { left: 318px; top: 141px; }
.sla-about__pill--b { left: 290px; top: 199px; width: 173px; }

/* ---------- servicers: Federal Loans Service list + data lines ---------- */
.sla-svc__wires { left: 0; top: 0; }
.sla-svc__wires svg { position: absolute; left: 0; top: 0; }
.sla-svc__wires path { fill: none; stroke-width: 1.8; }
/* the light already on the lines in the PNG, then sent along them while on screen */
.sla-svc__run { position: absolute; height: 2px; overflow: hidden; }
.sla-svc__run i { position: absolute; left: 0; top: 0; height: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .62)); }
.sla-svc__run.is-r i { background: linear-gradient(90deg, #fff, rgba(255, 255, 255, .08)); }
@keyframes sla-run { 0% { transform: translateX(-67px); opacity: 0; } 15% { opacity: 1; } 55% { transform: translateX(17px); opacity: 1; } 65%, 100% { transform: translateX(17px); opacity: 0; } }
@keyframes sla-run-r { 0% { transform: translateX(60px); opacity: 0; } 15% { opacity: 1; } 55% { transform: translateX(-11px); opacity: 1; } 65%, 100% { transform: translateX(-11px); opacity: 0; } }
.ipa.is-on .sla-svc__run i { animation: sla-run 4.2s cubic-bezier(.4, 0, .6, 1) 1.2s infinite; }
.ipa.is-on .sla-svc__run.is-r i { animation: sla-run-r 4.2s cubic-bezier(.4, 0, .6, 1) 3.3s infinite; }
@keyframes sla-dim { 50% { opacity: .35; } }
.ipa.is-on .sla-svc__glow { animation: sla-dim 4.2s ease-in-out 2s infinite; }

.sla-svc__card {
    left: 174px; top: 63px; width: 348px; height: 220px; border-radius: 32px;
    background: linear-gradient(106.9deg, #10163b, #1c3096);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .045);
}
.sla-svc__card > * { position: absolute; }
.sla-svc__t { left: 24.5px; top: 24px; font-size: 17px; line-height: 22px; letter-spacing: -.01em; white-space: nowrap; }
.sla-svc__l { left: 24px; top: 0; width: 300px; margin: 0; padding: 0; list-style: none; }
.sla-svc__l li { position: absolute; left: 0; width: 300px; height: 20px; }
.sla-svc__l span { position: absolute; left: 0; top: 1px; font-size: 15px; line-height: 20px; letter-spacing: -.01em; }
.sla-svc__l em { position: absolute; right: 0; top: 4px; font-style: normal; font-size: 11.7px; font-weight: 400; line-height: 16px; letter-spacing: -.02em; white-space: nowrap; }
.sla-svc__l em i { position: absolute; left: -13px; top: 3.75px; width: 7.5px; height: 7.5px; border-radius: 50%; }
.sla-svc__l em i::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; opacity: 0; }
.sla-svc__l .is-ok { background: #31a550; }
.sla-svc__l .is-sync { background: #5986fc; }
.sla-svc__l .is-wait { background: #f89828; }
.ipa.is-on .sla-svc__l .is-ok::after { animation: ipa-ping 2.6s ease-out 1.4s infinite; }
.ipa.is-on .sla-svc__l .is-sync::after { animation: ipa-ping 2.6s ease-out 2.3s infinite; }
.ipa.is-on .sla-svc__l .is-wait { animation: ipa-blink 1.6s ease-in-out 1.4s infinite; }
.sla-svc__hr { left: 24px; width: 300px; height: 1.5px; background: rgba(255, 255, 255, .14); }

/* cards that come out from behind the middle one */
@keyframes sla-in-l { from { opacity: 0; translate: 36px 0; } }
@keyframes sla-in-r { from { opacity: 0; translate: -36px 0; } }
.ipa.is-armed:not(.is-in) .sla-in-l, .ipa.is-armed:not(.is-in) .sla-in-r { opacity: 0; }
.ipa.is-in .sla-in-l { animation: sla-in-l .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s) backwards; }
.ipa.is-in .sla-in-r { animation: sla-in-r .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s) backwards; }

/* ---------- plans: SAVE / PAYE / IBR review cards ---------- */
.sla-plans__c--l, .sla-plans__c--r { width: 156.5px; height: 162.5px; border-radius: 10px; box-shadow: 0 0 22px rgba(3, 3, 6, .32); }
.sla-plans__c--l { left: 11px; top: 21px; background: linear-gradient(104.2deg, #13131a, #161a3d); }
.sla-plans__c--r { left: 338px; top: 20px; background: linear-gradient(159.4deg, #192359, #213495); }
.sla-plans__c--m { left: 158px; top: 4px; width: 189px; height: 196px; }
.sla-plans__c--m > div { position: absolute; inset: 0; border-radius: 12px; background: linear-gradient(122.5deg, #151628, #1d2c76); box-shadow: 0 0 0 4px rgba(38, 74, 255, .09); }
.sla-plans__edge { position: absolute; left: 0; top: 0; fill: none; }
.sla-plans__c > *, .sla-plans__c--m > div > * { position: absolute; }
.sla-plans__t { left: 12.5px; top: 16.5px; font-size: 15px; line-height: 18px; letter-spacing: -.01em; }
.sla-plans__c--m .sla-plans__t { left: 20px; top: 18.5px; font-size: 18.3px; line-height: 22px; }
.sla-plans__sk { left: 0; top: 0; }
.sla-plans__sk i { position: absolute; left: 13px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .03); }
.sla-plans__c--m .sla-plans__sk i { left: 20px; height: 7px; border-radius: 3.5px; }
.sla-plans__sk i.is-hi { background: rgba(255, 255, 255, .1); }
.sla-plans__btn { height: 24px; border-radius: 12px; overflow: hidden; background: linear-gradient(90deg, #2d4ffe, #7e81eb); font-size: 11.2px; font-weight: 500; line-height: 24px; text-align: center; }
.sla-plans__btn.is-big { height: 27.5px; border-radius: 14px; font-size: 13.5px; line-height: 27.5px; }
.sla-plans__btn span { position: relative; }
.sla-plans__sheen { position: absolute; top: 0; left: -40px; width: 40px; height: 100%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .3), rgba(255, 255, 255, 0)); opacity: 0; }
@keyframes sla-btn { 0% { transform: translateX(0); opacity: 1; } 35%, 100% { transform: translateX(130px); opacity: 1; } }
.ipa.is-on .sla-plans__sheen { animation: sla-btn 4.5s ease-in-out 2s infinite; }
.sla-plans__ok { left: 144.5px; top: 19px; width: 24px; height: 24px; }
.sla-plans__ok > i { position: absolute; inset: 0; border-radius: 50%; background: rgba(38, 75, 255, .4); opacity: 0; }
.ipa.is-on .sla-plans__ok > i { animation: ipa-ping 2.8s ease-out 1.6s infinite; }
.sla-plans__ok svg { position: relative; display: block; border-radius: 50%; background: #264bff; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- estimate: AGI / family size / loans form ---------- */
.sla-est__card { left: 3px; top: 0; width: 248px; height: 213px; border-radius: 10.5px; background: linear-gradient(102.2deg, #0d0d13, #131b4b); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.sla-est__card > * { position: absolute; }
.sla-est__l { left: 11.5px; font-size: 7.25px; line-height: 12px; color: rgba(255, 255, 255, .85); white-space: nowrap; }
.sla-est__f { left: 11px; width: 226px; height: 24.5px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24); }
.sla-est__f span { position: absolute; left: 11px; top: 5.5px; color: rgba(255, 255, 255, .9); font-size: 7.6px; line-height: 12px; white-space: nowrap; }
.sla-est__f svg { position: absolute; left: 206px; top: 6.5px; fill: none; stroke: #fff; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.sla-est__btn { left: 11px; top: 176.5px; width: 226px; height: 25.5px; border-radius: 7px; overflow: hidden; background: #375dfb; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); font-size: 8.5px; line-height: 25.5px; text-align: center; }
.sla-est__btn span { position: relative; }
.sla-est__sheen { position: absolute; top: 0; left: -60px; width: 60px; height: 100%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .22), rgba(255, 255, 255, 0)); opacity: 0; }
@keyframes sla-est { 0% { transform: translateX(0); opacity: 1; } 40%, 100% { transform: translateX(290px); opacity: 1; } }
.ipa.is-on .sla-est__sheen { animation: sla-est 5s ease-in-out 2.2s infinite; }
@keyframes sla-step { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(-1px); } 90% { transform: translateY(1px); } }
.ipa.is-on .sla-est__f svg { animation: sla-step 4s ease-in-out 1.8s infinite; }

/* ---------- interest: Total Interest Costs chart ---------- */
.sla-int__card { left: 36px; top: 0; width: 396px; height: 196px; border-radius: 25px; overflow: hidden; background: linear-gradient(123.3deg, #0d0c11, #151f57); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .035); }
.sla-int__card > * { position: absolute; }
.sla-int__t { left: 19.5px; top: 22.5px; font-size: 9.35px; line-height: 12px; white-space: nowrap; }
.sla-int__n { left: 20px; top: 46px; font-size: 19.6px; font-weight: 400; line-height: 26px; letter-spacing: -.01em; white-space: nowrap; }
.sla-int__dd { left: 300.5px; top: 18px; width: 75.5px; height: 21px; border-radius: 6px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.sla-int__dd span { position: absolute; left: 7.25px; top: 4.5px; font-size: 9.13px; line-height: 12px; white-space: nowrap; }
.sla-int__dd svg { position: absolute; left: 59.25px; top: 8px; fill: none; stroke: #fff; stroke-width: .75; stroke-linecap: round; stroke-linejoin: round; }
.sla-int__grid { left: 0; top: 0; fill: none; stroke: rgba(255, 255, 255, .065); stroke-width: 1; stroke-dasharray: 3 1.9; stroke-dashoffset: 2; }
.sla-int__grid .sla-int__base { stroke-dasharray: 2.9 1.8; stroke-dashoffset: 1.4; }
.sla-int__wipe, .sla-int__unwipe { position: absolute; left: 0; top: 0; width: 396px; height: 196px; }
.sla-int__wipe { overflow: hidden; }
.ipa.is-in .sla-int__wipe { animation: ipa-wipe 1.5s cubic-bezier(.4, .1, .2, 1) .45s backwards; }
.ipa.is-in .sla-int__unwipe { animation: ipa-unwipe 1.5s cubic-bezier(.4, .1, .2, 1) .45s backwards; }
.ipa.is-armed:not(.is-in) .sla-int__wipe { transform: translateX(-100%); }
.sla-int__area { fill: url(#slaIntA); }
.sla-int__line { fill: none; stroke: #fff; stroke-width: 1.25; stroke-linejoin: round; stroke-linecap: round; }
.sla-int__drop { left: 225.9px; top: 124px; width: 1.25px; height: 42px; background: linear-gradient(rgba(255, 255, 255, .62), rgba(255, 255, 255, .3) 50%, rgba(255, 255, 255, 0)); transform-origin: 50% 0; }
@keyframes sla-drop { from { scale: 1 0; } }
.ipa.is-armed:not(.is-in) .sla-int__drop { scale: 1 0; }
.ipa.is-in .sla-int__drop { animation: sla-drop .7s cubic-bezier(.3, .7, .2, 1) 1.35s backwards; }
.sla-int__pt { left: 221.5px; top: 115px; width: 10.5px; height: 10.5px; border-radius: 50%; background: linear-gradient(90deg, #3a57fb, #7c83f0); box-shadow: inset 0 0 0 1.25px #fff; }
.sla-int__pt i { position: absolute; inset: -3px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); opacity: 0; }
.ipa.is-on .sla-int__pt i { animation: ipa-ping 2.8s ease-out 2.2s infinite; }
.sla-int__tip { left: 172px; top: 77px; width: 110.5px; height: 36px; }
.sla-int__tip > div { position: absolute; left: 0; top: 0; width: 110.5px; height: 28.8px; border-radius: 4px; background: #fff; }
.sla-int__tip span, .sla-int__tip b { position: absolute; top: 7px; font-size: 11.5px; line-height: 15px; white-space: nowrap; }
.sla-int__tip span { left: 16px; color: #5c5c64; }
.sla-int__tip b { left: 46.5px; font-weight: 500; color: #0b0b12; }
.sla-int__tip i { position: absolute; left: 49.2px; top: 30.3px; width: 0; height: 0; border-left: 4.8px solid transparent; border-right: 4.8px solid transparent; border-top: 6.5px solid #fff; }
.sla-int__x { left: 0; top: 0; }
.sla-int__x span { position: absolute; top: 169px; font-size: 8px; line-height: 10px; color: rgba(255, 255, 255, .9); }

/* ---------- refi: SoFi / Earnest offer cards ---------- */
.sla-refi__c { width: 255px; height: 275px; }
.sla-refi__c > div { position: absolute; inset: 0; border-radius: 24px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .04); }
.sla-refi__c > div > * { position: absolute; }
.sla-refi__c--s { left: 27px; top: 18px; }
.sla-refi__c--s > div { background: linear-gradient(123.4deg, #0a0910, #141c4a); }
/* the PNG draws the back card at 70% as one group (fill, logo and text alike) */
.sla-refi__c--e { left: 166px; top: 56px; width: 270px; opacity: .7; }
.sla-refi__c--e > div { background: linear-gradient(138.1deg, #0e0e1f, #192c8a); }
.sla-refi__logo { left: 0; top: 0; fill: #fff; }
.sla-refi__n { left: 29px; top: 90.5px; font-size: 44.8px; font-weight: 600; line-height: 50px; letter-spacing: -.02em; white-space: nowrap; }
.sla-refi__c--e .sla-refi__k { left: 138px; }
.sla-refi__k { left: 28px; top: 152px; font-size: 16px; line-height: 20px; color: #9c9daa; white-space: nowrap; }
.sla-refi__btn { left: 22px; top: 207px; height: 48px; border-radius: 8px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); font-size: 15.8px; line-height: 48px; text-align: center; }
.sla-refi__btn span { position: relative; top: .5px; }
.sla-refi__sheen { position: absolute; top: 0; left: -70px; width: 70px; height: 100%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .1), rgba(255, 255, 255, 0)); opacity: 0; }
@keyframes sla-refi { 0% { transform: translateX(0); opacity: 1; } 40%, 100% { transform: translateX(290px); opacity: 1; } }
.ipa.is-on .sla-refi__sheen { animation: sla-refi 5s ease-in-out 2.2s infinite; }

/* ---------- readonly: read allowed / modifications blocked ---------- */
/* the PNG crops the panel at its bottom edge: same here */
.sla-ro__frame { left: 12px; top: 0; width: 426px; height: 200px; border-radius: 24px 24px 0 0; overflow: hidden; background: linear-gradient(129.9deg, #0d0b0c, #141f5e); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .13), inset 1px 0 0 rgba(255, 255, 255, .1), inset -1px 0 0 rgba(255, 255, 255, .1); }
.sla-ro__frame > * { position: absolute; left: 18.5px; width: 389px; font-family: "Inter Tight", "Inter", sans-serif; }
.sla-ro__top { top: 18.5px; height: 72.5px; border-radius: 13px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.sla-ro__top > * { position: absolute; }
.sla-ro__t { left: 15px; top: 15px; font-size: 14.3px; font-weight: 500; line-height: 18px; letter-spacing: -.01em; white-space: nowrap; }
.sla-ro__s { left: 15px; top: 40.5px; font-size: 10px; line-height: 14px; color: #9b9bab; white-space: nowrap; }
.sla-ro__ic { left: 331.25px; top: 15px; width: 42.5px; height: 42.5px; border-radius: 8px; overflow: hidden; background: linear-gradient(90deg, #2c4ffe, #7f81eb); }
.sla-ro__ic svg { position: relative; fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; }
.sla-ro__sheen { position: absolute; top: 0; left: 0; width: 42.5px; height: 42.5px; background: linear-gradient(105deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .25) 50%, rgba(255, 255, 255, 0) 70%); opacity: 0; }
@keyframes sla-ro { 0% { transform: translateX(-44px); opacity: 1; } 35%, 100% { transform: translateX(44px); opacity: 1; } }
.ipa.is-on .sla-ro__sheen { animation: sla-ro 4.8s ease-in-out 2.4s infinite; }
.sla-ro__row { height: 43px; border-radius: 10px; background: rgba(255, 255, 255, .03); }
.sla-ro__row span { position: absolute; left: 12.5px; top: 13px; font-size: 12.25px; line-height: 17px; white-space: nowrap; }
.sla-ro__row em { position: absolute; left: 325px; top: 7.5px; width: 52px; height: 27px; border-radius: 13.5px; background: rgba(255, 255, 255, .1); font-style: normal; font-size: 10.35px; line-height: 27px; text-align: center; }
/* blocked: a short refusal shake on the pill, then still */
@keyframes sla-no { 0%, 82%, 100% { transform: none; } 86% { transform: translateX(-2px); } 90% { transform: translateX(2px); } 94% { transform: translateX(-1px); } }
.ipa.is-in .sla-ro__top + .sla-ro__row em { animation: ipa-pop .8s cubic-bezier(.2, .8, .2, 1.1) var(--d, 0s) backwards, sla-no 5s ease-in-out 2s infinite; }

/* ---------- trust: Repayment Options table + SAVE Plan card + graduate badge ---------- */
.sla-tr__tbl { left: 0; top: 0; width: 540px; height: 312px; border-radius: 12px; overflow: hidden; background: linear-gradient(131.9deg, #0b090a, #131e59); }
.sla-tr__tbl > * { position: absolute; }
.sla-tr__h { left: 13px; top: 21.5px; font-size: 19.2px; line-height: 26px; letter-spacing: -.01em; white-space: nowrap; }
.sla-tr__th span { position: absolute; top: 86px; font-size: 14px; line-height: 17px; white-space: nowrap; }
.sla-tr__hr { left: 12px; top: 131.5px; width: 515.5px; height: 1px; background: rgba(255, 255, 255, .12); }
.sla-tr__r { left: 0; width: 540px; height: 40px; }
.sla-tr__r > span { position: absolute; top: 0; font-size: 12px; line-height: 15px; white-space: nowrap; }
.sla-tr__clip { width: 65.5px; overflow: hidden; }
.sla-tr__rec { position: absolute; left: 25px; top: 18.5px; width: 63.5px; height: 21.5px; border-radius: 3px; background: #241a1c; color: #f09327; font-style: normal; font-size: 8.1px; font-weight: 500; line-height: 21.5px; text-align: center; }
.sla-tr__ap { position: absolute; top: 6.5px; width: 87.5px; height: 27.5px; border-radius: 3px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); font-weight: 400; font-size: 11.9px; line-height: 27.5px; text-align: center; }
.sla-tr__ap.is-fill { background: #375dfb; box-shadow: none; }
.sla-tr__ap u { position: relative; text-decoration: none; }
.sla-tr__sheen { position: absolute; top: 0; left: -40px; width: 40px; height: 100%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .28), rgba(255, 255, 255, 0)); opacity: 0; }
@keyframes sla-ap { 0% { transform: translateX(0); opacity: 1; } 40%, 100% { transform: translateX(130px); opacity: 1; } }
.ipa.is-on .sla-tr__sheen { animation: sla-ap 4.6s ease-in-out 2.4s infinite; }
/* the SAVE Plan card ends at the bottom edge of the art, with its rounded corners and border */
.sla-tr__save { left: 232px; top: 243px; width: 292px; height: 222px; border-radius: 27px; overflow: hidden; }
.sla-tr__save > div { position: absolute; left: 0; top: 0; width: 292px; height: 222px; border-radius: 27px; background: linear-gradient(96.5deg, #131c50, #1a2c8c); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .13); }
.sla-tr__save > div > * { position: absolute; }
.sla-tr__st { left: 24px; top: 27px; font-family: "Inter Tight", "Inter", sans-serif; font-size: 21.5px; font-weight: 500; line-height: 26px; letter-spacing: -.02em; white-space: nowrap; }
.sla-tr__save i { left: 24px; height: 14px; border-radius: 7px; background: rgba(255, 255, 255, .14); }
.sla-tr__vd { left: 24px; top: 165px; width: 135px; height: 34px; border-radius: 17px; background: #ebf1ff; color: #375dfb; font-size: 15px; line-height: 34px; text-align: center; }
.sla-tr__grad { left: 107px; top: 323px; width: 108px; height: 108px; }
.sla-tr__grad > div { position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(90deg, #8a8ded, #3353fd); }
.sla-tr__grad svg { fill: none; stroke: #fff; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.sla-tr__ping { position: absolute; inset: 0; border-radius: 50%; background: rgba(90, 110, 250, .35); opacity: 0; }
.ipa.is-on .sla-tr__ping { animation: ipa-ping 3.4s ease-out 1.8s infinite; }

/* ---------- join: Current Plan chart + bank badge + Change Plan card ---------- */
.sla-join__chart { left: 0; top: 0; width: 275px; height: 286px; border-radius: 24px; background: linear-gradient(135.3deg, #0c0a14, #181d35); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .12); }
.sla-join__chart > * { position: absolute; }
.sla-join__t { left: 24px; top: 25px; font-size: 14px; line-height: 17px; white-space: nowrap; }
.sla-join__n { left: 24.5px; top: 47px; font-size: 26.5px; line-height: 36px; letter-spacing: -.01em; white-space: nowrap; }
.sla-join__go { left: 215px; top: 24px; width: 36px; height: 36px; border-radius: 8px; background: rgba(255, 255, 255, .09); }
.sla-join__go svg { fill: none; stroke: #fff; stroke-width: 1.1; stroke-linecap: round; }
@keyframes sla-go { 0%, 70%, 100% { transform: none; } 80% { transform: translate(1.5px, -1.5px); } 90% { transform: none; } }
.ipa.is-on .sla-join__go svg { animation: sla-go 3.6s ease-in-out 1.8s infinite; }
.sla-join__bar { width: 36px; border-radius: 9px; background: #eaecf7; box-shadow: inset 0 3px 0 #fff; }
.sla-join__bar.is-blue { background: #375dfb; box-shadow: inset 0 3.5px 0 #dfe3f6; }
.sla-join__tip { left: 104.5px; top: 115px; width: 66px; height: 19px; }
.sla-join__tip > div { position: absolute; left: 0; top: 0; width: 66px; height: 16px; border-radius: 4px; background: #fff; color: #17171f; font-size: 8.4px; line-height: 16px; text-align: center; white-space: nowrap; }
.sla-join__tip i { position: absolute; left: 30.25px; top: 15.5px; width: 0; height: 0; border-left: 3px solid transparent; border-right: 3px solid transparent; border-top: 3px solid #fff; }
.sla-join__q span { position: absolute; top: 250px; font-size: 8.6px; line-height: 12px; }
.sla-join__q .is-dim { color: rgba(255, 255, 255, .35); }
.sla-join__plan {
    left: 310px; top: 142px; width: 313px; height: 252.5px; border-radius: 35px;
    background: radial-gradient(327.6px 334.9px at 30.8px 281.8px, rgba(93, 114, 255, .47), rgba(93, 114, 255, .375) 25%, rgba(93, 114, 255, .218) 50%, rgba(93, 114, 255, .05) 75%, rgba(93, 114, 255, 0)),
        linear-gradient(-128.22deg, #131321, #1f2045);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .16);
}
.sla-join__plan > * { position: absolute; }
.sla-join__al { left: 29.5px; top: 44px; width: 30px; height: 30px; }
.sla-join__al svg { position: relative; fill: none; stroke: #5a87fc; stroke-width: 1.5; stroke-linecap: round; }
.sla-join__al .f { fill: #5a87fc; stroke: none; }
.sla-join__al > i { position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #5a87fc; opacity: 0; }
.ipa.is-on .sla-join__al > i { animation: ipa-ping 2.8s ease-out 1.8s infinite; }
.sla-join__pt { left: 72.5px; top: 29.5px; font-family: "Inter Tight", "Inter", sans-serif; font-size: 21.8px; line-height: 30.5px; letter-spacing: -.015em; white-space: nowrap; }
.sla-join__plan > i { left: 28px; height: 14px; border-radius: 7px; background: rgba(255, 255, 255, .13); }
.sla-join__btn { left: 28px; top: 192.5px; width: 257px; height: 34px; border-radius: 17px; overflow: hidden; background: #ebf1ff; color: #0b0b12; font-size: 15.65px; line-height: 34px; text-align: center; }
.sla-join__btn span { position: relative; }
.sla-join__sheen { position: absolute; top: 0; left: -80px; width: 80px; height: 100%; background: linear-gradient(100deg, rgba(58, 92, 255, 0), rgba(58, 92, 255, .14), rgba(58, 92, 255, 0)); opacity: 0; }
@keyframes sla-jb { 0% { transform: translateX(0); opacity: 1; } 40%, 100% { transform: translateX(340px); opacity: 1; } }
.ipa.is-on .sla-join__sheen { animation: sla-jb 5s ease-in-out 2.4s infinite; }
.sla-join__bank { left: 184px; top: 199px; width: 155px; height: 155px; }
.sla-join__bank > div { position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(90deg, #8d91ee, #4563fc); }
.sla-join__bank svg { fill: none; stroke: #fff; stroke-width: 3.1; stroke-linejoin: round; stroke-linecap: round; }
.sla-join__bank .f { fill: #fff; stroke: none; }
.sla-join__ping { position: absolute; inset: 0; border-radius: 50%; background: rgba(90, 110, 250, .3); opacity: 0; }
.ipa.is-on .sla-join__ping { animation: ipa-ping 3.6s ease-out 1.6s infinite; }

/* ---------- first render of the pieces below the hero ----------
   A piece's first layout is costly (about 4 to 9 ms on a desktop, four times that on a phone: it sets up the text at
   its many exact font sizes), and done at load it held the hero headline (LCP) back on phones. So these pieces skip
   style and layout until needed (content-visibility: auto; the box comes from --w/--h alone, so nothing moves; no part
   reaches more than 18 px outside it, a card rising in, so the paint containment this brings gets a 20 px margin and
   clips nothing), then render one at a time, 0.05 s apart (all within 1 s, so a quick scroll does not reach one
   unrendered), from 0.6 s after DOMContentLoaded (when AOS marks every
   [data-aos] block .aos-init): after the headline, before a scroll reaches them. A piece scrolled near sooner renders
   right away, and without AOS each renders as it nears the screen.
   shortcut: a fixed schedule after DOMContentLoaded, not real idle time; move it into identity-art.js (requestIdleCallback)
   if other pages need the same. */
@keyframes sla-show { to { content-visibility: visible; } }
.ipa.sla { content-visibility: auto; overflow-clip-margin: 20px; }
.aos-init .ipa.sla { animation: sla-show 1ms .6s forwards; }
.aos-init .ipa.sla-svc { animation-delay: .65s; }
.aos-init .ipa.sla-plans { animation-delay: .7s; }
.aos-init .ipa.sla-est { animation-delay: .75s; }
.aos-init .ipa.sla-int { animation-delay: .8s; }
.aos-init .ipa.sla-refi { animation-delay: .85s; }
.aos-init .ipa.sla-ro { animation-delay: .9s; }
.aos-init .ipa.sla-tr { animation-delay: .95s; }
.aos-init .ipa.sla-join { animation-delay: 1s; }

/* ---------- phones: the same motion on fewer layers ----------
   Each running animation costs main-thread style and layer work on every scroll frame, so below 768px each piece
   enters as one group (its cards and their contents rise in together instead of one by one), and each piece keeps
   one loop (10 of the 36 run on phones). Every piece still enters and keeps moving. */
@media (max-width: 767px) {
    /* plain selectors, no :is(): a rule whose last part is :is() is tested on every element of the page at every style update */
    .ipa.is-armed .ipa__s .a-rise, .ipa.is-in .ipa__s .a-rise, .ipa.is-armed .ipa__s .a-fade, .ipa.is-in .ipa__s .a-fade,
    .ipa.is-armed .ipa__s .a-pop, .ipa.is-in .ipa__s .a-pop, .ipa.is-armed .ipa__s .a-slide, .ipa.is-in .ipa__s .a-slide,
    .ipa.is-armed .ipa__s .a-grow, .ipa.is-in .ipa__s .a-grow, .ipa.is-armed .ipa__s .sla-up, .ipa.is-in .ipa__s .sla-up,
    .ipa.is-armed .ipa__s .sla-in-l, .ipa.is-in .ipa__s .sla-in-l, .ipa.is-armed .ipa__s .sla-in-r, .ipa.is-in .ipa__s .sla-in-r { animation: none; opacity: 1; scale: none; }
    .ipa.is-armed:not(.is-in) .ipa__s { opacity: 0; }
    .ipa.is-in .ipa__s { animation: ipa-rise .8s cubic-bezier(.2, .7, .2, 1) backwards; }
    .ipa.sla.is-in .sla-ro__top + .sla-ro__row em { animation: none; }
    /* every running loop is restyled each frame: each piece keeps one loop, the rest rest */
    .ipa.is-on .sla-hero__shine, .ipa.is-on .sla-hero__sheen, .ipa.is-on .sla-hero__ping,
    .ipa.is-on .sla-about__glow, .ipa.is-on .sla-about__pill .ipa-float-s, .ipa.is-on .sla-svc__glow,
    .ipa.is-on .sla-svc__run.is-r i, .ipa.is-on .sla-svc__l .is-wait, .ipa.is-on .sla-svc__l .is-ok::after,
    .ipa.is-on .sla-svc__l .is-sync::after, .ipa.is-on .sla-plans__sheen, .ipa.is-on .sla-plans__ok > i,
    .ipa.is-on .sla-est__f svg, .ipa.is-on .sla-int__tip .ipa-float-s, .ipa.is-on .sla-refi__sheen,
    .ipa.is-on .sla-refi__c--e .ipa-float-s, .ipa.is-on .sla-tr__sheen, .ipa.is-on .sla-tr__grad .ipa-float-s,
    .ipa.is-on .sla-join__go svg, .ipa.is-on .sla-join__al > i, .ipa.is-on .sla-join__sheen,
    .ipa.is-on .sla-join__tip .ipa-float-s { animation: none; }
}
