@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fredoka:wght@400;500;600;700&display=swap');
:root{--ink:#102c31;--teal:#116c66;--gold:#ffd164;--paper:#fffdf8;--muted:#526563;--purple:#714db6;--line:#d9e2dd;--shadow:0 8px 0 #102c3112}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.55 'DM Sans',sans-serif}button,input,select{font:inherit}button{cursor:pointer;touch-action:manipulation}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:4px solid #ee88d7;outline-offset:4px}header{background:var(--ink);color:white;display:flex;align-items:center;justify-content:space-between;padding:20px max(5vw,20px);border-bottom:2px solid #e5b859}button.brand{border:0;background:none;color:inherit;text-align:left;padding:0;line-height:1.05}.brand-title{font:bold 27px Georgia,serif;letter-spacing:-1px;color:#ffd66d;text-shadow:0 2px #6c471c}.brand-title b{color:#ff9a83}.brand-by{display:block;font:italic 15px Georgia,serif;margin-top:7px;color:#f2e2b9}.help{border:1px solid #ffffff45;border-radius:99px;background:transparent;color:white;padding:10px 17px;font-size:15px}.help:first-letter{font-weight:700}main{min-height:70vh}h1,h2,h3,.display{font-family:'Fredoka',sans-serif;font-weight:500;line-height:1.08;letter-spacing:-.025em}h1{font-size:clamp(42px,5vw,68px);margin:16px 0 24px}h2{font-size:clamp(30px,4vw,44px);margin:12px 0 18px}h3{font-size:25px;margin:10px 0}p{margin:12px 0 22px}.eyebrow{font-size:13px;font-weight:800;letter-spacing:.15em;color:var(--teal)}.hero{background:#e7f3ed;position:relative;overflow:hidden;padding:62px max(5vw,24px) 64px;display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center}.hero-copy{max-width:590px}.hero h1 em{font-style:normal;color:var(--teal)}.hero p{max-width:460px;font-size:19px}.primary,.secondary,.danger{border-radius:18px;min-height:54px;padding:13px 23px;font-weight:700;border:2px solid var(--ink);box-shadow:0 4px 0 var(--ink);display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none;color:var(--ink)}.primary{background:var(--gold)}.secondary{background:white;box-shadow:0 3px 0 #102c3118;border-color:var(--line)}.danger{background:#fff1ef;color:#a53126;border-color:#d38c83;box-shadow:none}.primary:hover{background:#ffdf91;transform:translateY(-1px)}.secondary:hover{border-color:var(--teal)}.button-row{display:flex;flex-wrap:wrap;gap:14px;align-items:center}.micro{font-size:14px;color:var(--muted);margin-top:20px}.hero-art{height:405px;position:relative;display:flex;align-items:center;justify-content:center}.hero-art:before{content:'';position:absolute;width:360px;height:360px;border-radius:50%;background:#c9e8dc}.cover-stack{width:210px;border-radius:8px;box-shadow:0 17px 25px #102c3133;border:5px solid white;position:absolute;transform:rotate(-12deg) translateX(-90px)}.cover-stack.two{transform:rotate(13deg) translateX(85px);width:195px}.spark{position:absolute;color:#ac7725;font:48px Georgia;top:5px;right:15px}.movie-badge{position:absolute;bottom:0;left:50%;transform:translateX(-50%) rotate(-4deg);background:var(--gold);padding:12px 25px;border:2px solid var(--ink);box-shadow:4px 4px var(--ink);white-space:nowrap;font:500 23px 'Fredoka',sans-serif}.section{max-width:1180px;margin:auto;padding:56px 28px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:28px}.section-head p{margin:0;color:var(--muted)}.book-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.book-card{border:2px solid var(--line);border-radius:24px;background:white;text-align:left;padding:16px;box-shadow:var(--shadow);color:var(--ink);transition:transform .16s,border-color .16s}.book-card:hover{transform:translateY(-5px);border-color:var(--teal)}.book-art{background:var(--tint);border-radius:15px;display:flex;justify-content:center;padding:19px 30px;height:248px}.book-art img{height:100%;max-width:100%;object-fit:contain;box-shadow:3px 7px 10px #102c312b;transform:rotate(-3deg);border-radius:3px}.book-card h3{font-size:24px;margin-top:18px}.book-card p{font-size:15px;color:var(--muted);margin:7px 0 2px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;border-top:1px solid var(--line);padding-top:35px;margin-top:45px}.step-icon{font-size:29px;display:block}.steps h3{font-size:22px}.steps p{font-size:16px;color:var(--muted)}footer{border-top:1px solid var(--line);padding:26px 5vw;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:14px;color:var(--muted)}footer span:first-child{font:italic bold 18px Georgia;color:var(--ink)}footer button{border:0;background:none;color:var(--muted);text-decoration:underline;font-size:14px}.back{border:0;background:none;color:var(--teal);padding:10px 0;font-weight:700;margin-bottom:18px}.studio-head{background:#edf3f0;padding:26px 5vw;display:flex;justify-content:space-between;gap:20px;align-items:center}.studio-head h1{font-size:36px;margin:4px 0}.studio-head img{height:86px;transform:rotate(4deg);border-radius:5px}.breadcrumb{font-size:14px;color:var(--muted)}.adventures{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}.adventure{padding:13px;border:2px solid var(--line);background:white;border-radius:22px;text-align:center;color:var(--ink);box-shadow:var(--shadow)}.adventure:hover{border-color:var(--teal)}.adventure img{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:10px;background:#f4f5f2}.adventure h3{font-size:21px}.adventure span{font-size:14px;color:var(--muted)}.progress-steps{display:flex;gap:10px;justify-content:center;padding:22px 15px;background:#fff;border-bottom:1px solid var(--line)}.progress-steps span{border-radius:99px;background:#edf1ee;padding:8px 20px;font-size:15px;font-weight:700}.progress-steps .active{background:var(--ink);color:white}.workspace{max-width:1100px;margin:auto;padding:35px 26px 60px}.workspace h2{margin-top:0}.capture-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:35px}.capture-box{border:2px dashed #7ea59b;border-radius:25px;background:#eff8f3;padding:30px;text-align:center}.capture-box .big-icon{font-size:45px}.capture-box h3{font-size:28px}.capture-box .button-row{justify-content:center}.tip{padding:17px 20px;background:#fff3cf;border-radius:16px;font-size:15px;margin-top:20px}.frame-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:28px 0}.frame{position:relative;aspect-ratio:2/3;background:#edf0ec;border:2px dashed #bdcbc3;border-radius:15px;overflow:hidden}.frame.filled{border:2px solid #b3c8be;background:white}.frame img{width:100%;height:100%;object-fit:contain}.frame-number{position:absolute;top:5px;left:5px;min-width:27px;height:27px;background:var(--ink);color:white;border-radius:50%;font-size:14px;display:grid;place-items:center}.empty{height:100%;width:100%;border:0;background:transparent;color:#667970;font-size:26px}.frame-edit{position:absolute;bottom:0;left:0;right:0;border:0;background:#102c31e8;color:white;padding:7px;font-size:14px}.status-line{display:flex;align-items:center;justify-content:space-between;gap:15px}.status-line p{margin:0}.count{font-family:'Fredoka';font-size:23px;color:var(--teal)}.small{font-size:14px;color:var(--muted)}.save-status{font-size:14px;color:var(--muted);min-height:24px}.player-layout{display:grid;grid-template-columns:1fr 1fr;gap:42px;align-items:start}.screen-wrap{background:#e7e1f4;border:2px solid #d5c9ec;border-radius:27px;padding:24px;position:relative}.screen-wrap:before{content:'✦';position:absolute;font-size:35px;color:var(--purple);top:15px;right:20px}.screen{display:block;background:white;border-radius:12px;width:100%;max-height:570px;object-fit:contain;aspect-ratio:2/3;box-shadow:0 5px 18px #30214b18}.playbar{display:flex;justify-content:center;gap:16px;align-items:center;margin-top:18px}.playbar button{border:0;background:var(--ink);color:white;padding:10px 23px;border-radius:15px;font-weight:700;min-height:48px}.controls{padding-top:12px}.controls h2{font-size:44px}.control-group{margin:25px 0}.control-group>label{display:block;font-weight:700;margin-bottom:10px}.speed-row{display:flex;gap:8px}.speed-row button{background:white;border:2px solid var(--line);border-radius:15px;padding:12px;flex:1;font-weight:700}.speed-row button.chosen{background:#e8e0f5;border-color:var(--purple);color:#54358e}.toggle{display:flex;gap:12px;align-items:center;cursor:pointer}.toggle input{width:23px;height:23px;accent-color:var(--teal)}.export-area{padding:22px;background:#e7f3ed;border-radius:22px;margin-top:24px}.export-area .primary{width:100%}.export-area .secondary{margin-top:12px;width:100%}.export-area p{font-size:14px;margin-bottom:0}.export-area progress{width:100%;accent-color:var(--teal)}.editor-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:30px}.edit-canvas{max-width:100%;width:100%;display:block;touch-action:none;border-radius:18px;background:#e5e9e6}.edit-tools{display:flex;flex-direction:column;gap:15px}.edit-tools p{margin:0}.edit-tools .button-row button{flex:1}.corner-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px}.corner-controls label{font-size:14px}.corner-controls input{width:65px;padding:5px;border:1px solid var(--line);border-radius:7px}.empty-state{text-align:center;padding:50px}dialog{border:2px solid var(--ink);border-radius:26px;max-width:570px;width:calc(100% - 32px);padding:32px;color:var(--ink);box-shadow:0 20px 80px #102c3144}dialog::backdrop{background:#102c31aa;backdrop-filter:blur(3px)}dialog h2{font-size:34px}dialog li{margin:12px 0}dialog p{font-size:16px}.close{position:absolute;top:10px;right:12px;border:0;background:#edf2ee;border-radius:50%;font-size:25px;width:38px;height:38px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;border-radius:15px;max-width:90vw;padding:14px 22px;box-shadow:0 4px 20px #0003;z-index:99;display:none}#toast.show{display:block}.demo-note{background:#ede7f7;color:#533c81;padding:10px 16px;border-radius:12px;font-size:14px;margin-bottom:18px}.resume{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:22px 27px;background:#f4ebff;border:2px solid #ded0ef;border-radius:22px;margin-bottom:30px}.resume p{margin:4px 0}.toolbar{display:flex;justify-content:space-between;align-items:center;margin-top:24px;gap:12px}.toolbar button{min-height:48px}.hint-link{border:0;background:none;color:var(--teal);font-weight:700;text-decoration:underline;padding:12px}.busy{opacity:.6;pointer-events:none}.intro-spark{color:#c2842d}.hidden{display:none!important}@media(max-width:900px){.book-grid{grid-template-columns:repeat(2,1fr)}.adventures{grid-template-columns:repeat(3,1fr)}.hero{gap:15px;padding-top:35px}.hero-art{height:350px}.cover-stack{width:165px;transform:rotate(-12deg) translateX(-55px)}.cover-stack.two{width:155px;transform:rotate(13deg) translateX(55px)}.hero-art:before{width:280px;height:280px}.movie-badge{font-size:18px}.capture-layout{grid-template-columns:1fr}.frame-grid{gap:8px}.player-layout{gap:25px}.controls h2{font-size:35px}}@media(max-width:600px){header{padding:17px 20px}.brand-title{font-size:21px}.brand-by{font-size:13px}.help{width:42px;height:42px;padding:0;font-size:21px}.help span{display:none}.hero{grid-template-columns:1fr;padding:35px 24px 35px;gap:0}.hero h1{font-size:44px;margin-top:12px}.hero p{font-size:17px}.hero-art{height:300px;margin-top:18px}.hero-art:before{width:245px;height:245px}.cover-stack{width:145px}.cover-stack.two{width:138px}.movie-badge{bottom:3px}.spark{right:35px;top:20px}.section{padding:35px 20px}.section-head{display:block}.section-head h2{font-size:32px}.book-grid{gap:13px}.book-card{padding:11px;border-radius:19px}.book-art{height:185px;padding:12px}.book-card h3{font-size:22px}.book-card p{font-size:14px}.steps{grid-template-columns:1fr;gap:5px}.steps>div{padding-left:50px;position:relative}.step-icon{position:absolute;left:0}.steps p{margin-bottom:14px}.adventures{grid-template-columns:repeat(2,1fr);gap:14px}.adventure:last-child{grid-column:1/3;width:calc(50% - 7px);justify-self:center}.adventure h3{font-size:22px}.studio-head{padding:22px 20px}.studio-head h1{font-size:29px}.studio-head img{height:72px}.workspace{padding:28px 18px 40px}.progress-steps{gap:7px;padding:15px 8px}.progress-steps span{font-size:13px;padding:8px 12px}.capture-box{padding:23px 15px}.capture-box .button-row{display:grid}.capture-box h3{font-size:26px}.frame-grid{grid-template-columns:repeat(5,1fr);gap:6px}.frame-number{font-size:12px;width:22px;min-width:22px;height:22px;left:3px;top:3px}.frame-edit{font-size:11px;padding:6px 0}.status-line{align-items:flex-start}.count{font-size:20px}.player-layout,.editor-layout{grid-template-columns:1fr}.screen-wrap{padding:16px}.screen{max-height:460px}.controls h2{font-size:35px}.toolbar{flex-wrap:wrap}.resume{flex-direction:column;align-items:flex-start;padding:20px}footer{display:block;text-align:center}footer span{display:block;margin-bottom:10px}.primary,.secondary{padding:12px 18px}.hero .button-row{gap:12px}.hero .primary,.hero .secondary{font-size:16px}.edit-tools{gap:18px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.unlock-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:40px;max-width:950px;margin:0 auto}.unlock-panel{border:2px solid var(--line);border-radius:26px;padding:30px;background:white;box-shadow:var(--shadow)}.unlock-art{background:#e8f3ee;border-radius:26px;padding:35px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center}.unlock-art img{max-width:190px;width:65%;border-radius:5px;box-shadow:6px 8px 0 #b5d5c4;transform:rotate(-4deg)}.unlock-panel h2{font-size:37px}.isbn-field{display:block;width:100%;border:2px solid #9db8ac;border-radius:14px;padding:15px;font-size:22px;letter-spacing:.06em;margin:10px 0 16px}.unlock-panel label{font-weight:700}.divider{display:flex;gap:15px;align-items:center;color:var(--muted);font-size:14px;margin:22px 0}.divider:before,.divider:after{content:'';height:1px;background:var(--line);flex:1}.unlock-panel .primary,.unlock-panel .secondary{width:100%}.form-error{color:#ad3023;min-height:25px;font-size:15px}.consent{display:flex;gap:13px;align-items:flex-start;margin:20px 0;font-size:16px}.consent input{min-width:24px;width:24px;height:24px;accent-color:var(--teal);margin-top:2px}.receipt{word-break:break-all;background:#edf5ee;padding:15px;border-radius:12px;font:14px monospace}.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.gallery-card{border:2px solid var(--line);padding:17px;border-radius:22px;background:white}.gallery-card video,.gallery-card img{width:100%;aspect-ratio:2/3;object-fit:contain;background:#f0f4ee;border-radius:12px}.gallery-card .button-row{gap:8px}.gallery-card button{font-size:14px;padding:9px;min-height:44px}.gallery-card p{font-size:14px}.review-tag{display:inline-block;border-radius:8px;padding:4px 9px;background:#fff0bc;font-size:14px}#removalCode{display:block;width:100%;padding:14px;border:2px solid var(--line);border-radius:12px;margin:12px 0}.studio-head .breadcrumb{max-width:75vw}@media(max-width:650px){.unlock-layout{grid-template-columns:1fr;gap:20px}.unlock-art{display:none}.unlock-panel{padding:23px}.unlock-panel h2{font-size:32px}.gallery-grid{grid-template-columns:1fr}.frame-edit{min-height:38px}.frame-number{font-size:14px}.help span{display:none}}
.brand-logo{display:block;width:240px;height:auto}header{padding-top:9px;padding-bottom:9px}@media(max-width:600px){.brand-logo{width:190px}header{padding-top:8px;padding-bottom:8px}}
/* Book wordmark: larger native vector rendering, without soft effects. */
.brand-logo{width:280px;height:108px;max-width:100%;filter:none;transform:none}
@media(max-width:600px){.brand-logo{width:224px;height:86.4px}}
#scannerDialog{max-width:580px;width:calc(100% - 24px)}.scanner-window{position:relative;background:#102c31;border-radius:18px;overflow:hidden;aspect-ratio:4/3}.scanner-window video{display:block;width:100%;height:100%;object-fit:cover}.barcode-guide{position:absolute;left:8%;right:8%;top:28%;height:44%;border:3px solid #ffd164;border-radius:12px;box-shadow:0 0 0 120px #102c3155;pointer-events:none}.barcode-guide span{position:absolute;left:4%;right:4%;top:50%;height:2px;background:#ff7970}#scannerStatus{min-height:3em;font-weight:600}#scannerDialog [hidden]{display:none}#photoISBN{margin-top:8px}#scannerDialog .button-row>*{flex:1}@media(max-width:600px){#scannerDialog{padding:24px 18px}#scannerDialog h2{font-size:30px}#scannerDialog .button-row{display:grid;grid-template-columns:1fr}}
.scanner-window{aspect-ratio:16/9;max-height:30vh}#scannerDialog>p{margin:12px 0}#scannerDialog .divider{margin:14px 0}#scannerStatus{font-size:16px;min-height:2.8em}
/* API-generated 3840px master, served losslessly at Retina-ready resolution. */
.brand-logo{width:360px;height:auto;aspect-ratio:3/1;border-radius:5px}header .brand{max-width:calc(100% - 60px)}
@media(max-width:600px){.brand-logo{width:270px;height:auto}}
/* Blend the darker artwork backdrop into the solid teal header. */
header{isolation:isolate}header .brand{mix-blend-mode:lighten}.brand-logo{border-radius:0}
.alignment-preview{border:2px solid var(--line);border-radius:18px;padding:18px;background:#e7f3ed;text-align:center}.alignment-preview canvas{width:180px;max-width:100%;height:auto;background:white;box-shadow:0 3px 14px #102c3120}.alignment-preview h3{font-size:22px}#alignmentStatus{font-size:16px;margin:0}.edit-canvas{touch-action:none}.page-camera-window{position:relative;background:#102c31;height:42vh;min-height:230px;overflow:hidden;border-radius:16px}.page-camera-window video{width:100%;height:100%;object-fit:contain}.page-camera-guide{position:absolute;height:82%;aspect-ratio:2/3;left:50%;top:9%;transform:translateX(-50%);border:3px solid #ffd164;border-radius:4px;box-shadow:0 0 0 300px #102c3140;pointer-events:none}.page-camera-guide span{position:absolute;top:8px;left:0;right:0;text-align:center;background:#102c31c0;color:white;font-size:12px;letter-spacing:.1em}#pageCameraDialog{width:calc(100% - 24px);max-width:620px}#pageCameraStatus{font-size:16px}#pageCameraDialog .button-row{gap:10px}#pageCameraDialog .button-row button{flex:1}#pageCameraDialog p{margin:12px 0}.frame-edit{white-space:nowrap;font-size:12px}
#markerOverlay{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.page-camera-guide{border:0;box-shadow:none;border-radius:0;--guide:#ffd164}.page-camera-guide i{position:absolute;width:26px;height:26px;border-color:var(--guide);border-style:solid}.page-camera-guide i:nth-child(1){left:0;top:0;border-width:4px 0 0 4px}.page-camera-guide i:nth-child(2){right:0;top:0;border-width:4px 4px 0 0}.page-camera-guide i:nth-child(3){right:0;bottom:0;border-width:0 4px 4px 0}.page-camera-guide i:nth-child(4){left:0;bottom:0;border-width:0 0 4px 4px}.marker-ready .page-camera-guide{--guide:#53ef9c}.marker-ready #pageCameraStatus{color:#075b38;font-weight:700}.marker-ready #takePage{background:#85edb6}
.dashboard{max-width:1240px;margin:auto;padding:40px 26px}.dashboard-heading{display:flex;justify-content:space-between;align-items:start;gap:30px}.dashboard h1{font-size:44px}.dashboard h2{font-size:27px}.dashboard-toolbar{display:flex;align-items:end;gap:16px;flex-wrap:wrap}.dashboard-toolbar label{font-size:14px;font-weight:700;display:grid;gap:6px}.dashboard select{font-size:16px;border:2px solid var(--line);border-radius:12px;padding:12px 34px 12px 14px;appearance:none;background:white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23102c31' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0}.metric{background:white;border:1px solid var(--line);border-radius:18px;padding:23px;display:grid;gap:6px}.metric span{font-weight:700}.metric strong{font:500 48px 'Fredoka',sans-serif}.metric small{font-size:14px;color:var(--muted)}.dashboard-panels{display:grid;grid-template-columns:1.15fr 1fr;gap:20px}.dashboard-panel{background:#e7f3ed;padding:24px;border-radius:20px}.table-scroll{overflow-x:auto}.dashboard table{border-collapse:collapse;width:100%;font-size:15px}.dashboard th,.dashboard td{text-align:left;padding:12px 9px;border-bottom:1px solid #b9d3c9}.activity-bars{height:150px;display:flex;align-items:end;gap:4px;margin-top:30px}.activity-bars>div{height:100%;flex:1;display:flex;align-items:end}.activity-bars span{width:100%;background:#116c66;border-radius:4px 4px 0 0}.empty-dashboard{padding:22px 0;color:var(--muted)}.inbox-section{margin-top:50px;border-top:2px solid var(--line);padding-top:30px}.note-label{display:block;font-size:14px;font-weight:700;margin:18px 0 10px}.note-label textarea{width:100%;min-height:80px;box-sizing:border-box;display:block;border:1px solid #a2bdb1;border-radius:10px;margin-top:7px;padding:10px;font:16px/1.4 sans-serif}.dashboard .gallery-card{align-self:start}.dashboard .gallery-card .hint-link{font-size:14px}@media(max-width:720px){.dashboard-heading{display:block}.dashboard h1{font-size:34px}.metric-grid{grid-template-columns:repeat(2,1fr);gap:10px}.metric{padding:16px}.metric strong{font-size:38px}.dashboard-panels{grid-template-columns:1fr}.dashboard{padding:25px 16px}.inbox-section .section-head{display:block}}
