.learn-motion {
    position: relative;
    width: min(100%, 720px);
    height: 210px;
    margin: 32px auto 0;
    overflow: hidden;
    border: 1px solid rgba(232, 199, 102, 0.34);
    border-radius: 6px;
    background: #061b2e;
    box-shadow: 0 22px 52px rgba(1, 12, 22, 0.3);
    isolation: isolate;
}

.learn-motion::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.12;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
    background-size: 30px 30px;
}

.learn-motion-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.learn-motion__header,
.learn-motion__footer {
    position: absolute;
    z-index: 6;
    right: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.6rem;
    font-weight: 750;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0;
    pointer-events: none;
}

.learn-motion__header { top: 12px; }

.learn-motion__footer {
    bottom: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.learn-motion__header strong,
.learn-motion__footer strong {
    color: #f4ce66;
    font-size: inherit;
    white-space: nowrap;
}

.learn-motion__live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    white-space: nowrap;
}

.learn-motion__live::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #69d1c2;
    box-shadow: 0 0 0 4px rgba(105, 209, 194, 0.12);
    animation: learn-live 2s ease-in-out infinite;
}

/* FAQ: questions resolve into one verified answer. */
.learn-faq__topic {
    position: absolute;
    z-index: 4;
    padding-left: 8px;
    border-left: 2px solid rgba(98, 168, 236, 0.68);
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.61rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0;
}

.learn-faq__topic--one { top: 58px; left: 5%; }
.learn-faq__topic--two { bottom: 48px; left: 7%; border-color: rgba(105, 209, 194, 0.7); }
.learn-faq__topic--three { top: 48px; left: 28%; border-color: rgba(244, 206, 102, 0.72); }
.learn-faq__topic--four { right: 54%; bottom: 40px; border-color: rgba(239, 129, 111, 0.7); }

.learn-faq__question {
    position: absolute;
    z-index: 4;
    top: 53%;
    left: 51%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border: 1px solid rgba(244, 206, 102, 0.5);
    border-radius: 50%;
    background: #0a2540;
    color: #f4ce66;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.25rem;
    font-weight: 700;
    box-shadow: 0 0 0 0 rgba(244, 206, 102, 0.18);
    transform: translate(-50%, -50%);
    animation: learn-question-pulse 2.8s ease-out infinite;
}

.learn-faq__answer {
    position: absolute;
    z-index: 4;
    top: 53%;
    right: 8%;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 750;
    text-align: left;
    transform: translateY(-50%);
}

.learn-faq__answer i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(105, 209, 194, 0.48);
    border-radius: 50%;
    background: #0a2b46;
    color: #69d1c2;
    font-size: 1.05rem;
}

.learn-faq__answer small {
    display: block;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.58rem;
}

/* Comparison: two measurable market positions. */
.learn-compare__stage {
    position: absolute;
    z-index: 4;
    top: 38px;
    right: 16%;
    bottom: 36px;
    left: 16%;
    display: grid;
    grid-template-columns: 1fr 70px 1fr;
    align-items: end;
    gap: 18px;
}

.learn-compare__column {
    color: #fff;
    text-align: center;
}

.learn-compare__column strong {
    display: block;
    color: #f4ce66;
    font-size: 1.25rem;
    line-height: 1;
}

.learn-compare__column--market strong { color: #9fb6c9; }

.learn-compare__column small {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.6rem;
    font-weight: 700;
}

.learn-compare__meter {
    position: relative;
    display: block;
    width: 94px;
    height: 72px;
    margin: 8px auto 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.learn-compare__meter::before {
    content: '';
    position: absolute;
    right: 18px;
    bottom: 0;
    left: 18px;
    height: var(--meter-height);
    border-top: 2px solid var(--meter-color);
    background: linear-gradient(to top, rgba(255, 255, 255, 0.02), var(--meter-fill));
    animation: learn-meter-breathe 3s ease-in-out infinite;
}

.learn-compare__column--osi .learn-compare__meter {
    --meter-height: 58px;
    --meter-color: #f4ce66;
    --meter-fill: rgba(244, 206, 102, 0.34);
}

.learn-compare__column--market .learn-compare__meter {
    --meter-height: 30px;
    --meter-color: #6d8ca5;
    --meter-fill: rgba(109, 140, 165, 0.2);
}

.learn-compare__versus {
    align-self: center;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.64rem;
    font-weight: 800;
    text-align: center;
}

.learn-compare__versus i {
    display: block;
    margin-bottom: 5px;
    color: #69d1c2;
    font-size: 1rem;
}

/* Blog: an editorial stream of subjects and pages. */
.learn-blog__stream {
    position: absolute;
    z-index: 4;
    top: 39px;
    right: 10%;
    bottom: 31px;
    left: 10%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 18px;
}

.learn-blog__sheet {
    position: relative;
    height: 118px;
    padding: 16px 14px;
    border-top: 3px solid var(--sheet-accent);
    background: #f7fafc;
    color: #0a2540;
    text-align: left;
    box-shadow: 0 14px 26px rgba(1, 12, 22, 0.32);
    animation: learn-paper-one 4.2s ease-in-out infinite;
}

.learn-blog__sheet--one { --sheet-accent: #f4ce66; transform: rotate(-3deg); }
.learn-blog__sheet--two { --sheet-accent: #69d1c2; animation-name: learn-paper-two; animation-delay: 0.45s; }
.learn-blog__sheet--three { --sheet-accent: #62a8ec; transform: rotate(3deg); animation-name: learn-paper-three; animation-delay: 0.9s; }

.learn-blog__sheet i {
    color: var(--sheet-accent);
    font-size: 1rem;
}

.learn-blog__sheet strong {
    display: block;
    margin-top: 7px;
    font-size: 0.72rem;
}

.learn-blog__sheet span,
.learn-blog__sheet::after {
    display: block;
    height: 4px;
    margin-top: 8px;
    background: rgba(10, 37, 64, 0.14);
}

.learn-blog__sheet span { width: 78%; }

.learn-blog__sheet::after {
    content: '';
    width: 54%;
}

/* Testimonials: a human voice resolves into trust signals. */
.learn-voice__stage {
    position: absolute;
    z-index: 4;
    top: 42px;
    right: 7%;
    bottom: 35px;
    left: 7%;
    display: grid;
    grid-template-columns: 90px 1fr 128px;
    align-items: center;
    gap: 20px;
}

.learn-voice__quote {
    color: rgba(244, 206, 102, 0.72);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4.4rem;
    line-height: 1;
}

.learn-voice__copy {
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
}

.learn-voice__copy small {
    display: block;
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.5);
    font-family: "Inter", Arial, sans-serif;
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
}

.learn-voice__signal {
    text-align: right;
}

.learn-voice__stars {
    display: flex;
    justify-content: flex-end;
    gap: 3px;
    color: #f4ce66;
    font-size: 0.8rem;
}

.learn-voice__wave {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    height: 42px;
    margin-top: 8px;
}

.learn-voice__wave span {
    width: 3px;
    height: 8px;
    background: #69d1c2;
    animation: learn-voice-wave 1.2s ease-in-out infinite;
}

.learn-voice__wave span:nth-child(2n) { animation-delay: 0.1s; }
.learn-voice__wave span:nth-child(3n) { animation-delay: 0.22s; }

/* Promotions: active values sit on a live savings rail. */
.learn-offers__grid {
    position: absolute;
    z-index: 4;
    top: 45px;
    right: 5%;
    bottom: 38px;
    left: 5%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    gap: 10px;
}

.learn-offer {
    position: relative;
    min-width: 0;
    padding: 14px 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 3px solid var(--offer-accent);
    border-radius: 4px;
    background: rgba(10, 43, 70, 0.82);
    color: #fff;
    text-align: center;
    box-shadow: 0 12px 22px rgba(1, 12, 22, 0.24);
}

.learn-offer strong {
    display: block;
    color: var(--offer-accent);
    font-size: 1.08rem;
    line-height: 1;
}

.learn-offer small {
    display: block;
    margin-top: 7px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.56rem;
    font-weight: 750;
    line-height: 1.2;
    text-transform: uppercase;
}

.learn-offer--mail { --offer-accent: #f4ce66; }
.learn-offer--admin { --offer-accent: #69d1c2; }
.learn-offer--federal { --offer-accent: #62a8ec; }
.learn-offer--reception { --offer-accent: #ef816f; }

.learn-offers__scan {
    position: absolute;
    z-index: 5;
    top: 38px;
    bottom: 31px;
    left: 0;
    width: 2px;
    background: #f4ce66;
    box-shadow: 0 0 14px 4px rgba(244, 206, 102, 0.3);
    animation: learn-offer-scan 4.6s ease-in-out infinite;
}

@keyframes learn-live { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
@keyframes learn-question-pulse { 0%, 45% { box-shadow: 0 0 0 0 rgba(244, 206, 102, 0.2); } 100% { box-shadow: 0 0 0 18px rgba(244, 206, 102, 0); } }
@keyframes learn-meter-breathe { 0%, 100% { filter: brightness(0.84); } 50% { filter: brightness(1.18); } }
@keyframes learn-paper-one { 0%, 100% { transform: translateY(3px) rotate(-3deg); } 50% { transform: translateY(-5px) rotate(-3deg); } }
@keyframes learn-paper-two { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(5px); } }
@keyframes learn-paper-three { 0%, 100% { transform: translateY(2px) rotate(3deg); } 50% { transform: translateY(-6px) rotate(3deg); } }
@keyframes learn-voice-wave { 0%, 100% { height: 7px; opacity: 0.5; } 50% { height: 36px; opacity: 1; } }
@keyframes learn-offer-scan { 0%, 8% { left: 4%; opacity: 0; } 18%, 82% { opacity: 1; } 92%, 100% { left: 96%; opacity: 0; } }

@media (max-width: 767px) {
    html.learn-motion-visible .chat-fab,
    html.learn-motion-visible .chat-fab-label {
        visibility: hidden;
        opacity: 0 !important;
        pointer-events: none;
        transform: translateY(12px);
    }

    .learn-motion {
        height: 200px;
        margin-top: 26px;
    }

    .learn-motion__header,
    .learn-motion__footer {
        right: 10px;
        left: 10px;
        gap: 7px;
        font-size: 0.51rem;
    }

    .learn-faq__topic { padding-left: 5px; font-size: 0.5rem; }
    .learn-faq__topic--one { left: 3%; }
    .learn-faq__topic--two { left: 4%; }
    .learn-faq__topic--three { left: 27%; }
    .learn-faq__topic--four { right: 51%; }
    .learn-faq__question { left: 53%; width: 56px; height: 56px; font-size: 1.7rem; }
    .learn-faq__answer { right: 3%; gap: 5px; font-size: 0.59rem; }
    .learn-faq__answer i { width: 32px; height: 32px; font-size: 0.82rem; }
    .learn-faq__answer small { font-size: 0.49rem; }

    .learn-compare__stage { right: 7%; left: 7%; grid-template-columns: 1fr 36px 1fr; gap: 6px; }
    .learn-compare__column strong { font-size: 1rem; }
    .learn-compare__column small { font-size: 0.5rem; }
    .learn-compare__meter { width: 70px; }

    .learn-blog__stream { right: 4%; left: 4%; gap: 8px; }
    .learn-blog__sheet { height: 108px; padding: 12px 9px; }
    .learn-blog__sheet strong { font-size: 0.58rem; }

    .learn-voice__stage { right: 4%; left: 4%; grid-template-columns: 44px 1fr 82px; gap: 8px; }
    .learn-voice__quote { font-size: 3.2rem; }
    .learn-voice__copy { font-size: 0.78rem; }
    .learn-voice__copy small { font-size: 0.48rem; }
    .learn-voice__stars { font-size: 0.6rem; }

    .learn-offers__grid { right: 2%; left: 2%; gap: 4px; }
    .learn-offer { padding: 11px 3px 9px; border-left-width: 2px; }
    .learn-offer strong { font-size: 0.84rem; }
    .learn-offer small { font-size: 0.46rem; }
}

@media (prefers-reduced-motion: reduce) {
    .learn-motion__live::before,
    .learn-faq__question,
    .learn-compare__meter::before,
    .learn-blog__sheet,
    .learn-voice__wave span,
    .learn-offers__scan {
        animation: none;
    }
}
