:root{--wine:#65263d;--deep:#462134;--ink:#222e34;--muted:#4e5e66;--paper:#fff;--bg:#f5f7fa;--blue:#e9f2f8;--green:#eaf4e9;--rose:#f9edf0;--line:#d8e2e8;--focus:#167194;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-size:16px;scroll-padding-top:143px}
*{box-sizing:border-box}body{margin:0}img{display:block;max-width:100%;height:auto}a{color:var(--wine)}button,input,textarea,select{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,select:focus-visible{outline:3px solid var(--focus);outline-offset:3px}p{line-height:1.65;margin:0 0 1rem}ul,ol{line-height:1.65;padding-left:1.45rem}h1,h2,h3{color:var(--deep);line-height:1.16;margin:0}h1,h2{font-family:Georgia,"Times New Roman",serif;font-weight:500}h1{font-size:clamp(3rem,5.2vw,5.15rem);letter-spacing:-.052em;max-width:13ch}h2{font-size:clamp(1.6rem,3.2vw,2.35rem);letter-spacing:-.022em}h3{font-size:1.17rem}[hidden]{display:none!important}.skip{position:absolute;left:1rem;top:-4rem;z-index:20;background:white;padding:.8rem}.skip:focus{top:1rem}
.wrap{width:min(1160px,calc(100% - 3.5rem));margin-inline:auto}.brand{background:#fff;border-bottom:1px solid var(--line)}.brand-row{display:flex;justify-content:space-between;align-items:center;gap:1rem;min-height:76px}.brand-name{display:flex;align-items:center;gap:.7rem;text-decoration:none;color:var(--deep);font-size:1.06rem;font-weight:650;line-height:1.15}.brand-name small{display:block;color:var(--muted);font-size:.84rem;font-weight:450;margin-top:.2rem}.button{display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:7px;font-weight:600;padding:.72rem 1.04rem;min-height:44px;line-height:1.2;text-decoration:none;font-size:.94rem}.primary{background:var(--wine);color:#fff}.primary:hover{background:#4e1c30}.outline{color:var(--wine);background:#fff;border-color:#c6aab5}.outline:hover{background:var(--rose)}
.hero{background:var(--blue);border-bottom:1px solid var(--line)}.hero-layout{display:grid;grid-template-columns:1.02fr 1fr;align-items:center;gap:clamp(1.75rem,5vw,4rem);padding-block:3.35rem 3.7rem}.hero-image{width:100%;aspect-ratio:1.31;object-fit:cover;border-radius:13px;border:1px solid #c7d7df}.eyebrow{color:var(--wine);font-size:.84rem;letter-spacing:.1em;font-weight:700;text-transform:uppercase;margin:0 0 .75rem}.lesson{color:var(--muted);margin:0 0 .66rem;font-weight:600}.lesson span{margin-inline:.25rem}.intro{max-width:44ch;margin-top:1.14rem}.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.9rem;margin-top:1.35rem}.hero-actions span{font-size:.9rem;color:var(--muted)}
.sticky{position:sticky;top:0;z-index:4;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 2px 9px #1b263811}.tabs,.toc-inner{display:flex;align-items:center;gap:.6rem;overflow-x:auto;scrollbar-width:thin;white-space:nowrap}.tabs a,.toc a{display:inline-block;text-decoration:none;color:var(--ink);padding:.68rem .75rem;font-weight:550}.tabs a[aria-current]{color:var(--wine);box-shadow:inset 0 -3px var(--wine)}.tabs a:hover,.toc a:hover{color:var(--wine);background:var(--rose)}.toc{background:#f0f5f8;border-top:1px solid var(--line)}.toc-inner{gap:.18rem;font-size:.87rem}.toc-inner strong{color:var(--wine);padding-right:.55rem}.toc a{padding:.66rem .54rem}
main.wrap{max-width:960px;padding:1.5rem 0 3.1rem}.instructions{background:#fff;border:1px solid var(--line);border-radius:9px;padding:.85rem 1rem;margin-bottom:1.3rem}.instructions p,.task p:last-child,.flash-card p:last-child{margin:0}.section{margin:0 0 1.3rem;padding:clamp(1rem,4vw,2rem);background:#fff;border:1px solid var(--line);border-radius:12px}.section-head{display:flex;align-items:center;gap:.8rem;margin-bottom:1rem}.section-head h2{flex:1}.section-number{display:grid;place-items:center;background:var(--wine);color:white;border-radius:50%;width:37px;min-width:37px;height:37px;font-weight:650}.points{background:var(--green);border:1px solid #c7deca;color:#2e553d;border-radius:999px;white-space:nowrap;padding:.26rem .58rem;font-size:.84rem;font-weight:650}
.audio-card{background:var(--blue);border-radius:9px;padding:1rem;margin:1.1rem 0;display:grid;gap:.75rem}.audio-card small{display:block;color:var(--muted);margin-top:.2rem}.audio-card audio{width:min(100%,35rem);height:44px}.question{border:0;border-bottom:1px solid var(--line);margin:0;padding:.65rem 0 .88rem;width:100%;min-inline-size:0}.question legend{float:left;width:100%;padding:0;margin:.45rem 0 .62rem;font-weight:635}.options{display:flex;flex-wrap:wrap;gap:.42rem;clear:both}.options:not(.short-options){display:grid;justify-items:start}.options label{display:flex;align-items:center;gap:.48rem;cursor:pointer;padding:.39rem .62rem;border:1px solid #e1e8ec;border-radius:6px;min-height:38px;line-height:1.35}.options label:hover,.options label:has(:checked){background:var(--blue);border-color:#a4c3d5}.options input{margin:0;accent-color:var(--wine);width:17px;height:17px;flex:none}.answer,textarea,select{border:1px solid #aabdc7;color:var(--ink);background:white;border-radius:6px;padding:.57rem .66rem}.answer{width:min(100%,36rem);min-height:42px}.question-feedback{clear:both;margin:.45rem 0 0;font-size:.92rem;color:var(--muted)}.question-feedback.correct{color:#225138}.question-feedback.incorrect{color:#792744}.checking{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-top:1.05rem}.feedback-summary{font-weight:600}.resource{border:1px solid var(--line);border-radius:8px;padding:.72rem .87rem;background:#f6f9fb;margin-top:1rem}.resource summary{cursor:pointer;color:var(--deep);font-weight:650}.resource[open] summary{margin-bottom:.65rem}.rule{background:var(--green);border-color:#c8dfca}.rule ul{margin:.45rem 0 .15rem}.model{background:var(--rose);border-color:#edcdd7}.reading{background:#f0f6fa;border-radius:8px;padding:1.05rem 1.2rem;margin:1rem 0}.reading h3{margin-bottom:.8rem}.reading p:last-child{margin-bottom:0}
.task{border-top:1px solid var(--line);padding-top:1.15rem;margin-top:1.18rem}.task h3{margin-bottom:.55rem}.task label{display:block;font-weight:590;margin-bottom:.42rem}.task textarea{width:100%;resize:vertical;min-height:90px;line-height:1.55}.counter,.muted{color:var(--muted);font-size:.89rem}.counter{display:block;margin-top:.22rem}.counter.reached{color:#225138}.task figure{margin:.8rem 0 .95rem}.task figure img{width:min(100%,620px);border-radius:9px}.task blockquote{border-left:4px solid #bb788e;margin:.7rem 0;padding:.6rem .8rem;background:var(--rose)}.rubric{margin-top:1.15rem;background:#f0f6fa;padding:1rem;border-radius:8px}.rubric h3{margin-bottom:.55rem}.rubric p{margin-bottom:.65rem}.criterion{display:flex;align-items:center;justify-content:space-between;gap:.8rem;margin:.48rem 0}.criterion select{min-width:4.3rem}.results{background:#eef5f9}.result-list p{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);margin:0;padding:.5rem 0;gap:.6rem}.total{margin-top:.85rem;display:flex;gap:.7rem;align-items:baseline;flex-wrap:wrap}.total strong{font-size:1.35rem;color:var(--wine)}.total span{color:var(--muted)}.flash-card{padding:1.12rem;border-radius:8px;background:var(--blue);min-height:175px}.flash-card h3{margin-bottom:.56rem}.flash-card p{margin:.55rem 0}.flash-actions{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.7rem}.translation{margin-top:.65rem}.vocab-entry{border-top:1px solid var(--line);padding:.65rem 0;display:grid;grid-template-columns:1.3fr 1fr 1fr auto;gap:.65rem}.vocab-entry p{margin:0}.vocab-entry .button,.listen-button{min-height:35px;padding:.4rem .55rem}.site-footer{background:#e9f0f5;border-top:1px solid var(--line);padding:1.2rem 0}.footer-row{display:flex;align-items:center;gap:.72rem}.footer-row span,.footer-row a{display:block;font-size:.88rem;margin:.23rem 0}.footer-row img{object-fit:contain}
@media(max-width:730px){.wrap{width:calc(100% - 1.65rem)}.hero-layout{grid-template-columns:1fr;padding-block:1.8rem;gap:1.3rem}.hero-image{aspect-ratio:1.72}.hero-actions{margin-top:.9rem}.tabs a{padding-inline:.58rem}.vocab-entry{grid-template-columns:1fr 1fr}.vocab-entry p:first-child{grid-column:1/-1}.footer-row{flex-wrap:wrap}.section-head{gap:.55rem}.section-number{width:31px;height:31px;min-width:31px}.toc-inner strong{padding-right:.2rem}.toc a{padding-inline:.42rem}}
@media(prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}
