:root {
    --ink: #27313b;
    --muted: #92989e;
    --soft: #f4f4f5;
    --blue: #09aaf5;
    --green: #39be67
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}
.article-section{
    min-height:207px;
}
body {
    margin: 0;
    background: #075195;
    color: var(--ink);
    font-family: Inter,Arial,sans-serif
}

a {
    text-decoration: none;
    color: inherit
}

.hero {
    height: 840px;
    position: relative;
    color: #fff;
    background: #23659f url('../images/hero-worker.webp') center 28%/cover no-repeat
}

.header {
    height: 106px;
    display: flex;
    align-items: center;
    padding: 0 max(5.5vw,32px);
    position: relative;
    z-index: 2
}

.logo {
    width: 112px;
    height: 56px;
    object-fit: contain
}

.header nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    padding: 7px;
    border-radius: 28px;
    background: rgba(255,255,255,.2);
    backdrop-filter: blur(12px)
}

    .header nav a {
        padding: 13px 24px;
        font-size: 14px;
        white-space: nowrap
    }

.header form {
    margin-left: auto
}

.header select {
    appearance: none;
    border: 0;
    color: #fff;
    background: rgba(255,255,255,.2);
    padding: 14px 43px 14px 25px;
    border-radius: 28px;
    font: inherit;
    background-image: linear-gradient(45deg,transparent 50%,white 50%),linear-gradient(135deg,white 50%,transparent 50%);
    background-position: calc(100% - 20px) 19px,calc(100% - 15px) 19px;
    background-size: 5px 5px;
    background-repeat: no-repeat
}

    .header select option {
        color: #222
    }

.menu {
    display: none;
    background: transparent;
    border: 0;
    width: 42px
}

    .menu i {
        display: block;
        height: 2px;
        background: #fff;
        margin: 7px
    }

.hero-copy {
    position: absolute;
    left: 50%;
    top: 57%;
    transform: translate(-50%,-50%);
    width: 850px;
    text-align: center;
    text-shadow: 0 1px 14px rgba(0,0,0,.08)
}

    .hero-copy h1 {
        font-size: 78px;
        line-height: 1.03;
        letter-spacing: -.045em;
        font-weight: 400;
        margin: 0 0 20px
    }

    .hero-copy p {
        font-size: 16px;
        margin: 0 0 35px
    }

.stores {
    display: flex;
    justify-content: center;
    gap: 14px
}

    .stores a {
        display: flex;
        align-items: center;
        gap: 8px;
        background: #fff;
        color: #29313a;
        border-radius: 28px;
        padding: 10px 20px;
        font-size: 14px
    }

    .stores b {
        color: #12b857;
        font-size: 20px
    }

.page-card {
    background: #fff;
    border-radius: 92px 92px 0 0;
    position: relative;
    margin-top: -2px;
    padding-top: 92px;
    overflow: hidden
}

    .page-card h2 {
        text-align: center;
        font-size: 44px;
        line-height: 1.12;
        letter-spacing: -.035em;
        margin: 0
    }

.benefits {
    padding: 0 5.5vw 80px
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    margin-top: 50px
}

    .benefit-grid article {
        height: 282px;
        padding: 45px 40px;
        border-radius: 38px;
        background: var(--soft);
        display: flex;
        flex-direction: column;
        justify-content: space-between
    }

    .benefit-grid h3 {
        font-size: 25px;
        font-weight: 400;
        margin: 0;
        line-height: 1.12
    }

    .benefit-grid p {
        max-width: 300px;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.45;
        margin: 0
    }

    .benefit-grid .active {
        background: var(--blue);
        color: #fff
    }

        .benefit-grid .active p {
            color: #fff
        }

.course {
    padding: 8px 5.5vw 110px
}

    .course > h2 {
        margin-bottom: 48px
    }

.course-step {
    min-height: 690px;
    display: grid;
    grid-template-columns: 1fr 320px 1fr;
    align-items: center
}

    .course-step img {
        width: 290px;
        height: 599px;
        object-fit: contain;
        grid-column: 2;
        filter: drop-shadow(0 6px 6px rgba(0,0,0,.08));
        will-change: transform
    }

    .course-step .step-copy {
        max-width: 360px
    }

    .course-step.left .step-copy {
        grid-column: 1;
        grid-row: 1;
        justify-self: start
    }

    .course-step.right .step-copy {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        width: 100%
    }

.step-copy h3 {
    font-size: 25px;
    font-weight: 400;
    margin: 0 0 10px
}

.step-copy p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
    margin: 0
}

.outcomes {
    width: 820px;
    height: 350px;
    margin: 0 auto 130px;
    border: 1px solid #8ad7ff;
    border-radius: 50%;
    position: relative;
    display: grid;
    place-items: center
}

    .outcomes h2 {
        font-size: 43px
    }

.tag {
    position: absolute;
    border: 1px solid #8ad7ff;
    background: #fff;
    border-radius: 28px;
    padding: 13px 20px;
    font-size: 14px;
    white-space: nowrap
}

.tag-one {
    left: -20px;
    top: -16px
}

.tag-two {
    right: -35px;
    top: 4px
}

.tag-three {
    left: -92px;
    bottom: 20px
}

.tag-four {
    right: -45px;
    bottom: 18px
}

.simplicity {
    padding: 0 5.5vw 130px
}

    .simplicity > h2 {
        margin-bottom: 55px
    }

.cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px
}

    .cards article {
        height: 420px;
        border-radius: 38px;
        padding: 36px;
        background: #f2f2f4;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        overflow: hidden
    }

        .cards article.grammar {
            background: #e0f1ff
        }

        .cards article.tailored {
            background: #f2edff
        }

    .cards h3 {
        font-size: 25px;
        font-weight: 400;
        margin: 28px 0 12px
    }

    .cards p {
        color: var(--muted);
        font-size: 14px;
        line-height: 1.5;
        margin: 0
    }

/* Top-aligned artwork and bottom-aligned text groups on Home and About. */
.cards article:has(.card-art) {
    justify-content: flex-start;
}
.cards .card-art {
    flex: 0 0 auto;
    display: flow-root;
    width: 100%;
    min-width: 0;
}
.cards .card-copy {
    flex: 0 0 auto;
    margin-top: auto;
}
.cards .card-art .success,
.cards .card-art > :last-child {
    margin-bottom: 0;
}
@media (min-width: 901px) {
    /* Align the backmost success layer with the other illustrations. */
    .simplicity .cards .card-art > .success {
        margin-top: 26px;
    }
}

.success {
    margin-bottom: auto;
    border-radius: 28px;
    background: #d9f3df;
    color: var(--green);
    padding: 22px;
    font-size: 14px
}

    .success b, .success small {
        display: block;
        margin-left: 24px
    }

.letter-row, .word-row {
    display: flex;
    gap: 6px;
    background: #fff;
    border-radius: 22px;
    padding: 15px;
    margin-bottom: 10px
}

    .letter-row i, .word-row i {
        font-style: normal;
        background: #ccecff;
        padding: 8px;
        border-radius: 8px
    }

    .word-row i {
        border-radius: 18px;
        background: #fff
    }

.teachers {
    padding: 35px 20px 150px;
    text-align: center
}

    .teachers p {
        font-size: 42px;
        line-height: 1.12;
        color: #adb1b4;
        margin: 0
    }

    .teachers strong {
        color: var(--ink);
        font-weight: 400
    }

.faq {
    padding: 0 15% 160px
}

    .faq h2 {
        margin-bottom: 50px
    }

    .faq details {
        background: var(--soft);
        border-radius: 35px;
        padding: 28px 32px;
        margin: 16px 0
    }

    .faq summary {
        list-style: none;
        font-size: 24px;
        cursor: pointer
    }

        .faq summary:after {
            content: '×';
            float: right;
            color: #858b90
        }

    .faq p {
        font-size: 20px;
        color: var(--muted);
        line-height: 1.4;
        margin: 10px 0 0;
        max-width: 900px
    }

        .faq p a {
            color: #287dff
        }

.download {
    height: 620px;
    position: relative;
    text-align: center;
    padding-top: 185px
}

    .download h2 {
        font-size: 44px;
        margin-top:40px;
    }

    .download > p {
        font-size: 24px;
        color: #6d747a;
        margin: 30px 10px 30px 10px;
    }

.app-mark {
    width: 78px;
    height: 78px;
    margin: auto;
    border-radius: 18px;
    background-image:url(/images/appmark.png);
    background-size:cover;
    display: grid;
    place-items: center;
    font-weight: bold;
    letter-spacing: 4px
}

.download .person {
    position: absolute;
    width: 180px;
    height: 180px;
    object-fit: contain
}

.p1 {
    left: 9%;
    top: 35px
}

.p2 {
    right: 9%;
    top: 35px
}

.p3 {
    left: 11%;
    bottom: 35px
}

.p4 {
    right: 11%;
    bottom: 35px
}

.stores.dark a {
    background: #252e35;
    color: #fff
}

.footer {
    height: 750px;
    color: #fff;
    position: relative;
    background: #075195 url('../images/footer-community.webp') center/cover no-repeat;
    padding: 470px 5.5vw 35px
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px
}

    .footer-links div {
        display: flex;
        flex-direction: column;
        gap: 12px
    }

    .footer-links b {
        font-size: 16px
    }

    .footer-links a {
        font-size: 12px
    }

.legal {
    position: absolute;
    bottom: 35px;
    left: 5.5vw;
    display: flex;
    gap: 50px;
    font-size: 12px
}

.reveal-phone {
    transition: transform .8s ease,opacity .8s ease
}

@media(max-width:900px) {
    .hero {
        height: 800px;
        background-position: center top
    }

    .header {
        height: 88px;
        padding: 0 30px
    }

        .header nav {
            display: none
        }

    .menu {
        display: block
    }

    .hero-copy {
        top: 64%;
        width: 90%
    }

        .hero-copy h1 {
            font-size: 48px;
            font-weight: 500
        }

    .page-card {
        border-radius: 55px 55px 0 0;
        padding-top: 55px
    }

        .page-card h2 {
            font-size: 34px
        }

    .benefits {
        padding: 0 32px 75px
    }

    .benefit-grid {
        grid-template-columns: 1fr;
        margin-top: 42px
    }

        .benefit-grid article {
            height: 165px;
            padding: 34px 40px;
            border-radius: 28px
        }

        .benefit-grid h3 br {
            display: none
        }

    .course {
        padding: 0 30px 90px
    }

        .course > h2 {
            margin-bottom: 45px
        }

    .course-step, .course-step.left, .course-step.right {
        min-height: 0;
        display: flex;
        flex-direction: column;
        margin-bottom: 70px
    }

        .course-step img {
            order: 2;
            width: 290px
        }

        .course-step .step-copy, .course-step.left .step-copy, .course-step.right .step-copy {
            order: 1;
            text-align: center;
            max-width: none;
            width: 100%;
            margin-bottom: 28px
        }

    .outcomes {
        width: 82%;
        height: 260px;
        margin-bottom: 110px
    }

        .outcomes h2 {
            font-size: 34px
        }

    .simplicity {
        padding: 0 32px 100px
    }

    .cards {
        grid-template-columns: repeat(3,320px);
        overflow: hidden;
        margin-right: -32px
    }

        .cards article {
            height: 420px
        }

    .teachers {
        padding-bottom: 120px
    }

        .teachers p {
            font-size: 34px
        }

    .faq {
        padding: 0 32px 130px
    }

        .faq details {
            padding: 25px 30px
        }

        .faq summary {
            font-size: 21px
        }

        .faq p {
            font-size: 16px
        }

    .download {
        height: 590px
    }

        .download .person {
            width: 125px;
            height: 125px
        }

    .footer {
        height: 730px;
        padding-top: 500px
    }

    .footer-links {
        grid-template-columns: repeat(4,1fr)
    }
}

@media(max-width:520px) {
    .hero {
        height: 448px;
        background-position: center top
    }

    .header {
        height: 65px;
        padding: 0 10px
    }

    .logo {
        width: 75px;
        height: auto
    }

    .header select {
        font-size: 10px;
        padding: 10px 29px 10px 14px;
        background-position: calc(100% - 14px) 14px,calc(100% - 10px) 14px
    }

    .menu {
        width: 34px;
        padding: 0
    }

    .hero-copy {
        top: 64%;
        width: 95%
    }

        .hero-copy h1 {
            font-size: 28px;
            line-height: 1.05;
            font-weight: 600;
            margin-bottom: 8px
        }

        .hero-copy p {
            font-size: 10px;
            margin: 0 40px 16px
        }

    .stores {
        gap: 7px
    }

        .stores a {
            font-size: 10px;
            padding: 7px 11px
        }

        .stores b {
            font-size: 13px
        }

    .page-card {
        border-radius: 28px 28px 0 0;
        padding-top: 22px
    }

        .page-card h2 {
            font-size: 22px
        }

    .benefits {
        padding: 0 9px 38px
    }

        .benefits h2 br {
            display: none
        }

    .benefit-grid {
        margin-top: 20px;
        gap: 7px
    }

        .benefit-grid article {
            height: 87px;
            padding: 16px 13px;
            border-radius: 22px
        }

        .benefit-grid h3 {
            font-size: 14px
        }

        .benefit-grid p {
            font-size: 8px;
            max-width: 260px
        }

    .course {
        padding: 0 10px 45px
    }

        .course > h2 {
            margin-bottom: 55px
        }

    .course-step, .course-step.left, .course-step.right {
        margin-bottom: 40px
    }

        .course-step .step-copy, .course-step.left .step-copy, .course-step.right .step-copy {
            margin-bottom: 15px
        }

    .step-copy h3 {
        font-size: 14px;
        margin-bottom: 6px
    }

    .step-copy p {
        font-size: 10px
    }

    .course-step img {
        width: 190px;
        height: auto
    }

    .outcomes {
        width: calc(100% - 20px);
        height: auto;
        border: 0;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        margin: 5px 10px 50px
    }

        .outcomes h2 {
            order: -1;
            font-size: 22px;
            margin-bottom: 25px
        }

    .tag {
        position: static;
        width: 100%;
        font-size: 9px;
        margin: 4px;
        padding: 12px
    }

    .simplicity {
        padding: 0 9px 55px
    }

        .simplicity > h2 {
            font-size: 22px;
            margin-bottom: 24px
        }

    .cards {
        grid-template-columns: 165px 165px 165px;
        gap: 7px;
        margin-right: -9px
    }

        .cards article {
            height: 275px;
            border-radius: 23px;
            padding: 12px
        }

        .cards h3 {
            font-size: 14px;
            margin: 15px 0 8px
        }

        .cards p {
            font-size: 9px
        }

    .success {
        font-size: 8px;
        padding: 11px
    }

    .letter-row, .word-row {
        padding: 7px
    }

        .letter-row i, .word-row i {
            font-size: 8px;
            padding: 4px
        }

    .teachers {
        padding: 15px 16px 75px
    }

        .teachers p {
            font-size: 15px
        }

    .faq {
        padding: 0 9px 70px
    }

        .faq h2 {
            font-size: 22px;
            margin-bottom: 18px
        }

        .faq details {
            padding: 17px 14px;
            border-radius: 22px;
            margin: 6px 0
        }

        .faq summary {
            font-size: 13px;
            padding-right: 16px
        }

        .faq p {
            font-size: 10px
        }

    .download {
        height: 420px;
        padding-top: 142px
    }

        .download .person {
            width: 74px;
            height: 74px
        }

    .p1 {
        left: 8px;
        top: 45px
    }

    .p2 {
        right: 8px;
        top: 45px
    }

    .p3 {
        left: 8px;
        bottom: 42px
    }

    .p4 {
        right: 8px;
        bottom: 42px
    }

    .app-mark {
        width: 48px;
        height: 48px;
        font-size: 10px;
        border-radius: 12px
    }

    .download h2 {
        font-size: 22px
    }

    .download > p {
        font-size: 12px
    }

    .footer {
        height: 550px;
        padding: 330px 9px 25px;
        background-position: center
    }

    .footer-links {
        grid-template-columns: repeat(2,1fr);
        gap: 20px
    }

        .footer-links b {
            font-size: 10px
        }

        .footer-links a {
            font-size: 8px
        }

    .legal {
        left: 9px;
        bottom: 20px;
        gap: 25px;
        font-size: 8px
    }
}

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

    .reveal-phone {
        transition: none
    }
}

@media(min-width:901px) {
    .course-flow {
        position: relative
    }

    .course-phone {
        position: sticky;
        top: calc(50vh - 300px);
        z-index: 3;
        width: 290px;
        height: 599px;
        margin: 0 auto;
        filter: drop-shadow(0 6px 6px rgba(0,0,0,.08))
    }

        .course-phone img {
            position: absolute;
            inset: 0;
            width: 290px;
            height: 599px;
            object-fit: contain;
            opacity: 0;
            transform: scale(.985);
            transition: opacity .38s ease,transform .5s ease
        }

            .course-phone img.is-active {
                opacity: 1;
                transform: scale(1)
            }

    .course-steps {
        margin-top: -599px
    }

    .course-step {
        min-height: 100vh;
        display: grid;
        grid-template-columns: 1fr 320px 1fr;
        align-items: center
    }

        .course-step .step-copy {
            opacity: .25;
            transform: translateY(24px);
            transition: opacity .38s ease,transform .5s ease
        }

        .course-step.is-active .step-copy {
            opacity: 1;
            transform: none
        }

        .course-step.left .step-copy {
            grid-column: 1;
            justify-self: start
        }

        .course-step.right .step-copy {
            grid-column: 3;
            justify-self: end;
            width: 100%
        }

    .mobile-phone {
        display: none !important
    }
}

@media(max-width:900px) {
    .course-phone {
        display: none
    }

    .course-steps {
        margin: 0
    }

    .course-step .step-copy {
        opacity: 1;
        transform: none
    }

    .mobile-phone {
        display: block;
        order: 2;
        width: 290px;
        height: auto;
        object-fit: contain;
        filter: drop-shadow(0 6px 6px rgba(0,0,0,.08))
    }
}

@media(prefers-reduced-motion:reduce) {
    .course-phone img, .course-step .step-copy {
        transition: none
    }
}

.page-card {
    overflow: clip
}

@media(min-width:901px) {
    .course-step .step-copy {
        max-width: 390px
    }

    .course-step.left .step-copy {
        justify-self: end;
        margin-right: 46px
    }

    .course-step.right .step-copy {
        justify-self: start;
        margin-left: 46px
    }

    .course-step .step-copy h3 {
        font-size: 29px;
        line-height: 1.2
    }

    .course-step .step-copy p {
        font-size: 18px;
        line-height: 1.55
    }
}

@media(min-width:901px) {
    .course-phone img {
        opacity: 0;
        transform: translateY(10px) scale(.98);
        transition: opacity .45s cubic-bezier(.22,1,.36,1),transform .45s cubic-bezier(.22,1,.36,1)
    }

    .course-phone[data-direction="down"] img:not(.is-active) {
        transform: translateY(-10px) scale(.98)
    }

    .course-phone[data-direction="up"] img:not(.is-active) {
        transform: translateY(10px) scale(.98)
    }

    .course-phone img.is-active {
        opacity: 1;
        transform: translateY(0) scale(1)
    }

    .course-progress {
        position: absolute;
        left: calc(100% + 24px);
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        align-items: baseline;
        gap: 4px;
        white-space: nowrap;
        color: #a5aaae;
        font-size: 12px
    }

        .course-progress b {
            color: var(--ink);
            font-size: 17px;
            font-weight: 600;
            transition: opacity .2s ease
        }

        .course-progress i {
            font-style: normal
        }

    .course-step .step-copy {
        opacity: .18;
        filter: blur(.15px)
    }

    .course-step.is-active .step-copy {
        opacity: 1;
        filter: none
    }
}

@media(max-width:900px) {
    .course-progress {
        display: none
    }
}

@media(prefers-reduced-motion:reduce) {
    .course-phone img {
        transition: opacity .01ms linear;
        transform: none !important
    }

    .course-step .step-copy, .course-progress b {
        transition: none
    }
}

@media(min-width:901px) {
    .course-phone img {
        z-index: 0;
        opacity: 0;
        filter: blur(2px);
        transform: scale(.975);
        transition: opacity .5s cubic-bezier(.22,1,.36,1),transform .55s cubic-bezier(.22,1,.36,1),filter .4s ease
    }

        .course-phone img.is-active {
            z-index: 2;
            opacity: 1;
            filter: blur(0);
            transform: translateY(0) scale(1)
        }

    .course-phone[data-direction="down"] img.is-entering {
        transform: translateY(18px) scale(.985)
    }

    .course-phone[data-direction="down"] img.is-leaving {
        z-index: 1;
        transform: translateY(-14px) scale(.975)
    }

    .course-phone[data-direction="up"] img.is-entering {
        transform: translateY(-18px) scale(.985)
    }

    .course-phone[data-direction="up"] img.is-leaving {
        z-index: 1;
        transform: translateY(14px) scale(.975)
    }
}

@media(prefers-reduced-motion:reduce) {
    .course-phone img {
        filter: none !important
    }

        .course-phone img.is-entering, .course-phone img.is-leaving {
            transform: none !important
        }
}

@media(min-width:901px) {
    .course-phone {
        border: 5px solid #111;
        border-radius: 42px;
        background: #111;
        overflow: hidden
    }

    .demo-screen {
        position: absolute;
        inset: 3px;
        z-index: 0;
        overflow: hidden;
        border-radius: 34px;
        background: #fff;
        color: #27313b;
        opacity: 0;
        filter: blur(2px);
        transform: scale(.975);
        transition: opacity .5s cubic-bezier(.22,1,.36,1),transform .55s cubic-bezier(.22,1,.36,1),filter .4s ease;
        pointer-events: none
    }

        .demo-screen.is-active {
            z-index: 2;
            opacity: 1;
            filter: none;
            transform: none;
            pointer-events: auto
        }

    .course-phone[data-direction="down"] .demo-screen.is-entering {
        transform: translateY(18px) scale(.985)
    }

    .course-phone[data-direction="down"] .demo-screen.is-leaving {
        z-index: 1;
        transform: translateY(-14px) scale(.975)
    }

    .course-phone[data-direction="up"] .demo-screen.is-entering {
        transform: translateY(-18px) scale(.985)
    }

    .course-phone[data-direction="up"] .demo-screen.is-leaving {
        z-index: 1;
        transform: translateY(14px) scale(.975)
    }

    .demo-notch {
        position: absolute;
        z-index: 5;
        top: 8px;
        left: 50%;
        width: 86px;
        height: 23px;
        transform: translateX(-50%);
        border-radius: 20px;
        background: #050708
    }

    .demo-status {
        height: 39px;
        padding: 12px 17px 0;
        font-size: 9px;
        font-weight: 700
    }

        .demo-status span {
            float: right;
            font-size: 7px
        }

    .demo-body {
        height: calc(100% - 39px);
        padding: 4px 18px 14px;
        display: flex;
        flex-direction: column
    }

        .demo-body button {
            font-family: inherit;
            cursor: pointer
        }

    .demo-back {
        align-self: flex-start;
        border: 0;
        background: none;
        padding: 2px 0;
        font-size: 17px
    }

    .demo-body h3 {
        margin: 8px 0 5px;
        font-size: 21px;
        line-height: 1.05
    }

    .demo-body > p {
        margin: 0 0 10px;
        color: #858b91;
        font-size: 8px;
        line-height: 1.45
    }

    .demo-body h4 {
        margin: 10px 0 5px;
        font-size: 11px
    }

    .demo-options {
        display: grid;
        gap: 4px
    }

        .demo-options button {
            min-height: 32px;
            border: 1px solid #cbd0d3;
            border-radius: 7px;
            background: #fff;
            padding: 5px 10px;
            text-align: left;
            font-size: 8px
        }

            .demo-options button.selected {
                border-color: #08a9f5;
                background: #08a9f5;
                color: #fff
            }

    .demo-primary {
        width: 100%;
        height: 31px;
        margin-top: auto;
        border: 0;
        border-radius: 18px;
        background: #39be67;
        color: #fff;
        font-size: 9px
    }

    .demo-screen[data-demo="profession"] .demo-primary {
        background: #08a9f5
    }

    .demo-titlebar {
        display: flex;
        gap: 38px;
        align-items: center;
        height: 35px;
        font-size: 9px
    }

    .demo-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 38px;
        margin: 4px 0 10px;
        padding: 0 11px;
        border-radius: 20px;
        background: #f3f3f4;
        font-size: 9px
    }

        .demo-toggle input {
            display: none
        }

        .demo-toggle i {
            width: 33px;
            height: 20px;
            border-radius: 12px;
            background: #c7c9cb;
            position: relative
        }

            .demo-toggle i:after {
                content: "";
                position: absolute;
                width: 16px;
                height: 16px;
                top: 2px;
                left: 2px;
                border-radius: 50%;
                background: #fff;
                transition: .2s
            }

        .demo-toggle input:checked + i {
            background: #39be67
        }

            .demo-toggle input:checked + i:after {
                left: 15px
            }

    .alphabet-grid {
        display: grid;
        grid-template-columns: repeat(5,1fr);
        gap: 7px
    }

        .alphabet-grid button {
            height: 36px;
            border: 0;
            border-radius: 13px;
            background: #f4f4f5;
            color: #2e3740;
            font-size: 12px;
            font-weight: 600
        }

            .alphabet-grid button.is-studied {
                background: #bdeaff;
                color: #057cb4
            }

    .demo-progress {
        height: 4px;
        margin: 8px 0 34px;
        border-radius: 4px;
        background: #edf0f2
    }

        .demo-progress i {
            display: block;
            width: 35%;
            height: 100%;
            border-radius: 4px;
            background: #39be67
        }

    .course-phone .demo-screen img.lesson-object {
        position: static;
        inset: auto;
        width: 100%;
        height: 134px;
        object-fit: cover;
        border-radius: 11px;
        opacity: 1;
        filter: none;
        transform: none;
        transition: none
    }

    .course-phone .demo-screen img.spatula {
        width: 193px;
        margin: 0 auto
    }

    .word {
        text-align: center !important;
        font-size: 19px !important
    }

    .transcription {
        text-align: center;
        font-size: 10px !important;
        margin-bottom: 8px !important
    }

    .translation {
        text-align: center;
        margin: 8px !important
    }

    .sound-actions {
        display: flex;
        justify-content: center;
        gap: 8px
    }

        .sound-actions button, .listen-button {
            width: 35px;
            height: 35px;
            border: 0;
            border-radius: 50%;
            background: #08a9f5;
            color: #fff
        }

            .sound-actions button.is-playing, .listen-button.is-playing {
                animation: soundPulse .6s ease
            }

    .question {
        text-align: center !important;
        margin: 8px 0 40px !important
    }

    .listen-button {
        width: 72px;
        height: 72px;
        margin: 0 auto 38px;
        font-size: 26px
    }

    .answer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 7px
    }

        .answer-grid button {
            height: 62px;
            border: 1px solid #d5d7d9;
            border-radius: 12px;
            background: #fff;
            font-size: 9px
        }

        .answer-grid.four button {
            height: 58px
        }

        .answer-grid button.correct {
            border-color: #ccebd5;
            background: #dbf2e1
        }

        .answer-grid button.wrong {
            border-color: #ffd0d0;
            background: #fff0f0
        }

    .feedback {
        min-height: 28px;
        margin-top: 8px;
        padding: 7px;
        border-radius: 9px;
        font-size: 8px;
        color: #24954a
    }

        .feedback.success {
            background: #dff4e5
        }

        .feedback.error {
            background: #fff0f0;
            color: #c44
        }

    .demo-level {
        display: grid;
        grid-template-columns: 28px 1fr 24px;
        align-items: center;
        gap: 6px;
        margin: 5px 0 26px;
        font-size: 9px
    }

        .demo-level i {
            height: 8px;
            border-radius: 5px;
            background: linear-gradient(90deg,#39be67 45%,#f0f1f2 45%)
        }

        .demo-level b {
            margin-left: -90px;
            color: #fff;
            background: #39be67;
            border-radius: 50%;
            padding: 3px
        }

    .spell-title {
        text-align: center !important;
        font-size: 16px !important;
        margin-bottom: 26px !important
    }

    .spell-result {
        min-height: 35px;
        display: flex;
        justify-content: center;
        gap: 4px;
        margin: 24px 0 8px
    }

        .spell-result i {
            width: 25px;
            height: 30px;
            border-bottom: 2px solid #9fd9f4;
            text-align: center;
            font-style: normal;
            font-weight: 600
        }

    .letter-choices {
        display: flex;
        justify-content: center;
        gap: 4px
    }

        .letter-choices button {
            width: 27px;
            height: 34px;
            border: 0;
            border-radius: 7px;
            background: #e4f4fc;
            color: #457186;
            font-size: 10px
        }

            .letter-choices button:disabled {
                opacity: .3
            }

    .test-prompt {
        text-align: center !important;
        margin: 20px 20px 12px !important
    }

    .demo-screen[data-demo="test"] .demo-progress {
        margin-bottom: 18px
    }

    @keyframes soundPulse {
        50% {
            transform: scale(1.16);
            box-shadow: 0 0 0 8px rgba(8,169,245,.18)
        }
    }
}

@media(prefers-reduced-motion:reduce) {
    .demo-screen {
        transition: opacity .01ms linear;
        transform: none !important;
        filter: none !important
    }

    .sound-actions button.is-playing, .listen-button.is-playing {
        animation: none
    }
}

@media(min-width:901px) {
    .course-phone {
        border: 0;
        border-radius: 0;
        background: transparent;
        overflow: visible
    }
}

@media(min-width:901px) {
    .course-phone {
        isolation: isolate
    }

        .course-phone > img[data-phone] {
            transition: opacity .62s cubic-bezier(.22,1,.36,1),transform .68s cubic-bezier(.22,1,.36,1),filter .5s ease;
            filter: blur(5px);
            transform: scale(.965)
        }

            .course-phone > img[data-phone].is-active {
                filter: blur(0);
                transform: translateY(0) scale(1)
            }

        .course-phone[data-direction="down"] > img[data-phone].is-entering {
            transform: translateY(22px) scale(.98)
        }

        .course-phone[data-direction="down"] > img[data-phone].is-leaving {
            transform: translateY(-18px) scale(.965)
        }

        .course-phone[data-direction="up"] > img[data-phone].is-entering {
            transform: translateY(-22px) scale(.98)
        }

        .course-phone[data-direction="up"] > img[data-phone].is-leaving {
            transform: translateY(18px) scale(.965)
        }

        .course-phone:after {
            content: "";
            position: absolute;
            z-index: 4;
            inset: 7px;
            border-radius: 35px;
            background: linear-gradient(110deg,transparent 25%,rgba(255,255,255,.28) 45%,rgba(255,255,255,.08) 55%,transparent 75%);
            opacity: 0;
            transform: translateX(-75%);
            pointer-events: none
        }

        .course-phone.is-switching:after {
            animation: phone-sheen .7s cubic-bezier(.22,1,.36,1)
        }

    @keyframes phone-sheen {
        0% {
            opacity: 0;
            transform: translateX(-75%)
        }

        35% {
            opacity: .8
        }

        100% {
            opacity: 0;
            transform: translateX(75%)
        }
    }
}

@media(prefers-reduced-motion:reduce) {
    .course-phone:after {
        display: none
    }

    .course-phone > img[data-phone] {
        transition: opacity .01ms linear;
        filter: none !important;
        transform: none !important
    }
}

@media(min-width:901px) {
    .course-phone.fade-sequence:before {
        content: "";
        position: absolute;
        z-index: 5;
        inset: 7px;
        border-radius: 35px;
        background: #111820;
        opacity: 0;
        transition: opacity .28s cubic-bezier(.4,0,.2,1);
        pointer-events: none
    }

    .course-phone.fade-sequence.is-blackout:before {
        opacity: 1
    }

    .course-phone.fade-sequence > img[data-phone] {
        filter: none;
        transform: none;
        transition: opacity .16s ease
    }

        .course-phone.fade-sequence > img[data-phone].is-active {
            filter: none;
            transform: none
        }

    .course-phone.fade-sequence:after {
        display: none
    }
}

@media(prefers-reduced-motion:reduce) {
    .course-phone.fade-sequence:before {
        transition: opacity .01ms linear
    }
}

@media(min-width:901px) {
    .course-phone > img[data-phone] {
        opacity: 0;
        filter: blur(3px);
        transform: translateY(10px) scale(.98);
        transition: opacity .68s cubic-bezier(.22,1,.36,1),transform .72s cubic-bezier(.22,1,.36,1),filter .55s ease
    }

        .course-phone > img[data-phone].is-active {
            z-index: 2;
            opacity: 1;
            filter: none;
            transform: translateY(0) scale(1)
        }

        .course-phone > img[data-phone].is-leaving {
            z-index: 1;
            opacity: 0
        }

    .course-phone[data-direction="down"] > img[data-phone].is-entering {
        transform: translateY(18px) scale(.985)
    }

    .course-phone[data-direction="down"] > img[data-phone].is-leaving {
        transform: translateY(-12px) scale(.98)
    }

    .course-phone[data-direction="up"] > img[data-phone].is-entering {
        transform: translateY(-18px) scale(.985)
    }

    .course-phone[data-direction="up"] > img[data-phone].is-leaving {
        transform: translateY(12px) scale(.98)
    }

    .course-step .step-copy {
        opacity: .2;
        filter: blur(.2px);
        transform: translateY(20px);
        transition: opacity .62s cubic-bezier(.22,1,.36,1),transform .68s cubic-bezier(.22,1,.36,1),filter .5s ease
    }

    .course-step.is-active .step-copy {
        opacity: 1;
        filter: none;
        transform: none
    }
}

/* Shared language picker */
.language-form {
    position: relative;
    z-index: 30;
    margin-left: auto
}

.language-picker {
    position: relative;
    width: 118px;
    color: #fff
}

.language-trigger {
    width: 118px;
    height: 56px;
    padding: 10px 16px;
    border: 0;
    border-radius: 28px;
    background: rgba(255,255,255,.2);
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font: 500 16px/1.4 Inter,Arial,sans-serif;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background .2s ease,border-radius .2s ease
}

    .language-trigger i {
        width: 8px;
        height: 8px;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: rotate(45deg) translateY(-2px);
        transition: transform .2s ease
    }

.language-picker.is-open .language-trigger {
    border-radius: 28px 28px 0 0;
    background: rgba(255,255,255,.28)
}

    .language-picker.is-open .language-trigger i {
        transform: rotate(225deg) translate(-1px,-1px)
    }

.language-options {
    position: absolute;
    z-index: 2;
    top: 44px;
    left: 0;
    width: 118px;
    padding: 18px 5px 9px;
    border-radius: 0 0 28px 28px;
    background: rgba(255,255,255,.28);
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px)
}

    .language-options:not([hidden]) {
        display: grid
    }

    .language-options button {
        height: 42px;
        padding: 0 4px;
        border: 0;
        background: transparent;
        color: inherit;
        font: 500 16px/1.4 Inter,Arial,sans-serif;
        cursor: pointer
    }

        .language-options button + button {
            border-top: 1px solid rgba(255,255,255,.72)
        }

        .language-options button:hover, .language-options button:focus-visible {
            background: rgba(255,255,255,.12);
            outline: none
        }

.legal-header .language-picker, .contact-header .language-picker, .payment-header .language-picker, .information-header .language-picker, .not-found-header .language-picker {
    color: #27313b
}

.legal-header .language-trigger, .contact-header .language-trigger, .payment-header .language-trigger, .information-header .language-trigger, .not-found-header .language-trigger {
    background: #fff;
    box-shadow: 0 3px 9px rgba(25,34,41,.16)
}

.legal-header .language-picker.is-open .language-trigger, .contact-header .language-picker.is-open .language-trigger, .payment-header .language-picker.is-open .language-trigger, .information-header .language-picker.is-open .language-trigger, .not-found-header .language-picker.is-open .language-trigger {
    background: rgba(255,255,255,.97)
}

.legal-header .language-options, .contact-header .language-options, .payment-header .language-options, .information-header .language-options, .not-found-header .language-options {
    background: rgba(255,255,255,.97);
    box-shadow: 0 8px 12px rgba(25,34,41,.14)
}

    .legal-header .language-options button + button, .contact-header .language-options button + button, .payment-header .language-options button + button, .information-header .language-options button + button, .not-found-header .language-options button + button {
        border-color: #c7cbce
    }

@media(max-width:520px) {
    .language-picker, .language-trigger, .language-options {
        width: 118px
    }

        .language-trigger, .language-options button {
            font-size: 16px
        }
}

/* Fixed phone frame with independently transitioning high-resolution screens. */
@media(min-width:901px) {
    .course-phone { width:310px; height:633px; top:calc(50vh - 316px); filter:drop-shadow(0 7px 8px rgba(0,0,0,.12)); isolation:isolate }
    .course-viewport { position:absolute; z-index:1; left:18px; top:14px; width:274px; height:592px; overflow:hidden; border-radius:32px; background:#fff }
    .course-viewport > img[data-phone] { position:absolute; inset:0; width:100%; height:100%; object-fit:fill; opacity:0; filter:blur(2px); transform:scale(.992); transition:opacity .58s cubic-bezier(.22,1,.36,1),transform .64s cubic-bezier(.22,1,.36,1),filter .46s ease }
    .course-viewport > img[data-phone].is-active { z-index:2; opacity:1; filter:none; transform:scale(1) }
    .course-viewport > img[data-phone].is-leaving { z-index:1; opacity:0 }
    .course-phone[data-direction="down"] .course-viewport > img[data-phone].is-entering { transform:translateY(10px) scale(.995) }
    .course-phone[data-direction="down"] .course-viewport > img[data-phone].is-leaving { transform:translateY(-8px) scale(.992) }
    .course-phone[data-direction="up"] .course-viewport > img[data-phone].is-entering { transform:translateY(-10px) scale(.995) }
    .course-phone[data-direction="up"] .course-viewport > img[data-phone].is-leaving { transform:translateY(8px) scale(.992) }
    .course-phone > .course-phone-frame { position:absolute; z-index:5; inset:0; width:100%; height:100%; object-fit:fill; opacity:1; filter:none; transform:none; transition:none; pointer-events:none }
    .course-steps { margin-top:-633px }
}
@media(max-width:900px) { .mobile-phone { width:250px; border-radius:31px; filter:drop-shadow(0 5px 5px rgba(0,0,0,.12)) } }
@media(max-width:520px) { .mobile-phone { width:190px; border-radius:24px } }
@media(prefers-reduced-motion:reduce) { .course-viewport > img[data-phone] { transition:opacity .01ms linear; filter:none!important; transform:none!important } }
