/* Debt Navigator illustrations (templates/site/dept_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. */

/* Pieces other than the hero skip style, layout and paint until needed, so the first render costs what the PNGs did.
   Their box never changes (.ipa's aspect-ratio and .ipa__s's fixed px size), so nothing shifts. debt-art.js lifts this
   piece by piece in idle time after load (.dna-warm); the entrance (.is-in) lifts it too, so the clip never cuts the motion. */
/* on the .ipa box, not on .ipa__s: with !503's container-unit scale on .ipa__s, content-visibility on that child
   crashes the Chromium 141 renderer (the tab goes blank, "Aw, Snap"); Chrome 154 is fine. Same skip, same box. */
.ipa:not(.dna-hero):not(.is-in):not(.dna-warm) { content-visibility: auto; }

/* contain: paint clips like overflow: hidden, and also puts the art on the same device pixels as the <img> it replaced
   when the column centres a piece on a half pixel (calc, timeline and trust at desktop widths) */
.dna-hero .ipa__s, .dna-about .ipa__s { contain: paint; }
.dna-hero span, .dna-hero__t { position: absolute; line-height: 1; white-space: nowrap; }
.dna-sheen { position: absolute; top: 0; left: -70px; width: 70px; height: 100%; background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .07), rgba(255, 255, 255, 0)); opacity: 0; pointer-events: none; }
@keyframes dna-sheen { 0% { transform: translateX(0); opacity: 1; } 40%, 100% { transform: translateX(var(--sx, 300px)); opacity: 1; } }
.ipa.is-on .dna-sheen { animation: dna-sheen 6s cubic-bezier(.4, 0, .3, 1) 2.2s infinite; }

/* ---------- hero ---------- */
.dna-hero__dots { position: absolute; left: 0; top: 0; }
.dna-hero__dots path { fill: none; stroke: rgba(255, 255, 255, .3); stroke-width: 2; stroke-dasharray: 2 4; }
.dna-hero__run { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(closest-side, #fff, rgba(255, 255, 255, .45) 45%, rgba(255, 255, 255, 0)); opacity: 0; }
@keyframes dna-run {
    0% { transform: translate(145px, 36px); opacity: 0; }
    3% { opacity: 1; }
    5% { transform: translate(145px, 23px); }
    7% { transform: translate(151px, 7px); }
    9% { transform: translate(167px, 1px); }
    55% { transform: translate(463px, 1px); }
    57% { transform: translate(479px, 7px); }
    59% { transform: translate(485px, 23px); }
    72% { opacity: 1; }
    76%, 100% { transform: translate(485px, 160px); opacity: 0; }
}
.ipa.is-on .dna-hero__run { animation: dna-run 6s linear 1.6s infinite; }

.dna-hero__brk {
    position: absolute; left: 0; top: 35px; width: 269px; height: 312px; border-radius: 24px;
    background: radial-gradient(circle at 134px 180px, rgba(56, 86, 255, .12) 0, rgba(56, 86, 255, .12) 55px, rgba(56, 86, 255, 0) 100px), linear-gradient(152deg, rgb(36, 52, 136) 0%, rgb(36, 52, 137) 5%, rgb(39, 58, 157) 25%, rgb(43, 65, 177) 45%, rgb(46, 68, 185) 65%, rgb(47, 70, 191) 85%, rgb(46, 69, 189) 100%);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .15);
}
.dna-hero__t { left: 23px; top: 23.35px; font: 500 23.95px/1 'Inter Tight', 'Inter', sans-serif; letter-spacing: 1.03px; }
.dna-hero__donut { position: absolute; left: 0; top: 0; }
.dna-seg { position: absolute; left: 0; top: 0; width: 269px; height: 312px; transform-origin: 134px 179.75px; }
.dna-seg path { stroke-width: 20; stroke-linejoin: round; }
@keyframes dna-seg-in { from { opacity: 0; scale: .82; rotate: -24deg; } }
.ipa.is-in .dna-seg { animation-name: dna-seg-in; animation-duration: 1s; }
.dna-hero__pin { position: absolute; left: 90px; top: 250px; width: 18px; height: 18px; }
.dna-hero__dot { position: absolute; inset: 0; border-radius: 50%; background: #375dfc; box-shadow: inset 0 0 0 3px #fff, 0 0 4px rgba(20, 30, 90, .14); }
.dna-hero__ping { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .8); opacity: 0; }
.ipa.is-on .dna-hero__ping { animation: ipa-ping 2.8s ease-out 1.6s infinite; }
.dna-hero__tip { position: absolute; left: 22px; top: 177px; width: 154px; height: 63.75px; }
.dna-hero__tip > div { position: absolute; inset: 0; border-radius: 8.5px; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .07); }
.dna-hero__arrow { position: absolute; left: 72.5px; top: 63.5px; width: 9px; height: 6.5px; background: #fff; clip-path: polygon(0 0, 100% 0, 55% 100%, 45% 100%); }
.dna-hero__tl { left: 12.5px; top: 11.23px; font: 400 15.95px/1 'Inter Tight', 'Inter', sans-serif; letter-spacing: .44px; color: #4d4d4d; }
.dna-hero__tv { left: 11.75px; top: 40.95px; font: 600 13.87px/1 'Inter', sans-serif; letter-spacing: -.02px; color: #000; }

.dna-hero__trend {
    position: absolute; left: 298px; top: 160px; width: 281px; height: 253px; border-radius: 34px;
    background: linear-gradient(97deg, rgb(50, 71, 177) 0%, rgb(50, 71, 176) 5%, rgb(50, 70, 170) 15%, rgb(49, 67, 164) 25%, rgb(48, 65, 155) 35%, rgb(47, 62, 147) 45%, rgb(45, 59, 135) 55%, rgb(43, 56, 123) 65%, rgb(41, 53, 115) 75%, rgb(41, 51, 108) 85%, rgb(40, 49, 103) 95%, rgb(40, 49, 101) 100%);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .15);
}
.dna-hero__tt { left: 24.5px; top: 26.75px; font: 500 17.85px/1 'Inter Tight', 'Inter', sans-serif; letter-spacing: .83px; }
.dna-hero__tn { left: 24.5px; top: 63.3px; font: 600 23.93px/1 'Inter Tight', 'Inter', sans-serif; letter-spacing: .64px; }
.dna-hero__wipe { position: absolute; left: 0; top: 0; width: 282px; height: 254px; overflow: hidden; }
.dna-hero__unwipe { position: absolute; left: 0; top: 0; }
.dna-hero__line { fill: none; stroke: #fff; stroke-width: 2.1; stroke-linejoin: round; stroke-linecap: round; }
.ipa.is-armed:not(.is-in) .dna-hero__wipe { transform: translateX(-100%); }
.ipa.is-armed:not(.is-in) .dna-hero__unwipe { transform: translateX(100%); }
.ipa.is-in .dna-hero__wipe { animation: ipa-wipe 1.5s cubic-bezier(.45, .05, .25, 1) .55s backwards; }
.ipa.is-in .dna-hero__unwipe { animation: ipa-unwipe 1.5s cubic-bezier(.45, .05, .25, 1) .55s backwards; }
.dna-hero__glint { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(closest-side, #fff, rgba(255, 255, 255, .5) 40%, rgba(255, 255, 255, 0)); opacity: 0; }
@keyframes dna-glint {
    0% { transform: translate(5.5px, 234.3px); opacity: 0; }
    4% { opacity: 1; }
    8% { transform: translate(41.75px, 203.55px); }
    13% { transform: translate(67px, 205.6px); }
    18% { transform: translate(90px, 196.3px); }
    23% { transform: translate(114px, 187.8px); }
    28% { transform: translate(138px, 162.7px); }
    35% { transform: translate(173px, 155.6px); }
    41% { transform: translate(200px, 139.5px); }
    47% { transform: translate(229px, 144.8px); }
    53% { transform: translate(253px, 133.2px); }
    56% { transform: translate(263.9px, 118.75px); }
    60% { transform: translate(269px, 99px); opacity: 1; }
    64%, 100% { transform: translate(280px, 84.75px); opacity: 0; }
}
.ipa.is-on .dna-hero__glint { animation: dna-glint 6s cubic-bezier(.35, 0, .65, 1) 2.4s infinite; }

.dna-hero__avg {
    position: absolute; left: 136px; top: 372px; width: 134.5px; height: 100px; border-radius: 12.5px; overflow: hidden;
    background: linear-gradient(113.5deg, rgb(52, 74, 194), rgb(49, 71, 186) 50%, rgb(46, 67, 177)) 0 0 / 100% 76px no-repeat, rgb(47, 68, 179);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .15);
    --sx: 210px;
}
.dna-hero__at { left: 15.5px; top: 15.9px; font: 500 12.75px/1 'Inter Tight', 'Inter', sans-serif; letter-spacing: .47px; }
.dna-hero__an { left: 15.75px; top: 43.5px; font: 500 17.65px/1 'Inter Tight', 'Inter', sans-serif; letter-spacing: .6px; }

/* ---------- avalanche vs snowball intro ---------- */
.ipa .dna-txt { position: absolute; line-height: 1; white-space: nowrap; font-family: 'Inter Tight', 'Inter', sans-serif; }
svg.dna-edge { position: absolute; left: 0; top: 0; fill: none; }
.dna-about__frame { position: absolute; inset: 0; border-radius: 32px; overflow: hidden;
    background: radial-gradient(275.9px 281.5px at 262.7px 223.2px, rgba(30, 62, 223, .637), rgba(29, 59, 211, .653) 20%, rgba(28, 59, 212, .477) 40%, rgba(29, 67, 253, .219) 60%, rgba(15, 55, 255, .072) 80%, rgba(30, 63, 224, 0)),
        linear-gradient(112.27deg, #0f1332, #121947 18.04%, #17246a 68.33%, #152165 79.84%, #162161); }
/* breathing light on top of the fitted field: invisible at rest, so the still frame is the PNG */
.dna-about__glow { position: absolute; left: 90px; top: 70px; width: 330px; height: 300px; background: radial-gradient(closest-side, rgba(45, 80, 230, .45), rgba(45, 80, 230, 0)); opacity: 0; }
@keyframes dna-glow { 50% { opacity: .35; } }
.ipa.is-on .dna-about__glow { animation: dna-glow 5.5s ease-in-out 1s infinite; }
.dna-about__card { position: absolute; left: 74px; top: 76px; width: 350px; height: 218px; border-radius: 29px; background: linear-gradient(180deg, rgba(79, 95, 209, .135), rgba(79, 95, 209, .08)); }
.dna-about__t { left: 97.5px; top: 15.8px; font-size: 13.8px; font-weight: 500; letter-spacing: .68px; }
.dna-about__v { left: 117px; top: 42.07px; font-size: 29.57px; font-weight: 500; letter-spacing: .45px; }
.dna-about__c { left: 12px; top: 86.05px; font-size: 14.05px; letter-spacing: 0; }
.dna-about__box { position: absolute; left: 12.25px; top: 118.5px; width: 325.25px; height: 86.5px; border-radius: 18.5px; background: linear-gradient(180deg, rgba(129, 140, 201, .18), rgba(129, 140, 201, .1)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.dna-about__av { position: absolute; left: 18.5px; top: 19px; width: 138.5px; height: 48.5px; border-radius: 9px; overflow: hidden; background: rgba(56, 75, 183, .27); --sx: 210px; }
.dna-about__a { left: 16.25px; top: 19.35px; font-size: 12.35px; font-weight: 500; letter-spacing: .33px; }
.dna-about__sb { position: absolute; left: 168px; top: 19px; width: 138.75px; height: 48.5px; border-radius: 9px; background: rgba(85, 101, 195, .19); }
.dna-about__s { left: 19.75px; top: 19.4px; font-size: 12.4px; letter-spacing: .46px; }

/* ---------- feature: complete debt overview ---------- */
.dna-ov .ipa__s { contain: paint; }
.dna-ov__card { position: absolute; left: 11px; top: 19px; width: 640px; height: 327px; border-radius: 16px; background: linear-gradient(180deg, rgba(255, 255, 255, .094), rgba(255, 255, 255, .016) 83%, rgba(255, 255, 255, 0)); }
.dna-ov__card > .dna-txt, .dna-ov__row .dna-txt { margin: -19px 0 0 -11px; }
.dna-ov__t { left: 27.5px; top: 41.1px; font-size: 20.25px; font-weight: 500; letter-spacing: .95px; }
.dna-ov__row { position: absolute; left: 0; top: 0; width: 640px; height: 1px; opacity: var(--o, 1); font-size: 15.7px; }
.dna-ov__row .dna-txt { font-size: 15.7px; }
.dna-ov__g { color: #31a650; }
.dna-ov__clip { width: 109px; overflow: hidden; }
.dna-ov__rule { position: absolute; left: 16px; top: 105.1px; width: 608.5px; height: 1.5px; background: rgba(255, 255, 255, .08); }
.ipa.is-in .dna-ov__row.a-slide { animation-name: dna-row-in; }
@keyframes dna-row-in { from { opacity: 0; translate: -14px 0; } }
/* row highlight that steps down the table while in view: invisible at rest */
.dna-ov__scan { position: absolute; left: 16px; top: 114px; width: 608px; height: 44px; border-radius: 10px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .05) 20%, rgba(255, 255, 255, .05) 80%, rgba(255, 255, 255, 0)); opacity: 0; }
@keyframes dna-scan { 0% { transform: translateY(0); opacity: 0; } 8%, 26% { transform: translateY(0); opacity: 1; } 34%, 52% { transform: translateY(48px); opacity: 1; } 60%, 74% { transform: translateY(96px); opacity: 1; } 86%, 100% { transform: translateY(96px); opacity: 0; } }
.ipa.is-on .dna-ov__scan { animation: dna-scan 7s ease-in-out 1.6s infinite; }

/* ---------- feature: avalanche vs snowball comparison ---------- */
.dna-vs__card { position: absolute; top: 2px; width: 254px; height: 200.5px; border-radius: 14px; }
.dna-vs__l { left: 4px; background: linear-gradient(115deg, rgb(16, 17, 32) 0%, rgb(15, 16, 31) 6%, rgb(13, 14, 30) 19%, rgb(13, 15, 34) 31%, rgb(14, 16, 41) 44%, rgb(15, 19, 49) 56%, rgb(16, 22, 57) 69%, rgb(17, 24, 68) 81%, rgb(20, 29, 78) 94%, rgb(21, 30, 81) 100%); }
.dna-vs__r { left: 338px; background: linear-gradient(172deg, rgb(22, 31, 91) 0%, rgb(22, 32, 93) 6%, rgb(21, 33, 97) 19%, rgb(22, 34, 104) 31%, rgb(23, 38, 112) 44%, rgb(24, 40, 122) 56%, rgb(25, 42, 129) 69%, rgb(26, 43, 132) 81%, rgb(28, 46, 140) 94%, rgb(28, 47, 142) 100%); }
.ipa.is-in .dna-vs__r.a-slide { animation-name: dna-slide-l; }
@keyframes dna-slide-l { from { opacity: 0; translate: 16px 0; } }
.dna-vs__l > :not(svg.dna-edge) { margin: -2px 0 0 -4px; }
.dna-vs__r > :not(svg.dna-edge) { margin: -2px 0 0 -338px; }
.dna-vs .dna-vs__sum .dna-txt { margin: -152.25px 0 0 -18px; }
.dna-vs .dna-vs__r .dna-vs__sum .dna-txt { margin-left: -352px; }
.dna-vs__logo { position: absolute; left: 18px; top: 12px; }
.dna-vs__mut { color: #b6b7bd; }
.dna-vs__mut2 { color: #b9bdd3; }
.dna-vs__track { position: absolute; left: 18px; width: 226px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.dna-vs__track > i { position: absolute; left: 0; top: 0; height: 6px; border-radius: 3px; background: #375dfb; overflow: hidden; }
.dna-vs__track > i::after { content: ""; position: absolute; top: 0; left: -40px; width: 40px; height: 6px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .35), rgba(255, 255, 255, 0)); opacity: 0; }
@keyframes dna-bar-shine { 0% { transform: translateX(0); opacity: 1; } 45%, 100% { transform: translateX(290px); opacity: 1; } }
.ipa.is-on .dna-vs__track > i::after { animation: dna-bar-shine 5s ease-in-out calc(2s + var(--d, 0s)) infinite; }
.dna-vs__s { position: absolute; left: 352px; top: 12px; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.dna-vs__sum { position: absolute; left: 18px; top: 152.25px; width: 226px; height: 40.25px; border-radius: 8px; background: rgba(255, 255, 255, .07); }
.dna-vs__lbl { top: 160px; font-size: 8.03px; letter-spacing: .26px; color: #bdbec6; }
.dna-vs__r .dna-vs__lbl { color: #bfc4e1; }
.dna-vs .dna-vs__val { top: 172.1px; font: 450 12.15px/1 'Inter', sans-serif; letter-spacing: -.33px; }
.dna-vs__glow { position: absolute; left: 266px; top: 100px; width: 64px; height: 60px; background: radial-gradient(closest-side, rgba(37, 75, 255, .34), rgba(37, 75, 255, .18) 45%, rgba(37, 75, 255, 0)); }
.dna-vs__vs { position: absolute; left: 269px; top: 72.5px; width: 58px; height: 58px; }
.dna-vs__disc { position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(90deg, #888cee, #6e7cf2 30%, #5a70f5 55%, #3c5afb 85%, #3a58fb); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .18); }
.dna-vs .dna-vs__disc .dna-txt { left: 15.5px; top: 19.6px; font: 500 20.1px/1 'Inter', sans-serif; letter-spacing: -.41px; }
.dna-vs__ping { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(120, 140, 255, .7); opacity: 0; }
.ipa.is-on .dna-vs__ping { animation: ipa-ping 3.2s cubic-bezier(.2, .6, .3, 1) 1.4s infinite; }
@keyframes dna-glow-b { 50% { opacity: .55; } }
.ipa.is-on .dna-vs__glow { animation: dna-glow-b 4s ease-in-out 1.4s infinite; }

/* ---------- feature: real-time savings calculator ---------- */
.dna-calc__card { position: absolute; left: 4px; top: 0; width: 572px; height: 202px; border-radius: 14px; contain: paint;
    background: radial-gradient(328.5px 155.4px at 547.6px 5.2px, rgba(91, 49, 0, .12), rgba(91, 49, 0, 0)),
        radial-gradient(188.5px 194.1px at 529.5px 81.5px, rgba(133, 125, 149, .2), rgba(133, 125, 149, 0)),
        linear-gradient(110.8deg, rgb(16, 17, 28) 0%, rgb(14, 16, 36) 20%, rgb(17, 24, 64) 40%, rgb(24, 37, 112) 60%, rgb(27, 46, 145) 80%, rgb(25, 45, 140) 100%); }
.dna-calc__card > :not(svg.dna-edge), .dna-calc__box .dna-txt { margin-left: -4px; }
.dna-calc__box .dna-txt { margin-top: -139px; margin-left: -18px; font: 600 13.93px/1 'Inter', sans-serif; }
.dna-calc__sub { color: #d3d5e2; }
.dna-calc__lim { font-size: 15.95px; color: #cfd0d3; }
.dna-calc__track { position: absolute; left: 18px; top: 89px; width: 544px; height: 14px; border-radius: 7px; overflow: hidden; background: rgba(255, 255, 255, .16); }
.dna-calc__fill { position: absolute; left: 0; top: 0; width: 544px; height: 14px; border-radius: 7px; background: #1b6bf5; transform: translateX(-258px); }
.dna-calc__knob { position: absolute; left: 290.5px; top: 81.5px; width: 27px; height: 27px; border-radius: 50%; background: #375dfb; box-shadow: inset 0 0 0 1.5px #fff, 0 0 3px rgba(255, 255, 255, .45); }
.dna-calc__tip { position: absolute; left: 319.5px; top: 78px; width: 81.5px; height: 33.75px; }
.dna-calc__tip::before { content: ""; position: absolute; left: 6.5px; top: 0; right: 0; bottom: 0; border-radius: 7px; background: #fff; }
.dna-calc__tip i { position: absolute; left: 0; top: 11.5px; width: 7px; height: 13px; background: #fff; clip-path: polygon(0 50%, 100% 0, 100% 100%); }
.dna-calc .dna-calc__tip .dna-txt { left: 18.5px; top: 10.87px; margin: 0; font: 600 13.87px/1 'Inter', sans-serif; letter-spacing: -.02px; color: #000; }
.dna-calc__box { position: absolute; left: 18px; top: 139px; width: 544px; height: 49px; border-radius: 12px; background: rgba(45, 90, 255, .075); box-shadow: inset 0 0 0 1px rgba(50, 90, 255, .44); }
/* slider: the knob travels in from $0, the fill and the value tag ride along; then it eases a few px back and forth */
@keyframes dna-knob-in { from { translate: -272px 0; } }
@keyframes dna-tip-in { 0%, 40% { opacity: 0; translate: -272px 0; } 100% { opacity: 1; } }
@keyframes dna-drift { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(10px); } }
@keyframes dna-fill-drift { 0%, 100% { transform: translateX(-258px); } 50% { transform: translateX(-248px); } }
.ipa.is-armed:not(.is-in) .dna-calc__knob, .ipa.is-armed:not(.is-in) .dna-calc__fill { translate: -272px 0; }
.ipa.is-armed:not(.is-in) .dna-calc__tip { opacity: 0; }
.ipa.is-in .dna-calc__knob, .ipa.is-in .dna-calc__fill { animation: dna-knob-in 1.4s cubic-bezier(.3, .7, .2, 1) .45s backwards; }
.ipa.is-in .dna-calc__tip { animation: dna-tip-in 1.4s cubic-bezier(.3, .7, .2, 1) .45s backwards; }
.ipa.is-on.is-in .dna-calc__knob, .ipa.is-on.is-in .dna-calc__tip { animation: dna-knob-in 1.4s cubic-bezier(.3, .7, .2, 1) .45s backwards, dna-drift 5s ease-in-out 2.4s infinite; }
.ipa.is-on.is-in .dna-calc__tip { animation-name: dna-tip-in, dna-drift; }
.ipa.is-on.is-in .dna-calc__fill { animation: dna-knob-in 1.4s cubic-bezier(.3, .7, .2, 1) .45s backwards, dna-fill-drift 5s ease-in-out 2.4s infinite; }

/* ---------- feature: estimated payoff timeline ---------- */
.dna-tl .ipa__s { contain: paint; }
.dna-tl__a { position: absolute; left: 9px; top: 7px; width: 211px; height: 182px; border-radius: 15px; overflow: hidden; --sx: 290px;
    background: radial-gradient(61.8px 90.6px at 207.4px 65.5px, rgba(177, 171, 157, .2), rgba(177, 171, 157, 0)),
        linear-gradient(113.4deg, rgb(15, 14, 27) 0%, rgb(13, 14, 28) 33.3%, rgb(14, 16, 38) 66.7%, rgb(26, 31, 65) 100%); }
.dna-tl__a > .dna-txt { margin: -7px 0 0 -9px; }
.dna-tl__b { position: absolute; left: 185px; top: 36px; width: 211px; height: 160px; }
.dna-tl__bi { position: absolute; inset: 0; }
.dna-tl__bi > .dna-txt { margin: -36px 0 0 -185px; }
/* the Snowball card is cut off flat at the bottom in the artwork: its fill stops at 149px while its last line runs on below */
.dna-tl__bf { position: absolute; left: 0; top: 0; width: 211px; height: 149px; border-radius: 18px 18px 0 0; overflow: hidden;
    background: linear-gradient(180deg, rgba(150, 145, 120, .315) 0, rgba(150, 145, 120, 0) 139px),
        linear-gradient(90deg, rgb(18, 24, 63) 19%, rgb(19, 27, 75) 40%, rgb(20, 28, 80) 54.5%, rgb(21, 31, 87) 69%, rgb(23, 34, 98) 90%, rgb(25, 36, 100) 97%); }
.dna-tl__tail { position: absolute; left: 0; top: 149px; width: 1px; height: 11px; background: rgba(30, 40, 100, .6); }
.dna-tl__rule { position: absolute; height: 1px; background: rgba(255, 255, 255, .075); }
.dna-tl__mut { color: #b7b7be; }
.dna-tl__mut2 { color: #bec0cd; }
.dna-tl .dna-tl__v { font: 400 15.75px/1 'Inter', sans-serif; letter-spacing: .04px; }
@keyframes dna-lift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.ipa.is-on .dna-tl__bi { animation: dna-lift 6s ease-in-out 2s infinite; }

/* ---------- feature: refinancing options ---------- */
.dna-rf__card { position: absolute; left: 30px; top: 24px; width: 391px; height: 300px; border-radius: 24px; overflow: hidden; }
.dna-rf__card .dna-txt { margin: -24px 0 0 -30px; }
/* the frosted fill is see-through in the middle and denser at the sides, fading out toward the bottom */
.dna-rf__glass { position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, .059) 5%, rgba(255, 255, 255, .049) 20%, rgba(255, 255, 255, .031) 36%, rgba(255, 255, 255, .023) 43%, rgba(255, 255, 255, .036) 59%, rgba(255, 255, 255, .063) 74%, rgba(255, 255, 255, .09) 90%, rgba(255, 255, 255, .086) 97%);
    -webkit-mask-image: linear-gradient(180deg, #000 8.7%, rgba(0, 0, 0, .87) 18.7%, rgba(0, 0, 0, .7) 28.7%, rgba(0, 0, 0, .52) 38.7%, rgba(0, 0, 0, .33) 48.7%, rgba(0, 0, 0, .17) 58.7%, transparent 63.7%);
    mask-image: linear-gradient(180deg, #000 8.7%, rgba(0, 0, 0, .87) 18.7%, rgba(0, 0, 0, .7) 28.7%, rgba(0, 0, 0, .52) 38.7%, rgba(0, 0, 0, .33) 48.7%, rgba(0, 0, 0, .17) 58.7%, transparent 63.7%); }
.dna-rf__blob { position: absolute; width: 88px; height: 49px; border-radius: 50%; }
.dna-rf__blob--b { width: 89px; }
@keyframes dna-drift-a { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(5px, 2px); } }
@keyframes dna-drift-b { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-5px, 2px); } }
.ipa.is-on .dna-rf__blob { animation: dna-drift-a 8s ease-in-out 1.5s infinite; }
.ipa.is-on .dna-rf__blob--b { animation-name: dna-drift-b; }
.dna-rf .dna-rf__rate { font-size: 27.42px; font-weight: 500; letter-spacing: .7px; }
.dna-rf__logo { position: absolute; left: 238px; top: 30px; }
.dna-rf__rule { position: absolute; left: 20px; top: 96.5px; width: 351px; height: 1px; background: linear-gradient(90deg, rgb(51, 52, 65), rgb(49, 52, 73) 50%, rgb(58, 64, 105) 75%, rgb(62, 69, 112)); }
.dna-rf__row { position: absolute; left: 0; top: 0; }
.dna-rf__save { position: absolute; left: 20.5px; top: 199.5px; width: 350.5px; height: 33px; border-radius: 5px; overflow: hidden; --sx: 420px;
    background: linear-gradient(90deg, rgb(14, 28, 34) 0%, rgb(15, 29, 39) 8%, rgb(14, 29, 42) 16%, rgb(15, 30, 48) 24%, rgb(16, 32, 52) 32%, rgb(17, 34, 59) 40%, rgb(17, 35, 66) 48%, rgb(18, 37, 71) 56%, rgb(19, 40, 81) 64%, rgb(20, 42, 89) 72%, rgb(21, 44, 96) 80%, rgb(23, 47, 105) 88%, rgb(23, 48, 107) 96%, rgb(23, 49, 112) 100%); }
.dna-rf__btn { position: absolute; left: 20.5px; top: 242px; width: 350.5px; height: 38px; border-radius: 5px; overflow: hidden; --sx: 420px;
    background: linear-gradient(92deg, rgb(45, 79, 254) 0%, rgb(48, 81, 253) 5%, rgb(60, 88, 250) 20%, rgb(72, 96, 247) 34%, rgb(85, 104, 244) 49%, rgb(98, 112, 241) 63%, rgb(109, 118, 239) 78%, rgb(122, 127, 236) 93%, rgb(128, 130, 234) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.dna-rf__save .dna-txt { margin: -223.5px 0 0 -50.5px; font: 600 11.32px/1 'Inter', sans-serif; letter-spacing: -.11px; color: #31a650; }
.dna-rf__btn .dna-txt { margin: -266px 0 0 -50.5px; font-size: 12.05px; font-weight: 500; letter-spacing: .57px; }

/* ---------- feature: no credit score impact ---------- */
.dna-sc__back { position: absolute; left: 0; top: 4px; width: 285px; height: 192.5px; border-radius: 12px;
    background: linear-gradient(126.4deg, rgb(15, 15, 27) 0%, rgb(13, 13, 27) 33.3%, rgb(14, 17, 42) 66.7%, rgb(19, 26, 67) 100%); }
.dna-sc__back > .dna-txt { margin-top: -4px; }
.dna-sc__back b { font-weight: 600; color: #fff; }
.dna-sc__gauge { position: absolute; left: 0; top: 0; fill: none; }
.dna-sc__gauge path { stroke-width: 7.25; stroke-linecap: round; }
.dna-sc__gauge .dna-sc__g1 { stroke-width: 11.25; opacity: .06; }
.dna-sc__gauge .dna-sc__g2 { stroke-width: 15.25; opacity: .04; }
.dna-sc__gauge .dna-sc__g3 { stroke-width: 21.25; opacity: .03; }
.dna-sc__gauge .dna-sc__dash { stroke: rgba(255, 255, 255, .2); stroke-width: 1; stroke-linecap: butt; stroke-dasharray: 3.5 4.25; }
/* each segment sits in its own HTML box so its fade runs on the compositor (an SVG <g> would repaint every frame) */
.dna-sc__seg { position: absolute; inset: 0; }
.ipa.is-armed:not(.is-in) .dna-sc__seg { opacity: 0; }
.ipa.is-in .dna-sc__seg { animation: ipa-fade .6s ease calc(.35s + var(--i) * .12s) backwards; }
.dna-sc__needle { position: absolute; left: 142px; top: 92.25px; width: 0; height: 0; rotate: 45.6deg; }
.dna-sc__needle i { position: absolute; left: -1px; top: -66.1px; width: 2px; height: 66.6px; border-radius: 1px; background: #fff; }
@keyframes dna-needle-in { from { rotate: -88deg; } }
@keyframes dna-needle { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-3deg); } }
.ipa.is-armed:not(.is-in) .dna-sc__needle { rotate: -88deg; }
.ipa.is-in .dna-sc__needle { animation: dna-needle-in 1.6s cubic-bezier(.3, .7, .2, 1) .5s backwards; }
.ipa.is-on.is-in .dna-sc__needle { animation: dna-needle-in 1.6s cubic-bezier(.3, .7, .2, 1) .5s backwards, dna-needle 5s ease-in-out 2.4s infinite; }
.dna-sc__hub { position: absolute; left: 138.25px; top: 88.5px; width: 7.5px; height: 7.5px; border-radius: 50%; background: #fff; }
.dna-sc .dna-sc__num { font-size: 31.2px; letter-spacing: -.78px; }
.dna-sc__front { position: absolute; left: 172px; top: 70px; width: 277px; height: 129px; border-radius: 15.5px;
    background: radial-gradient(175.8px 86.7px at 210.4px 32.6px, rgba(107, 115, 148, .2), rgba(107, 115, 148, 0)),
        linear-gradient(114.4deg, rgb(22, 29, 53) 0%, rgb(22, 29, 67) 33.3%, rgb(32, 41, 91) 66.7%, rgb(39, 49, 104) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.dna-sc__front > .dna-txt { margin: -70px 0 0 -172px; }
.dna-sc__mut { color: #b9bcc6; }
.dna-sc__rule { position: absolute; left: 14px; top: 66px; width: 250px; height: 1px; background: rgba(255, 255, 255, .15); }
.dna-sc__logo { position: absolute; left: 11px; top: 89px; }
.dna-sc .dna-sc__lm { font: 400 14.15px/1 'Inter', sans-serif; letter-spacing: -.11px; }
.dna-sc__lm::after { content: ""; position: absolute; left: 0; top: 14.6px; width: 75.5px; height: 1px; background: #fff; transform-origin: 0 50%; }

/* ---------- trust: debt breakdown panel ---------- */
.dna-tr .ipa__s { contain: paint; }
.dna-tr .dna-tr__t { left: 25px; top: 27.35px; font-size: 23.95px; font-weight: 500; letter-spacing: 1.03px; }
.dna-tr__seg { width: 482px; height: 434px; transform-origin: 240.3px 194.2px; }
.dna-tr__seg path { fill: #fff; stroke: #fff; stroke-width: 20; stroke-linejoin: round; }
.dna-tr__blue path { fill: #375dfb; stroke: #375dfb; }
/* the hollow ring marks the selected slice */
.dna-tr__pin { position: absolute; left: 153px; top: 231px; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 3px #fff; }
.dna-tr__tip { position: absolute; left: 69px; top: 223px; width: 80px; height: 33.75px; }
.dna-tr__tip::before { content: ""; position: absolute; left: 0; top: 0; width: 73px; height: 33.75px; border-radius: 7px; background: #fff; }
.dna-tr__tip i { position: absolute; left: 72.5px; top: 11.25px; width: 7px; height: 11.5px; background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.dna-tr .dna-tr__tip .dna-txt { left: 12px; top: 10.93px; font: 400 13.93px/1 'Inter', sans-serif; letter-spacing: -.08px; color: #020202; }
.dna-tr__legend .dna-txt { font-size: 15.95px; }
.dna-tr__key { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.ipa.is-armed:not(.is-in) .dna-tr__key.a-fade { opacity: 0 !important; }

/* ---------- join: total debt ring ---------- */
/* the PNG is 592 x 406 at 1x and 1184 x 811 at 2x, so the <img> box was 406 tall on 1x screens and 405.5 on 2x ones */
.dna-jn { --h: 405.5; }
@media (max-resolution: 1dppx) { .dna-jn { --h: 406; } }
.dna-jn .ipa__s { overflow: hidden; }
.dna-jn__ring { position: absolute; left: 0; top: 0; width: 592px; height: 406px; transform-origin: 286.25px 159px; }
.dna-jn__ring svg { position: absolute; left: 0; top: 0; }
@keyframes dna-ring-in { from { opacity: 0; rotate: -50deg; scale: .94; } }
.ipa.is-in .dna-jn__ring.a-fade { animation: dna-ring-in 1.4s cubic-bezier(.3, .7, .2, 1) 0s backwards; }
/* a light runs along the blue (paid down) arc while in view; invisible at rest */
.dna-jn__orbit { position: absolute; left: 286.25px; top: 159px; width: 0; height: 0; rotate: 87.5deg; }
.dna-jn__orbit i { position: absolute; left: -8px; top: -158px; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .9), rgba(255, 255, 255, .35) 45%, rgba(255, 255, 255, 0)); opacity: 0; }
@keyframes dna-orbit { 0% { transform: rotate(0); } 55%, 100% { transform: rotate(264.3deg); } }
@keyframes dna-orbit-o { 0% { opacity: 0; } 6%, 46% { opacity: 1; } 55%, 100% { opacity: 0; } }
.ipa.is-on .dna-jn__orbit { animation: dna-orbit 7s cubic-bezier(.45, 0, .55, 1) 1.8s infinite; }
.ipa.is-on .dna-jn__orbit i { animation: dna-orbit-o 7s linear 1.8s infinite; }
.dna-jn .dna-jn__big { left: 184.5px; top: 117.1px; font-size: 50.97px; font-weight: 600; letter-spacing: .33px; }
.dna-jn .dna-jn__td { left: 229.5px; top: 182.7px; font-size: 24.7px; letter-spacing: .55px; color: #b4b4b8; }
.dna-jn__pay { position: absolute; left: 0; top: 278.5px; width: 328px; height: 100.25px; border-radius: 15px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
    background: radial-gradient(45px 30px at 232px 5px, rgba(50, 95, 255, .45), rgba(50, 95, 255, 0)),
        radial-gradient(60px 28px at 300px 34px, rgba(45, 90, 255, .38), rgba(45, 90, 255, 0)),
        linear-gradient(90deg, rgb(18, 22, 53) 3%, rgb(22, 28, 68) 18%, rgb(29, 37, 92) 33.5%, rgb(36, 46, 112) 49%, rgb(44, 54, 131) 64%, rgb(49, 60, 139) 79%, rgb(54, 63, 139) 94.5%); }
.dna-jn__pay .dna-txt { margin-top: -278.5px; }
.dna-jn__div { position: absolute; left: 158.5px; top: 10.5px; width: 1px; height: 80px; background: rgba(255, 255, 255, .14); }
.dna-jn__int { position: absolute; left: 368px; top: 184px; width: 224px; height: 221.5px; border-radius: 8.5px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
    background: radial-gradient(802px 86.8px at 239.2px 2.1px, rgba(15, 3, 0, .12), rgba(15, 3, 0, 0)),
        linear-gradient(104deg, rgb(42, 52, 126) 0%, rgb(40, 50, 118) 25%, rgb(22, 24, 52) 50%, rgb(16, 18, 42) 75%, rgb(26, 26, 46) 100%); }
.dna-jn__int > .dna-txt { margin: -184px 0 0 -368px; }
.dna-jn__bar { position: absolute; bottom: 0; border-radius: 8px 8px 0 0; transform-origin: 50% 100%; background: var(--g); }
@keyframes dna-bar-up { from { scale: 1 0; } }
.ipa.is-armed:not(.is-in) .dna-jn__bar.a-grow { scale: 1 0; }
.ipa.is-in .dna-jn__bar.a-grow { transform-origin: 50% 100%; animation: dna-bar-up 1s cubic-bezier(.3, .7, .2, 1) var(--d, 0s) backwards; }
.dna-jn__tip { position: absolute; left: 68px; top: 70px; width: 46px; height: 21px; }
.dna-jn__tip::before { content: ""; position: absolute; left: 0; top: 0; width: 40px; height: 21px; border-radius: 6px; background: #fff; }
.dna-jn__tip i { position: absolute; left: 39.5px; top: 7px; width: 5px; height: 7px; background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.dna-jn .dna-jn__tip .dna-txt { left: 8px; top: 7.17px; font-size: 8.67px; font-weight: 600; letter-spacing: .2px; color: #020202; }
