:root{--ink:#0b1220;--muted:#66758b;--blue:#3157d5;--blue2:#6549e7;--bg:#f4f7fb;--card:#fff;--line:#dfe7f1;--soft:#edf2ff;--green:#0f8a58;--amber:#a16207;--red:#b42318}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;background:var(--bg);color:var(--ink)}button,input{font:inherit}.hidden{display:none!important}.nav{height:68px;background:#0b1220;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(18px,calc((100vw - 1180px)/2));position:sticky;top:0;z-index:20;box-shadow:0 4px 18px #08101f1a}.brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none}.brand>span{width:40px;height:40px;border-radius:12px;background:#fff;color:#0b1220;display:grid;place-items:center;font-weight:950;font-size:23px}.brand b{display:block}.brand small{display:block;color:#9eb0ca;font-size:11px}.navActions{display:flex;gap:8px}.navBtn,.navGhost,.secondary{border-radius:11px;padding:9px 13px;font-weight:800;cursor:pointer}.navBtn{border:1px solid #ffffff35;background:#fff;color:#111827}.navGhost{border:1px solid #ffffff2b;background:#ffffff0c;color:#fff}.secondary{border:1px solid #ccd7e6;background:#fff;color:#111827}.primary{border:0;border-radius:12px;padding:12px 17px;background:linear-gradient(135deg,var(--blue),var(--blue2));color:#fff;font-weight:850;cursor:pointer;box-shadow:0 8px 22px #3157d526}.wide{width:100%}.hero{max-width:1180px;margin:auto;min-height:650px;display:grid;grid-template-columns:1.05fr .95fr;gap:52px;align-items:center;padding:58px 24px}.eyebrow,.sectionHead>span,.dashHeader span,.dialogHead span{font-size:11px;letter-spacing:.12em;font-weight:900;color:var(--blue)}.hero h1{font-size:60px;line-height:1.01;letter-spacing:-.045em;margin:14px 0 20px}.hero h1 em{font-style:normal;color:var(--blue)}.hero p{font-size:18px;line-height:1.65;color:#596980;max-width:670px}.heroActions{display:flex;gap:10px;margin-top:25px}.trust{display:flex;flex-wrap:wrap;gap:9px 18px;margin-top:20px;color:#53647b;font-size:12px;font-weight:650}.heroVisual{display:flex;justify-content:center}.bookStack{height:500px;width:480px;position:relative}.bookStack img{position:absolute;width:310px;max-height:445px;object-fit:cover;object-position:top;border-radius:16px;box-shadow:0 32px 70px #0b12203d;border:1px solid #d9e1eb;background:#fff}.bookStack img:first-child{left:15px;top:45px;transform:rotate(-5deg)}.bookStack img:last-child{right:10px;top:0;transform:rotate(5deg)}.booksSection{max-width:1180px;margin:0 auto;padding:55px 24px 80px}.sectionHead{text-align:center;max-width:700px;margin:0 auto 30px}.sectionHead h2{font-size:38px;letter-spacing:-.03em;margin:8px 0}.sectionHead p{color:var(--muted);line-height:1.6}.productGrid,.libraryGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.productCard{background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;display:grid;grid-template-columns:180px 1fr;min-height:270px;box-shadow:0 12px 34px #0f172a0d}.productCover{background:#e8edf5;padding:14px;display:grid;place-items:center}.productCover img{width:100%;height:238px;object-fit:cover;object-position:top;border-radius:10px;box-shadow:0 12px 28px #0b12202e}.productInfo{padding:24px;display:flex;flex-direction:column}.productInfo small{color:var(--muted);font-weight:750}.productInfo h3{font-size:23px;margin:7px 0 8px;letter-spacing:-.02em}.productInfo p{color:var(--muted);font-size:13px;line-height:1.55;margin:0 0 12px}.productPrice{display:flex;align-items:flex-end;gap:8px;margin-top:auto;margin-bottom:15px}.productPrice strong{font-size:34px}.productPrice span{font-size:12px;color:var(--muted);font-weight:700;padding-bottom:5px}.productActions{display:flex;gap:8px}.productActions button{flex:1}.skeleton{height:270px;border-radius:20px;background:linear-gradient(90deg,#e9eef5,#f8fafc,#e9eef5);background-size:200% 100%;animation:sh 1.3s infinite}@keyframes sh{to{background-position:-200% 0}}.how{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:65px 24px}.steps{max-width:1100px;margin:auto;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.steps article{padding:22px;background:#f7f9fc;border:1px solid #e6ecf4;border-radius:17px}.steps i{width:34px;height:34px;border-radius:10px;background:#e7edff;color:var(--blue);font-style:normal;font-weight:900;display:grid;place-items:center;margin-bottom:14px}.steps b{display:block}.steps p{color:var(--muted);font-size:13px;line-height:1.55}.dashboard{max-width:1180px;margin:0 auto;padding:55px 24px 80px}.dashHeader{display:flex;justify-content:space-between;align-items:end;margin-bottom:20px}.dashHeader h2{font-size:34px;margin:5px 0 0}.libraryCard{background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px;display:grid;grid-template-columns:110px 1fr;gap:18px;box-shadow:0 10px 30px #0f172a0a}.libraryCard img{width:110px;height:150px;object-fit:cover;object-position:top;border-radius:9px}.libraryCard h3{margin:3px 0 7px}.libraryCard p{font-size:12px;color:var(--muted);line-height:1.5}.libraryActions{display:flex;gap:7px;flex-wrap:wrap;margin-top:13px}.status{display:inline-block;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:900;letter-spacing:.04em}.status.active{background:#dcfce7;color:#166534}.status.pending{background:#fff3cd;color:#92400e}.status.rejected{background:#fee2e2;color:#991b1b}.deviceNote{margin-top:18px;border:1px solid var(--line);border-radius:14px;background:#fff;padding:14px 16px;display:flex;gap:8px;align-items:center;color:var(--muted);font-size:12px}.deviceNote b{color:var(--ink)}footer{background:#0b1220;color:#aebad0;min-height:100px;padding:25px max(20px,calc((100vw - 1180px)/2));display:flex;justify-content:space-between;align-items:center;font-size:12px}footer div{display:flex;flex-direction:column;gap:4px}footer b{color:#fff}.modal{position:fixed;inset:0;background:#020617a8;z-index:50;display:grid;place-items:center;padding:18px;backdrop-filter:blur(5px)}.dialog{position:relative;width:min(465px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:22px;padding:27px;box-shadow:0 35px 90px #0006}.paymentDialog{width:min(500px,100%)}.close{position:absolute;right:11px;top:10px;border:0;background:transparent;font-size:28px;color:#64748b;cursor:pointer}.dialogHead h2{font-size:28px;margin:5px 0 18px}.tabs{display:flex;background:#eef2f7;border-radius:11px;padding:4px;margin-bottom:17px}.tabs button{border:0;background:transparent;flex:1;padding:9px;border-radius:8px;font-weight:800;color:#607087}.tabs button.active{background:#fff;color:#111827;box-shadow:0 2px 9px #0f172a12}.dialog label{display:block;margin:12px 0;font-size:12px;font-weight:800}.dialog label>small{font-weight:600;color:var(--muted)}.dialog input{width:100%;border:1px solid #ccd7e6;border-radius:11px;padding:11px 12px;margin-top:6px;outline:none}.dialog input:focus{border-color:#7893e6;box-shadow:0 0 0 3px #3157d514}.dialog label>small:last-child{display:block;margin-top:5px}.error{color:#b42318;font-size:12px;min-height:16px}.priceStrip{display:flex;align-items:end;gap:9px;margin:-4px 0 15px}.priceStrip strong{font-size:36px}.priceStrip span{color:var(--muted);font-weight:700;padding-bottom:6px}.payInstructions{background:#f7f9fd;border:1px dashed #9fb0cf;border-radius:15px;padding:15px;margin:10px 0 15px}.payInstructions small{font-weight:850;color:#607087}.payInstructions p{font-size:13px}.merchant{display:flex;justify-content:space-between;align-items:center;background:#fff;border:1px solid #dfe7f1;border-radius:10px;padding:10px 11px}.merchant span{font-size:12px}.merchant strong{font-size:17px}.payInstructions ol{padding-left:20px;margin:12px 0 0;color:#53647b;font-size:12px;line-height:1.7}.tiny{font-size:10px;color:#7a8799;line-height:1.5}.productCard button,.libraryCard button{cursor:pointer}.outline{background:#fff;border:1px solid #cbd6e6;color:#172033;border-radius:11px;padding:10px 13px;font-weight:800}.dangerText{color:#b42318}.rejectedNote{color:#b42318!important}.nav button,.hero button{cursor:pointer}@media(max-width:900px){.hero{grid-template-columns:1fr;min-height:auto;padding-top:38px}.heroVisual{order:-1}.bookStack{height:360px;width:min(430px,90vw)}.bookStack img{width:230px;max-height:325px}.hero h1{font-size:47px}.steps{grid-template-columns:repeat(2,1fr)}.productGrid,.libraryGrid{grid-template-columns:1fr}}@media(max-width:600px){.nav{padding:0 11px}.brand small{display:none}.navGhost{display:none!important}.hero{padding:28px 17px 45px}.hero h1{font-size:39px}.hero p{font-size:16px}.heroActions{flex-direction:column}.bookStack{height:300px}.bookStack img{width:190px;max-height:270px}.booksSection,.dashboard{padding-left:14px;padding-right:14px}.sectionHead h2{font-size:31px}.productCard{grid-template-columns:120px 1fr;min-height:235px}.productCover{padding:9px}.productCover img{height:205px}.productInfo{padding:16px}.productInfo h3{font-size:19px}.productInfo p{font-size:12px}.productPrice strong{font-size:29px}.productActions{flex-direction:column}.steps{grid-template-columns:1fr}.libraryCard{grid-template-columns:82px 1fr}.libraryCard img{width:82px;height:115px}.dashHeader{align-items:center}.dashHeader h2{font-size:27px}footer{flex-direction:column;align-items:flex-start;gap:12px}.deviceNote{align-items:flex-start;flex-direction:column}}

/* v2 storefront covers + public preview */
.bookStack{height:390px;width:520px}.bookStack img{width:445px;max-height:none;height:auto;object-fit:contain;border-radius:14px;background:#080c14}.bookStack img:first-child{left:-8px;top:55px;transform:rotate(-4deg)}.bookStack img:last-child{right:-8px;top:0;transform:rotate(4deg)}
.productCard{display:flex;flex-direction:column;min-height:0}.productCover{height:285px;padding:0;background:#080c14;position:relative;overflow:hidden}.productCover img{width:100%;height:100%;object-fit:contain;object-position:center;border-radius:0;box-shadow:none}.previewBadge{position:absolute;left:14px;top:14px;background:rgba(255,255,255,.94);color:#172033;border:1px solid #ffffff80;border-radius:999px;padding:6px 9px;font-size:10px;font-weight:900;box-shadow:0 6px 18px #0003}.productInfo{min-height:280px}.libraryCard{grid-template-columns:180px 1fr}.libraryCard img{width:180px;height:110px;object-fit:contain;background:#090d16;border-radius:9px}
.previewModal{padding:14px}.previewDialog{position:relative;width:min(1180px,98vw);height:min(900px,96vh);background:#f3f6fa;border-radius:22px;box-shadow:0 35px 90px #0007;overflow:hidden;display:flex;flex-direction:column}.previewClose{z-index:4;background:#fff!important;border-radius:50%;width:38px;height:38px;line-height:34px;box-shadow:0 6px 18px #0002}.previewHead{background:#fff;border-bottom:1px solid var(--line);padding:20px 62px 17px 22px;display:flex;align-items:center;gap:18px}.previewHead>div{min-width:0;flex:1}.previewHead span{font-size:10px;letter-spacing:.12em;font-weight:900;color:var(--blue)}.previewHead h2{font-size:26px;margin:3px 0 3px}.previewHead p{font-size:11px;color:var(--muted);margin:0;line-height:1.45}.previewGroups{background:#fff;border-bottom:1px solid var(--line);padding:8px 16px;display:flex;gap:7px;overflow-x:auto}.previewGroups button{border:1px solid #d9e2ef;background:#f8fafc;border-radius:11px;padding:8px 12px;text-align:left;white-space:nowrap;color:#334155}.previewGroups button.active{border-color:#3157d5;background:#eef2ff;color:#234cc4}.previewGroups b,.previewGroups small{display:block}.previewGroups b{font-size:11px}.previewGroups small{font-size:8px;margin-top:2px;opacity:.72}.previewViewer{min-height:0;flex:1;display:grid;grid-template-columns:54px minmax(0,1fr) 54px;align-items:stretch;gap:8px;padding:12px;background:#e8edf4}.previewCanvas{min-width:0;min-height:0;display:flex;flex-direction:column}.previewMeta{height:38px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#526178;font-size:10px;padding:0 5px}.previewMeta b{color:#172033;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.previewPaper{min-width:0;min-height:0;flex:1;overflow:auto;display:flex;align-items:flex-start;justify-content:center;padding:8px;border-radius:12px;background:#dfe6ef;overscroll-behavior:contain}.previewPaper img{display:block;max-width:100%;height:auto;box-shadow:0 15px 45px #0f172a2e;background:#fff;user-select:none;-webkit-user-select:none}.previewLoading{margin:auto;color:#65758a;font-size:12px}.previewArrow{border:1px solid #ccd8e8;background:#fff;color:#172033;border-radius:13px;font-size:32px;font-weight:500;box-shadow:0 8px 22px #0f172a10}.previewArrow:disabled{opacity:.25}.previewFoot{min-height:40px;background:#fff;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 18px;color:#718096;font-size:9px}
@media(max-width:900px){.bookStack{height:315px;width:min(560px,94vw)}.bookStack img{width:min(430px,82vw)}.productCover{height:250px}.libraryCard{grid-template-columns:150px 1fr}.libraryCard img{width:150px;height:92px}.previewDialog{height:96vh}.previewHead{padding:15px 52px 13px 15px}.previewHead p{display:none}.previewHead .primary{padding:10px 12px}.previewViewer{grid-template-columns:40px minmax(0,1fr) 40px;padding:6px;gap:4px}.previewArrow{font-size:26px}.previewPaper{padding:4px}.previewFoot{flex-direction:column;align-items:flex-start;gap:2px}}
@media(max-width:600px){.bookStack{height:245px}.bookStack img{width:min(330px,84vw)}.productCard{display:flex;min-height:0}.productCover{height:205px}.productInfo{min-height:0}.libraryCard{grid-template-columns:105px 1fr}.libraryCard img{width:105px;height:70px}.previewModal{padding:0}.previewDialog{width:100vw;height:100dvh;border-radius:0}.previewHead h2{font-size:19px}.previewHead .primary{font-size:10px}.previewGroups{padding:7px}.previewGroups button{padding:7px 9px}.previewViewer{grid-template-columns:32px minmax(0,1fr) 32px}.previewArrow{border-radius:9px;font-size:22px}.previewMeta{height:32px}.previewFoot{font-size:8px}}
