:root{--background:#0f172a;--foreground:#f1f5f9;--card:#1e293b;--muted:#334155;--muted-foreground:#94a3b8;--primary:#FFD249;--primary-dark:#E8B900;--secondary:#1e3a8a;--border:rgba(148,163,184,0.2);--input-background:#1e293b;--ring:rgba(255,210,73,0.22)}*{box-sizing:border-box}body{margin:0;background:var(--background);color:var(--foreground);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,textarea{font:inherit}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}.landing-page{min-height:100vh;background:var(--background);color:var(--foreground)}.landing-container{width:min(100% - 48px,1280px);margin:0 auto}.landing-nav{position:-webkit-sticky;position:sticky;top:0;z-index:50;border-bottom:1px solid rgba(148,163,184,.16);background:rgba(15,23,42,.8);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.nav-inner{padding:10px 0;display:flex;align-items:center;justify-content:space-between}.landing-page .brand{display:flex;align-items:center;gap:8px;font-size:20px;line-height:28px;font-weight:600}.brand-icon{width:24px;height:24px;color:var(--primary)}.brand-logo{width:112px;height:64px;object-fit:contain}.landing-hero{position:relative;overflow:hidden}.hero-gradient{position:absolute;inset:0;background:linear-gradient(180deg,rgba(59,130,246,.05),transparent,transparent);pointer-events:none}.landing-page .hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-gap:64px;gap:64px;align-items:center;padding:96px 0 128px}.landing-page .hero-copy{max-width:576px;display:flex;flex-direction:column;gap:32px}.hero-title-group{display:flex;flex-direction:column;gap:24px}.landing-page h1{margin:0;font-size:30px;line-height:1;font-weight:500;letter-spacing:0}.landing-page h1 span{display:block;margin-top:8px}.landing-page h1 .plain,.landing-page h1 span{color:var(--foreground)}.landing-page .hero-copy p{margin:0;color:var(--muted-foreground);font-size:18px;line-height:1.625}.create-story-button{position:relative;width:-moz-fit-content;width:fit-content;display:inline-flex;align-items:center;gap:12px;border-radius:12px;border:0;background:var(--primary);color:#172033;padding:16px 32px;font-weight:500;box-shadow:0 10px 15px -3px rgba(255,210,73,.22),0 4px 6px -4px rgba(255,210,73,.22);transition:background .18s ease,box-shadow .18s ease}.create-story-button:hover{background:var(--primary-dark);box-shadow:0 20px 25px -5px rgba(255,210,73,.28),0 8px 10px -6px rgba(255,210,73,.28)}.button-icon{width:20px;height:20px;transition:transform .18s ease}.create-story-button:hover .button-icon{transform:rotate(12deg)}.benefits-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:24px;gap:24px;padding-top:32px}.benefits-column{display:flex;flex-direction:column;gap:8px}.benefit-item{display:flex;align-items:center;gap:8px}.benefit-item span{font-size:14px;line-height:20px}.check-icon{width:16px;height:16px;color:var(--primary);flex:0 0 auto}.hero-images,.hero-images-wrap{position:relative}.hero-images{max-width:560px;aspect-ratio:4/5;margin:0 auto}.image-glow{position:absolute;inset:0;border-radius:24px;background:linear-gradient(to top right,rgba(59,130,246,.2),rgba(37,99,235,.2));filter:blur(48px)}.hero-main-image-card{position:relative;overflow:hidden;height:100%;border:1px solid rgba(255,210,73,.18);border-radius:24px;box-shadow:0 30px 80px rgba(0,0,0,.34),0 0 70px rgba(255,210,73,.08)}.hero-main-image-card img{width:100%;height:100%;object-fit:cover}.image-columns{position:relative;height:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px}.image-column{display:flex;flex-direction:column;gap:16px}.image-column-offset{padding-top:48px}.hero-image-card{position:relative;aspect-ratio:3/4;overflow:hidden;border-radius:16px;box-shadow:0 20px 25px -5px rgba(0,0,0,.32),0 8px 10px -6px rgba(0,0,0,.32)}.hero-image-card img{width:100%;height:100%;object-fit:cover}.faq-section{padding:96px 0}.faq-container{max-width:672px}.faq-container h2{margin:0 0 64px;text-align:center;font-size:30px;line-height:36px;font-weight:600}.faq-list{display:flex;flex-direction:column;gap:16px}.faq-item{overflow:hidden;border:1px solid var(--border);border-radius:12px;background:var(--card)}.faq-item summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;transition:background .18s ease}.faq-item summary::-webkit-details-marker{display:none}.faq-item summary:hover{background:rgba(51,65,85,.5)}.faq-item summary span:first-child{font-weight:500}.faq-plus{color:var(--muted-foreground);transition:transform .18s ease}.faq-item[open] .faq-plus{transform:rotate(45deg)}.faq-answer{padding:0 24px 20px;line-height:1.5}.landing-footer{margin-top:96px;border-top:1px solid rgba(148,163,184,.16)}.footer-inner{padding:48px 0;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--muted-foreground)}.footer-icon{width:20px;height:20px}.footer-logo{width:22px;height:22px;object-fit:contain}@media (min-width:768px){.landing-page h1{font-size:34px}.faq-container h2{font-size:36px;line-height:40px}}@media (min-width:1024px){.landing-nav{position:absolute;top:0;left:0;width:100%;border-bottom:0;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.landing-page .landing-hero{min-height:100svh}.landing-page .hero-grid{width:100%;min-height:100svh;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;padding:0}.landing-page .hero-copy{justify-self:stretch;align-self:center;max-width:none;padding:140px 56px 96px max(24px,calc((100vw - 1280px) / 2))}.landing-page h1{font-size:38px}.hero-images-wrap{width:100%;height:100svh;min-height:720px;padding-left:0}.hero-images{width:100%;height:100%;max-width:none;aspect-ratio:auto}.image-glow{display:none}.hero-main-image-card{height:100%;border:0;border-radius:0;box-shadow:none}}.shell{min-height:100vh;background:var(--background);color:var(--foreground)}.shell.page-blurred{filter:blur(5px) brightness(.58) saturate(.72);transform:scale(.995);transition:filter .16s ease,transform .16s ease;pointer-events:none}.container{width:min(1120px,calc(100% - 48px));margin:0 auto}.topbar{position:relative;z-index:2000;border-bottom:1px solid rgba(148,163,184,.16);background:rgba(15,23,42,.82);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.topbar-inner{height:84px;min-height:0;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0}.brand{display:inline-flex;align-items:center;gap:10px;font-size:20px;font-weight:650}.brand-mark{width:24px;height:24px;display:grid;place-items:center;color:var(--primary);font-size:21px}.top-actions{width:auto;justify-content:flex-end}.mobile-actions-menu{position:relative;z-index:2100;display:block}.mobile-actions-menu summary{width:44px;height:44px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;border:1px solid rgba(148,163,184,.2);border-radius:12px;background:rgba(15,23,42,.38);cursor:pointer;list-style:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}.mobile-actions-menu summary::-webkit-details-marker{display:none}.mobile-actions-menu summary span{width:18px;height:2px;display:block;border-radius:999px;background:rgba(241,245,249,.9)}.mobile-actions-menu .top-actions{position:absolute;top:calc(100% + 10px);right:0;z-index:2200;min-width:240px;display:none;align-items:stretch;flex-direction:column;gap:6px;border:1px solid rgba(255,210,73,.24);border-radius:18px;background:rgba(15,23,42,.96);box-shadow:0 20px 54px rgba(0,0,0,.36);padding:10px;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.menu-link,.mobile-actions-menu[open] .top-actions{display:flex}.menu-link{width:100%;min-height:40px;border:0;border-radius:10px;background:transparent;color:var(--foreground);align-items:center;justify-content:flex-start;padding:9px 12px;cursor:pointer;font:inherit;font-weight:560;text-align:left}.menu-link:hover{background:rgba(255,210,73,.12)}.menu-button{-webkit-appearance:none;-moz-appearance:none;appearance:none}.btn{min-height:44px;border:0;border-radius:12px;padding:10px 18px;display:inline-flex;align-items:center;justify-content:center;gap:10px;cursor:pointer;color:var(--foreground);font-weight:560;transition:background .18s ease,border .18s ease,box-shadow .18s ease,transform .18s ease,opacity .18s ease}.btn:hover{transform:translateY(-1px)}.btn:disabled{cursor:not-allowed;opacity:.4;transform:none}.btn-primary{background:var(--primary);color:#172033;box-shadow:0 18px 42px rgba(255,210,73,.22)}.btn-primary:hover{background:var(--primary-dark);color:#172033;box-shadow:0 22px 48px rgba(255,210,73,.28)}.btn-dark,.btn-soft{background:transparent;border:1px solid var(--border);color:var(--foreground)}.btn-dark:hover,.btn-soft:hover{background:rgba(51,65,85,.5)}.btn-icon{width:44px;padding:0;font-size:24px}.hero{position:relative;overflow:hidden}.hero:before{content:"";position:absolute;inset:0 0 auto;height:520px;background:linear-gradient(180deg,rgba(59,130,246,.08),transparent);pointer-events:none}.hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.9fr);grid-gap:64px;gap:64px;align-items:center;padding:96px 0 112px}.hero-copy{max-width:590px}.eyebrow{display:inline-flex;align-items:center;width:-moz-fit-content;width:fit-content;margin-bottom:22px;border:1px solid rgba(59,130,246,.3);border-radius:999px;background:rgba(59,130,246,.09);color:#bfdbfe;padding:7px 12px;font-size:14px}.hero h1,.page-title h1{margin:0;letter-spacing:0;font-weight:500;line-height:1.08}.hero h1{font-size:clamp(42px,6vw,72px)}.text-primary{color:var(--primary)}.empty-state,.error-state,.feature p,.hero p,.page-title p,.panel-head p,.preview-copy p,.small-muted,.story-body p{color:var(--muted-foreground)}.hero p{margin:24px 0 0;font-size:18px;line-height:1.7}.hero .top-actions{margin-top:32px}.hero-proof{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px 28px;gap:10px 28px;margin-top:34px;max-width:430px}.proof-item{display:inline-flex;align-items:center;gap:10px;color:var(--foreground);font-size:14px}.check{color:var(--primary);font-weight:800}.hero-art{position:relative;min-height:520px}.hero-glow{position:absolute;inset:10% 3%;border-radius:40px;background:linear-gradient(135deg,rgba(59,130,246,.22),rgba(37,99,235,.14));filter:blur(48px)}.book-grid{position:relative;height:100%;min-height:520px;grid-template-columns:1fr 1fr;align-items:center}.book-column,.book-grid{display:grid;grid-gap:18px;gap:18px}.book-column.offset{padding-top:72px}.book-card{overflow:hidden;border-radius:18px;border:1px solid rgba(148,163,184,.24);background:var(--card);box-shadow:0 24px 70px rgba(0,0,0,.35)}.book-card.tall{aspect-ratio:3/4}.book-card img{width:100%;height:100%;object-fit:cover}.section{padding:88px 0}.faq{max-width:720px;margin:0 auto}.faq h2{margin:0 0 48px;text-align:center;font-size:clamp(30px,4vw,42px);font-weight:600}.book-panel,.empty-state,.error-state,.faq details,.feature,.form-panel,.story-card{border:1px solid var(--border);border-radius:16px;background:var(--card)}.faq details{overflow:hidden;margin-bottom:14px}.faq summary{cursor:pointer;list-style:none;padding:20px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;font-weight:560}.faq summary::-webkit-details-marker{display:none}.faq details[open] summary,.faq summary:hover{background:rgba(51,65,85,.35)}.faq-answer{padding:0 24px 22px;line-height:1.65}.faq-answer,.footer{color:var(--muted-foreground)}.footer{border-top:1px solid rgba(148,163,184,.16);padding:44px 0;text-align:center}.page{padding:48px 0 80px}.create-workspace,.stories-workspace{min-height:calc(100vh - 72px);border-top:1px solid rgba(96,165,250,.14);background:radial-gradient(circle at 50% 0,rgba(59,130,246,.12),transparent 36%),linear-gradient(180deg,rgba(30,41,59,.58),rgba(15,23,42,.88));box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}.page-title{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:38px}.page-title h1{font-size:clamp(32px,5vw,48px)}.page-title p{margin:10px 0 0;line-height:1.65}.stories-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:24px;gap:24px}.story-card{min-height:430px;overflow:hidden;transition:border .18s ease,transform .18s ease}.story-card:hover{border-color:rgba(59,130,246,.45);transform:translateY(-2px)}.create-story-card{min-height:430px;display:grid;place-items:center;align-content:center;grid-gap:14px;gap:14px;border:1px dashed rgba(96,165,250,.42);background:radial-gradient(circle at 50% 20%,rgba(59,130,246,.18),transparent 42%),rgba(15,23,42,.72);color:var(--foreground);text-align:center;font-size:22px;font-weight:620}.create-story-card:hover{border-color:rgba(96,165,250,.72);background:radial-gradient(circle at 50% 20%,rgba(59,130,246,.26),transparent 44%),rgba(30,41,59,.82)}.create-story-plus{width:54px;height:54px;display:grid;place-items:center;border-radius:50%;background:var(--primary);color:white;font-size:34px;line-height:1;font-weight:420}.story-cover{aspect-ratio:1/1;min-height:0;background:rgba(15,23,42,.62);overflow:hidden}.story-cover img{width:100%;height:100%;object-fit:contain;transition:transform .3s ease}.story-cover-empty{width:100%;height:100%;min-height:180px;display:grid;place-items:center;padding:18px;background:rgba(51,65,85,.35);color:var(--muted-foreground);text-align:center;font-size:14px}.story-card:hover .story-cover img{transform:scale(1.02)}.orders-list{display:grid;grid-gap:18px;gap:18px}.order-card{display:grid;grid-template-columns:168px minmax(0,1fr);grid-gap:20px;gap:20px;border:1px solid var(--border);border-radius:16px;background:radial-gradient(circle at 100% 0,rgba(255,210,73,.08),transparent 32%),rgba(30,41,59,.68);padding:16px;box-shadow:0 18px 44px rgba(0,0,0,.18);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.order-cover{aspect-ratio:1/1;overflow:hidden;border:1px solid rgba(148,163,184,.18);border-radius:12px;background:rgba(15,23,42,.45)}.order-cover img{width:100%;height:100%;object-fit:contain}.order-info{min-width:0;display:flex;flex-direction:column;gap:16px}.order-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.order-heading h2{margin:0;color:var(--foreground);font-size:24px;line-height:1.2}.order-heading p{margin:6px 0 0;color:var(--muted-foreground);line-height:1.45}.order-heading strong{flex:0 0 auto;color:var(--primary);font-size:22px}.order-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:8px 16px;gap:8px 16px}.order-details p{margin:0;color:var(--muted-foreground);line-height:1.45}.order-details span{color:var(--foreground);font-weight:650}.order-tracking-link{color:var(--primary);font-weight:650;text-decoration:underline;text-underline-offset:3px}.profile-card{width:min(100%,640px);display:flex;align-items:center;gap:18px;border:1px solid var(--border);border-radius:16px;background:radial-gradient(circle at 0 0,rgba(255,210,73,.1),transparent 36%),rgba(30,41,59,.68);padding:22px;box-shadow:0 18px 44px rgba(0,0,0,.18);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.profile-avatar{width:62px;height:62px;flex:0 0 auto;border-radius:50%;background:var(--primary);color:#172033;display:grid;place-items:center;font-size:28px;font-weight:800;text-transform:uppercase}.profile-details{display:grid;grid-gap:8px;gap:8px}.profile-details p{margin:0;color:var(--muted-foreground);line-height:1.5}.profile-details span{color:var(--foreground);font-weight:650}.story-body{padding:22px}.story-body p{margin:0 0 10px;line-height:1.55}.story-body p:last-child{margin-bottom:0}.story-body strong{color:var(--foreground);font-weight:600}.empty-state,.error-state{padding:22px;line-height:1.6}.image-error-state{border-color:rgba(248,113,113,.68);background:linear-gradient(135deg,rgba(127,29,29,.82),rgba(30,41,59,.86));color:#fff;box-shadow:0 18px 44px rgba(127,29,29,.22),inset 0 1px 0 rgba(255,255,255,.08);font-weight:650}.auth-error-state{display:grid;justify-items:center;grid-gap:14px;gap:14px;max-width:520px;text-align:center}.auth-error-state p{margin:0}.form-wrap{display:grid;grid-template-columns:minmax(0,.95fr) minmax(320px,.7fr);grid-gap:32px;gap:32px;align-items:start}.create-page{max-width:760px;min-height:calc(100vh - 72px);display:grid;align-content:center;padding-top:28px;padding-bottom:54px}.create-title{display:block;margin-bottom:22px;text-align:center}.create-title h1{font-size:clamp(30px,4vw,42px)}.create-title p{max-width:560px;margin:10px auto 0}.form-wrap-single{max-width:620px;margin:0 auto;grid-template-columns:1fr}.form-panel{display:grid;justify-items:stretch;padding:22px}.create-submit{justify-self:center;margin:4px auto 0}.field{display:grid;grid-gap:7px;gap:7px;margin-bottom:14px}.field label{font-weight:560}.field input,.field textarea{width:100%;border:1px solid var(--border);border-radius:12px;background:var(--input-background);color:var(--foreground);outline:0;min-height:46px;padding:10px 13px}.field textarea{min-height:92px;resize:vertical}.field input:focus,.field textarea:focus{border-color:var(--primary);box-shadow:0 0 0 4px var(--ring)}.upload-box{position:relative;display:grid;place-items:center;min-height:190px;margin-bottom:16px;border:2px dashed rgba(148,163,184,.28);border-radius:18px;background:rgba(30,41,59,.8);cursor:pointer;overflow:hidden;transition:border .18s ease,background .18s ease}.upload-box:hover{border-color:rgba(59,130,246,.55);background:rgba(51,65,85,.55)}.upload-box input{position:absolute;opacity:0;pointer-events:none}.upload-box img{width:100%;height:100%;object-fit:cover}.upload-copy{text-align:center;color:var(--muted-foreground);padding:18px}.upload-copy strong{display:block;color:var(--foreground);margin-bottom:6px}.storybook-workspace{padding:0;border-top:1px solid rgba(96,165,250,.14);border-bottom:1px solid rgba(96,165,250,.12);background:radial-gradient(circle at 50% 0,rgba(59,130,246,.13),transparent 36%),linear-gradient(180deg,rgba(30,41,59,.72),rgba(15,23,42,.9));box-shadow:inset 0 1px 0 rgba(255,255,255,.04),inset 0 -1px 0 rgba(15,23,42,.6)}.viewer-grid{min-height:calc(100vh - 72px);display:grid;grid-template-columns:360px minmax(0,1fr);grid-gap:0;gap:0;align-items:stretch}.viewer-grid-full{grid-template-columns:minmax(0,1fr)}.book-panel{min-height:calc(100vh - 72px);overflow:hidden;border:0;border-radius:0;background:transparent}.checkout-note{position:absolute;top:88px;left:24px;right:24px;z-index:3;border:1px solid rgba(59,130,246,.35);border-radius:12px;background:rgba(30,41,59,.92);color:var(--foreground);padding:12px 14px;text-align:center}.checkout-error{border-color:rgba(239,68,68,.45);background:rgba(127,29,29,.9)}.book-empty{min-height:calc(100vh - 72px);display:grid;place-items:center;align-content:center;grid-gap:14px;gap:14px;padding:48px;text-align:center}.book-empty h1{margin:0;font-size:clamp(28px,4vw,40px);line-height:1.12;font-weight:560}.book-empty p{margin:0;color:var(--muted-foreground);line-height:1.65;max-width:520px}.loading-spinner{width:54px;height:54px;border:4px solid rgba(148,163,184,.22);border-top:4px solid var(--primary);border-radius:999px;animation:spin .9s linear infinite}.storybook-viewer{--viewer-frame-max-height:calc(100svh - 280px);position:relative;min-height:calc(100vh - 72px);display:grid;place-items:center;padding:54px 104px 118px;overflow:hidden}.storybook-image-frame{position:relative;z-index:2;margin:0;display:grid;place-items:center;width:100%;min-width:0;border:1px solid rgba(148,163,184,.2);border-radius:16px;background:radial-gradient(circle at 50% 0,rgba(148,163,184,.12),transparent 42%),linear-gradient(180deg,rgba(30,41,59,.82),rgba(15,23,42,.72));box-shadow:0 28px 90px rgba(0,0,0,.3),inset 0 1px 0 rgba(255,255,255,.05);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);overflow:hidden}.storybook-image-frame img{width:100%;height:100%;object-fit:contain;border-radius:12px;box-shadow:0 24px 70px rgba(0,0,0,.28)}.spread-contain-inner{width:100%;height:100%}.cover-frame{width:min(100%,var(--viewer-frame-max-height),760px);aspect-ratio:1/1}.cover-frame,.spread-frame{max-height:var(--viewer-frame-max-height)}.spread-frame{width:min(100%,calc(var(--viewer-frame-max-height) * 2),1320px);aspect-ratio:2/1}.book-gutter-frame:after{content:"";position:absolute;top:0;bottom:0;left:50%;width:22px;transform:translateX(-50%);pointer-events:none;background:linear-gradient(90deg,rgba(0,0,0,0),rgba(0,0,0,.18) 30%,rgba(0,0,0,.48) 49%,rgba(255,255,255,.12) 52%,rgba(0,0,0,.24) 68%,rgba(0,0,0,0));mix-blend-mode:multiply}.placeholder-frame{gap:12px;align-content:center;justify-items:center;border:1px solid var(--border);color:var(--muted-foreground);text-align:center;padding:24px}.placeholder-frame h2{margin:0;color:var(--foreground);font-size:24px;font-weight:560}.placeholder-frame p{margin:0}.action-blurred{filter:blur(.7px)}.story-arrow{position:absolute;top:50%;z-index:30;width:56px;height:56px;border:1px solid var(--border);border-radius:50%;background:rgba(30,41,59,.82);color:var(--foreground);display:grid;place-items:center;transform:translateY(-50%);cursor:pointer;transition:background .18s ease,opacity .18s ease,transform .18s ease}.story-arrow svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.story-arrow-left svg{transform:rotate(180deg)}.story-arrow:hover{background:rgba(51,65,85,.95);transform:translateY(-50%) scale(1.04)}.story-arrow:disabled{opacity:.3;cursor:not-allowed;transform:translateY(-50%)}.story-arrow-left{left:28px}.story-arrow-right{right:28px}.mobile-reader-controls,.reader-tap-zone{display:none}.page-edit-bar{position:absolute;top:12px;right:12px;z-index:40;display:flex;align-items:center;justify-content:center;pointer-events:auto}.btn-secondary-small{width:40px;height:40px;min-height:40px;border:1px solid var(--border);border-radius:999px;background:rgba(30,41,59,.82);padding:0;color:var(--foreground);box-shadow:0 14px 34px rgba(0,0,0,.22);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.btn-secondary-small svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.revision-panel{position:absolute;right:28px;top:28px;z-index:4;width:min(420px,calc(100vw - 56px));display:grid;grid-gap:10px;gap:10px;border:1px solid var(--border);border-radius:14px;background:rgba(15,23,42,.94);box-shadow:0 24px 60px rgba(0,0,0,.28);padding:14px}.revision-panel label{font-weight:560}.revision-help{margin:-2px 0 2px;color:var(--muted-foreground);font-size:14px;line-height:1.5}.revision-panel textarea{width:100%;min-height:96px;border:1px solid var(--border);border-radius:12px;background:var(--input-background);color:var(--foreground);padding:10px 12px;resize:vertical;outline:0}.revision-panel textarea:focus{border-color:var(--primary);box-shadow:0 0 0 4px var(--ring)}.revision-error{margin:0;color:#fecaca;font-size:14px;line-height:1.45}.revision-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.purchase-footer{position:-webkit-sticky;position:sticky;bottom:0;z-index:18;border-top:1px solid rgba(96,165,250,.2);background:linear-gradient(180deg,rgba(15,23,42,0),rgba(15,23,42,.95) 22%),rgba(37,99,235,.12);padding:16px 24px max(16px,env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.purchase-footer-inner{width:min(100%,720px);margin:0 auto;display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.modal-backdrop{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 50% 45%,rgba(59,130,246,.12),transparent 34%),rgba(2,6,23,.78);backdrop-filter:none;-webkit-backdrop-filter:none}.checkout-modal{position:relative;width:min(100%,520px);border:1px solid rgba(96,165,250,.24);border-radius:20px;background:radial-gradient(circle at 50% 0,rgba(59,130,246,.18),transparent 44%),rgba(15,23,42,.96);box-shadow:0 30px 90px rgba(0,0,0,.42);padding:28px}.checkout-modal h2{margin:0 42px 12px 0;font-size:clamp(26px,4vw,34px);line-height:1.12;font-weight:650}.checkout-modal p{margin:0;color:var(--muted-foreground);line-height:1.55}.checkout-modal-lead{font-size:17px}.checkout-modal-buckets{display:grid;grid-template-columns:1fr;grid-gap:12px;gap:12px;margin:20px 0}.checkout-bucket{display:grid;grid-gap:6px;gap:6px;align-content:start;border:1px solid rgba(148,163,184,.16);border-radius:14px;background:rgba(30,41,59,.72);padding:14px}.checkout-bucket span{color:var(--muted-foreground);font-size:13px;line-height:1.25}.checkout-bucket strong{color:var(--foreground);font-size:18px;line-height:1.2}.checkout-bucket p{font-size:14px;line-height:1.45}.modal-close{position:absolute;top:16px;right:16px;width:36px;height:36px;border:1px solid rgba(148,163,184,.18);border-radius:999px;background:rgba(30,41,59,.75);color:var(--foreground);font-size:26px;line-height:1;cursor:pointer}.modal-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.modal-actions-center{justify-content:center}.validation-backdrop{z-index:10000}.validation-modal{width:min(100%,420px);display:grid;justify-items:center;text-align:center;grid-gap:14px;gap:14px}.validation-modal h2{margin:0}.validation-error-modal{width:min(100%,480px);border-color:rgba(248,113,113,.42);padding:30px}.validation-error-modal h2{margin-right:44px;font-size:clamp(30px,4.5vw,42px);line-height:1.12}.validation-error-modal .checkout-modal-lead{margin-top:14px;font-size:18px;line-height:1.55}.validation-error-modal .modal-actions{margin-top:22px}.validation-error-modal .btn{width:auto;min-width:220px}@keyframes spin{to{transform:rotate(1turn)}}.small-muted{font-size:14px;line-height:1.55}@media (max-width:980px){.form-wrap,.hero-grid,.viewer-grid{grid-template-columns:1fr}.hero-grid{padding:64px 0 80px}.book-grid,.hero-art{min-height:440px}.stories-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.checkout-note{position:static;margin:16px}.storybook-viewer{min-height:70vh;padding:64px 72px 72px}.cover-frame,.spread-frame{max-height:56vh}}@media (max-width:680px){.landing-nav{position:-webkit-sticky;position:sticky;top:0;z-index:60;border-bottom:1px solid rgba(148,163,184,.16);background:rgba(15,23,42,.86);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.landing-page .nav-inner{padding:10px 0}.landing-page .brand-logo{width:112px;height:64px}.landing-page .mobile-actions-menu summary{background:rgba(30,41,59,.82)}.landing-page .hero-grid{display:grid;grid-gap:30px;gap:30px;padding:42px 0 64px}.landing-page .hero-images-wrap{width:100%}.landing-page .hero-images{width:100%;max-width:none;aspect-ratio:4/4.7}.landing-page .image-glow{display:block;inset:8%;opacity:.7}.landing-page .hero-main-image-card{position:relative;height:100%;border:1px solid rgba(255,210,73,.16);border-radius:22px;box-shadow:0 24px 60px rgba(0,0,0,.28)}.landing-page .hero-copy{align-items:center;gap:24px;max-width:none;text-align:center}.landing-page .hero-title-group{align-items:center;gap:0}.landing-page h1{font-size:31px;line-height:1.16;font-weight:760}.landing-page h1 span{margin-top:0}.landing-page .create-story-button{width:min(100%,340px);justify-content:center}.container{width:min(100% - 32px,1120px)}.page-title{align-items:stretch;flex-direction:column}.page-title .btn,.top-actions .btn{width:100%}.topbar-inner{align-items:center;flex-direction:row}.mobile-actions-menu summary{width:42px;height:42px;gap:3px}.mobile-actions-menu summary span{width:17px}.mobile-actions-menu .top-actions{min-width:220px;gap:8px}.hero-proof,.stories-grid{grid-template-columns:1fr}.stories-title{margin-bottom:20px}.stories-title h1{font-size:32px}.order-card{grid-template-columns:108px minmax(0,1fr);gap:14px;padding:12px}.order-heading{flex-direction:column;gap:8px}.order-heading h2{font-size:19px}.order-heading strong{font-size:18px}.order-details{grid-template-columns:1fr;font-size:14px}.profile-card{align-items:flex-start;flex-direction:column}.create-story-card{min-height:128px;gap:10px;font-size:19px}.create-story-plus{width:42px;height:42px;font-size:28px}.book-grid,.hero-art{min-height:360px}.book-column.offset{padding-top:42px}.section{padding:58px 0}.storybook-viewer{padding:56px 20px 96px}.page-edit-bar{top:10px;right:10px}.purchase-footer{padding:12px 16px max(12px,env(safe-area-inset-bottom))}.purchase-footer-inner,.purchase-footer-inner .btn{width:100%}.modal-backdrop{padding:16px}.checkout-modal{padding:22px}.checkout-modal-buckets{grid-template-columns:1fr}.modal-actions,.modal-actions .btn{width:100%}.reader-tap-zone,.storybook-viewer .story-arrow{display:none}.cover-frame{width:min(calc(100vw - 32px),calc(100svh - 200px));height:min(calc(100vw - 32px),calc(100svh - 200px));max-width:none;max-height:none}.cover-frame img{width:100%;height:100%;object-fit:contain}.spread-frame.book-gutter-frame{max-width:min(100%,calc(100vw - 32px));aspect-ratio:2/1}.spread-contain-inner{width:100%;height:100%;transition:transform .22s ease}.spread-contain-inner,.spread-frame.book-gutter-frame.mobile-spread-right .spread-contain-inner{transform:translateX(0)}.spread-contain-inner img{width:100%;height:100%;object-fit:contain}.book-gutter-frame:after{left:50%;width:18px}.book-gutter-frame.mobile-spread-right:after{left:50%}.mobile-reader-controls{z-index:12;width:min(100%,420px);margin-top:16px;display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px}.mobile-reader-button{min-height:48px;border:1px solid rgba(148,163,184,.22);border-radius:999px;background:linear-gradient(180deg,rgba(30,41,59,.92),rgba(15,23,42,.88));color:var(--foreground);display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:15px;font-weight:650;cursor:pointer;box-shadow:0 16px 36px rgba(0,0,0,.22)}.mobile-reader-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.mobile-reader-button-previous svg{transform:rotate(180deg)}.mobile-reader-button:disabled{opacity:.38;cursor:not-allowed}.story-arrow-left{left:10px}.story-arrow-right{right:10px}}