:root
{
    --navy: #1b2b58; --yellow: #f7ce49; --muted: #71809c; --pale: #f2f5fa; --line: #dce1ea;
}
*
{
    box-sizing: border-box;
}
html
{
    scroll-behavior: smooth;
}
body
{
    margin: 0; background: white; color: var(--navy); font: 14px/1.8 "Segoe UI", sans-serif;
}
a
{
    color: inherit; text-decoration: none;
}
button, input, select
{
    font: inherit;
}
button, summary
{
    cursor: pointer;
}
.wrap
{
    width: min(1070px, calc(100% - 56px)); margin-inline: auto;
}
header, nav, .actions, .section-head
{
    display: flex; align-items: center; gap: 25px;
}
header
{
    height: 95px; justify-content: space-between;
}
.brand
{
    font-size: 23px; font-weight: 800; letter-spacing: -.05em; display: inline-flex; gap: 8px; align-items: center;
}
.logo-mark
{
    background: var(--yellow); width: 28px; height: 28px; border-radius: 6px 6px 6px 0; font-size: 21px; text-align: center; line-height: 28px;
}
nav
{
    font-size: 11px; color: var(--muted);
}
.button, .outline
{
    display: inline-block; border: 1px solid var(--navy); background: var(--navy); color: white; padding: 12px 23px; font-size: 11px; font-weight: 600; border-radius: 100px;
}
.outline
{
    background: white; color: var(--navy); border-color: #b7c1d5;
}
.button:hover, .outline:hover
{
    filter: brightness(1.15);
}
.text-link
{
    border: 0; background: none; color: var(--navy); padding: 8px 0; font-size: 12px;
}
#menu
{
    display: none; border: 0; background: none; color: var(--navy); font-size: 24px;
}
.ticker
{
    background: var(--yellow); overflow: hidden; padding-block: 10px;
}
.ticker-track
{
    width: max-content; display: flex; animation: ticker-scroll 40s linear infinite; font-size: 11px; font-weight: 700; letter-spacing: .15em;
}
.ticker-track:hover
{
    animation-play-state: paused;
}
@keyframes ticker-scroll
{
    to
    {
        transform: translateX(-50%);
    }
}
.hero
{
    padding-block: 65px 45px; text-align: center;
}
.eyebrow
{
    font-size: 9px; font-weight: 600; letter-spacing: .18em;
}
h1, h2, h3
{
    letter-spacing: -.05em; line-height: 1.08; font-weight: 800;
}
h1
{
    font-size: clamp(42px, 5.8vw, 72px); margin-block: 26px;
}
h1 span
{
    position: relative; z-index: 0;
}
h1 span::after
{
    content: ""; height: 18px; position: absolute; bottom: 3px; left: 0; right: 0; z-index: -1; background: var(--yellow); transform: rotate(-2deg);
}
.intro
{
    font-size: 15px; color: var(--muted);
}
.actions
{
    justify-content: center; gap: 25px; margin-block: 28px; flex-wrap: wrap;
}
.hero-proof
{
    display: flex; justify-content: center; flex-wrap: wrap; gap: 25px; color: var(--muted); font-size: 8px; letter-spacing: .12em;
}
.conversation
{
    position: relative; max-width: 800px; margin: 45px auto 20px; padding: 20px 70px;
}
.lesson-card
{
    text-align: left; background: var(--pale); border: 1px solid var(--line); border-radius: 18px; padding: 20px; transform: rotate(-1deg);
}
.lesson-top
{
    font-size: 8px; letter-spacing: .13em; border-bottom: 1px solid var(--line); padding-bottom: 12px;
}
.live-dot
{
    display: inline-block; width: 6px; height: 6px; background: #4a896a; border-radius: 50%; margin-right: 7px;
}
.lesson-content
{
    display: grid; grid-template-columns: 120px 1fr; gap: 25px; align-items: center; padding-top: 20px;
}
.lesson-content small
{
    font-size: 7px; color: var(--muted); letter-spacing: .1em;
}
.lesson-content h3
{
    font-size: 26px; margin: 10px 0 15px;
}
.lesson-content p
{
    font-size: 8px; color: var(--muted);
}
.avatar-art
{
    height: 150px; background: #d9e3ed; border-radius: 70px 70px 5px 5px; overflow: hidden; position: relative;
}
.avatar-art i
{
    position: absolute; left: 38px; top: 27px; width: 48px; height: 60px; background: #ca9b7f; border-radius: 45% 45% 50% 50%; border-top: 14px solid #574237; transform: rotate(5deg);
}
.avatar-art b
{
    position: absolute; left: 10px; bottom: -30px; width: 110px; height: 95px; border-radius: 50% 50% 0 0; background: var(--navy);
}
.progress
{
    height: 5px; background: #dce2ed; border-radius: 10px;
}
.progress i
{
    display: block; width: 65%; height: 100%; background: var(--yellow);
}
.bubble
{
    position: absolute; z-index: 1; background: var(--yellow); padding: 12px 20px; border-radius: 12px 12px 0 12px; box-shadow: 0 5px 20px #1b2b5810;
}
.bubble small
{
    font-size: 7px; letter-spacing: .1em;
}
.bubble p
{
    font-size: 12px; margin: 5px 0 0;
}
.first
{
    top: 0; left: -20px; transform: rotate(-5deg);
}
.last
{
    bottom: 0; right: -25px; transform: rotate(4deg); background: #e0e8f4;
}
.note
{
    font-size: 10px !important; color: var(--muted);
}
section:not(.hero)
{
    padding-block: 75px;
}
.muted
{
    background: var(--pale);
}
h2
{
    font-size: clamp(31px, 3.8vw, 47px); margin-block: 20px 28px;
}
h3
{
    font-size: 23px;
}
#language-grid
{
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 35px;
}
.language-card
{
    background: white; border: 1px solid var(--line); border-radius: 12px; padding: 22px; text-align: left; color: var(--navy);
}
.language-card[aria-pressed="true"]
{
    border: 2px solid var(--navy); padding: 21px; background: #fff8df;
}
.language-card .code
{
    display: block; font-size: 30px; font-weight: 800; color: #a3afc6;
}
.language-card strong
{
    display: block; font-size: 17px; margin-top: 12px;
}
.language-card small
{
    color: var(--muted); font-size: 9px;
}
.planner-grid, .business-grid, .enrol
{
    display: grid; grid-template-columns: 1fr 1fr; gap: 75px;
}
aside
{
    background: #fff7da; border-radius: 20px; padding: 30px;
}
aside h3
{
    font-size: 28px;
}
.path-steps
{
    display: grid; gap: 9px; font-size: 11px; margin-block: 25px;
}
.course
{
    display: grid; grid-template-columns: 1fr auto; gap: 35px; border-top: 1px solid #cdd5e3; padding-block: 28px;
}
.course p
{
    color: var(--muted); font-size: 13px; max-width: 650px;
}
.course .cost
{
    font-size: 25px; color: var(--navy);
}
.course.unavailable
{
    opacity: .7;
}
button:disabled
{
    cursor: default; opacity: .45;
}
.section-head
{
    justify-content: space-between; flex-wrap: wrap;
}
#teacher-count
{
    color: var(--muted); font-size: 11px;
}
#teacher-grid
{
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 25px;
}
.teacher
{
    padding: 28px; background: var(--pale); border-radius: 15px; border: 1px solid var(--line);
}
.teacher .initial
{
    width: 60px; height: 60px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-size: 20px; font-weight: 800;
}
.teacher p
{
    font-size: 12px; color: var(--muted);
}
.business
{
    background: var(--navy); color: white;
}
.business .eyebrow
{
    color: var(--yellow);
}
.business .button
{
    background: var(--yellow); color: var(--navy);
}
.business p
{
    color: #c7d2e8; font-size: 13px;
}
.business-list p
{
    padding-bottom: 20px; border-bottom: 1px solid #536086;
}
.business .note
{
    color: #bbc8e2;
}
.prices
{
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 35px;
}
.prices article
{
    padding: 28px; border: 1px solid var(--line); border-radius: 18px;
}
.prices small
{
    font-size: 8px; letter-spacing: .12em;
}
.prices p:not(.cost), .prices ul
{
    font-size: 12px; color: var(--muted);
}
.prices ul
{
    padding-left: 18px; min-height: 100px;
}
.cost
{
    font-size: 38px; font-weight: 800; letter-spacing: -.04em;
}
.cost span
{
    font-size: 10px; font-weight: 400; letter-spacing: 0;
}
.prices .featured
{
    background: var(--navy); color: white; border-color: var(--navy);
}
.featured p:not(.cost), .featured ul
{
    color: #c7d2e8;
}
.featured .button
{
    background: var(--yellow); color: var(--navy);
}
.faq
{
    max-width: 760px;
}
details
{
    padding-block: 20px; border-bottom: 1px solid #cdd5e3;
}
details p
{
    color: var(--muted); font-size: 13px;
}
.enrol h2 span
{
    background: #fff1b7;
}
label
{
    display: grid; gap: 6px; font-size: 11px; margin-block: 12px;
}
input, select
{
    min-width: 0; width: 100%; border: 1px solid #bec9dd; padding: 11px; color: var(--navy); background: white; border-radius: 7px;
}
.consent
{
    display: flex; align-items: start; gap: 9px;
}
.consent input
{
    width: 17px; height: 17px; flex-shrink: 0;
}
[role="status"]
{
    font-size: 12px; color: #384d7b; overflow-wrap: anywhere;
}
[hidden]
{
    display: none !important;
}
footer
{
    background: var(--navy); color: white; padding-block: 45px; font-size: 12px;
}
footer .note
{
    color: #c0cce2;
}
dialog
{
    width: min(560px, calc(100% - 32px)); max-height: 90vh; overflow-y: auto; padding: 30px; border: 0; border-radius: 20px; color: var(--navy); background: white;
}
dialog::backdrop
{
    background: #102044b8;
}
#check-form label
{
    display: flex; gap: 10px; align-items: start; padding: 15px; background: var(--pale); border-radius: 10px;
}
#check-form input
{
    width: 17px; height: 17px; flex-shrink: 0;
}
:focus-visible
{
    outline: 3px solid #b18314; outline-offset: 4px;
}
@media (max-width: 767px)
{
    .wrap
    {
        width: calc(100% - 40px);
    }
    header
    {
        height: 80px; gap: 15px; position: relative;
    }
    .brand
    {
        font-size: 21px;
    }
    header > .button
    {
        padding: 9px 14px; margin-left: auto;
    }
    #menu
    {
        display: block;
    }
    nav
    {
        display: none; position: absolute; top: 80px; left: -20px; right: -20px; padding: 25px; background: white; z-index: 4; border-bottom: 1px solid var(--line);
    }
    nav.open
    {
        display: grid;
    }
    .hero
    {
        padding-top: 40px;
    }
    h1
    {
        font-size: 43px;
    }
    .intro
    {
        font-size: 13px;
    }
    .intro br
    {
        display: none;
    }
    .conversation
    {
        padding: 30px 0; margin-top: 55px;
    }
    .lesson-card
    {
        transform: none; padding: 15px;
    }
    .lesson-content
    {
        grid-template-columns: 80px 1fr; gap: 15px;
    }
    .avatar-art
    {
        height: 130px;
    }
    .avatar-art i
    {
        left: 18px;
    }
    .avatar-art b
    {
        left: -15px;
    }
    .lesson-content h3
    {
        font-size: 22px;
    }
    .first
    {
        left: 0; top: -20px;
    }
    .last
    {
        right: 0; bottom: -10px;
    }
    .bubble
    {
        padding: 9px 12px;
    }
    .bubble p
    {
        font-size: 10px;
    }
    #language-grid
    {
        grid-template-columns: 1fr 1fr; gap: 12px;
    }
    .language-card
    {
        padding: 18px;
    }
    .language-card[aria-pressed="true"]
    {
        padding: 17px;
    }
    .planner-grid, .business-grid, .enrol, .prices, #teacher-grid, .course
    {
        grid-template-columns: 1fr; gap: 28px;
    }
    section:not(.hero)
    {
        padding-block: 55px;
    }
    .hero-proof
    {
        gap: 13px;
    }
}
@media (prefers-reduced-motion: reduce)
{
    html
    {
        scroll-behavior: auto;
    }
    .ticker-track
    {
        animation: none;
    }
}
