:root{color-scheme:light;--ink:#222637;--muted:#777c90;--line:#e9eaf0;--bg:#f7f8fc;--card:#fff;--accent:#6359d9;--accent-soft:#eeecff;--mint:#d4f8e9;--peach:#ffe8d7;--lavender:#ebe5ff;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-size:15px;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.topbar{height:82px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 44px;gap:16px}.brand{display:flex;align-items:center;gap:13px}.brand-icon{width:40px;height:40px;border-radius:13px;background:#25283c;color:white;display:grid;place-items:center;font-size:19px;font-weight:900;letter-spacing:-2px}.brand-dot{color:#ffc48f}.brand-name{font-size:20px;font-weight:800;letter-spacing:-.9px}.brand-name>span{color:var(--accent)}.top-actions{display:flex;align-items:center;gap:16px}.status{font-size:12px;color:#72798a}.button{border:1px solid #e6e7ef;background:#fff;color:var(--ink);padding:11px 17px;border-radius:13px;font-weight:750}.button:hover{filter:brightness(.96)}.button-dark{background:#25283c;color:white;border:0;box-shadow:0 9px 16px #262b4840;display:inline-flex;align-items:center;gap:28px;padding:15px 22px}.install-button{font-size:13px;padding:9px 13px}
.shell{display:grid;grid-template-columns:242px minmax(0,1fr);max-width:1550px;margin:auto;min-height:calc(100vh - 82px)}.sidebar{border-right:1px solid var(--line);padding:39px 18px;display:flex;flex-direction:column;gap:12px}.sidebar-heading{font-weight:800;color:#9a9fb0;font-size:10px;letter-spacing:1.7px;margin:0 14px 12px}.navigation{display:grid;gap:7px}.nav-item{width:100%;border:0;background:transparent;color:#6f7489;text-align:left;border-radius:14px;padding:13px 14px;font-weight:650;display:flex;align-items:center;gap:13px;white-space:nowrap}.nav-item>span:first-child{width:21px;text-align:center;font-size:21px}.nav-item.active{background:#edebfd;color:#5148cb}.nav-item:hover:not(.active){background:#f0f1f8}.nav-count{margin-left:auto;background:#fff;padding:3px 8px;font-size:11px;color:#6359d9;border-radius:8px}.side-note{margin-top:auto;background:#eeecff;border:1px solid #e1defe;border-radius:18px;padding:20px 17px}.side-note-icon{font-size:23px;color:#6c60c6;margin-bottom:9px}.side-note strong{font-size:13px}.side-note p{font-size:12px;line-height:1.6;color:#6c6989}.side-note>span{font-size:11px;font-weight:700;color:#6257ce}
main{min-width:0;padding:38px clamp(20px,4vw,65px) 80px;max-width:1230px}.view{display:none}.view.active{display:block}.hero{position:relative;overflow:hidden;background:linear-gradient(112deg,#efeaff 5%,#e8ecff 53%,#d5f2f8 100%);border-radius:25px;padding:43px 44px;min-height:340px;display:flex;align-items:center}.hero-copy{position:relative;z-index:1;max-width:550px}.eyebrow,.overline{font-size:10px;letter-spacing:1.7px;font-weight:850;color:#665bd0}.hero h1{font-size:clamp(38px,4vw,58px);line-height:1.04;letter-spacing:-2.7px;margin:16px 0 16px}.hero h1 em{font-style:normal;color:#6259cc}.hero p{font-size:14px;line-height:1.8;color:#646a88;max-width:400px;margin-bottom:22px}.hero-decoration{position:absolute;right:-2%;width:42%;height:100%;display:grid;place-items:center}.hero-orbit{position:relative;width:260px;height:260px;border:1px dashed #978dca;border-radius:50%;transform:rotate(-12deg)}.hero-orbit:before,.hero-orbit:after{content:"";position:absolute;border-radius:50%;background:#9a8eee}.hero-orbit:before{width:18px;height:18px;top:12px;left:36px}.hero-orbit:after{width:26px;height:26px;bottom:14px;right:22px;background:#ffd2a5}.hero-orbit span{position:absolute;top:22px;right:-13px;background:#fff;box-shadow:0 10px 30px #67639f35;padding:12px 19px;border-radius:16px;font-size:18px;font-weight:900;color:#6154b8}.hero-orbit b{position:absolute;top:92px;left:65px;background:#4e50a1;color:#fff;border-radius:19px;font-size:35px;letter-spacing:-2px;padding:22px;transform:rotate(12deg);box-shadow:0 15px 25px #4f508342}.hero-orbit small{position:absolute;bottom:8px;left:24px;font-size:37px;color:#7788e2}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:10px;margin:32px 0 20px}.section-heading .overline{margin:0 0 8px}.section-heading h2{font-size:23px;letter-spacing:-.8px;margin:0}.mini-caption{color:#969aaa;font-size:12px}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.stat-tile{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;display:flex;flex-direction:column;gap:9px;box-shadow:0 5px 15px #25283c04}.stat-icon{border-radius:12px;width:36px;height:36px;display:grid;place-items:center;color:#34394a;font-size:22px}.mint{background:var(--mint)}.peach{background:var(--peach)}.lavender{background:var(--lavender)}.stat-tile>span{font-size:13px;font-weight:600;color:#697087}.stat-tile strong{font-size:35px;line-height:1;font-weight:850;letter-spacing:-1.5px}.stat-tile small{font-size:11px;color:#9b9ead}.dashboard-bottom{display:grid;grid-template-columns:1.2fr 1fr;gap:17px;margin-top:20px}.panel{padding:25px;background:#fff;border:1px solid var(--line);border-radius:20px}.panel-icon{font-size:30px;color:#f6ab5b}.panel h3{font-size:23px;letter-spacing:-.8px;margin:9px 0}.panel>p:not(.overline){font-size:13px;color:#7c8090;line-height:1.75}.progress-track{height:8px;border-radius:5px;background:#efeff5;margin:24px 0 9px;overflow:hidden}.progress-fill{height:100%;background:linear-gradient(90deg,#6059d3,#89c9e8);border-radius:5px;transition:width .2s}.progress-label{display:flex;justify-content:space-between;color:#9499a7;font-size:11px}.text-link{border:0;background:transparent;padding:0;font-weight:800;color:#6258d2;margin-top:23px}.focus-panel{background:linear-gradient(140deg,#fbf5ff,#f0f6ff)}.focus-tags{display:flex;gap:9px;flex-wrap:wrap;margin:23px 0}.focus-tags span{background:white;border:1px solid #e9e6f5;border-radius:20px;padding:8px 12px;font-weight:700;font-size:11px;color:#645a9d}
.page-heading{margin:15px 0 27px}.page-heading h1{font-size:clamp(38px,5vw,54px);letter-spacing:-2px;margin:10px 0}.heading-period{color:var(--accent)}.page-heading>p:last-child{color:var(--muted);font-size:14px;max-width:650px;line-height:1.75}.toolbar,.search-row{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:20px}.segmented{display:inline-flex;background:#eeeff5;padding:5px;border-radius:14px}.segmented button{border:0;background:transparent;border-radius:11px;padding:11px 14px;color:#767b90;font-weight:700;font-size:13px}.segmented button.selected{color:#4d46c0;background:#fff;box-shadow:0 2px 9px #23283b12}.card-counter{color:#9298a7;font-size:13px;font-weight:700}
.flashcard{border:0;background:#fff;min-height:290px;width:100%;border-radius:25px;box-shadow:0 12px 40px #51566b10;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;padding:33px;text-align:center;color:var(--ink);outline-offset:4px}.flashcard .flip-hint{font-size:11px;letter-spacing:1.7px;font-weight:800;color:#8e91a7;text-transform:uppercase}.flashcard .card-word{font-weight:850;letter-spacing:-1.5px;font-size:clamp(27px,4vw,44px);overflow-wrap:anywhere}.flashcard .card-meaning{font-size:clamp(18px,2.5vw,26px);font-weight:700;max-width:530px;line-height:1.5}.flashcard .card-example{color:#8b8e9c;font-style:italic;font-size:14px;max-width:540px;line-height:1.6}.flashcard .card-topic{background:#eeeaff;padding:7px 13px;border-radius:20px;color:#665bcd;font-size:11px;font-weight:750}.review-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;max-width:690px;margin:17px auto 0}.review-actions button{border:1px solid #e8e9f0;border-radius:13px;background:#fff;padding:14px;font-size:13px;font-weight:750}.review-actions button:first-child{color:#bc5863;background:#fff5f6}.review-actions button:nth-child(2){color:#4d63c0;background:#f1f3ff}.review-actions button:nth-child(3){color:#238568;background:#eefcf7}.review-help{font-size:12px;text-align:center;color:#a0a4b1;margin-top:18px}.empty-state{padding:55px 25px;border-radius:22px;border:1px dashed #d6d6e7;background:white;text-align:center}.empty-state h3{font-size:22px}.empty-state p{font-size:13px;color:var(--muted)}
.search{flex:1;width:100%;min-width:0;border:1px solid #e2e4ef;border-radius:13px;background:white;padding:15px 16px;outline-color:#9e95e9}.topic-filter{background:white;border:1px solid #e2e4ef;padding:15px;border-radius:13px;min-width:150px;color:#656c80}.list-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.word-card{background:#fff;border:1px solid #ebecf1;border-radius:17px;padding:19px;min-width:0}.word-top{display:flex;justify-content:space-between;align-items:flex-start;gap:9px}.word-top h3{font-size:19px;letter-spacing:-.3px;margin:0;overflow-wrap:anywhere}.topic-label{color:#665ac9;background:#f1effe;padding:5px 9px;font-size:10px;font-weight:750;border-radius:7px}.word-card>p{color:#686e80;line-height:1.6;font-size:13px}.word-card>blockquote{margin:0 0 14px;padding-left:13px;border-left:3px solid #d8d3fb;color:#555a71;font-size:12px;line-height:1.6}.card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.small-status{font-size:11px;color:#a5a8b4}.speak-btn{background:#f0effb;border:0;border-radius:9px;padding:9px 11px;font-size:12px;color:#5a54c3;font-weight:700}.speak-btn:hover{background:#e4dffc}.corrections-list{display:grid;gap:14px}.correction{background:#fff;border:1px solid #e9eaf0;padding:20px 23px;border-radius:17px}.correction .before{color:#a17373;text-decoration:line-through;font-size:13px;line-height:1.6}.correction .after{display:flex;justify-content:space-between;gap:14px;align-items:center;font-size:18px;font-weight:750;margin:12px 0}.correction>p{color:#858b9c;font-size:12px;line-height:1.6}.correction .small-status{margin-top:10px}.toast{position:fixed;right:18px;bottom:20px;z-index:20;max-width:340px;border-radius:14px;background:#292c45;color:white;padding:15px 18px;box-shadow:0 10px 50px #31384d40;font-size:13px;line-height:1.5}.mobile-nav{display:none}
@media(max-width:1100px){.topbar{padding:0 24px}.shell{grid-template-columns:215px minmax(0,1fr)}.hero-decoration{opacity:.65}.hero-copy{max-width:65%}}
@media(max-width:800px){.topbar{height:70px;padding:0 18px}.status{display:none}.shell{display:block;min-height:calc(100vh - 70px)}.sidebar{display:none}main{padding:20px 16px 110px}.mobile-nav{display:flex;position:fixed;z-index:10;bottom:0;left:0;right:0;padding:8px 9px max(8px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);justify-content:space-around;box-shadow:0 -4px 25px #25283c08}.mobile-nav button{border:0;background:transparent;color:#81869b;min-width:52px;padding:4px 5px;font-size:22px;display:flex;align-items:center;flex-direction:column;gap:2px}.mobile-nav button span{font-size:10px;font-weight:700}.mobile-nav button.active{color:var(--accent)}.hero{padding:31px 26px;min-height:295px}.hero-copy{max-width:80%}.hero-decoration{right:-21%;opacity:.32}.stats-grid{gap:10px}.stat-tile{padding:14px}.stat-tile strong{font-size:29px}.dashboard-bottom{grid-template-columns:1fr}.toast{bottom:84px}}
@media(max-width:560px){.brand-name{font-size:18px}.brand-icon{width:35px;height:35px;font-size:17px}.install-button{padding:8px 10px;font-size:12px}.hero{border-radius:21px;padding:29px 22px}.hero-copy{max-width:100%}.hero-decoration{display:none}.hero h1{font-size:38px;letter-spacing:-1.8px}.hero p{font-size:12px}.section-heading h2{font-size:21px}.mini-caption{display:none}.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.stat-tile{padding:13px 10px;border-radius:13px;gap:7px}.stat-tile span{font-size:11px}.stat-tile small{font-size:10px}.stat-tile strong{font-size:26px}.stat-icon{width:30px;height:30px;font-size:18px}.list-grid{grid-template-columns:1fr}.search-row{flex-direction:column;align-items:stretch}.topic-filter{width:100%}.segmented button{font-size:11px;padding:11px 9px}.card-counter{font-size:11px}.flashcard{min-height:290px}.review-actions{gap:7px}.review-actions button{padding:13px 5px}.page-heading h1{font-size:39px}.correction .after{font-size:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
