:root{--bg:#e7d8c6;--paper:#f6eee3;--panel:#efe3d3;--soft:#d9c2aa;--ink:#38291f;--muted:#604c3c;--accent:#79503b;--accent-hover:#613c29;--line:#b49b83;--error:#a12526;--success:#36583b;--shadow:0 18px 50px #583a2112;--serif:Georgia,'Times New Roman',serif;--radius:22px;color-scheme:light}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:28px}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.65 'Segoe UI',Arial,sans-serif}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:5px}button,input,textarea,select{font:inherit}button{cursor:pointer}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #79503b;outline-offset:4px}button:disabled{cursor:not-allowed;background:#ded2c4!important;color:#625142!important;border-color:#b5a18e!important;box-shadow:none!important}button:not(:disabled):active{transform:translateY(1px)}[hidden]{display:none!important}img{max-width:100%;display:block}h1,h2,h3,p{margin-top:0}h1,h2{font-family:var(--serif);font-weight:400;letter-spacing:-1.5px;line-height:1.12;text-wrap:balance}h1{font-size:clamp(43px,4.7vw,74px)}h2{font-size:clamp(34px,3.2vw,49px)}h3{line-height:1.35;font-weight:600}p{margin-bottom:18px}.shell{width:min(1280px,calc(100% - 100px));margin:auto}.site-header{height:108px;display:flex;align-items:center;justify-content:space-between;gap:26px;border-bottom:1px solid #b49b835c}.brand{display:inline-flex;align-items:center;gap:12px;flex-shrink:0}.brand:hover{text-decoration:none}.brand-mark{width:37px;height:40px;color:var(--accent)}.brand strong{display:block;font:600 24px/1.1 var(--serif);letter-spacing:-.8px}.brand small{display:block;font-size:9px;letter-spacing:1.7px;text-transform:uppercase;margin-top:7px;color:var(--muted)}.header-nav{display:flex;gap:28px;font-size:13px;color:var(--muted)}.header-actions{display:flex;align-items:center;gap:14px}.button{display:inline-flex;align-items:center;justify-content:center;gap:19px;border:1px solid var(--accent);background:var(--accent);color:#fff6ea;border-radius:40px;padding:14px 23px;font-size:13px;font-weight:600;line-height:1.4;text-align:center;transition:background .18s,border-color .18s,box-shadow .18s}.button:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover);text-decoration:none;box-shadow:0 5px 16px #583a2114}.button.outline{background:transparent;color:var(--accent)}.button.outline:hover:not(:disabled){background:#79503b0c}.button.light{background:var(--paper);color:var(--ink);border-color:var(--paper)}.button.small{padding:10px 17px;font-size:12px}.button.danger{color:var(--error);border-color:#bc7370;background:transparent}.text-button{padding:4px 0;background:none;border:0;color:var(--accent);font-size:13px;text-decoration:underline;text-underline-offset:5px}.icon-button{display:inline-grid;place-items:center;width:38px;height:38px;border:1px solid transparent;background:transparent;border-radius:50%;font-size:24px;line-height:1}.icon-button:hover{background:#79503b12;border-color:#b49b8370}.eyebrow{font-size:10px;font-weight:600;letter-spacing:2px;text-transform:uppercase;color:var(--accent);display:flex;gap:11px;align-items:center;margin:0 0 22px}.eyebrow:before{content:'';width:24px;height:1px;background:currentColor}.hero{display:grid;grid-template-columns:1.04fr 1fr;gap:60px;align-items:center;padding:62px 0 73px}.hero h1{margin:0 0 25px}.hero h1 em{font-style:italic;color:var(--accent)}.hero-intro{max-width:475px;font-size:16px;color:var(--muted);line-height:1.85;margin-bottom:30px}.hero-actions{display:flex;gap:23px;flex-wrap:wrap;align-items:center}.hero-under{font-size:11px;color:var(--muted);margin:16px 0 0}.hero-under b{margin:0 7px;font-weight:400}.hero-visual{position:relative;min-width:0;padding:0 0 22px}.hero-art{aspect-ratio:1/1.04;border:1px solid #b49b8370;border-radius:47% 47% 23px 23px;overflow:hidden;background:radial-gradient(ellipse at 50% 40%,#f4e6d6 0,#e0c5aa 70%);box-shadow:var(--shadow);position:relative}.hero-art>img{width:100%;height:100%;object-fit:cover;mix-blend-mode:multiply}.hero-label{position:absolute;bottom:0;left:-24px;max-width:260px;padding:21px 25px 19px;background:var(--paper);border:1px solid #c1a78c85;box-shadow:0 12px 30px #5f40251a;border-radius:5px 13px 13px 5px;transform:rotate(-3deg)}.hero-label strong{display:block;font:italic 24px/1.2 var(--serif);margin-bottom:6px}.hero-label small{font-size:10px;color:var(--muted);display:block;line-height:1.6}.hero-circle{position:absolute;top:10px;right:-12px;background:var(--paper);border:1px solid var(--line);width:85px;height:85px;border-radius:50%;display:grid;place-content:center;font:italic 19px/1.1 var(--serif);text-align:center;transform:rotate(12deg);color:var(--accent)}.section{padding:68px 0}.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:35px;margin-bottom:33px}.section-head h2{margin:0;max-width:650px}.section-head>p{font-size:14px;line-height:1.8;max-width:350px;color:var(--muted);margin:0}.section-head .eyebrow{margin-bottom:16px}.ages-section{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:44px 0}.ages{display:grid;grid-template-columns:repeat(5,1fr);margin-top:35px}.age{padding:0 24px;border-left:1px solid var(--line)}.age:first-child{border:0;padding-left:0}.age:last-child{padding-right:0}.age-number{font:43px/1.1 var(--serif);color:var(--accent);letter-spacing:-2px}.age-number small{font:11px 'Segoe UI',sans-serif;letter-spacing:0;margin-left:6px;color:var(--muted)}.age h3{font-size:14px;margin:17px 0 8px}.age p{font-size:12px;line-height:1.8;color:var(--muted);margin:0}.formats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.format-card{background:var(--panel);border:1px solid #b49b83ad;border-radius:var(--radius);padding:28px;display:flex;flex-direction:column;min-width:0;transition:transform .2s,box-shadow .2s}.format-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.format-card:nth-child(2){background:#dec8b1}.format-card:nth-child(3){background:#eadac8}.card-top{display:flex;align-items:center;justify-content:space-between;gap:15px;color:var(--accent);font-size:10px;letter-spacing:1.6px;text-transform:uppercase}.line-icon{width:37px;height:37px;flex-shrink:0}.format-card h3{font:29px/1.2 var(--serif);letter-spacing:-.6px;margin:27px 0 12px}.format-card p{font-size:13px;color:var(--muted);line-height:1.8;flex:1}.format-card .text-button{align-self:flex-start}.format-fragment{margin:19px 0 23px;border-top:1px solid #b49b83a0;padding:21px 0 0;font:italic 18px/1.6 var(--serif);color:#674934;min-height:80px}.leia-section{padding:16px 0 69px;display:grid;grid-template-columns:.93fr 1.07fr;gap:80px;align-items:center}.leia-scene{position:relative;padding:10px 35px 0 0}.leia-scene>img{width:100%;max-height:430px;object-fit:contain;mix-blend-mode:multiply;border-radius:36px}.leia-sticker{position:absolute;bottom:5px;right:0;background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:18px 21px;max-width:230px;font-size:13px;box-shadow:var(--shadow)}.leia-sticker:before{content:'“';display:block;font:42px/.7 var(--serif);color:#a37651;margin-bottom:9px}.leia-copy h2{max-width:450px}.leia-copy p{color:var(--muted);font-size:14px;max-width:480px}.feature-list{list-style:none;padding:0;margin:25px 0}.feature-list li{padding:10px 0;border-bottom:1px solid #b49b836e;font-size:13px;color:var(--muted)}.feature-list li:before{content:'↗';color:var(--accent);margin-right:13px}.status-pill{display:inline-flex;align-items:center;gap:7px;border:1px solid #b49b83;background:#f5eadc99;border-radius:30px;padding:5px 10px;color:var(--muted);font-size:10px;line-height:1.5}.status-pill:before{content:'';width:5px;height:5px;border-radius:50%;background:#927459}.styles-band{background:#dcc5ad;border:1px solid #bea085;border-radius:var(--radius);padding:34px;display:flex;gap:40px;align-items:center;margin-bottom:65px}.styles-band h3{font:27px/1.25 var(--serif);margin-bottom:10px}.styles-band p{font-size:12px;color:var(--muted);margin:0;max-width:370px}.style-pills{display:flex;flex-wrap:wrap;gap:9px;flex:1}.style-pill{font-size:12px;padding:9px 15px;background:#f3e7d6;border:1px solid #b89b7f;border-radius:25px}.style-pill:nth-child(3n+2){background:#e7d3bd}.pricing{padding-top:0}.tariffs{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.tariff{border:1px solid var(--line);background:#efe2d1;border-radius:20px;padding:25px 23px;display:flex;flex-direction:column;position:relative}.tariff.featured{background:#79503b;color:#fff2e3;border-color:#79503b;box-shadow:0 12px 30px #79503b1f}.tariff-tag{font-size:9px;letter-spacing:1.2px;text-transform:uppercase;min-height:18px;color:var(--muted)}.featured .tariff.featured .tariff-tag,.tariff.featured .tariff-period,.tariff.featured li,.tariff.featured .tariff-foot{color:#fff2e3}.tariff h3{font:25px/1.2 var(--serif);margin:17px 0 16px}.tariff-price{font-size:35px;letter-spacing:-1.5px;line-height:1.2}.tariff-period{font-size:11px;color:var(--muted);margin:5px 0 22px}.tariff ul{list-style:none;padding:0;margin:0 0 23px;flex:1}.tariff li{position:relative;padding-left:14px;margin-bottom:11px;font-size:12px;line-height:1.65;color:var(--muted)}.tariff li:before{content:'·';position:absolute;left:0;font-size:23px;line-height:18px}.tariff .button{width:100%;font-size:11px;padding:12px 9px;gap:8px}.tariff-foot{font-size:9px;color:var(--muted);margin:13px 0 0;line-height:1.65;min-height:30px}.pricing-note{font-size:11px;color:var(--muted);margin:22px 0 0;max-width:950px;line-height:1.8}.steps-section{display:grid;grid-template-columns:.85fr 1.15fr;gap:80px;padding-top:15px}.steps-section h2{max-width:370px}.step{display:flex;gap:24px;padding:24px 0;border-top:1px solid var(--line)}.step>span{font-size:11px;color:var(--accent);padding-top:4px}.step h3{font-size:17px;margin:0 0 7px}.step p{color:var(--muted);font-size:13px;margin:0}.library-preview{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:35px;display:flex;justify-content:space-between;gap:35px;align-items:center}.library-preview h2{font-size:34px;margin-bottom:13px}.library-preview p{font-size:13px;color:var(--muted);max-width:650px;margin:0}.final-invitation{display:flex;align-items:center;gap:30px;padding:60px 0}.final-invitation img{width:115px;height:115px;object-fit:cover;object-position:50% 20%;border-radius:50%;border:1px solid #b49b83;mix-blend-mode:multiply}.final-invitation>div{flex:1}.final-invitation h2{font-size:38px;margin-bottom:10px}.final-invitation p{font-size:13px;color:var(--muted);margin:0}.site-footer{border-top:1px solid var(--line);padding:28px 0 35px;display:flex;justify-content:space-between;gap:35px;font-size:11px;color:var(--muted)}.site-footer>div:first-child{max-width:430px}.footer-links{display:flex;gap:22px;flex-wrap:wrap;align-content:start}.site-footer small{display:block;font-size:10px;margin-top:8px}.prototype-banner{background:#dfc7ac;color:#5a3a26;padding:11px 22px;font-size:11px;text-align:center;border-bottom:1px solid #b49b8370}.prototype-banner a{text-decoration:underline}.chat-launcher{position:fixed;right:26px;bottom:22px;z-index:35;border:1px solid #a7886b;background:#f6eee3;color:var(--ink);border-radius:50px;display:flex;align-items:center;gap:11px;padding:6px 16px 6px 7px;box-shadow:0 7px 30px #4c332328}.chat-launcher img{width:45px;height:45px;border-radius:50%;object-fit:cover;object-position:50% 19%}.chat-launcher span:not(.chat-launcher-arrow){text-align:left}.chat-launcher strong{display:block;font-size:12px}.chat-launcher small{display:block;font-size:9px;color:var(--muted)}.chat-launcher-arrow{font-size:20px;margin-left:8px}.leia-chat{position:fixed;z-index:39;right:25px;bottom:92px;background:var(--paper);border:1px solid #ae8c6d;border-radius:21px;width:370px;max-height:min(650px,calc(100dvh - 120px));box-shadow:0 20px 65px #4b302833;display:flex;flex-direction:column;overflow:hidden}.chat-header{display:flex;align-items:center;padding:17px 19px;background:#e7d4bd;gap:12px;border-bottom:1px solid #baa189}.chat-header img{width:43px;height:43px;object-fit:cover;object-position:50% 20%;border-radius:50%}.chat-header>div{flex:1}.chat-header strong{display:block;font-size:13px}.chat-header small{display:block;font-size:10px;color:var(--muted)}.chat-body{padding:20px;overflow:auto;overscroll-behavior:contain}.chat-bubble{border-radius:14px 14px 14px 3px;background:#eaddcb;padding:14px 16px;font-size:12px;line-height:1.8;margin-bottom:14px}.faq-options{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:17px}.faq-options button{border:1px solid #b49b83;background:transparent;border-radius:20px;padding:7px 11px;font-size:10px}.faq-options button:hover{background:#eaddcb}.chat-support textarea{min-height:80px!important;font-size:12px}.chat-support .button{margin-top:10px}.chat-disclaimer{font-size:9px;color:var(--muted);margin:13px 0 0}.toast{position:fixed;left:50%;bottom:27px;transform:translateX(-50%);z-index:90;max-width:min(540px,calc(100% - 40px));padding:14px 21px;border:1px solid #b4987e;background:#3d2c21;color:#fff3e4;border-radius:15px;font-size:13px;box-shadow:var(--shadow)}.skip-link{position:fixed;left:20px;top:-100px;background:var(--ink);color:var(--paper);z-index:150;padding:10px 15px;border-radius:8px}.skip-link:focus{top:10px}.dialog-layer{position:fixed;inset:0;background:#3020169c;backdrop-filter:blur(5px);z-index:70;display:grid;place-items:center;padding:24px;overflow:auto}.dialog{background:var(--paper);border:1px solid #a98a6c;border-radius:24px;box-shadow:0 25px 90px #2f1d2740;width:min(570px,100%);max-height:calc(100dvh - 48px);overflow:auto;position:relative;padding:35px}.dialog.wide{width:min(860px,100%)}.dialog>.close-dialog{position:absolute;top:15px;right:14px}.dialog h2{font-size:35px;margin:6px 30px 14px 0}.dialog p{font-size:13px;color:var(--muted)}.dialog .eyebrow{margin-bottom:20px}.dialog .dialog-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:23px}.field{display:block;margin:18px 0 0}.field>span,.field-label{display:block;font-size:12px;font-weight:600;margin-bottom:7px}.field small{display:block;font-size:10px;color:var(--muted);margin-top:6px}.input,textarea,select{display:block;border:1px solid #aa8f75;background:#fff9f0;color:var(--ink);border-radius:10px;padding:11px 13px;width:100%;font-size:14px;line-height:1.6}.input::placeholder,textarea::placeholder{color:#806b58;opacity:1}textarea{resize:vertical;min-height:110px}input[aria-invalid=true],textarea[aria-invalid=true]{border-color:var(--error);box-shadow:0 0 0 1px var(--error)}.input:disabled,textarea:disabled,select:disabled{background:#e1d3c1;color:#695646}.error{color:var(--error)!important;font-size:12px;margin:13px 0 0;line-height:1.7}.success{color:var(--success)!important;font-size:12px;line-height:1.7}.muted{color:var(--muted)}.tiny{font-size:10px!important;line-height:1.75}.check-row{display:flex;gap:10px;align-items:flex-start;font-size:11px;color:var(--muted);margin-top:16px;line-height:1.75}.check-row input{accent-color:var(--accent);width:16px;height:16px;flex-shrink:0;margin-top:3px}.choice-list{display:grid;gap:9px;margin-top:15px}.choice{display:flex;align-items:flex-start;gap:11px;padding:14px;border:1px solid #baa18b;border-radius:12px;background:#f3e8da;cursor:pointer}.choice:has(input:checked){border-color:var(--accent);background:#e8d5bf;box-shadow:0 0 0 1px var(--accent)}.choice input{accent-color:var(--accent);margin:5px 0 0}.choice strong{font-size:13px;display:block}.choice small{font-size:11px;color:var(--muted);display:block;margin-top:3px}.otp-input{font-size:29px;letter-spacing:10px;text-align:center;font-variant-numeric:tabular-nums;padding:14px 12px}.otp-email{overflow-wrap:anywhere;color:var(--ink)!important}.auth-leia{width:85px;height:85px;object-fit:cover;object-position:50% 18%;border-radius:50%;border:1px solid var(--line);margin:0 0 20px}.empty-state{text-align:center;border:1px dashed #ad9176;border-radius:20px;padding:50px 25px;background:#f0e3d185}.empty-state img{width:130px;height:130px;object-fit:cover;object-position:50% 17%;border-radius:50%;margin:0 auto 23px;mix-blend-mode:multiply}.empty-state h2{font-size:31px;margin-bottom:14px}.empty-state p{max-width:440px;margin:0 auto 23px;font-size:13px;color:var(--muted)}.cabinet-header{height:85px}.cabinet-header .brand strong{font-size:22px}.account-chip{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:var(--muted);padding:9px 13px;background:#f3e7d6;border:1px solid #baa18b;border-radius:30px}.app-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:40px;padding:35px 0 70px;min-height:calc(100dvh - 85px)}.app-sidebar{border-right:1px solid var(--line);padding-right:25px;display:flex;flex-direction:column;gap:30px}.side-nav{display:flex;flex-direction:column;gap:7px}.side-nav a{display:flex;gap:12px;align-items:center;padding:11px 13px;font-size:13px;border-radius:10px;color:var(--muted)}.side-nav a[aria-current=page]{color:var(--ink);background:#d6bda3;font-weight:600}.side-nav a:hover{background:#decab3;text-decoration:none}.side-nav svg{width:18px;height:18px}.sidebar-note{padding:17px 15px;background:#f1e5d5;border:1px solid #b49b8380;border-radius:15px;font-size:11px;color:var(--muted)}.sidebar-note img{width:70px;height:70px;border-radius:50%;object-fit:cover;object-position:50% 18%;margin-bottom:13px;mix-blend-mode:multiply}.sidebar-note strong{display:block;margin-bottom:6px;color:var(--ink)}.sidebar-bottom{margin-top:auto;font-size:10px;color:var(--muted)}.app-main{min-width:0}.page-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:6px 0 30px}.page-top h1{font-size:39px;margin:0 0 10px}.page-top p{font-size:13px;color:var(--muted);margin:0}.notice{border:1px solid #b99b7c;background:#ead4b9;color:#63432e;border-radius:12px;padding:13px 17px;font-size:11px;line-height:1.8;margin-bottom:24px}.notice>strong{font-weight:600}.book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}.book-card{background:#f0e4d4;border:1px solid #b49b83a3;border-radius:18px;padding:20px;display:flex;flex-direction:column;min-width:0}.book-card-link{flex:1}.book-card-link:hover{text-decoration:none}.book-card:hover{box-shadow:var(--shadow);border-color:#957458}.book-card .book-cover{margin:4px auto 22px;width:150px;min-height:205px}.book-card h3{font:22px/1.3 var(--serif);margin:0 0 8px;overflow-wrap:anywhere}.book-meta{color:var(--muted);font-size:10px;line-height:1.8;margin:0 0 15px}.book-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid #b49b8380;padding-top:13px;font-size:10px;color:var(--muted)}.book-cover{--cover-color:#866249;position:relative;display:flex;flex-direction:column;justify-content:space-between;padding:24px 20px 19px;min-height:280px;aspect-ratio:0.72;background:var(--cover-color);border-radius:3px 12px 12px 3px;border-left:7px solid #35251a45;box-shadow:7px 8px 18px #412a2021;color:#fff9ee;overflow:hidden}.book-cover:after{content:'';position:absolute;inset:10px 9px 10px 6px;border:1px solid #fff5dd54;pointer-events:none}.book-cover .cover-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.7;filter:brightness(.55)}.book-cover>small,.book-cover>strong,.book-cover>.cover-format{position:relative;z-index:1;text-shadow:0 1px 7px #241a1666;overflow-wrap:anywhere}.book-cover>small{font-size:9px;letter-spacing:1px;text-transform:uppercase}.book-cover>strong{font:27px/1.2 var(--serif);font-weight:400;max-width:100%;margin:24px 0}.book-cover>.cover-format{font-size:8px;letter-spacing:1.3px;text-transform:uppercase}.book-card .book-cover>strong{font-size:21px}.editor-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}.editor-header-left{display:flex;align-items:center;gap:15px;min-width:0}.back-link{font-size:23px;color:var(--accent)}.editor-header h1{font:30px/1.3 var(--serif);margin:0;overflow-wrap:anywhere}.editor-save{font-size:10px;color:var(--muted);white-space:nowrap}.editor-save[data-state=error]{color:var(--error)}.editor-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.editor-toolbar .button{padding:9px 13px;font-size:10px;gap:6px}.editor-layout{display:grid;grid-template-columns:175px minmax(0,1fr);gap:20px;align-items:start}.chapter-nav{border:1px solid #b49b83a0;background:#ede0cd;border-radius:14px;padding:8px;min-width:0}.chapter-nav button{display:block;width:100%;background:none;border:1px solid transparent;text-align:left;border-radius:8px;padding:10px;font-size:11px;color:var(--muted);overflow-wrap:anywhere;line-height:1.6}.chapter-nav button:hover{background:#e3cfb5}.chapter-nav button.active{background:#f9f0e4;border-color:#b49b83a0;color:var(--ink);font-weight:600}.chapter-nav .add-section{color:var(--accent);border-top:1px solid #b49b8380;border-radius:0;margin-top:8px;padding-top:16px}.chapter-label{font-size:9px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);padding:13px 10px 5px}.editor-paper{background:#fbf5eb;border:1px solid #c1a98f;border-radius:13px;box-shadow:0 8px 30px #6042250a;padding:30px;min-height:525px;min-width:0}.editor-paper .field{margin-top:0;margin-bottom:20px}.editor-paper .input{background:#fffaf3}.editor-paper textarea.prose{font:17px/1.95 var(--serif);min-height:340px;border-color:#d0bda8;background:#fffaf3;padding:19px;tab-size:4}.editor-paper h2{font-size:29px;margin-bottom:10px}.editor-tip{color:var(--muted);font-size:11px;line-height:1.8;border-left:2px solid #be9a75;padding-left:13px;margin:0 0 22px}.editor-tip b{color:var(--accent);font-weight:600}.editor-counter{font-size:10px;color:var(--muted);text-align:right;margin-top:10px}.editor-bottom{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-top:20px;font-size:10px;color:var(--muted)}.cover-editor{display:grid;grid-template-columns:185px minmax(0,1fr);gap:25px;align-items:start}.cover-editor .book-cover{min-height:260px}.cover-colors{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0 18px}.color-dot{width:31px;height:31px;border:2px solid transparent;border-radius:50%;background:var(--color);box-shadow:inset 0 0 0 1px #271a1650}.color-dot[aria-pressed=true]{outline:2px solid #79503b;outline-offset:3px;border-color:var(--paper)}.upload-label{display:block;border:1px dashed #ad9176;border-radius:11px;padding:19px 13px;font-size:11px;text-align:center;color:var(--muted);cursor:pointer;background:#f2e7d8}.upload-label:hover{background:#eaddcb}.upload-label input{display:block;font-size:10px;margin-top:10px;width:100%}.read-book{font:17px/1.95 var(--serif);max-width:650px;margin:auto;color:#3f3024}.read-book h2{text-align:center;font-size:36px;margin:35px 0 15px}.read-book h3{font:27px/1.4 var(--serif);margin:35px 0 18px}.read-book p{white-space:pre-wrap;overflow-wrap:anywhere}.read-book .book-cover{max-width:240px;margin:10px auto 40px}.read-book .reader-author{text-align:center;font-size:13px;color:var(--muted)}.export-options{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:20px 0}.export-options label{display:flex;align-items:center;gap:12px;padding:15px;border:1px solid #b49b83;background:#f1e4d2;border-radius:12px;font-size:13px}.export-options input{accent-color:var(--accent)}.export-options small{display:block;color:var(--muted);font-size:10px}.settings-card{border:1px solid #b49b83a0;border-radius:18px;background:#f0e4d4;padding:27px;margin-bottom:20px;max-width:750px}.settings-card h2{font-size:27px;margin-bottom:15px}.settings-card p{font-size:13px;color:var(--muted)}.settings-card .settings-email{color:var(--ink);font-size:16px;overflow-wrap:anywhere}.loading-state{padding:80px 20px;text-align:center;color:var(--muted);font-size:13px}.loading-state:before{content:'';display:block;margin:0 auto 20px;width:23px;height:23px;border:2px solid #b49b83;border-top-color:var(--accent);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.noscript{padding:25px;background:var(--paper)}
@media(min-width:1550px){.hero{gap:95px;padding-top:75px}.hero-art{max-height:560px}.hero-intro{font-size:17px}}
@media(max-width:1180px){.shell{width:calc(100% - 64px)}.header-nav{gap:18px}.hero{gap:38px}.tariff{padding:23px 17px}.tariff h3{font-size:23px}.hero-circle{right:-8px}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-layout{grid-template-columns:185px minmax(0,1fr);gap:25px}.app-sidebar{padding-right:18px}.editor-layout{grid-template-columns:150px minmax(0,1fr);gap:14px}.editor-paper{padding:23px}.cover-editor{grid-template-columns:145px minmax(0,1fr);gap:18px}.cover-editor .book-cover{min-height:230px}.leia-section{gap:40px}.format-card{padding:23px}}
@media(max-width:940px){.header-nav{display:none}.hero h1{font-size:53px}.hero{gap:30px;padding-top:45px}.hero-intro{font-size:14px}.hero-label{max-width:215px;left:-14px;padding:17px 20px}.hero-label strong{font-size:21px}.hero-circle{width:68px;height:68px;font-size:16px}.section-head{align-items:start}.section-head>p{max-width:285px}.age{padding:0 15px}.age h3{font-size:13px}.age p{font-size:11px}.tariffs{grid-template-columns:repeat(2,1fr);gap:18px}.tariff{padding:25px}.tariff ul{min-height:125px}.tariff h3{font-size:28px}.styles-band{gap:25px}.formats{gap:14px}.format-card{padding:20px}.format-card h3{font-size:25px}.format-fragment{font-size:16px}.steps-section{gap:35px}.app-layout{grid-template-columns:1fr;gap:22px;padding-top:19px}.app-sidebar{display:block;border:0;padding:0}.side-nav{flex-direction:row;gap:8px;overflow:auto;white-space:nowrap}.side-nav a{font-size:12px;padding:10px 13px}.sidebar-note,.sidebar-bottom{display:none}.book-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.book-card{padding:17px}.book-card .book-cover{width:130px;min-height:185px}.page-top h1{font-size:36px}.cover-editor{grid-template-columns:175px minmax(0,1fr)}.editor-layout{grid-template-columns:170px minmax(0,1fr)}}
@media(max-width:700px){.shell{width:calc(100% - 38px)}.site-header{height:84px;gap:15px}.brand{gap:9px}.brand-mark{width:29px;height:33px}.brand strong{font-size:22px}.brand small{font-size:8px;letter-spacing:1.1px}.header-actions .button{padding:10px 15px;font-size:11px}.header-actions .account-chip{display:none}.hero{grid-template-columns:1fr;padding:36px 0 46px;gap:36px}.hero h1{font-size:clamp(43px,11vw,65px);letter-spacing:-1.9px;max-width:570px}.hero-intro{font-size:14px;max-width:500px;margin-bottom:25px}.hero .eyebrow{margin-bottom:20px}.hero-actions{gap:20px}.hero-actions .button{padding:14px 19px;font-size:12px}.hero-visual{width:min(420px,calc(100% - 22px));margin:0 auto 0}.hero-art{aspect-ratio:1/1;max-height:430px;border-radius:45% 45% 20px 20px}.hero-label{left:-10px;bottom:3px;max-width:240px}.hero-circle{right:-9px;top:7px;width:72px;height:72px}.section{padding:45px 0}.section-head{display:block;margin-bottom:26px}.section-head h2{font-size:34px}.section-head>p{max-width:100%;margin-top:19px;font-size:13px}.ages-section{padding:32px 0}.ages{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 0;margin-top:27px}.age{padding:0 17px}.age:nth-child(odd){border-left:0;padding-left:0}.age:last-child{grid-column:1/-1;border-top:1px solid #b49b8380;padding-top:20px;display:grid;grid-template-columns:75px 1fr;gap:0 15px}.age:last-child .age-number{grid-row:span 2;align-self:center}.age:last-child h3{margin-top:0}.age-number{font-size:37px}.age h3{font-size:13px;margin-top:12px}.age p{font-size:11px}.formats{grid-template-columns:1fr;gap:16px}.format-card{padding:24px;position:relative}.format-card h3{font-size:31px;margin-top:18px}.format-card p{max-width:440px}.format-fragment{font-size:18px;min-height:0;margin-top:10px;margin-bottom:16px}.leia-section{display:flex;flex-direction:column-reverse;gap:22px;padding-bottom:43px}.leia-copy h2{font-size:36px}.leia-copy p{font-size:13px}.leia-scene{max-width:370px;padding-right:30px}.leia-scene>img{max-height:330px}.leia-sticker{font-size:12px;max-width:205px;padding:15px 18px}.styles-band{display:block;padding:25px;margin-bottom:45px}.styles-band h3{font-size:29px}.styles-band p{max-width:100%;margin-bottom:22px}.style-pills{gap:8px}.style-pill{font-size:11px;padding:8px 13px}.tariffs{grid-template-columns:1fr;gap:15px}.tariff{padding:27px}.tariff h3{font-size:30px;margin:11px 0}.tariff ul{min-height:0;margin-bottom:16px;display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.tariff-price{font-size:38px}.tariff-period{margin-bottom:19px}.tariff .button{font-size:12px;padding:13px}.tariff-foot{min-height:0;font-size:10px}.pricing-note{font-size:10px}.steps-section{grid-template-columns:1fr;gap:15px;padding-top:0}.steps-section h2{max-width:100%;font-size:35px}.step{padding:20px 0;gap:18px}.step h3{font-size:16px}.step p{font-size:12px}.library-preview{padding:25px;display:block}.library-preview h2{font-size:30px}.library-preview p{font-size:12px;margin-bottom:23px}.final-invitation{padding:42px 0;display:grid;grid-template-columns:75px 1fr;gap:20px}.final-invitation img{width:75px;height:75px}.final-invitation h2{font-size:29px}.final-invitation p{font-size:11px}.final-invitation>.button{grid-column:1/-1;justify-self:start}.site-footer{display:block;padding-bottom:100px;font-size:10px}.footer-links{margin-top:20px;gap:17px;font-size:10px}.chat-launcher{right:14px;bottom:13px;padding:5px 13px 5px 6px;gap:8px}.chat-launcher img{width:40px;height:40px}.chat-launcher strong{font-size:11px}.chat-launcher small{font-size:8px}.chat-launcher-arrow{margin-left:5px}.leia-chat{right:12px;bottom:78px;width:min(370px,calc(100% - 24px));max-height:calc(100dvh - 95px)}.dialog-layer{padding:13px}.dialog{padding:28px 23px;max-height:calc(100dvh - 26px);border-radius:20px}.dialog h2{font-size:31px;margin-right:20px}.dialog p{font-size:12px}.dialog .close-dialog{right:9px;top:9px}.toast{bottom:80px;font-size:12px}.prototype-banner{font-size:10px;padding:9px 15px}.cabinet-header{height:78px}.cabinet-header .brand strong{font-size:20px}.cabinet-header .brand small{font-size:7px}.cabinet-header .header-actions{gap:9px}.cabinet-header .button.small{font-size:10px;padding:8px 11px}.app-layout{padding-bottom:110px}.side-nav{gap:5px;padding-bottom:3px}.side-nav a{font-size:11px;padding:9px}.side-nav svg{width:16px;height:16px}.page-top{align-items:flex-start;margin:5px 0 23px}.page-top h1{font-size:32px}.page-top p{font-size:11px}.page-top>.button{font-size:10px;padding:11px 13px;gap:7px;max-width:135px}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.book-card{padding:14px}.book-card .book-cover{width:min(135px,100%);min-height:175px;margin-bottom:18px;padding:19px 14px 15px;border-left-width:5px}.book-card .book-cover>strong{font-size:19px;margin:13px 0}.book-card .book-cover>small{font-size:8px}.book-card .book-cover>.cover-format{font-size:6px}.book-card h3{font-size:20px}.book-meta{font-size:9px}.book-card-bottom{font-size:9px;display:block}.book-card-bottom .text-button{font-size:10px;margin-top:4px}.notice{font-size:10px;padding:12px 14px}.empty-state{padding:35px 20px}.empty-state h2{font-size:29px}.empty-state p{font-size:12px}.editor-header{align-items:flex-start;gap:9px}.editor-header-left{gap:10px}.editor-header h1{font-size:26px}.editor-save{font-size:9px;padding-top:8px;max-width:105px;white-space:normal;text-align:right}.editor-toolbar{gap:7px}.editor-toolbar .button{font-size:9px;padding:8px 10px}.editor-layout{display:block}.chapter-nav{display:flex;overflow:auto;gap:5px;padding:7px;margin-bottom:16px;border-radius:12px;align-items:center}.chapter-nav button{white-space:nowrap;width:auto;flex-shrink:0;max-width:175px;overflow:hidden;text-overflow:ellipsis;font-size:10px;padding:9px}.chapter-nav .chapter-label{display:none}.chapter-nav .add-section{border-top:0;border-left:1px solid #b49b8380;padding:9px 10px;margin:0;border-radius:0}.editor-paper{padding:21px 17px;min-height:470px}.editor-paper h2{font-size:27px}.editor-paper textarea.prose{font-size:16px;line-height:1.85;min-height:310px;padding:15px}.editor-tip{font-size:10px}.editor-bottom{font-size:9px;align-items:flex-start}.cover-editor{display:block}.cover-editor .book-cover{width:175px;margin:5px auto 28px;min-height:245px}.cover-editor .field{margin-top:17px}.export-options{gap:9px}.export-options label{padding:12px;font-size:12px}.export-options small{font-size:9px}.settings-card{padding:23px}.settings-card h2{font-size:25px}.settings-card p{font-size:12px}.read-book{font-size:16px;line-height:1.9}.read-book h2{font-size:31px}.read-book h3{font-size:25px}}
@media(max-width:360px){.shell{width:calc(100% - 30px)}.brand strong{font-size:20px}.brand-mark{width:25px}.header-actions .button{padding:10px 11px}.hero h1{font-size:42px}.hero-label{max-width:200px}.hero-label strong{font-size:20px}.tariff ul{display:block}.book-grid{grid-template-columns:1fr}.book-card .book-cover{width:150px;min-height:205px}.page-top{display:block}.page-top>.button{margin-top:15px;max-width:none}.final-invitation{grid-template-columns:1fr}.final-invitation img{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

@media(max-width:940px){.site-header:not(.cabinet-header){height:auto;min-height:100px;padding:20px 0 14px;flex-wrap:wrap;row-gap:15px}.site-header:not(.cabinet-header) .brand{order:1}.site-header:not(.cabinet-header) .header-actions{order:2;margin-left:auto}.site-header:not(.cabinet-header) .header-nav{display:flex;order:3;flex-basis:100%;justify-content:flex-start;gap:26px;font-size:11px}.site-header:not(.cabinet-header) .header-nav a{padding:3px 0}}

@media(max-width:560px){.chat-launcher{max-width:150px;gap:7px;padding-right:12px}.chat-launcher small,.chat-launcher-arrow{display:none}.chat-launcher strong{font-size:11px}.chat-launcher img{width:35px;height:35px}}

/* Form boundaries remain legible on the lighter coffee palette. */
.input,.prose,.field input:not([type=checkbox]):not([type=radio]):not([type=file]),.field select,.field textarea{border-color:#8c715e}.input:hover,.prose:hover,.field select:hover,.field textarea:hover{border-color:var(--accent)}[aria-invalid=true]{border-color:var(--error)!important}

/* V2: readable tariffs, a calm hero seal and a complete public reading space. */
.tariff .tariff-tag{color:var(--muted)}
.tariff.featured{color:#fff2e3}
.tariff.featured h3,.tariff.featured .tariff-price,.tariff.featured .tariff-tag,.tariff.featured .tariff-period,.tariff.featured li,.tariff.featured .tariff-foot{color:#fff2e3}
.tariff.featured .button.light{background:#f6eee3;color:#38291f;border-color:#f6eee3}
.tariff.featured .button.light:hover:not(:disabled){background:#eadac8;color:#38291f;border-color:#eadac8}
.tariff.featured .button.light:active:not(:disabled){background:#e0c9af;color:#38291f}
.tariff.featured .button.light:focus-visible{outline-color:#fff2e3}
.hero-circle{transform:none;font:19px/1.22 var(--serif);letter-spacing:0;width:88px;height:88px;padding:10px;right:-8px;box-shadow:0 3px 16px #583a2109}
.hero-circle span{display:block;white-space:nowrap}
.mobile-menu{display:none;position:relative}
.mobile-menu summary{list-style:none;cursor:pointer;border:1px solid #79503b;border-radius:30px;display:flex;align-items:center;gap:7px;padding:10px 13px;font-size:12px;color:var(--accent)}
.mobile-menu summary::-webkit-details-marker{display:none}
.mobile-menu summary:focus-visible,.question summary:focus-visible{outline:3px solid #79503b;outline-offset:4px}
.mobile-menu[open] summary{background:#f6eee3}
.mobile-menu nav{position:absolute;right:0;top:calc(100% + 12px);z-index:40;min-width:225px;border:1px solid #8c715e;background:#f6eee3;border-radius:18px;padding:12px;box-shadow:var(--shadow)}
.mobile-menu nav a,.mobile-menu nav button{display:block;width:100%;text-align:left;padding:10px 12px;border-radius:8px;font-size:13px}
.mobile-menu nav a:hover,.mobile-menu nav button:hover{background:#e7d8c6;text-decoration:none}
.section-bottom{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-top:25px}
.section-bottom p,.demo-caption{font-size:11px;line-height:1.8;color:var(--muted)}
.section-bottom p{margin:0}
.section-bottom a{flex-shrink:0}
.examples-preview{padding-top:20px}
.example-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
.example-card{min-width:0;padding:26px 24px 25px;border:1px solid #b49b83;border-radius:22px;background:#efe3d3}
.example-cover-link{display:block;width:min(200px,100%);margin:0 auto 26px;text-decoration:none!important;transition:transform .2s}
.example-cover-link:hover{transform:translateY(-4px) rotate(-1deg)}
.example-cover{aspect-ratio:.69;min-height:245px;padding:25px 24px 20px;border-radius:3px 12px 12px 3px;border-left:7px solid #0002;display:flex;flex-direction:column;color:#fff5e9;background:#655547;box-shadow:6px 8px 0 #79503b14,10px 17px 28px #583a2119;position:relative;overflow:hidden}
.example-cover:after{content:'';position:absolute;width:150px;height:150px;border:1px solid #fff5e933;border-radius:50%;bottom:18px;right:-65px;pointer-events:none}
.example-cover>span{font:9px/1.4 'Segoe UI',sans-serif;letter-spacing:1.4px;text-transform:uppercase}
.example-cover>strong{font:29px/1.17 var(--serif);letter-spacing:-.6px;margin:auto 0 20px;font-weight:400;overflow-wrap:anywhere;z-index:1}
.example-cover>i{font:italic 13px/1.5 var(--serif);margin-bottom:22px}
.example-cover>small{font-size:8px;letter-spacing:.2px;z-index:1}
.example-cover-1{background:#58634f}
.example-cover-2{background:#765350}
.example-card-copy .eyebrow{font-size:9px;letter-spacing:1.3px}
.example-card h3{font:27px/1.2 var(--serif);letter-spacing:-.4px;margin:10px 0 14px}
.example-card-copy>p{font-size:12px;line-height:1.85;color:var(--muted)}
.example-card-copy .example-fragment{font:italic 16px/1.7 var(--serif);color:var(--ink);border-top:1px solid #b49b8370;padding-top:17px;margin-top:18px}
.example-card .text-button{font-size:12px}
.examples-unavailable{padding:24px;border:1px solid #8c715e;border-radius:16px;grid-column:1/-1}
.style-lab{display:grid;grid-template-columns:.8fr 1.2fr;gap:60px;background:#dfcbb5;border:1px solid #b49b83;border-radius:26px;padding:45px;margin:15px 0 60px;align-items:start}
.style-lab h2{font-size:42px}
.style-lab-intro>p:not(.eyebrow){font-size:13px;color:var(--muted)}
.leia-aside{display:flex;gap:13px;align-items:center;margin:24px 0}
.leia-aside img{width:65px;height:65px;object-fit:cover;object-position:50% 45%;border-radius:50%;flex-shrink:0;background:#f6eee3;border:1px solid #a78a70}
.leia-aside p{font:italic 16px/1.6 var(--serif);margin:0}
.style-lab-intro>.demo-caption{font-size:10px!important}
.style-premise{font-size:12px;line-height:1.8;color:var(--muted);margin:0 0 18px}
.style-tabs{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:17px}
.style-tabs button{font-size:11px;line-height:1.5;padding:8px 13px;border:1px solid #8c715e;border-radius:22px;background:#efe3d3;color:#513c2d}
.style-tabs button:hover{background:#f6eee3}
.style-tabs button[aria-selected=true]{background:#79503b;color:#fff6ea;border-color:#79503b}
.style-sample{background:#fbf5eb;border:1px solid #ad9277;border-radius:13px;min-height:340px;padding:26px 29px;box-shadow:0 8px 25px #583a210a}
.style-sample .sample-style-label{font-size:10px;letter-spacing:1.4px;text-transform:uppercase;color:var(--accent);margin:0 0 19px}
.sample-prose{font:18px/1.9 var(--serif);color:#38291f;min-height:190px}
.sample-prose p{white-space:pre-wrap;overflow-wrap:anywhere}
.style-sample>small{font-size:10px;color:var(--muted);display:block;border-top:1px solid #b49b8370;padding-top:15px;margin-top:20px}
.leia-section{gap:65px;padding-top:15px}
.leia-quote-scene{padding:0;align-self:end;display:flex;flex-direction:column;align-items:center}
.leia-quote-scene>img{width:100%;height:360px;max-height:none;object-fit:contain;object-position:center bottom;border-radius:0;mix-blend-mode:normal}
.leia-quote{position:relative;z-index:1;margin:0;width:100%;background:#f6eee3;border:1px solid #b49b83;border-radius:19px;padding:21px 26px 22px;box-shadow:var(--shadow)}
.leia-quote .quote-mark{position:absolute;top:5px;left:18px;font:54px/1 var(--serif);color:#a78365}
.leia-quote p{font:italic 21px/1.5 var(--serif);margin:13px 0 12px;padding-left:12px}
.leia-quote cite{font-size:10px;font-style:normal;color:var(--muted);padding-left:12px}
.leia-copy .demo-caption{font-size:11px;max-width:430px;margin:18px 0 0}
.writing-prompt{display:flex;gap:16px;margin-top:30px;max-width:450px;align-items:flex-start}
.writing-prompt img{width:90px;height:115px;object-fit:contain;flex-shrink:0;mix-blend-mode:multiply}
.writing-prompt>div{border-left:1px solid #a78a70;padding-left:18px}
.writing-prompt strong{font-size:11px;color:var(--accent)}
.writing-prompt p{font:18px/1.65 var(--serif);margin:9px 0 13px}
.writing-prompt .text-button{font-size:11px}
.book-outcome{display:grid;grid-template-columns:1.2fr .8fr;gap:60px;border-top:1px solid #b49b83;padding:47px 0 40px;align-items:center}
.outcome-copy>p:not(.eyebrow){font-size:14px;color:var(--muted);max-width:600px}
.file-guide{display:grid;grid-template-columns:1fr 1fr;gap:18px 25px;margin:26px 0}
.file-guide>div{display:grid;grid-template-columns:48px 1fr;gap:12px;align-items:baseline}
.file-guide dt{font-size:12px;letter-spacing:1px;color:var(--accent);font-weight:600;border-bottom:1px solid #8c715e;padding-bottom:5px}
.file-guide dd{margin:0;font-size:12px;line-height:1.8;color:var(--muted)}
.outcome-copy>.demo-caption{font-size:10px!important}
.privacy-note{border-radius:23px;background:#d8c4ae;border:1px solid #ad9277;padding:26px 30px 30px;position:relative}
.privacy-note>img{height:130px;width:150px;object-fit:contain;margin:-25px 0 12px auto;mix-blend-mode:multiply}
.privacy-note h3{font:31px/1.18 var(--serif);letter-spacing:-.8px;margin:10px 0 19px}
.privacy-note>p:not(.eyebrow){font-size:13px;line-height:1.9;color:var(--muted)}
.privacy-note .text-button{font-size:11px}
.questions-section{display:grid;grid-template-columns:.7fr 1.3fr;gap:60px;align-items:start}
.questions-section>div>p:not(.eyebrow){font-size:13px;color:var(--muted)}
.question{border-bottom:1px solid #a98b70}
.question:first-child{border-top:1px solid #a98b70}
.question summary{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:19px 0;cursor:pointer;list-style:none;font-size:14px;font-weight:500;line-height:1.65;color:var(--ink)}
.question summary::-webkit-details-marker{display:none}
.question summary>span{font-size:22px;line-height:1;color:var(--accent);font-weight:400;flex-shrink:0;transition:transform .15s}
.question[open] summary>span{transform:rotate(45deg)}
.question>div{padding:0 25px 7px 0}
.question p{font-size:12px;line-height:1.95;color:var(--muted)}
.chat-launcher img{width:48px;height:48px;object-fit:cover;object-position:50% 45%;background:#e7d4bd}
.chat-header img{width:49px;height:49px;object-fit:cover;object-position:50% 45%;background:#f6eee3}
.site-footer{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding-top:37px;padding-bottom:35px}
.footer-intro .brand strong{font-size:23px;color:var(--ink)}
.footer-intro>p{font-size:12px;line-height:1.9;margin:21px 0 13px}
.footer-intro>small{display:block;font-size:10px;max-width:320px}
.footer-links{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:start;align-content:start}
.footer-links>div{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.footer-links strong{font-size:11px;color:var(--ink);margin-bottom:4px;font-weight:600}
.footer-links a,.footer-links button{font-size:11px}
.footer-bottom{grid-column:1/-1;border-top:1px solid #b49b8360;font-size:10px;padding-top:18px;margin:0}
.reading-page{padding:35px 0 65px;min-height:65vh}
.reading-intro{max-width:750px;margin:0 auto 45px;text-align:center}
.back-to-home{display:inline-block;font-size:12px;color:var(--accent);margin-bottom:30px}
.reading-intro h1{font-size:56px}
.reading-intro h1 em{font-weight:400;color:var(--accent)}
.reading-intro>p:not(.eyebrow){font-size:14px;color:var(--muted);max-width:620px;margin:20px auto}
.fiction-label{display:inline-block;font-size:10px;line-height:1.7;color:var(--muted);border-top:1px solid #b49b8380;border-bottom:1px solid #b49b8380;padding:8px 0}
.reading-breadcrumbs{display:flex;gap:10px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin:5px 0 30px;overflow-wrap:anywhere}
.reading-breadcrumbs a{color:var(--accent)}
.reading-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:38px;align-items:start;max-width:1120px;margin:0 auto}
.reading-toc{padding:24px 20px;border:1px solid #b49b83;border-radius:16px;background:#efe3d3;position:sticky;top:25px}
.reading-toc>a{display:flex;align-items:baseline;gap:11px;font-size:12px;line-height:1.7;padding:9px 0;overflow-wrap:anywhere}
.reading-toc>a>span{font-size:10px;color:var(--accent)}
.reading-toc .toc-book-title{font:23px/1.25 var(--serif);padding:0 0 20px}
.reading-toc>p{font-size:9px;text-transform:uppercase;letter-spacing:1.5px;color:var(--muted);margin:0 0 9px}
.reading-toc>a[aria-current=page]{font-weight:600;color:var(--accent);text-decoration:underline;text-underline-offset:4px}
.reading-toc>a.toc-all{border-top:1px solid #b49b8380;margin-top:17px;padding-top:16px;font-size:10px;color:var(--accent)}
.reading-content{min-width:0}
.chapter-paper{background:#fbf5eb;border:1px solid #baa088;border-radius:6px 18px 18px 6px;padding:48px clamp(27px,5vw,75px) 30px;box-shadow:7px 8px 0 #79503b0b}
.chapter-paper>header{text-align:center;max-width:650px;margin:0 auto 40px}
.chapter-paper h1{font-size:43px;line-height:1.15;margin:18px 0 23px;overflow-wrap:anywhere}
.chapter-date{font:italic 16px/1.5 var(--serif);color:var(--muted)}
.reading-time{font-size:10px;color:var(--muted);margin:15px 0 0}
.chapter-prose{font:19px/1.95 var(--serif);color:#38291f;max-width:650px;margin:auto}
.chapter-prose p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 1.15em}
.chapter-end{text-align:center;color:var(--muted);margin:33px 0 5px}
.chapter-end>span{color:var(--accent);font-size:23px}
.chapter-end p{font-size:10px;margin:8px 0 0}
.chapter-navigation{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:27px}
.chapter-navigation>a{border-top:1px solid #9f8065;padding:15px 0;font-size:13px;display:flex;flex-direction:column;gap:6px}
.chapter-navigation>a:last-child{text-align:right}
.chapter-navigation small{font-size:10px;color:var(--muted)}
.chapter-navigation strong{font:20px/1.4 var(--serif);font-weight:400}
.example-book-opening{display:grid;grid-template-columns:210px minmax(0,1fr);gap:40px;align-items:start;background:#f6eee3;border:1px solid #b49b83;border-radius:20px;padding:35px}
.example-book-opening h1{font-size:39px;line-height:1.15;margin:10px 0 20px;overflow-wrap:anywhere}
.example-book-opening .example-cover{min-height:295px}
.book-annotation{font:17px/1.85 var(--serif);margin:24px 0;color:var(--ink)}
.reader-invitation{display:flex;align-items:center;gap:22px;background:#dfcbb5;border:1px solid #b49b83;border-radius:20px;padding:27px;margin-top:45px}
.reader-invitation>img{width:82px;height:82px;object-fit:cover;border-radius:50%;flex-shrink:0}
.reader-invitation h2{font-size:30px;margin:0 0 10px}
.reader-invitation p{font-size:12px;color:var(--muted);margin:0}
.reader-invitation>.button{flex-shrink:0;margin-left:auto;font-size:11px}
.reader-invitation-small{align-items:flex-start;margin-top:27px;padding:24px}
.reader-invitation-small>img{width:65px;height:65px}
.reader-invitation-small h2{font-size:28px}
.reader-invitation-small .button{margin-top:18px;font-size:11px}
@media(max-width:1180px){.header-nav{gap:16px;font-size:11px}.example-grid{gap:18px}.example-card{padding:22px 18px}.style-lab{gap:33px;padding:33px}.style-lab h2{font-size:36px}.style-sample{padding:23px}.reading-layout{grid-template-columns:180px minmax(0,1fr);gap:25px}.example-book-opening{grid-template-columns:160px minmax(0,1fr);gap:25px;padding:27px}.example-book-opening .example-cover{min-height:245px}.example-book-opening .example-cover>strong{font-size:24px}.book-outcome{gap:35px}.questions-section{gap:35px}}
@media(max-width:1050px){.site-header:not(.cabinet-header){height:100px;min-height:0;padding:0;flex-wrap:nowrap}.site-header:not(.cabinet-header) .header-nav{display:none}.site-header:not(.cabinet-header) .brand{order:0}.site-header:not(.cabinet-header) .header-actions{order:0;margin-left:auto}.mobile-menu{display:block}.example-card h3{font-size:23px}.reading-layout{grid-template-columns:1fr}.reading-toc{position:static;display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;padding:17px 20px}.reading-toc .toc-book-title{padding:0;font-size:21px}.reading-toc>p{display:none}.reading-toc>a{padding:0;font-size:11px}.reading-toc>a.toc-all{border:0;padding:0;margin:0;margin-left:auto}.style-lab{grid-template-columns:1fr 1.25fr;gap:25px}.style-lab h2{font-size:34px}.leia-quote-scene>img{height:315px}.leia-quote p{font-size:19px}.reader-invitation{flex-wrap:wrap}.reader-invitation>.button{margin-left:104px}.chapter-paper{padding:40px 65px}.example-book-opening{grid-template-columns:210px minmax(0,1fr)}.example-book-opening .example-cover{min-height:290px}}
@media(max-width:700px){.site-header:not(.cabinet-header){height:88px;padding:0}.site-header .header-actions{gap:8px}.mobile-menu summary{padding:9px 10px;gap:5px;font-size:10px}.mobile-menu summary>span:first-child{font-size:13px}.site-header:not(.cabinet-header) .brand strong{font-size:21px}.site-header:not(.cabinet-header) .brand small{font-size:7px;letter-spacing:.8px}.site-header:not(.cabinet-header) .brand-mark{width:26px}.site-header:not(.cabinet-header) .header-actions>.button{font-size:10px;padding:10px 13px}.hero-circle{width:78px;height:78px;font-size:17px;right:-5px;top:10px}.hero-actions{gap:17px}.hero-actions .text-button{font-size:12px}.example-grid{grid-template-columns:1fr;gap:18px}.example-card{display:grid;grid-template-columns:105px minmax(0,1fr);gap:20px;padding:22px 20px}.example-cover-link{margin:0;width:100%;align-self:start}.example-cover{min-height:155px;padding:14px 10px;border-left-width:5px;border-radius:2px 8px 8px 2px}.example-cover>span{font-size:6px;letter-spacing:.8px}.example-cover>strong{font-size:19px;margin:auto 0 11px;letter-spacing:-.2px}.example-cover>i{font-size:8px;margin-bottom:12px}.example-cover>small{font-size:6px}.example-cover:after{width:70px;height:70px;right:-30px}.example-card h3{font-size:25px;margin:8px 0 12px}.example-card-copy .eyebrow{font-size:8px;letter-spacing:.8px}.example-card-copy>p{font-size:11px}.example-card-copy .example-fragment{font-size:15px;padding-top:12px;margin-top:13px}.example-card .text-button{font-size:11px}.section-bottom{align-items:start;gap:15px;margin-top:18px}.section-bottom p{font-size:9px}.section-bottom>a{font-size:11px}.style-lab{grid-template-columns:1fr;padding:27px 22px;gap:23px;margin:5px 0 43px;border-radius:22px}.style-lab h2{font-size:35px}.style-lab-intro>p:not(.eyebrow){font-size:12px}.leia-aside{margin:18px 0}.leia-aside img{width:58px;height:58px}.leia-aside p{font-size:15px}.style-lab-intro>.demo-caption{font-size:9px!important;margin-bottom:0}.style-premise{font-size:11px}.style-tabs{gap:7px}.style-tabs button{font-size:10px;padding:7px 11px}.style-sample{padding:22px 20px;min-height:0}.sample-prose{font-size:17px;min-height:0}.style-sample>small{font-size:9px}.leia-section{gap:25px}.leia-quote-scene{width:100%;max-width:370px;padding:0}.leia-quote-scene>img{height:320px;width:100%;max-height:none}.leia-quote{padding:20px 21px;border-radius:17px}.leia-quote p{font-size:20px}.leia-quote cite{font-size:9px}.leia-copy .demo-caption{font-size:10px}.writing-prompt{margin-top:25px;max-width:100%;gap:12px;margin-bottom:20px}.writing-prompt img{width:72px;height:100px}.writing-prompt>div{padding-left:15px}.writing-prompt p{font-size:17px}.book-outcome{grid-template-columns:1fr;gap:27px;padding:33px 0}.book-outcome h2{font-size:35px}.outcome-copy>p:not(.eyebrow){font-size:12px}.file-guide{gap:18px}.file-guide>div{grid-template-columns:1fr;gap:6px}.file-guide dt{justify-self:start;font-size:11px;min-width:40px}.file-guide dd{font-size:11px}.privacy-note{padding:25px}.privacy-note>img{width:120px;height:105px;margin:-12px 0 5px auto}.privacy-note h3{font-size:30px}.privacy-note>p:not(.eyebrow){font-size:12px}.questions-section{grid-template-columns:1fr;gap:9px}.questions-section h2{font-size:40px}.questions-section>div>p:not(.eyebrow){font-size:12px}.question summary{font-size:13px;gap:15px;padding:17px 0}.question p{font-size:11px;line-height:1.95}.question>div{padding-right:15px}.site-footer{display:grid;grid-template-columns:1fr;gap:24px;padding-top:29px;padding-bottom:110px}.footer-links{margin:0;gap:20px}.footer-intro>p{font-size:11px;margin:17px 0 12px}.footer-intro>small{font-size:9px}.footer-links strong{font-size:10px}.footer-links a,.footer-links button{font-size:10px}.footer-bottom{font-size:9px;padding-top:15px}.chat-launcher img{width:43px;height:43px}.chat-launcher{max-width:none;padding:5px 13px 5px 5px}.chat-header img{width:47px;height:47px}.reading-page{padding:26px 0 43px}.reading-intro{margin-bottom:30px;text-align:left}.reading-intro h1{font-size:41px}.reading-intro>p:not(.eyebrow){font-size:12px}.back-to-home{font-size:11px;margin-bottom:24px}.fiction-label{font-size:9px}.reading-breadcrumbs{font-size:10px;gap:7px;margin-bottom:22px}.reading-toc{gap:12px 17px;padding:17px}.reading-toc .toc-book-title{flex-basis:100%;font-size:24px}.reading-toc>a.toc-all{margin-left:0}.reading-toc>a{font-size:11px}.reading-layout{gap:20px}.chapter-paper{padding:30px 23px 25px;border-radius:5px 14px 14px 5px;box-shadow:4px 5px 0 #79503b0b}.chapter-paper>header{margin-bottom:28px}.chapter-paper h1{font-size:35px;margin:15px 0 21px;letter-spacing:-1px}.chapter-paper .eyebrow{font-size:9px}.chapter-prose{font-size:18px;line-height:1.9}.chapter-navigation{gap:20px;margin-top:20px}.chapter-navigation strong{font-size:18px}.chapter-navigation small{font-size:9px}.example-book-opening{grid-template-columns:1fr;padding:25px;gap:28px}.example-book-opening>div:first-child{width:180px;margin:0 auto}.example-book-opening .example-cover{min-height:255px;padding:24px 20px}.example-book-opening .example-cover>strong{font-size:28px}.example-book-opening .example-cover>span{font-size:8px}.example-book-opening .example-cover>i{font-size:12px}.example-book-opening .example-cover>small{font-size:8px}.example-book-opening h1{font-size:34px}.book-annotation{font-size:17px}.reader-invitation{padding:22px;gap:16px;margin-top:29px;display:grid;grid-template-columns:55px minmax(0,1fr);align-items:start}.reader-invitation>img{width:55px;height:55px}.reader-invitation h2{font-size:27px}.reader-invitation p{font-size:11px}.reader-invitation>.button{grid-column:1/-1;margin:0;justify-self:start}.reader-invitation-small{display:grid;padding:22px 19px;gap:13px;grid-template-columns:45px minmax(0,1fr)}.reader-invitation-small>img{width:45px;height:45px}.reader-invitation-small h2{font-size:26px}.reader-invitation-small .button{font-size:10px;padding:12px 16px;margin-top:17px}}
@media(max-width:380px){.site-header:not(.cabinet-header) .brand strong{font-size:19px}.site-header:not(.cabinet-header) .brand small{font-size:6px}.site-header:not(.cabinet-header) .brand-mark{display:none}.site-header:not(.cabinet-header) .header-actions>.button{padding:9px 11px}.mobile-menu summary{padding:9px}.mobile-menu summary>span:first-child{display:none}.hero-actions{gap:14px;flex-wrap:wrap}.example-card{grid-template-columns:82px minmax(0,1fr);padding:19px 15px;gap:16px}.example-cover{min-height:135px;padding:12px 8px}.example-cover>strong{font-size:16px}.example-cover>i{font-size:7px}.example-cover>small{font-size:5px}.example-card h3{font-size:24px}.example-card-copy .example-fragment{font-size:14px}.style-lab{padding:25px 18px}.style-sample{padding:20px 17px}.sample-prose{font-size:16px}.leia-quote-scene>img{height:290px}.leia-quote p{font-size:18px}.chapter-paper{padding:28px 20px 24px}.chapter-paper h1{font-size:32px}.chapter-prose{font-size:17px}.reader-invitation-small{grid-template-columns:1fr}.reader-invitation-small>img{display:none}}
@media(prefers-reduced-motion:reduce){.example-cover-link:hover{transform:none}.question summary>span{transition:none}}

/* Verified field boundaries and keyboard focus on the coffee panels. */
.editor-paper textarea.prose{border-color:#8c715e}
.editor-paper textarea.prose:hover{border-color:var(--accent)}
.editor-paper textarea.prose:focus{border-color:var(--accent)}
.style-tabs button{border-color:#84664f}

.style-lab .eyebrow,.privacy-note .eyebrow,.privacy-note .text-button,.format-card:nth-child(2) .text-button{color:#704831}

/* Keep the long diary cover title in whole words. */
.example-cover-2>strong{font-size:24px;overflow-wrap:normal;word-break:normal}
.example-book-opening .example-cover-2>strong{font-size:23px}
@media(max-width:700px){.example-card .example-cover-2>strong{font-size:13px}}

/* V4: readable controls, quiet motion and the first-writing journey. */
.button,.button.small,.text-button,.editor-toolbar .button{font-size:14px;min-height:44px}
.icon-button{min-width:44px;min-height:44px}
.button{transition:background .18s,border-color .18s,box-shadow .18s,transform .18s}
@media(hover:hover){.button:not(:disabled):hover{transform:translateY(-2px)}.format-card,.example-card,.book-card{transition:box-shadow .22s,border-color .22s}.format-card:hover,.example-card:hover,.book-card:hover{border-color:#927359;box-shadow:0 12px 28px #583a2114}}
.button:not(:disabled):active{transform:translateY(1px);box-shadow:none}
.field>span,.field-label,.field small,.tiny,.notice,.editor-tip,.editor-save,.editor-counter,.book-meta,.book-card-bottom,.reader-author{font-size:14px;line-height:1.65}
.error,.success{font-size:14px;line-height:1.7}
.input,textarea,select{font-size:16px}
.editor-toolbar{gap:10px}.editor-toolbar .button{padding:10px 16px}
.chapter-nav button{font-size:14px;min-height:44px}.chapter-nav .chapter-label{font-size:13px}
.chat-launcher{max-width:calc(100vw - 28px);min-height:62px;padding:6px 14px 6px 7px}
.chat-launcher>span:not(.chat-launcher-arrow){min-width:0}
.chat-launcher strong,.chat-launcher small{font-size:14px;line-height:1.45}
.chat-launcher small{width:205px;max-width:100%;height:21px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chat-launcher img{width:48px;height:48px;flex-shrink:0}
.chat-launcher .motion-copy{transition:opacity .18s;position:relative}
.chat-launcher .motion-copy.is-changing{opacity:.55}
.chat-header strong,.chat-header small,.chat-bubble,.faq-options button,.chat-support textarea,.chat-disclaimer{font-size:14px;line-height:1.6}
.faq-options button{min-height:44px;padding:9px 14px}.chat-support textarea{font-size:16px}
.leia-dots{display:inline-flex;gap:4px;align-items:center;height:20px;padding:0 2px;vertical-align:middle}
.leia-dots i{display:block;width:4px;height:4px;background:#79503b;border-radius:50%;animation:leia-dot 1.1s ease-in-out infinite}
.leia-dots i:nth-child(2){animation-delay:.14s}.leia-dots i:nth-child(3){animation-delay:.28s}
@keyframes leia-dot{0%,70%,100%{transform:translateY(0);opacity:.45}35%{transform:translateY(-3px);opacity:1}}
.motion-ready .motion-reveal{opacity:0;transform:translateY(12px);transition:opacity .55s ease,transform .55s ease}
.motion-ready .motion-reveal.is-revealed{opacity:1;transform:none}
.motion-ready .motion-reveal:focus-within{opacity:1;transform:none}
.is-writing-route .motion-reveal{opacity:1;transform:none;transition:none}
.motion-paused .leia-dots i,.is-writing-route .leia-dots i{animation-play-state:paused}

.quick-start-form{display:grid;gap:17px}.quick-start-form .field{margin:0}
.quick-start-form textarea{min-height:190px;font:18px/1.8 var(--serif);resize:vertical}
.quick-start-prompts,.editor-prompt-actions{display:flex;flex-wrap:wrap;gap:9px}
.quick-start-prompts button,.quick-start-prompts label,.quick-start-form .format-chip,.editor-prompt-actions button{border:1px solid #95745b;background:#f8efe3;color:#50382a;border-radius:24px;font-size:14px;line-height:1.5;padding:10px 14px;min-height:44px}
.quick-start-prompts button:hover,.editor-prompt-actions button:hover{background:#e6d3bd;border-color:#79503b}
.quick-start-form .format-chip:has(input:checked),.quick-start-prompts .is-selected{background:#79503b;color:#fff6ea;border-color:#79503b}
.editor-prompt-box{background:#efe0cc;border:1px solid #ad8e70;border-radius:14px;padding:17px 19px;margin:0 0 20px}
.editor-prompt-box p{margin:8px 0 15px;font-size:16px;line-height:1.8}.editor-prompt-box strong{font-size:14px}
.chapter-order-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:5px 0 18px}
.chapter-order-actions button{min-height:44px;font-size:14px;padding:9px 13px;border:1px solid #a38468;border-radius:10px;background:#f6eee3;color:#50382a}
.chapter-order-actions button:hover:not(:disabled){background:#e6d3bd}
.versions-list{display:grid;gap:12px;max-height:55dvh;overflow:auto;overscroll-behavior:contain;padding:2px 5px 5px 0}
.version-item{border:1px solid #b49b83;border-radius:12px;background:#fff8ef;padding:16px}
.version-item p{font-size:14px;margin:7px 0}.version-item small{font-size:14px;color:#604c3c}
.version-preview{max-height:250px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid #b49b83;border-radius:12px;background:#fff8ef;padding:17px;font:17px/1.8 var(--serif);margin:15px 0}
.version-warning{border-left:3px solid #a56d40;background:#f0debd;color:#573b27;padding:13px 16px;margin:15px 0;font-size:14px;line-height:1.75}
.export-status-card{padding:19px;border:1px solid #a88d74;background:#f5ebdd;border-radius:14px;margin:17px 0}
.export-status-card p,.export-status-card small{font-size:14px;line-height:1.75}.export-status-card p:last-child{margin-bottom:0}
.export-status-card[data-status=sent]{background:#e7eddb;border-color:#708663;color:#304a32}
.export-status-card[data-status=failed]{background:#fae6dd;border-color:#b47264;color:#7e2929}
.export-status-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:17px}
.continue-card{display:flex;gap:23px;align-items:center;background:#f7ecdd;border:1px solid #a88868;border-radius:18px;padding:25px;margin:0 0 25px;box-shadow:0 8px 25px #583a2109}
.continue-card>div{min-width:0}.continue-card h2,.continue-card h3{margin:0 0 9px;overflow-wrap:anywhere}
.continue-card>img{width:94px;height:112px;object-fit:contain;flex-shrink:0}.continue-card>div{flex:1}
.continue-card .button{flex-shrink:0;margin-left:auto}.continue-meta{font-size:14px;color:#604c3c;line-height:1.65}
.book-progress{font-size:14px;line-height:1.7;color:#604c3c;margin:10px 0}
.self-question,.shelf-prompt{background:#e9d8c3;border:1px solid #b49b83;border-radius:13px;padding:15px 18px;margin:16px 0;font-size:15px;line-height:1.75;overflow-wrap:anywhere}
.self-question textarea,.self-question input{margin-top:10px;font-size:16px}
.login-privacy{background:#eadcc8;border:1px solid #b49b83;border-radius:11px;padding:12px 15px;font-size:14px;line-height:1.75}
.login-privacy summary{cursor:pointer;color:#704831;font-size:14px;min-height:27px}.login-privacy p{font-size:14px;margin:12px 0 0}

/* One small, entirely decorative book scene; no video or manuscript data. */
.book-motion-scene{position:relative;height:144px;width:min(370px,100%);margin:8px auto 22px;perspective:800px;contain:layout style;overflow:visible}
.book-motion-scene:after{content:'';position:absolute;left:5%;right:5%;bottom:13px;height:14px;border-radius:50%;background:#76523916;filter:blur(5px)}
.motion-volume{position:absolute;bottom:24px;width:53px;height:82px;display:flex;align-items:center;justify-content:center;border:1px solid #694630;border-left:6px solid #704a35;border-radius:2px 6px 6px 2px;box-shadow:4px 3px 0 #eadaca,5px 4px 0 #b49b83;background:#866249;color:#fff4e4;transform:rotate(-12deg);z-index:2}
.motion-volume:after{content:'';position:absolute;inset:9px 6px;border:1px solid #e6c29d73;border-radius:2px}
.motion-volume span{font:16px/1 var(--serif);letter-spacing:2px}
.motion-volume-a{left:13%;transform:rotate(-14deg)}.motion-volume-b{right:12%;height:91px;background:#645a44;border-color:#554b36;border-left-color:#4d4533;transform:rotate(12deg)}
.motion-open-book{position:absolute;left:50%;bottom:27px;width:158px;height:94px;margin-left:-79px;transform-style:preserve-3d;transform:rotateX(25deg) rotateZ(-2deg);z-index:3}
.motion-page{position:absolute;top:0;width:79px;height:94px;background:#fff6e8;border:1px solid #bda58c;box-shadow:0 4px 0 #e6d4bd,0 5px 0 #a88b70;backface-visibility:hidden}
.motion-page:after{content:'';position:absolute;inset:15px 11px;background:repeating-linear-gradient(to bottom,#a88b7066 0 1px,transparent 1px 9px);opacity:.7}
.motion-page-left{left:0;border-radius:4px 0 0 6px;transform:rotateY(-10deg);transform-origin:right center;background:linear-gradient(90deg,#fff8eb,#eadbc5)}
.motion-page-right{right:0;border-radius:0 4px 6px 0;transform:rotateY(10deg);transform-origin:left center;background:linear-gradient(90deg,#eadbc5,#fff8eb)}
.motion-page-turn{right:0;border-radius:0 4px 6px 0;transform-origin:left center;transform:rotateY(0deg);background:#f8eddb;animation:turn-book-page 8s ease-in-out infinite;animation-play-state:paused}
.book-motion-scene.is-in-view .motion-page-turn{animation-play-state:running}
.book-motion-scene.is-in-view .motion-volume-a{animation:book-breathe 8s ease-in-out infinite}
.book-motion-scene.is-in-view .motion-volume-b{animation:book-breathe-b 8s ease-in-out infinite .7s}
.motion-paused .book-motion-scene *,.is-writing-route .book-motion-scene *{animation-play-state:paused!important}
@keyframes turn-book-page{0%,32%{transform:rotateY(0deg)}52%,66%{transform:rotateY(-166deg)}85%,100%{transform:rotateY(0deg)}}
@keyframes book-breathe{0%,100%{transform:rotate(-14deg) translateY(0)}50%{transform:rotate(-11deg) translateY(-4px)}}
@keyframes book-breathe-b{0%,100%{transform:rotate(12deg) translateY(0)}50%{transform:rotate(10deg) translateY(-3px)}}
.reader-leia-dock{display:none}
.is-reading-route #chat-launcher{width:58px;height:58px;min-height:58px;padding:4px;border-radius:50%;right:14px;bottom:22px;justify-content:center}
.is-reading-route #chat-launcher>span{display:none}.is-reading-route #chat-launcher img{width:48px;height:48px}

@media(max-width:700px){
  .button,.button.small,.text-button,.hero-actions .text-button,.site-header:not(.cabinet-header) .header-actions>.button,.editor-toolbar .button{font-size:14px;min-height:44px;max-width:none}
  .site-header:not(.cabinet-header) .header-actions>.button{padding:10px 13px;gap:7px}.mobile-menu summary{font-size:14px;min-height:44px;padding:10px}
  .site-header:not(.cabinet-header) .brand strong{font-size:20px}
  .mobile-menu nav a,.mobile-menu nav button{font-size:14px;min-height:44px}
  .hero-intro,.hero-under,.section-head>p,.format-card>p,.age p,.format-fragment,.leia-copy>p,.leia-copy .demo-caption,.outcome-copy>p:not(.eyebrow),.privacy-note>p:not(.eyebrow),.questions-section>div>p:not(.eyebrow){font-size:15px;line-height:1.8}
  .age h3{font-size:16px}.age-number small{font-size:14px}.hero-label small{font-size:14px;line-height:1.6}
  .hero-label{max-width:270px;padding:17px 21px}.hero-label strong{font-size:23px}
  .example-card{grid-template-columns:92px minmax(0,1fr);padding:23px 18px;gap:18px}
  .example-card-copy>.eyebrow{font-size:12px;letter-spacing:.5px}.example-card-copy>p,.example-card .text-button,.section-bottom p,.section-bottom>a{font-size:14px;line-height:1.75}
  .example-card h3{font-size:25px}.example-card-copy .example-fragment{font-size:17px}.example-cover{min-height:160px}
  .example-card .example-cover-2>strong{font-size:14px}
  .style-lab-intro>p:not(.eyebrow),.style-premise,.style-lab-intro>.demo-caption,.style-sample>small{font-size:14px!important;line-height:1.75}
  .style-tabs button{font-size:14px;padding:10px 14px;min-height:44px}.sample-prose{font-size:18px}
  .style-lab{padding:27px 22px}.leia-quote cite{font-size:14px}.feature-list li{font-size:15px}
  .tariff-tag,.tariff-period,.tariff li,.tariff-foot,.pricing-note{font-size:14px;line-height:1.75}.tariff .button{font-size:14px}
  .step h3{font-size:17px}.step p,.file-guide dt,.file-guide dd,.question summary,.question p,.demo-caption{font-size:14px;line-height:1.8}
  .file-guide>div{grid-template-columns:56px minmax(0,1fr);gap:13px}.file-guide dd{align-self:center}
  .question summary{font-size:16px;padding:19px 0}.question p{font-size:15px}.question>div{padding-right:8px}
  .site-footer{padding-bottom:115px}.footer-intro>p,.footer-intro>small,.footer-links strong,.footer-links a,.footer-links button,.footer-bottom{font-size:14px;line-height:1.75}
  .footer-links a,.footer-links button{min-height:40px;display:flex;align-items:center;text-align:left}
  .field>span,.field-label,.field small,.tiny,.notice,.page-top p,.editor-tip,.editor-counter,.editor-save,.book-meta,.book-card-bottom,.book-progress,.continue-meta,.settings-card p{font-size:14px;line-height:1.7}
  .toast,.check-row,.export-options small,.export-options span,.choice small,.choice strong{font-size:14px;line-height:1.7}
  .input,textarea,select,.chat-support textarea{font-size:16px}.prose{font-size:18px;line-height:1.9}
  .editor-save{max-width:135px;padding-top:3px}.editor-header{align-items:flex-start;gap:15px}.editor-header-left{min-width:0}
  .chapter-nav button{font-size:14px;padding:11px 12px}.chapter-nav .chapter-label{font-size:13px}
  .editor-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.editor-toolbar .button{padding:12px 9px;line-height:1.45;overflow-wrap:anywhere}
  .quick-start-form textarea{min-height:200px;font-size:18px}.quick-start-prompts{gap:8px}.editor-prompt-box{padding:16px}.editor-prompt-box p{font-size:17px}
  .chapter-order-actions{gap:8px}.chapter-order-actions button{flex:1;min-width:110px}
  .continue-card{display:block;padding:21px}.continue-card .button{margin:16px 0 0}.continue-card h2{font-size:27px}
  .continue-card>img{width:72px;height:85px;float:right;margin:0 0 10px 12px}
  .self-question,.shelf-prompt{padding:15px}.self-question textarea{font-size:16px}.version-item{padding:15px}
  .back-to-home,.reading-intro>p:not(.eyebrow),.fiction-label,.reading-breadcrumbs,.reading-toc>a,.chapter-paper .eyebrow,.chapter-date,.reading-time,.chapter-navigation small,.reader-invitation p,.reader-invitation .button,.reader-invitation-small .button{font-size:14px;line-height:1.7}
  .reading-toc .toc-book-title{font-size:25px}.reading-toc>a{min-height:35px;padding:5px 0}
  .chapter-prose{font-size:19px;line-height:1.9}.chapter-prose p{margin-bottom:1.2em}.chapter-paper{padding:29px 23px}
  .reading-page{padding-bottom:35px}.reading-breadcrumbs{row-gap:4px}.chapter-navigation{gap:17px}.chapter-navigation strong{font-size:19px}
  .is-reading-route #chat-launcher{display:none}
  .reader-leia-dock{display:flex;flex-basis:100%;width:100%;border-top:1px solid #b49b83;margin-top:5px;padding-top:12px}
  .reader-leia-button{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:5px 13px 5px 5px;border:1px solid #9f7d60;border-radius:29px;background:#f8efe3;color:#50382a;text-align:left;font-size:14px;line-height:1.4}
  .reader-leia-button img{width:38px;height:38px;object-fit:cover;border-radius:50%}.reader-leia-button strong{display:block;font-size:14px}.reader-leia-button small{display:block;font-size:14px;color:#604c3c}
  .reader-leia-button:hover{background:#e6d3bd}.is-reading-route .leia-chat{bottom:16px;max-height:calc(100dvh - 32px)}
  .chat-launcher{right:14px;bottom:15px;gap:9px;max-width:calc(100vw - 28px)}.chat-launcher>span:not(.chat-launcher-arrow){flex:1}.chat-launcher small{max-width:calc(100vw - 120px)}.chat-launcher-arrow{display:none}
  .chat-header strong,.chat-header small,.chat-bubble,.faq-options button,.chat-disclaimer{font-size:14px}.chat-header{padding:13px}.chat-body{padding:17px}
  .book-motion-scene{height:130px;width:min(330px,100%);margin:7px auto 20px}.motion-open-book{transform:scale(.9) rotateX(25deg) rotateZ(-2deg);bottom:23px}.motion-volume-a{left:8%}.motion-volume-b{right:7%;height:83px}
}
@media(max-width:380px){
  .site-header:not(.cabinet-header) .brand strong{font-size:18px}.mobile-menu summary{padding:10px 8px}
  .site-header:not(.cabinet-header) .header-actions>.button{padding:10px 11px}
  .example-card{grid-template-columns:78px minmax(0,1fr);gap:15px;padding:21px 16px}.example-cover{min-height:145px}.example-card h3{font-size:24px}
  .file-guide>div{grid-template-columns:49px minmax(0,1fr);gap:10px}.style-lab{padding:25px 18px}.style-sample{padding:21px 18px}
  .chapter-paper{padding:28px 20px}.chapter-prose{font-size:18px}.hero-label{max-width:250px}.hero-label small{font-size:14px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}.button,.format-card,.example-card,.book-card,.motion-copy{transition:none!important}
  .button:hover:not(:disabled),.button:active:not(:disabled){transform:none}
  .motion-ready .motion-reveal{opacity:1!important;transform:none!important;transition:none!important}
  .book-motion-scene *,.leia-dots i{animation:none!important}
}

/* Five readable plans; the print package remains a full card on tablets. */
@media(min-width:1181px){.tariffs{grid-template-columns:repeat(5,minmax(0,1fr))}.tariff{padding-left:18px;padding-right:18px}.tariff .button{white-space:normal;min-height:50px;font-size:14px;line-height:1.4}.tariff li,.tariff-period,.tariff-foot{font-size:14px}}
@media(min-width:701px) and (max-width:1180px){.tariffs>.tariff:last-child{grid-column:1/-1;width:min(100%,520px);justify-self:center}}

/* Readable story cards on phones: let prose use the full card width. */
@media(max-width:700px){
 .example-card{grid-template-columns:1fr;gap:23px}
 .example-card .example-cover-link{width:140px;justify-self:center;margin:0}
 .example-card .example-cover{min-height:202px}
 .example-card .example-cover>strong{font-size:23px}
 .example-card .example-cover-2>strong{font-size:19px}
 .example-card-copy{min-width:0}
}

@media(max-width:700px){.chat-launcher small{display:block;font-size:12px;width:205px;color:#604c3c}}

@media(max-width:430px){.site-header:not(.cabinet-header) .brand-mark{display:none}}
