:root {
  --blue: #294bb8;
  --blue-dark: #19358f;
  --brand-navy: #071d49;
  --brand-orange: #ff8a3d;
  --ink: #07122f;
  --muted: #5c6580;
  --line: #d7ddec;
  --pale: #eef1fa;
  --white: #fff;
  --max: 1440px;
  --gutter: clamp(24px, 5vw, 76px);
  --section-space: 64px;
  --heading-content-gap: 24px;
  --section-lead-size: 17px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.section-shell { width: min(100%, var(--max)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section-rule { border-top: 1px solid var(--line); }
.courses, .level-band, .mock-section, .social-section, .contact-band { scroll-margin-top: 80px; }

.site-header { width: 100%; height: 80px; max-width: none; margin: 0; padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); display: flex; align-items: center; justify-content: space-between; gap: 28px; background: rgba(255,255,255,.98); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.brand { color: var(--brand-navy); font-size: clamp(23px, 2vw, 30px); font-weight: 850; letter-spacing: -.055em; white-space: nowrap; line-height: 1; }
.brand span { color: var(--brand-orange); display: inline-block; margin-left: .035em; font-family: "Arial Black", Inter, sans-serif; font-size: 1.08em; font-weight: 950; line-height: .8; -webkit-text-stroke: .7px var(--brand-orange); transform: translateY(.015em) scaleX(1.12); transform-origin: center; }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); font-size: 15px; }
.desktop-nav a { position: relative; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 100%; height: 1.5px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); }
.desktop-nav .nav-level-cta { min-height: 38px; padding: 0 14px; display: inline-flex; align-items: center; background: var(--brand-orange); color: var(--brand-navy); font-size: 14px; font-weight: 800; transition: background .2s, transform .2s; }
.desktop-nav .nav-level-cta::after { display: none; }
.desktop-nav .nav-level-cta:hover, .desktop-nav .nav-level-cta:focus-visible { background: #f47a2d; transform: translateY(-1px); }
.header-actions, .language-switch { display: flex; align-items: center; }
.header-actions { gap: 14px; }
.language-switch { gap: 6px; }
.lang { appearance: none; border: 0; background: none; cursor: pointer; padding: 9px 8px; font-size: 14px; position: relative; }
.lang.active { color: var(--blue); }
.lang.active::after { content: ""; position: absolute; height: 2px; background: var(--blue); left: 8px; right: 8px; bottom: 3px; }
.student-portal-link, .mobile-portal-link { min-height: 42px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; background: var(--blue); color: #fff; font-size: 14px; font-weight: 750; white-space: nowrap; transition: background .2s, transform .2s; }
.student-portal-link:hover, .student-portal-link:focus-visible, .mobile-portal-link:hover, .mobile-portal-link:focus-visible { background: var(--blue-dark); transform: translateY(-1px); }
.menu-toggle { display: none; border: 0; background: none; width: 42px; height: 42px; padding: 10px; }
.menu-toggle span { height: 1.5px; background: var(--ink); display: block; margin: 6px 0; transition: .2s; }
.mobile-nav { display: none; }

.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .75fr); grid-template-areas: "copy teacher"; align-items: center; gap: clamp(30px, 3.5vw, 54px); padding-top: 20px; padding-bottom: 28px; }
.hero-copy { grid-area: copy; max-width: 720px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(48px, 5.2vw, 76px); line-height: .98; letter-spacing: -.065em; margin-bottom: 26px; font-weight: 780; text-wrap: balance; }
h1 em { display: block; color: var(--blue); font-style: normal; }
.hero-copy > p { max-width: 650px; font-size: clamp(18px, 1.55vw, 22px); line-height: 1.5; margin-bottom: 28px; }
.button-row { display: flex; gap: 14px; flex-wrap: wrap; }
.button { border: 1.5px solid var(--blue); min-height: 52px; padding: 0 26px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, color .2s, transform .2s; font-weight: 650; font-size: 16px; background: transparent; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: #fff; }
.button-primary:hover { background: var(--blue-dark); }
.button-outline { color: var(--blue); }
.button-outline:hover { background: var(--pale); }
.hero-teacher { grid-area: teacher; width: min(100%, 380px); justify-self: start; border: 1px solid var(--line); background: #fff; scroll-margin-top: 100px; }
.portrait-placeholder { width: 100%; aspect-ratio: 1.1; background: #edf0f5; position: relative; overflow: hidden; color: var(--muted); }
.portrait-placeholder::before { content: ""; position: absolute; width: 31%; aspect-ratio: 1; border-radius: 50%; background: #c8cdd7; left: 50%; top: 12%; transform: translateX(-50%); }
.portrait-placeholder::after { content: ""; position: absolute; width: 76%; height: 53%; border-radius: 50% 50% 0 0; background: #c8cdd7; left: 50%; bottom: 0; transform: translateX(-50%); }
.hero-teacher-copy { padding: 20px clamp(22px, 2.6vw, 32px) 23px; }
.hero-teacher-copy h2 { color: var(--blue); font-size: clamp(29px, 2.5vw, 38px); letter-spacing: -.045em; margin-bottom: 7px; }
.hero-teacher-copy .teacher-role { color: var(--ink); font-size: 15px; line-height: 1.45; margin-bottom: 0; }

.courses { padding-top: var(--section-space); padding-bottom: var(--section-space); background: var(--blue); color: #fff; }
.section-heading-row, .mock-header { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: var(--heading-content-gap); }
h2 { font-size: clamp(40px, 4.4vw, 64px); line-height: 1.05; letter-spacing: -.05em; margin-bottom: 0; }
.section-heading-row p, .mock-header p { max-width: 430px; color: var(--muted); font-size: var(--section-lead-size); font-weight: 500; line-height: 1.55; margin-bottom: 4px; }
.courses .section-heading-row p, .mock-section .mock-header p { color: rgba(255,255,255,.78); }
.course-list { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; }
.course-item { min-height: 82px; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); padding: 0 28px 0 10px; transition: color .2s, background .2s; }
.course-item:nth-child(odd) { border-right: 1px solid var(--line); }
.course-item:hover { background: var(--pale); color: var(--blue); }
.course-index { color: var(--blue); font-size: 13px; }
.course-item strong { font-size: clamp(20px, 2vw, 29px); letter-spacing: -.03em; }
.course-arrow { font-size: 28px; font-weight: 300; }
.courses .course-list { border-top-color: rgba(255,255,255,.32); }
.courses .course-item { border-bottom-color: rgba(255,255,255,.32); }
.courses .course-item:nth-child(odd) { border-right-color: rgba(255,255,255,.32); }
.courses .course-index { color: rgba(255,255,255,.72); }
.courses .course-item:hover { background: rgba(255,255,255,.1); color: #fff; }

.level-band { background: #fff; color: var(--ink); }
.level-inner { padding-top: var(--section-space); padding-bottom: var(--section-space); display: grid; grid-template-columns: .9fr 1.1fr; align-items: end; gap: 7vw; }
.level-copy h2 { max-width: 610px; }
.level-copy p { font-size: 18px; font-weight: 500; line-height: 1.55; max-width: 520px; margin: 26px 0 30px; color: var(--muted); }
.button-white { background: var(--blue); border-color: var(--blue); color: #fff; }
.level-progress { min-width: 0; align-self: stretch; display: grid; grid-template-rows: minmax(0, 1fr) auto; align-items: end; }
.level-illustration { width: min(78%, 520px); height: auto; max-height: 210px; margin: 0 auto 16px; display: block; object-fit: contain; object-position: center bottom; }
.cefr-scale { display: grid; grid-template-columns: repeat(6, 1fr); position: relative; padding-top: 8px; gap: 2px; }
.scale-line { position: absolute; top: 50px; left: 8%; right: 8%; height: 1.5px; background: rgba(41,75,184,.48); }
.cefr-scale > div:not(.scale-line) { display: grid; grid-template-rows: 38px 22px auto; text-align: center; align-items: center; justify-items: center; z-index: 1; }
.cefr-scale b { font-size: 19px; }
.cefr-scale span { display: block; width: 14px; height: 14px; border: 2px solid var(--blue); border-radius: 50%; background: #fff; }
.cefr-scale small { color: var(--muted); font-size: 11px; margin-top: 10px; line-height: 1.25; }

.mock-section { padding-top: var(--section-space); padding-bottom: var(--section-space); background: var(--blue); color: #fff; }
.mock-header { align-items: start; }
.hero > *, .level-inner > * { min-width: 0; }
.mock-products { border-top: 1px solid rgba(255,255,255,.32); }
.mock-product { min-height: 84px; display: grid; grid-template-columns: 52px minmax(260px, 1fr) 130px minmax(170px, auto); align-items: center; gap: 24px; padding: 12px 8px; border-bottom: 1px solid rgba(255,255,255,.32); transition: background .2s, color .2s; }
.mock-product:hover, .mock-product:focus-visible { background: rgba(255,255,255,.1); color: #fff; }
.mock-index { color: rgba(255,255,255,.72); font-size: 13px; }
.mock-product-copy { display: grid; gap: 7px; }
.mock-product-copy strong { font-size: clamp(21px, 2vw, 29px); letter-spacing: -.035em; }
.mock-product-copy small { color: rgba(255,255,255,.72); font-size: 15px; }
.mock-price { color: #fff; font-size: 19px; white-space: nowrap; }
.mock-product-action { display: flex; align-items: center; justify-content: flex-end; gap: 14px; color: #fff; font-size: 15px; font-weight: 720; white-space: nowrap; }
.mock-product-action > span:last-child { font-size: 23px; font-weight: 400; }

.social-section { padding-top: var(--section-space); padding-bottom: var(--section-space); background: #fff; }
.social-section .section-heading-row h2 { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .2em; }
.heading-brand { color: var(--brand-navy); font-weight: 850; letter-spacing: -.055em; line-height: 1; white-space: nowrap; }
.heading-brand > span { color: var(--brand-orange); display: inline-block; margin-left: .035em; font-family: "Arial Black", Inter, sans-serif; font-size: 1.08em; font-weight: 950; line-height: .8; -webkit-text-stroke: .7px var(--brand-orange); transform: translateY(.015em) scaleX(1.12); transform-origin: center; }
.social-links { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.social-links a { min-height: 92px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); font-size: clamp(20px, 2vw, 28px); transition: color .2s, background .2s; }
.social-links a:nth-child(odd) { border-right: 1px solid var(--line); }
.social-links a:hover, .social-links a:focus-visible { color: var(--blue); background: var(--pale); }
.social-label { display: flex; align-items: center; gap: 15px; min-width: 0; }
.ui-icon { width: 28px; height: 28px; flex: 0 0 auto; display: inline-block; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; color: var(--blue); }
.icon-instagram { --icon: url("assets/icons/instagram.svg"); }
.icon-whatsapp { --icon: url("assets/icons/whatsapp.svg"); }
.icon-youtube { --icon: url("assets/icons/youtube.svg"); }
.icon-tiktok { --icon: url("assets/icons/tiktok.svg"); }
.icon-phone { --icon: url("assets/icons/phone.svg"); }
.icon-map-pin { --icon: url("assets/icons/map-pin.svg"); }
.icon-arrow-up-right { --icon: url("assets/icons/arrow-up-right.svg"); }
.social-arrow { width: 24px; height: 24px; color: var(--blue); }

.contact-band { background: var(--brand-navy); color: #fff; padding: 64px 0 30px; }
.contact-band h2 { text-align: center; margin-bottom: 54px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.4); border-bottom: 1px solid rgba(255,255,255,.4); }
.contact-grid > * { min-height: 126px; display: flex; align-items: center; gap: 20px; padding: 24px 32px; border-right: 1px solid rgba(255,255,255,.4); }
.contact-grid > *:last-child { border-right: 0; }
.contact-grid > * > .contact-icon { width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; display: grid; place-items: center; }
.contact-icon .ui-icon { width: 20px; height: 20px; color: currentColor; }
.contact-grid small, .contact-grid strong { display: block; }
.contact-grid small { color: rgba(255,255,255,.75); margin-bottom: 6px; }
.contact-grid strong { font-size: 17px; }
.contact-footer-meta { min-height: 70px; padding-top: 28px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.brand-footer { color: #fff; }
.contact-footer-meta p { margin: 0; color: rgba(255,255,255,.62); font-size: 13px; }

.quiz-dialog { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; border: 0; padding: 0; margin: 0; background: #fff; color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
.quiz-dialog::backdrop { background: rgba(7,18,47,.55); }
.quiz-shell { min-height: 100%; width: min(100%, 960px); margin: auto; padding: 0 clamp(24px, 6vw, 72px) 60px; }
.quiz-topbar { height: 96px; display: flex; align-items: center; justify-content: space-between; }
.quiz-close { width: 45px; height: 45px; border: 1px solid var(--line); background: #fff; border-radius: 50%; font-size: 28px; cursor: pointer; line-height: 1; }
.quiz-progress { height: 3px; background: var(--pale); }
.quiz-progress span { display: block; height: 100%; width: 0; background: var(--blue); transition: width .3s; }
.quiz-content { padding-top: clamp(42px, 8vh, 90px); }
.quiz-meta { color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.quiz-content h2 { max-width: 760px; font-size: clamp(34px, 5vw, 58px); margin-bottom: 38px; }
.quiz-intro { max-width: 760px; margin: 0 auto; padding-bottom: 48px; }
.quiz-intro h2 { margin-bottom: 24px; }
.quiz-intro-lead { max-width: 680px; font-size: 20px; line-height: 1.55; margin: 0 0 18px; }
.quiz-intro-note { max-width: 640px; color: var(--muted); line-height: 1.55; margin: 0 0 30px; }
.quiz-intro-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.review-banner { display: grid; gap: 5px; background: var(--pale); border-left: 4px solid var(--brand-orange); padding: 16px 18px; margin-bottom: 30px; line-height: 1.45; }
.review-banner strong { color: var(--blue); }
.review-banner span { color: var(--muted); font-size: 14px; }
.route-control { display: grid; gap: 9px; max-width: 420px; color: var(--ink); font-size: 14px; font-weight: 700; }
.route-control select { width: 100%; min-height: 52px; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 0 14px; font: inherit; }
.quiz-question { max-width: 820px; margin: 0 auto; padding-bottom: 36px; }
.quiz-question-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--blue); font-size: 13px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.item-review-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 24px; }
.item-review-meta > * { border: 1px solid var(--line); padding: 5px 8px; color: var(--muted); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.item-review-meta strong { border-color: var(--blue); color: var(--blue); }
.question-copy { outline: none; }
.question-copy .question-heading { max-width: 820px; font-size: clamp(28px, 4vw, 44px); line-height: 1.08; margin: 0 0 32px; overflow-wrap: anywhere; }
.question-context { max-width: 780px; margin: 0 0 10px; font-size: 18px; line-height: 1.55; color: var(--ink); }
.question-stimulus { max-width: 820px; background: var(--pale); border-left: 4px solid var(--blue); padding: clamp(18px, 3vw, 28px); margin: 0 0 26px; font-size: 17px; line-height: 1.65; white-space: pre-line; }
.answer-list { display: grid; gap: 12px; max-width: 760px; }
.answer-button { width: 100%; text-align: left; min-height: 62px; background: #fff; border: 1px solid var(--line); padding: 15px 20px; cursor: pointer; transition: .18s; display: flex; align-items: center; gap: 16px; color: var(--ink); font: inherit; line-height: 1.4; }
.answer-button:hover, .answer-button:focus-visible { border-color: var(--blue); background: var(--pale); }
.answer-button.selected { border-color: var(--blue); background: var(--pale); box-shadow: inset 4px 0 0 var(--blue); }
.answer-letter { color: var(--blue); font-weight: 750; width: 24px; }
.quiz-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 760px; margin-top: 26px; padding: 16px 0; background: rgba(255,255,255,.97); position: sticky; bottom: 0; z-index: 2; }
.not-sure-button { min-height: 48px; border: 0; background: transparent; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 0 4px; font: inherit; }
.not-sure-button.selected { color: var(--blue); font-weight: 750; }
.quiz-actions .button:disabled { opacity: .42; cursor: not-allowed; }
.quiz-result { max-width: 860px; margin: auto; padding-bottom: 40px; }
.result-summary { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(26px, 5vw, 58px); margin-bottom: 34px; }
.result-summary .result-level { font-size: clamp(76px, 13vw, 132px); margin: 0; }
.result-summary h2 { font-size: clamp(30px, 4vw, 48px); margin: 0 0 14px; }
.result-summary p { margin: 0; }
.result-level { color: var(--blue); font-size: clamp(90px, 18vw, 180px); font-weight: 800; line-height: .9; letter-spacing: -.08em; margin-bottom: 30px; }
.quiz-result h2 { margin-left: auto; margin-right: auto; margin-bottom: 20px; }
.quiz-result p { color: var(--muted); font-size: 18px; line-height: 1.55; margin-bottom: 28px; }
.result-facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 0 32px; }
.result-facts > div { min-width: 0; padding: 20px 18px; border-right: 1px solid var(--line); }
.result-facts > div:last-child { border-right: 0; }
.result-facts small { display: block; color: var(--muted); font-size: 12px; line-height: 1.35; margin-bottom: 6px; }
.result-facts strong { display: block; overflow-wrap: anywhere; }
.domain-results { display: grid; gap: 15px; margin-bottom: 28px; }
.domain-results > div { display: grid; grid-template-columns: minmax(130px, 190px) 1fr 42px; align-items: center; gap: 14px; font-size: 14px; }
.domain-results > div > strong { text-align: right; }
.domain-bar { height: 8px; background: var(--pale); overflow: hidden; }
.domain-bar i { display: block; height: 100%; background: var(--blue); }
.retake-note { border-left: 3px solid var(--brand-orange); padding-left: 16px; font-size: 15px !important; }
.quiz-result .button-row { justify-content: center; }
.result-actions { margin-top: 34px; }
.answer-review { border-top: 1px solid var(--line); margin-top: 34px; padding-top: 24px; }
.answer-review summary { color: var(--blue); font-weight: 800; cursor: pointer; padding: 10px 0; }
.answer-review-list { display: grid; gap: 14px; margin-top: 18px; }
.review-item { border: 1px solid var(--line); padding: 20px; text-align: left; }
.review-item.is-correct { border-left: 4px solid #21835b; }
.review-item.is-incorrect { border-left: 4px solid #c74343; }
.review-item header { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-item header span { color: var(--muted); font-size: 12px; text-transform: uppercase; }
.review-item header b { margin-left: auto; font-size: 12px; }
.review-item.is-correct header b { color: #21835b; }
.review-item.is-incorrect header b { color: #c74343; }
.review-item .review-prompt .question-heading { font-size: 20px; line-height: 1.35; margin-bottom: 16px; }
.review-item .review-prompt .question-context, .review-item .review-prompt .question-stimulus { font-size: 14px; }
.review-item .review-prompt .question-stimulus { padding: 14px; margin-bottom: 14px; }
.review-item p { font-size: 14px; margin: 8px 0; }
.review-item p small { color: var(--muted); }
.review-item .review-rationale { background: var(--pale); color: var(--ink); padding: 12px 14px; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 14px 20px; opacity: 0; pointer-events: none; transition: .25s; z-index: 40; max-width: min(90vw, 520px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .site-header { height: 76px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav { position: fixed; z-index: 19; left: 0; right: 0; top: 76px; background: #fff; padding: 22px var(--gutter) 34px; border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .25s; display: grid; gap: 20px; font-size: 21px; }
  .mobile-nav.open { transform: translateY(0); }
  .mobile-portal-link { width: fit-content; }
  .mobile-nav .nav-level-cta { width: fit-content; min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; background: var(--brand-orange); color: var(--brand-navy); font-size: 17px; font-weight: 800; }
}

@media (max-width: 900px) {
  .hero { min-height: auto; grid-template-columns: 1fr; grid-template-areas: "teacher" "copy"; gap: 40px; padding-top: 34px; padding-bottom: 58px; }
  .hero-copy { max-width: 760px; }
  .hero-teacher { width: min(100%, 500px); justify-self: center; }
  .portrait-placeholder { aspect-ratio: 4 / 3; }
  .level-inner { grid-template-columns: 1fr; }
  .level-inner { align-items: start; }
  .level-copy { max-width: 650px; }
  .level-progress { gap: 16px; }
  .level-illustration { width: min(78vw, 420px); max-height: 165px; margin-bottom: 0; }
  .cefr-scale { margin-top: 20px; }
  .mock-product { grid-template-columns: 42px minmax(220px, 1fr) 110px auto; gap: 18px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid > * { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.4); }
  .contact-grid > *:last-child { border-bottom: 0; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; --section-space: 54px; --heading-content-gap: 22px; --section-lead-size: 16.5px; }
  .language-switch { gap: 0; }
  .lang { padding-left: 6px; padding-right: 6px; }
  .student-portal-link { display: none; }
  .hero { gap: 24px; padding-top: 18px; padding-bottom: 34px; }
  h1 { font-size: clamp(42px, 13.5vw, 60px); overflow-wrap: anywhere; }
  .hero-copy > p { font-size: 17px; }
  .hero-teacher-copy { padding: 22px 20px 24px; }
  .hero-teacher-copy h2 { font-size: 29px; }
  .button-row { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .section-heading-row, .mock-header { display: block; }
  .section-heading-row p, .mock-header p { margin-top: 20px; }
  .course-list { grid-template-columns: 1fr; }
  .course-item:nth-child(odd) { border-right: 0; }
  .course-item { min-height: 78px; padding-right: 12px; grid-template-columns: 38px 1fr auto; }
  .level-inner { padding-bottom: 58px; }
  .level-progress { gap: 10px; }
  .level-illustration { width: min(100%, 320px); max-height: 118px; }
  .cefr-scale { overflow-x: auto; grid-template-columns: repeat(6, 82px); justify-content: start; padding-bottom: 12px; }
  .scale-line { left: 41px; width: 410px; right: auto; }
  .mock-product { min-height: 0; grid-template-columns: 32px 1fr auto; gap: 8px 14px; padding: 14px 2px; }
  .mock-product-copy { grid-column: 2 / -1; }
  .mock-price { grid-column: 2; }
  .mock-product-action { grid-column: 3; }
  .mock-product-action > span:first-child { display: none; }
  .contact-band { padding-top: 52px; padding-bottom: 56px; }
  .contact-band h2 { text-align: left; }
  .contact-grid > * { padding-left: 10px; padding-right: 10px; }
  .social-links { grid-template-columns: 1fr; }
  .social-links a:nth-child(odd) { border-right: 0; }
  .social-links a { min-height: 74px; }
  .contact-footer-meta { align-items: flex-start; flex-direction: column; min-height: 0; padding-top: 30px; }
  .quiz-shell { padding-left: 20px; padding-right: 20px; padding-bottom: 30px; }
  .quiz-topbar { height: 76px; }
  .quiz-content { padding-top: 32px; }
  .quiz-content h2 { font-size: clamp(30px, 9vw, 42px); }
  .quiz-intro-lead { font-size: 17px; }
  .quiz-intro-actions { display: grid; grid-template-columns: 1fr; }
  .quiz-question-meta { align-items: flex-start; font-size: 11px; }
  .question-copy .question-heading { font-size: clamp(26px, 8vw, 36px); line-height: 1.12; }
  .question-context { font-size: 16px; }
  .question-stimulus { font-size: 15px; line-height: 1.55; padding: 16px; }
  .answer-button { min-height: 58px; padding: 13px 14px; gap: 10px; }
  .quiz-actions { gap: 10px; }
  .quiz-actions .button { width: auto; min-width: 132px; }
  .result-summary { grid-template-columns: 1fr; text-align: center; gap: 18px; }
  .result-summary .result-level { font-size: 88px; }
  .result-summary h2 { font-size: 32px; }
  .result-facts { grid-template-columns: 1fr 1fr; }
  .result-facts > div:nth-child(2) { border-right: 0; }
  .result-facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .domain-results > div { grid-template-columns: 1fr 42px; gap: 7px 12px; }
  .domain-results .domain-bar { grid-column: 1 / -1; grid-row: 2; }
  .result-actions { display: grid; grid-template-columns: 1fr; }
  .review-item { padding: 16px; }
}

@media (max-width: 420px) {
  .site-header { gap: 10px; }
  .header-actions { gap: 2px; }
  .brand { font-size: 22px; }
  .lang { font-size: 12px; padding-left: 5px; padding-right: 5px; }
  .menu-toggle { width: 38px; padding-left: 8px; padding-right: 8px; }
  .hero { padding-top: 24px; }
  .hero-copy > p { line-height: 1.5; }
  .mock-product-copy strong { font-size: 20px; }
}

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