@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Source+Serif+4:wght@400;600;700&display=swap');
:root{--ink:#1b2838;--muted:#596b7b;--navy:#173a60;--blue:#19558b;--line:#d8e1e8;--pale:#f3f7fa;--paper:#fff;--success:#eef8f2;--danger:#a53434}
*{box-sizing:border-box}html{font-size:16px}body{margin:0;color:var(--ink);background:#fff;font-family:'DM Sans',Arial,sans-serif;line-height:1.55}a{color:var(--blue)}a:hover{text-decoration:underline}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.2}h1{font-family:'Source Serif 4',Georgia,serif;font-weight:600;font-size:clamp(2.25rem,4vw,3.5rem);letter-spacing:-.025em}h2{font-size:1.5rem}h3{font-size:1.2rem}
.site-header{border-bottom:1px solid var(--line);background:#fff}.site-header-inner{max-width:1140px;margin:auto;min-height:76px;padding:0 26px;display:flex;justify-content:space-between;align-items:center;gap:20px}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;color:var(--ink);font-size:1.05rem;font-weight:600;white-space:nowrap}.brand b{font-weight:500;color:var(--muted)}.brand-symbol{display:grid;place-items:center;width:37px;height:37px;background:var(--navy);color:#fff;font-weight:700;font-size:1.2rem;letter-spacing:-.08em}.brand-symbol span{color:#91d6c3}.site-header nav{display:flex;gap:28px;align-items:center;flex-wrap:wrap}.site-header nav a{text-decoration:none;color:#374d62;font-size:.9rem;font-weight:600}.site-header nav a:hover{color:var(--blue)}.page-container{max-width:1140px;min-height:calc(100vh - 155px);margin:auto;padding:50px 26px 90px}.site-footer{border-top:1px solid var(--line);padding:25px max(26px,calc((100vw - 1088px)/2));color:var(--muted);font-size:.82rem;display:flex;justify-content:space-between;gap:16px}.section-label,.course-number,.flashcard-caption{font-size:.74rem;letter-spacing:.12em;color:var(--blue);font-weight:700}.page-heading{max-width:770px;margin-bottom:42px}.page-heading h1{margin:10px 0 12px}.page-heading p,.auth-intro>p{color:var(--muted);font-size:1.08rem}.breadcrumbs{font-size:.85rem;color:var(--muted);margin-bottom:35px}.breadcrumbs a{color:var(--muted);text-decoration:none}
.auth-layout{display:grid;grid-template-columns:1.05fr .95fr;gap:9%;padding-top:70px;align-items:start}.auth-intro h1{max-width:490px;margin:20px 0}.auth-intro>p{max-width:420px}.auth-note{margin-top:68px;border-top:2px solid var(--navy);padding:24px 0;display:flex;flex-direction:column;gap:5px;max-width:440px}.auth-note span{color:var(--muted);font-size:.92rem}.auth-form{border:1px solid var(--line);padding:39px 40px;background:var(--paper);box-shadow:0 7px 22px rgba(19,44,66,.045)}.auth-form h2{margin:0 0 5px;font-family:'Source Serif 4',Georgia,serif;font-size:1.9rem}.subtle,.muted{color:var(--muted)}.auth-form .subtle{margin-bottom:30px}label{display:block;font-size:.88rem;font-weight:600;margin:18px 0 7px}input,textarea{width:100%;border:1px solid #b9c8d4;background:#fff;border-radius:2px;padding:12px 13px;color:var(--ink);outline-offset:2px}input:focus,textarea:focus{outline:2px solid #90b8d5;border-color:var(--blue)}textarea{resize:vertical}.button,button:not(.flashcard){display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:11px 20px;border:1px solid var(--navy);border-radius:2px;background:var(--navy);color:white;text-decoration:none;font-weight:600;font-size:.9rem;transition:background .15s}.button:hover,button:not(.flashcard):hover{background:#0c2a48;color:white;text-decoration:none}.button-outline,.secondary,button.secondary{background:white;color:var(--navy)}.button-outline:hover,.secondary:hover{background:var(--pale)!important;color:var(--navy)!important}.full{width:100%;margin-top:25px}.auth-link{font-size:.86rem;margin:19px 0 0}.auth-link a{font-weight:600}.alert,.notice{padding:13px 15px;margin:16px 0;background:#fff3f2;border-left:3px solid var(--danger);font-size:.9rem}.notice{background:#eef7f3;border-color:#2b8067}
.overview-stats{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);margin:20px 0 54px}.overview-stats>div{padding:24px 27px;border-right:1px solid var(--line)}.overview-stats>div:last-child{border-right:0}.overview-stats span{display:block;color:var(--muted);font-size:.84rem;margin-bottom:9px}.overview-stats strong{display:block;font-size:2rem;font-weight:600}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.section-heading h2{margin:0;font-family:'Source Serif 4',Georgia,serif}.section-heading span{font-size:.85rem;color:var(--muted)}.course{border:1px solid var(--line);border-top:3px solid var(--navy);padding:27px 30px 30px}.course-number{margin-bottom:20px}.course-content{display:flex;justify-content:space-between;align-items:center;gap:30px}.course h3{font-size:1.5rem;margin-bottom:8px}.course p{color:var(--muted);max-width:570px;margin-bottom:16px}.course-meta{font-size:.82rem;color:var(--muted)}.course-actions{display:flex;flex-direction:column;gap:9px;min-width:185px}.learning-tip{background:var(--pale);border-left:3px solid #85a9c8;padding:24px 28px;margin-top:35px}.learning-tip h3{font-size:1rem;margin-bottom:7px}.learning-tip p{color:var(--muted);margin:0;font-size:.93rem}
.study-shell,.practice-shell{max-width:780px;margin:auto;border:1px solid var(--line);padding:26px 30px 32px}.study-toolbar,.practice-top{display:flex;justify-content:space-between;gap:12px;font-size:.83rem;font-weight:600;color:var(--muted);margin-bottom:14px}.study-progress{height:4px;background:#e7eef4;margin-bottom:24px}.study-progress>div{height:100%;background:var(--blue);width:0;transition:width .2s}.flashcard{width:100%;min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:19px;padding:40px;background:#f8fafc;border:1px solid #cbd8e2;border-radius:2px;color:var(--ink);text-align:center}.flashcard:hover{background:#f3f7fa}.flashcard-title{font-family:'Source Serif 4',Georgia,serif;font-size:clamp(2rem,5vw,3rem);line-height:1.2;font-weight:600}.flashcard-answer{max-width:570px;font-size:1.1rem;line-height:1.65}.flashcard-hint{font-size:.8rem;color:var(--muted)}.answer-entry{margin:25px 0 18px}.answer-entry label{margin:0 0 8px}.rating{margin-top:22px}.rating span{display:block;font-size:.85rem;font-weight:600;margin-bottom:12px}.rating>div{display:flex;gap:10px;flex-wrap:wrap}.feedback{font-size:.9rem;color:var(--muted);margin:20px 0 0}.practice-shell h2{font-family:'Source Serif 4',Georgia,serif;font-size:1.8rem;margin:28px 0}.options{display:grid;gap:10px;margin-bottom:20px}.options .option{display:block;text-align:left;white-space:normal;background:#fff;color:var(--ink);border:1px solid #b9c8d4;padding:16px 18px;line-height:1.45}.options .option:hover{background:var(--pale);color:var(--ink)}.options .option.correct{border-color:#3d866e;background:#eaf6ef}.options .option.incorrect{border-color:#c25c5c;background:#fff2f1}.content-narrow{max-width:650px;margin:50px auto}.panel{border:1px solid var(--line);padding:30px;margin:20px 0}.hero{margin:20px 0 40px}.hero p{color:var(--muted)}.eyebrow{font-size:.75rem;color:var(--blue);letter-spacing:.1em;font-weight:700}.panel form,.panel label{max-width:700px}.panel input,.panel textarea{display:block;margin-top:7px}.panel button{margin-top:16px}
@media(max-width:780px){.site-header-inner{padding:14px 18px;align-items:flex-start;flex-direction:column}.site-header nav{gap:17px}.page-container{padding:34px 18px 65px}.auth-layout{grid-template-columns:1fr;gap:25px;padding-top:5px}.auth-note{margin-top:25px}.auth-form{padding:27px 23px}.overview-stats{grid-template-columns:1fr}.overview-stats>div{border-right:0;border-bottom:1px solid var(--line)}.overview-stats>div:last-child{border-bottom:0}.course-content{flex-direction:column;align-items:stretch}.course-actions{min-width:0}.course{padding:23px}.study-shell,.practice-shell{padding:20px 16px}.flashcard{min-height:250px;padding:30px 20px}.site-footer{padding:22px 18px;flex-direction:column}}

/* 2026 editorial redesign: light, understated, content-led */
:root{--ink:#242d36;--muted:#68737e;--navy:#294b66;--blue:#315e7b;--line:#dfe4e8;--pale:#f7f8f9}
body{background:#fcfcfb;font-family:Arial,'Helvetica Neue',sans-serif;color:var(--ink)}
h1,h2,h3{font-family:Arial,'Helvetica Neue',sans-serif;letter-spacing:-.025em}h1{font-size:clamp(1.8rem,3vw,2.4rem);font-weight:650}
.site-header{background:#fff}.site-header-inner{min-height:66px}.brand-symbol{width:30px;height:30px;font-size:1rem;background:#345b73}.brand{font-size:.96rem}.site-header nav a{font-size:.85rem;font-weight:500}.page-container{padding-top:44px}
.button,button:not(.flashcard):not(.flip-card){border-radius:3px;background:#315e7b;border-color:#315e7b;font-weight:500}
.login-screen{min-height:calc(100vh - 245px);display:flex;justify-content:center;align-items:center;padding:25px 0 65px}.login-card{width:100%;max-width:390px}.login-card h1{font-size:2rem;margin:0 0 8px;text-align:center}.login-subtitle{font-size:.92rem;color:var(--muted);text-align:center;margin-bottom:34px}.login-card label{font-size:.86rem;margin:17px 0 8px}.login-card input{border-radius:3px;padding:12px}.login-card .full{margin-top:25px;width:100%;padding:12px}.login-links{display:flex;justify-content:space-between;gap:12px;margin-top:22px;font-size:.82rem}.login-links a{color:#315e7b;text-decoration:none}.login-links a:hover{text-decoration:underline}
.dashboard-welcome{margin:8px 0 44px}.dashboard-welcome h1{margin:0 0 8px}.dashboard-welcome p{color:var(--muted);font-size:.94rem}.dashboard-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:54px;align-items:start}.dashboard-main .section-heading h2,.dashboard-side h2{font-size:1.15rem;font-weight:600;margin:0 0 18px}.topic-row{display:flex;gap:21px;align-items:flex-start;background:#fff;border:1px solid var(--line);padding:25px}.topic-icon{background:#e8eff3;color:#355c74;font-family:Georgia,serif;font-size:1.3rem;display:grid;place-items:center;width:55px;height:64px;flex-shrink:0}.topic-copy{flex:1}.topic-category{color:var(--muted);font-size:.76rem}.topic-copy h3{font-size:1.2rem;margin:5px 0 8px}.topic-copy p{font-size:.9rem;color:var(--muted);max-width:440px;margin-bottom:10px}.topic-links{display:flex;flex-direction:column;gap:14px;align-items:flex-start;min-width:130px}.topic-links a:not(.button){font-size:.84rem}.topic-links .button{padding:10px 14px;font-size:.83rem}.dashboard-side{border-top:2px solid #cedae2;padding-top:18px}.progress-line{display:flex;justify-content:space-between;font-size:.84rem;gap:10px}.progress-line strong{font-weight:600}.mini-progress{height:5px;background:#e9edef;margin:12px 0 20px}.mini-progress span{display:block;background:#648ca3;height:100%}.dashboard-side p{font-size:.84rem;color:var(--muted)}
.study-heading{max-width:680px;margin:0 auto 28px}.study-heading h1{margin:16px 0 6px}.study-heading p{font-size:.92rem;color:var(--muted)}.back-link{font-size:.84rem;text-decoration:none}.new-study{max-width:680px;border:0;padding:0;background:transparent}.new-study .study-toolbar{font-weight:400;margin-bottom:10px}.new-study .study-progress{height:3px;margin-bottom:23px}
.flip-card{display:block;position:relative;width:100%;height:350px;padding:0;border:0;background:transparent;perspective:1400px;cursor:pointer;text-align:center;color:var(--ink)}.flip-inner{position:relative;display:block;width:100%;height:100%;transform-style:preserve-3d;transition:transform .55s cubic-bezier(.2,.65,.2,1)}.flip-card.is-flipped .flip-inner{transform:rotateY(180deg)}.flip-face{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:45px 48px;border:1px solid #d4d9de;background:#fff;box-shadow:0 3px 0 #e7e8e9,0 6px 0 #f0f0f0;backface-visibility:hidden;-webkit-backface-visibility:hidden}.flip-back{transform:rotateY(180deg);background:#fdfefd}.card-eyebrow{position:absolute;top:30px;letter-spacing:.12em;font-size:.7rem;color:#73818c;font-weight:600}.card-main{font-size:clamp(2rem,5vw,3rem);font-family:Georgia,'Times New Roman',serif;line-height:1.2}.card-definition{font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.15rem,2.5vw,1.55rem);line-height:1.55;max-width:530px}.card-instruction{position:absolute;bottom:25px;font-size:.77rem;color:#7d8892}.card-controls{text-align:center;margin-top:27px}.card-controls .button{min-width:150px}.new-study .rating{text-align:center;margin:26px 0 0}.new-study .rating p{font-size:.9rem;color:#56616b;margin-bottom:13px}.rating-options{display:flex;justify-content:center;gap:9px;flex-wrap:wrap}.rating-options button{background:#fff!important;color:#344f62!important;border:1px solid #cbd5dc!important;padding:10px 16px!important;font-size:.85rem!important;border-radius:3px!important}.rating-options button:hover{background:#e9f0f4!important}.rating-options button.rate-good{background:#e7f0ec!important;border-color:#b8d2c6!important;color:#2e6451!important}.rating-options button.rate-easy{background:#edf3f7!important}.new-study .feedback{text-align:center;color:#a13c3c}
@media(max-width:800px){.dashboard-layout{grid-template-columns:1fr;gap:30px}.topic-row{flex-wrap:wrap}.topic-links{width:100%;flex-direction:row;align-items:center}.login-screen{min-height:65vh}.flip-card{height:310px}.flip-face{padding:40px 25px}.login-links{flex-direction:column;text-align:center}.site-footer{font-size:.75rem}}
@media(prefers-reduced-motion:reduce){.flip-inner{transition:none}}
