:root { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #183153; background: #f7f9fc; scroll-behavior: smooth; }
* { box-sizing: border-box; }
body { margin: 0; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
.topbar { max-width: 1160px; margin: auto; padding: 22px 32px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-weight: 850; font-size: 1.35rem; letter-spacing: -.04em; }
.brand span { color: #ed745a; }
nav { display: flex; gap: 32px; font-weight: 650; color: #50627a; }
nav a:hover { color: #ed745a; }
main { max-width: 1160px; margin: auto; padding: 0 32px; }
.hero { margin-top: 20px; min-height: 430px; border-radius: 30px; background: #183153; color: white; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; overflow: hidden; padding: 52px 64px; }
.eyebrow { color: #ed745a; text-transform: uppercase; letter-spacing: .13em; font-size: .8rem; font-weight: 850; margin: 0 0 16px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.3rem, 5vw, 4.1rem); line-height: 1.08; letter-spacing: -.055em; max-width: 620px; margin-bottom: 20px; }
.hero p:not(.eyebrow) { color: #cbd6e5; line-height: 1.7; max-width: 500px; }
.button { display: inline-flex; gap: 24px; align-items: center; margin-top: 18px; background: #f5bc67; color: #183153; font-weight: 800; border-radius: 12px; padding: 15px 21px; }
.button:hover { background: #ffcc7e; }
.hero-card { min-height: 310px; position: relative; }
.speech { position: absolute; display: block; border-radius: 20px; padding: 16px 25px; font-size: 1.25rem; font-weight: 800; box-shadow: 0 16px 25px #101f3470; transform: rotate(-5deg); }
.speech-one { top: 24px; left: 15%; background: #f5bc67; color: #183153; }
.speech-two { top: 115px; right: 0; background: #fff; color: #183153; transform: rotate(5deg); }
.speech-three { bottom: 10px; left: 18%; background: #ef826a; color: #fff; transform: rotate(-3deg); }
.overview { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 62px 4px 45px; border-bottom: 1px solid #dde5ee; }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.04em; margin-bottom: 0; }
.progress-summary { width: min(360px, 100%); }
.progress-summary strong { display: block; margin-bottom: 14px; }
.progress-track { height: 12px; border-radius: 99px; background: #dce6f1; overflow: hidden; }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: #ed745a; transition: width .3s; }
.lessons { padding: 60px 0; }
.lesson-list { display: grid; gap: 18px; margin-top: 30px; }
.lesson-card { background: #fff; border: 1px solid #e4eaf1; border-radius: 20px; padding: 24px; display: flex; align-items: center; gap: 24px; box-shadow: 0 7px 24px #1831530b; }
.lesson-icon { width: 72px; height: 72px; display: grid; place-items: center; flex: none; border-radius: 17px; background: #fdf0dd; font-size: 2rem; }
.lesson-card:nth-child(2) .lesson-icon { background: #e6efff; }
.lesson-card:nth-child(3) .lesson-icon { background: #e7f5ee; }
.lesson-content { flex: 1; }
.lesson-number { color: #ed745a; font-weight: 850; letter-spacing: .1em; font-size: .72rem; }
.lesson-content h3 { font-size: 1.25rem; margin: 6px 0; }
.lesson-content p { color: #62738a; margin: 0; }
.lesson-action { background: #edf3fa; border: 0; border-radius: 10px; padding: 13px 17px; color: #183153; font-weight: 800; cursor: pointer; }
.lesson-action:hover, .choice:hover:not(:disabled) { background: #dbe8f8; }
.practice { background: #fff; border-radius: 24px; padding: 40px; margin: 0 0 60px; box-shadow: 0 7px 24px #1831530b; }
.practice > div > p:not(.eyebrow) { color: #62738a; margin-top: 12px; }
.word-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px 0; }
.word-card { background: #f5f8fc; border-radius: 14px; padding: 22px; display: grid; gap: 8px; }
.word-card strong { font-size: 1.15rem; }
.word-card span { color: #62738a; }
.question { border-top: 1px solid #e4eaf1; padding-top: 26px; }
.question h3 { font-size: 1.25rem; }
.choices { display: flex; flex-wrap: wrap; gap: 12px; }
.choice { border: 1px solid #d5e1ee; background: #fff; border-radius: 10px; padding: 12px 18px; cursor: pointer; color: #183153; }
.choice:disabled { cursor: default; opacity: .65; }
.feedback { min-height: 25px; margin: 18px 0 0; font-weight: 750; }
.success { color: #238257; }
.retry { color: #b65e3c; }
footer { text-align: center; padding: 30px; color: #62738a; }
@media (max-width: 760px) { .topbar, main { padding-left: 20px; padding-right: 20px; } .hero { grid-template-columns: 1fr; padding: 40px 28px; } .hero-card { min-height: 220px; } .speech-one { top: 10px; left: 5%; } .speech-two { top: 85px; } .speech-three { bottom: 0; } .overview { align-items: stretch; flex-direction: column; gap: 24px; } .word-grid { grid-template-columns: 1fr; } .lesson-card { flex-wrap: wrap; } .lesson-action { width: 100%; } }
@media (max-width: 440px) { nav { gap: 14px; font-size: .9rem; } .brand { font-size: 1.1rem; } .hero-card { min-height: 250px; } .speech { font-size: 1rem; } .lesson-icon { width: 55px; height: 55px; } .practice { padding: 24px; } }
