/* "What people use it for" section, shared by the home page and its phone version (2026-11-28).
   Follows MAKE by KBank: little text, a phone with cards coming out of it, and the rest of the
   message shown one short line at a time as the visitor scrolls. */
.uses { background: #fffdf8; color: #141216; padding: 72px 0 64px; overflow: hidden; }
.uses-inner { width: min(100% - 40px, 1180px); margin: 0 auto; display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .uses-inner { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; } }
.uses-eyebrow { margin: 0 0 10px; font-size: 15px; font-weight: 700; color: #6b665c; }
.uses h2 { margin: 0; font-family: var(--display, var(--font-display, inherit)); font-size: clamp(1.9rem, 4.6vw, 3.2rem); line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
.uses-lead { margin: 14px 0 0; font-size: 17px; line-height: 1.45; color: #45413a; }

/* Phone + cards */
.uses-stage { --from: translateY(-150px) scale(0.3); position: relative; display: grid; justify-items: center; }
.uses-phone { position: relative; z-index: 2; margin: 0; width: 210px; height: 300px; overflow: hidden; border: 9px solid #141216; border-bottom: 0; border-radius: 34px 34px 0 0; background: #fff; }
.uses-phone img { display: block; width: 100%; height: auto; }
.uses-cards { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; margin-top: -36px; }
@media (min-width: 900px) {
   /* As in MAKE's recording: a tilted phone on the right, cards popping out to its left, a little scattered. */
   .uses-stage { --from: translate(240px, 40px) scale(0.15); grid-template-columns: minmax(0, 1fr) 230px; align-items: center; justify-items: stretch; }
   .uses-phone { order: 2; width: 230px; height: 470px; border-bottom: 9px solid #141216; border-radius: 36px; transform: rotate(9deg); box-shadow: 0 30px 60px rgb(20 18 22 / 0.18); }
   .uses-cards { order: 1; margin: 0 -46px 0 0; width: auto; }
   .uses-card:nth-child(1) { margin-top: 26px; }
   .uses-card:nth-child(2) { margin-bottom: 26px; }
   .uses-card:nth-child(3) { margin-left: -18px; margin-right: 18px; }
}
.uses-card { margin: 0; border-radius: 18px; background: #fff; overflow: hidden; box-shadow: 0 14px 34px rgb(20 18 22 / 0.12); opacity: 0; transform: var(--from); transition: opacity 0.35s ease, transform 0.75s cubic-bezier(0.34, 1.4, 0.64, 1); }
.uses-card:nth-child(2) { transition-delay: 0.14s; }
.uses-card:nth-child(3) { transition-delay: 0.28s; }
.uses-card:nth-child(4) { transition-delay: 0.42s; }
.uses.is-in .uses-card { opacity: 1; transform: none; }
.uses.is-drifting .uses-card { animation: uses-drift 6s ease-in-out infinite alternate; }
.uses.is-drifting .uses-card:nth-child(2) { animation-delay: -1.5s; }
.uses.is-drifting .uses-card:nth-child(3) { animation-delay: -3s; }
.uses.is-drifting .uses-card:nth-child(4) { animation-delay: -4.5s; }
@keyframes uses-drift { from { transform: translateY(0); } to { transform: translateY(-7px); } }
.uses-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.uses-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.uses-photo::after { content: ''; position: absolute; right: -12%; bottom: -26px; left: -12%; height: 48px; border-radius: 50%; background: #fff; }
.uses-share { position: absolute; top: 10px; left: 10px; border-radius: 999px; background: #ffd43b; color: #141216; padding: 4px 10px; font-size: 12px; font-weight: 800; }
.uses-body { padding: 4px 14px 14px; display: grid; gap: 2px; }
.uses-body b { font-size: 15.5px; line-height: 1.25; }
.uses-body span { font-size: 13px; font-weight: 600; color: #6b665c; }
/* The fourth card has no photo: it states the income gap in a borrower's words. */
.uses-card-gap { background: #ffd43b; display: flex; }
.uses-card-gap .uses-body { padding: 18px 16px; align-content: center; gap: 8px; }
.uses-card-gap .uses-share { position: static; justify-self: start; background: #141216; color: #fff9ec; }
.uses-card-gap .uses-body b { font-size: clamp(1.1rem, 4vw, 1.4rem); font-weight: 700; line-height: 1.15; }
.uses-card-gap .uses-body span:last-child { color: #3a3320; font-size: 14px; }

/* The message, one short line at a time as you scroll */
.uses-bits { width: min(100% - 40px, 1180px); margin: 72px auto 0; display: grid; gap: 64px; }
@media (min-width: 900px) { .uses-bits { grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 96px; } }
.uses-bitgroup { display: grid; gap: 14px; align-content: start; }
.uses-bit { margin: 0; opacity: 0; transform: translateY(26px); transition: opacity 0.55s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.uses-bit.is-in { opacity: 1; transform: none; }
.uses-bit-label { font-size: 15px; font-weight: 700; color: #6b665c; }
.uses-bit-line { display: flex; align-items: center; gap: 12px; font-size: clamp(1.1rem, 4.4vw, 1.35rem); font-weight: 600; line-height: 1.25; }
.uses-bit-line::before { content: '✓'; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #ffd43b; font-size: 14px; font-weight: 800; }
.uses-note { width: min(100% - 40px, 1180px); margin: 48px auto 0; font-size: 12.5px; color: #6b665c; }
/* The phone is alive (George, 2026-11-29: "something cute"): it bobs, a reason gets typed into
   the form on its screen, the button glows, and little coins float up out of it. */
.uses-phone { container-type: inline-size; }
.uses.is-in .uses-phone { animation: uses-bob 4.5s ease-in-out infinite alternate; }
@keyframes uses-bob { from { translate: 0 0; } to { translate: 0 -10px; } }
.uses-type { position: absolute; left: 5%; top: 114.4cqw; width: 88%; height: 16cqw; box-sizing: border-box; background: #fcfcfd; padding: 1.2cqw 3cqw 0; font-size: 4.3cqw; line-height: 1.3; text-align: left; color: #141216; }
.uses-type span::after { content: ''; display: inline-block; width: 1.5px; height: 1em; margin-left: 1px; background: #5b21d6; vertical-align: -0.15em; animation: uses-caret 0.8s steps(1) infinite; }
@keyframes uses-caret { 50% { opacity: 0; } }
.uses-glow { position: absolute; left: 4%; top: 146cqw; width: 92%; height: 15cqw; border-radius: 4cqw; pointer-events: none; }
.uses.is-in .uses-glow { animation: uses-glow 2.4s ease-in-out infinite; }
@keyframes uses-glow { 0%, 100% { box-shadow: 0 0 0 0 rgb(255 212 59 / 0); } 50% { box-shadow: 0 0 0 5px rgb(255 212 59 / 0.85); } }
.uses-coins { position: absolute; z-index: 4; top: 10px; left: 50%; width: 0; height: 0; pointer-events: none; }
@media (min-width: 900px) { .uses-coins { top: 40px; left: auto; right: 96px; } }
.uses-coins i { position: absolute; display: grid; place-items: center; width: 34px; height: 34px; margin: -17px; border-radius: 50%; background: #ffd43b; border: 2.5px solid #e0a800; color: #7a5a00; font-size: 16px; font-weight: 800; font-style: normal; box-shadow: 0 6px 14px rgb(20 18 22 / 0.16); opacity: 0; }
.uses.is-in .uses-coins i { animation: uses-coin 3.6s ease-out infinite; }
.uses-coins i:nth-child(1) { --x: -64px; --r: -24deg; }
.uses-coins i:nth-child(2) { --x: 8px; --r: 16deg; animation-delay: 1.2s !important; }
.uses-coins i:nth-child(3) { --x: 70px; --r: 30deg; animation-delay: 2.4s !important; }
@keyframes uses-coin {
   0% { opacity: 0; transform: translate(0, 30px) scale(0.3); }
   18% { opacity: 1; transform: translate(calc(var(--x) * 0.4), -24px) scale(1.1) rotate(var(--r)); }
   70% { opacity: 1; }
   100% { opacity: 0; transform: translate(var(--x), -120px) scale(0.9) rotate(calc(var(--r) * -1)); }
}
/* These animations play even when the device asks for reduced motion (George, 2026-11-29: his
   Mac had Reduce Motion on and the page looked frozen; MAKE by KBank does the same). */
