.country-page{padding-top:72px;padding-bottom:80px}.country-intro{max-width:780px;margin-bottom:38px}.country-page h1{font-size:clamp(42px,6.6vw,82px);line-height:1.1;letter-spacing:-.045em;margin:18px 0 20px}.country-page h1 span{color:#2451e6}.country-lead{font-size:clamp(18px,2.5vw,24px);line-height:1.65;color:#555e70}.country-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:32px 0 48px}.country-card{position:relative;display:block;border:1px solid #dce2ed;border-radius:20px;background:#fff;padding:24px;text-decoration:none;color:#182139;transition:transform .18s,border-color .18s,box-shadow .18s}.country-card:hover{transform:translateY(-3px);border-color:#2451e6;box-shadow:0 8px 28px #2451e610}.country-card:focus-visible{outline:3px solid #2451e6;outline-offset:4px}.country-code{display:inline-grid;place-items:center;background:#edf2ff;color:#2451e6;width:40px;height:40px;border-radius:12px;font-size:12px;letter-spacing:.1em;font-weight:700}.country-card h2{font-size:19px;margin:18px 0 4px;line-height:1.4}.country-card p{margin:0;color:#667084;font-size:14px}.country-arrow{position:absolute;right:20px;top:25px;color:#8d99ae}.country-symbol{font-size:48px;color:#2451e6}.language-choice{border:1px solid #dce2ed;border-radius:24px;padding:32px;background:#f7f9fd}.language-choice h2{font-size:28px;margin:0 0 12px}.language-fields{display:flex;gap:16px;align-items:flex-end;margin:24px 0}.language-fields label{flex:1;min-width:0;font-weight:600;font-size:14px}.language-fields label span{display:block;margin-bottom:10px}.language-fields select{width:100%;padding:14px 34px 14px 14px;border:1px solid #c7cfdf;border-radius:10px;background:white;color:#182139;font:inherit;min-height:50px}.language-fields button{min-height:50px;white-space:nowrap}.native-language-links{display:flex;flex-wrap:wrap;gap:18px}.international-course{padding-top:56px;padding-bottom:80px}.language-hero{display:grid;grid-template-columns:1.4fr 1fr;gap:40px;align-items:center;margin-bottom:58px}.language-hero h1{font-size:clamp(38px,5vw,64px);letter-spacing:-.04em;line-height:1.22;margin:18px 0}.language-hero p{line-height:1.8}.language-glyph{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:230px;background:#2451e6;color:#fff;border-radius:28px;font-size:clamp(32px,5vw,68px);font-weight:600;padding:32px;overflow-wrap:anywhere;text-align:center}.language-glyph span{font-size:14px;font-weight:400;margin-top:18px;opacity:.85}.international-course .lesson-grid{margin-bottom:36px}.lesson-content{min-width:0}.phrase-card h3{overflow-wrap:anywhere;font-size:clamp(22px,3vw,30px);line-height:1.65}.phrase-meaning{line-height:1.75}.lesson-sidebar nav a{line-height:1.55}.lesson-heading h1{line-height:1.35}.lesson-heading p{line-height:1.95}.tip-box p{line-height:1.95}.quiz legend{line-height:1.7}.quiz-option span{line-height:1.65}.lesson-content .next-lesson{padding:32px 0}.language-label{white-space:nowrap}.site-header nav{flex-wrap:wrap}.account-panel progress{width:100%;margin:16px 0}.country-page .small-note{line-height:1.8}@media(max-width:980px){.country-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.language-fields{flex-wrap:wrap}.language-fields button{width:100%}}@media(max-width:660px){.country-page{padding-top:38px}.country-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:32px}.country-card{padding:18px}.country-card h2{font-size:17px}.country-card p{font-size:12px}.language-choice{padding:22px}.language-fields{flex-direction:column;align-items:stretch}.language-hero{grid-template-columns:1fr;gap:24px}.language-glyph{min-height:140px;font-size:42px}.international-course{padding-top:30px}.site-header{gap:12px;flex-wrap:wrap}.site-header nav{order:3;width:100%;justify-content:center;gap:22px}.language-label{margin-left:auto}.lesson-heading h1{font-size:32px}.language-choice h2{font-size:24px}}@media(prefers-reduced-motion:reduce){.country-card{transition:none}.country-card:hover{transform:none}}

.phrase-main{display:flex;gap:14px;flex:1;min-width:0}.phrase-main>div{min-width:0}.phrase-main .phrase-number{flex-shrink:0}.builder-controls .letter-choice{display:inline-flex;margin:4px}.lesson-content .tip-box{padding:24px;background:#f3f6ff;border-radius:18px}.language-fields select:focus-visible{outline:3px solid #e5a100;outline-offset:3px}

.conversation-practice{min-width:0}.conversation-practice>h2{line-height:1.4}.conversation-situation{margin:14px 0 20px!important;line-height:1.85}.conversation-controls{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0 14px}.conversation-controls[hidden]{display:none}.conversation-controls button{white-space:normal;min-height:44px;text-align:left}.conversation-turns{display:grid;gap:12px;margin:24px 0}.conversation-turn{display:grid;grid-template-columns:90px minmax(0,1fr);gap:16px;padding:20px 0;border-top:1px solid var(--line)}.conversation-role{font-size:.875rem;line-height:1.6;color:var(--muted);padding-top:4px;overflow-wrap:anywhere}.conversation-turn.is-learner .conversation-role{color:var(--blue);font-weight:650}.conversation-line{min-width:0}.conversation-meaning{font-size:1rem;line-height:1.75}.conversation-practice details{margin:8px 0 0}.conversation-practice summary{min-height:44px;cursor:pointer;padding:10px 0;color:var(--blue);font-size:.875rem;line-height:1.65}.conversation-practice summary:focus-visible{outline:3px solid #e5a100;outline-offset:3px}.conversation-practice .conversation-target{font-size:clamp(1.25rem,2.3vw,1.75rem);line-height:1.8;letter-spacing:0;color:var(--ink);margin:8px 0 14px;overflow-wrap:anywhere;word-break:normal}.conversation-audio{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 4px}.conversation-audio .listen{min-height:44px;font-size:.875rem;white-space:normal;text-align:left}.conversation-note{border-left:3px solid var(--blue);padding:8px 0 8px 20px;margin:28px 0}.conversation-note h3,.conversation-challenge h3{font-size:1.125rem;line-height:1.6;letter-spacing:0;margin:0 0 10px}.conversation-note p,.conversation-challenge p{font-size:1rem;line-height:1.85}.conversation-challenge{padding:24px;background:var(--pale);border-radius:16px;margin:24px 0}.conversation-challenge summary{font-weight:600}@media(max-width:660px){.conversation-turn{grid-template-columns:minmax(0,1fr);gap:6px;padding:18px 0}.conversation-role{padding:0}.conversation-challenge{padding:20px}.conversation-controls{align-items:stretch}.conversation-controls button{flex:1 1 auto;justify-content:center;text-align:center}.conversation-note{padding-left:16px}}@media print{.conversation-controls,.conversation-audio{display:none}}

.next-step-panel{border:1px solid #c9d5f4;border-radius:20px;background:#f5f8ff;padding:26px;margin:0 0 38px;color:#182139}.next-step-panel[hidden]{display:none!important}.next-step-panel.wrap{margin-top:30px;margin-bottom:10px}.next-step-heading h2{font-size:1.125rem;line-height:1.5;letter-spacing:0;margin:0 0 20px}.next-step-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:0 0 20px;margin:0 0 22px;border-bottom:1px solid #dce2ed}.next-step-metrics div{display:flex;flex-direction:column-reverse;gap:5px}.next-step-metrics dt{font-size:.875rem;line-height:1.55;color:#55637a}.next-step-metrics dd{font-size:1.6rem;line-height:1.4;font-weight:650;margin:0;font-variant-numeric:tabular-nums}.next-step-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,34%);gap:24px;align-items:center}.next-step-kind{font-size:.875rem!important;color:#2451e6;font-weight:650;margin:0 0 6px!important}.next-step-content h3{font-size:1.4rem;line-height:1.5;margin:0 0 8px;overflow-wrap:anywhere}.next-step-content p{font-size:1rem;line-height:1.75;margin:0}.next-step-content .small-note{font-size:.875rem;margin-top:10px;color:#55637a}.next-step-actions{display:flex;flex-direction:column;align-items:stretch;gap:16px;min-width:0}.next-step-actions a{white-space:normal;text-align:center;line-height:1.65;overflow-wrap:anywhere;min-height:44px;display:flex;align-items:center;justify-content:center}.next-step-actions .text-link{font-size:.875rem}.next-step-actions a[hidden]{display:none}.next-step-result{margin:28px 0 0}.next-step-result .next-step-content{grid-template-columns:1fr}.next-step-result .next-step-actions{align-items:flex-start}.next-step-result .next-step-actions a{text-align:left}.next-step-actions a:focus-visible{outline:3px solid #2451e6;outline-offset:4px}@media(max-width:660px){.next-step-panel{padding:20px;border-radius:16px;margin-bottom:28px}.next-step-content{grid-template-columns:1fr;gap:18px}.next-step-metrics{gap:12px}.next-step-metrics dd{font-size:1.4rem}.next-step-content h3{font-size:1.25rem}.next-step-result .next-step-actions{align-items:stretch}.next-step-result .next-step-actions a{text-align:center}}

.pronunciation-settings{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px 20px;border:1px solid #dce2ed;border-radius:14px;padding:18px 20px;margin:20px 0;background:#fff}.pronunciation-settings label{font-weight:650;font-size:1rem;line-height:1.6}.pronunciation-settings select{width:100%;max-width:340px;min-height:44px;padding:9px 34px 9px 12px;border:1px solid #c7cfdf;border-radius:9px;font:inherit;font-size:.9rem;color:#182139;background:white}.pronunciation-settings p{grid-column:1/-1;font-size:.875rem!important;line-height:1.75!important;color:#55637a;margin:0!important}.pronunciation-settings select:focus-visible{outline:3px solid #2451e6;outline-offset:3px}.pronunciation-hint{color:#2451e6;font-size:1rem;line-height:1.85;margin:7px 0 10px;overflow-wrap:anywhere}.pronunciation-caption{display:block;font-size:.72rem;font-weight:600;color:#667084;letter-spacing:.025em;margin-bottom:1px}.pronunciation-example{color:#394c70}.phrase-card [data-pronunciation][hidden]{display:none!important}@media(max-width:660px){.pronunciation-settings{grid-template-columns:minmax(0,1fr);padding:16px}.pronunciation-settings select{max-width:none}.pronunciation-hint{font-size:.95rem}}@media print{.pronunciation-settings{break-inside:avoid}}

.course-overview{margin-top:40px;padding-top:28px;padding-bottom:12px;border-top:1px solid #dce2ed}.course-overview h2{font-size:clamp(1.4rem,3vw,1.9rem);line-height:1.4}.course-overview ul{padding-left:1.3em;max-width:78ch}.course-overview li{font-size:1rem;line-height:1.8;margin:12px 0}.learning-languages{grid-column:1/-1;margin-top:32px;padding-top:20px;padding-bottom:20px;border-top:1px solid #dce2ed;font-size:1rem;line-height:1.7}.learning-languages summary{cursor:pointer;color:#2451e6}.learning-languages nav{padding-top:16px;gap:12px 24px}.learning-languages a{display:inline-block;padding:4px 0}.learning-languages summary:focus-visible,.learning-languages a:focus-visible{outline:3px solid #2451e6;outline-offset:4px}

.lesson-audio-settings{border:1px solid #dce2ed;border-radius:14px;margin:24px 0;background:#f7f9fd;min-width:0}.lesson-audio-settings summary{cursor:pointer;font-size:1rem;font-weight:600;padding:16px 20px;color:#2451e6}.audio-settings-body{padding:0 20px 20px}.audio-settings-body p{font-size:1rem;line-height:1.75;overflow-wrap:anywhere}.audio-settings-body .small-note{font-size:.875rem;margin-top:14px}.audio-settings-body label{display:block;font-size:.875rem;font-weight:600;margin:18px 0 8px}.audio-settings-body select{max-width:100%;width:100%;min-height:48px;padding:10px;border:1px solid #c7cfdf;border-radius:8px;font:inherit;color:#182139;background:white;text-overflow:ellipsis}.audio-settings-body .action-row{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.audio-settings-body select:focus-visible{outline:3px solid #2451e6;outline-offset:3px}.connection-notice{background:#fff6d6;color:#654900;padding:12px 22px;text-align:center;font-size:.875rem;line-height:1.6}.connection-notice[hidden]{display:none}@media(max-width:420px){.audio-settings-body{padding:0 14px 16px}.lesson-audio-settings summary{padding:14px}.audio-settings-body .btn{flex:1 1 auto}}@media print{.lesson-audio-settings,.connection-notice{display:none}}
/* Optional sharing sits after the lesson; account feedback remains in context. */
.lesson-share{margin-top:2rem;padding:1.25rem;border:1px solid #dce3f0;border-radius:16px;background:#f7f9ff;min-width:0}
.lesson-share summary{cursor:pointer;font-weight:700;padding:.3rem 0}
.lesson-share label{display:block;font-size:.85rem;margin:1rem 0 .4rem}
.lesson-share input{display:block;box-sizing:border-box;width:100%;min-width:0;border:1px solid #c6d2ea;border-radius:8px;background:#fff;color:#172b4d;padding:.75rem;font:inherit;font-size:.9rem}
.lesson-share input:focus{outline:2px solid #2451e6;outline-offset:2px}
.lesson-share .action-row{flex-wrap:wrap}
.sign-in-notice{padding:1rem;border:1px solid #c6d2ea;border-radius:10px;background:#f1f5ff;color:#172b4d;line-height:1.65}
