:root{--plum:#21152d;--plum2:#392947;--pink:#f3a4c2;--lav:#eee5f1;--ink:#241b2b;--muted:#766d7b;--paper:#fff;--line:#e8e2eb;--bg:#faf8fb}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.55}.topbar{height:auto;min-height:72px;padding:14px max(5vw,20px);display:flex;align-items:center;justify-content:space-between;background:var(--plum);color:white;gap:20px}.brand{font-size:1.75rem;font-weight:900;letter-spacing:-1.5px;color:white;text-decoration:none}.brand span{color:var(--pink)}nav{display:flex;gap:8px;flex-wrap:wrap}.nav-link,.menu-btn{border:0;background:transparent;color:#e9dfee;padding:10px 13px;border-radius:20px;font:inherit;cursor:pointer}.nav-link.active,.nav-link:hover{background:#493653;color:white}.menu-btn{display:none;font-size:1.3rem}.hero{background:linear-gradient(120deg,#21152d,#493653);color:white;padding:clamp(45px,8vw,100px) max(7vw,22px);display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:40px;min-height:440px}.eyebrow{font-size:.72rem;font-weight:800;letter-spacing:2px;color:#a477b5;margin:0 0 10px}.hero .eyebrow{color:var(--pink)}h1{font-size:clamp(2.5rem,6vw,5rem);line-height:1.02;letter-spacing:-2px;margin:0 0 20px}h1 em{color:var(--pink);font-style:normal}.hero-copy>p:not(.eyebrow){color:#e4dbe8;max-width:520px;font-size:1.08rem}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.btn{border:0;border-radius:24px;padding:12px 19px;font-weight:750;cursor:pointer;font-size:.92rem}.primary{background:var(--pink);color:#291c31}.light{background:white;color:var(--plum)}.outline{background:white;border:1px solid var(--line);color:var(--plum)}.small{padding:9px 14px}.hero-art{height:280px;position:relative;display:flex;align-items:center;justify-content:center}.book{width:175px;height:240px;border-radius:5px 15px 15px 5px;position:absolute;box-shadow:12px 18px 30px #120b1780}.book-back{background:#bd819d;transform:translate(25px,8px) rotate(9deg)}.book-front{background:linear-gradient(145deg,#78588a,#392947);border-left:7px solid #c49bcf;padding:20px;display:flex;flex-direction:column;justify-content:space-between;transform:rotate(-6deg);color:white}.book-front span,.book-front small{font-size:.6rem;letter-spacing:1px}.book-front b{font-size:2rem;line-height:1.05}.spark{position:absolute;right:10%;top:5%;font-size:3rem;color:var(--pink)}main{max-width:1120px;margin:auto;padding:45px 22px 70px}.view{display:none}.active-view{display:block}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:15px;margin-bottom:22px}h2{font-size:clamp(1.7rem,4vw,2.5rem);line-height:1.12;letter-spacing:-.8px;margin:0 0 8px}h3{margin:0 0 8px}.muted{color:var(--muted)}.tiny{font-size:.78rem}.search{display:flex;align-items:center;gap:10px;background:white;border:1px solid var(--line);padding:0 16px;border-radius:14px;height:50px;max-width:600px}.search span{font-size:1.5rem;color:var(--muted)}.search input{border:0;outline:0;width:100%;font:inherit}.chips{display:flex;gap:8px;overflow:auto;padding:18px 0 24px}.chip{border:1px solid var(--line);background:white;color:var(--plum);border-radius:22px;padding:8px 14px;white-space:nowrap;cursor:pointer}.chip.selected{background:var(--plum2);color:white;border-color:var(--plum2)}.book-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.book-card{background:white;border:1px solid var(--line);border-radius:16px;padding:12px;min-width:0}.cover{height:210px;border-radius:10px;padding:16px;color:white;display:flex;flex-direction:column;justify-content:space-between;margin-bottom:12px;cursor:pointer}.cover small{font-size:.65rem;letter-spacing:1px}.cover strong{font-size:1.6rem;line-height:1.05;max-width:180px}.book-card h3{font-size:1rem;margin:0}.book-card p{font-size:.82rem;color:var(--muted);margin:4px 0 12px}.card-actions{display:flex;gap:8px}.card-actions button{flex:1}.reader-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:22px 0 12px}.sample-page{max-width:680px;min-height:390px;margin:auto;background:#f0e8f2;border:1px solid #e1d4e7;border-radius:10px;padding:30px;display:flex;flex-direction:column;justify-content:space-between;text-align:center;color:#392947;box-shadow:0 10px 30px #34213b12}.page-kicker,.page-footer{font-size:.68rem;letter-spacing:2px;color:#826d8c}.sample-page h2{font-size:2rem;margin:35px 0 20px}.sample-page p{max-width:440px;margin:auto;font-family:Georgia,serif;font-size:1.1rem;line-height:1.9}.progress-track{height:6px;background:#e9e2eb;border-radius:8px;max-width:680px;margin:18px auto 6px;overflow:hidden}.progress-track div{height:100%;width:25%;background:#9b70b1;transition:width .2s}.upload-reader,.publish-card{max-width:680px;margin:35px auto 0;background:white;border:1px solid var(--line);border-radius:18px;padding:24px}.file-label{display:inline-block;background:var(--plum2);color:white;padding:11px 17px;border-radius:22px;cursor:pointer;font-weight:700}.file-label input{display:none}iframe{width:100%;height:600px;border:1px solid var(--line);margin-top:20px;border-radius:8px}.lead{font-size:1.08rem;color:var(--muted);max-width:720px}.publish-card ul{color:var(--muted);line-height:2}.upload-icon{height:52px;width:52px;border-radius:14px;background:var(--lav);display:grid;place-items:center;font-size:2rem;color:var(--plum2);margin-bottom:18px}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:30px 0}.feature-grid article{background:white;border:1px solid var(--line);border-radius:14px;padding:20px}.feature-grid p{color:var(--muted);margin-bottom:0}.notice{background:#f1eaf4;border-left:4px solid #9b70b1;padding:16px;border-radius:8px;color:#594c60;font-size:.9rem}footer{background:var(--plum);color:#e4dbe8;padding:30px max(5vw,22px);text-align:center}.footer-brand{display:inline-block}footer p{margin:0 0 8px}footer small{color:#bbaac2}@media(max-width:760px){.topbar{flex-wrap:wrap}.menu-btn{display:block}nav{display:none;width:100%;flex-direction:column;align-items:stretch}nav.open{display:flex}.nav-link{text-align:left}.hero{grid-template-columns:1fr;gap:10px}.hero-art{height:230px}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.cover{height:180px;padding:12px}.cover strong{font-size:1.25rem}.section-heading{align-items:start;flex-direction:column}.feature-grid{grid-template-columns:1fr}.sample-page{min-height:350px;padding:22px}.sample-page h2{font-size:1.6rem}.reader-toolbar{flex-wrap:wrap}.reader-toolbar .muted{order:3;width:100%;text-align:center}}@media(max-width:380px){.book-grid{grid-template-columns:1fr 1fr}.cover{height:150px}.card-actions{flex-direction:column}}
