@font-face{font-family:DM Sans;src:url(./assets/fonts/dm-sans.woff2) format("woff2");font-weight:400 800;font-display:swap}
@font-face{font-family:Manrope;src:url(./assets/fonts/manrope.woff2) format("woff2");font-weight:400 800;font-display:swap}
:root{color-scheme:light;--paper:#f6f8f5;--white:#fff;--ink:#182c26;--muted:#52655d;--green:#19634f;--pine:#143f35;--soft:#e6f3ea;--line:#dce5de;--yellow:#ffe196;--font:"DM Sans",system-ui,sans-serif;--heading:Manrope,var(--font)}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:400 1rem/1.6 var(--font)}
button,input,select,textarea{font:inherit}
button,input[type=range],select,summary{cursor:pointer}
button{color:inherit}
button:disabled{cursor:default;opacity:.48}
a{color:inherit;text-decoration:none}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #29886d;outline-offset:4px}
img{max-width:100%;display:block}
svg{display:block;flex:none}
h1,h2,h3,p{margin:0}
h1,h2,h3{font-family:var(--heading);line-height:1.16;letter-spacing:-.04em;font-weight:800}
h1{font-size:clamp(2.15rem,4.6vw,3.7rem)}
h2{font-size:clamp(1.65rem,3vw,2.25rem)}
h3{font-size:1.2rem}
p+p{margin-top:.75rem}
.wrap{width:min(1160px,calc(100% - 64px));margin-inline:auto}
.narrow{width:min(860px,calc(100% - 64px));margin-inline:auto}
.skip{position:absolute;left:.5rem;top:.5rem;transform:translateY(-160%);z-index:30;background:white;padding:.6rem 1rem;border:2px solid}
.skip:focus{transform:none}
.site-header{background:#fff;border-bottom:1px solid #e4eae5}
.header-inner{min-height:74px;display:grid;align-items:center;grid-template-columns:1fr auto 1fr;gap:1.8rem}
.brand{display:inline-flex;align-items:center;gap:.65rem;width:max-content;font:800 1.14rem/1.12 var(--heading);letter-spacing:-.055em}
.brand-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--green);color:#fff}
.brand span span{color:var(--green)}
.nav{display:flex;align-items:center;gap:.25rem}
.nav a{display:flex;align-items:center;gap:.48rem;padding:.5rem .85rem;border-radius:9px;font-weight:700;font-size:.94rem;color:var(--muted);white-space:nowrap}
.nav a:hover,.nav a[aria-current=page]{color:#165943;background:#ecf5ed}
.nav a svg{width:17px;height:17px}
.header-progress{justify-self:end;display:flex;align-items:center;gap:.48rem;color:var(--muted);font-size:.875rem;font-weight:700;white-space:nowrap}
.progress-ring{width:23px;height:23px;border-radius:50%;background:conic-gradient(#42a17d var(--progress),#e1eee4 0);display:grid;place-items:center}
.progress-ring::after{content:"";width:15px;height:15px;border-radius:50%;background:white}
#main{min-height:calc(100vh - 155px)}
#main:focus,.page-title:focus,.task-prompt:focus,[tabindex="-1"]:focus{outline:none}
.site-footer{margin-top:4rem;border-top:1px solid var(--line);background:#f1f5f0;color:var(--muted);font-size:.9rem}
.footer-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-block:.8rem}
.footer-brand{font-weight:800;color:#34564a}
.hero{position:relative;isolation:isolate;overflow:hidden;display:grid;align-items:center;min-height:405px;border-radius:27px;background:#123d34;color:#fff;margin-top:2.1rem}
.hero-photo{position:absolute;inset:0 0 0 auto;z-index:-2;height:100%;width:61%;object-fit:cover;object-position:center center}
.hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#123d34 0%,#123d34 38%,#123d3480 53%,transparent 68%)}
.hero-content{padding:3rem 2.95rem;width:min(700px,72%);position:relative}
.level{display:inline-flex;align-items:center;gap:.4rem;background:#ffffff17;color:#f6fff8;border:1px solid #ffffff2b;border-radius:100px;padding:.23rem .72rem;font-size:.875rem;font-weight:700}
.hero h1{font-size:clamp(2.45rem,5.45vw,4rem);margin:.9rem 0 .8rem;line-height:1.06;letter-spacing:-.065em}
.hero h1 em{color:var(--yellow);font-style:normal}
.hero p{color:#e0eee5;max-width:410px;font-size:1.08rem;line-height:1.55}
.actions{display:flex;gap:.7rem;align-items:center;flex-wrap:wrap;margin-top:1.45rem}
.btn{display:inline-flex;justify-content:center;align-items:center;gap:.55rem;min-height:45px;padding:.56rem 1rem;border-radius:10px;border:1px solid transparent;background:var(--green);color:white;font-weight:800;font-size:.94rem;text-align:center;line-height:1.2;transition:background .18s,border-color .18s}
.btn:hover{background:#104e3d}
.btn svg{width:18px;height:18px}
.btn.second{background:white;border-color:#cbdace;color:#234739}
.btn.second:hover{background:#ebf3ed;border-color:#95b7a4}
.btn.ghost{color:var(--green);background:transparent}
.btn.ghost:hover{background:#e8f1e9}
.btn.sun{background:var(--yellow);color:#24332a}
.btn.sun:hover{background:#ffecb5}
.btn.hero-second{background:#ffffff10;border-color:#ffffff56;color:white}
.btn.hero-second:hover{background:#ffffff24}
.btn.danger{background:#fbefe8;color:#893c23;border-color:#edd1c5}
.heading-row{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin-top:2.6rem;margin-bottom:1rem}
.heading-row p,.subline{color:var(--muted);margin-top:.4rem}
.text-link{color:var(--green);font-weight:800;text-decoration:underline;text-underline-offset:.17em}
.text-link:hover{color:#113e30}
.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.card{border:1px solid var(--line);background:white;border-radius:17px;padding:1.25rem;min-width:0}
a.card{display:block;transition:transform .15s,border-color .15s,box-shadow .15s}
a.card:hover{transform:translateY(-2px);border-color:#9db9a5;box-shadow:0 6px 15px #173d2310}
.card-head{display:flex;justify-content:space-between;align-items:center;gap:.4rem;margin-bottom:.8rem}
.badge-icon{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:14px;color:#235a48;background:#e3f3e7}
.badge-icon svg{width:24px;height:24px}
.mint{color:#25644d;background:#e2f3e8}.lilac{color:#5b4b88;background:#efebfb}.sky{color:#2c6179;background:#e6f3fb}.peach{color:#9d5639;background:#fbece2}.yellow{color:#7c5717;background:#fcf2d1}.rose{color:#994d63;background:#f9e8ed}
.meta{font-size:.875rem;font-weight:700;color:var(--muted)}
.card h3{margin:.25rem 0 .3rem;overflow-wrap:anywhere}
.card p{color:var(--muted);line-height:1.42}
.card .small-status{display:inline-flex;align-items:center;gap:.3rem;color:var(--green);font-size:.875rem;font-weight:700;margin-top:.65rem}
.small-status svg{width:15px;height:15px}
.compact-card{display:grid!important;grid-template-columns:auto 1fr;gap:.8rem;align-items:start}
.compact-card .badge-icon{width:43px;height:43px}
.compact-card .badge-icon svg{width:21px;height:21px}
.compact-card .meta{font-size:.875rem}
.block-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.band{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;padding:1.18rem 1.4rem;background:#e8f3e9;border:1px solid #d5e7d8;border-radius:15px;margin-top:1.15rem}
.band p{color:#375c4b;margin-top:.2rem}
.band-title{font-weight:800;color:#174f3c}
.page-intro{margin-block:2rem 1.45rem}
.page-intro>p{font-size:1.05rem;max-width:670px;color:var(--muted);margin-top:.62rem}
.crumbs{display:flex;align-items:center;gap:.48rem;margin-bottom:1.15rem;color:var(--muted);font-size:.9rem;flex-wrap:wrap}
.crumbs a{color:var(--green);text-decoration:underline;text-underline-offset:.16em}
.crumbs span[aria-hidden]{color:#75857a}
.unit-title{display:flex;gap:.9rem;align-items:start}
.unit-title .badge-icon{width:58px;height:58px;border-radius:17px}
.unit-title .badge-icon svg{width:30px;height:30px}
.unit-title .meta{margin-bottom:.4rem}
.goal{background:#e9f5ed;border-left:4px solid #32896b;border-radius:10px;margin-top:1.1rem;padding:.7rem .9rem;font-weight:800}
.mode-card{display:flex;flex-direction:column;align-items:flex-start;gap:.57rem;padding:1.4rem}
.mode-card p{flex:1}
.mode-card .btn{margin-top:.5rem}
.content-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:1.25rem;align-items:start}
.sidebar{border:1px solid var(--line);border-radius:17px;background:white;padding:1rem;position:sticky;top:1rem}
.sidebar h2{font-size:1.05rem;margin-bottom:.75rem}
.step-list{display:grid;gap:.25rem}
.step-button{width:100%;border:0;background:transparent;border-radius:9px;display:flex;align-items:flex-start;gap:.5rem;padding:.53rem .45rem;text-align:left;font-size:.9rem;line-height:1.39;color:var(--muted)}
.step-button:hover,.step-button[aria-current=step]{background:#eaf4eb;color:#174f3c;font-weight:800}
.step-index{display:grid;place-items:center;width:20px;height:20px;flex:none;border:1px solid #cadccf;border-radius:50%;font-size:.8rem}
.step-button[aria-current=step] .step-index{color:white;background:var(--green);border-color:var(--green)}
.panel{border:1px solid var(--line);background:white;border-radius:19px;padding:clamp(1rem,3vw,1.9rem);min-width:0}
.panel>*+*{margin-top:.85rem}
.panel>h2:first-child,.panel>h3:first-child{margin-top:0}
.progress-strip{display:flex;justify-content:space-between;align-items:center;gap:1rem;font-size:.875rem;font-weight:700;color:var(--muted);margin-bottom:.62rem}
.progress-track{height:7px;border-radius:20px;background:#e8eee8;overflow:hidden;margin-bottom:1.15rem}
.progress-track span{height:100%;background:#45a17d;display:block;border-radius:20px;transition:width .18s}
.example{padding:.85rem 1rem;border-radius:10px;background:#edf6ed;color:#214f3e;font-weight:700;white-space:pre-line}
.rule{border:0;border-top:1px solid var(--line);margin-block:1.15rem}
.task-prompt{font:800 clamp(1.18rem,3vw,1.6rem)/1.26 var(--heading);letter-spacing:-.035em;margin-block:.8rem}
fieldset{min-width:0;border:0;margin:0;padding:0}
.choices{display:grid;gap:.5rem;margin:.65rem 0}
.option{display:flex;align-items:flex-start;gap:.65rem;min-height:50px;align-items:center;padding:.65rem .8rem;border:1px solid #d7e3d9;border-radius:11px;background:#fbfdfb;cursor:pointer}
.option input{accent-color:var(--green);width:17px;height:17px;flex:none}
.option:hover,.option:has(input:checked){border-color:#6ca88b;background:#eff7f0}
.option:has(input:disabled){cursor:default}
.option.right{border-color:#6ca88b;background:#e6f5e9}
.option.wrong{border-color:#d49f8d;background:#fbefe8}
.response{width:100%;max-width:100%;border:1px solid #abc6b4;border-radius:10px;padding:.65rem .75rem;background:#fcfefc;color:var(--ink)}
textarea.response{min-height:125px;resize:vertical}
.token-set{display:flex;flex-wrap:wrap;gap:.45rem;min-height:48px;padding:.45rem 0}
.token-answer{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem;border:1px dashed #a4bcaa;border-radius:10px;min-height:58px;padding:.45rem .55rem;margin-top:.6rem}
.token{border:1px solid #cbdbce;background:#f1f7f1;border-radius:8px;padding:.35rem .62rem;min-height:41px;font-weight:700}
.token:hover{border-color:var(--green)}
.feedback{border-radius:10px;padding:.72rem .85rem;background:#edf6ed;color:#224d3c;margin-top:.85rem}
.feedback.wrong{background:#fbefe8;color:#783c2b}
.feedback p+p{margin-top:.25rem}
.hint{border-top:1px solid var(--line);padding-top:.68rem;font-size:.95rem;margin-top:.9rem}
.hint summary{color:var(--green);font-weight:800;width:max-content;max-width:100%}
.hint p,.hint blockquote{margin:.55rem 0 0}
.hint .text-link{display:inline-block;margin-top:.5rem}
.task-nav{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.65rem;margin-top:1.2rem}
.task-nav>div{display:flex;gap:.55rem;flex-wrap:wrap}
.audio-card{border-radius:14px;background:#e8f3ec;padding:.8rem .9rem;margin-block:.65rem;color:#244f3f}
.audio-caption{display:flex;align-items:center;gap:.5rem;font-weight:800;line-height:1.35;margin-bottom:.6rem}
.audio-caption svg{width:19px;height:19px}
.audio-line{display:flex;align-items:center;gap:.55rem}
.audio-play{border:0;border-radius:50%;background:var(--green);color:white;width:43px;height:43px;display:grid;place-items:center;flex:none}
.audio-play:hover{background:#104e3d}
.audio-play svg{width:19px;height:19px}
.audio-time{font-size:.875rem;min-width:2.35em;font-variant-numeric:tabular-nums}
.audio-line input{min-width:24px;width:100%;accent-color:var(--green)}
.audio-rate{font-size:.875rem;border:1px solid #b8d6c4;border-radius:7px;padding:.25rem .42rem;white-space:nowrap;background:#f6fbf6;min-height:37px}
.audio-card .hint{border-color:#cadfd0}
.transcript{white-space:pre-line}
.media-note{font-size:.875rem;color:var(--muted)}
.passage{white-space:pre-line;background:#f4f7f0;border-left:3px solid #9db59b;border-radius:8px;padding:.7rem 1rem;margin:.6rem 0}
.model{white-space:pre-line;font-weight:700;margin-top:.55rem}
.checklist{display:grid;gap:.25rem;margin:.55rem 0}
.checklist label{display:flex;align-items:center;gap:.45rem;cursor:pointer}
.checklist input{accent-color:var(--green);width:17px;height:17px}
.drill-subnav{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;margin-top:.65rem}
.chip{padding:.28rem .6rem;border-radius:999px;background:#e9f2e9;color:#315948;font-size:.875rem;font-weight:700;white-space:nowrap}
.filters{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin-block:1rem}
.pill{background:#fff;border:1px solid #cdded1;border-radius:999px;padding:.35rem .7rem;min-height:41px;font-weight:700;color:#315948}
.pill[aria-pressed=true]{background:var(--green);color:white;border-color:var(--green)}
.word-list{display:grid;gap:.55rem;margin-top:.8rem}
.word-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.4rem;align-items:center;padding:.65rem .8rem;border:1px solid var(--line);border-radius:10px;background:#fcfefc}
.word-item strong{display:block}
.word-item .translations{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .7rem;color:#435a4e}
.word-item .translations span[lang=ar]{font-size:1.05rem}
.word-item .word-example{display:block;margin-top:.19rem;color:var(--muted);font-size:.9rem}
.sound-button{border:1px solid #c5d9ca;background:#edf6ee;color:var(--green);border-radius:10px;width:42px;height:42px;display:grid;place-items:center}
.sound-button:hover{background:#ddecdf}
.sound-button svg{width:20px;height:20px}
.score-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
.score{background:#eaf4ea;border-radius:11px;padding:.7rem .8rem;color:#275542}
.score strong{display:block;font:800 1.55rem/1.1 var(--heading)}
.result-list{display:grid;gap:.5rem}
.result-item{border:1px solid var(--line);padding:.6rem .8rem;border-radius:10px}
.result-item summary{font-weight:800}
.result-item .text-link{display:inline-block;margin-top:.4rem}
.note{font-size:.9rem;color:var(--muted)}
.mobile-step{display:none}
@media(max-width:960px){.header-inner{gap:1rem}.hero-content{width:75%;padding:2.7rem 2rem}.hero-photo{width:66%}.content-layout{grid-template-columns:200px minmax(0,1fr)}}
@media(max-width:720px){
  .wrap,.narrow{width:calc(100% - 32px)}.header-inner{grid-template-columns:1fr auto;gap:.25rem .6rem;padding-block:.65rem}.header-progress{grid-column:2;grid-row:1}.nav{grid-column:1/-1;justify-content:space-between}.nav a{justify-content:center;flex:1;padding:.46rem .25rem}
  .hero{min-height:0;margin-top:1rem;border-radius:19px;align-items:start}.hero-content{width:100%;padding:1.4rem 1.2rem 10.5rem}.hero h1{font-size:clamp(2.2rem,8vw,3.2rem);margin:.75rem 0 .6rem}.hero p{font-size:1rem}.hero-photo{width:100%;height:53%;inset:auto 0 0;object-position:center 57%}.hero::after{background:linear-gradient(180deg,#123d34 0%,#123d34 60%,#123d3490 74%,transparent 95%)}
  .heading-row{align-items:start;margin-top:1.65rem;gap:.6rem}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.card{padding:.8rem}.card .badge-icon{width:40px;height:40px}.card .badge-icon svg{width:21px;height:21px}.card h3{font-size:1.08rem}.compact-card{grid-template-columns:1fr;gap:.4rem}.block-grid{gap:.65rem}.band{align-items:start;flex-direction:column;padding:1rem;gap:.65rem}
  .page-intro{margin-top:1.1rem;margin-bottom:1rem}.unit-title .badge-icon{width:49px;height:49px}.unit-title .badge-icon svg{width:25px;height:25px}
  .content-layout{display:block}.sidebar{display:none}.mobile-step{display:grid;gap:.25rem;margin-bottom:.7rem;color:var(--muted);font-size:.875rem;font-weight:700}.mobile-step select{appearance:none;background:white url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7") no-repeat right center;border:1px solid #c7dbcc;color:var(--ink);padding:.5rem .6rem;border-radius:9px;min-height:42px;width:100%}.mobile-step{position:relative}.mobile-step::after{content:"";pointer-events:none;position:absolute;right:.85rem;bottom:1.05rem;width:8px;height:8px;border-right:2px solid var(--green);border-bottom:2px solid var(--green);transform:rotate(45deg)}
  .site-footer{margin-top:2rem}.footer-inner{min-height:65px;align-items:flex-start;flex-direction:column;gap:.2rem}.actions{gap:.48rem}.btn{padding-inline:.7rem}
}
@media(max-width:390px){.wrap,.narrow{width:calc(100% - 24px)}.hero-content{padding-inline:.8rem}.hero .btn{gap:.28rem;font-size:.87rem}.hero .btn svg{width:16px}.block-grid{grid-template-columns:1fr}.header-progress{font-size:.82rem}.audio-line{gap:.38rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}
.pill[aria-current=page]{background:var(--green);color:#fff;border-color:var(--green)}
.content-layout > div{min-width:0}
.panel + .content-layout,.band + .content-layout{margin-top:1rem}
.panel h2[tabindex="-1"]:focus{outline:none}
.plural{color:var(--muted);font-size:.875rem;font-weight:500}
