@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#20243a;--muted:#777d90;--purple:#6558d3;--purple-dark:#5043bc;--lavender:#eeeaff;--line:#e9e8f0;--paper:#fff;--bg:#f9f8fc;--mint:#d9f3e7;--shadow:0 14px 40px rgba(48,41,91,.07)}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:15px;line-height:1.55}h1,h2,h3{font-family:Manrope,sans-serif;letter-spacing:-.035em;margin:0;font-weight:750}h1{font-size:clamp(2.3rem,5vw,3.6rem);line-height:1.08}h2{font-size:1.8rem}h3{font-size:1.22rem}a{color:inherit;text-decoration:none}.topbar{height:78px;padding:0 max(calc((100vw - 1120px)/2),5vw);display:flex;align-items:center;gap:54px;background:rgba(255,255,255,.86);border-bottom:1px solid var(--line)}.brand,.auth-brand{font:800 1.35rem Manrope,sans-serif;letter-spacing:-.06em}.brand span,.auth-brand span{color:var(--purple);font-size:1.15rem;margin-left:3px}.topbar nav{display:flex;gap:30px;color:#62677a;font-weight:600}.topbar nav a:hover,.account a:hover{color:var(--purple)}.account{margin-left:auto;display:flex;gap:17px;align-items:center;color:var(--muted)}.container{max-width:1120px;margin:0 auto;padding:38px 28px 90px}.hero{min-height:290px;padding:48px 56px;border-radius:25px;background:linear-gradient(115deg,#efedff 0%,#f5f3ff 52%,#e8f7f1 100%);display:flex;align-items:center;justify-content:space-between;overflow:hidden}.hero h1{max-width:560px}.hero h1 em{font-style:normal;color:var(--purple)}.eyebrow{font-size:.72rem;letter-spacing:.14em;font-weight:700;color:var(--purple);margin:0 0 12px}.lede{color:#666b7c;font-size:1.05rem;margin:16px 0 0}.hero-mark{width:166px;height:166px;border-radius:48px;background:#fff9;display:grid;place-items:center;color:var(--purple);font:800 5.5rem Manrope,sans-serif;transform:rotate(7deg);box-shadow:0 18px 40px #736bd21c}.hero-mark span{position:absolute;font-size:1.4rem;transform:translate(52px,-50px)}.section-heading{display:flex;justify-content:space-between;align-items:end;margin:54px 0 22px}.section-heading h2{font-size:1.85rem}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:11px;padding:12px 18px;background:var(--purple);color:white;font:700 .9rem 'DM Sans',sans-serif;cursor:pointer;box-shadow:0 7px 15px #6558d326;transition:.15s}.button:hover{background:var(--purple-dark);transform:translateY(-1px)}.button-light{background:#f0eeff;color:var(--purple);box-shadow:none}.button-light:hover{background:#e5e1ff}.button-quiet{padding:8px 13px;background:#f1efff;color:var(--purple);box-shadow:none}.button-danger{padding:8px 14px;background:#fff0f0;color:#bd4d54;box-shadow:none}.button-danger:hover{background:#ffe2e2}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}.collection-card{padding:23px 24px 20px;background:var(--paper);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);transition:.18s}.collection-card:hover{transform:translateY(-3px);box-shadow:0 18px 42px #30295d12}.card-top,.word-row{display:flex;align-items:center;justify-content:space-between}.icon-tile{display:grid;place-items:center;width:42px;height:42px;background:#eaf6ef;color:#31866a;border-radius:13px;font-size:1.25rem}.icon-tile.lavender{background:#f0edff;color:var(--purple)}.count{color:var(--muted);font-size:.78rem;background:#f7f6fa;border-radius:30px;padding:5px 10px}.collection-card h3{margin-top:19px}.collection-card>p{margin:6px 0 20px;color:var(--muted);font-size:.9rem}.card-actions{border-top:1px solid #f0eff4;padding-top:14px;display:flex;justify-content:space-between;color:var(--purple);font-size:.84rem;font-weight:700}.card-actions a:last-child{color:#84889a;font-weight:500}.grammar-heading{margin-top:64px}.empty{padding:50px 20px;text-align:center;background:white;border:1px dashed #dcd9e8;border-radius:20px}.empty>span{display:grid;place-items:center;margin:0 auto 16px;width:48px;height:48px;border-radius:15px;background:var(--lavender);color:var(--purple);font-size:1.5rem}.empty p,.muted{color:var(--muted)}.empty .button{margin-top:12px}.empty.compact{padding:35px}.empty.compact>span{margin-bottom:10px}.auth-wrap{min-height:100vh;padding:36px 20px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:radial-gradient(ellipse at 20% 15%,#eeeaff 0,transparent 40%),radial-gradient(ellipse at 85% 90%,#e6f7ef 0,transparent 35%),var(--bg)}.auth-brand{position:absolute;top:35px;left:max(calc((100vw - 440px)/2),24px)}.auth-card{width:min(100%,440px);padding:42px;background:white;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}.auth-card h1{font-size:2rem}.auth-card>.muted{margin:9px 0 28px}.auth-card form,.form-page form,.inline-form form{display:grid;gap:17px}.auth-card label,.form-page label,.inline-form label{display:grid;gap:7px;font-size:.86rem;font-weight:700;color:#494d60}.auth-card input,.form-page input,.inline-form input,.inline-form textarea{width:100%;border:1px solid #dedde8;border-radius:10px;padding:13px 14px;background:#fff;font:500 .95rem 'DM Sans',sans-serif;color:var(--ink);outline:none}.auth-card input:focus,.form-page input:focus,.inline-form input:focus,.inline-form textarea:focus{border-color:var(--purple);box-shadow:0 0 0 3px #6558d31c}.full{width:100%;margin-top:4px}.auth-foot{border-top:1px solid var(--line);padding-top:18px;text-align:center;color:var(--muted);font-size:.88rem;margin:24px 0 0}.auth-foot a,.back-link{color:var(--purple);font-weight:700}.alert{padding:11px 13px;border-radius:9px;background:#fff2f0;color:#a94442;font-size:.88rem}.back-link{display:inline-block;margin:3px 0 25px}.form-page{max-width:600px;margin:30px auto;padding:40px;background:white;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}.form-page h1{font-size:2.4rem}.form-page form{margin-top:28px}.detail-head{display:flex;justify-content:space-between;align-items:center;margin:4px 0 30px}.detail-head h1{font-size:2.8rem}.actions{display:flex;align-items:center;gap:9px}.actions form{margin:0}.study-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}.study-card,.rule-card{padding:22px;background:white;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}.study-card h2{margin-top:19px;font-size:1.6rem}.translation{font-size:1.05rem;color:var(--purple);font-weight:600}.example{padding:12px;border-radius:9px;background:#f8f7fc;color:#777d90;font-size:.9rem}.learned,.learning{padding:4px 9px;border-radius:30px;font-size:.72rem;font-weight:700}.learned{background:#e4f7ec;color:#328364}.learning{background:#fff4df;color:#b17a20}.inline-form{max-width:720px;margin:40px auto 0;padding:28px;background:#fff;border:1px solid var(--line);border-radius:17px}.inline-form h2{font-size:1.35rem;margin-bottom:18px}.inline-form form{grid-template-columns:1fr 1fr}.inline-form label:nth-child(3){grid-column:1/-1}.inline-form textarea{resize:vertical}.inline-form button{justify-self:start}.rule-list{display:grid;gap:13px}.rule-card{display:flex;gap:17px}.rule-mark{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:12px;background:var(--lavender);color:var(--purple);font-size:1.2rem}.rule-content{white-space:pre-wrap}.rule-content p:first-child{margin-top:3px} @media(max-width:700px){.topbar{height:auto;min-height:70px;padding:15px 20px;gap:20px;flex-wrap:wrap}.topbar nav{order:3;width:100%;gap:20px;font-size:.88rem}.account{gap:8px;font-size:.82rem}.container{padding:23px 17px 60px}.hero{padding:34px 26px;min-height:240px}.hero-mark{width:90px;height:90px;border-radius:28px;font-size:3rem}.hero-mark span{font-size:1rem;transform:translate(29px,-28px)}.hero h1{font-size:2.35rem}.lede{font-size:.94rem}.section-heading{gap:15px}.section-heading h2{font-size:1.45rem}.section-heading>.button{padding:10px 12px;font-size:.78rem}.detail-head{align-items:flex-start;gap:18px;flex-direction:column}.detail-head h1{font-size:2.35rem}.inline-form form{grid-template-columns:1fr}.inline-form label:nth-child(3){grid-column:auto}.auth-card{padding:30px 23px}.form-page{padding:29px 22px}}
