/* Drosat landing page: responsive polish layer.
   Kept separate from the legacy inline styles so the existing design and
   teacher application work remain easy to review and maintain. */

:root {
    --lp-focus: #38a3ff;
    --lp-dock-height: 68px;
}

html {
    scroll-padding-top: 104px;
}

body {
    text-rendering: optimizeLegibility;
}

::selection {
    background: #f5bc27;
    color: #032d6b;
}

main {
    overflow: clip;
}

main section[id] {
    scroll-margin-top: 104px;
}

.lp-skip-link {
    position: fixed;
    z-index: 2000;
    inset-block-start: 12px;
    inset-inline-start: 12px;
    padding: 10px 16px;
    border-radius: 12px;
    background: #fff;
    color: #00337c;
    font-weight: 800;
    box-shadow: 0 14px 35px rgba(0, 35, 83, .2);
    transform: translateY(-160%);
    transition: transform .2s ease;
}

.lp-skip-link:focus {
    transform: translateY(0);
}

.lp-topbar {
    transition: background-color .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.lp-topbar.is-scrolled {
    border-bottom-color: rgba(199, 216, 237, .92) !important;
    background: rgba(255, 255, 255, .94) !important;
    box-shadow: 0 14px 38px rgba(0, 38, 89, .1) !important;
}

.lp-links a {
    position: relative;
}

.lp-links a.is-current,
.lp-links a.active-link {
    background: #eaf4ff;
    color: #00337c;
}

.lp-links a.is-current::after,
.lp-links a.active-link::after {
    content: "";
    position: absolute;
    inset-inline: 14px;
    inset-block-end: 3px;
    height: 2px;
    border-radius: 999px;
    background: #f4b41a;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid rgba(56, 163, 255, .5) !important;
    outline-offset: 3px !important;
}

.lp-subject-card,
.lp-card,
.lp-course,
.lp-testimonial,
.lp-how-step {
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease !important;
}

.lp-subject-card:hover,
.lp-card:hover,
.lp-course:hover,
.lp-testimonial:hover,
.lp-how-step:hover {
    transform: translateY(-5px);
    border-color: rgba(44, 132, 207, .28) !important;
    box-shadow: 0 22px 48px rgba(0, 44, 99, .11) !important;
}

.lp-motion-ready .lp-reveal-item {
    opacity: 0;
    transform: translateY(20px);
}

.lp-motion-ready .lp-reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .2, 1);
    transition-delay: calc(var(--reveal-order, 0) * 55ms);
}

.lp-newsletter-status {
    width: 100%;
    margin: 10px 0 0;
    color: #d9efff;
    font-size: 12px;
    font-weight: 700;
}

.lp-mobile-dock {
    display: none;
}

@media (min-width: 720px) and (max-width: 1199.98px) {
    body:has(.hero-approved) .lp-container {
        width: min(100% - 40px, 1040px) !important;
    }

    body:has(.hero-approved) .lp-nav {
        min-height: 78px !important;
    }

    .hero-approved {
        height: auto !important;
        min-height: 0 !important;
        padding: 112px 0 66px !important;
    }

    html[dir="rtl"] .hero-approved__grid,
    html[dir="ltr"] .hero-approved__grid {
        grid-template-columns: minmax(0, 1fr) minmax(260px, .78fr) !important;
        grid-template-areas:
            "content visual"
            "apps apps" !important;
        gap: 38px 28px !important;
        min-height: 0 !important;
        direction: ltr !important;
    }

    html[dir="rtl"] .hero-approved__content,
    html[dir="rtl"] .hero-approved__apps-wrap {
        direction: rtl !important;
    }

    html[dir="ltr"] .hero-approved__content,
    html[dir="ltr"] .hero-approved__apps-wrap {
        direction: ltr !important;
    }

    .hero-approved__content {
        max-width: none !important;
    }

    .hero-approved__content h1 {
        font-size: clamp(42px, 5.5vw, 60px) !important;
    }

    .hero-approved__visual {
        width: min(100%, 360px) !important;
        justify-self: center !important;
    }

    .hero-approved__apps-wrap {
        width: 100% !important;
        max-width: none !important;
    }

    .hero-approved__apps {
        min-height: 0 !important;
        padding: 24px !important;
    }

    .hero-approved__stores {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    #subjects .lp-subjects-showcase {
        grid-template-columns: 1fr !important;
    }

    #subjects .lp-subjects-panel {
        position: static !important;
    }

    #subjects .lp-subjects-grid,
    .lp-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 719.98px) {
    :root {
        --lp-mobile-gutter: 14px;
    }

    html {
        scroll-padding-top: 82px;
    }

    body {
        padding-bottom: calc(var(--lp-dock-height) + env(safe-area-inset-bottom));
    }

    body:has(.hero-approved) .lp-container,
    .lp-container {
        width: calc(100% - (var(--lp-mobile-gutter) * 2)) !important;
    }

    body:has(.hero-approved) .lp-nav,
    .lp-nav {
        min-height: 72px !important;
    }

    .lp-topbar .lp-logo {
        transform: none !important;
    }

    .lp-logo img {
        width: 98px !important;
    }

    .lp-menu-btn {
        width: 44px !important;
        height: 44px !important;
        border-radius: 14px !important;
        box-shadow: 0 8px 20px rgba(0, 51, 124, .08);
    }

    .lp-topbar.is-open .lp-links,
    .lp-topbar.is-open .lp-actions {
        border-radius: 18px !important;
        box-shadow: 0 22px 55px rgba(0, 35, 83, .14) !important;
    }

    .hero-approved {
        height: auto !important;
        min-height: 0 !important;
        padding: 96px 0 38px !important;
        overflow: hidden !important;
    }

    html[dir="rtl"] .hero-approved__grid,
    html[dir="ltr"] .hero-approved__grid {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas:
            "content"
            "visual"
            "apps" !important;
        gap: 30px !important;
        min-height: 0 !important;
        direction: ltr !important;
    }

    html[dir="rtl"] .hero-approved__content,
    html[dir="rtl"] .hero-approved__apps-wrap {
        direction: rtl !important;
    }

    html[dir="ltr"] .hero-approved__content,
    html[dir="ltr"] .hero-approved__apps-wrap {
        direction: ltr !important;
    }

    .hero-approved__content {
        width: 100% !important;
        max-width: none !important;
        padding: 0 1px !important;
        text-align: center !important;
    }

    .hero-approved__kicker {
        max-width: 100% !important;
        margin-inline: auto !important;
        font-size: 10px !important;
    }

    .hero-approved__content h1 {
        max-width: 360px !important;
        margin: 17px auto 0 !important;
        font-size: clamp(31px, 9vw, 40px) !important;
        line-height: 1.27 !important;
        text-wrap: balance;
    }

    .hero-approved__content>p {
        max-width: 350px !important;
        margin: 12px auto 0 !important;
        font-size: 13px !important;
        line-height: 1.85 !important;
    }

    .hero-approved__actions {
        justify-content: center !important;
        margin-top: 18px !important;
    }

    .hero-approved__actions .lp-btn {
        min-height: 45px !important;
        padding-inline: 15px !important;
    }

    .hero-approved__highlights {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 7px !important;
        margin-top: 18px !important;
    }

    .hero-approved__highlight {
        min-width: 0 !important;
        min-height: 94px !important;
        grid-template-columns: 1fr !important;
        justify-items: center !important;
        align-content: center !important;
        gap: 4px !important;
        padding: 9px 5px !important;
        border-radius: 16px !important;
        text-align: center !important;
    }

    .hero-approved__highlight i {
        font-size: 17px !important;
    }

    .hero-approved__highlight strong {
        font-size: 15px !important;
    }

    .hero-approved__highlight span {
        font-size: 8px !important;
        line-height: 1.4 !important;
    }

    .hero-approved__visual {
        width: min(64vw, 245px) !important;
        max-width: 245px !important;
        margin: 0 auto !important;
    }

    .hero-approved__visual img {
        width: 100% !important;
    }

    .hero-approved__apps-wrap {
        width: 100% !important;
        max-width: none !important;
    }

    .hero-approved__apps {
        min-height: 0 !important;
        padding: 18px !important;
        border-radius: 24px !important;
    }

    .hero-approved__apps-title {
        max-width: none !important;
        margin-top: 14px !important;
        font-size: 26px !important;
        line-height: 1.35 !important;
    }

    .hero-approved__apps-copy {
        max-width: 320px !important;
        margin-top: 6px !important;
        font-size: 12px !important;
        line-height: 1.65 !important;
    }

    .hero-approved__stores {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        margin-top: 13px !important;
    }

    .hero-approved__store {
        min-height: 58px !important;
        grid-template-columns: 36px minmax(0, 1fr) !important;
        gap: 7px !important;
        padding: 8px !important;
        border-radius: 15px !important;
    }

    .hero-approved__store-icon {
        width: 36px !important;
        height: 36px !important;
        border-radius: 11px !important;
    }

    .hero-approved__store-copy strong {
        font-size: 11px !important;
    }

    .hero-approved__store-copy small {
        font-size: 7.5px !important;
    }

    .hero-approved__store-arrow {
        display: none !important;
    }

    .hero-approved__apps-note {
        justify-content: center !important;
        margin-top: 10px !important;
        padding-top: 9px !important;
        font-size: 9px !important;
    }

    .lp-stats.lp-stats-premium {
        margin: 0 !important;
        padding: 18px 0 0 !important;
    }

    .lp-stats-shell {
        border-radius: 22px !important;
    }

    .lp-stats-premium .lp-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .lp-stats-premium .lp-stat {
        min-height: 98px !important;
        padding: 13px 10px !important;
    }

    .lp-stats-premium .lp-stat-icon {
        width: 38px !important;
        height: 38px !important;
    }

    .lp-section {
        padding-block: 58px !important;
    }

    .lp-section-head {
        margin-bottom: 24px !important;
        text-align: center !important;
    }

    .lp-section-title,
    .lp-how-title {
        font-size: clamp(29px, 8vw, 36px) !important;
        line-height: 1.35 !important;
        text-wrap: balance;
    }

    .lp-section-copy,
    .lp-how-description {
        font-size: 14px !important;
        line-height: 1.8 !important;
    }

    .lp-how-shell {
        border-radius: 24px !important;
        padding: 18px 12px 20px !important;
    }

    .lp-how-visual {
        max-width: 270px !important;
        margin-inline: auto !important;
    }

    .lp-how-steps {
        gap: 12px !important;
    }

    .lp-how-step {
        min-height: 116px !important;
        padding: 16px 14px !important;
        border-radius: 20px !important;
    }

    #subjects.lp-subjects-section {
        padding-block: 58px !important;
    }

    #subjects .lp-subjects-showcase {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    #subjects .lp-subjects-panel {
        position: static !important;
        min-height: 0 !important;
        padding: 22px 16px !important;
        border-radius: 24px !important;
    }

    #subjects .lp-subjects-head .lp-section-title {
        font-size: 30px !important;
    }

    #subjects .lp-subjects-panel-metrics {
        gap: 7px !important;
    }

    #subjects .lp-subjects-panel-metric {
        min-height: 62px !important;
        padding: 8px 4px !important;
    }

    #subjects .lp-subjects-route {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }

    #subjects .lp-subjects-route-step {
        min-height: 48px !important;
        padding: 7px 4px !important;
        font-size: 8px !important;
        text-align: center !important;
    }

    #subjects .lp-stage-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }

    #subjects .lp-stage-strip span {
        min-height: 56px !important;
        padding: 8px 5px !important;
        text-align: center !important;
    }

    #subjects .lp-stage-strip strong {
        font-size: 9px !important;
    }

    #subjects .lp-stage-strip small {
        display: none !important;
    }

    #subjects .lp-subjects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    #subjects .lp-subject-card {
        min-height: 176px !important;
        padding: 13px !important;
        border-radius: 18px !important;
    }

    #subjects .lp-subject-icon {
        width: 38px !important;
        height: 38px !important;
        border-radius: 12px !important;
    }

    #subjects .lp-subject-badge {
        max-width: 82px;
        padding: 4px 6px !important;
        font-size: 8px !important;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #subjects .lp-subject-name {
        margin-top: 13px !important;
        font-size: 15px !important;
        line-height: 1.5 !important;
    }

    #subjects .lp-subject-meta {
        display: -webkit-box !important;
        min-height: 34px !important;
        margin-top: 6px !important;
        overflow: hidden !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        font-size: 9px !important;
        line-height: 1.7 !important;
    }

    #subjects .lp-subject-open {
        margin-top: auto !important;
        padding-top: 8px !important;
    }

    #subjects .lp-subject-open>span {
        font-size: 8px !important;
    }

    .lp-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .lp-card {
        min-height: 174px !important;
        padding: 16px 13px !important;
        border-radius: 18px !important;
        text-align: start !important;
    }

    .lp-card-icon {
        width: 42px !important;
        height: 42px !important;
    }

    .lp-card h3 {
        margin-top: 12px !important;
        font-size: 15px !important;
    }

    .lp-card p {
        margin-top: 6px !important;
        font-size: 10px !important;
        line-height: 1.7 !important;
    }

    #courses .lp-section-head {
        align-items: center !important;
    }

    #courses .lp-section-head .lp-btn {
        width: 100% !important;
        margin-top: 4px !important;
    }

    .lp-courses-grid,
    .lp-testimonials-grid {
        display: grid !important;
        grid-template-columns: none !important;
        grid-auto-flow: column !important;
        grid-auto-columns: minmax(282px, 86vw) !important;
        gap: 12px !important;
        overflow-x: auto !important;
        overscroll-behavior-inline: contain;
        scroll-snap-type: inline mandatory;
        scrollbar-width: none;
        padding: 4px 2px 18px !important;
    }

    .lp-courses-grid::-webkit-scrollbar,
    .lp-testimonials-grid::-webkit-scrollbar {
        display: none;
    }

    .lp-course,
    .lp-testimonial {
        scroll-snap-align: center;
    }

    .lp-course {
        border-radius: 22px !important;
    }

    .lp-course-media {
        min-height: 178px !important;
        height: 178px !important;
    }

    .lp-course-body {
        padding: 17px !important;
    }

    .lp-testimonial {
        min-height: 225px !important;
        padding: 20px !important;
        border-radius: 20px !important;
    }

    .lp-cta-inner {
        padding: 28px 20px !important;
        border-radius: 24px !important;
        text-align: center !important;
    }

    .lp-cta-inner>div {
        max-width: 100% !important;
    }

    .lp-cta h2 {
        font-size: 30px !important;
        line-height: 1.35 !important;
    }

    .lp-cta .lp-btn {
        width: 100% !important;
        margin-top: 8px !important;
    }

    .lp-footer {
        padding-bottom: 36px !important;
    }

    .tm-modal-card {
        width: calc(100% - 20px) !important;
        max-height: calc(100dvh - 20px) !important;
        border-radius: 24px !important;
    }

    .lp-mobile-dock {
        position: fixed;
        z-index: 90;
        inset-inline: 10px;
        inset-block-end: max(8px, env(safe-area-inset-bottom));
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        min-height: var(--lp-dock-height);
        padding: 7px;
        border: 1px solid rgba(193, 213, 237, .9);
        border-radius: 22px;
        background: rgba(255, 255, 255, .94);
        box-shadow: 0 20px 45px rgba(0, 35, 83, .2);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        transition: opacity .2s ease, transform .2s ease;
    }

    .lp-mobile-dock.is-hidden,
    .lp-mobile-nav-open .lp-mobile-dock {
        opacity: 0;
        pointer-events: none;
        transform: translateY(120%);
    }

    .lp-mobile-dock a {
        display: flex;
        min-width: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        border-radius: 16px;
        color: #56708f;
        font-size: 9px;
        font-weight: 800;
        line-height: 1.2;
    }

    .lp-mobile-dock a i {
        font-size: 18px;
    }

    .lp-mobile-dock a.is-current {
        background: #eaf4ff;
        color: #00337c;
    }

    .lp-mobile-dock a.lp-mobile-dock__primary {
        background: #f4b41a;
        color: #052d68;
        box-shadow: 0 8px 18px rgba(244, 180, 26, .24);
    }
}

@media (max-width: 359.98px) {
    :root {
        --lp-mobile-gutter: 10px;
    }

    .hero-approved__content h1 {
        font-size: 29px !important;
    }

    .hero-approved__highlights {
        gap: 5px !important;
    }

    .hero-approved__highlight {
        min-height: 88px !important;
    }

    #subjects .lp-subject-card {
        min-height: 184px !important;
        padding: 11px !important;
    }

    #subjects .lp-subject-name,
    .lp-card h3 {
        font-size: 14px !important;
    }

    .lp-card {
        min-height: 184px !important;
        padding-inline: 11px !important;
    }

    .lp-mobile-dock {
        inset-inline: 6px;
        padding-inline: 4px;
    }
}

/* Statistics strip — keep each icon, number and label as one visual unit. */
.lp-stats-premium > .lp-container {
    width: min(1420px, calc(100% - 40px)) !important;
}

.lp-stats-shell {
    overflow: visible !important;
    padding: 10px !important;
    border-color: #d8e5f3 !important;
    border-radius: 26px !important;
    background: #fff !important;
    box-shadow: 0 22px 52px rgba(0, 43, 96, .12) !important;
}

.lp-stats-shell::before {
    inset-inline: 22px !important;
    height: 3px !important;
    border-radius: 0 0 999px 999px !important;
}

.lp-stats-premium .lp-stats-grid {
    gap: 10px !important;
    padding: 0 !important;
    direction: inherit !important;
}

.lp-stats-premium .lp-stat {
    min-height: 92px !important;
    display: flex !important;
    grid-template-columns: none !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 13px !important;
    padding: 14px 18px !important;
    overflow: hidden !important;
    border: 1px solid #e1ebf6 !important;
    border-radius: 18px !important;
    background: #f7faff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9) !important;
    direction: inherit !important;
    text-align: start !important;
}

.lp-stats-premium .lp-stat:first-child {
    border-color: #f3d785 !important;
    background: #fff9ea !important;
}

.lp-stats-premium .lp-stat:hover {
    transform: translateY(-2px) !important;
    border-color: #bfdaf3 !important;
    background: #f1f7ff !important;
    box-shadow: 0 10px 24px rgba(0, 65, 135, .09) !important;
}

.lp-stats-premium .lp-stat:first-child:hover {
    border-color: #e9c65c !important;
    background: #fff6dd !important;
}

.lp-stats-premium .lp-stat::before,
.lp-stats-premium .lp-stat::after {
    display: none !important;
    content: none !important;
}

.lp-stats-premium .lp-stat-icon {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: 48px !important;
    height: 48px !important;
    flex: 0 0 48px !important;
    border: 1px solid #cfe3f7 !important;
    border-radius: 15px !important;
    background: #eaf4ff !important;
    color: #075fc2 !important;
    font-size: 25px !important;
    box-shadow: none !important;
}

.lp-stats-premium .lp-stat:first-child .lp-stat-icon {
    border-color: #f4b41a !important;
    background: #f4b41a !important;
    color: #052d68 !important;
}

.lp-stats-premium .lp-stat-copy,
html[dir="ltr"] .lp-stats-premium .lp-stat-copy {
    width: auto !important;
    min-width: 86px !important;
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    direction: inherit !important;
    text-align: start !important;
}

.lp-stats-premium .lp-stat strong {
    font-size: clamp(27px, 2vw, 32px) !important;
    line-height: 1 !important;
}

.lp-stats-premium .lp-stat-copy span {
    margin-top: 7px !important;
    color: #5c6f89 !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
}

@media (min-width: 720px) and (max-width: 1050px) {
    .lp-stats-premium > .lp-container {
        width: min(920px, calc(100% - 30px)) !important;
    }

    .lp-stats-premium .lp-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .lp-stats-premium .lp-stat {
        min-height: 88px !important;
    }
}

@media (max-width: 719.98px) {
    .lp-stats-premium > .lp-container {
        width: calc(100% - 24px) !important;
    }

    .lp-stats-shell {
        padding: 8px !important;
        border-radius: 22px !important;
    }

    .lp-stats-premium .lp-stats-grid,
    .lp-stats-premium .lp-stats-grid>* {
        width: auto !important;
    }

    .lp-stats-premium .lp-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .lp-stats-premium .lp-stat {
        min-height: 84px !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        padding: 10px !important;
        border-radius: 15px !important;
    }

    .lp-stats-premium .lp-stat-icon {
        width: 38px !important;
        height: 38px !important;
        flex-basis: 38px !important;
        border-radius: 12px !important;
        font-size: 21px !important;
    }

    .lp-stats-premium .lp-stat-copy,
    html[dir="ltr"] .lp-stats-premium .lp-stat-copy {
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }

    .lp-stats-premium .lp-stat strong {
        font-size: 22px !important;
    }

    .lp-stats-premium .lp-stat-copy span {
        margin-top: 5px !important;
        font-size: 8.5px !important;
        white-space: normal !important;
    }
}

@media (max-width: 359.98px) {
    .lp-stats-premium .lp-stat {
        min-height: 82px !important;
        gap: 7px !important;
        padding: 8px !important;
    }

    .lp-stats-premium .lp-stat-icon {
        width: 34px !important;
        height: 34px !important;
        flex-basis: 34px !important;
        font-size: 19px !important;
    }

    .lp-stats-premium .lp-stat strong {
        font-size: 20px !important;
    }

    .lp-stats-premium .lp-stat-copy span {
        font-size: 8.5px !important;
    }
}

/* Statistics + how-it-works — one connected visual journey. */
.lp-journey-sequence {
    position: relative;
    isolation: isolate;
    padding-bottom: 18px;
    background: #f3f7fc;
}

.lp-journey-sequence::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 0 auto;
    height: 420px;
    background: #eef5fc;
    pointer-events: none;
}

.lp-journey-sequence .lp-stats-premium > .lp-container {
    width: min(1420px, calc(100% - 40px)) !important;
}

.lp-journey-sequence .lp-stats.lp-stats-premium {
    padding-bottom: 0 !important;
}

.lp-journey-sequence .lp-stats-shell {
    position: relative;
    overflow: hidden !important;
    padding: 9px !important;
    border: 1px solid rgba(255, 255, 255, .28) !important;
    border-radius: 25px !important;
    background: #073875 !important;
    box-shadow:
        0 22px 48px rgba(0, 36, 86, .20),
        inset 0 1px 0 rgba(255, 255, 255, .16) !important;
}

.lp-journey-sequence .lp-stats-shell::before {
    inset: 0 24px auto !important;
    height: 3px !important;
    border-radius: 0 0 999px 999px !important;
    background: #f4b41a !important;
}

.lp-journey-sequence .lp-stats-premium .lp-stats-grid {
    gap: 8px !important;
}

.lp-journey-sequence .lp-stats-premium .lp-stat {
    min-height: 88px !important;
    gap: 13px !important;
    padding: 13px 17px !important;
    border-color: rgba(255, 255, 255, .12) !important;
    background: rgba(255, 255, 255, .055) !important;
    box-shadow: none !important;
}

.lp-journey-sequence .lp-stats-premium .lp-stat:first-child {
    border-color: rgba(244, 180, 26, .52) !important;
    background: rgba(244, 180, 26, .13) !important;
}

.lp-journey-sequence .lp-stats-premium .lp-stat:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(255, 255, 255, .28) !important;
    background: rgba(255, 255, 255, .10) !important;
    box-shadow: 0 10px 25px rgba(0, 20, 58, .18) !important;
}

.lp-journey-sequence .lp-stats-premium .lp-stat:first-child:hover {
    border-color: rgba(244, 180, 26, .78) !important;
    background: rgba(244, 180, 26, .19) !important;
}

.lp-journey-sequence .lp-stats-premium .lp-stat-icon {
    border-color: rgba(255, 255, 255, .16) !important;
    background: rgba(255, 255, 255, .11) !important;
    color: #ffffff !important;
}

.lp-journey-sequence .lp-stats-premium .lp-stat:first-child .lp-stat-icon {
    border-color: #f4b41a !important;
    background: #f4b41a !important;
    color: #062d66 !important;
}

.lp-journey-sequence .lp-stats-premium .lp-stat:nth-child(n + 2) .lp-stat-icon {
    color: #e9f3ff !important;
}

.lp-journey-sequence .lp-stats-premium .lp-stat strong {
    color: #ffffff !important;
}

.lp-journey-sequence .lp-stats-premium .lp-stat-copy span {
    color: #c8d7eb !important;
}

.lp-journey-bridge {
    position: relative;
    z-index: 8;
    height: 52px;
    display: grid;
    place-items: center;
}

.lp-journey-bridge::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #b9cee7;
}

.lp-journey-bridge span {
    position: relative;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 5px solid #f3f7fc;
    border-radius: 50%;
    background: #f4b41a;
    color: #073875;
    font-size: 16px;
    box-shadow: 0 7px 18px rgba(0, 54, 118, .15);
}

.lp-journey-sequence #how-it-works {
    margin-top: 0 !important;
    padding: 0 0 48px !important;
}

.lp-journey-sequence #how-it-works > .lp-container {
    width: min(1420px, calc(100% - 40px)) !important;
}

.lp-journey-sequence .lp-how-shell {
    overflow: hidden;
    border: 1px solid #d3e1f0;
    border-radius: 30px;
    background: #ffffff;
    box-shadow:
        0 24px 58px rgba(0, 48, 104, .10),
        0 3px 10px rgba(0, 48, 104, .04);
}

.lp-journey-sequence .lp-how-shell::before {
    height: 210px;
    bottom: -90px;
    opacity: .72;
}

.lp-journey-sequence .lp-how-shell::after {
    top: 32px;
    width: 5px;
    height: 155px;
}

.lp-journey-sequence .lp-how-hero {
    min-height: 230px;
    grid-template-columns: minmax(300px, .78fr) minmax(480px, 1.22fr);
    gap: clamp(28px, 3.4vw, 54px);
    padding: 28px clamp(34px, 4vw, 58px) 8px;
}

.lp-journey-sequence .lp-how-copy {
    max-width: 660px;
    padding: 24px 28px 26px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 24px;
    background: #073875;
    box-shadow: 0 16px 34px rgba(0, 43, 100, .16);
}

.lp-journey-sequence .lp-how-eyebrow {
    min-height: 32px;
    border-color: rgba(255, 255, 255, .13);
    background: rgba(255, 255, 255, .08);
    color: #ffd36a;
    box-shadow: none;
}

.lp-journey-sequence .lp-how-title {
    margin: 10px 0 11px;
    padding-bottom: 11px;
    color: #ffffff;
    font-size: clamp(33px, 3vw, 45px);
}

.lp-journey-sequence .lp-how-title::after {
    background: #f4b41a;
}

.lp-journey-sequence .lp-how-description {
    color: #cedbee;
    line-height: 1.68;
}

.lp-journey-sequence .lp-how-visual {
    width: min(100%, 390px);
    height: 210px;
}

.lp-journey-sequence .lp-how-flow {
    padding: 12px clamp(28px, 3.4vw, 48px) 30px;
}

.lp-journey-sequence .lp-how-flow::before {
    top: 75px;
    right: 10%;
    left: 10%;
    border-color: #82a8d8;
}

.lp-journey-sequence .lp-how-steps {
    gap: clamp(18px, 2.3vw, 32px);
}

.lp-journey-sequence .lp-how-step {
    min-height: 128px;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    padding: 18px 20px;
    border-color: #dce7f3;
    border-radius: 21px;
    background: #f9fbfe;
    box-shadow: 0 10px 24px rgba(0, 48, 104, .075);
}

.lp-journey-sequence .lp-how-step:first-child {
    border-color: #f0d184;
    background: #fffaf0;
}

.lp-journey-sequence .lp-how-step-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 7px 17px rgba(0, 51, 124, .075);
}

.lp-journey-sequence .lp-how-step-number {
    width: 42px;
    height: 42px;
    top: -13px;
    font-size: 16px;
}

@media (max-width: 1100px) {
    .lp-journey-sequence .lp-how-hero {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 28px 28px 0;
    }

    .lp-journey-sequence .lp-how-copy {
        max-width: 780px;
    }

    .lp-journey-sequence .lp-how-visual {
        height: 185px;
    }

    .lp-journey-sequence .lp-how-flow {
        padding-top: 4px;
    }

    .lp-journey-sequence .lp-how-flow::before {
        display: none;
    }
}

@media (max-width: 719.98px) {
    .lp-journey-sequence {
        padding-bottom: 8px;
    }

    .lp-journey-sequence .lp-stats-premium > .lp-container,
    .lp-journey-sequence #how-it-works > .lp-container {
        width: calc(100% - 24px) !important;
    }

    .lp-journey-sequence .lp-stats-shell {
        padding: 8px !important;
        border-radius: 22px !important;
    }

    .lp-journey-sequence .lp-stats-premium .lp-stat {
        min-height: 80px !important;
        gap: 8px !important;
        padding: 9px 10px !important;
        border-radius: 14px !important;
    }

    .lp-journey-bridge {
        height: 42px;
    }

    .lp-journey-bridge span {
        width: 34px;
        height: 34px;
        border-width: 4px;
        font-size: 14px;
    }

    .lp-journey-sequence #how-it-works {
        padding-bottom: 34px !important;
    }

    .lp-journey-sequence .lp-how-shell {
        border-radius: 23px;
    }

    .lp-journey-sequence .lp-how-shell::after {
        top: 24px;
        height: 145px;
    }

    .lp-journey-sequence .lp-how-hero {
        gap: 12px;
        padding: 18px 12px 0;
    }

    .lp-journey-sequence .lp-how-copy {
        padding: 20px 18px 22px;
        border-radius: 19px;
    }

    .lp-journey-sequence .lp-how-eyebrow {
        min-height: 30px;
        padding: 6px 10px;
        font-size: 11px;
    }

    .lp-journey-sequence .lp-how-title {
        margin: 9px 0 10px;
        font-size: clamp(27px, 8.5vw, 35px);
    }

    .lp-journey-sequence .lp-how-description {
        font-size: 12px;
        line-height: 1.65;
    }

    .lp-journey-sequence .lp-how-visual {
        width: min(78vw, 260px);
        height: 145px;
    }

    .lp-journey-sequence .lp-how-flow {
        padding: 6px 10px 18px;
    }

    .lp-journey-sequence .lp-how-steps {
        gap: 16px;
    }

    .lp-journey-sequence .lp-how-step {
        min-height: 106px;
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 11px;
        padding: 15px 14px;
        border-radius: 17px;
    }

    .lp-journey-sequence .lp-how-step-icon {
        width: 52px;
        height: 52px;
        border-radius: 15px;
        font-size: 23px;
    }

    .lp-journey-sequence .lp-how-step-number {
        top: -10px;
        inset-inline-end: 14px;
        width: 35px;
        height: 35px;
        border-width: 2px;
        font-size: 14px;
    }

    .lp-journey-sequence .lp-how-step-copy h3 {
        font-size: 16px;
    }

    .lp-journey-sequence .lp-how-step-copy p {
        font-size: 11px;
        line-height: 1.55;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    .lp-motion-ready .lp-reveal-item {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* --------------------------------------------------------------------------
   Hero + opening journey refresh
   A calmer first viewport with fewer competing surfaces and a lighter handoff
   from the hero to the three-step explanation.
   -------------------------------------------------------------------------- */

@media (min-width: 1200px) {
    body:has(.hero-approved) .lp-container {
        width: min(1420px, calc(100% - 56px)) !important;
    }

    body:has(.hero-approved) .lp-nav {
        min-height: 84px !important;
    }

    body:has(.hero-approved) .lp-links {
        transform: none !important;
    }

    body:has(.hero-approved) .lp-logo {
        transform: none !important;
    }

    .hero-approved {
        height: 682px !important;
        min-height: 682px !important;
        padding: 112px 0 80px !important;
        overflow: hidden !important;
        background-image:
            radial-gradient(circle at 48% 46%, rgba(21, 132, 227, .23), transparent 29%),
            radial-gradient(circle at 5% 15%, rgba(26, 119, 207, .18), transparent 27%),
            linear-gradient(110deg, #073f87 0%, #063675 42%, #032b65 70%, #022357 100%) !important;
    }

    .hero-approved::before {
        top: -360px !important;
        inset-inline-end: -165px !important;
        opacity: .72 !important;
    }

    .hero-approved__grid,
    html[dir="rtl"] .hero-approved__grid,
    html[dir="ltr"] .hero-approved__grid {
        grid-template-columns: 302px 420px minmax(0, 600px) !important;
        gap: 46px !important;
        min-height: 480px !important;
    }

    .hero-approved__apps-wrap {
        max-width: 302px !important;
        align-self: center !important;
    }

    .hero-approved__apps {
        min-height: 0 !important;
        padding: 22px !important;
        border-radius: 24px !important;
        background:
            radial-gradient(circle at 100% 0%, rgba(255, 255, 255, .11), transparent 32%),
            linear-gradient(155deg, rgba(25, 113, 201, .72), rgba(8, 60, 131, .76)) !important;
        box-shadow: 0 24px 55px rgba(0, 20, 55, .2) !important;
    }

    .hero-approved__apps-title {
        max-width: 240px !important;
        margin-top: 20px !important;
        font-size: 29px !important;
        line-height: 1.35 !important;
    }

    .hero-approved__apps-copy {
        margin-top: 8px !important;
        font-size: 11.5px !important;
        line-height: 1.75 !important;
    }

    .hero-approved__stores {
        gap: 8px !important;
        margin-top: 14px !important;
    }

    .hero-approved__store {
        min-height: 58px !important;
        grid-template-columns: 38px minmax(0, 1fr) 18px !important;
        gap: 9px !important;
        padding: 8px 11px !important;
        border-radius: 14px !important;
    }

    .hero-approved__store-icon {
        width: 38px !important;
        height: 38px !important;
        border-radius: 11px !important;
    }

    .hero-approved__apps-note {
        margin-top: 10px !important;
        padding-top: 10px !important;
        font-size: 8.7px !important;
    }

    .hero-approved__visual {
        width: 420px !important;
        height: 440px !important;
        justify-self: center !important;
    }

    .hero-approved__visual img {
        width: 530px !important;
        height: 530px !important;
        transform: translateY(5px) !important;
    }

    .hero-approved__content {
        max-width: 600px !important;
        transform: none !important;
    }

    .hero-approved__content h1 {
        max-width: 590px !important;
        margin: 17px 0 10px !important;
        font-size: clamp(43px, 3vw, 50px) !important;
        line-height: 1.32 !important;
    }

    .hero-approved__content > p {
        max-width: 565px !important;
        font-size: 14px !important;
        line-height: 1.85 !important;
    }

    .hero-approved__actions {
        margin: 22px 0 28px !important;
    }

    .hero-approved__highlights {
        max-width: 570px !important;
        gap: 0 !important;
        padding: 7px !important;
        overflow: hidden !important;
        border: 1px solid rgba(255, 255, 255, .15) !important;
        border-radius: 18px !important;
        background: rgba(255, 255, 255, .065) !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04) !important;
    }

    .hero-approved__highlight {
        min-height: 62px !important;
        padding: 8px 42px 8px 12px !important;
        border: 0 !important;
        border-radius: 12px !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .hero-approved__highlight + .hero-approved__highlight {
        border-inline-start: 1px solid rgba(255, 255, 255, .13) !important;
        border-start-start-radius: 0 !important;
        border-end-start-radius: 0 !important;
    }

    .hero-approved__highlight > i {
        inset-inline-end: 12px !important;
        top: 19px !important;
        font-size: 21px !important;
    }

    .hero-approved__highlight strong {
        font-size: 17px !important;
    }

    .hero-approved__highlight span {
        font-size: 8.6px !important;
    }

    .lp-journey-sequence .lp-stats.lp-stats-premium {
        margin-top: -44px !important;
    }
}

.lp-journey-sequence {
    padding-bottom: 28px !important;
    background: #f4f8fc !important;
}

.lp-journey-sequence::before {
    height: 300px !important;
    background:
        radial-gradient(circle at 50% 0%, rgba(32, 128, 211, .08), transparent 42%),
        #f4f8fc !important;
}

.lp-journey-sequence .lp-stats-premium > .lp-container {
    width: min(1320px, calc(100% - 48px)) !important;
}

.lp-journey-sequence .lp-stats-shell {
    padding: 10px 16px !important;
    overflow: hidden !important;
    border: 1px solid #d9e5f2 !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, .97) !important;
    box-shadow: 0 20px 48px rgba(0, 47, 102, .13) !important;
}

.lp-journey-sequence .lp-stats-shell::before {
    display: none !important;
}

.lp-journey-sequence .lp-stats-premium .lp-stats-grid {
    gap: 0 !important;
}

.lp-journey-sequence .lp-stats-premium .lp-stat,
.lp-journey-sequence .lp-stats-premium .lp-stat:first-child {
    position: relative !important;
    min-height: 78px !important;
    gap: 12px !important;
    padding: 10px 22px !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.lp-journey-sequence .lp-stats-premium .lp-stat + .lp-stat::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset-block: 16px !important;
    inset-inline-start: 0 !important;
    width: 1px !important;
    background: #e1eaf4 !important;
}

.lp-journey-sequence .lp-stats-premium .lp-stat:hover,
.lp-journey-sequence .lp-stats-premium .lp-stat:first-child:hover {
    transform: none !important;
    background: #f8fbff !important;
    box-shadow: none !important;
}

.lp-journey-sequence .lp-stats-premium .lp-stat-icon,
.lp-journey-sequence .lp-stats-premium .lp-stat:nth-child(n + 2) .lp-stat-icon {
    width: 44px !important;
    height: 44px !important;
    flex-basis: 44px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: #eaf4ff !important;
    color: #0968c9 !important;
}

.lp-journey-sequence .lp-stats-premium .lp-stat:first-child .lp-stat-icon {
    background: #fff2c9 !important;
    color: #9b6500 !important;
}

.lp-journey-sequence .lp-stats-premium .lp-stat strong {
    color: #07346f !important;
    font-size: 27px !important;
}

.lp-journey-sequence .lp-stats-premium .lp-stat-copy span {
    margin-top: 5px !important;
    color: #718096 !important;
    font-size: 10px !important;
}

.lp-journey-bridge {
    display: none !important;
}

.lp-journey-sequence #how-it-works {
    padding: 62px 0 58px !important;
}

.lp-journey-sequence #how-it-works > .lp-container {
    width: min(1320px, calc(100% - 48px)) !important;
}

.lp-journey-sequence .lp-how-shell {
    overflow: hidden !important;
    border: 1px solid #dce7f2 !important;
    border-radius: 30px !important;
    background:
        radial-gradient(circle at 9% 9%, rgba(19, 132, 227, .08), transparent 28%),
        linear-gradient(145deg, #ffffff 0%, #f8fbff 100%) !important;
    box-shadow: 0 22px 54px rgba(0, 48, 104, .08) !important;
}

.lp-journey-sequence .lp-how-shell::before {
    height: 170px !important;
    bottom: -120px !important;
    opacity: .35 !important;
}

.lp-journey-sequence .lp-how-shell::after {
    display: none !important;
}

.lp-journey-sequence .lp-how-hero {
    min-height: 245px !important;
    grid-template-columns: minmax(300px, .82fr) minmax(470px, 1.18fr) !important;
    gap: clamp(42px, 5vw, 82px) !important;
    padding: 34px clamp(48px, 5vw, 74px) 12px !important;
}

.lp-journey-sequence .lp-how-copy {
    max-width: 650px !important;
    padding: 18px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.lp-journey-sequence .lp-how-eyebrow {
    min-height: 31px !important;
    border-color: #f2d27d !important;
    background: #fff8e7 !important;
    color: #936000 !important;
}

.lp-journey-sequence .lp-how-title {
    margin: 12px 0 9px !important;
    padding-bottom: 12px !important;
    color: #073875 !important;
    font-size: clamp(35px, 3vw, 46px) !important;
}

.lp-journey-sequence .lp-how-title::after {
    width: 54px !important;
}

.lp-journey-sequence .lp-how-description {
    max-width: 590px !important;
    color: #60738d !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
}

.lp-journey-sequence .lp-how-visual {
    width: min(100%, 370px) !important;
    height: 225px !important;
}

.lp-journey-sequence .lp-how-visual::after {
    opacity: .5 !important;
}

.lp-journey-sequence .lp-how-flow {
    padding: 18px clamp(42px, 4.5vw, 68px) 38px !important;
}

.lp-journey-sequence .lp-how-flow::before {
    top: 79px !important;
    right: 12% !important;
    left: 12% !important;
    border-color: #b8d0eb !important;
}

.lp-journey-sequence .lp-how-steps {
    gap: clamp(16px, 2vw, 26px) !important;
}

.lp-journey-sequence .lp-how-step,
.lp-journey-sequence .lp-how-step:first-child {
    min-height: 132px !important;
    grid-template-columns: 56px minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 20px !important;
    border: 1px solid #dce7f2 !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, .88) !important;
    box-shadow: 0 10px 26px rgba(0, 52, 111, .065) !important;
}

.lp-journey-sequence .lp-how-step:hover,
.lp-journey-sequence .lp-how-step:first-child:hover {
    border-color: #bdd7ee !important;
    background: #ffffff !important;
    box-shadow: 0 16px 34px rgba(0, 52, 111, .10) !important;
}

.lp-journey-sequence .lp-how-step-icon {
    width: 56px !important;
    height: 56px !important;
    border: 1px solid #d8e7f5 !important;
    border-radius: 17px !important;
    background: #f3f8fe !important;
    color: #0b69c6 !important;
    box-shadow: none !important;
}

.lp-journey-sequence .lp-how-step-number {
    top: -13px !important;
    inset-inline-end: 17px !important;
    width: 38px !important;
    height: 38px !important;
    border: 4px solid #f8fbff !important;
    background: #f4b41a !important;
    color: #073875 !important;
    font-size: 15px !important;
}

.lp-journey-sequence .lp-how-step-copy h3 {
    color: #102b52 !important;
    font-size: 18px !important;
}

.lp-journey-sequence .lp-how-step-copy p {
    margin-top: 5px !important;
    color: #72829a !important;
    font-size: 11.5px !important;
    line-height: 1.65 !important;
}

@media (min-width: 720px) and (max-width: 1199.98px) {
    .lp-journey-sequence .lp-stats.lp-stats-premium {
        margin-top: -28px !important;
    }

    .lp-journey-sequence #how-it-works {
        padding-top: 52px !important;
    }

    .lp-journey-sequence .lp-how-copy {
        padding: 10px 0 22px !important;
        background: transparent !important;
    }

    .lp-journey-sequence .lp-how-title {
        color: #073875 !important;
    }

    .lp-journey-sequence .lp-how-description {
        color: #60738d !important;
    }
}

@media (max-width: 719.98px) {
    .lp-journey-sequence .lp-stats.lp-stats-premium {
        margin-top: -18px !important;
    }

    .lp-journey-sequence .lp-stats-premium > .lp-container,
    .lp-journey-sequence #how-it-works > .lp-container {
        width: calc(100% - 24px) !important;
    }

    .lp-journey-sequence .lp-stats-shell {
        padding: 7px !important;
        border-radius: 20px !important;
    }

    .lp-journey-sequence .lp-stats-premium .lp-stats-grid {
        gap: 6px !important;
    }

    .lp-journey-sequence .lp-stats-premium .lp-stat,
    .lp-journey-sequence .lp-stats-premium .lp-stat:first-child {
        min-height: 76px !important;
        justify-content: flex-start !important;
        gap: 7px !important;
        padding: 8px !important;
        border-radius: 14px !important;
        background: #f7faff !important;
    }

    .lp-journey-sequence .lp-stats-premium .lp-stat:first-child {
        background: #fffaf0 !important;
    }

    .lp-journey-sequence .lp-stats-premium .lp-stat + .lp-stat::after {
        display: none !important;
    }

    .lp-journey-sequence .lp-stats-premium .lp-stat-icon,
    .lp-journey-sequence .lp-stats-premium .lp-stat:nth-child(n + 2) .lp-stat-icon {
        width: 36px !important;
        height: 36px !important;
        flex-basis: 36px !important;
        border-radius: 11px !important;
        font-size: 18px !important;
    }

    .lp-journey-sequence .lp-stats-premium .lp-stat strong {
        font-size: 21px !important;
    }

    .lp-journey-sequence #how-it-works {
        padding: 38px 0 34px !important;
    }

    .lp-journey-sequence .lp-how-shell {
        border-radius: 23px !important;
    }

    .lp-journey-sequence .lp-how-hero {
        gap: 4px !important;
        padding: 20px 18px 4px !important;
    }

    .lp-journey-sequence .lp-how-copy {
        padding: 5px 2px 18px !important;
        background: transparent !important;
    }

    .lp-journey-sequence .lp-how-title {
        color: #073875 !important;
    }

    .lp-journey-sequence .lp-how-description {
        color: #60738d !important;
    }

    .lp-journey-sequence .lp-how-visual {
        width: min(72vw, 250px) !important;
        height: 150px !important;
    }

    .lp-journey-sequence .lp-how-flow {
        padding: 8px 12px 20px !important;
    }

    .lp-journey-sequence .lp-how-step,
    .lp-journey-sequence .lp-how-step:first-child {
        min-height: 104px !important;
        grid-template-columns: 48px minmax(0, 1fr) !important;
        gap: 10px !important;
        padding: 15px 13px !important;
        border-radius: 16px !important;
    }

    .lp-journey-sequence .lp-how-step-icon {
        width: 48px !important;
        height: 48px !important;
        border-radius: 14px !important;
    }
}

/* Teacher application modal — wider desktop layout with shorter form flow. */
.tm-modal-card .tm-form-control:focus,
.tm-modal-card .tm-form-control:focus-visible,
.tm-modal-card .tm-multi-trigger:focus,
.tm-modal-card .tm-multi-trigger:focus-visible {
    outline: 0 !important;
    outline-offset: 0 !important;
    border-color: #3198e9 !important;
    box-shadow: 0 0 0 2px rgba(19, 132, 227, .10) !important;
}

.tm-modal-card {
    border-color: #d9e5f2 !important;
    box-shadow: 0 28px 70px rgba(1, 25, 55, .34) !important;
}

.tm-modal-header {
    background: #ffffff;
}

.tm-modal-title {
    letter-spacing: -.25px;
}

.tm-modal-body {
    scrollbar-width: thin;
    scrollbar-color: #c8d8e9 transparent;
}

.tm-academic-scope {
    position: relative;
    border: 1px solid #cfe0f1;
    border-radius: 11px;
    background: #f8fbff;
}

.tm-academic-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #073875;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
}

.tm-academic-title i,
.tm-academic-title svg {
    width: 17px;
    height: 17px;
    color: #1384e3;
    stroke-width: 2;
}

.tm-academic-note {
    color: #71839a;
    font-size: 11.5px;
    line-height: 1.55;
}

.tm-multi-select {
    position: relative;
}

.tm-multi-select.is-open {
    z-index: 30;
}

.tm-multi-trigger {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid #c7d8ea;
    border-radius: 8px;
    padding: 9px 12px;
    background: #ffffff;
    color: #8190a4;
    font-family: inherit;
    font-size: 12.5px;
    text-align: start;
    cursor: pointer;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.tm-multi-trigger:hover {
    border-color: #a9c7e3;
    background: #fcfdff;
}

.tm-multi-trigger > i,
.tm-multi-trigger > svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    color: #1384e3;
    stroke-width: 2.2;
    transition: transform .18s ease;
}

.tm-multi-select.is-open .tm-multi-trigger > i,
.tm-multi-select.is-open .tm-multi-trigger > svg {
    transform: rotate(180deg);
}

.tm-multi-value {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tm-multi-value.has-value {
    color: #17365f;
    font-weight: 650;
}

.tm-multi-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    z-index: 50;
    max-height: 190px;
    overflow-y: auto;
    border: 1px solid #c9daeb;
    border-radius: 10px;
    padding: 6px;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(1, 42, 91, .16);
}

.tm-multi-menu[hidden] {
    display: none !important;
}

.tm-multi-option {
    position: relative;
    min-height: 36px;
    display: flex;
    align-items: center;
    gap: 9px;
    border-radius: 7px;
    padding: 7px 8px;
    color: #263b57;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.tm-multi-option:hover {
    background: #eef6ff;
}

.tm-multi-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.tm-multi-check {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #b9cee2;
    border-radius: 5px;
    background: #ffffff;
    color: transparent;
    font-size: 11px;
    line-height: 1;
}

.tm-multi-option input:checked + .tm-multi-check {
    border-color: #1384e3;
    background: #1384e3;
    color: #ffffff;
}

.tm-multi-option input:focus-visible + .tm-multi-check {
    box-shadow: 0 0 0 3px rgba(19, 132, 227, .14);
}

.tm-multi-empty {
    padding: 12px 8px;
    color: #8493a6;
    font-size: 11.5px;
    text-align: center;
}

@media (min-width: 720px) {
    .tm-modal-overlay {
        padding: 24px !important;
    }

    .tm-modal-card {
        width: min(920px, calc(100vw - 48px)) !important;
        max-width: 920px !important;
        max-height: calc(100dvh - 48px) !important;
        border-radius: 22px !important;
    }

    .tm-modal-header {
        padding: 22px 34px 15px !important;
    }

    .tm-modal-title {
        margin-top: 5px !important;
        font-size: 22px !important;
    }

    .tm-modal-body {
        max-height: calc(100dvh - 132px) !important;
        padding: 20px 28px 24px !important;
        overflow-y: auto !important;
    }

    #teacherRegisterForm {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 16px !important;
        align-items: start !important;
    }

    #teacherRegisterForm > .tm-form-group {
        min-width: 0 !important;
        margin-bottom: 0 !important;
    }

    #teacherRegisterForm > .tm-academic-scope,
    #teacherRegisterForm > .tm-form-group:has(#tmBrief),
    #teacherRegisterForm > .mt-4 {
        grid-column: 1 / -1 !important;
    }

    #teacherRegisterForm > .tm-academic-scope {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 12px 14px !important;
        margin: 0 !important;
        padding: 15px 16px 16px !important;
    }

    .tm-academic-scope > .tm-academic-title,
    .tm-academic-scope > .tm-academic-note {
        grid-column: 1 / -1 !important;
    }

    .tm-academic-scope > .tm-academic-title {
        margin-bottom: -7px !important;
    }

    .tm-academic-scope > .tm-academic-note {
        margin: 0 !important;
    }

    .tm-academic-scope > .tm-form-group {
        min-width: 0 !important;
        margin-bottom: 0 !important;
    }

    textarea.tm-form-control {
        min-height: 72px !important;
    }

    #teacherRegisterForm > .mt-4 {
        margin-top: 0 !important;
    }
}

@media (max-width: 719.98px) {
    #teacherRegisterForm,
    #teacherRegisterForm > .tm-academic-scope {
        display: block !important;
    }

    #teacherRegisterForm > .tm-form-group,
    .tm-academic-scope > .tm-form-group {
        margin-bottom: 14px !important;
    }

    #teacherRegisterForm > .tm-academic-scope {
        margin-bottom: 16px !important;
        padding: 15px !important;
    }

    .tm-academic-title {
        margin-bottom: 4px !important;
    }

    .tm-academic-note {
        margin: 0 0 14px !important;
    }

    .tm-academic-scope > .tm-form-group:last-child {
        margin-bottom: 0 !important;
    }
}

/* --------------------------------------------------------------------------
   Reference composition — framed desktop landing page
   -------------------------------------------------------------------------- */
.lp-subjects-catalog {
    min-width: 0;
}

.lp-subjects-more {
    width: max-content;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 16px auto 0;
    border: 1px solid #d5e4f3;
    border-radius: 11px;
    padding: 9px 18px;
    background: #ffffff;
    color: #0756a4;
    box-shadow: 0 10px 22px rgba(0, 50, 106, .07);
    font-size: 11px;
    font-weight: 800;
}

.lp-subjects-more:hover,
.lp-subjects-more:focus-visible {
    border-color: #b8d5ee;
    background: #f3f8fe;
    color: #00337c;
    transform: translateY(-2px);
}

.lp-cta-art {
    display: none;
}

@media (min-width: 1400px) {
    body {
        background:
            radial-gradient(circle at 50% 0%, rgba(34, 132, 215, .08), transparent 30%),
            #edf4fa !important;
    }

    .lp-page {
        position: relative;
        width: 100%;
        min-height: 0;
        margin: 0;
        overflow: hidden;
        border: 0;
        border-radius: 0;
        background: #ffffff;
        box-shadow: none;
    }

    .lp-topbar,
    body:has(.hero-approved) .lp-topbar {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
        width: 100% !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    body:has(.hero-approved) .lp-container,
    .lp-container {
        width: min(var(--lp-container-max, 1320px), calc(100% - 64px)) !important;
    }

    body:has(.hero-approved) .lp-nav {
        min-height: 82px !important;
    }

    body:has(.hero-approved) .lp-links a {
        min-height: 44px !important;
        padding-inline: 11px !important;
        font-size: 12px !important;
    }

    body:has(.hero-approved) .lp-logo img {
        width: 104px !important;
    }

    body:has(.hero-approved) .lp-actions .lp-btn,
    body:has(.hero-approved) .lp-actions .lp-lang-toggle {
        min-height: 44px !important;
    }

    .hero-approved {
        height: 670px !important;
        min-height: 670px !important;
        padding: 108px 0 76px !important;
        background-image:
            radial-gradient(circle at 43% 45%, rgba(19, 132, 227, .24), transparent 29%),
            linear-gradient(108deg, #08498f 0%, #063b7d 38%, #042e69 67%, #032458 100%) !important;
    }

    .hero-approved__grid,
    html[dir="rtl"] .hero-approved__grid,
    html[dir="ltr"] .hero-approved__grid {
        grid-template-columns: 278px 380px minmax(0, 520px) !important;
        gap: 25px !important;
        min-height: 470px !important;
    }

    .hero-approved__apps-wrap {
        max-width: 278px !important;
    }

    .hero-approved__apps {
        padding: 20px !important;
        border-radius: 22px !important;
    }

    .hero-approved__apps-title {
        margin-top: 18px !important;
        font-size: 27px !important;
    }

    .hero-approved__apps-copy {
        font-size: 10.5px !important;
    }

    .hero-approved__visual {
        width: 380px !important;
        height: 420px !important;
    }

    .hero-approved__visual img {
        width: 500px !important;
        height: 500px !important;
    }

    .hero-approved__content {
        max-width: 520px !important;
    }

    .hero-approved__content h1 {
        max-width: 520px !important;
        font-size: 43px !important;
        line-height: 1.34 !important;
    }

    .hero-approved__content > p {
        max-width: 510px !important;
        font-size: 12.5px !important;
    }

    .hero-approved__actions {
        margin: 20px 0 25px !important;
    }

    .hero-approved__highlights {
        max-width: 520px !important;
    }

    .hero-approved__highlight {
        min-height: 58px !important;
    }

    .lp-journey-sequence .lp-stats-premium > .lp-container,
    .lp-journey-sequence #how-it-works > .lp-container,
    #subjects > .lp-container,
    #features > .lp-container,
    #courses > .lp-container,
    #testimonials > .lp-container,
    .lp-cta > .lp-container {
        width: var(--lp-container-max, 1320px) !important;
        max-width: min(var(--lp-container-max, 1320px), calc(100% - 64px)) !important;
    }

    .lp-journey-sequence .lp-stats.lp-stats-premium {
        margin-top: -50px !important;
    }

    .lp-journey-sequence .lp-stats-shell {
        padding: 8px 14px !important;
        border-radius: 17px !important;
        box-shadow: 0 18px 44px rgba(0, 45, 98, .13) !important;
    }

    .lp-journey-sequence .lp-stats-premium .lp-stat,
    .lp-journey-sequence .lp-stats-premium .lp-stat:first-child {
        min-height: 72px !important;
    }

    .lp-journey-sequence {
        padding-bottom: 0 !important;
        background: #ffffff !important;
    }

    .lp-journey-sequence::before {
        height: 240px !important;
        background: linear-gradient(180deg, #f4f8fc, #fff) !important;
    }

    .lp-journey-sequence #how-it-works {
        padding: 62px 0 64px !important;
    }

    .lp-journey-sequence .lp-how-shell {
        overflow: visible !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .lp-journey-sequence .lp-how-shell::before {
        display: none !important;
    }

    .lp-journey-sequence .lp-how-hero {
        min-height: 230px !important;
        grid-template-columns: 370px minmax(0, 1fr) !important;
        gap: 74px !important;
        padding: 10px 34px 0 !important;
    }

    .lp-journey-sequence .lp-how-copy {
        max-width: 610px !important;
        padding: 24px 0 !important;
    }

    .lp-journey-sequence .lp-how-title {
        font-size: 39px !important;
    }

    .lp-journey-sequence .lp-how-visual {
        width: 370px !important;
        height: 230px !important;
    }

    .lp-journey-sequence .lp-how-flow {
        padding: 6px 34px 0 !important;
    }

    .lp-journey-sequence .lp-how-step,
    .lp-journey-sequence .lp-how-step:first-child {
        min-height: 122px !important;
        padding: 17px 18px !important;
        border-radius: 16px !important;
    }

    #subjects.lp-subjects-section {
        padding-block: 62px !important;
        background:
            radial-gradient(circle at 7% 9%, rgba(19, 132, 227, .06), transparent 25%),
            linear-gradient(180deg, #f8fbff 0%, #f0f7fd 100%) !important;
    }

    #subjects.lp-subjects-section::before {
        opacity: .24 !important;
    }

    #subjects .lp-subjects-showcase {
        grid-template-columns: 360px minmax(0, 1fr) !important;
        gap: 24px !important;
    }

    #subjects .lp-subjects-panel {
        min-height: 100% !important;
        padding: 24px !important;
        border-radius: 21px !important;
    }

    #subjects .lp-subjects-head .lp-section-title {
        font-size: 31px !important;
    }

    #subjects .lp-stage-strip {
        display: none !important;
    }

    #subjects .lp-subjects-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    #subjects .lp-subject-card {
        min-height: 164px !important;
        padding: 14px !important;
        border-radius: 15px !important;
    }

    #subjects .lp-subject-card:nth-child(n + 10) {
        display: none !important;
    }

    #subjects .lp-subject-top {
        margin-bottom: 10px !important;
    }

    #subjects .lp-subject-icon {
        width: 38px !important;
        height: 38px !important;
        border-radius: 12px !important;
    }

    #subjects .lp-subject-name {
        font-size: 15px !important;
    }

    #subjects .lp-subject-meta {
        margin: 8px 0 0 !important;
        font-size: 10.5px !important;
    }

    #subjects .lp-subject-open {
        display: none !important;
    }

    #features {
        padding: 66px 0 70px !important;
        background: #ffffff !important;
    }

    #features .lp-section-head,
    #testimonials .lp-section-head {
        justify-content: center !important;
        text-align: center !important;
    }

    #features .lp-section-head > div,
    #testimonials .lp-section-head > div {
        margin-inline: auto !important;
    }

    #features .lp-section-copy,
    #testimonials .lp-section-copy {
        margin-inline: auto !important;
    }

    #features .lp-features-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
        gap: 11px !important;
        margin-top: 28px !important;
    }

    #features .lp-card {
        min-height: 182px !important;
        padding: 18px 13px !important;
        border-radius: 15px !important;
        text-align: center !important;
    }

    #features .lp-card-icon {
        width: 46px !important;
        height: 46px !important;
        margin-inline: auto !important;
        border-radius: 13px !important;
    }

    #features .lp-card h3 {
        margin-top: 14px !important;
        font-size: 13px !important;
    }

    #features .lp-card p {
        font-size: 9.5px !important;
        line-height: 1.65 !important;
    }

    #courses {
        padding: 62px 0 70px !important;
        background: #f7fbff !important;
    }

    #courses .lp-section-title,
    #features .lp-section-title,
    #testimonials .lp-section-title {
        font-size: 32px !important;
    }

    #courses .lp-courses-grid {
        gap: 16px !important;
        margin-top: 25px !important;
    }

    #courses .lp-course {
        border-radius: 16px !important;
    }

    #courses .lp-course-media {
        min-height: 168px !important;
        height: 168px !important;
    }

    #courses .lp-course-body {
        padding: 16px !important;
    }

    #courses .lp-course-body h3 {
        font-size: 16px !important;
    }

    #testimonials {
        padding: 64px 0 66px !important;
        background: linear-gradient(180deg, #ffffff, #f6faff) !important;
    }

    #testimonials .lp-testimonials-grid {
        gap: 16px !important;
        margin-top: 26px !important;
    }

    #testimonials .lp-testimonial {
        min-height: 180px !important;
        padding: 20px !important;
        border-radius: 16px !important;
    }

    .lp-cta {
        padding: 50px 0 58px !important;
        background: #ffffff !important;
    }

    .lp-cta-inner {
        min-height: 196px !important;
        padding: 38px 300px 38px 38px !important;
        border-radius: 21px !important;
    }

    html[dir="ltr"] .lp-cta-inner {
        padding: 38px 38px 38px 300px !important;
    }

    .lp-cta-art {
        position: absolute !important;
        z-index: 2 !important;
        inset-inline-start: 30px !important;
        bottom: 0 !important;
        width: 245px !important;
        max-height: 205px !important;
        display: block !important;
        object-fit: contain !important;
        object-position: bottom center !important;
        pointer-events: none !important;
        filter: drop-shadow(0 14px 18px rgba(0, 16, 52, .22));
    }

    .lp-cta h2 {
        font-size: 31px !important;
    }

    .lp-cta p {
        max-width: 540px !important;
        font-size: 13px !important;
    }

    .lp-footer > .lp-container {
        width: 1208px !important;
        max-width: calc(100% - 56px) !important;
        padding-top: 40px !important;
    }

    .lp-footer-grid {
        grid-template-columns: minmax(260px, 1.25fr) minmax(130px, .62fr) minmax(130px, .62fr) minmax(270px, 1.15fr) !important;
        gap: 34px !important;
    }
}
