.credit-hero{--hero-design-height:clamp(50rem, 65.625vw, 78.75rem);--hero-photo-height:min(48.75vw, 58.5rem);--hero-photo-min-height:6rem;--hero-top:clamp(6.75rem, 8.96vw, 10.75rem);--hero-bottom:min(7.915vw, 9.5rem);--hero-copy-width:min(42vw, 42.1875rem);--hero-column-gap:clamp(1.5rem, 3vw, 3rem);--hero-photo-width:min(33.85vw, 40.625rem);--hero-title-size:clamp(2.875rem, 3.86vw, 4.625rem);--hero-summary-size:clamp(1.125rem, 1.25vw, 1.5rem);--hero-clearance:6.75rem;--hero-compression:max(0rem, var(--hero-design-height) - var(--hero-viewport));height:auto;min-height:min(var(--hero-design-height), var(--hero-viewport));padding-block:max(var(--hero-clearance), calc(var(--hero-top) - var(--hero-compression) * .5)) max(1rem, calc(var(--hero-bottom) - var(--hero-compression) * .5), env(safe-area-inset-bottom));background:var(--color-white);display:grid}.credit-hero.personal-loan-hero{--hero-summary-measure:37ch}.credit-hero__inner{grid-template-columns:minmax(0, max-content) var(--hero-photo-width);gap:var(--hero-column-gap);align-items:center;width:fit-content;max-width:calc(100% - 6rem);margin-inline:auto;display:grid}.credit-hero__copy{z-index:1;width:fit-content;max-width:var(--hero-copy-width);min-width:0;position:relative}.credit-hero h1{overflow-wrap:anywhere;font-size:min(var(--hero-title-size), var(--hero-height-title-limit,4.625rem));letter-spacing:-.02em;color:var(--color-text);flex-direction:column;font-weight:700;line-height:.98;display:flex}.credit-hero h1>span:first-child{color:var(--color-primary)}.credit-hero h1 .credit-hero__muted{color:var(--color-muted)}.credit-hero__copy>p{width:min(100%,40.625rem);max-width:var(--hero-summary-measure,40.625rem);font-size:min(var(--hero-summary-size), var(--hero-height-summary-limit,1.5rem));color:var(--color-muted);margin-top:1.125rem;line-height:1.3}.credit-hero__actions{flex-wrap:wrap;gap:1rem;margin-top:1.5rem;display:flex}.credit-hero__actions .button{min-height:2.875rem;padding-inline:1.375rem}.credit-hero__visual{width:100%;height:100%;min-height:var(--hero-photo-min-height);max-height:var(--hero-photo-height);border-radius:min(4vw,4.75rem) min(4vw,4.75rem) min(3vw,3.625rem) min(3vw,3.625rem);position:relative;overflow:hidden}.credit-hero__image{object-fit:cover;object-position:center 20%;width:100%;height:100%;position:absolute;inset:0}@media (width<=74.9375em){.credit-hero{--hero-design-height:calc(12.5rem + var(--hero-photo-height));--hero-title-size:clamp(2.5rem, calc(2rem + 1.2vw), 2.875rem);--hero-summary-size:1.125rem;--hero-inline-space:2rem;padding:var(--hero-clearance) var(--hero-inline-space) max(1.5rem, env(safe-area-inset-bottom))}.credit-hero__inner{gap:2rem;max-width:100%}.credit-hero h1{letter-spacing:-.025em;line-height:1.05}.credit-hero__copy>p{width:100%;max-width:min(var(--hero-summary-measure,48ch), 48ch);margin-top:1rem;line-height:1.45}.credit-hero__actions{gap:.75rem;margin-top:1.5rem}.credit-hero__visual{border-radius:3rem 3rem 2.25rem 2.25rem}}@media (width<=56.1875em){.credit-hero{--hero-design-height:56.25rem;--hero-inline-space:clamp(1.25rem, 4vw, 2rem);--hero-photo-min-height:min(25rem, calc(100vw - var(--hero-inline-space) * 2));--hero-photo-height:min(35rem, calc(min(37.5rem, 100vw - var(--hero-inline-space) * 2) * 1.25));--hero-summary-size:clamp(1rem, calc(.875rem + .5vw), 1.125rem)}.credit-hero__inner{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(var(--hero-photo-min-height), 1fr);align-items:start;gap:1.5rem;width:min(100%,37.5rem)}.credit-hero__copy{width:100%;max-width:none}.credit-hero__visual{max-width:none;max-height:var(--hero-photo-height);border-radius:2.5rem;justify-self:stretch}}@media (width>=30em) and (width<=56.1875em) and (orientation:portrait){.credit-hero.personal-hero .credit-hero__image{object-position:center 28%}}@media (width<=47.9375em){.credit-hero{--hero-clearance:6rem}}@media (width<=29.9375em){.credit-hero{--hero-title-size:clamp(2rem, calc(.625rem + 7vw), 2.5rem);--hero-photo-height:min(31.25rem, calc((100vw - 2.5rem) * 1.25));--hero-inline-space:1.25rem}.credit-hero__actions{flex-direction:column;align-items:stretch;margin-top:1.25rem}.credit-hero__actions .button{width:100%}.credit-hero__visual{border-radius:2rem}}@media (width<=74.9375em) and (height<=37.5em){.credit-hero{--hero-height-title-limit:clamp(2rem, calc(.375rem + var(--hero-viewport) * .066667), 2.875rem);--hero-height-summary-limit:clamp(1rem, calc(.625rem + var(--hero-viewport) * .013333), 1.125rem);padding-bottom:max(clamp(1rem, calc(var(--hero-viewport) * .04), 1.5rem), env(safe-area-inset-bottom))}.credit-hero__inner{gap:clamp(1rem, calc(var(--hero-viewport) * .04), 1.5rem)}.credit-hero__actions{margin-top:clamp(1.25rem, calc(var(--hero-viewport) * .04), 1.5rem)}}@media (width>=45em) and (width<=56.1875em) and (orientation:landscape){.credit-hero{--hero-design-height:51.25rem;--hero-inline-space:1.5rem;--hero-photo-min-height:6rem}.credit-hero__inner{grid-template-rows:auto;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center;gap:1.5rem;width:min(100%,65.625rem)}.credit-hero__copy{width:auto;max-width:none}.credit-hero__visual{justify-self:end;max-width:27.5rem;max-height:min(39.875rem,65.2012vw - 2.93406rem)}}
