:root{color-scheme:light;--ink:#182333;--muted:#617087;--blue:#1d4ed8;--line:#dce2ea}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#f4f6fa;font:16px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif}header{height:76px;padding:0 5vw;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:12px;font-weight:750;font-size:20px;color:var(--ink);text-decoration:none}.brand-icon{background:var(--blue);color:white;width:36px;height:36px;border-radius:9px;text-align:center;font-size:25px}.brand-sub{border-left:1px solid var(--line);padding-left:14px;font-size:15px;font-weight:400;color:var(--muted)}.private-note{font-size:14px;color:var(--muted)}main{max-width:1440px;margin:auto;padding:32px 4vw}.course-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;gap:24px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:2px;color:var(--blue);margin:0 0 6px}h1{font-size:32px;line-height:1.25;margin:0}p.intro{color:var(--muted);margin:10px 0 0}.progress-block{min-width:240px;display:grid;gap:6px;font-size:14px}.progress-block small{color:var(--muted);font-size:12px}progress{width:100%;height:8px;border:0;border-radius:8px;overflow:hidden;background:#dfe6f2}progress::-webkit-progress-bar{background:#dfe6f2}progress::-webkit-progress-value{background:var(--blue)}.workspace{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);gap:26px;align-items:start}.practice,.library{background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden}.video-wrap{background:#10151c;position:relative}video{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:#080a0e}.video-caption{display:flex;justify-content:space-between;padding:10px 20px;color:#c6ceda;font-size:12px;letter-spacing:1px}.sentence{padding:22px 24px 8px}.sentence-meta{display:flex;justify-content:space-between;align-items:center;font-size:14px;color:var(--muted);gap:12px}button,input,select{font:inherit}button{cursor:pointer;border:1px solid var(--line);background:white;color:var(--ink);border-radius:8px;padding:10px 16px;min-height:44px}button:hover{background:#f0f4fc}button:disabled{opacity:.4;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #95b2ff;outline-offset:3px}#mastered{padding:6px 10px;min-height:36px;font-size:14px}#mastered.done{color:var(--blue);border-color:#adc4fd;background:#eef4ff}#sentence{font-size:24px;line-height:1.55;margin:18px 0 14px;min-height:75px;overflow-wrap:anywhere}.transport{display:flex;gap:10px;padding:0 24px 20px}.primary{background:var(--blue);color:white;border-color:var(--blue);flex:1}.primary:hover{background:#1942b6}.modes{display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding:18px 24px;border-top:1px solid var(--line);background:#fafbfe;font-size:14px}.modes label{display:flex;gap:7px;align-items:center;cursor:pointer}.modes input{accent-color:var(--blue);width:17px;height:17px}.modes span{color:var(--muted);font-size:12px}#status{min-height:50px;padding:14px 24px;color:var(--blue);font-size:14px}details{padding:14px 24px 20px;border-top:1px solid var(--line);color:var(--muted);font-size:14px}summary{cursor:pointer;color:var(--ink)}details p{margin-bottom:0}.library-top{padding:20px;border-bottom:1px solid var(--line)}.library-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.library-title h2{font-size:18px;margin:0}.library-title span{color:var(--muted);font-size:14px}.field-label{font-size:14px;display:block;margin-bottom:5px}select,input[type=search]{width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:7px;background:white;color:var(--ink);min-height:44px}input[type=search]{margin-top:10px}.list-caption{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;margin-top:14px}.clip-list{height:590px;overflow-y:auto;scroll-behavior:smooth}.clip{border:0;border-radius:0;border-bottom:1px solid #edf0f5;width:100%;text-align:left;display:grid;grid-template-columns:36px 1fr;gap:10px;padding:17px 20px}.clip.active{background:#eef4ff;box-shadow:inset 3px 0 var(--blue)}.clip.active .number{color:var(--blue)}.number{color:#8b96a7;font-size:14px;padding-top:2px;font-variant-numeric:tabular-nums}.clip-text{font-size:15px;line-height:1.5}.clip small{font-size:12px;color:var(--muted);display:block;margin-top:5px}.empty,.loading{color:var(--muted);padding:20px}footer{display:flex;justify-content:space-between;margin-top:24px;color:var(--muted);font-size:12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(min-width:1500px){.clip-list{height:650px}}@media(max-width:900px){.workspace{grid-template-columns:1fr}.clip-list{height:410px}.course-heading{align-items:start}.progress-block{min-width:170px}main{padding:24px 20px}header{padding:0 20px}.brand-sub{display:none}}@media(max-width:560px){header{height:64px}.course-heading{display:block}h1{font-size:28px}.progress-block{margin-top:18px;max-width:100%}.progress-block small{display:none}.sentence{padding:18px 16px 6px}#sentence{font-size:21px;min-height:0}.transport{padding:0 16px 16px}.transport button{padding:10px 12px}.modes,#status,details{padding-left:16px;padding-right:16px}.sentence-meta{flex-wrap:wrap}footer span{display:none}main{padding:20px 12px}.intro{font-size:14px}}
/* Put the player and its sentence in the first viewport on every screen. */
header{height:52px}main{padding-top:14px}.course-heading{margin-bottom:14px}.eyebrow,.intro{display:none}h1{font-size:24px}.progress-block{gap:3px}.progress-block small{display:none}.workspace{gap:20px}.video-wrap video{height:clamp(100px,calc(100dvh - 390px),420px);aspect-ratio:auto}.video-caption{padding:5px 16px}.sentence{padding:10px 16px 6px}.sentence-meta{gap:8px}.sentence-actions{display:flex;gap:8px;align-items:center}.sentence-actions button{font-size:14px;padding:6px 10px;min-height:36px}#subtitleToggle{color:var(--blue);border-color:#adc4fd;background:#eef4ff}#sentence{font-size:20px;line-height:1.5;margin:8px 0;min-height:0;max-height:clamp(72px,16dvh,140px);overflow-y:auto;overscroll-behavior:contain}.transport{padding:4px 16px 12px}.modes{padding:10px 16px;gap:12px}.modes span{display:none}#status{min-height:40px;padding:8px 16px}details{padding:10px 16px}.clip-list{height:calc(100dvh - 340px);min-height:200px}.blind-mode #sentence{color:var(--muted);font-size:16px}.blind-mode .clip-text{color:var(--muted)}
@media(max-width:900px){main{padding:12px 16px}.course-heading{align-items:center}.progress-block{min-width:155px;margin:0}.workspace{grid-template-columns:1fr;gap:16px}.practice{position:sticky;top:0;z-index:2}.video-wrap video{height:clamp(90px,34dvh,340px)}.clip-list{height:400px}.library-top{padding:16px}.brand-sub{display:none}footer{margin-top:16px}}
@media(max-width:560px){header{height:42px;padding:0 12px}.brand{font-size:17px;gap:8px}.brand-icon{width:27px;height:27px;font-size:20px;border-radius:6px}.private-note{font-size:12px}main{padding:8px}.course-heading{display:flex;margin-bottom:8px;gap:8px}h1{font-size:19px}.progress-block{min-width:120px;font-size:12px;max-width:45%}.progress-block progress{height:5px}.video-wrap video{height:clamp(90px,31dvh,260px)}.video-caption{display:none}.sentence{padding:8px 10px 4px}.sentence-meta{flex-wrap:nowrap;font-size:12px;align-items:center}.sentence-actions{gap:5px}.sentence-actions button{font-size:12px;padding:5px 7px;min-height:34px}#mastered{font-size:12px;min-height:34px;padding:5px 7px}#sentence{font-size:18px;max-height:14dvh;line-height:1.45;margin:7px 0}.transport{padding:4px 10px 8px;gap:8px}.transport button{min-height:38px;padding:6px 10px;font-size:14px}.modes{padding:7px 10px;font-size:14px}#status{font-size:12px;min-height:32px;padding:6px 10px}details{padding:7px 10px;font-size:12px}.library-top{padding:12px}.clip{padding:14px 12px}.library-title{margin-bottom:10px}}
@media(max-height:520px) and (orientation:landscape){header{height:36px}main{padding-top:6px}.course-heading{margin-bottom:6px}h1{font-size:18px}.workspace{grid-template-columns:minmax(0,1.5fr) minmax(230px,1fr);gap:12px}.practice{position:static}.video-wrap video{height:clamp(60px,calc(100dvh - 255px),230px)}.video-caption{display:none}#sentence{font-size:16px;max-height:17dvh}.sentence{padding:6px 10px 2px}.transport{padding-bottom:6px}.transport button{min-height:34px;padding:4px 10px}.modes,#status{padding-top:5px;padding-bottom:5px}details{padding:6px 10px}.clip-list{height:220px}.library-top{padding:10px}.library-title{margin-bottom:5px}.list-caption,.field-label{display:none}input[type=search],select{padding:6px 10px;min-height:34px}}

.brand-logo{width:36px;height:36px;display:block;flex-shrink:0}.brand{letter-spacing:-.3px}@media(max-width:560px){.brand-logo{width:28px;height:28px}.brand{font-size:18px}}

.focus-section{border-top:1px solid var(--line);padding:8px 16px}#focusToggle{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;color:var(--blue);background:#f3f7ff;border-color:#d4e1ff;font-size:14px;min-height:40px;padding:8px 12px}#focusAction{font-size:12px;color:var(--muted)}#focusPanel{padding:8px 4px 12px;line-height:1.7;font-size:16px}#focusPanel[hidden]{display:none}#focusPanel h3{font-size:18px;margin:14px 0 8px}#focusPanel h3 small{font-size:12px;font-weight:400;color:var(--muted);margin-left:8px}#focusPanel blockquote{margin:0 0 18px;padding:12px 14px;background:#f5f7fb;border-left:3px solid var(--blue);overflow-wrap:anywhere}#focusPanel h4{font-size:16px;margin:16px 0 5px}#focusPanel p{margin:6px 0}.focus-note,.focus-muted{font-size:14px;color:var(--muted)}#focusPanel dl{margin:8px 0}#focusPanel dl div{padding:8px 0;border-bottom:1px solid #edf0f5}#focusPanel dt{font-weight:650}#focusPanel dd{margin:2px 0 0;color:var(--muted)}@media(max-width:560px){.focus-section{padding:6px 10px}#focusToggle{min-height:36px;padding:6px 10px}#focusPanel{font-size:16px}}@media(max-width:900px){.practice:has(#focusPanel:not([hidden])){position:static}}
/* Mark­towin learning categories: shared tokens, readable text, labeled colors. */
.focus-category.grammar,.focus-label.grammar{--category-bg:#eff6ff;--category-ink:#1e40af;--category-line:#bfdbfe}
.focus-category.expression,.focus-label.expression{--category-bg:#f5f3ff;--category-ink:#6d28d9;--category-line:#ddd6fe}
.focus-category.vocabulary,.focus-label.vocabulary{--category-bg:#ecfdf5;--category-ink:#065f46;--category-line:#a7f3d0}
.focus-category.pitfall,.focus-label.pitfall{--category-bg:#fffbeb;--category-ink:#92400e;--category-line:#fde68a}
.focus-category.practice,.focus-label.practice{--category-bg:#f1f5f9;--category-ink:#475569;--category-line:#cbd5e1}
.focus-legend{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0 18px}.focus-label{display:inline-flex;align-items:center;gap:6px;background:var(--category-bg);color:var(--category-ink);border:1px solid var(--category-line);border-radius:6px;padding:3px 9px;font-size:13px;line-height:1.5;font-weight:650}.focus-label:before{content:'';width:6px;height:6px;border-radius:2px;background:var(--category-ink);flex-shrink:0}
#focusPanel .focus-category{background:var(--category-bg);border:1px solid var(--category-line);border-left:4px solid var(--category-ink);border-radius:10px;padding:14px 16px;margin:14px 0}#focusPanel .focus-category-title{margin:0 0 8px;font-size:14px}#focusPanel .focus-category-title .focus-label{border:0;padding:0;font-size:14px}#focusPanel .focus-item h4{color:var(--category-ink);font-size:17px;margin:0 0 6px}#focusPanel .focus-item p{color:#263346;margin:4px 0;line-height:1.75}#focusPanel .focus-item{padding:12px 0}#focusPanel .focus-item+.focus-item{border-top:1px solid var(--category-line)}#focusPanel .focus-item:first-child{padding-top:5px}#focusPanel .focus-item:last-child{padding-bottom:3px}#focusPanel .focus-item .focus-note{color:#526174;font-size:14px}
.focus-word-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.focus-word{padding:12px;background:#ffffffb3;border:1px solid var(--category-line);border-radius:8px;overflow-wrap:anywhere}.focus-word strong{color:var(--category-ink);font-size:17px}.focus-word p{font-size:15px;color:#344256;line-height:1.65}#focusPanel .focus-disclaimer{border-top:1px solid var(--line);padding-top:12px;margin-top:18px;font-size:13px}#focusPanel blockquote{border-radius:7px;font-size:17px;line-height:1.65}
@media(max-width:560px){#focusPanel .focus-category{padding:12px;margin:12px 0}.focus-word-grid{grid-template-columns:1fr}.focus-legend{gap:6px}.focus-label{font-size:12px;padding:3px 7px}}
/* Editorial learning identity. Brand blue is reserved for interaction;
   the five learning colors encode meaning. Radius: controls 6px, media 8px. */
:root{--ink:#20232a;--muted:#59616f;--blue:#244cc8;--line:#e0e3e9;--surface:#fff;--page:#fafbfc;--quiet:#f1f3f7}
body{background:var(--page);color:var(--ink);font-family:"Helvetica Neue",Arial,"PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}
header{height:60px;max-width:1440px;margin:auto;background:transparent;padding:0 4vw;border-bottom:1px solid var(--line)}
.brand{font-size:25px;font-weight:750;letter-spacing:-1.2px;gap:10px}.brand-sub{font-size:13px;letter-spacing:0;padding-left:16px}.brand-logo{width:32px;height:32px}.private-note{font-size:12px;letter-spacing:.06em}
main{max-width:1440px;padding:22px 4vw 28px}.course-heading{align-items:flex-end;margin-bottom:20px;gap:24px}.eyebrow{display:none}h1{font-size:30px;letter-spacing:-.8px;font-weight:650;line-height:1.25}.intro{display:block!important;font-size:13px;line-height:1.5;margin-top:6px!important}.progress-block{min-width:200px;font-size:12px;gap:6px;max-width:260px}progress{height:4px;border-radius:0;background:var(--line)}progress::-webkit-progress-bar{background:var(--line)}progress::-moz-progress-bar{background:var(--blue)}
.workspace{grid-template-columns:minmax(0,1fr) 320px;gap:32px}.practice{background:var(--surface);border:0;border-radius:0;overflow:visible}.library{background:transparent;border:0;border-left:1px solid var(--line);border-radius:0;padding-left:24px}.video-wrap{border-radius:8px;overflow:hidden}.video-wrap video{height:clamp(100px,calc(100dvh - 370px),460px)}.video-caption{padding:7px 16px;font-size:10px;letter-spacing:1px}
.sentence{padding:16px 0 10px}.sentence-meta{font-size:12px}.sentence-actions button{border-radius:6px}#sentence{font-size:clamp(21px,1.9vw,28px);line-height:1.4;letter-spacing:-.4px;font-weight:500;margin:13px 0 8px;max-height:16dvh}.transport{padding:4px 0 16px;gap:8px}.transport button{border-radius:6px;min-height:44px;font-size:14px}.transport .primary{flex:0 1 220px;font-weight:650}.primary{background:var(--blue);border-color:var(--blue)}.primary:hover{background:#1c3ca0;color:#fff}.modes{background:transparent;padding:12px 0;gap:20px;border-top:1px solid var(--line)}#status{padding:2px 0 12px;min-height:32px;font-size:13px}details{padding:12px 0;color:var(--muted);font-size:13px}summary{font-weight:550}button{white-space:nowrap;border-radius:6px}button:active:not(:disabled){transform:translateY(1px)}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.library-top{padding:0 0 16px}.library-title{margin-bottom:20px}.library-title h2{font-size:17px;font-weight:650;letter-spacing:-.3px}.library-title span{font-size:12px}.field-label{font-size:12px;color:var(--muted);margin-bottom:7px}select,input[type=search]{border-radius:6px;padding:9px 11px;font-size:13px;min-height:40px}input[type=search]::placeholder{color:var(--muted)}.list-caption{font-size:11px;gap:8px}.clip-list{height:calc(100dvh - 320px);scrollbar-width:thin;scrollbar-color:#cbd0d9 transparent}.clip{padding:14px 12px;border-bottom:0;gap:8px;grid-template-columns:30px 1fr;margin-bottom:3px;border-radius:6px;background:transparent}.clip:hover{background:var(--quiet)}.clip.active{background:#eaf0ff;box-shadow:inset 2px 0 var(--blue)}.number{font-family:"SFMono-Regular",Consolas,monospace;font-size:11px;color:var(--muted)}.clip-text{font-size:13px;line-height:1.55}.clip small{font-size:11px;margin-top:6px}
.focus-section{padding:12px 0;border-top:1px solid var(--line)}#focusToggle{background:transparent;border:0;padding:4px 0;font-size:14px;font-weight:650;border-radius:0}#focusToggle:hover{background:var(--quiet)}#focusPanel{padding:0 0 12px;max-width:76ch}#focusPanel h3{font-size:18px;letter-spacing:-.3px;margin-top:20px}#focusPanel blockquote{font-size:20px;background:var(--quiet);border-radius:6px;padding:16px 18px;line-height:1.5}#focusPanel .focus-category{border-radius:6px;padding:16px 20px;margin:16px 0}#focusPanel .focus-item h4{font-size:18px;letter-spacing:-.2px}#focusPanel .focus-item p{font-size:15px;line-height:1.8}.focus-word{border-radius:6px}.focus-label{border-radius:4px}.focus-label:before{display:none}footer{padding-top:18px;border-top:1px solid var(--line);margin-top:28px;font-size:11px}
@media(max-width:1100px) and (min-width:901px){.workspace{grid-template-columns:minmax(0,1fr) 280px;gap:24px}.library{padding-left:18px}}
@media(max-width:900px){header{padding:0 20px}main{padding:16px 20px}.workspace{grid-template-columns:1fr;gap:28px}.practice{position:static}.video-wrap video{height:clamp(90px,34dvh,360px)}.library{padding:20px 0 0;border-left:0;border-top:1px solid var(--line)}.library-top{padding:0 0 16px}.clip-list{height:400px}.course-heading{align-items:center}.progress-block{min-width:155px}.intro{font-size:12px}.brand-sub{display:none}}
@media(max-width:560px){header{height:46px;padding:0 14px}.brand{font-size:22px;letter-spacing:-.9px}.brand-logo{width:27px;height:27px}main{padding:12px 14px 20px}.course-heading{margin-bottom:12px;gap:10px}h1{font-size:22px;letter-spacing:-.5px}.intro{display:none!important}.progress-block{min-width:115px;font-size:11px;max-width:42%}.private-note{font-size:11px}.video-wrap video{height:clamp(90px,31dvh,260px)}.video-caption{display:none}.sentence{padding:10px 0 6px}.sentence-meta{font-size:11px;gap:4px}.sentence-actions{gap:4px}.sentence-actions button,#mastered{min-height:36px;font-size:11px;padding:5px 6px}#sentence{font-size:20px;line-height:1.45;letter-spacing:-.2px;max-height:14dvh;margin:9px 0}.transport{padding:2px 0 12px}.transport button{min-height:40px;font-size:13px}.transport .primary{flex:1}.modes{padding:9px 0;gap:16px;font-size:13px}#status{font-size:12px;padding:3px 0 9px}details{padding:10px 0;font-size:12px}.focus-section{padding:9px 0}#focusPanel blockquote{font-size:18px;padding:12px 14px}#focusPanel .focus-category{padding:14px;margin:12px 0}.library{padding-top:20px}.clip-text{font-size:14px}.clip{padding:14px 10px}.workspace{gap:20px}}
@media(max-height:520px) and (orientation:landscape){header{height:36px}main{padding-top:8px}.course-heading{margin-bottom:8px}h1{font-size:18px}.intro{display:none!important}.workspace{grid-template-columns:minmax(0,1fr) 240px;gap:20px}.library{border-top:0;border-left:1px solid var(--line);padding:0 0 0 16px}.video-wrap video{height:clamp(60px,calc(100dvh - 235px),230px)}.sentence{padding:6px 0 2px}#sentence{font-size:16px;margin:5px 0;max-height:17dvh}.transport{padding-bottom:6px}.transport button{min-height:34px}.modes{padding:6px 0}#status{min-height:24px;padding-bottom:5px}.clip-list{height:220px}}
@media(prefers-reduced-motion:reduce){.clip-list{scroll-behavior:auto}button:active:not(:disabled){transform:none}}
/* Transcript entries are multi-line reading targets, unlike control buttons. */
.clip{white-space:normal}.clip>span{min-width:0}.clip-text{overflow-wrap:anywhere}
/* Brand revision: open geometric monogram and two-weight typographic signature. */
.brand{gap:12px;letter-spacing:normal}.brand-logo{width:34px;height:34px}.brand-wordmark{font-size:27px;line-height:1;letter-spacing:-.9px;font-weight:650}.brand-towin{font-weight:400}.brand-sub{margin-left:8px;padding-left:20px;letter-spacing:.02em;color:var(--muted)}
.source-note{margin-top:36px;padding:24px 0 8px;border-top:1px solid var(--line)}.source-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.source-heading h2{font-size:17px;font-weight:600;margin:0}.source-note a,footer a{color:var(--blue);font-size:12px;text-decoration:none;text-underline-offset:4px}.source-note a:hover,footer a:hover{text-decoration:underline}.source-facts{display:grid;grid-template-columns:1.2fr .85fr 1.2fr;gap:24px;margin:24px 0 16px}.source-facts dt{font-size:11px;color:var(--muted);margin-bottom:8px}.source-facts dd{margin:0;font-size:15px}.source-facts small{display:block;color:var(--muted);font-size:12px;margin-top:5px}.source-note p{font-size:12px;color:var(--muted);max-width:80ch;line-height:1.75}.source-note a:focus-visible,footer a:focus-visible{outline:2px solid var(--blue);outline-offset:4px}
@media(max-width:560px){.brand{gap:9px}.brand-logo{width:28px;height:28px}.brand-wordmark{font-size:24px;letter-spacing:-.7px}.source-note{margin-top:24px;padding-top:20px}.source-heading{align-items:baseline;gap:8px}.source-heading h2{font-size:16px}.source-facts{grid-template-columns:1fr;gap:18px;margin-top:20px}.source-facts div{display:grid;grid-template-columns:48px 1fr;gap:12px}.source-facts dt{padding-top:3px}.source-note a{font-size:11px}footer{gap:16px;flex-wrap:wrap}}
/* Home: method, prepared practice, and ideas. The exercise remains compact. */
.site-nav{display:flex;gap:26px;align-items:center}.site-nav a{color:var(--muted);font-size:13px;text-decoration:none;white-space:nowrap}.site-nav a:hover{color:var(--blue)}a:focus-visible{outline:2px solid var(--blue);outline-offset:4px}.home main{padding-top:0}.home-intro{padding:64px 0 56px;max-width:780px}.home-intro h1{font-size:clamp(42px,5.4vw,72px);font-weight:600;letter-spacing:-2px;line-height:1.12}.home-intro p{font-size:17px;line-height:1.8;color:var(--muted);margin:24px 0}.home-button{display:inline-flex;align-items:center;justify-content:center;background:var(--blue);color:#fff;text-decoration:none;padding:12px 24px;min-height:44px;border-radius:6px;font-size:14px;font-weight:600}.home-button:hover{background:#1c3ca0}.home-button:active{transform:translateY(1px)}.home-section{padding:48px 0;border-top:1px solid var(--line);scroll-margin-top:20px}.section-heading{margin-bottom:32px}.section-heading h2{font-size:30px;line-height:1.3;margin:0;letter-spacing:-.7px}.section-heading>p{font-size:15px;color:var(--muted);margin:10px 0 0}.method-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:72px}.method-copy{max-width:58ch}.method-copy h3{font-size:34px;line-height:1.3;font-weight:500;letter-spacing:-.7px;margin:0 0 22px}.method-copy>p{font-size:15px;line-height:1.9;color:var(--muted);margin:0 0 18px}.home details{padding:14px 0;background:transparent}.home details p{font-size:14px;line-height:1.8}.home details a,.insight-list a,.insight-source a,.course-logic a{color:var(--blue);text-underline-offset:4px;font-size:13px}.resources{background:var(--quiet);padding:24px 28px;border-radius:6px}.resources h3{font-size:16px;font-weight:600;margin:0 0 8px}.resource{display:block;text-decoration:none;color:var(--ink);padding:20px 0;border-bottom:1px solid var(--line)}.resource-type{font-size:11px;color:var(--muted);display:block;margin-bottom:8px}.resource strong{font-size:18px;font-weight:550}.resource p{font-size:13px;color:var(--muted);margin:8px 0}.resource>span:last-child{font-size:12px;color:var(--blue)}.resource-note{font-size:12px;color:var(--muted);line-height:1.7;margin:20px 0 0}.course-preview{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:40px;align-items:center}.preview-media video{height:auto;aspect-ratio:16/9;border-radius:8px}.preview-media p{font-size:11px;color:var(--muted);margin:8px 0 0}.course-copy h3{font-size:30px;line-height:1.3;font-weight:550;letter-spacing:-.7px;margin:12px 0 18px}.course-copy>p{font-size:14px;color:var(--muted);max-width:42ch}.course-copy .course-person{color:var(--blue);font-size:13px}.course-stats{display:flex;flex-wrap:wrap;gap:14px;margin:22px 0;font-size:12px;color:var(--muted)}.course-copy small{display:block;margin-top:14px;font-size:11px;color:var(--muted)}.logic-map{display:grid;grid-template-columns:200px minmax(0,1fr);gap:32px;background:var(--quiet);padding:28px;margin-bottom:36px;border-radius:6px}.logic-map h3{font-size:17px;margin:0;font-weight:600}.logic-map ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 32px;margin:0;padding-left:22px}.logic-map li{font-size:13px;padding-left:4px}.logic-map strong{font-size:15px;font-weight:550;display:block}.logic-map span{display:block;color:var(--muted);margin-top:6px;line-height:1.7}.insight-list{display:grid;grid-template-columns:1fr;gap:0}.insight-list article{display:grid;grid-template-columns:140px 1fr;column-gap:32px;padding:28px 0;border-bottom:1px solid var(--line)}.insight-type{font-size:12px;color:var(--blue);grid-row:1/5;padding-top:5px}.insight-list h3{font-size:23px;font-weight:550;letter-spacing:-.4px;margin:0 0 12px}.insight-list p{font-size:15px;line-height:1.8;color:var(--muted);max-width:70ch;margin:0 0 16px}.insight-list details{border-top:0;padding:0 0 16px}.insight-list details p{margin-top:12px}.insight-source{font-size:12px;color:var(--muted);margin-top:24px}.course-logic{margin-top:24px;border-top:1px solid var(--line);padding:18px 0}.course-logic p{line-height:1.8;max-width:80ch}
@media(max-width:900px){.site-nav{gap:18px}.home-intro{padding:44px 0}.method-layout{gap:32px}.course-preview{gap:28px}.logic-map{grid-template-columns:1fr;gap:20px}.course-copy h3{font-size:25px}}
@media(max-width:560px){header{height:auto;min-height:48px;flex-wrap:wrap;padding-top:10px;padding-bottom:10px;gap:12px}.site-nav{gap:20px;width:100%;justify-content:space-between}.site-nav a{font-size:12px}.home-intro{padding:36px 0}.home-intro h1{font-size:44px;letter-spacing:-1px}.home-intro p{font-size:14px;margin:20px 0;line-height:1.8}.home-section{padding:32px 0}.section-heading{margin-bottom:24px}.section-heading h2{font-size:25px}.section-heading>p{font-size:14px}.method-layout,.course-preview{grid-template-columns:1fr;gap:24px}.method-copy h3{font-size:28px}.resources{padding:20px}.course-copy h3{font-size:26px}.logic-map{padding:20px}.logic-map ol{grid-template-columns:1fr;gap:20px}.insight-list article{display:block;padding:24px 0}.insight-type{display:block;margin-bottom:10px}.insight-list h3{font-size:21px}.insight-list p{font-size:14px}.home footer span{display:block}}
/* Lead with the course. Keep the video and entry together across devices. */
.home .practice-section{border-top:0;padding-top:28px;padding-bottom:36px}.practice-section .section-heading{margin-bottom:20px}.practice-section .section-heading h2{font-size:24px}.practice-section .section-heading>p{font-size:13px;margin-top:6px}.home .home-intro{padding:32px 0;border-top:1px solid var(--line)}.home .home-intro h1{font-size:36px;line-height:1.2}.home .home-intro h1 br{display:none}.home .home-intro p{margin:12px 0;font-size:15px}.home-intro .home-button{display:none}
@media(min-width:901px){.practice-section .preview-media video{max-height:calc(100dvh - 210px);min-height:180px}.practice-section .course-preview{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)}}
@media(min-width:561px) and (max-width:900px){.practice-section .course-preview{grid-template-columns:1fr;gap:20px}.practice-section .preview-media video{height:clamp(180px,35dvh,370px);aspect-ratio:auto}.practice-section .course-copy h3 br{display:none}.practice-section .course-copy h3{font-size:26px;margin:8px 0 12px}.practice-section .course-copy>p{max-width:70ch}.practice-section .course-stats{margin:14px 0}.practice-section .course-copy small{margin-top:10px}}
@media(max-width:560px){.home .practice-section{padding-top:16px;padding-bottom:24px}.practice-section .section-heading{margin-bottom:14px}.practice-section .section-heading h2{font-size:21px}.practice-section .section-heading>p{font-size:12px}.practice-section .course-preview{gap:14px}.practice-section .preview-media video{height:clamp(140px,29dvh,245px);aspect-ratio:auto}.practice-section .preview-media p{margin-top:5px}.practice-section .course-copy .course-person{margin:0;font-size:12px}.practice-section .course-copy h3{font-size:23px;margin:7px 0 10px}.practice-section .course-copy h3 br{display:none}.practice-section .course-copy>p:not(.course-person){font-size:13px;margin:0;line-height:1.65}.practice-section .course-stats{font-size:11px;gap:10px;margin:12px 0}.practice-section .course-copy small{font-size:10px;margin-top:10px}.home .home-intro{padding:24px 0}.home .home-intro h1{font-size:28px}.home .home-intro p{font-size:14px}}

/* The connecting word carries the ShadowingPal brand accent. */
.brand-to{color:var(--blue)}
/* The site purpose sits beside the identity. */
header{gap:20px}.brand-tagline{margin-right:auto;font-size:14px;color:var(--muted);white-space:nowrap}.brand{flex-shrink:0}.site-nav{flex-shrink:0}
@media(max-width:900px){header{gap:14px}.brand-tagline{font-size:12px}.site-nav{gap:14px}}
@media(max-width:560px){header{column-gap:12px;row-gap:10px}.brand-tagline{font-size:11px;letter-spacing:-.2px}.site-nav{flex-basis:100%}}
.language-control{display:block}.language-control select{width:auto;min-height:34px;padding:5px 26px 5px 9px;font-size:12px;max-width:128px}.site-nav{gap:18px}.translation-notice{font-size:12px;color:var(--muted);line-height:1.7;margin:8px 0}.translation-notice[hidden]{display:none}html[dir=rtl] .brand,html[dir=rtl] #sentence,html[dir=rtl] .clip-text,html[dir=rtl] #focusPanel blockquote{direction:ltr}html[dir=rtl] .brand-tagline{margin-right:0;margin-left:auto}html[dir=rtl] .library{border-left:0;border-right:1px solid var(--line);padding-left:0;padding-right:24px}html[dir=rtl] .clip{text-align:right}html[dir=rtl] .clip.active{box-shadow:inset -2px 0 var(--blue)}html[dir=rtl] #focusToggle{text-align:right}html[dir=rtl] .focus-category{border-left-width:1px!important;border-right:4px solid var(--category-ink)}
@media(max-width:1100px){.brand-tagline{font-size:12px}.site-nav{gap:12px}}
@media(max-width:900px){header{height:auto;min-height:60px;flex-wrap:wrap;padding-top:10px;padding-bottom:10px}.site-nav{width:100%;justify-content:space-between;gap:8px}html[dir=rtl] .library{border-right:0;padding-right:0}}
@media(max-width:560px){.site-nav a{font-size:11px}.language-control select{font-size:11px;max-width:105px;min-height:32px;padding:4px 6px}.brand-tagline{white-space:normal;font-size:11px;max-width:48%}html[dir=rtl] .brand-tagline{max-width:50%}}
.sentence-translation{font-size:15px;line-height:1.7;color:var(--muted);margin:6px 0 10px;overflow-wrap:anywhere}.sentence-translation[hidden]{display:none}
@media(max-width:560px){.sentence-translation{font-size:13px;line-height:1.6;max-height:12dvh;overflow-y:auto}}
.translation-credit{display:block;color:var(--muted);font-size:11px;line-height:1.6;margin-bottom:8px}.blind-mode .translation-credit{display:none}

.slogan-duration{color:var(--blue);font-weight:800}

.course-categories{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:24px;padding-bottom:12px}.course-categories a{font-weight:700;color:var(--blue)}.foundation-course{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid var(--line);margin-top:32px;padding-top:28px}.foundation-course h3{font-size:26px;margin:8px 0}.foundation-course h3 span{display:block;font-size:15px;font-weight:400;color:var(--muted);margin-top:8px}.foundation-course p{color:var(--muted)}#courseSelect{margin-bottom:16px}@media(max-width:560px){.foundation-course{align-items:flex-start;flex-direction:column}.course-categories{gap:20px}.foundation-course .home-button{width:100%;text-align:center}}

.account-link{white-space:nowrap;color:var(--blue)!important;font-weight:600}.account-logout{border:0;background:none;color:var(--muted);font-size:12px;padding:0;white-space:nowrap}.account-logout[hidden],.account-link[hidden]{display:none}.auth-main{display:grid;grid-template-columns:1fr 420px;gap:80px;max-width:1040px;padding:72px 24px;margin:auto}.auth-intro h1{font-size:clamp(36px,4vw,54px);line-height:1.25;margin:24px 0}.auth-intro p{color:var(--muted);line-height:1.8}.auth-course-note{display:flex;gap:24px;padding-top:24px;color:var(--blue);font-size:14px}.auth-form-section{border-top:2px solid var(--blue);padding-top:24px}.auth-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:26px}.auth-tabs button{border:0;border-radius:0;background:transparent;padding:0 0 12px;font-weight:600;color:var(--muted)}.auth-tabs button[aria-selected=true]{color:var(--blue);border-bottom:2px solid var(--blue)}.auth-form-section h2{font-size:26px;margin:0 0 10px}.auth-form-section>p{color:var(--muted);font-size:14px;margin-bottom:24px}#authForm label{display:block;font-size:14px;font-weight:600;margin:16px 0 8px}#authForm input{display:block;width:100%;min-height:46px;padding:10px 12px;box-sizing:border-box;border:1px solid #c7ced9;border-radius:6px;background:white;color:var(--text)}#authForm input:focus{outline:2px solid var(--blue);outline-offset:2px}#registrationFields[hidden]{display:none}#registrationFields small{display:block;color:var(--muted);font-size:12px;margin-top:10px}#authSubmit{width:100%;min-height:46px;margin-top:24px}.auth-error{color:#a52e20;background:#fff3ee;padding:12px;font-size:14px;border-radius:6px}.auth-error[hidden]{display:none}.auth-home-link{display:inline-block;margin-top:24px;color:var(--muted);font-size:13px}@media(max-width:900px){.auth-main{gap:36px;grid-template-columns:1fr 360px;padding-top:44px}.site-nav{flex-wrap:wrap}}@media(max-width:640px){.auth-main{display:block;padding:24px 20px}.auth-intro h1{font-size:32px;margin:10px 0 14px}.auth-intro h1 br{display:none}.auth-intro .eyebrow,.auth-course-note{display:none}.auth-intro{margin-bottom:24px}.auth-form-section{padding-top:20px}.site-nav{column-gap:10px;row-gap:10px}.account-link{font-size:11px}.auth-form-section>p{margin-bottom:16px}}

header{height:auto;min-height:76px;padding-top:12px;padding-bottom:12px}.brand-tagline{flex:1 1 380px;min-width:0;max-width:460px;white-space:normal;font-size:13px;line-height:1.6}@media(max-width:1100px){.brand-tagline{font-size:12px}}@media(max-width:900px){.brand-tagline{flex-basis:calc(100% - 210px)}.site-nav{flex-basis:100%}}@media(max-width:560px){.brand-tagline,html[dir=rtl] .brand-tagline{order:2;flex-basis:100%;max-width:none;margin:0;font-size:11px;letter-spacing:0;line-height:1.6}.site-nav{order:3}}

.foundation-preview{border-top:1px solid var(--line);margin-top:32px;padding-top:32px}@media(max-width:560px){.foundation-preview{margin-top:28px;padding-top:24px}}

.method-overview{display:flex;align-items:center;gap:40px;justify-content:space-between}.method-overview p{max-width:65ch;color:var(--muted);line-height:1.9;margin:0}.method-overview .home-button{flex-shrink:0}.method-page{max-width:1040px}.method-back,.method-person a{color:var(--blue);font-size:13px;text-underline-offset:4px}.method-intro{padding:40px 0}.method-intro h1{font-size:clamp(30px,4vw,48px);max-width:22ch;line-height:1.35}.method-intro>p:last-child,.method-chapter>p{color:var(--muted);max-width:75ch;line-height:1.9}.method-chapter{border-top:1px solid var(--line);padding:32px 0}.method-chapter h2{font-size:25px;margin:0 0 20px}.method-steps{padding-inline-start:24px;margin-bottom:28px}.method-steps li{padding:10px 8px;line-height:1.8}.method-people{margin-top:28px}.method-person{padding:24px 0;border-top:1px solid var(--line)}.method-label{color:var(--blue);font-size:12px}.method-person h3{font-size:22px;margin:8px 0 12px}.method-person p{max-width:80ch;color:var(--muted);line-height:1.9}.method-page footer{border-top:1px solid var(--line);padding:24px 0}html[dir=rtl] .method-page{text-align:right}@media(max-width:700px){.method-overview{display:block}.method-overview .home-button{margin-top:20px}.method-intro{padding:28px 0}.method-person h3{font-size:20px}}

.membership-info{border-top:1px solid var(--line);padding:28px 0;margin-top:20px}.membership-info h2{font-size:20px;margin:0 0 12px}.membership-info p{font-size:14px;line-height:1.8;color:var(--muted)}.membership-info a{color:var(--blue);overflow-wrap:anywhere;text-underline-offset:4px}

/* ShadowingPal signature: the two arches of m echo the rhythm of speech. */
@font-face{font-family:ShadowingPal;src:url('assets/fonts/manrope-variable.ttf') format('truetype');font-weight:200 800;font-display:swap}
.brand{gap:10px;align-items:center;color:#182333}.brand-logo{width:36px;height:36px;flex:none}.brand-wordmark{font-family:ShadowingPal,"Avenir Next",Arial,sans-serif;font-size:28px;line-height:1.2;letter-spacing:-1.05px;font-weight:750;white-space:nowrap;display:inline-flex;direction:ltr}.brand-mark{font-weight:750}.brand-zhong{font-weight:550;color:#244cc8}.brand:focus-visible{outline:2px solid #244cc8;outline-offset:6px;border-radius:2px}@media(max-width:560px){.brand{gap:8px}.brand-logo{width:31px;height:31px}.brand-wordmark{font-size:26px;letter-spacing:-.95px}}

/* Compact heading for the practice journal. */
.blog-page .method-intro{padding:20px 0 12px}
.blog-page .method-intro h1{max-width:none;font-size:clamp(16px,3.6vw,44px);line-height:1.25;margin:0}
html:lang(zh) .blog-page .method-intro h1{white-space:nowrap}
.blog-page .method-intro>p:last-child{margin:12px 0 0;line-height:1.6}
.blog-page .method-people{margin-top:12px}
@media(max-width:700px){.blog-page .method-intro{padding:16px 0 8px}}

.continue-learning{display:flex;align-items:center;gap:16px;padding:20px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}.continue-learning[hidden]{display:none}.continue-learning a{max-width:100%}.continue-learning span{color:var(--muted);font-size:13px}

/* Three subject categories share the existing editorial spacing and blue accent. */
[data-category][hidden]{display:none!important}.course-categories{flex-wrap:wrap}.course-categories a{text-decoration:none;min-height:44px;display:inline-flex;align-items:center;border-bottom:2px solid transparent}.course-categories a.selected{border-bottom-color:var(--blue)}.site-nav a[aria-current="page"]{color:var(--blue)}.philosophy-recommendation{padding:32px 0;max-width:72ch}.philosophy-recommendation h3{font-size:32px;margin:12px 0}.philosophy-recommendation p{line-height:1.8}.philosophy-recommendation .course-person{color:var(--blue)}.recommendation-original{color:var(--muted)}.site-nav{flex-wrap:wrap;gap:14px 20px}@media(max-width:1100px){header{height:auto;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}.site-nav{max-width:100%}}@media(max-width:560px){.site-nav{justify-content:flex-start;gap:10px 16px}.course-categories{gap:12px 24px}.philosophy-recommendation h3{font-size:26px}}

.foundation-preview[data-category="daily"]:first-of-type{border-top:0;margin-top:0;padding-top:0}

.friends-focus{margin:24px 0}.friends-focus-controls{display:flex;align-items:center;gap:12px;margin:12px 0 20px}.friends-focus-controls select{flex:1;min-width:0;max-width:100%;margin:0}.friends-focus-controls button{white-space:nowrap}.friends-focus #focusToggle{width:100%;display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:var(--quiet);border:1px solid var(--line);border-radius:6px;margin-bottom:16px}.friends-focus #focusPanel{max-width:88ch}.friends-focus #focusPanel blockquote{overflow-wrap:break-word}@media(max-width:560px){.friends-focus-controls{align-items:stretch;flex-direction:column}.friends-focus-controls select{width:100%}.friends-focus #focusPanel blockquote{font-size:18px}}

/* Supplied horizontal logo keeps its natural aspect ratio on every device. */
.brand .shadowingpal-logo{width:auto;height:48px;max-width:100%;object-fit:contain;flex:none}.footer-brand{display:inline-flex;align-items:center;flex:none}.footer-brand img{display:block;width:auto;height:36px;max-width:100%;object-fit:contain}footer{flex-wrap:wrap;align-items:center;gap:16px 24px}@media(max-width:560px){.brand .shadowingpal-logo{height:42px}.footer-brand img{height:32px}}

/* Mobile masthead: centered logo, account access at the physical right. */
@media(max-width:640px){
 body>header{position:relative;display:block;height:auto;min-height:88px;padding:80px 14px 14px}
 body>header>.brand{position:absolute;left:50%;top:12px;transform:translateX(-50%);width:clamp(150px,50vw,210px);margin:0;display:flex;justify-content:center}
 body>header>.brand .shadowingpal-logo{display:block;width:100%;height:auto;max-width:none}
 body>header>.brand-tagline,html[dir=rtl] body>header>.brand-tagline{display:none}
 body>header>.site-nav{margin:0;width:100%;max-width:100%;display:flex;flex-wrap:wrap;justify-content:center;gap:10px 16px}
 body>header .account-link{position:absolute;right:10px;left:auto;top:18px;width:64px;min-height:44px;display:flex;align-items:center;justify-content:center;text-align:center;white-space:normal;overflow-wrap:anywhere;font-size:11px;line-height:1.4}
 body>header .account-logout{position:absolute;right:10px;left:auto;top:60px;max-width:64px;font-size:10px;line-height:1.4}
 body>header .account-link[hidden],body>header .account-logout[hidden]{display:none}
}

/* A quiet, readable navigation hierarchy. */
body>header .site-nav>a:not(.account-link){font-weight:550;line-height:1.5;padding:7px 9px;border-radius:6px;text-decoration:none;transition:color .15s,background-color .15s}
body>header .site-nav>a:not(.account-link):hover{color:#244cc8;background:#edf2fb}
body>header .site-nav>a[aria-current="page"]{color:#244cc8;background:#edf2fb;font-weight:650}
body>header .site-nav>a:focus-visible{outline:2px solid #244cc8;outline-offset:3px}
@media(max-width:640px){
 body>header>.site-nav{gap:6px 4px}
 body>header .site-nav>a:not(.account-link){font-size:12px;padding:8px 4px;min-height:36px;display:inline-flex;align-items:center}
 body>header .language-control select{font-size:12px;min-height:36px;padding:6px 8px}
}
