/* United Loans — product pages (consolidation loans, personal loans).
   Loaded after united-site.css and united-sections.css. It reuses their tokens,
   rails, buttons, stage and scene wipe, chart, marquee, phone form, about block,
   FAQ and footer, and adds only what these pages need. Classes keep the u- prefix. */

.u-center { text-align: center; }

.u-badge { display: grid; place-items: center; flex-shrink: 0; width: 2.8em; height: 2.8em; border-radius: 50%; background: var(--green); color: var(--navy); }
.u-badge .u-i { width: 1.05em; height: 1.05em; stroke-width: 2.6; }
.u-badge--navy { background: var(--navy); color: #fff; }
.u-badge--navy .u-i { stroke-width: 2; }

/* A ruler with a sliding marker and a value bubble, used as a picture (hero, step one) */
.u-ruler {
  position: relative; height: 1.5em; margin-top: 3em;
  background: repeating-linear-gradient(90deg, #122c4870 0 max(1px, .09em), transparent max(1px, .09em) 3.45%);
}
.u-ruler-thumb { position: absolute; left: var(--at, 60%); top: -.35em; bottom: -.35em; width: .55em; margin-left: -.275em; border-radius: .2em; background: var(--navy); }
.u-ruler-thumb b {
  position: absolute; left: 50%; bottom: calc(100% + .6em); translate: -50% 0;
  padding: .32em .6em; border-radius: .35em; background: var(--navy); color: #fff;
  font-size: 1em; line-height: 1.2; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.u-ruler-thumb b::after { content: ''; position: absolute; left: 50%; top: 100%; margin-left: -.35em; border: .35em solid transparent; border-top-color: var(--navy); border-bottom: 0; }

/* ---------- Hero ---------- */
/* Shorter than the homepage hero: no stats strip and no full-height rule */
@media (min-width: 901px) {
  .u-chero.hero-expanded { min-height: 0; }
  .u-chero.hero-expanded .hero-grid { align-items: center; padding-block: clamp(64px, 5.2vw, 100px) clamp(84px, 6.4vw, 122px); }
}
.u-chero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px clamp(22px, 2vw, 34px); margin-top: clamp(30px, 2.6vw, 42px); }
.u-chero-actions .cta { gap: 30px; min-height: 67px; padding: 21px 32px; border-radius: 10px; background: var(--green); color: var(--navy); font-size: 19.5px; }
.u-chero-actions .cta:hover { background: var(--green-hover); }
.u-chero-actions .cta svg { width: 27px; height: 27px; }

.u-chero-art { min-width: 0; container-type: inline-size; }
.u-chero-stage { position: relative; aspect-ratio: 620 / 500; font-size: clamp(9px, 2.55cqw, 18px); color: var(--ink); }
.u-chero-frame { position: absolute; left: 10%; top: 5%; width: 60%; height: 80%; border: 1px solid #ffffff3d; border-radius: 1.1em; }
.u-chero-photo { position: absolute; left: 44%; top: 0; width: 40%; height: 64%; overflow: hidden; border-radius: 1em; background: #d0e1ef; }
.u-chero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% center; }
.u-chero-accounts {
  position: absolute; left: 0; top: 13%; width: 36%; padding: 1.2em 1.1em 1.1em;
  border: 1px solid #ffffff1f; border-radius: .9em; background: #0b2748; color: #fff;
  box-shadow: 0 1.6em 2.6em -1.6em #020c1acc;
}
.u-chero-accounts p { margin-bottom: .8em; color: #fff; font-size: 1.2em; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.u-chero-accounts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45em; }
.u-chero-accounts li { display: flex; align-items: center; gap: .7em; padding: .45em .5em; border-radius: .55em; background: #ffffff14; font-weight: 700; font-variant-numeric: tabular-nums; }
.u-chero-logo { display: grid; place-items: center; flex-shrink: 0; width: 1.9em; height: 1.9em; border-radius: .4em; background: #fff; }
.u-chero-logo svg { width: 1.15em; height: 1.15em; fill: currentColor; }
.u-chero-logo--mono { background: #004977; color: #fff; }
.u-chero-logo--mono b { font-size: .72em; }
.u-chero-pay, .u-chero-save { position: absolute; z-index: 2; border-radius: .65em; white-space: nowrap; }
.u-chero-pay { right: 0; top: 19%; padding: .75em 1.2em .8em; background: var(--green); color: var(--navy); }
.u-chero-save { right: 2.5%; top: 40%; padding: .7em 1.1em .75em; background: #fff; box-shadow: 0 1.2em 2em -1.2em #020c1a99; }
.u-chero-pay strong, .u-chero-save strong { display: block; font-size: 1.6em; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.u-chero-save strong { font-size: 1.5em; }
.u-chero-pay strong small { margin-left: .1em; font-size: .62em; font-weight: 400; letter-spacing: 0; }
.u-chero-pay > span, .u-chero-save > span { display: block; margin-top: .2em; font-size: .82em; }
.u-chero-amount { position: absolute; left: 22%; bottom: 0; width: 56%; padding: 1.3em 1.5em 1.6em; border-radius: .9em; background: var(--paper); box-shadow: 0 1.8em 3em -1.8em #020c1acc; }
.u-chero-amount p { color: var(--ink); font-size: 1.35em; font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }

/* The story plays once on load: balances arrive, the amount slides up to their total,
   then the single payment and the saving land. Resting styles are the end of the story. */
.u-chero-frame { animation: u-fade 1s ease .1s both; }
.u-chero-photo { animation: u-pop .9s var(--u-out) .15s both; }
.u-chero-accounts { animation: u-fly-l .8s var(--u-out) .5s both; }
.u-chero-accounts li { animation: u-rise .6s var(--u-out) .9s both; }
.u-chero-accounts li:nth-child(2) { animation-delay: 1.05s; }
.u-chero-accounts li:nth-child(3) { animation-delay: 1.2s; }
.u-chero-amount { animation: u-rise .8s var(--u-out) 1.3s both; }
.u-chero-amount .u-ruler-thumb { animation: u-slide 1.5s var(--u-ease) 1.7s both; }
.u-chero-pay { animation: u-pop .6s var(--u-out) 3.1s both, u-bob 5s ease-in-out 3.7s infinite alternate; }
.u-chero-save { animation: u-pop .6s var(--u-out) 3.45s both, u-bob 5s ease-in-out 4.6s infinite alternate; }

/* Personal loans hero: full height like the homepage, with the calculator where the photo sits */
@media (min-width: 901px) {
  .u-phero.hero-expanded .hero-grid { align-items: center; padding-block: clamp(56px, 5.2vw, 100px); }
}
.u-phero .check-list { margin-bottom: 0; }
.u-phero .u-calc-side { min-width: 0; width: 100%; max-width: 640px; justify-self: end; }

/* Our process hero: a portrait with four figure cards, the whole picture leaning 5 degrees.
   Sized in em: the picture is 41em wide and the lean adds .9em either side, so 1em is the column width divided by 42.8. */
.u-ohero { overflow-x: clip; }
@media (min-width: 901px) {
  .u-ohero.hero-expanded .hero-grid { padding-block: clamp(72px, 7vw, 132px) clamp(88px, 8.4vw, 152px); }
}
.u-ohero-quick .u-check { font-size: 1.1em; }
.u-ohero-stage { position: relative; width: 41em; height: 25.6em; margin-inline: auto; font-size: 2.336cqw; color: var(--ink); transform: skewX(-5deg); }
.u-ohero-photo { position: absolute; left: 9.7em; top: 0; width: 20em; height: 100%; overflow: hidden; border-radius: .7em; background: #d0e1ef; }
.u-ohero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 13% center; }
.u-ohero-card, .u-ohero-chip { position: absolute; z-index: 2; border-radius: .5em; background: #fff; box-shadow: 0 1.4em 2.2em -1.3em #020c1aa6; white-space: nowrap; }
.u-ohero-card { display: flex; flex-direction: column; justify-content: space-between; height: 8.75em; padding: 1em 1.4em .85em 1.6em; }
.u-ohero-card p { display: flex; align-items: center; justify-content: space-between; gap: 1em; color: var(--ink); font-size: 1em; line-height: 1.2; }
.u-ohero-card strong { font-size: 3.55em; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.u-ohero-loan { right: 0; top: 2.5em; width: 12.9em; }
.u-ohero-loan strong { color: var(--blue); }
.u-ohero-apr { left: 0; top: 14.4em; width: 13.9em; }
.u-ohero-dot { display: grid; place-items: center; flex-shrink: 0; width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--navy); color: #fff; }
.u-ohero-dot .u-i { width: .9em; height: .9em; stroke-width: 2.2; }
.u-ohero-dot--green { background: var(--green); color: var(--navy); }
.u-ohero-chip { display: flex; align-items: center; gap: .75em; height: 3.2em; padding-inline: 1.3em; color: var(--navy); }
.u-ohero-chip span { font-size: 1em; }
.u-ohero-chip b, .u-ohero-years { font-size: 1.375em; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.u-ohero-years { right: 8em; top: 8.55em; height: 2.3em; padding-inline: 1em; background: var(--mint); }
.u-ohero-month { left: 4.75em; top: 10.55em; }

/* On load the copy rises into place and the picture slides in from the right while it grows.
   Resting styles are the end of the story. */
.u-ohero .hero-copy > * { animation: u-ohero-rise 1.2s ease-in-out both; }
.u-ohero .hero-copy > p { animation-delay: .05s; }
.u-ohero .hero-copy > .u-chero-actions { animation-delay: .35s; }
.u-ohero-art { animation: u-ohero-in 1.2s ease-in-out both; }

/* Customer stories followed by a dark section rather than the FAQ need their own space underneath */
.u-stories--pad { padding-bottom: var(--u-pad); }

/* ---------- Tiles (three reasons, four figures) ---------- */
.u-perks h2, .u-mission h2 { max-width: 16em; margin-inline: auto; }
.u-perks .u-perks-sub { max-width: 31em; margin: clamp(16px, 1.4vw, 24px) auto 0; text-align: center; font-size: clamp(17px, 1.35vw, 22px); line-height: 1.45; text-wrap: balance; }
.u-tiles { list-style: none; margin: clamp(36px, 3.6vw, 60px) 0 0; padding: 0; display: grid; gap: 16px; }
.u-tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.u-tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.u-tile {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  width: 100%; min-height: clamp(270px, 22vw, 390px); padding: clamp(22px, 2vw, 36px);
  border: 0; border-radius: var(--u-radius); background: var(--mint); color: var(--navy); text-align: left;
}
.u-tile--sky { min-height: clamp(220px, 18vw, 320px); background: var(--sky); }
.u-tile-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.u-tile-title { font-size: clamp(20px, 1.75vw, 30px); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.u-tile--sky .u-tile-title { max-width: 9em; font-size: clamp(17px, 1.35vw, 24px); }
.u-tile-fig { display: block; padding-top: clamp(16px, 1.3vw, 24px); border-top: 1px solid #08295126; }
.u-tile-fig small { display: block; font-size: clamp(15px, 1.15vw, 20px); line-height: 1.2; }
.u-tile-fig b { display: block; font-size: clamp(46px, 5.2vw, 92px); letter-spacing: -.04em; line-height: 1.08; white-space: nowrap; font-variant-numeric: tabular-nums; }
.u-tile--sky .u-tile-fig b { font-size: clamp(40px, 4.3vw, 78px); }

/* A reason opens on hover, tap or keyboard: the figure makes way for a sentence */
.u-perk { overflow: hidden; }
.u-perk-plus { position: relative; flex-shrink: 0; width: clamp(18px, 1.5vw, 26px); height: clamp(18px, 1.5vw, 26px); margin-top: .2em; transition: rotate .45s var(--u-ease); }
.u-perk-plus::before, .u-perk-plus::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: currentColor; }
.u-perk-plus::after { rotate: 90deg; }
.u-perk .u-tile-fig { transition: opacity .3s, transform .45s var(--u-ease); }
.u-perk-more {
  position: absolute; left: clamp(22px, 2vw, 36px); right: clamp(22px, 2vw, 36px); bottom: clamp(22px, 2vw, 36px);
  font-size: clamp(17px, 1.4vw, 25px); line-height: 1.4; text-wrap: balance;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .3s, transform .45s var(--u-ease), visibility 0s .45s;
}
.u-perk.is-open .u-tile-fig { opacity: 0; transform: translateY(-16px); }
.u-perk.is-open .u-perk-more { opacity: 1; visibility: visible; transform: none; transition: opacity .35s .1s, transform .45s var(--u-ease) .1s; }
.u-perk.is-open .u-perk-plus { rotate: 45deg; }
@media (hover: hover) {
  .u-perk:hover .u-tile-fig { opacity: 0; transform: translateY(-16px); }
  .u-perk:hover .u-perk-more { opacity: 1; visibility: visible; transform: none; transition: opacity .35s .1s, transform .45s var(--u-ease) .1s; }
  .u-perk:hover .u-perk-plus { rotate: 45deg; }
}

/* ---------- One-line marquee ---------- */
.u-line { display: flex; overflow: hidden; padding-block: clamp(18px, 1.6vw, 28px); background: var(--navy); color: #fff; }
.u-line-track {
  display: flex; flex-shrink: 0; align-items: center; gap: clamp(20px, 1.9vw, 34px);
  list-style: none; margin: 0; padding: 0 clamp(10px, .95vw, 17px);
  animation: u-marquee 38s linear infinite;
}
.u-line-track li { display: flex; align-items: center; gap: clamp(20px, 1.9vw, 34px); white-space: nowrap; font-size: clamp(22px, 2.3vw, 40px); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }
.u-line .u-check { font-size: .68em; }

/* ---------- Three statements ---------- */
.u-points-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: clamp(40px, 7vw, 140px); align-items: center; }
.u-points-text { display: grid; }
.u-point { grid-area: 1 / 1; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .5s var(--u-ease); }
.u-point.is-active { opacity: 1; transform: none; pointer-events: auto; transition: opacity .45s .22s, transform .55s var(--u-ease) .22s; }
.u-point h2 { max-width: 11.5em; }
.u-point .u-lead { max-width: 26em; margin-top: clamp(20px, 1.8vw, 30px); font-size: clamp(18px, 1.5vw, 24px); text-wrap: balance; }
.u-points-nav { display: flex; align-items: center; gap: 12px; margin-top: clamp(40px, 4.6vw, 84px); }
.u-points-dot { display: flex; align-items: center; gap: 14px; padding: 0; border: 0; background: none; color: var(--ink); opacity: .42; transition: opacity .3s; }
.u-points-dot:hover { opacity: .75; }
.u-points-dot.is-active { opacity: 1; }
.u-points-dot span { display: grid; place-items: center; width: 3em; height: 3em; border: 1px solid currentColor; border-radius: 50%; font-size: clamp(13px, .95vw, 16px); font-weight: 700; }
.u-points-dot i { display: block; width: 0; height: 2px; overflow: hidden; background: #122c4826; transition: width .5s var(--u-ease); }
.u-points-dot i::after { content: ''; display: block; height: 100%; background: var(--ink); transform-origin: left; }
.u-points-dot.is-active i { width: clamp(90px, 13vw, 240px); }
.u-points.is-auto .u-points-dot.is-active i::after { animation: u-grow-x var(--dur, 6.5s) linear both; }

/* 01: three payments are bracketed into one */
.u-p1 { display: flex; flex-direction: column; justify-content: center; padding: 0 11%; background: var(--blue); }
.u-p1-bills { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6em; }
.u-p1-bills li { display: grid; justify-items: start; gap: 1em; padding: 1.05em 1.05em 1.15em; border-radius: .7em; background: #fff; opacity: .55; }
.u-p1-bills .u-logo:not(.u-logo--mono) { width: 1.6em; height: 1.6em; }
.u-p1-bills .u-logo--mono { font-size: .7em; }
.u-p1-bills b { font-size: 1.55em; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.u-p1-bills small { margin-left: .1em; font-size: .55em; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.u-p1-join { position: relative; height: 2em; margin: 0 16.4%; border: solid #ffffffa6; border-width: 0 1.5px 1.5px; border-radius: 0 0 .7em .7em; }
.u-p1-join::before { content: ''; position: absolute; left: 50%; top: 0; height: calc(100% + 1.5em); border-left: 1.5px solid #ffffffa6; }
.u-p1-one { display: flex; align-items: center; justify-content: space-between; gap: 1em; margin-top: 1.5em; padding: 1.5em 1.7em; border-radius: .9em; background: #fff; }
.u-p1-one strong { display: block; font-size: 2.9em; letter-spacing: -.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.u-p1-one strong small { margin-left: .1em; font-size: .5em; font-weight: 400; letter-spacing: 0; }
.u-p1-one div > span { display: block; margin-top: .35em; color: var(--muted); }
.u-scene.is-active .u-p1-bills li { animation: u-bill 6s linear .2s both; }
.u-scene.is-active .u-p1-bills li:nth-child(2) { animation-delay: .4s; }
.u-scene.is-active .u-p1-bills li:nth-child(3) { animation-delay: .6s; }
.u-scene.is-active .u-p1-join { animation: u-unroll .7s var(--u-ease) 2.5s both; }
.u-scene.is-active .u-p1-one { animation: u-emerge .8s var(--u-out) 3s both; }
.u-scene.is-active .u-p1-one .u-badge { animation: u-pop .6s var(--u-out) 4.5s both; }

/* 02: the same payment at the start, middle and end */
.u-p2 { display: grid; place-items: center; padding: 0 10%; background: var(--mint); }
.u-p2-card { width: 100%; padding: 1.9em 2em 1.8em; border-radius: .9em; background: #fff; }
.u-p2-top { display: flex; align-items: flex-start; justify-content: space-between; }
.u-p2-top strong { display: block; font-size: 3.5em; letter-spacing: -.04em; line-height: 1; }
.u-p2-top div > span { display: block; margin-top: .45em; color: var(--muted); }
.u-p2-track { position: relative; height: .42em; margin: 2.8em .5em 0; border-radius: 1em; background: #e3ebf3; }
.u-p2-track i { position: absolute; inset: 0; border-radius: inherit; background: var(--blue); transform-origin: left; }
.u-p2-track span { position: absolute; left: var(--x); top: 50%; width: 1.15em; height: 1.15em; margin: -.575em 0 0 -.575em; border: .25em solid var(--blue); border-radius: 50%; background: #fff; }
.u-p2-months { list-style: none; margin: 1.3em 0 0; padding: 0; display: flex; justify-content: space-between; }
.u-p2-months li:nth-child(2) { text-align: center; }
.u-p2-months li:nth-child(3) { text-align: right; }
.u-p2-months b { display: block; font-size: 1.3em; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.u-p2-months small { display: block; margin-top: .35em; font-size: .82em; color: var(--muted); }
.u-scene.is-active .u-p2-card { animation: u-rise .7s var(--u-out) .15s both; }
.u-scene.is-active .u-p2-track i { animation: u-grow-x 2.6s cubic-bezier(.45, 0, .55, 1) .7s both; }
.u-scene.is-active .u-p2-track span { animation: u-pop .5s var(--u-out) .7s both; }
.u-scene.is-active .u-p2-track span:nth-of-type(2) { animation-delay: 1.9s; }
.u-scene.is-active .u-p2-track span:nth-of-type(3) { animation-delay: 3.2s; }
.u-scene.is-active .u-p2-months li { animation: u-rise .6s var(--u-out) .8s both; }
.u-scene.is-active .u-p2-months li:nth-child(2) { animation-delay: 2s; }
.u-scene.is-active .u-p2-months li:nth-child(3) { animation-delay: 3.3s; }
.u-scene.is-active .u-p2-top .u-badge { animation: u-pop .6s var(--u-out) 3.9s both; }

/* 03: three terms, one picked */
.u-p3 { display: flex; flex-direction: column; justify-content: center; padding: 3.4em 8.5% 0; background: var(--sky); }
.u-p3 .u-chip b { background: var(--navy); }
.u-p3-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: .7em; }
.u-p3-rows li { display: grid; grid-template-columns: 3.9em minmax(0, 1.3fr) minmax(0, 1fr) auto; align-items: center; gap: 1em; padding: 1.2em 1.25em 1.2em 1.6em; border-radius: .75em; background: #fff; }
.u-p3-rows b { display: block; font-size: 1.75em; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.u-p3-rows small { display: block; margin-top: .45em; font-size: .8em; line-height: 1.1; color: var(--muted); }
.u-p3-term b { color: var(--blue); }
.u-p3-pick { display: grid; place-items: center; width: 2.3em; height: 2.3em; border: 1.5px solid #122c4833; border-radius: 50%; color: transparent; }
.u-p3-pick .u-i { width: 1em; height: 1em; stroke-width: 2.6; }
.u-p3-rows .is-pick { scale: 1.035; box-shadow: 0 0 0 .2em var(--navy), 0 1.6em 2em -1.4em #082951b3; }
.u-p3-rows .is-pick .u-p3-pick { border-color: var(--green); background: var(--green); color: var(--navy); }
.u-scene.is-active.u-p3 .u-chip--top { animation: u-drop .7s var(--u-out) .15s both; }
.u-scene.is-active .u-p3-rows li { animation: u-rise .7s var(--u-out) .3s both; }
.u-scene.is-active .u-p3-rows li:nth-child(3) { animation-delay: .6s; }
.u-scene.is-active .u-p3-rows .is-pick { animation: u-rise .7s var(--u-out) .45s both, u-pick .7s var(--u-out) 2s both; }
.u-scene.is-active .u-p3-rows .is-pick .u-p3-pick { animation: u-pick-dot .5s var(--u-out) 2.15s both; }

/* ---------- Calculator ---------- */
.u-calc { background: radial-gradient(ellipse at 14% -10%, #2d618f 0, transparent 55%), var(--u-dark-bg); }
.u-calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6.4vw, 124px); align-items: center; }
.u-calc-card { margin: 0; padding: clamp(24px, 2.7vw, 50px); border-radius: var(--u-radius); background: var(--paper); color: var(--ink); }
.u-calc-card h2, .u-calc-card h3 { max-width: 11em; font-size: clamp(24px, 2.1vw, 36px); line-height: 1.12; }

/* The slider is a real range input laid invisibly over a drawn ruler */
.u-range {
  position: relative; height: clamp(26px, 2vw, 34px); margin-top: clamp(64px, 5vw, 86px);
  background: repeating-linear-gradient(90deg, #122c4866 0 1.5px, transparent 1.5px calc(100% / 68));
}
.u-range input { position: absolute; inset: -12px 0; width: 100%; height: calc(100% + 24px); margin: 0; opacity: 0; cursor: grab; -webkit-appearance: none; appearance: none; }
.u-range input:active { cursor: grabbing; }
.u-range input::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 48px; }
.u-range input::-moz-range-thumb { width: 12px; height: 48px; border: 0; }
.u-range-thumb { position: absolute; left: calc(var(--p) * (100% - 12px)); top: -8px; bottom: -8px; width: 12px; border-radius: 4px; background: var(--navy); pointer-events: none; }
.u-range-thumb::before { content: ''; position: absolute; left: 50%; bottom: 100%; margin: 0 0 2px -7px; border: 7px solid transparent; border-top-color: var(--navy); border-bottom: 0; }
.u-range input:focus-visible ~ .u-range-thumb { outline: 3px solid #258ebc; outline-offset: 3px; }
.u-range-bubble {
  position: absolute; bottom: calc(100% + 17px); left: clamp(44px, calc(var(--p) * (100% - 12px) + 6px), calc(100% - 44px)); translate: -50% 0;
  padding: .28em .6em; border-radius: 7px; background: var(--navy); color: #fff;
  font-size: clamp(19px, 1.5vw, 26px); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.u-range-ends { display: flex; justify-content: space-between; margin-top: 14px; color: var(--muted); font-size: 13px; }

.u-terms { margin: clamp(22px, 2vw, 34px) 0 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.u-terms legend { margin-bottom: 10px; padding: 0; font-size: 14px; font-weight: 700; }
.u-terms label { position: relative; display: block; }
.u-terms input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.u-terms span { display: grid; place-items: center; min-height: 46px; padding: 8px 4px; border: 1px solid #122c4833; border-radius: 8px; font-size: clamp(14px, 1.05vw, 17px); font-weight: 700; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.u-terms label:hover span { border-color: #122c4877; }
.u-terms input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.u-terms input:focus-visible + span { outline: 3px solid #258ebc; outline-offset: 3px; }

/* The payment column is sized for the largest payment the slider can give ($3,988.45/mo),
   so it never reaches the next figure and nothing shifts as the number changes */
.u-calc-out { display: grid; grid-template-columns: max-content auto auto; justify-content: space-between; gap: 16px; align-items: end; margin: clamp(22px, 2vw, 34px) 0 0; padding-top: clamp(20px, 1.8vw, 30px); border-top: 1px solid #122c4826; }
.u-calc-out > div { display: flex; flex-direction: column-reverse; gap: 6px; }
.u-calc-out dt { color: var(--muted); font-size: clamp(13px, .95vw, 16px); }
.u-calc-out dd { margin: 0; font-size: clamp(19px, 1.5vw, 26px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.u-calc-out .u-calc-pay dd { min-width: 6.5em; font-size: clamp(30px, 2.9vw, 52px); letter-spacing: -.035em; line-height: 1; white-space: nowrap; }
.u-calc-out dd small { margin-left: .1em; font-size: .55em; font-weight: 400; letter-spacing: 0; }
.u-calc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px clamp(18px, 1.8vw, 30px); margin-top: clamp(24px, 2.2vw, 38px); }
.u-calc-quick { display: inline-flex; align-items: center; gap: .6em; font-size: clamp(15px, 1.05vw, 17px); font-weight: 700; }
.dark .u-calc-note { margin-top: 16px; text-align: center; font-size: 13px; line-height: 1.5; color: #a9bed4; }
.u-calc-copy .u-lead, .u-duo-copy .u-lead { max-width: 26em; margin-top: clamp(20px, 1.8vw, 28px); font-size: clamp(18px, 1.5vw, 24px); text-wrap: balance; }
.u-calc-copy .u-checks { margin-bottom: 0; }

/* ---------- Purpose + figures ---------- */
.u-mission { padding-bottom: clamp(56px, 6vw, 88px); }
.u-mission .u-mission-sub { margin-top: clamp(16px, 1.4vw, 24px); text-align: center; color: var(--ink); font-size: clamp(19px, 1.6vw, 26px); font-weight: 700; letter-spacing: -.02em; }
.u-marquee-section--paper { background: transparent; }

/* ---------- Card rates next to the loan rate ---------- */
.u-duo { background: var(--u-dark-bg); }
.u-duo-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 140px); align-items: center; }
.u-duo-copy .u-checks { margin-bottom: clamp(28px, 2.4vw, 40px); }
.u-duo-cards { position: relative; display: grid; gap: clamp(10px, 1vw, 16px); padding-block: clamp(14px, 1.4vw, 24px); }
.u-duo-cards::before { content: ''; position: absolute; inset: 0 6%; border-radius: var(--u-radius); background: #ffffff12; }
.u-duo-card {
  position: relative; display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1fr); gap: 16px; align-items: start;
  padding: clamp(20px, 2.1vw, 38px); border-radius: var(--u-radius); background: #fff; color: var(--ink);
}
.u-duo-card h3 { font-size: clamp(21px, 1.95vw, 34px); line-height: 1.1; }
.u-duo-card p { color: inherit; }
.u-duo-card small { display: block; font-size: clamp(14px, 1.1vw, 19px); line-height: 1.2; }
.u-duo-card b { display: block; margin-top: .06em; color: var(--muted); font-size: clamp(42px, 4.9vw, 88px); letter-spacing: -.045em; line-height: 1.02; white-space: nowrap; font-variant-numeric: tabular-nums; }
.u-duo-card--green { background: var(--green); color: var(--navy); }
.u-duo-card--green b { color: var(--navy); }

/* ---------- Four steps ---------- */
.u-steps-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: clamp(40px, 5.4vw, 104px); align-items: center; }
.u-steps-stage { position: relative; aspect-ratio: 552 / 510; overflow: hidden; border-radius: var(--u-radius); background: var(--mint); container-type: inline-size; }
.u-sscene {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 0 11%;
  font-size: clamp(8.5px, 2.75cqw, 20px); color: var(--ink);
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s;
}
.u-sscene.is-active { opacity: 1; visibility: visible; transition: opacity .4s .15s; }
.u-scard { position: relative; width: 100%; padding: 1.8em 1.9em 2em; border-radius: .9em; background: #fff; box-shadow: 0 1.8em 2.6em -2em #08295180; }
.u-sscene.is-active .u-scard { animation: u-rise .7s var(--u-out) .15s both; }
.u-steps .u-scard-title { color: var(--ink); font-size: 1.6em; font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.u-scard .u-ruler { margin: 3.4em 0 1.2em; }
.u-stag { position: absolute; left: 1.9em; top: calc(100% - 1.1em); padding: .7em 1em .75em; border-radius: .5em; background: var(--navy); color: #fff; }
.u-stag strong { display: block; font-size: 1.25em; letter-spacing: -.02em; line-height: 1.1; }
.u-stag span { display: block; margin-top: .25em; font-size: .7em; color: #b8cbe0; }
.u-sscene.is-active .u-ruler-thumb { animation: u-slide 1.3s var(--u-ease) .6s both; }
.u-sscene.is-active .u-stag { animation: u-pop .6s var(--u-out) 1.9s both; }

.u-sfields { list-style: none; margin: 1.3em 0 0; padding: 0; display: grid; gap: .6em; }
.u-sfields li { padding: .75em 1em .8em; border: 1px solid var(--line); border-radius: .55em; }
.u-sfields small { display: block; font-size: .78em; color: var(--muted); }
.u-sfields b { display: block; width: fit-content; margin-top: .3em; font-size: 1.15em; letter-spacing: -.015em; line-height: 1.15; }
.u-sscene.is-active .u-sfields li { animation: u-rise .6s var(--u-out) .5s both; }
.u-sscene.is-active .u-sfields li:nth-child(2) { animation-delay: 1.2s; }
.u-sscene.is-active .u-sfields li:nth-child(3) { animation-delay: 1.9s; }
.u-sscene.is-active .u-sfields b { animation: u-type .6s steps(12) .8s both; }
.u-sscene.is-active .u-sfields li:nth-child(2) b { animation-delay: 1.5s; }
.u-sscene.is-active .u-sfields li:nth-child(3) b { animation-delay: 2.2s; }

.u-sreview { list-style: none; margin: 1.1em 0 0; padding: 0; }
.u-sreview li { display: flex; align-items: center; gap: .8em; padding: .8em 0; border-bottom: 1px solid var(--line); font-size: 1.1em; font-weight: 700; }
.u-sreview li:last-child { padding-bottom: 0; border-bottom: 0; }
.u-sscene.is-active .u-sreview .u-check { animation: u-pop .5s var(--u-out) .7s both; }
.u-sscene.is-active .u-sreview li:nth-child(2) .u-check { animation-delay: 1.15s; }
.u-sscene.is-active .u-sreview li:nth-child(3) .u-check { animation-delay: 1.6s; }
.u-sscene.is-active .u-sreview li:nth-child(4) .u-check { animation-delay: 2.05s; }

.u-steps .u-scard-kicker { color: var(--muted); font-size: 1em; }
.u-steps .u-scard-big { margin-top: .15em; color: var(--ink); font-size: 3.5em; font-weight: 700; letter-spacing: -.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.u-scard-big small { margin-left: .1em; font-size: .45em; font-weight: 400; letter-spacing: 0; }
.u-steps .u-scard-meta { display: flex; flex-wrap: wrap; gap: .5em; margin-top: 1em; color: var(--ink); }
.u-scard-meta span { padding: .45em .75em; border-radius: .45em; background: var(--soft); font-size: .88em; font-weight: 700; }
.u-scard-btn { display: flex; align-items: center; justify-content: space-between; margin-top: 1.4em; padding: .95em 1.2em; border-radius: .6em; background: var(--green); color: var(--navy); font-size: 1em; font-weight: 700; }
.u-scard-btn .u-i { width: 1.2em; height: 1.2em; }
.u-sscene.is-active .u-scard-meta span { animation: u-rise .6s var(--u-out) 1.4s both; }
.u-sscene.is-active .u-scard-meta span:nth-child(2) { animation-delay: 1.55s; }
.u-sscene.is-active .u-scard-meta span:nth-child(3) { animation-delay: 1.7s; }
.u-sscene.is-active .u-scard-btn { animation: u-pop .6s var(--u-out) 2.2s both; }

.u-steps-copy h2 { margin-bottom: clamp(22px, 2.2vw, 40px); }
.u-step-list { list-style: none; margin: 0; padding: 0; }
.u-step-list > li { position: relative; border-bottom: 1px solid var(--line); }
.u-step {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .25em .7em;
  width: 100%; padding: clamp(18px, 1.35vw, 26px) 0; border: 0; background: none; color: var(--ink); text-align: left;
  font-size: clamp(20px, 1.9vw, 34px); opacity: .42; transition: opacity .3s;
}
.u-step:hover { opacity: .75; }
.u-step-list > li.is-active .u-step { opacity: 1; }
.u-step-n { display: grid; place-items: center; width: 1.8em; height: 1.8em; border-radius: .4em; background: var(--navy); color: #fff; font-size: clamp(13px, .95vw, 17px); font-weight: 700; }
.u-step-t { font-weight: 700; letter-spacing: -.025em; line-height: 1.2; }
.u-step-d { grid-column: 2; font-size: clamp(15px, 1.05vw, 19px); line-height: 1.5; }
.u-step-list > li.is-active .u-use-progress i { transform: none; }
.u-steps.is-auto .u-step-list > li.is-active .u-use-progress i { animation: u-grow-x var(--dur, 6s) linear both; }

/* ---------- Loan uses: a white panel with a row of cards to slide through ---------- */
.u-cover { padding: 0 clamp(10px, 1.25vw, 18px) var(--u-pad); background: linear-gradient(180deg, #eef2f5 0%, var(--paper) 100%); }
.u-cover-panel { padding-block: clamp(56px, 6vw, 100px) clamp(48px, 5vw, 80px); overflow: hidden; border-radius: 16px; background: #fff; }
.u-cover-panel h2 { padding-inline: 20px; }
.u-cover-track {
  display: flex; gap: 16px; list-style: none; margin: clamp(36px, 3.8vw, 64px) 0 0;
  padding: 4px max(16px, calc((100% - 1480px) / 2));
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(16px, calc((100% - 1480px) / 2)); scrollbar-width: none;
}
.u-cover-track::-webkit-scrollbar { display: none; }
.u-cover-card {
  position: relative; flex: 0 0 clamp(300px, 36vw, 660px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(12px, 1.2vw, 22px);
  min-height: clamp(240px, 18.5vw, 340px); padding: clamp(12px, 1vw, 18px);
  border-radius: var(--u-radius); background: var(--tint, var(--soft)); color: var(--ink);
  scroll-snap-align: start;
}
.u-cover-text { display: flex; flex-direction: column; padding: clamp(8px, 1vw, 18px) 0 clamp(4px, .5vw, 10px) clamp(8px, 1vw, 18px); }
.u-cover-text h3 { font-size: clamp(21px, 1.9vw, 34px); line-height: 1.1; }
.u-cover-text p { margin: clamp(12px, 1.1vw, 20px) 0 18px; font-size: clamp(14.5px, 1.05vw, 19px); line-height: 1.4; }
.u-cover-text .u-round { margin-top: auto; }
/* The whole card is the link */
.u-cover-text .u-round::after { content: ''; position: absolute; inset: 0; border-radius: var(--u-radius); }
.u-cover-card:hover .u-round, .u-cover-text .u-round:focus-visible { background: var(--navy); border-color: var(--navy); color: #fff; }
.u-cover-art { position: relative; overflow: hidden; border-radius: 9px; background: var(--art, var(--sky)); container-type: inline-size; }
.u-cover-art > div { position: absolute; inset: 0; font-size: clamp(8px, 6.2cqw, 19px); color: var(--ink); }
.u-cover-art img { position: absolute; left: 6%; top: 50%; width: 88%; height: auto; translate: 0 -50%; transition: transform .6s var(--u-ease); }
.u-cover-card:hover .u-cover-art img { transform: scale(1.05); }
.u-cover-tag { position: absolute; z-index: 1; padding: .6em .85em .65em; border-radius: .5em; background: var(--navy); color: #fff; white-space: nowrap; }
.u-cover-tag strong { display: block; font-size: 1.2em; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.u-cover-tag span { display: block; margin-top: .2em; font-size: .72em; color: #b8cbe0; }
.u-cover-tag--light { background: #fff; color: var(--ink); }
.u-cover-tag--light span { color: var(--muted); }
.u-cover-tag--bl { left: 6%; bottom: 7%; }
.u-cover-tag--tr { right: 6%; top: 7%; }
/* Credit card refinancing: one balance card over the edge of another */
.u-cover-cc { position: absolute; left: 14%; right: 14%; top: 50%; translate: 0 -46%; padding: 2.6em 1.4em 1.3em; border-radius: .8em; background: var(--navy); color: #fff; box-shadow: 0 -1.1em 0 -.55em #0829518c; }
.u-cover-cc strong { display: block; font-size: 1.75em; letter-spacing: -.03em; line-height: 1.1; }
.u-cover-cc span { display: block; margin-top: .25em; font-size: .8em; color: #b8cbe0; }
/* Major purchases: two of the purchase tiles */
.u-cover-tiles { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: .7em; padding: 0 8%; }
.u-cover-tiles > div { padding: .7em .5em 1em; border-radius: .7em; background: #edf3f9; text-align: center; }
.u-cover-tiles > div:nth-child(2) { translate: 0 1.4em; }
.u-cover-art .u-cover-tiles img { position: static; display: block; width: 5.4em; height: 5.4em; margin: 0 auto .1em; translate: none; object-fit: contain; }
.u-cover-tiles strong { display: block; font-size: 1.05em; letter-spacing: -.02em; }
.u-cover-tiles small { font-size: .72em; color: var(--muted); }
.u-cover-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: clamp(32px, 3.2vw, 52px); padding-inline: 20px; }
.u-cover-nav .u-btn { border-radius: 999px; }

/* The phone form's side note is a phone link on these pages */
a.u-secure:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Keyframes ---------- */
@keyframes u-fade { from { opacity: 0; } }
@keyframes u-slide { from { left: 6%; } }
@keyframes u-bill { 0% { opacity: 0; transform: translateY(1.2em); animation-timing-function: cubic-bezier(.16, 1, .3, 1); } 8%, 40% { opacity: 1; transform: none; } 48%, 100% { opacity: .55; transform: none; } }
@keyframes u-unroll { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 -2em 0); } }
@keyframes u-pick { from { scale: 1; box-shadow: 0 0 0 0 #08295100, 0 0 0 0 #08295100; } }
@keyframes u-pick-dot { from { border-color: #122c4833; background: transparent; color: transparent; scale: .7; } }
@keyframes u-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 -1em 0 0); } }
@keyframes u-ohero-rise { from { opacity: 0; transform: translateY(150px); } }
@keyframes u-ohero-in { from { opacity: 0; transform: scale(.8) translateX(50%); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .u-calc-out { grid-template-columns: 1fr 1fr; justify-content: normal; }
  .u-calc-out .u-calc-pay { grid-column: 1 / -1; }
  .u-calc-out .u-calc-pay dd { min-width: 0; font-size: clamp(34px, 3.6vw, 40px); }
}

@media (max-width: 1000px) {
  .u-tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .u-tile--sky { min-height: 200px; }
  .u-points-grid, .u-steps-grid, .u-calc-grid, .u-duo-grid { gap: 40px; }
  .u-points-dot.is-active i { width: 70px; }
}

/* Below the two-column hero the picture follows the copy, so the top gap is shorter than the homepage's */
@media (max-width: 900px) {
  .u-chero.hero-expanded, .u-phero.hero-expanded { padding-top: clamp(48px, 8vw, 72px); }
  .u-chero.hero-expanded .hero-grid, .u-phero.hero-expanded .hero-grid { padding-bottom: clamp(48px, 8vw, 72px); }
  .u-phero .u-calc-side { max-width: none; justify-self: stretch; }
  .u-chero-art { width: 100%; max-width: 600px; margin-inline: auto; }
}

@media (max-width: 760px) {
  .u-center br { display: none; }
  .u-chero-actions .cta { min-height: 64px; padding: 20px 28px; font-size: 18.5px; }
  .u-chero-stage { font-size: 2.9cqw; }
  .u-ohero-card p, .u-ohero-chip span { gap: .5em; font-size: 1.1em; }

  .u-tiles--3 { grid-template-columns: 1fr; }
  .u-tile { min-height: 230px; }
  .u-tile--sky { min-height: 168px; padding: 18px; gap: 16px; }
  .u-tile--sky .u-tile-title { font-size: 15.5px; }
  .u-tile--sky .u-tile-fig b { font-size: clamp(32px, 10.5vw, 46px); }
  .u-tiles--4 { gap: 10px; }

  .u-points-grid, .u-steps-grid, .u-calc-grid, .u-duo-grid { grid-template-columns: 1fr; }
  .u-points-nav { margin-top: 30px; }
  .u-points-dot.is-active i { width: 96px; }

  .u-calc-copy { order: -1; }
  .u-calc-actions .u-btn { width: 100%; }
  .u-range-ends { font-size: 12px; }

  .u-duo-card { grid-template-columns: 1fr; gap: 14px; }
  .u-duo-card h3 br { display: none; }
  .u-duo-card b { font-size: clamp(48px, 16vw, 72px); }

  .u-cover-card { flex-basis: min(84vw, 360px); grid-template-columns: 1fr; grid-template-rows: auto 190px; }
  .u-cover-text { padding: 10px 8px 4px; }
  .u-cover-nav .u-round--btn { display: none; }

  /* Heading, then the picture, then the steps */
  .u-steps-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .u-steps-copy { display: contents; }
  .u-steps-copy h2 { order: 1; margin-bottom: 28px; }
  .u-steps-stage { order: 2; margin-bottom: 14px; }
  .u-step-list { order: 3; }
}

@media (prefers-reduced-motion: reduce) {
  .u-chero-stage *, .u-sscene *, .u-points-dot i::after { animation: none !important; }
  .u-ohero .hero-copy > *, .u-ohero-art { animation: none; }
  .u-line { flex-wrap: wrap; justify-content: center; }
  .u-line-track { animation: none; }
  .u-line-track + .u-line-track, .u-line-track li + li { display: none; }
}
