:root {
    color-scheme: light;
    --ink: #191a2b;
    --muted: #505269;
    --paper: #f7f8f2;
    --white: #fff;
    --line: #dce0d6;
    --green: #d2fa93;
    --green-deep: #244527;
    --lavender: #e4e0fa;
    --peach: #fae5d5;
    --radius: 1.35rem;
    font-family: "Segoe UI", system-ui, sans-serif;
    font-size: 100%;
    line-height: 1.55;
    color: var(--ink);
    background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; display: flex; min-height: 100vh; flex-direction: column; }
main { flex: 1; }
a { color: inherit; text-underline-offset: .2em; }
button, select, input, textarea { font: inherit; }
button, select, summary { cursor: pointer; }
img { display: block; width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #6250a7; outline-offset: 3px; }
h1, h2, h3, p { margin: 0 0 .85rem; }
h1, h2, h3 { line-height: 1.07; letter-spacing: -.045em; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.55rem, 5.4vw, 4.75rem); font-weight: 790; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.65rem); font-weight: 760; }
h3 { font-size: 1.45rem; font-weight: 740; }
small { font-size: .875rem; }
.wrap { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.narrow { max-width: 49rem; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: .5rem; left: .5rem; z-index: 4; padding: .5rem 1rem; background: var(--white); }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 5.25rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.1rem; }
.header-actions { justify-self: end; display: flex; flex-wrap: wrap; column-gap: .75rem; row-gap: .35rem; align-items: center; justify-content: flex-end; }
.brand { display: inline-flex; align-items: center; width: fit-content; color: inherit; text-decoration: none; }
.brand-logo {
    display: block;
    width: 5.55rem;
    height: 5.55rem;
    object-fit: contain;
}
.site-header .brand-logo { margin-block: -.22rem; }
.footer-inner .brand-logo { width: 5rem; height: 5rem; }
.setup .brand-logo { width: 5.1rem; height: 5.1rem; }

.main-nav, .footer-inner nav { display: flex; flex-wrap: wrap; gap: 1.6rem; align-items: center; }
.main-nav a, .footer-inner nav a { font-size: .95rem; font-weight: 650; text-decoration: none; }
.main-nav a:hover, .main-nav [aria-current], .footer-inner nav a:hover { text-decoration: underline; }

.hero { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: clamp(2rem, 5vw, 5.1rem); align-items: center; padding-block: 3.3rem 3.5rem; }
.hero-copy { padding-block: .5rem; }
.eyebrow { color: var(--green-deep); font-size: .86rem; font-weight: 760; letter-spacing: .075em; text-transform: uppercase; display: flex; align-items: center; gap: .55rem; }
.accent-mark { width: .63rem; height: .63rem; background: #557e42; border-radius: 50%; }
.hero h1 { font-size: clamp(3.1rem, 5.75vw, 5rem); max-width: 10ch; line-height: .99; margin-top: 1rem; margin-bottom: 1.2rem; }
.hero-description, .lead { color: var(--muted); font-size: 1.16rem; max-width: 58ch; }
.hero-description { max-width: 38ch; margin-bottom: 1.6rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }
.button { display: inline-flex; align-items: center; justify-content: center; width: fit-content; padding: .72rem 1.12rem; min-height: 2.85rem; border: 1px solid transparent; border-radius: .65rem; font-size: .95rem; font-weight: 740; line-height: 1.25; text-decoration: none; color: var(--ink); text-align: center; }
.button:hover { filter: brightness(.96); }
.button:disabled { cursor: not-allowed; opacity: .6; }
.button.primary { background: var(--green); border-color: #a7cf6a; }
.button.outline { background: var(--white); border-color: #c7c9c2; }
.button.compact { min-height: 2.55rem; padding: .5rem .9rem; }
.hero-figure { position: relative; min-height: 25rem; margin: 0; border-radius: 1.65rem; overflow: hidden; background: #414b49; }
.hero-figure img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: 48% 52%; }
.hero-figure figcaption { position: absolute; top: 1rem; left: 1rem; display: flex; align-items: center; gap: .45rem; padding: .35rem .75rem; border-radius: 999px; background: #191a2be8; color: var(--white); font-size: .88rem; }
.place-dot { width: .45rem; height: .45rem; border-radius: 50%; background: var(--green); }
.phrase-card { position: absolute; right: 1rem; bottom: 1rem; padding: .6rem 1rem .7rem; border-radius: .85rem; background: var(--white); box-shadow: 0 .2rem 1rem #191a2b28; }
.phrase-card span { display: block; font-size: 1.12rem; font-weight: 740; }
.phrase-card small { color: var(--muted); }

.catalog-section { padding-block: 2.5rem 3rem; background: #edf0e7; border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.35rem; }
.section-head h1, .section-head h2 { margin-bottom: .4rem; }
.section-head p { margin-bottom: 0; color: var(--muted); }
.text-link { font-weight: 720; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.course-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.course-meta { min-height: 4rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .65rem 1.15rem; background: #e4eee8; color: var(--ink); }
.course-meta.free { background: var(--green); }
.course-meta.external { background: var(--lavender); }
.course-meta.live { background: var(--peach); }
.course-meta span:first-child { font-size: 1.35rem; font-weight: 760; }
.course-meta span:last-child { font-size: .875rem; font-weight: 670; }
.card-copy { padding: 1.05rem 1.15rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.card-copy h3 a { text-decoration: none; }
.card-copy h3 a:hover { text-decoration: underline; }
.card-copy p { color: var(--muted); }
.card-copy > .text-link { margin-top: auto; }
.level-banner { margin-block: 3rem; padding: clamp(1.35rem, 3.5vw, 2.75rem); border-radius: var(--radius); background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.level-banner p { margin-bottom: 0; color: #e0e0eb; }
.level-banner .button { flex: none; }

.page-section { padding-block: clamp(1rem, 2.4vw, 1.8rem) 3rem; }
.content-title, .auth h1 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
.course-detail-meta { color: var(--muted); font-size: .9rem; }
.page-section .lead { margin-bottom: 1.4rem; }
.panel { padding: clamp(1.1rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); min-width: 0; }
.panel h1 { font-size: clamp(2rem, 6vw, 3.3rem); }
.panel h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: 1.4rem; }
.tabs a { padding: .49rem .85rem; border: 1px solid var(--line); background: var(--white); border-radius: .5rem; font-weight: 640; text-decoration: none; }
.tabs a[aria-current], .tabs a:hover { background: var(--green); border-color: #a7cf6a; }
.stack { display: flex; flex-direction: column; align-items: stretch; gap: .95rem; }
.stack h2, .stack p { margin-bottom: 0; }
.stack > .button { align-self: flex-start; }
label { display: grid; gap: .27rem; font-weight: 650; }
input:not([type=checkbox], [type=radio]), select, textarea { display: block; width: 100%; min-height: 2.75rem; color: var(--ink); background: var(--white); border: 1px solid #a1a49b; border-radius: .45rem; padding: .49rem .65rem; font-weight: 450; }
textarea { resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.assignment { border: 1px solid var(--line); border-radius: .6rem; padding: .85rem; }
legend { padding: 0; margin-bottom: .5rem; font-size: 1.1rem; font-weight: 720; }
.choice { display: flex; align-items: center; gap: .55rem; font-weight: 500; background: var(--paper); border: 1px solid var(--line); border-radius: .48rem; padding: .55rem .65rem; margin-bottom: .38rem; }
.choice:has(input:checked) { border-color: #6c864c; background: #ebf8d7; }
.check { display: flex; align-items: center; gap: .5rem; }
input[type=checkbox], input[type=radio] { accent-color: #335236; width: 1rem; height: 1rem; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.auth { max-width: 32rem; margin: auto; }
.auth form, .auth form + p, .logout { margin-top: 1rem; }
.alerts { padding-top: 1rem; }
.notice { padding: .7rem .95rem; background: #edf8dc; border: 1px solid #c3db9f; border-radius: .5rem; }
.notice.error { background: #fef0ee; border-color: #dfaca6; color: #752c29; }
.result { background: #eef7df; margin-bottom: 1.25rem; }
.course-outline { margin-top: 1.5rem; }
.lesson-list, .admin-list { padding: 0; margin: 1rem 0 0; list-style: none; }
.lesson-list li, .admin-list li { padding: .65rem 0; border-top: 1px solid var(--line); }
.lesson-list li { display: flex; justify-content: space-between; gap: 1rem; }
.lesson-list small, .admin-list small { color: var(--muted); }
.admin-list small { display: block; }
.lesson-phrase { padding: 1rem 1.25rem; background: var(--lavender); border-radius: .85rem; margin-block: 1.1rem; }
.lesson-phrase strong { font-size: 1.35rem; }
.lesson-phrase p { margin-bottom: .45rem; }
.voice-status:empty { display: none; }
.lesson-body { margin-block: 1.35rem; }
.lesson form + p { margin-top: 1rem; }
audio { width: min(100%, 24rem); }
progress { display: block; width: 100%; height: .7rem; accent-color: #4b7444; }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; gap: 1rem; }
.admin-list { overflow-wrap: anywhere; }
.stat { display: grid; gap: .15rem; }
.stat strong { font-size: 2.5rem; }
.filter-form, .enrollment { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .7rem; }
.filter-form { margin-bottom: 1rem; }
.filter-form label { width: min(100%, 26rem); }
.enrollment { align-items: center; justify-content: space-between; padding-block: .45rem; border-top: 1px solid var(--line); }
.settings-form { max-width: 46rem; }
details + details { border-top: 1px solid var(--line); }
details { padding-block: .65rem; }
summary { font-weight: 720; }
details p { margin-block: .5rem 0; }
.prose h2:not(:first-child) { margin-top: 1.35rem; }
.setup main { padding-block: 2.5rem; }
.setup main > .brand { margin-bottom: 1.25rem; }

.site-footer { background: #e9ece2; border-top: 1px solid var(--line); }
.footer-inner { padding-block: 1.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.footer-inner p { margin-bottom: 0; color: var(--muted); font-size: .88rem; }

@media (max-width: 58rem) {
    .hero { gap: 1.75rem; }
    .hero-figure { min-height: 22rem; }
    .header-inner { grid-template-columns: 1fr auto; gap: .6rem; padding-block: .85rem; }
    .main-nav { grid-row: 2; grid-column: 1 / -1; gap: 1.2rem; }
}

@media (max-width: 45rem) {
    .wrap { width: calc(100% - 2rem); }
    .hero { grid-template-columns: 1fr; padding-block: 2.25rem; }
    .hero h1 { font-size: clamp(2.8rem, 12vw, 4.5rem); max-width: 11ch; }
    .hero-figure { min-height: clamp(15rem, 58vw, 23rem); }
    .card-grid, .admin-grid { grid-template-columns: 1fr; }
    .section-head, .level-banner, .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 28rem) {
    .field-grid { grid-template-columns: 1fr; }
    .main-nav { gap: .85rem; }
    .main-nav a { font-size: .88rem; }
    .brand-logo { width: 4.45rem; height: 4.45rem; }
    .header-actions .button { font-size: .85rem; }

}


.language-nav {
    display: inline-flex;
    align-items: center;
    gap: .15rem;
    padding: .2rem;
    border: 1px solid #d8ded2;
    border-radius: .82rem;
    background: #eff2e9;
}
.language-option {
    display: inline-flex;
    align-items: center;
    gap: .44rem;
    min-height: 2.3rem;
    padding: .25rem .53rem;
    border: 1px solid transparent;
    border-radius: .59rem;
    color: var(--muted);
    font-size: .83rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.language-option:hover { background: #e1ead8; color: var(--ink); }
.language-option[aria-current] { border-color: #bed79b; background: #e5f6cf; color: #223a20; }
.language-flag {
    position: relative;
    display: inline-block;
    flex: none;
    width: 1.33rem;
    height: .92rem;
    overflow: hidden;
    border-radius: .19rem;
    box-shadow: 0 0 0 1px #191a2b25;
    forced-color-adjust: none;
}
.flag-nb {
    background:
        linear-gradient(to bottom, transparent 43%, #09285a 43% 57%, transparent 57%),
        linear-gradient(to right, transparent 28%, #09285a 28% 40%, transparent 40%),
        linear-gradient(to bottom, transparent 35%, #fff 35% 65%, transparent 65%),
        linear-gradient(to right, transparent 22%, #fff 22% 46%, transparent 46%), #bd2540;
}
.flag-es { background: linear-gradient(to bottom, #aa151b 25%, #ffc400 25% 75%, #aa151b 75%); }
.flag-tr {
    background: radial-gradient(circle at 44% 50%, #e30a17 0 21%, transparent 22%),
        radial-gradient(circle at 38% 50%, #fff 0 27%, transparent 28%), #e30a17;
}
.flag-tr::after {
    content: "";
    position: absolute;
    left: 53%;
    top: 33%;
    width: 23%;
    height: 34%;
    background: #fff;
    clip-path: polygon(0 50%, 34% 40%, 36% 3%, 60% 32%, 96% 20%, 75% 50%, 96% 80%, 60% 68%, 36% 97%, 34% 61%);
}
.practice-feature {
    margin-block: 2.7rem;
    padding: clamp(1.2rem, 3vw, 2.5rem);
    background: #f3ece5;
    border: 1px solid #e6dacd;
    border-radius: var(--radius);
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 1.25rem 2.4rem;
}
.practice-feature h2 { max-width: 18ch; }
.practice-feature p { color: var(--muted); }
.practice-feature-topics { display: grid; gap: .4rem; }
.practice-feature-topics a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .35rem .85rem;
    flex-wrap: wrap;
    background: var(--white);
    border: 1px solid #e6dacd;
    border-radius: .58rem;
    padding: .57rem .74rem;
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
}
.practice-feature-topics a:hover { border-color: #888c7d; }
.practice-feature-topics span { color: var(--muted); font-weight: 500; font-size: .92rem; }
.practice-page .lesson-phrase h2 { margin-bottom: .5rem; font-size: 1.4rem; }
.practice-page .lesson-phrase button { margin-top: .65rem; }
.practice-page .notice p { margin: .3rem 0 0; }
.level-tabs { margin-top: -.7rem; }
.level-tabs a { min-width: 2.8rem; text-align: center; }
.catalog-help { color: var(--muted); margin-top: 1.4rem; }
@media (min-width: 80rem) {
    .header-inner { grid-template-columns: auto minmax(0, 1fr) auto; column-gap: clamp(.55rem, 1.1vw, 1rem); }
    .main-nav { flex-wrap: nowrap; justify-content: center; column-gap: clamp(.5rem, 1.05vw, 1rem); }
    .main-nav a { white-space: nowrap; }
    .header-actions { flex-wrap: nowrap; }
}
@media (min-width: 45.01rem) and (max-width: 79.99rem) {
    .header-inner { grid-template-columns: minmax(0, 1fr) auto; padding-block: .35rem .5rem; row-gap: .3rem; }
    .main-nav { grid-row: 2; grid-column: 1 / -1; justify-content: center; column-gap: clamp(.6rem, 2vw, 1.3rem); row-gap: .35rem; }
}
@media (max-width: 45rem) {
    .header-actions { display: contents; }
    .header-actions > .button { grid-column: 2; grid-row: 1; justify-self: end; }
    .language-nav { grid-column: 1 / -1; grid-row: 3; justify-self: start; max-width: 100%; }
    .language-option { min-height: 2.63rem; padding-inline: .46rem; }
    .practice-feature { grid-template-columns: 1fr; }
}

.home-masthead {
    --home-header-height: 5.35rem;
    --home-hero-inset: clamp(1rem, 5svh, 3.6rem);
    background: #1d2e27;
    color: #f8faef;
}
.home-masthead .hero {
    min-height: max(0px, calc(100svh - var(--home-header-height)));
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(1rem, 3.8vw, 3.4rem);
    padding-block: var(--home-hero-inset);
}
.home-masthead .eyebrow { color: #cfeaa8; }
.home-masthead .accent-mark { background: var(--green); }
.home-masthead .hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    font-size: clamp(2.25rem, min(4.65vw, 11.1svh), 5.25rem);
    letter-spacing: -.055em;
    line-height: 1.01;
    max-width: none;
    margin-block: .65rem .7rem;
    overflow-wrap: break-word;
}
.home-masthead .hero-description { color: #e1eade; max-width: 49ch; margin-bottom: .9rem; font-size: clamp(.98rem, 1.5vw, 1.16rem); }
.home-masthead .hero-figure {
    min-height: clamp(11rem, min(42vw, calc(100svh - var(--home-header-height) - 2 * var(--home-hero-inset))), 34rem);
    border-radius: 1rem clamp(2.5rem, 6vw, 6rem) 1rem 1rem;
}
.home-masthead .hero-figure img { object-position: 48% 57%; }
.home-masthead .phrase-card { color: var(--ink); }
.home-masthead .button.primary { background: #def69d; border-color: #c2e180; }
.home-masthead .button.outline { background: transparent; color: #f6faed; border-color: #acbcaa; }
.home-masthead .button.outline:hover { background: #254139; }
.home-catalog {
    background: #f3f5ef;
    padding-block: clamp(2rem, 4.8vw, 4rem);
}
.home-catalog .course-card { border-radius: 1rem; }
.home-catalog .course-meta { min-height: 3.25rem; }
.home-catalog .card-copy { padding: 1.1rem 1.25rem 1.4rem; }
.look-inside {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.2rem, 4vw, 3.75rem);
    align-items: center;
    padding-block: clamp(2.1rem, 5.3vw, 5rem);
}
.look-image { margin: 0; overflow: hidden; border-radius: 1rem 1rem 4rem 1rem; background: #e6ebe0; }
.look-image img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.look-copy h2 { max-width: 18ch; }
.look-copy > p:not(.eyebrow) { color: var(--muted); }
.course-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .72rem; margin: 1rem 0 1.25rem; }
.course-facts div { padding: .75rem .5rem .62rem 0; border-top: 1px solid #c8d3c3; }
.course-facts dt { font-size: clamp(1.7rem, 4vw, 2.55rem); font-weight: 760; line-height: 1.08; letter-spacing: -.06em; color: #26402c; }
.course-facts dd { margin: .24rem 0 0; color: var(--muted); font-size: .9rem; font-weight: 640; overflow-wrap: anywhere; }
.learning-map { padding-block: clamp(1.8rem, 4vw, 3.5rem); background: #e7eee5; border-block: 1px solid #d7e0d4; }
.learning-levels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; padding: 0; margin: 0; list-style: none; }
.learning-levels a {
    display: grid;
    height: 100%;
    min-height: 6.1rem;
    align-content: start;
    gap: .25rem;
    border-radius: .8rem;
    border: 1px solid #d3e0cf;
    background: #fbfcf8;
    padding: .72rem .9rem;
    text-decoration: none;
}
.learning-levels a:hover { border-color: #738e67; background: #f2f8e9; }
.learning-levels strong { color: #2a4831; font-size: 1.35rem; }
.learning-levels span { color: var(--muted); line-height: 1.3; }
.guide-table-wrap { margin-block: 1.6rem; overflow-x: auto; border: 1px solid var(--line); border-radius: .9rem; }
.guide-table { width: 100%; border-collapse: collapse; min-width: 36rem; background: var(--white); }
.guide-table caption { text-align: start; padding: .9rem 1rem; background: #e8f0df; font-weight: 740; }
.guide-table th, .guide-table td { padding: .8rem 1rem; text-align: start; vertical-align: top; border-top: 1px solid var(--line); }
.guide-table tbody th { min-width: 9rem; }
.guide-table td { color: var(--muted); }
.guide-resources { max-width: 55rem; }
.guide-resources li + li { margin-top: .5rem; }
@media (max-width: 45rem) {
    .home-masthead .hero, .look-inside { grid-template-columns: 1fr; }
    .learning-levels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .look-inside { gap: 1.3rem; }
}


.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: clamp(1.35rem, 5vw, 5.4rem);
    align-items: start;
}
.contact-photo { margin: 0; overflow: hidden; border-radius: .9rem 4rem .9rem .9rem; background: #294b40; }
.contact-photo img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; object-position: 50% 55%; }
.contact-address {
    display: grid;
    gap: .55rem;
    margin: 1.12rem 0 0;
    padding: .58rem 0 .58rem .93rem;
    border-left: 2px solid #6d9567;
}
.contact-address dt { color: var(--muted); font-size: .9rem; }
.contact-address dd { margin: 0; }
.contact-address a { width: fit-content; max-width: 100%; color: var(--green-deep); font-weight: 720; overflow-wrap: anywhere; }
.contact-form {
    color: var(--ink);
    background: #fff;
    padding: clamp(1.2rem, 3vw, 2.3rem);
    border: 1px solid #dce5d7;
    border-radius: 1.2rem;
    box-shadow: 0 .45rem 1.1rem #0e1d1812;
    scroll-margin-top: 1rem;
}
.contact-form h2 { font-size: clamp(1.62rem, 3.25vw, 2.45rem); }
.contact-form label { font-size: .94rem; }
.contact-form input:not([type=hidden]), .contact-form textarea { background: #fafbf8; font-size: 1rem; border-color: #abb5aa; }
.contact-topics { display: flex; flex-wrap: wrap; gap: .36rem; }
.contact-topics a {
    border: 1px solid #d9e3d2;
    border-radius: 999px;
    padding: .36rem .67rem;
    text-decoration: none;
    color: #30432f;
    font-size: .875rem;
    font-weight: 680;
    background: #f1f5eb;
}
.contact-topics a[aria-current], .contact-topics a:hover { border-color: #a0bc88; background: #e5f5cd; color: #223824; }
.contact-submit { display: flex; align-items: center; flex-wrap: wrap; gap: .62rem 1rem; padding-top: .62rem; border-top: 1px solid var(--line); }
.contact-submit small { flex: 1 1 11.5rem; color: var(--muted); }
#contact-message-help { margin-top: -.62rem; color: var(--muted); }
.contact-help { padding-block: clamp(1.7rem, 4vw, 3.5rem); }
.contact-help-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.contact-help-grid article {
    display: flex;
    flex-direction: column;
    padding: 1.12rem 1.15rem;
    border: 1px solid #dce3d8;
    background: #fff;
    border-radius: .85rem;
}
.contact-help-grid article h3 { margin-bottom: .42rem; }
.contact-help-grid article p { color: var(--muted); }
.contact-help-grid article .text-link { margin-top: auto; align-self: flex-start; }
@media (max-width: 52rem) {
    .contact-layout { gap: 1.2rem; }
}
@media (max-width: 45rem) {
    .contact-layout, .contact-help-grid { grid-template-columns: 1fr; }
    .contact-photo { border-top-right-radius: 2.4rem; }
    .contact-photo img { aspect-ratio: 2 / 1; }
    .contact-form { margin-top: .25rem; }
}

.about-photo { margin: 0; background: #304b3e; border-radius: 1rem 5rem 1rem 1rem; overflow: hidden; }
.about-photo img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.about-history {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(1.25rem, 5.5vw, 5rem);
}
.about-history p, .about-method-head p { color: var(--muted); }
.about-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: .02rem; }
.about-timeline li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: .75rem; align-items: start; padding: .65rem .05rem; border-bottom: 1px solid #dce5d8; }
.about-timeline li:first-child { border-top: 1px solid #dce5d8; }
.about-timeline time { font-size: 1.1rem; font-weight: 750; color: #335739; }
.about-method { padding-block: clamp(2rem, 4.3vw, 4rem); border-block: 1px solid #dce5d8; background: #edf2e8; }
.about-method-head { max-width: 48rem; margin-bottom: 1.1rem; }
.about-method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.about-method-grid article { display: flex; flex-direction: column; padding: .96rem; background: #fff; border: 1px solid #dce5d8; border-radius: .7rem; }
.about-method-grid article p { color: var(--muted); }
.about-method-grid article a { align-self: flex-start; margin-top: auto; }
#historia, #metodo { scroll-margin-top: .65rem; }
@media (max-width: 45rem) {
    .about-history, .about-method-grid { grid-template-columns: 1fr; }
    .about-photo { border-top-right-radius: 2.5rem; }
    .about-photo img { aspect-ratio: 16 / 10; }
}

body { overflow-wrap: anywhere; }
img, video, audio { max-width: 100%; }
.field-grid > *, .stack label, .language-nav, .header-actions { min-width: 0; }
.language-nav { flex-wrap: wrap; max-width: 100%; }
.lesson-list li > * { min-width: 0; }
.responsive-cell-label { display: none; }

@media (max-width: 79.99rem) {
    .home-masthead { --home-header-height: 8rem; }
}

@media (max-width: 45rem) {
    .main-nav { column-gap: .75rem; row-gap: .12rem; }
    .main-nav a { display: inline-flex; min-height: 2.6rem; align-items: center; }
    .tabs a { display: inline-flex; align-items: center; min-height: 2.65rem; }
    .language-option { white-space: normal; }
    .field-grid, .look-inside { grid-template-columns: minmax(0, 1fr); }
    .hero .actions, .contact-submit { gap: .55rem; }
    .contact-media { display: flex; flex-direction: column-reverse; gap: .75rem; }
    .contact-address { margin: 0; }
    .guide-table-wrap { border: 0; border-radius: 0; overflow: visible; }
    .responsive-table, .responsive-table caption, .responsive-table tbody {
        display: block;
        min-width: 0;
        width: 100%;
    }
    .responsive-table { background: transparent; }
    .responsive-table caption { border-radius: .6rem; margin-bottom: .65rem; }
    .responsive-table thead { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
    .responsive-table tbody tr {
        display: grid;
        min-width: 0;
        padding: .75rem;
        margin-bottom: .55rem;
        border: 1px solid var(--line);
        border-radius: .6rem;
        background: #fff;
    }
    .responsive-table tbody th, .responsive-table tbody td { padding: .35rem 0; border: 0; min-width: 0; }
    .responsive-cell-label { display: block; color: var(--ink); font-size: .84rem; font-weight: 680; }
}

@media (max-width: 24rem) {
    .wrap { width: calc(100% - 1.35rem); }
    .header-inner { min-height: auto; }
    .language-option { flex: 1 0 auto; gap: .3rem; font-size: .81rem; padding-inline: .32rem; }
    .language-flag { width: 1.1rem; height: .77rem; }
    .lesson-list li { flex-direction: column; gap: .25rem; }
    .learning-levels { gap: .48rem; }
    .learning-levels a { padding: .52rem; }
    .practice-feature-topics a { align-items: flex-start; }
    .enrollment { align-items: flex-start; flex-direction: column; }
}


/* Course curriculum and live groups */
.course-outline .curriculum-module { margin: 1.4rem 0 .25rem; }
.live-groups { margin-block: 2rem; }
.live-groups .card-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.live-group { min-width: 0; overflow-wrap: anywhere; }
.live-group dl { margin: 0; }
.live-group dt { font-weight: 700; }
.live-group dd { margin: 0 0 .55rem; }
.lesson-video { display: block; width: 100%; max-height: 70vh; margin-block: 1.25rem; background: #141c1a; border-radius: .75rem; }

.video-filters { padding: 1rem; background: #edf1e7; border-radius: .85rem; }
.video-filters label { width: auto; flex: 1 1 10rem; min-width: 0; }
.video-filters label:first-of-type { flex-basis: 16rem; }
.video-filters .button { align-self: end; }
.video-results { margin: 1.25rem 0 .8rem; color: var(--muted); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1rem; }
.video-card { min-width: 0; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.video-player { position: relative; aspect-ratio: 16 / 9; background: #172b23; }
.video-player :is(.video-play, iframe) { display: block; width: 100%; height: 100%; border: 0; }
.video-player img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-play:focus-visible { outline-offset: -4px; }
.video-play:hover .video-play-icon { background: #325942; }
.video-play-icon {
    display: grid; place-items: center; position: absolute; inset: 50% auto auto 50%;
    transform: translate(-50%, -50%); width: 3.3rem; height: 3.3rem; border-radius: 50%;
    background: #203329; color: white; box-shadow: 0 .25rem 1rem #121f18aa;
}
.video-play-icon::after {
    content: ""; width: 0; height: 0; margin-left: .16rem;
    border-block: .46rem solid transparent; border-left: .75rem solid currentColor;
}
.video-card-copy { padding: 1rem 1.1rem 1.15rem; flex: 1; display: flex; flex-direction: column; }
.video-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .7rem; margin: 0; font-size: .84rem; color: var(--muted); }
.video-meta span { font-weight: 700; }
.video-card h2 { font: 700 clamp(1.12rem, 1.6vw, 1.35rem)/1.3 var(--font-body, system-ui); overflow-wrap: anywhere; margin: .55rem 0 .8rem; }
.video-card .text-link { margin-top: auto; align-self: flex-start; }
.video-pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .55rem 1rem; margin-top: 1.5rem; }

.student-dashboard { display: grid; gap: 1.15rem; }
.student-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem .9rem; }
.student-toolbar h1 { margin: 0; font-size: clamp(1.28rem, 2.6vw, 1.9rem); letter-spacing: -.032em; }
.student-overview { display: grid; grid-template-columns: minmax(0, 1.44fr) minmax(0, 1fr); gap: .9rem; }
.student-next {
    display: flex; flex-direction: column; justify-content: space-between; min-height: 15rem; gap: .7rem;
    padding: clamp(1.1rem, 3vw, 2rem); border-radius: 1.15rem; background: #1a392d;
    background-image: linear-gradient(90deg, #16372a 0%, #1b382df0 52%, #1b382d9e), url('norwegian-classroom.jpg');
    background-size: cover; background-position: 50% 53%; color: #f4faed;
}
.student-next h2 { font: 700 clamp(1.7rem, 3.6vw, 3.15rem)/1.06 Georgia, serif; margin-bottom: .45rem; max-width: 23ch; }
.student-next p { color: #edf5e8; margin-bottom: .55rem; }
.student-next .student-kicker { color: #d2fa93; font-weight: 720; font-size: .86rem; }
.student-next .actions { margin-top: .7rem; }
.student-next .button.outline { background: #18382d; color: #f4faed; border-color: #aac0a9; }
.student-next .button.outline:hover { background: #345b47; }
.student-next.student-empty { min-height: 10rem; justify-content: center; }
.student-progress-track { display: flex; flex-wrap: wrap; align-items: center; gap: .32rem .7rem; }
.student-progress-track progress { flex: 1 1 7rem; max-width: 14rem; height: .52rem; accent-color: #d2fa93; }
.student-path { border-radius: 1.15rem; padding: clamp(.95rem, 2.4vw, 1.4rem); }
.student-path h2, .student-summary h2 { font-size: 1.15rem; letter-spacing: -.022em; margin-bottom: .5rem; }
.student-path ol, .student-course-list { margin: 0; padding: 0; list-style: none; }
.student-path li + li { border-top: 1px solid var(--line); }
.student-path a { display: grid; grid-template-columns: 1.3rem minmax(0, 1fr); align-items: center; gap: .45rem; padding: .5rem; text-decoration: none; font-weight: 650; line-height: 1.2; }
.student-path a::before { content: ""; width: .75rem; aspect-ratio: 1; border-radius: 50%; border: 1px solid #8c9d8d; justify-self: center; }
.student-path .completed a::before { background: #487258; border-color: #487258; }
.student-path .current a { background: #eaf5dd; border-radius: .42rem; color: #253f2a; }
.student-path .current a::before { border: 2px solid #385935; background: #c6ea9a; }
.student-path a:hover { text-decoration: underline; }
.student-summary { padding: .85rem 1.05rem; border-radius: .9rem; }
.student-summary dl { margin: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .45rem .75rem; }
.student-summary dl > div { display: flex; align-items: center; justify-content: space-between; gap: .35rem; padding: .45rem .55rem; background: #f1f6ed; border-radius: .4rem; }
.student-summary dt { color: var(--muted); font-size: .82rem; line-height: 1.18; }
.student-summary dd { margin: 0; font-size: 1.3rem; font-weight: 780; color: var(--green-deep); }
.student-section-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .3rem .65rem; margin-bottom: .55rem; }
.student-section-bar h2, .student-dashboard .live-groups > h2 { margin: 0; font-size: clamp(1.25rem, 2.3vw, 1.7rem); }
.student-learning { display: grid; gap: .9rem; align-items: start; }
.student-course-list { display: grid; gap: .44rem; }
.student-course-list li { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem .85rem; border-radius: .8rem; padding: .72rem .85rem; }
.student-course-copy { flex: 1 1 13rem; min-width: 0; }
.student-course-copy span { color: #4f6856; font: 700 .78rem/1.2 system-ui, sans-serif; }
.student-course-copy h3 { margin: .14rem 0 0; font-size: 1.02rem; line-height: 1.25; }
.student-course-copy h3 a { text-decoration: none; }
.student-course-copy h3 a:hover { text-decoration: underline; }
.student-course-progress { width: min(100%, 7rem); display: grid; gap: .28rem; }
.student-course-progress progress { width: 100%; height: .48rem; accent-color: #4c7a50; }
.student-course-progress small, .student-course-list .text-link { font-size: .82rem; }
.student-live-empty .panel, .student-dashboard .live-group { padding: .8rem .9rem; border-radius: .8rem; }
.student-live-empty p, .student-dashboard .live-group p { margin: 0; }
.student-dashboard .live-groups { margin: 0; gap: .55rem; }
.student-dashboard .live-group h3 { margin: 0; font-size: 1.06rem; }
.student-dashboard .live-group dl { font-size: .83rem; }
.group-state { display: inline-block; padding: .2rem .45rem; border-radius: .35rem; background: #eef2e8; color: #2b4938; font-size: .82rem; }
.group-state.pending { background: #fbefd8; color: #684915; }
.group-state.declined { background: #f8e8e3; color: #794632; }
.student-resources { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; }
.student-resources a { display: grid; grid-template-columns: 3.5rem minmax(0,1fr) auto; gap: .55rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: .75rem; padding: .5rem; text-decoration: none; font-weight: 660; }
.student-resources a:hover { background: #eff6e9; }
.student-resources img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: .28rem; }
@media (min-width: 62rem) { .student-learning { grid-template-columns: minmax(0, 1.44fr) minmax(0, 1fr); } }
@media (max-width: 44rem) {
    .student-overview { grid-template-columns: minmax(0, 1fr); }
    .student-next { min-height: 12rem; }
    .student-resources a { grid-template-columns: 2.5rem minmax(0,1fr) auto; font-size: .84rem; }
}
@media (max-width: 26rem) {
    .student-summary dl > div { flex-direction: column-reverse; align-items: flex-start; }
    .student-resources { grid-template-columns: minmax(0, 1fr); }
}
.news-page { max-width: 54rem; }
.news-article { margin-bottom: 1.3rem; }
.news-article time, .news-list time { display: block; color: var(--muted); font-size: .86rem; margin-bottom: .4rem; }
.news-list { list-style: none; padding: 0; display: grid; gap: .65rem; }
.news-list h2 { font-size: 1.25rem; margin: 0; }
.news-copy { max-width: 70ch; overflow-wrap: anywhere; }
.newsletter-signup { max-width: 38rem; }

.practice-feature-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.practice-feature-topics a { display: grid; gap: .22rem; align-content: start; }
.practice-topics { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .85rem; }
.practice-topics a { background: #fff; border: 1px solid var(--line); padding: .42rem .74rem; border-radius: 999px; text-decoration: none; font-size: .9rem; font-weight: 660; }
.practice-topics a[aria-current], .practice-topics a:hover { background: #e9f4dd; border-color: #99b583; color: #264734; }
.practice-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: .9rem; align-items: start; }
.practice-main, .practice-resources { gap: .85rem; min-width: 0; }
.practice-key-phrase { background: #1b392e; color: #f5f8ed; border-radius: .9rem; padding: clamp(1rem, 3vw, 1.65rem); }
.practice-key-phrase h2 { font-size: .92rem; letter-spacing: 0; color: #d7efae; }
.practice-key-phrase p { font: 700 clamp(1.45rem, 3.1vw, 2.3rem)/1.1 Georgia, serif; margin-bottom: .38rem; }
.practice-key-phrase span { color: #e0e9dc; }
.practice-dialogue, .practice-vocabulary, .practice-video, .practice-exercise { padding: clamp(.9rem, 2.3vw, 1.35rem); border-radius: .9rem; }
.practice-dialogue h2, .practice-exercise h2, .practice-resources h2 { font-size: clamp(1.17rem, 2.65vw, 1.5rem); margin: 0 0 .6rem; }
.practice-section-head { display: flex; flex-wrap: wrap; gap: .35rem .65rem; justify-content: space-between; align-items: center; }
.practice-section-head h2 { margin: 0; }
.practice-section-head .voice-status { flex-basis: 100%; margin: 0; }
.practice-section-head .voice-status:empty { display: none; }
.practice-dialogue ol { list-style: none; display: grid; gap: .42rem; margin: .6rem 0 0; padding: 0; }
.practice-dialogue li { background: #f0f6ec; border-radius: .52rem; padding: .58rem .68rem; }
.practice-dialogue li:nth-child(even) { background: #f5f3ee; }
.practice-line { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: .55rem; align-items: start; }
.practice-line p { margin: 0; font-weight: 700; }
.practice-line small { color: var(--muted); }
.practice-speaker { display: grid; place-items: center; aspect-ratio: 1; background: #dfeadb; border-radius: 50%; font-size: .75rem; font-weight: 750; }
.practice-translation { margin: .45rem 0 .02rem 2.05rem; font-size: .83rem; }
.practice-translation p { margin: .2rem 0; }
.practice-vocabulary dl { display: grid; margin: 0; }
.practice-vocabulary dl > div { padding: .42rem 0; display: grid; gap: .06rem .65rem; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); }
.practice-vocabulary dl > div + div { border-top: 1px solid var(--line); }
.practice-vocabulary dt { font-weight: 700; color: var(--green-deep); }
.practice-vocabulary dd { margin: 0; color: var(--muted); }
.practice-video .video-player { border-radius: .55rem; overflow: hidden; margin-bottom: .55rem; }
.practice-video .text-link { font-size: .88rem; }
@media (max-width: 45rem) {
    .site-header .header-inner { padding-block: .25rem .35rem; row-gap: .25rem; }
    .site-header .brand-logo { width: 3.25rem; height: 3.25rem; margin: 0; }
    .site-header .main-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 .28rem; width: 100%; }
    .site-header .main-nav a { min-height: 2.05rem; line-height: 1.12; font-size: .84rem; }
    .site-header .language-option { min-height: 1.9rem; padding-block: .16rem; }
    .home-masthead { --home-header-height: 10.95rem; --home-hero-inset: clamp(.62rem, 2.6svh, 1.55rem); }
    .home-masthead .hero { gap: .7rem; align-content: center; }
    .home-masthead .hero-copy { padding: 0; }
    .home-masthead .hero h1 { font-size: clamp(1.85rem, min(7.15vw, 5.8svh), 3.2rem); max-width: 19ch; margin-block: .38rem .45rem; text-wrap: balance; }
    .home-masthead .eyebrow { font-size: .7rem; margin: 0; }
    .home-masthead .hero-description { margin-bottom: .58rem; font-size: .91rem; line-height: 1.35; }
    .home-masthead .hero-figure { min-height: clamp(6.2rem, min(38vw, 25svh), 15rem); border-radius: .72rem 2.4rem .72rem .72rem; }
    .home-masthead .hero-figure figcaption { top: .4rem; left: .45rem; font-size: .67rem; padding: .17rem .45rem; }
    .home-masthead .phrase-card { right: .45rem; bottom: .4rem; padding: .21rem .42rem; border-radius: .42rem; }
    .home-masthead .phrase-card span { font-size: .78rem; }
    .home-masthead .phrase-card small { font-size: .67rem; }
    .home-masthead .actions .button { min-height: 2.45rem; padding: .35rem .6rem; font-size: .83rem; }
    .practice-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 32rem) { .practice-feature-topics { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 45.01rem) and (max-height: 34rem) {
    .home-masthead .hero h1 { font-size: clamp(1.9rem, min(4.5vw, 8.5svh), 3.1rem); }
    .home-masthead { --home-hero-inset: clamp(.7rem, 3svh, 1.6rem); }
}

.site-search { display: grid; gap: .7rem; }
.site-search-form { margin: 0; }
.site-search-form label { flex: 1 1 13rem; }
.site-search h2 { font-size: 1.28rem; }
.site-search ul { margin: 0 0 .48rem; padding-inline-start: 1.3rem; }
.site-search li + li { margin-top: .3rem; }
.lesson-navigation { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; margin-top: 1rem; padding-top: .75rem; border-top: 1px solid var(--line); }
