.home-page { overflow-x: hidden; background: var(--yp-bg); }
.home-header { position: sticky; top: 0; z-index: var(--yp-z-sticky); border-bottom: 1px solid color-mix(in srgb, var(--yp-border) 80%, transparent); background: color-mix(in srgb, var(--yp-bg) 88%, transparent); backdrop-filter: blur(18px); }
.home-nav { min-height: 4.75rem; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--yp-space-6); }
.home-nav-links { display: flex; align-items: center; justify-content: center; gap: clamp(.85rem, 2.3vw, 2rem); }
.home-nav-links a, .home-footer-links a { color: var(--yp-text-muted); text-decoration: none; font-size: var(--yp-font-size-sm); font-weight: 750; transition: color var(--yp-motion-fast) var(--yp-ease-standard); }
.home-nav-links a:hover, .home-footer-links a:hover { color: var(--yp-text); }
.home-nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: var(--yp-space-3); }

.home-hero { position: relative; isolation: isolate; padding: clamp(4rem, 8vw, 7.5rem) 0 clamp(4.5rem, 8vw, 7rem); overflow: hidden; }
.home-hero::before { content: ''; position: absolute; z-index: -2; inset: 0; background: radial-gradient(circle at 10% 18%, var(--yp-primary-soft), transparent 28%), radial-gradient(circle at 85% 32%, color-mix(in srgb, var(--yp-info-soft) 70%, transparent), transparent 26%), linear-gradient(180deg, var(--yp-bg), var(--yp-bg-elevated)); }
.home-hero::after { content: ''; position: absolute; z-index: -1; width: 34rem; height: 34rem; border: 1px solid color-mix(in srgb, var(--yp-primary) 18%, transparent); border-radius: 50%; inset-block-start: 6%; inset-inline-end: -14rem; opacity: .65; }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(34rem, 1.08fr); gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.home-hero-copy h1 { max-width: 11ch; margin: var(--yp-space-5) 0 var(--yp-space-5); font-size: clamp(3.4rem, 7vw, 6.8rem); line-height: .97; letter-spacing: -.055em; }
.home-hero-lead { max-width: 42rem; margin: 0; color: var(--yp-text-soft); font-size: clamp(1.08rem, 1.8vw, 1.35rem); line-height: 1.75; }
.home-hero-actions { display: flex; gap: var(--yp-space-3); margin-top: var(--yp-space-8); }
.home-hero-points { display: flex; gap: var(--yp-space-5); flex-wrap: wrap; margin-top: var(--yp-space-6); color: var(--yp-text-muted); font-size: var(--yp-font-size-sm); }
.home-hero-points span { display: inline-flex; align-items: center; gap: .45rem; }
.home-hero-points i { display: inline-grid; color: var(--yp-success); }
html[dir="rtl"] .home-hero-actions .yp-icon:last-child { transform: scaleX(-1); }

.home-product-stage { position: relative; min-height: 39rem; display: grid; place-items: center; }
.home-product-glow { position: absolute; width: 85%; height: 72%; border-radius: 50%; background: var(--yp-primary-soft); filter: blur(58px); opacity: .8; }
.home-app-card { position: relative; z-index: 2; width: min(31rem, 88%); padding: var(--yp-space-5); border: 1px solid color-mix(in srgb, var(--yp-border-strong) 74%, transparent); border-radius: 2rem; background: color-mix(in srgb, var(--yp-surface) 94%, transparent); box-shadow: var(--yp-shadow-lg); backdrop-filter: blur(22px); transform: rotate(-1.3deg); }
html[dir="rtl"] .home-app-card { transform: rotate(1.3deg); }
.home-app-head { display: flex; align-items: center; justify-content: space-between; gap: var(--yp-space-4); }
.home-app-user { display: flex; align-items: center; gap: .7rem; }
.home-app-user > div, .home-transaction-row > div { min-width: 0; display: grid; gap: .15rem; }
.home-app-user strong, .home-transaction-row strong { color: var(--yp-text); font-size: var(--yp-font-size-sm); }
.home-app-user small, .home-transaction-row small { color: var(--yp-text-muted); font-size: var(--yp-font-size-xs); }
.home-avatar { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: 0 0 auto; border-radius: 50%; background: var(--yp-primary); color: var(--yp-on-primary); font-weight: 900; }
.home-avatar-small { width: 2.35rem; height: 2.35rem; font-size: var(--yp-font-size-sm); }
.home-balance-card { margin-top: var(--yp-space-5); padding: var(--yp-space-6); border-radius: var(--yp-radius-xl); background: linear-gradient(145deg, color-mix(in srgb, var(--yp-primary) 88%, var(--yp-surface)), color-mix(in srgb, var(--yp-primary-hover) 80%, var(--yp-bg-elevated))); color: var(--yp-on-primary); box-shadow: var(--yp-shadow-md); }
.home-balance-card > span { display: block; opacity: .82; font-size: var(--yp-font-size-sm); }
.home-balance-card > strong { display: block; margin-top: .45rem; font-family: var(--yp-font-display); font-size: clamp(2.2rem, 5vw, 3rem); line-height: 1; letter-spacing: -.04em; }
.home-balance-card > strong small { font-size: .42em; letter-spacing: .02em; }
.home-balance-trend { display: inline-flex; align-items: center; gap: .35rem; margin-top: var(--yp-space-4); padding: .4rem .65rem; border-radius: var(--yp-radius-full); background: color-mix(in srgb, var(--yp-on-primary) 14%, transparent); font-size: var(--yp-font-size-xs); font-weight: 750; }
.home-quick-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--yp-space-3); margin: var(--yp-space-5) 0; }
.home-quick-actions button { appearance: none; display: grid; justify-items: center; gap: .45rem; padding: .75rem .35rem; border: 0; border-radius: var(--yp-radius-md); background: transparent; color: var(--yp-text-soft); cursor: pointer; }
.home-quick-actions button:hover { background: var(--yp-surface-hover); color: var(--yp-text); }
.home-quick-actions button span { display: grid; place-items: center; width: 2.65rem; height: 2.65rem; border-radius: var(--yp-radius-full); background: var(--yp-primary-soft); color: var(--yp-primary); }
.home-quick-actions button b { font-size: var(--yp-font-size-xs); }
.home-section-title { display: flex; align-items: center; justify-content: space-between; gap: var(--yp-space-3); margin-bottom: var(--yp-space-2); }
.home-section-title a { color: var(--yp-primary); text-decoration: none; font-size: var(--yp-font-size-xs); font-weight: 800; }
.home-transaction-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .75rem; align-items: center; padding: .8rem .1rem; border-bottom: 1px solid var(--yp-border); }
.home-transaction-row:last-child { border-bottom: 0; }
.home-transaction-row > b { color: var(--yp-text); font-size: var(--yp-font-size-sm); white-space: nowrap; }
.home-amount-positive { color: var(--yp-success) !important; }
.home-tx-icon { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: var(--yp-radius-md); background: var(--yp-surface-2); color: var(--yp-text-soft); }
.home-tx-in { background: var(--yp-success-soft); color: var(--yp-success); }
.home-floating-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: .65rem; min-width: 11rem; padding: .75rem .85rem; border: 1px solid var(--yp-border); border-radius: var(--yp-radius-lg); background: var(--yp-surface); box-shadow: var(--yp-shadow-md); }
.home-floating-chip > .yp-icon { color: var(--yp-success); font-size: 1.3rem; }
.home-floating-chip > div { display: grid; gap: .08rem; }
.home-floating-chip strong { font-size: var(--yp-font-size-xs); }
.home-floating-chip small { color: var(--yp-text-muted); font-size: .7rem; }
.home-floating-chip-a { inset-inline-start: -1rem; inset-block-start: 23%; animation: home-float-a 4.8s ease-in-out infinite; }
.home-floating-chip-b { inset-inline-end: -1.5rem; inset-block-end: 18%; animation: home-float-b 5.4s ease-in-out infinite; }
.home-floating-chip-b > .yp-icon { color: var(--yp-info); }
@keyframes home-float-a { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(0); } }
@keyframes home-float-b { 0%,100% { transform: translateY(0) rotate(1deg); } 50% { transform: translateY(9px) rotate(-1deg); } }

.home-trust-strip { border-block: 1px solid var(--yp-border); background: var(--yp-surface); }
.home-trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-trust-grid > div { display: grid; grid-template-columns: auto 1fr; gap: .15rem .7rem; align-items: center; min-width: 0; padding: var(--yp-space-5) var(--yp-space-4); border-inline-end: 1px solid var(--yp-border); }
.home-trust-grid > div:last-child { border-inline-end: 0; }
.home-trust-grid .yp-icon { grid-row: 1 / 3; color: var(--yp-primary); font-size: 1.35rem; }
.home-trust-grid strong { font-size: var(--yp-font-size-sm); }
.home-trust-grid small { color: var(--yp-text-muted); font-size: var(--yp-font-size-xs); }

.home-section { padding: clamp(4.25rem, 7vw, 6.5rem) 0; }
.home-section-soft { background: var(--yp-bg-elevated); }
.home-section-heading { max-width: 47rem; margin: 0 auto clamp(2.5rem, 5vw, 4.5rem); text-align: center; }
.home-section-heading-start { margin-inline: 0; text-align: start; align-self: center; }
.home-section-heading h2, .home-provider-copy h2, .home-final-shell h2 { margin: .5rem 0 var(--yp-space-4); font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 1.03; letter-spacing: -.045em; }
.home-section-heading p, .home-provider-copy p, .home-final-shell p { margin: 0; color: var(--yp-text-muted); font-size: var(--yp-font-size-lg); line-height: 1.75; }
.home-eyebrow { display: inline-block; color: var(--yp-primary); font-size: var(--yp-font-size-sm); font-weight: 900; letter-spacing: .01em; }
.home-feature-grid { display: grid; grid-template-columns: 1.18fr .82fr .82fr; gap: var(--yp-space-5); }
.home-feature-card { min-height: 23rem; padding: clamp(1.4rem, 3vw, 2rem); border: 1px solid var(--yp-border); border-radius: var(--yp-radius-xl); background: var(--yp-surface); box-shadow: var(--yp-shadow-xs); overflow: hidden; }
.home-feature-card h3 { margin: var(--yp-space-4) 0 var(--yp-space-3); font-size: clamp(1.5rem, 2.4vw, 2rem); }
.home-feature-card p { margin: 0; color: var(--yp-text-muted); line-height: 1.7; }
.home-feature-large { display: grid; grid-template-rows: auto 1fr; background: linear-gradient(160deg, var(--yp-surface), color-mix(in srgb, var(--yp-primary-soft) 70%, var(--yp-surface))); }
.home-feature-icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: var(--yp-radius-lg); background: var(--yp-primary-soft); color: var(--yp-primary); font-size: 1.35rem; }
.home-mini-wallet { align-self: end; margin-top: var(--yp-space-7); padding: var(--yp-space-5); border-radius: var(--yp-radius-lg); background: var(--yp-bg); color: var(--yp-text); transform: translateY(.3rem) rotate(-1deg); }
.home-mini-wallet > span { color: var(--yp-text-muted); font-size: var(--yp-font-size-xs); }
.home-mini-wallet > strong { display: block; margin-top: .35rem; font-size: 2rem; }
.home-mini-wallet > strong small { color: var(--yp-text-muted); font-size: .48em; }
.home-mini-bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: .35rem; align-items: end; height: 4rem; margin-top: var(--yp-space-5); }
.home-mini-bars i { display: block; border-radius: var(--yp-radius-xs) var(--yp-radius-xs) 0 0; background: color-mix(in srgb, var(--yp-primary) 70%, var(--yp-surface)); }
.home-mini-bars i:nth-child(1) { height: 35%; }.home-mini-bars i:nth-child(2) { height: 58%; }.home-mini-bars i:nth-child(3) { height: 46%; }.home-mini-bars i:nth-child(4) { height: 76%; }.home-mini-bars i:nth-child(5) { height: 62%; }.home-mini-bars i:nth-child(6) { height: 88%; }
.home-feature-list { display: grid; gap: .8rem; margin-top: var(--yp-space-7); }
.home-feature-list span { display: flex; align-items: center; gap: .7rem; color: var(--yp-text-soft); font-size: var(--yp-font-size-sm); }
.home-feature-list i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--yp-primary); box-shadow: 0 0 0 .3rem var(--yp-primary-soft); }
.home-notification-mock { display: flex; align-items: flex-start; gap: .7rem; margin-top: var(--yp-space-7); padding: .85rem; border: 1px solid var(--yp-border); border-radius: var(--yp-radius-md); background: var(--yp-surface-2); }
.home-notification-mock > .yp-icon { color: var(--yp-success); }
.home-notification-mock > div { display: grid; gap: .1rem; }
.home-notification-mock strong { font-size: var(--yp-font-size-sm); }
.home-notification-mock small { color: var(--yp-text-muted); font-size: var(--yp-font-size-xs); }

.home-transfer-grid { display: grid; grid-template-columns: minmax(22rem, .88fr) minmax(0, 1.12fr); gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.home-transfer-widget { padding: clamp(1.4rem, 3vw, 2rem); border: 1px solid var(--yp-border); border-radius: var(--yp-radius-xl); background: var(--yp-surface); box-shadow: var(--yp-shadow-md); }
.home-widget-top { display: flex; align-items: center; justify-content: space-between; gap: var(--yp-space-3); }
.home-transfer-widget h3 { margin: var(--yp-space-5) 0; font-size: var(--yp-font-size-2xl); }
.home-money-field, .home-recipient-field { display: grid; gap: .55rem; margin-top: var(--yp-space-4); }
.home-money-field > span, .home-recipient-field > span { color: var(--yp-text-muted); font-size: var(--yp-font-size-xs); font-weight: 800; }
.home-money-field > div, .home-recipient-field > div { display: flex; align-items: center; justify-content: space-between; gap: var(--yp-space-3); min-height: 4.3rem; padding: .85rem 1rem; border: 1px solid var(--yp-border-strong); border-radius: var(--yp-radius-lg); background: var(--yp-surface-2); }
.home-money-field strong { font-size: clamp(1.65rem, 3vw, 2.15rem); }
.home-money-field b { color: var(--yp-text-muted); }
.home-recipient-field > div > div { display: grid; flex: 1; gap: .1rem; }
.home-recipient-field small { color: var(--yp-text-muted); }
.home-transfer-summary { display: grid; gap: .7rem; margin: var(--yp-space-5) 0; padding-block: var(--yp-space-4); border-block: 1px solid var(--yp-border); }
.home-transfer-summary span { display: flex; justify-content: space-between; gap: var(--yp-space-4); color: var(--yp-text-muted); font-size: var(--yp-font-size-sm); }
.home-transfer-summary b { color: var(--yp-text); }
.home-check-list { display: grid; gap: .9rem; margin-top: var(--yp-space-6); }
.home-check-list span { display: flex; align-items: center; gap: .65rem; color: var(--yp-text-soft); }
.home-check-list .yp-icon { color: var(--yp-success); }

.home-provider-section { position: relative; overflow: hidden; }
.home-provider-shell { position: relative; isolation: isolate; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; padding: clamp(2rem, 4vw, 3.5rem); border-radius: 2.25rem; background: var(--yp-contrast-surface); color: var(--yp-on-contrast); overflow: hidden; }
.home-provider-shell::before { content: ''; position: absolute; z-index: -1; width: 30rem; height: 30rem; border-radius: 50%; inset-inline-end: -12rem; inset-block-start: -10rem; background: color-mix(in srgb, var(--yp-primary) 32%, transparent); filter: blur(10px); }
.home-provider-copy h2 { color: var(--yp-on-contrast); }
.home-provider-copy p { color: var(--yp-on-contrast-muted); }
.home-provider-copy .yp-btn { margin-top: var(--yp-space-6); background: color-mix(in srgb, var(--yp-on-contrast) 10%, transparent); color: var(--yp-on-contrast); border-color: var(--yp-contrast-border); }
.home-provider-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: .8rem; align-items: center; }
.home-flow-node { display: grid; justify-items: center; gap: .6rem; min-width: 0; padding: var(--yp-space-6) var(--yp-space-4); border: 1px solid var(--yp-contrast-border); border-radius: var(--yp-radius-lg); background: color-mix(in srgb, var(--yp-on-contrast) 7%, transparent); text-align: center; }
.home-flow-node > .yp-icon { color: var(--yp-primary); font-size: 1.8rem; }
.home-flow-node strong { color: var(--yp-on-contrast); }
.home-flow-node small { color: var(--yp-on-contrast-muted); font-size: var(--yp-font-size-xs); }
.home-flow-node-success > .yp-icon { color: var(--yp-success); }
.home-flow-arrow { color: var(--yp-on-contrast-muted); }
html[dir="rtl"] .home-flow-arrow { transform: scaleX(-1); }

.home-security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.home-security-visual { position: relative; min-height: 31rem; display: grid; place-items: center; }
.home-shield-orbit { position: relative; display: grid; place-items: center; width: 18rem; height: 18rem; border: 1px solid var(--yp-border-strong); border-radius: 50%; background: radial-gradient(circle, var(--yp-primary-soft), transparent 68%); }
.home-shield-orbit::before, .home-shield-orbit::after { content: ''; position: absolute; border: 1px dashed var(--yp-border); border-radius: 50%; }
.home-shield-orbit::before { inset: -2.2rem; }.home-shield-orbit::after { inset: -4.4rem; opacity: .6; }
.home-shield-orbit > .yp-icon { width: 5.5rem; height: 5.5rem; color: var(--yp-primary); filter: drop-shadow(0 1rem 2rem color-mix(in srgb, var(--yp-primary) 22%, transparent)); }
.orbit-dot { position: absolute; width: .75rem; height: .75rem; border-radius: 50%; background: var(--yp-primary); box-shadow: 0 0 0 .35rem var(--yp-primary-soft); }
.orbit-a { inset-block-start: 8%; inset-inline-start: 18%; }.orbit-b { inset-block-end: 12%; inset-inline-end: 14%; background: var(--yp-success); }.orbit-c { inset-block-start: 38%; inset-inline-end: -2%; background: var(--yp-info); }
.home-security-card { position: absolute; display: flex; align-items: center; gap: .7rem; width: min(15rem, 45%); padding: .85rem; border: 1px solid var(--yp-border); border-radius: var(--yp-radius-lg); background: var(--yp-surface); box-shadow: var(--yp-shadow-md); }
.home-security-card > .yp-icon { color: var(--yp-primary); font-size: 1.3rem; }
.home-security-card > div { display: grid; gap: .1rem; }
.home-security-card strong { font-size: var(--yp-font-size-xs); }.home-security-card small { color: var(--yp-text-muted); font-size: .68rem; }
.home-security-card-a { inset-inline-start: 0; inset-block-start: 24%; }.home-security-card-b { inset-inline-end: 0; inset-block-end: 24%; }
.home-security-list { display: grid; gap: var(--yp-space-4); margin-top: var(--yp-space-7); }
.home-security-list > div { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; }
.home-security-list > div > .yp-icon { margin-top: .15rem; color: var(--yp-primary); font-size: 1.35rem; }
.home-security-list p { display: grid; gap: .18rem; margin: 0; }.home-security-list strong { color: var(--yp-text); }.home-security-list small { color: var(--yp-text-muted); line-height: 1.55; }

.home-final-cta { padding: 0 0 clamp(5rem, 9vw, 8rem); }
.home-final-shell { display: grid; grid-template-columns: 1fr auto; gap: var(--yp-space-8); align-items: center; padding: clamp(2rem, 5vw, 4rem); border: 1px solid var(--yp-border); border-radius: 2rem; background: linear-gradient(135deg, var(--yp-primary-soft), var(--yp-surface)); }
.home-final-shell h2 { max-width: 14ch; font-size: clamp(2.2rem, 4vw, 3.8rem); }
.home-final-actions { display: flex; gap: var(--yp-space-3); }

.home-footer { border-top: 1px solid var(--yp-border); background: var(--yp-surface); }
.home-footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: var(--yp-space-6); align-items: center; min-height: 8rem; }
.home-footer-links { display: flex; justify-content: center; gap: var(--yp-space-5); flex-wrap: wrap; }
.home-footer-note { color: var(--yp-text-muted); text-align: end; }

.home-reveal { opacity: 0; transform: translateY(1rem); transition: opacity var(--yp-motion-slow) var(--yp-ease-decelerate), transform var(--yp-motion-slow) var(--yp-ease-emphasized); }
.home-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .home-floating-chip-a, .home-floating-chip-b { animation: none; }
    .home-reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 1180px) {
    .home-download-nav { width: var(--yp-control-md); padding-inline: 0; } .home-download-nav > span:not([data-yp-icon]) { display: none; }
    .home-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(28rem, .9fr); gap: 3rem; }
    .home-hero-copy h1 { font-size: clamp(3.3rem, 6vw, 5.6rem); }
    .home-floating-chip-a { inset-inline-start: 0; }.home-floating-chip-b { inset-inline-end: 0; }
    .home-feature-grid { grid-template-columns: 1fr 1fr; }.home-feature-large { grid-column: 1 / -1; min-height: 28rem; grid-template-columns: .8fr 1.2fr; grid-template-rows: 1fr; gap: var(--yp-space-6); align-items: end; }
}

@media (max-width: 1023px) {
    .home-nav { grid-template-columns: auto 1fr; }.home-nav-links { display: none; }.home-nav-actions { justify-self: end; }
    .home-hero-grid, .home-transfer-grid, .home-security-grid { grid-template-columns: 1fr; }
    .home-hero-copy { text-align: center; }.home-hero-copy h1, .home-hero-lead { margin-inline: auto; }.home-hero-actions, .home-hero-points { justify-content: center; }
    .home-product-stage { min-height: 42rem; }
    .home-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.home-trust-grid > div:nth-child(2) { border-inline-end: 0; }.home-trust-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--yp-border); }
    .home-transfer-grid { max-width: 52rem; }.home-section-heading-start { text-align: center; margin-inline: auto; }.home-check-list { justify-items: center; }
    .home-provider-shell { grid-template-columns: 1fr; }.home-provider-copy { text-align: center; }.home-provider-copy p { max-width: 45rem; margin-inline: auto; }
    .home-security-grid { max-width: 52rem; }.home-security-visual { order: 2; }
    .home-final-shell { grid-template-columns: 1fr; text-align: center; }.home-final-shell h2 { margin-inline: auto; }.home-final-actions { justify-content: center; }
    .home-footer-grid { grid-template-columns: 1fr; justify-items: center; padding-block: var(--yp-space-6); }.home-footer-note { text-align: center; }
}

@media (max-width: 767px) {
    .home-header { position: relative; }.home-nav { min-height: 4.3rem; }.home-nav-actions .yp-btn > span:not([data-yp-icon]) { display: none; }
    .home-hero { padding-top: 3rem; }.home-hero-copy h1 { max-width: 12ch; font-size: clamp(2.7rem, 13vw, 4rem); }.home-hero-lead { font-size: 1rem; }
    .home-hero-points { gap: .7rem 1rem; }
    .home-product-stage { min-height: 37rem; }.home-app-card { width: min(31rem, 95%); transform: none !important; }.home-floating-chip { min-width: 9.5rem; }.home-floating-chip-a { inset-block-start: 20%; }.home-floating-chip-b { inset-block-end: 12%; }
    .home-feature-grid { grid-template-columns: 1fr; }.home-feature-large { grid-column: auto; min-height: 25rem; grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
    .home-provider-flow { grid-template-columns: 1fr; }.home-flow-arrow { transform: rotate(90deg) !important; justify-self: center; }
    .home-security-visual { min-height: 27rem; }.home-shield-orbit { width: 14rem; height: 14rem; }.home-security-card { width: min(13rem, 48%); }
}

@media (max-width: 639px) {
    .home-nav .yp-brand-copy small { display: none; }.home-nav-actions { gap: .4rem; }.home-nav-actions .yp-btn { width: var(--yp-control-md); padding: 0; }
    .home-hero-actions { width: 100%; }.home-hero-points { display: grid; justify-content: start; text-align: start; }
    .home-product-stage { min-height: 34rem; }.home-app-card { padding: var(--yp-space-4); border-radius: var(--yp-radius-xl); }.home-balance-card { padding: var(--yp-space-5); }.home-balance-card > strong { font-size: 2.15rem; }.home-floating-chip { display: none; }
    .home-trust-grid { grid-template-columns: 1fr; }.home-trust-grid > div { border-inline-end: 0; border-bottom: 1px solid var(--yp-border); }.home-trust-grid > div:last-child { border-bottom: 0; }
    .home-section { padding-block: 4.5rem; }.home-section-heading h2, .home-provider-copy h2, .home-final-shell h2 { font-size: clamp(2.1rem, 11vw, 3rem); }
    .home-provider-shell, .home-final-shell { border-radius: var(--yp-radius-xl); padding: var(--yp-space-6); }
    .home-security-visual { min-height: 25rem; }.home-shield-orbit { width: 12rem; height: 12rem; }.home-shield-orbit::before { inset: -1.6rem; }.home-shield-orbit::after { inset: -3rem; }.home-security-card { width: 12rem; padding: .7rem; }.home-security-card-a { inset-block-start: 17%; }.home-security-card-b { inset-block-end: 14%; }
    .home-footer-links { gap: var(--yp-space-3); }
}

/* 2026-09-23 visual hierarchy refinement
   Preserve the premium Secure Wealth identity while improving scanability. */
.home-nav .yp-brand-image { width: 3.05rem; height: 3.05rem; }
.home-nav .yp-brand-copy strong { font-size: 1.05rem; }
.home-nav-actions .yp-icon,
.home-nav-actions .yp-language-switcher .yp-icon { font-size: 1.15rem; }

.home-hero { padding: clamp(3.25rem, 6vw, 5.5rem) 0 clamp(3.75rem, 6.5vw, 5.75rem); }
.home-hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(32rem, .98fr); gap: clamp(2.75rem, 5.5vw, 5.5rem); }
.home-hero-copy h1 {
    max-width: 15ch;
    margin-block: var(--yp-space-4);
    font-size: clamp(3rem, 5.25vw, 5.25rem);
    line-height: 1.01;
    letter-spacing: -.042em;
    text-wrap: balance;
}
.home-hero-lead { max-width: 47rem; font-size: clamp(1.04rem, 1.45vw, 1.2rem); line-height: 1.68; }
.home-hero-actions { margin-top: var(--yp-space-6); }
.home-hero-points { margin-top: var(--yp-space-5); }
.home-hero-points .yp-icon { font-size: 1.15rem; }
.home-product-stage { min-height: 36.5rem; }

.home-quick-actions button span { width: 3.3rem; height: 3.3rem; }
.home-quick-actions button span .yp-icon { font-size: 1.45rem; }
.home-tx-icon { width: 2.9rem; height: 2.9rem; }
.home-tx-icon .yp-icon { font-size: 1.15rem; }
.home-floating-chip > .yp-icon { font-size: 1.6rem; }

.home-trust-grid > div { gap: .25rem .85rem; padding-block: 1.15rem; }
.home-trust-grid .yp-icon { font-size: 2rem; }
.home-trust-grid strong { font-size: .94rem; }
.home-trust-grid small { font-size: .78rem; line-height: 1.45; }

.home-section { padding: clamp(3.5rem, 5.5vw, 5.25rem) 0; }
.home-section-heading { max-width: 58rem; margin-bottom: clamp(2rem, 3.5vw, 3.35rem); }
.home-section-heading-start { max-width: 55rem; }
.home-section-heading h2,
.home-provider-copy h2,
.home-final-shell h2 {
    max-width: 19ch;
    margin: .4rem 0 var(--yp-space-3);
    font-size: clamp(2.1rem, 3.65vw, 3.55rem);
    line-height: 1.08;
    letter-spacing: -.035em;
    text-wrap: balance;
}
.home-section-heading:not(.home-section-heading-start) h2 { margin-inline: auto; }
.home-section-heading p,
.home-provider-copy p,
.home-final-shell p { max-width: 52rem; font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.68; }
.home-section-heading:not(.home-section-heading-start) p { margin-inline: auto; }

.home-feature-card { min-height: 21rem; }
.home-feature-card h3 { font-size: clamp(1.35rem, 1.8vw, 1.75rem); line-height: 1.2; }
.home-feature-card p { font-size: .98rem; line-height: 1.65; }
.home-feature-icon { width: 3.8rem; height: 3.8rem; font-size: 1.75rem; border-radius: 1.05rem; }
.home-notification-mock > .yp-icon { font-size: 1.45rem; }

.home-transfer-grid { gap: clamp(2.75rem, 6vw, 6rem); }
.home-widget-top .home-feature-icon { width: 3.6rem; height: 3.6rem; }
.home-check-list .yp-icon { font-size: 1.2rem; }

.home-provider-shell { padding: clamp(1.75rem, 3.2vw, 3rem); }
.home-provider-copy h2 { max-width: 15ch; }
.home-flow-node { padding-block: 1.35rem; }
.home-flow-node > .yp-icon { font-size: 2.35rem; }
.home-flow-arrow { width: 1.4rem; height: 1.4rem; }

.home-security-grid { gap: clamp(2.75rem, 6vw, 5.5rem); }
.home-security-visual { min-height: 28rem; }
.home-shield-orbit { width: 19.5rem; height: 19.5rem; }
.home-shield-orbit > .yp-icon { width: 6.4rem; height: 6.4rem; }
.home-security-card { width: min(16rem, 47%); padding: 1rem; }
.home-security-card > .yp-icon { font-size: 1.7rem; }
.home-security-card strong { font-size: .82rem; }
.home-security-card small { font-size: .73rem; }
.home-security-list > div > .yp-icon { font-size: 1.65rem; }

.home-final-cta { padding-bottom: clamp(4rem, 6vw, 6rem); }
.home-final-shell { padding: clamp(1.75rem, 3.5vw, 3rem); }
.home-final-shell h2 { max-width: 18ch; font-size: clamp(2rem, 3.25vw, 3.15rem); }
.home-footer-grid { min-height: 6.75rem; }
.home-footer .yp-brand-image { width: 3rem; height: 3rem; }

@media (max-width: 1180px) {
    .home-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(27rem, .95fr); gap: 2.75rem; }
    .home-hero-copy h1 { max-width: 15ch; font-size: clamp(2.85rem, 4.8vw, 4.65rem); }
}

@media (max-width: 1023px) {
    .home-hero-copy h1 { max-width: 16ch; }
    .home-product-stage { min-height: 39rem; }
    .home-section-heading h2,
    .home-provider-copy h2,
    .home-final-shell h2 { max-width: 20ch; }
}

@media (max-width: 767px) {
    .home-nav .yp-brand-image { width: 2.8rem; height: 2.8rem; }
    .home-hero { padding-top: 2.6rem; }
    .home-hero-copy h1 { max-width: 14ch; font-size: clamp(2.4rem, 10.5vw, 3.35rem); line-height: 1.04; }
    .home-product-stage { min-height: 35rem; }
    .home-section-heading h2,
    .home-provider-copy h2,
    .home-final-shell h2 { max-width: 17ch; font-size: clamp(1.95rem, 8.2vw, 2.7rem); line-height: 1.08; }
    .home-feature-icon { width: 3.45rem; height: 3.45rem; font-size: 1.55rem; }
    .home-trust-grid .yp-icon { font-size: 1.8rem; }
}

@media (max-width: 639px) {
    .home-section { padding-block: 3.6rem; }
    .home-hero-copy h1 { max-width: 13.5ch; font-size: clamp(2.3rem, 10vw, 3.1rem); }
    .home-section-heading h2,
    .home-provider-copy h2,
    .home-final-shell h2 { font-size: clamp(1.9rem, 8vw, 2.55rem); }
    .home-trust-grid > div { padding-block: 1rem; }
    .home-security-visual { min-height: 23rem; }
    .home-shield-orbit { width: 13rem; height: 13rem; }
    .home-shield-orbit > .yp-icon { width: 4.7rem; height: 4.7rem; }
}

/* 2026-09-23 final home density tuning
   Second-pass visual review: keep the hero, tighten the rest of the page. */
.home-trust-grid > div { gap: .3rem .95rem; padding-block: 1rem; }
.home-trust-grid .yp-icon { font-size: 2.3rem; }
.home-trust-grid strong { font-size: 1rem; line-height: 1.25; }
.home-trust-grid small { font-size: .82rem; line-height: 1.48; }

.home-section { padding: clamp(3rem, 4.7vw, 4.5rem) 0; }
.home-section-heading { max-width: 61rem; margin-bottom: clamp(1.65rem, 2.8vw, 2.7rem); }
.home-section-heading-start { max-width: 59rem; }
.home-section-heading h2,
.home-provider-copy h2,
.home-final-shell h2 {
    max-width: 21ch;
    font-size: clamp(2rem, 3.25vw, 3.2rem);
    line-height: 1.09;
}
.home-provider-copy h2 { max-width: 17ch; }
.home-section-heading p,
.home-provider-copy p,
.home-final-shell p { font-size: clamp(1.02rem, 1.25vw, 1.14rem); line-height: 1.66; }

.home-feature-card { min-height: 18.5rem; padding: clamp(1.25rem, 2.4vw, 1.7rem); }
.home-feature-card h3 { margin: var(--yp-space-3) 0 var(--yp-space-2); }
.home-feature-card p { font-size: 1rem; line-height: 1.62; }
.home-mini-wallet { margin-top: var(--yp-space-5); padding: var(--yp-space-4); }
.home-mini-bars { height: 3.35rem; margin-top: var(--yp-space-4); }
.home-feature-list { gap: .7rem; margin-top: var(--yp-space-5); }
.home-feature-list span { font-size: .92rem; }
.home-notification-mock { margin-top: var(--yp-space-5); }
.home-notification-mock strong { font-size: .9rem; }
.home-notification-mock small { font-size: .8rem; line-height: 1.45; }

.home-transfer-grid { gap: clamp(2.25rem, 5vw, 5rem); }
.home-check-list { gap: .75rem; margin-top: var(--yp-space-5); }
.home-check-list span { font-size: .96rem; }

.home-provider-shell { gap: clamp(1.75rem, 3.5vw, 3.5rem); padding: clamp(1.5rem, 2.7vw, 2.5rem); }
.home-provider-copy .yp-btn { margin-top: var(--yp-space-5); }
.home-flow-node { gap: .55rem; padding: 1.15rem var(--yp-space-3); }
.home-flow-node > .yp-icon { font-size: 2.45rem; }
.home-flow-node strong { font-size: .93rem; }
.home-flow-node small { font-size: .82rem; line-height: 1.42; }
.home-flow-arrow { width: 1.5rem; height: 1.5rem; }

.home-security-grid { gap: clamp(2.25rem, 5vw, 4.75rem); }
.home-security-visual { min-height: 24.5rem; }
.home-shield-orbit { width: 17.25rem; height: 17.25rem; }
.home-shield-orbit > .yp-icon { width: 5.75rem; height: 5.75rem; }
.home-security-card { width: min(16.5rem, 48%); padding: .9rem; }
.home-security-card > .yp-icon { font-size: 1.8rem; }
.home-security-card strong { font-size: .9rem; }
.home-security-card small { font-size: .8rem; line-height: 1.42; }
.home-security-list { gap: var(--yp-space-3); margin-top: var(--yp-space-5); }
.home-security-list > div { gap: .8rem; }
.home-security-list > div > .yp-icon { font-size: 1.75rem; }
.home-security-list strong { font-size: .96rem; }
.home-security-list small { font-size: .84rem; line-height: 1.58; }

.home-final-cta { padding-bottom: clamp(3.25rem, 5vw, 5rem); }
.home-final-shell { gap: var(--yp-space-6); padding: clamp(1.5rem, 2.8vw, 2.5rem); }
.home-final-shell h2 { max-width: 20ch; font-size: clamp(1.9rem, 2.9vw, 2.85rem); }
.home-footer-grid { min-height: 5.8rem; }
.home-footer-links { gap: var(--yp-space-4); }
.home-footer-links a { font-size: .88rem; }
.home-footer-note { font-size: .84rem; line-height: 1.5; }

@media (max-width: 1023px) {
    .home-section-heading h2,
    .home-provider-copy h2,
    .home-final-shell h2 { max-width: 22ch; }
    .home-feature-card { min-height: 17rem; }
    .home-security-visual { min-height: 22.5rem; }
}

@media (max-width: 767px) {
    .home-section { padding-block: 3.2rem; }
    .home-section-heading { margin-bottom: 1.8rem; }
    .home-section-heading h2,
    .home-provider-copy h2,
    .home-final-shell h2 { max-width: 19ch; font-size: clamp(1.85rem, 7.4vw, 2.45rem); }
    .home-trust-grid .yp-icon { font-size: 2rem; }
    .home-feature-card { min-height: auto; }
    .home-provider-shell { padding: var(--yp-space-5); }
    .home-security-visual { min-height: 21rem; }
}

@media (max-width: 639px) {
    .home-section { padding-block: 3rem; }
    .home-section-heading h2,
    .home-provider-copy h2,
    .home-final-shell h2 { font-size: clamp(1.8rem, 7.8vw, 2.35rem); }
    .home-trust-grid > div { padding-block: .9rem; }
    .home-trust-grid .yp-icon { font-size: 1.9rem; }
    .home-security-visual { min-height: 20rem; }
    .home-footer-grid { min-height: auto; padding-block: var(--yp-space-5); }
}

/* 2026-09-23 final micro-tuning from production screenshot */
#transfers.home-section { padding-bottom: clamp(2.35rem, 3.6vw, 3.4rem); }
#provider.home-section { padding-top: clamp(2.15rem, 3.4vw, 3.25rem); padding-bottom: clamp(2.6rem, 4vw, 3.75rem); }

.home-provider-copy h2 {
    max-width: 19ch;
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.1;
}

#security .home-section-heading-start { max-width: 62rem; }
#security .home-section-heading-start h2 {
    max-width: 23ch;
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.1;
}

.home-security-card {
    width: min(17.5rem, 50%);
    padding: .98rem;
}
.home-security-card > .yp-icon { font-size: 1.92rem; }
.home-security-card strong { font-size: .94rem; }
.home-security-card small { font-size: .82rem; line-height: 1.44; }

@media (max-width: 1023px) {
    .home-provider-copy h2 { max-width: 20ch; }
    #security .home-section-heading-start h2 { max-width: 24ch; }
    .home-security-card { width: min(17rem, 50%); }
}

@media (max-width: 767px) {
    #transfers.home-section { padding-bottom: 2.65rem; }
    #provider.home-section { padding-top: 2.4rem; padding-bottom: 3rem; }
    .home-provider-copy h2,
    #security .home-section-heading-start h2 { max-width: 20ch; font-size: clamp(1.8rem, 7.1vw, 2.35rem); }
    .home-security-card { width: min(13.75rem, 49%); padding: .8rem; }
    .home-security-card > .yp-icon { font-size: 1.65rem; }
    .home-security-card strong { font-size: .84rem; }
    .home-security-card small { font-size: .74rem; }
}

/* 2026-09-23 authoritative mobile pass — header + hero + wallet preview
   Keep this block after all desktop/tablet refinements so mobile cannot be
   overridden by later desktop cascade rules. */
@media (max-width: 767px) {
    .home-page { overflow-x: clip; }
    /* 2026-09-24 mobile polish — compact header, visible action icons, denser hero */
    .home-header { position: sticky; top: 0; }
    .home-nav {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: .65rem;
        min-height: 4.15rem;
        width: min(100% - 20px, var(--yp-shell));
    }
    .home-nav .yp-brand { min-width: 0; }
    .home-nav .yp-brand-image { width: 2.55rem; height: 2.55rem; }
    .home-nav .yp-brand-copy { min-width: 0; }
    .home-nav .yp-brand-copy strong { font-size: .98rem; white-space: nowrap; }
    .home-nav .yp-brand-copy small { display: none; }
    .home-nav-actions { justify-self: end; gap: .38rem; min-width: 0; }
    .home-nav-actions .yp-btn { display: grid; place-items: center; width: 2.8rem; min-width: 2.8rem; height: 2.8rem; padding: 0; border-radius: .85rem; }
    .home-nav-actions .yp-btn > span:not([data-yp-icon]) { display: none; }
    .home-nav-actions .yp-btn > span[data-yp-icon] { display: grid; place-items: center; }
    .home-nav-actions .yp-btn > span[data-yp-icon] .yp-icon { width: 1.25rem; height: 1.25rem; }
    .home-nav-actions .yp-btn-primary > span[data-yp-icon] .yp-icon { color: var(--yp-on-primary); }
    .home-nav-actions .yp-language-switcher summary {
        width: 2.8rem;
        min-width: 2.8rem;
        height: 2.8rem;
        padding: 0;
        justify-content: center;
        border-radius: .85rem;
    }
    .home-nav-actions .yp-language-current,
    .home-nav-actions .yp-language-chevron { display: none; }
    .home-nav-actions .yp-language-menu { inset-inline-end: 0; max-width: calc(100vw - 24px); }

    .home-hero { padding: 1.7rem 0 2.15rem; }
    .home-hero::after { width: 20rem; height: 20rem; inset-inline-end: -11rem; inset-block-start: 8rem; opacity: .38; }
    .home-hero-grid {
        display: flex;
        flex-direction: column;
        width: min(100% - 24px, var(--yp-shell));
        gap: 1.45rem;
        align-items: stretch;
    }
    .home-hero-copy,
    .home-product-stage { width: 100%; min-width: 0; max-width: 100%; }
    .home-hero-copy { text-align: center; }
    .home-hero-copy .yp-badge { max-width: 100%; font-size: .78rem; }
    .home-hero-copy h1 {
        max-width: 12.5ch;
        margin: .72rem auto .68rem;
        font-size: clamp(2.05rem, 8.5vw, 2.55rem);
        line-height: 1.065;
        letter-spacing: -.03em;
        overflow-wrap: normal;
        word-break: normal;
        text-wrap: balance;
    }
    .home-hero-lead {
        max-width: 31rem;
        margin-inline: auto;
        font-size: .94rem;
        line-height: 1.58;
    }
    .home-hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .62rem; width: 100%; max-width: 31rem; margin: 1.1rem auto 0; }
    .home-hero-actions > .yp-btn:first-child { grid-column: 1 / -1; }
    .home-hero-actions .yp-btn { width: 100%; min-height: 3.05rem; padding-inline: .75rem; font-size: .88rem; }
    .home-hero-points {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .48rem;
        width: 100%;
        max-width: 31rem;
        margin: .9rem auto 0;
        text-align: center;
        font-size: .72rem;
        line-height: 1.35;
    }
    .home-hero-points span {
        display: grid;
        grid-template-columns: auto 1fr;
        justify-content: center;
        align-items: center;
        gap: .35rem;
        min-width: 0;
        padding: .58rem .45rem;
        border: 1px solid var(--yp-border);
        border-radius: .8rem;
        background: color-mix(in srgb, var(--yp-surface) 88%, transparent);
    }
    .home-hero-points span > i { display: grid; place-items: center; }

    .home-product-stage {
        display: block;
        min-height: 0;
        padding: 0;
        margin: 0;
        overflow: visible;
    }
    .home-product-glow { width: 90%; height: 78%; inset: 10% 5% auto; filter: blur(50px); opacity: .55; }
    .home-app-card {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: 27rem;
        margin-inline: auto;
        padding: 1rem;
        border-radius: 1.35rem;
        transform: none !important;
        overflow: hidden;
    }
    .home-app-head { gap: .75rem; }
    .home-avatar { width: 2.6rem; height: 2.6rem; }
    .home-app-user { min-width: 0; }
    .home-app-user > div { min-width: 0; }
    .home-app-user strong { font-size: .92rem; }
    .home-app-user small { font-size: .76rem; }
    .home-balance-card { margin-top: .85rem; padding: 1rem; border-radius: 1.15rem; }
    .home-balance-card > span { font-size: .78rem; }
    .home-balance-card > strong { margin-top: .25rem; font-size: clamp(1.8rem, 9vw, 2.3rem); }
    .home-balance-trend { margin-top: .65rem; font-size: .72rem; }
    .home-quick-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; margin-top: .75rem; }
    .home-quick-actions button { min-width: 0; padding: .55rem .2rem; }
    .home-quick-actions button span { width: 2.75rem; height: 2.75rem; }
    .home-quick-actions button span .yp-icon { font-size: 1.25rem; }
    .home-quick-actions button b { font-size: .72rem; }
    .home-transactions-mini { margin-top: .75rem; }
    .home-section-title { margin-bottom: .25rem; }
    .home-section-title strong { font-size: .84rem; }
    .home-section-title a { font-size: .72rem; }
    .home-transaction-row {
        grid-template-columns: auto minmax(0, 1fr);
        gap: .3rem .65rem;
        padding: .65rem 0;
    }
    .home-transaction-row > div { min-width: 0; }
    .home-transaction-row > div strong,
    .home-transaction-row > div small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .home-transaction-row > div strong { font-size: .8rem; }
    .home-transaction-row > div small { font-size: .7rem; }
    .home-transaction-row > b { grid-column: 2; justify-self: end; font-size: .75rem; }
    .home-tx-icon { width: 2.35rem; height: 2.35rem; grid-row: 1 / 3; }
    .home-floating-chip { display: none; }
}

@media (max-width: 479px) {
    .home-nav { width: min(100% - 16px, var(--yp-shell)); }
    .home-nav .yp-brand-image { width: 2.4rem; height: 2.4rem; }
    .home-nav .yp-brand-copy strong { font-size: .92rem; }
    .home-nav-actions .yp-btn,
    .home-nav-actions .yp-language-switcher summary { width: 2.65rem; min-width: 2.65rem; height: 2.65rem; }
    .home-hero-grid { width: min(100% - 18px, var(--yp-shell)); gap: 1.2rem; }
    .home-hero-copy h1 { max-width: 12ch; font-size: clamp(1.95rem, 10vw, 2.35rem); }
    .home-hero-lead { font-size: .9rem; line-height: 1.55; }
    .home-hero-actions { gap: .5rem; }
    .home-hero-actions .yp-btn { min-height: 2.95rem; padding-inline: .5rem; font-size: .8rem; }
    .home-hero-points { gap: .4rem; font-size: .68rem; }
    .home-hero-points span { padding: .5rem .35rem; grid-template-columns: 1fr; justify-items: center; }
    .home-app-card { max-width: 24.5rem; padding: .85rem; }
    .home-balance-card > strong { font-size: clamp(1.7rem, 9vw, 2.05rem); }
}

/* 2026-09-23 authoritative mobile pass — below-fold sections */
@media (max-width: 767px) {
    .home-trust-strip { overflow: hidden; }
    .home-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }
    .home-trust-grid > div {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: .3rem;
        min-width: 0;
        padding: .95rem .55rem;
        text-align: center;
        border-inline-end: 1px solid var(--yp-border);
        border-bottom: 1px solid var(--yp-border);
    }
    .home-trust-grid > div:nth-child(2n) { border-inline-end: 0; }
    .home-trust-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
    .home-trust-grid .yp-icon { grid-row: auto; font-size: 1.9rem; }
    .home-trust-grid strong { font-size: .82rem; }
    .home-trust-grid small { font-size: .68rem; line-height: 1.4; }

    .home-section { padding-block: 2.85rem; overflow: clip; }
    .home-section > .yp-container,
    .home-transfer-grid,
    .home-security-grid { width: min(100% - 24px, var(--yp-shell)); }
    .home-section-heading,
    .home-section-heading-start {
        max-width: 34rem;
        margin: 0 auto 1.55rem;
        text-align: center;
    }
    .home-section-heading h2,
    .home-provider-copy h2,
    .home-final-shell h2,
    #security .home-section-heading-start h2 {
        max-width: 18ch;
        margin: .35rem auto .7rem;
        font-size: clamp(1.75rem, 7.6vw, 2.3rem);
        line-height: 1.1;
        letter-spacing: -.025em;
        text-wrap: balance;
    }
    .home-section-heading p,
    .home-provider-copy p,
    .home-final-shell p { font-size: .91rem; line-height: 1.58; }
    .home-eyebrow { font-size: .76rem; }

    .home-feature-grid { grid-template-columns: 1fr; gap: .9rem; }
    .home-feature-card,
    .home-feature-large {
        display: block;
        min-height: 0;
        padding: 1.15rem;
        border-radius: 1.15rem;
    }
    .home-feature-icon { width: 3.15rem; height: 3.15rem; font-size: 1.45rem; }
    .home-feature-card h3 { margin: .8rem 0 .45rem; font-size: 1.28rem; line-height: 1.22; }
    .home-feature-card p { font-size: .88rem; line-height: 1.56; }
    .home-mini-wallet { margin-top: 1rem; padding: 1rem; transform: none; }
    .home-mini-wallet > strong { font-size: 1.65rem; }
    .home-mini-bars { height: 2.75rem; margin-top: .8rem; }
    .home-feature-list { gap: .55rem; margin-top: 1rem; }
    .home-feature-list span { font-size: .82rem; }
    .home-notification-mock { margin-top: 1rem; padding: .75rem; }

    #transfers.home-section { padding: 2.85rem 0 2.4rem; }
    .home-transfer-grid {
        display: flex;
        flex-direction: column;
        gap: 1.35rem;
        max-width: 34rem;
    }
    .home-transfer-grid .home-section-heading { order: 1; margin-bottom: 0; }
    .home-transfer-widget { order: 2; width: 100%; padding: 1rem; border-radius: 1.15rem; }
    .home-transfer-widget h3 { margin: 1rem 0 .75rem; font-size: 1.25rem; }
    .home-money-field > div,
    .home-recipient-field > div { min-height: 3.65rem; padding: .7rem .8rem; border-radius: .9rem; }
    .home-money-field strong { font-size: 1.55rem; }
    .home-transfer-summary { gap: .5rem; margin: .9rem 0; padding-block: .8rem; }
    .home-transfer-summary span { font-size: .8rem; }
    .home-check-list {
        width: min(100%, 28rem);
        gap: .65rem;
        margin: 1rem auto 0;
        justify-items: start;
        text-align: start;
    }
    .home-check-list span { font-size: .83rem; }

    #provider.home-section { padding: 2.25rem 0 2.65rem; }
    .home-provider-shell {
        grid-template-columns: 1fr;
        gap: 1.35rem;
        padding: 1.15rem;
        border-radius: 1.25rem;
    }
    .home-provider-shell::before { width: 18rem; height: 18rem; inset-inline-end: -9rem; inset-block-start: -7rem; }
    .home-provider-copy { text-align: center; }
    .home-provider-copy h2 { max-width: 18ch; }
    .home-provider-copy .yp-btn { width: 100%; max-width: 18rem; margin: 1rem auto 0; }
    .home-provider-flow { grid-template-columns: 1fr; gap: .55rem; width: 100%; max-width: 19rem; margin-inline: auto; }
    .home-flow-node { width: 100%; padding: .85rem .75rem; border-radius: .9rem; }
    .home-flow-node > .yp-icon { font-size: 2rem; }
    .home-flow-node strong { font-size: .86rem; }
    .home-flow-node small { font-size: .72rem; }
    .home-flow-arrow { width: 1.2rem; height: 1.2rem; transform: rotate(90deg) !important; justify-self: center; }

    #security.home-section { padding: 2.7rem 0; }
    .home-security-grid { display: flex; flex-direction: column; gap: 1.25rem; max-width: 34rem; }
    .home-security-grid .home-section-heading { order: 1; margin-bottom: 0; }
    .home-security-visual {
        order: 2;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .75rem;
        width: 100%;
        min-height: 0;
        padding: .75rem 0 0;
    }
    .home-shield-orbit {
        grid-column: 1 / -1;
        width: 10.75rem;
        height: 10.75rem;
        margin: 1.6rem auto;
    }
    .home-shield-orbit::before { inset: -1.25rem; }
    .home-shield-orbit::after { inset: -2.3rem; }
    .home-shield-orbit > .yp-icon { width: 4.4rem; height: 4.4rem; }
    .orbit-dot { width: .58rem; height: .58rem; }
    .home-security-card,
    .home-security-card-a,
    .home-security-card-b {
        position: relative;
        inset: auto;
        width: 100%;
        min-width: 0;
        padding: .75rem;
        border-radius: .9rem;
        box-shadow: var(--yp-shadow-sm);
    }
    .home-security-card > .yp-icon { font-size: 1.5rem; }
    .home-security-card strong { font-size: .78rem; }
    .home-security-card small { font-size: .68rem; line-height: 1.38; }
    .home-security-list { gap: .8rem; margin-top: 1rem; }
    .home-security-list > div { gap: .65rem; }
    .home-security-list > div > .yp-icon { font-size: 1.4rem; }
    .home-security-list strong { font-size: .84rem; }
    .home-security-list small { font-size: .76rem; line-height: 1.5; }

    .home-final-cta { padding: 0 0 2.75rem; }
    .home-final-shell {
        grid-template-columns: 1fr;
        gap: 1.15rem;
        padding: 1.25rem;
        border-radius: 1.2rem;
        text-align: center;
    }
    .home-final-shell h2 { max-width: 18ch; }
    .home-final-actions { display: grid; grid-template-columns: 1fr; gap: .65rem; width: 100%; }
    .home-final-actions .yp-btn { width: 100%; }

    .home-footer-grid { grid-template-columns: 1fr; gap: .9rem; min-height: 0; padding-block: 1.4rem; }
    .home-footer .yp-brand-image { width: 2.6rem; height: 2.6rem; }
    .home-footer-links { gap: .65rem 1rem; }
    .home-footer-links a { font-size: .78rem; }
    .home-footer-note { max-width: 28rem; font-size: .72rem; line-height: 1.45; text-align: center; }
}

@media (max-width: 430px) {
    .home-section > .yp-container,
    .home-transfer-grid,
    .home-security-grid { width: min(100% - 18px, var(--yp-shell)); }
    .home-trust-grid > div { padding: .85rem .4rem; }
    .home-trust-grid .yp-icon { font-size: 1.75rem; }
    .home-trust-grid strong { font-size: .76rem; }
    .home-trust-grid small { font-size: .63rem; }
    .home-section { padding-block: 2.55rem; }
    .home-section-heading h2,
    .home-provider-copy h2,
    .home-final-shell h2,
    #security .home-section-heading-start h2 { font-size: clamp(1.65rem, 7.8vw, 2.1rem); }
    .home-feature-card { padding: 1rem; }
    .home-security-card strong { font-size: .74rem; }
    .home-security-card small { font-size: .64rem; }
}

@media (max-width: 360px) {
    .home-trust-grid > div { padding: .8rem .3rem; }
    .home-trust-grid strong { font-size: .72rem; }
    .home-trust-grid small { font-size: .6rem; }
    .home-feature-card h3 { font-size: 1.18rem; }
    .home-provider-shell { padding: 1rem; }
    .home-security-visual { grid-template-columns: 1fr; }
    .home-shield-orbit { grid-column: 1; }
    .home-security-card { max-width: 18rem; margin-inline: auto; }
    .home-final-shell { padding: 1.05rem; }
}

/* Official Yalla Pay V.01 home art direction */
.home-hero::before {background:radial-gradient(ellipse at 4% 0%,color-mix(in srgb,var(--yp-vivid-blue) 16%,transparent),transparent 43%),radial-gradient(ellipse at 94% 30%,color-mix(in srgb,var(--yp-electric-indigo) 14%,transparent),transparent 38%),linear-gradient(180deg,var(--yp-bg),var(--yp-bg-elevated));}
.home-hero::after {border-color:color-mix(in srgb,var(--yp-electric-indigo) 24%,transparent);}
.home-balance-card {background:linear-gradient(125deg,var(--yp-vivid-blue) 0%,color-mix(in srgb,var(--yp-vivid-blue) 55%,var(--yp-electric-indigo)) 44%,var(--yp-electric-indigo) 100%);color:var(--yp-wealth-on-panel);box-shadow:0 18px 42px color-mix(in srgb,var(--yp-electric-indigo) 24%,transparent);}
.home-balance-trend .yp-icon,.home-balance-trend [data-yp-icon]{color:var(--yp-electric-lime);}
.home-app-card {border-color:color-mix(in srgb,var(--yp-vivid-blue) 20%,var(--yp-border));}
.home-floating-chip-a .yp-icon,.home-floating-chip-a [data-yp-icon]{color:var(--yp-emerald-green);}
.home-final-shell {background:linear-gradient(130deg,color-mix(in srgb,var(--yp-vivid-blue) 10%,var(--yp-surface)),color-mix(in srgb,var(--yp-electric-indigo) 7%,var(--yp-surface)));border-color:color-mix(in srgb,var(--yp-vivid-blue) 20%,var(--yp-border));}
@media(prefers-reduced-motion:reduce){.home-hero::after{animation:none;}}
