:root {
    --forest: #163f3a;
    --forest-dark: #0f302c;
    --ink: #18302e;
    --muted: #6d7975;
    --paper: #f7f3e9;
    --surface: #fffdf8;
    --line: #dcd9cf;
    --yellow: #f5d95f;
    --mint: #a9dfc7;
    --blue: #a9d6ef;
    --coral: #fa987a;
    --violet: #c0b0e9;
    --green: #71bc8e;
    --pink: #edaec3;
    --red: #c85b51;
    --shadow: 0 28px 70px rgba(22, 63, 58, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; }

.eng-header {
    width: min(1180px, calc(100% - 48px));
    min-height: 84px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(24, 48, 46, .14);
}
.eng-header > p { margin: 0; color: var(--muted); font-size: 13px; }
.eng-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 850;
    letter-spacing: -.03em;
    text-decoration: none;
}
.eng-brand__mark {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 50% 50% 50% 15%;
    color: var(--forest);
    background: var(--yellow);
    font-family: Georgia, serif;
    font-size: 17px;
    font-style: italic;
}

.eng-hero {
    width: min(1180px, calc(100% - 48px));
    min-height: 630px;
    margin: auto;
    padding: 74px 0 84px;
    display: grid;
    grid-template-columns: 1fr .95fr;
    align-items: center;
    gap: 70px;
}
.eng-kicker {
    margin: 0 0 19px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--forest);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.eng-kicker::before { content: ""; width: 20px; height: 3px; border-radius: 8px; background: var(--yellow); }
.eng-kicker--light { color: #e5f3ef; }
.eng-hero h1,
.eng-session__heading h1 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(58px, 7vw, 94px);
    font-weight: 400;
    line-height: .93;
    letter-spacing: -.06em;
}
.eng-hero h1 em { color: var(--forest); font-weight: 400; }
.eng-hero__lead {
    max-width: 600px;
    margin: 30px 0 34px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}
.hero-actions { display: flex; align-items: center; gap: 25px; }
.text-link { color: var(--forest); font-size: 13px; font-weight: 750; text-underline-offset: 4px; }

.eng-button {
    min-height: 50px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 820;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms ease, background 160ms ease, opacity 160ms ease;
}
.eng-button:hover { transform: translateY(-2px); }
.eng-button:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.eng-button--primary { color: #fff; background: var(--forest); box-shadow: 0 13px 28px rgba(22,63,58,.19); }
.eng-button--primary:hover { background: var(--forest-dark); }
.eng-button--accent { color: var(--forest-dark); background: var(--yellow); }
.eng-button--outline { color: var(--ink); border-color: var(--line); background: transparent; }
.eng-button:focus-visible,
.eng-back:focus-visible,
.eng-card:focus-visible,
.eng-option:focus-visible,
.eng-result__close:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.word-scene {
    position: relative;
    min-height: 450px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 46% 46% 30px 30px;
    background: var(--forest);
}
.word-scene::before,
.word-scene::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.word-scene::before { width: 350px; height: 350px; }
.word-scene::after { width: 265px; height: 265px; }
.speech-card {
    position: absolute;
    z-index: 2;
    width: 320px;
    padding: 31px;
    border-radius: 24px 24px 24px 7px;
    box-shadow: 0 25px 50px rgba(4,29,26,.3);
}
.speech-card--back {
    min-height: 150px;
    display: flex; align-items: center;
    color: rgba(22,63,58,.68); background: var(--mint);
    font-family: Georgia, serif; font-size: 35px;
    transform: translate(-45px,-70px) rotate(-7deg);
}
.speech-card--front {
    display: grid; gap: 10px;
    background: var(--surface);
    transform: translate(38px,45px) rotate(3deg);
}
.speech-card small { color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.speech-card strong { color: var(--forest); font-family: Georgia, serif; font-size: 31px; font-weight: 400; }
.speech-card span { width: fit-content; padding: 8px 11px; border-radius: 9px; color: var(--forest); background: var(--yellow); font-size: 12px; font-weight: 800; }
.scene-word { position: absolute; z-index: 1; color: rgba(255,255,255,.15); font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.scene-word--hello { top: 48px; left: 45px; }
.scene-word--learn { right: 45px; top: 85px; transform: rotate(90deg); }
.scene-word--speak { left: 50px; bottom: 48px; }
.sound-badge {
    position: absolute; z-index: 3; top: 55px; right: 55px;
    width: 55px; height: 55px; display: grid; place-items: center;
    border-radius: 50%; color: var(--forest); background: var(--yellow); font-size: 12px; font-weight: 900;
}

.progress-panel {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 22px 26px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,253,248,.7);
}
.progress-panel > div:first-child { display: grid; gap: 5px; }
.progress-panel__eyebrow { color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.progress-panel strong { font-size: 15px; }
.progress-panel p { margin: 0; color: var(--muted); font-size: 12px; }
.route-progress { height: 8px; overflow: hidden; border-radius: 99px; background: #dfe2dc; }
.route-progress i { width: 0; height: 100%; display: block; border-radius: inherit; background: var(--forest); transition: width 400ms ease; }

.diagnostic-note {
    width: min(1180px, calc(100% - 48px));
    margin: 90px auto 0;
    padding: 44px;
    display: grid;
    grid-template-columns: 150px 1fr 330px;
    align-items: start;
    gap: 42px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: var(--surface);
    box-shadow: 0 18px 50px rgba(22, 63, 58, .07);
}
.diagnostic-note__label {
    display: grid;
    gap: 10px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.diagnostic-note__label span {
    width: fit-content;
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--forest);
    background: var(--yellow);
}
.diagnostic-note h2 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(31px, 3vw, 43px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.045em;
}
.diagnostic-note > div:nth-child(2) p {
    max-width: 620px;
    margin: 18px 0 0;
    color: var(--muted);
    line-height: 1.65;
}
.diagnostic-note ul {
    margin: 0;
    padding: 0;
    display: grid;
    list-style: none;
    border-top: 1px solid var(--line);
}
.diagnostic-note li {
    padding: 13px 0;
    display: grid;
    gap: 4px;
    border-bottom: 1px solid var(--line);
}
.diagnostic-note li strong { color: var(--forest); font-size: 13px; }
.diagnostic-note li span { color: var(--muted); font-size: 11px; }

.real-programs {
    width: min(1180px, calc(100% - 48px));
    margin: auto;
    padding: 110px 0 30px;
}
.program-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.program-card {
    min-height: 650px;
    padding: 38px;
    display: flex;
    flex-direction: column;
    border-radius: 28px;
    overflow: hidden;
}
.program-card--english { color: #fff; background: var(--forest); }
.program-card--rhetoric { color: var(--ink); background: var(--yellow); }
.program-card__top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.program-card__top span:last-child {
    padding: 7px 10px;
    border: 1px solid currentColor;
    border-radius: 999px;
    opacity: .8;
}
.program-card__title {
    margin: 55px 0 25px;
    display: grid;
    grid-template-columns: 74px 1fr;
    align-items: start;
    gap: 22px;
}
.program-card__title > span {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    border-radius: 50% 50% 50% 18%;
    color: var(--forest);
    background: var(--yellow);
    font-family: Georgia, serif;
    font-size: 24px;
    font-style: italic;
}
.program-card--rhetoric .program-card__title > span { color: #fff; background: var(--forest); }
.program-card__title p {
    margin: 2px 0 7px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .7;
}
.program-card h3 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(32px, 3.2vw, 44px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -.045em;
}
.program-card__lead { margin: 0 0 28px; font-size: 15px; line-height: 1.65; opacity: .78; }
.program-card ul { margin: 0 0 32px; padding: 0; display: grid; list-style: none; }
.program-card li {
    padding: 13px 0 13px 27px;
    position: relative;
    border-bottom: 1px solid currentColor;
    font-size: 13px;
    line-height: 1.45;
    border-color: rgba(255,255,255,.16);
}
.program-card--rhetoric li { border-color: rgba(24,48,46,.16); }
.program-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--yellow);
    font-weight: 900;
}
.program-card--rhetoric li::before { color: var(--forest); }
.program-link {
    margin-top: auto;
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid currentColor;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
    text-underline-offset: 4px;
}
.program-link span { font-size: 20px; }

.learning-path {
    width: min(1180px, calc(100% - 48px));
    margin: auto;
    padding: 105px 0;
}
.eng-section-heading { margin-bottom: 46px; display: flex; align-items: end; justify-content: space-between; gap: 45px; }
.eng-section-heading h2,
.eng-features h2 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(40px,4.5vw,60px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.05em;
}
.eng-section-heading > p { width: 380px; margin: 0 0 4px; color: var(--muted); line-height: 1.6; }
.lesson-path { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.eng-card {
    min-height: 475px;
    padding: 24px;
    display: flex; flex-direction: column;
    border: 1px solid rgba(24,48,46,.12);
    border-radius: 22px;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
}
.eng-card:hover { z-index: 1; transform: translateY(-7px); box-shadow: var(--shadow); }
.eng-card--yellow { background: var(--yellow); }
.eng-card--mint { background: var(--mint); }
.eng-card--blue { background: var(--blue); }
.eng-card--coral { background: var(--coral); }
.eng-card--violet { background: var(--violet); }
.eng-card--green { background: var(--green); }
.eng-card--pink { background: var(--pink); }
.eng-card--navy { color: #fff; background: var(--forest); }
.eng-card__top,
.eng-card__bottom { display: flex; align-items: center; justify-content: space-between; }
.eng-card__number { font-family: Georgia,serif; font-size: 28px; font-style: italic; }
.level-pill { padding: 6px 9px; border: 1px solid currentColor; border-radius: 99px; font-size: 9px; font-weight: 900; text-transform: uppercase; opacity: .8; }
.eng-card__copy { margin: 35px 0 25px; }
.eng-card__copy p { margin: 0 0 9px; font-size: 10px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.eng-card__copy h3 { margin: 0 0 11px; font-family: Georgia,serif; font-size: 29px; font-weight: 400; letter-spacing: -.035em; }
.eng-card__detail {
    padding: 12px 0;
    display: grid;
    gap: 5px;
    border-top: 1px solid rgba(24,48,46,.14);
}
.eng-card__detail small {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .64;
}
.eng-card__detail span { font-size: 12px; line-height: 1.4; }
.eng-card__detail--live {
    margin-top: 3px;
    padding: 12px;
    border: 0;
    border-radius: 11px;
    color: var(--forest);
    background: rgba(255,255,255,.5);
}
.eng-card--navy .eng-card__detail { border-color: rgba(255,255,255,.16); }
.eng-card--navy .eng-card__detail--live { color: #fff; background: rgba(255,255,255,.11); }
.eng-card__bottom { padding-top: 17px; border-top: 1px solid currentColor; font-size: 10px; font-weight: 850; text-transform: uppercase; }
.eng-card__bottom { border-color: rgba(24,48,46,.18); }
.eng-card--navy .eng-card__bottom { border-color: rgba(255,255,255,.2); }
.completion-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--forest); font-size: 17px; }
.eng-card--navy .completion-mark { color: var(--forest); background: var(--yellow); }
.eng-card.is-complete .completion-mark { color: var(--forest); background: var(--surface); }

.eng-features {
    width: min(1260px, calc(100% - 28px));
    margin: 0 auto 14px;
    padding: 70px max(34px,calc((100% - 1120px)/2));
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 70px;
    border-radius: 32px;
    color: #fff;
    background: var(--forest);
}
.eng-features__grid { display: grid; grid-template-columns: repeat(3,1fr); }
.eng-features article { padding: 10px 22px; border-left: 1px solid rgba(255,255,255,.18); }
.eng-features article > span { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; color: var(--forest); background: var(--yellow); font-size: 12px; font-weight: 900; }
.eng-features h3 { margin: 24px 0 10px; font-size: 15px; }
.eng-features article p { margin: 0; color: #bcd0cb; font-size: 12px; line-height: 1.55; }
.eng-footer { width: min(1180px,calc(100% - 48px)); min-height: 90px; margin: auto; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 13px; text-align: center; }

.contact-callout {
    width: min(1260px, calc(100% - 28px));
    margin: 100px auto 14px;
    padding: 75px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 32px;
    color: #fff;
    background: var(--forest);
    text-align: center;
}
.contact-callout h2 {
    max-width: 850px;
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(38px, 5vw, 60px);
    font-weight: 400;
    line-height: 1.03;
    letter-spacing: -.05em;
}
.contact-callout > p:not(.eng-kicker) { max-width: 650px; margin: 22px 0 30px; color: #bfd1cc; line-height: 1.6; }

/* Lesson */
.eng-session { width: min(1040px,calc(100% - 48px)); margin: auto; padding: 34px 0 90px; }
.eng-back { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; font-weight: 750; text-decoration: none; }
.eng-session__heading { margin: 46px 0 38px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 50px; }
.eng-session__heading h1 { max-width: 690px; font-size: clamp(49px,6vw,72px); }
.eng-session__heading > div:last-child > p { margin: 14px 0 3px; color: var(--muted); line-height: 1.55; }
.unit-pill { padding: 7px 10px; display: inline-block; border: 1px solid var(--line); border-radius: 99px; color: var(--forest); font-size: 9px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }

.eng-stats {
    padding: 14px;
    display: grid;
    grid-template-columns: repeat(3,100px) 100px 1fr auto;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255,253,248,.8);
}
.eng-stats > div { min-height: 55px; padding: 5px 15px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.eng-stats span { margin-bottom: 6px; color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.eng-stats strong { color: var(--forest); font-size: 21px; font-variant-numeric: tabular-nums; }
.eng-stats strong span { color: inherit; font-size: inherit; letter-spacing: 0; }
.eng-stats strong i { color: #e7b72e; font-size: 14px; font-style: normal; }
.eng-stats .eng-score { border-right: 0; }
.eng-stats .eng-button { min-height: 46px; padding: 0 17px; font-size: 12px; }

.quiz-stage {
    position: relative;
    min-height: 540px;
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    background-color: var(--surface);
    background-image: radial-gradient(rgba(22,63,58,.07) 1px,transparent 1px);
    background-size: 25px 25px;
    box-shadow: var(--shadow);
}
.quiz-start,
.quiz-content { min-height: 540px; padding: 45px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.start-orbit { width: 112px; height: 112px; display: grid; place-items: center; border: 1px solid rgba(22,63,58,.22); border-radius: 50%; }
.start-orbit span { width: 79px; height: 79px; display: grid; place-items: center; border-radius: 50% 50% 50% 17%; color: var(--forest); background: var(--yellow); font-family: Georgia,serif; font-size: 24px; font-style: italic; }
.quiz-start > p { margin: 22px 0 13px; color: var(--forest); font-size: 10px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.quiz-start h2 { margin: 0; font-family: Georgia,serif; font-size: 45px; font-weight: 400; letter-spacing: -.04em; }
.quiz-start > span { margin: 11px 0 29px; color: var(--muted); }
.quiz-content { align-items: stretch; }
.question-topline { width: min(760px,100%); margin: 0 auto 33px; display: flex; align-items: center; justify-content: space-between; }
.question-topline p { margin: 0; color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.review-time { color: var(--forest); font-size: 10px; font-weight: 800; }
.question-prompt { min-height: 100px; max-width: 850px; margin: 0 auto; display: flex; align-items: center; justify-content: center; font-family: Georgia,serif; font-size: clamp(36px,5.2vw,62px); font-weight: 400; line-height: 1.12; letter-spacing: -.035em; }
.eng-options { width: min(780px,100%); margin: 43px auto 0; display: grid; grid-template-columns: repeat(2,1fr); gap: 11px; }
.eng-option {
    min-height: 70px;
    position: relative;
    padding: 12px 20px 12px 48px;
    border: 2px solid #e0e2dd;
    border-radius: 16px;
    color: var(--ink); background: #fff;
    font-size: 15px; font-weight: 750;
    text-align: left; cursor: pointer;
    transition: transform 120ms ease,border 120ms ease,background 120ms ease;
}
.eng-option:hover { border-color: var(--forest); transform: translateY(-2px); }
.eng-option:disabled { cursor: default; transform: none; }
.eng-option.is-correct { color: #fff; border-color: var(--forest); background: var(--forest); }
.eng-option.is-wrong { color: #fff; border-color: var(--red); background: var(--red); }
.eng-option__key { position: absolute; left: 15px; top: 50%; width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); font-size: 9px; transform: translateY(-50%); }
.eng-option.is-correct .eng-option__key,
.eng-option.is-wrong .eng-option__key { color: #fff; border-color: rgba(255,255,255,.4); }
.option-hint { margin: 18px 0 0; color: var(--muted); font-size: 10px; text-align: center; }

.answer-toast {
    position: absolute; z-index: 4; left: 50%; bottom: 24px;
    width: min(820px,calc(100% - 36px));
    min-height: 82px;
    padding: 19px 24px;
    display: grid; grid-template-columns: minmax(130px, auto) 1fr; align-items: center; gap: 20px;
    border: 2px solid rgba(255,255,255,.4);
    border-radius: 19px;
    color: #fff;
    box-shadow: 0 18px 45px rgba(10,42,37,.25);
    opacity: 0; transform: translate(-50%,15px);
    transition: opacity 150ms ease,transform 150ms ease;
    pointer-events: none;
}
.answer-toast.is-visible { opacity: 1; transform: translate(-50%,0); }
.answer-toast.is-correct { background: var(--forest); }
.answer-toast.is-wrong { background: var(--red); }
.answer-toast strong { font-family: Georgia,serif; font-size: 20px; font-weight: 400; }
.answer-toast span { color: rgba(255,255,255,.92); font-size: 14px; line-height: 1.45; }

.eng-result {
    width: min(780px,calc(100% - 28px));
    max-height: calc(100vh - 28px);
    padding: 0; overflow: auto;
    border: 0; border-radius: 28px;
    color: var(--ink); background: var(--surface);
    box-shadow: 0 34px 110px rgba(5,30,27,.35);
}
.eng-result::backdrop { background: rgba(9,42,37,.76); backdrop-filter: blur(6px); }
.eng-result__inner { position: relative; padding: clamp(30px,6vw,57px); }
.eng-result__close { position: absolute; top: 20px; right: 20px; width: 39px; height: 39px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: transparent; font-size: 24px; cursor: pointer; }
.eng-result h2 { margin: 0; font-family: Georgia,serif; font-size: clamp(39px,5vw,55px); font-weight: 400; letter-spacing: -.045em; }
.eng-result h2 strong { color: var(--forest); font-weight: 400; }
.eng-result__message { max-width: 600px; margin: 15px 0 25px; color: var(--muted); line-height: 1.55; }
.eng-result__summary { display: grid; grid-template-columns: 135px 1fr; align-items: center; gap: 25px; }
.accuracy-dial { --accuracy: 0deg; width: 130px; height: 130px; padding: 10px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--yellow) var(--accuracy),#e2e5df 0); }
.accuracy-dial > div { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: var(--surface); }
.accuracy-dial strong { color: var(--forest); font-size: 24px; }
.accuracy-dial span { color: var(--muted); font-size: 9px; }
.eng-result__metrics { display: grid; grid-template-columns: repeat(2,1fr); border: 1px solid var(--line); border-radius: 15px; }
.eng-result__metrics > div { padding: 15px; display: grid; gap: 5px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eng-result__metrics > div:nth-child(2n) { border-right: 0; }
.eng-result__metrics > div:nth-last-child(-n+2) { border-bottom: 0; }
.eng-result__metrics span { color: var(--muted); font-size: 9px; }
.eng-result__metrics strong { color: var(--forest); font-size: 14px; }
.lesson-goal { margin-top: 22px; padding: 15px 17px; border-radius: 13px; font-size: 12px; line-height: 1.5; }
.lesson-goal.is-complete { color: #1b5e4e; background: #e1f2e7; }
.lesson-goal.is-progress { color: #765827; background: #fff0cb; }
.mistake-review { margin-top: 28px; }
.mistake-review__heading { margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; }
.mistake-review h3 { margin: 0; font-family: Georgia,serif; font-size: 23px; font-weight: 400; }
.mistake-review__heading span { color: var(--muted); font-size: 10px; }
.mistake-list { max-height: 230px; overflow: auto; display: grid; gap: 8px; }
.mistake-item { padding: 13px 15px; display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; border: 1px solid var(--line); border-radius: 12px; }
.mistake-item strong { font-size: 13px; }
.mistake-item > span { color: var(--forest); font-size: 12px; font-weight: 800; }
.mistake-item small { grid-column: 1/-1; color: var(--muted); line-height: 1.4; }
.mistake-list__empty { padding: 20px; border-radius: 13px; color: var(--forest); background: #e1f2e7; text-align: center; }
.eng-result__actions { margin-top: 28px; display: flex; gap: 10px; }

@media (max-width: 980px) {
    .eng-hero { grid-template-columns: 1fr .8fr; gap: 35px; }
    .word-scene { min-height: 390px; }
    .speech-card { width: 270px; }
    .lesson-path { grid-template-columns: repeat(2,1fr); }
    .diagnostic-note { grid-template-columns: 120px 1fr; }
    .diagnostic-note ul { grid-column: 2; }
    .eng-features { grid-template-columns: 1fr; gap: 40px; }
    .eng-stats { grid-template-columns: repeat(5,1fr); }
    .eng-stats .eng-button { grid-column: 1/-1; }
}

@media (max-width: 720px) {
    .eng-header,.eng-hero,.progress-panel,.learning-path,.eng-footer,.eng-session { width: min(100% - 28px,1180px); }
    .eng-header > p { display: none; }
    .eng-hero { min-height: auto; padding: 54px 0 65px; grid-template-columns: 1fr; }
    .eng-hero h1 { font-size: clamp(54px,15vw,75px); }
    .hero-actions { align-items: flex-start; flex-direction: column; }
    .word-scene { min-height: 340px; }
    .progress-panel { grid-template-columns: 1fr; gap: 14px; }
    .progress-panel p { display: none; }
    .diagnostic-note,
    .real-programs { width: min(100% - 28px, 1180px); }
    .diagnostic-note { margin-top: 60px; padding: 30px 24px; grid-template-columns: 1fr; gap: 25px; }
    .diagnostic-note ul { grid-column: auto; }
    .real-programs { padding: 75px 0 20px; }
    .program-grid { grid-template-columns: 1fr; }
    .program-card { min-height: 620px; padding: 30px 24px; }
    .eng-section-heading,.eng-session__heading { display: block; }
    .eng-section-heading > p,.eng-session__heading > div:last-child { width: auto; margin-top: 20px; }
    .learning-path { padding: 75px 0; }
    .lesson-path { grid-template-columns: 1fr; }
    .eng-card { min-height: 455px; }
    .eng-features { padding: 48px 24px; }
    .eng-features__grid { grid-template-columns: 1fr; }
    .eng-features article { padding: 22px 0; display: grid; grid-template-columns: auto 1fr; gap: 0 17px; border-left: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
    .eng-features article:last-child { border-bottom: 0; }
    .eng-features article > span { grid-row: span 2; }
    .eng-features article h3 { margin: 3px 0 7px; }
    .eng-session__heading h1 { font-size: 48px; }
    .eng-stats { grid-template-columns: repeat(3,1fr); padding: 10px; }
    .eng-stats > div { padding: 5px 9px; }
    .eng-stats .eng-score { grid-column: span 2; border-top: 1px solid var(--line); }
    .eng-stats > div:nth-child(4) { border-top: 1px solid var(--line); }
    .quiz-stage,.quiz-start,.quiz-content { min-height: 560px; }
    .quiz-start,.quiz-content { padding: 30px 18px; }
    .question-prompt { font-size: clamp(34px,10vw,48px); }
    .eng-options { margin-top: 32px; grid-template-columns: 1fr; }
    .eng-option { min-height: 59px; }
    .answer-toast {
        bottom: 14px;
        width: calc(100% - 24px);
        min-height: 100px;
        padding: 16px 18px;
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .answer-toast strong { font-size: 18px; }
    .answer-toast span { font-size: 13px; }
    .eng-result__summary { grid-template-columns: 1fr; }
    .accuracy-dial { margin: auto; }
    .eng-result__actions { flex-direction: column; }
    .contact-callout { margin-top: 70px; padding: 55px 22px; }
}

@media (max-width: 450px) {
    .word-scene { min-height: 305px; }
    .speech-card { width: 225px; padding: 23px; }
    .speech-card--back { transform: translate(-30px,-55px) rotate(-7deg); }
    .speech-card--front { transform: translate(24px,38px) rotate(3deg); }
    .speech-card strong { font-size: 25px; }
    .sound-badge { top: 26px; right: 25px; }
    .eng-result__metrics { grid-template-columns: 1fr; }
    .eng-result__metrics > div { border-right: 0; border-bottom: 1px solid var(--line) !important; }
    .eng-result__metrics > div:last-child { border-bottom: 0 !important; }
    .program-card__title { grid-template-columns: 1fr; margin-top: 40px; }
    .program-card__title > span { width: 58px; height: 58px; }
    .program-card h3 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
    *,*::before,*::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
