/* SnapSubmit Studio — one shared visual language, no remote fonts. */
:root{--brand:#2447d8;--brand-dark:#1734ad;--ink:#202534;--muted:#646b7b;--line:#e0e3e9;--paper:#fff;--canvas:#f5f6f8;--tint:#edf0ff;--danger:#a32838;--radius:24px}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{margin:0;background:var(--canvas);color:var(--ink);font:16px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
a{color:var(--brand);text-underline-offset:4px}
button,input,select,textarea{font:inherit}
button,.button-link,.primary,.upload-button{min-height:48px;border-radius:14px;padding:11px 18px;font-weight:650;line-height:1.4}
button{border:1px solid var(--line);background:white;color:var(--ink);cursor:pointer;transition:background .16s,border-color .16s}
button:hover{background:#f1f3f8;border-color:#b6becf}
button:disabled,input:disabled{opacity:.45;cursor:not-allowed}
.primary{display:inline-flex;align-items:center;justify-content:center;gap:22px;border:1px solid var(--brand);background:var(--brand);color:white;text-decoration:none;transition:background .16s,box-shadow .16s}
.primary:hover{background:var(--brand-dark);border-color:var(--brand-dark);box-shadow:0 4px 14px #1e285019}
.primary:disabled{box-shadow:none}
.button-link{display:inline-flex;align-items:center;justify-content:center;gap:12px;text-decoration:none;background:var(--tint);border:1px solid transparent}
.button-link:hover{background:#e1e7ff}
.quiet-link{font-weight:650;text-decoration:none}
.text-button{background:none;border:0;color:var(--brand);text-decoration:underline;text-underline-offset:4px}
.danger{color:var(--danger)}
.big{width:100%}
:focus-visible{outline:3px solid #7088f3;outline-offset:4px}
input,select,textarea{color:var(--ink);accent-color:var(--brand)}
input:not([type=file]):not([type=hidden]),select,textarea{border:1px solid #bcc3d1;border-radius:12px;background:white;padding:12px;max-width:100%}
.vh,.skip:not(:focus){position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}
.skip:focus{position:fixed;top:10px;left:10px;z-index:100;padding:12px;background:white}
h1,h2,h3{line-height:1.12;letter-spacing:-.045em;margin:0 0 18px}
h1{font-size:clamp(2.25rem,5vw,3.7rem);font-weight:750}
h1 em{font-style:normal;color:var(--brand)}
h2{font-size:clamp(1.6rem,3vw,2.5rem);font-weight:700}
h3{font-size:1.2rem;letter-spacing:-.02em}
p{margin:0 0 18px}
.eyebrow{color:var(--brand);font-size:11px;font-weight:750;letter-spacing:.13em;line-height:1.6;margin-bottom:18px}
.hint{font-size:13px;color:var(--muted);line-height:1.6}
.top{max-width:1240px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 32px}
.brand{display:flex;align-items:center;gap:10px;font-size:22px;letter-spacing:-.055em;color:var(--ink);text-decoration:none}
.brand img{border-radius:9px}
.brand-dot{color:var(--brand)}
.top nav{display:flex;align-items:center;gap:28px;font-size:13px;font-weight:650}
.top nav a{text-decoration:none}
.nav-secondary{color:var(--muted)}
.guest-label{border:1px solid var(--line);border-radius:99px;padding:12px 18px;background:white}
.guest-label span{margin-left:12px}
main{max-width:1176px;margin:auto;padding:24px 32px 64px;min-height:60vh}
.card{border:1px solid var(--line);background:white;border-radius:var(--radius);padding:clamp(24px,5vw,48px);min-width:0;overflow-wrap:anywhere}
.footer{max-width:1176px;margin:auto;padding:32px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:48px;color:var(--muted);font-size:12px}
.footer strong{display:block;color:var(--ink);font-size:15px;margin-bottom:5px}
.footer details{max-width:440px}
.footer summary{color:var(--muted)}
details p{margin:12px 0 0}
summary{cursor:pointer;min-height:44px;display:list-item;padding:10px 0;font-size:14px;font-weight:650}
.flash p,.error,.badge{padding:14px 18px;border-radius:14px;font-size:14px;margin:0 0 16px}
.error,.flash-error{background:#fff0f1;color:#8c2335;border:1px solid #f1ccd2}
.flash-success,.badge.live{background:#eaf6ef;color:#216244}
.flash-warning,.badge{background:#fff5d9;color:#75500b}
.flash{margin-bottom:24px}
.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:currentColor;margin-right:8px;vertical-align:1px}
.hero{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center;min-height:580px;padding:20px 0 64px}
.hero h1{font-size:clamp(2.75rem,5.2vw,4.45rem);line-height:1.04;letter-spacing:-.06em;margin-bottom:26px}
.hero-description{max-width:410px;font-size:17px;line-height:1.7;color:var(--muted)}
.hero-actions{display:flex;align-items:center;gap:26px;margin:30px 0 18px;font-size:14px}
.hero-actions .primary{padding:17px 24px;border-radius:99px}
.hero-reassurance{font-size:12px;color:var(--muted)}
.hero-reassurance span{padding:0 7px}
.hero-demo{position:relative;height:490px;background:#e9edf4;border-radius:32px;overflow:hidden;isolation:isolate;background-image:radial-gradient(#b8c0d144 .8px,transparent .8px);background-size:16px 16px}
.demo-label{position:absolute;top:28px;left:28px;font-size:9px;letter-spacing:.12em;color:#606c86;font-weight:700}
.note-paper{position:absolute;top:86px;left:28px;width:65%;height:290px;background:#fff8df;transform:rotate(-9deg);padding:28px;box-shadow:0 12px 26px #242b4412}
.paper-kicker{font-size:8px;letter-spacing:.14em;color:#8a7850;font-weight:700}
.handwritten{font-family:"Comic Sans MS","Segoe Print",cursive;font-style:italic;color:#5a594e;background:repeating-linear-gradient(transparent 0 29px,#baac792b 29px 30px)}
.handwritten h2{font-family:inherit;font-size:25px;margin:22px 0 12px;line-height:1.3}
.handwritten p{font-size:13px;line-height:30px;white-space:nowrap}
.note-underline{display:block;width:80px;height:5px;background:#eed77e;transform:rotate(-4deg)}
.typed-paper{position:absolute;top:154px;right:22px;width:66%;min-height:280px;border:1px solid #e4e7ed;background:white;border-radius:7px;padding:22px;transform:rotate(5deg);box-shadow:0 20px 40px #252e481a}
.paper-toolbar{display:flex;align-items:center;gap:8px;font-size:10px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.file-icon{display:inline-flex;align-items:center;justify-content:center;width:27px;height:32px;background:var(--tint);color:var(--brand);font-weight:800;border-radius:5px}
.mini-pill{background:#edf5ed;color:#327046;border-radius:20px;padding:2px 6px;font-size:8px;margin-left:auto}
.typed-paper h2{font-family:Georgia,serif;font-size:26px;line-height:1.18;letter-spacing:-.035em;margin-top:25px}
.typed-paper ol{font-size:12px;color:var(--muted);line-height:2;padding-left:18px}
.paper-footer{border-top:1px solid var(--line);padding-top:13px;display:flex;justify-content:space-between;font-size:7px;letter-spacing:.1em;color:var(--brand)}
.demo-caption{position:absolute;bottom:9px;left:0;right:0;text-align:center;font-size:10px;color:var(--muted);margin:0;padding:8px}
.benefit-strip{display:flex;justify-content:space-around;gap:20px;flex-wrap:wrap;padding:26px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--muted);font-size:13px}
.benefit-strip span:before{content:'✳';margin-right:12px;color:#7c87a1}
.how-section{padding:80px 0}
.section-heading{margin-bottom:42px}
.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:44px}
.how-grid p{font-size:14px;color:var(--muted);max-width:270px;margin-bottom:0}
.step-index{display:flex;width:40px;height:40px;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:50%;margin-bottom:24px;font-size:12px;color:var(--brand);background:white}
.pricing-band{padding:36px 40px;border-radius:var(--radius);background:#e9edff;display:flex;align-items:center;justify-content:space-between;gap:28px}
.pricing-band .eyebrow{margin-bottom:8px}
.pricing-band h2{font-size:32px;margin-bottom:8px}
.pricing-band h2 span{font-size:14px;font-weight:450;letter-spacing:0;display:block;margin-top:8px}
.pricing-band p:last-child{font-size:13px;color:var(--muted);margin:0}
.pricing-band .primary{white-space:nowrap}
.home-bottom{display:grid;grid-template-columns:1fr 1fr;gap:70px;padding-top:72px}
.android-card{border:1px solid var(--line);border-radius:var(--radius);background:white;padding:32px}
.android-card h2{margin-top:12px}
.android-card p{font-size:14px;color:var(--muted)}
.android-card .hint{font-size:11px;margin:18px 0 0}
.faq h2{font-size:26px}
.faq details{border-bottom:1px solid var(--line);padding:6px 0}
.faq details p{font-size:14px;color:var(--muted);padding-bottom:16px}
.workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:12px 0 32px}
.workspace-heading h1{font-size:clamp(2rem,4vw,3rem);margin-bottom:12px}
.workspace-heading .eyebrow{margin-bottom:12px}
.workspace-heading p:last-child{color:var(--muted);font-size:14px;margin:0}
.count-pill{background:white;border:1px solid var(--line);border-radius:99px;padding:8px 15px;white-space:nowrap;font-size:12px;font-variant-numeric:tabular-nums}
.board-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 4px 14px;font-size:10px;font-weight:700;letter-spacing:.08em;color:var(--muted)}
.board-toolbar .hint{font-size:11px;font-weight:450;letter-spacing:0}
.page-board{position:relative;min-height:370px;border:1px solid var(--line);border-radius:24px;padding:26px;background-color:#eceff3;background-image:radial-gradient(#c1c7d2 1px,transparent 1px);background-size:18px 18px;transition:border-color .16s,background-color .16s}
.page-board.drop-active{border-color:var(--brand);background-color:#e2e8ff;outline:3px solid #2447d822}
.board-empty{min-height:315px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.board-empty h2{font-size:21px;margin:26px 0 10px}
.board-empty p{font-size:13px;color:var(--muted);margin-bottom:0}
.empty-paper{position:relative;width:62px;height:80px;border:1px solid #d2d8e4;background:white;border-radius:5px;transform:rotate(-8deg);padding:19px 12px;box-shadow:5px 5px 0 #dfe4ee}
.empty-paper span{display:block;height:2px;background:#dbe1ed;margin-bottom:8px}
.empty-paper span:last-of-type{width:60%}
.empty-paper b{position:absolute;right:-10px;bottom:-8px;color:white;background:var(--brand);width:29px;height:29px;border-radius:50%;line-height:26px}
.page-tiles{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:24px;align-items:start}
.page-tile{position:relative;background:white;border:1px solid #e0e3ea;padding:9px;border-radius:16px;box-shadow:0 3px 8px #1d284007;min-width:0}
.page-photo{display:block;position:relative;width:100%;padding:0;border:0;border-radius:9px;background:#f7f7f7;overflow:hidden;aspect-ratio:3/4;cursor:zoom-in}
.page-photo img{width:100%;height:100%;display:block;object-fit:contain}
.tile-caption{display:flex;align-items:center;gap:2px;padding-top:5px}
.page-label{font-size:12px;font-weight:650;flex:1;padding-left:5px}
.drag-handle{touch-action:none;cursor:grab;font-size:23px;width:44px;height:44px;min-height:44px;padding:0;background:transparent;border:0;color:#8590a8}
.page-menu{position:relative}
.page-menu summary{list-style:none;width:38px;min-height:44px;text-align:center;font-size:23px;line-height:24px;padding:8px 0}
.page-menu summary::-webkit-details-marker{display:none}
.page-menu[open]{z-index:5}
.page-menu > div{position:absolute;right:0;bottom:44px;min-width:185px;background:white;border:1px solid var(--line);padding:6px;border-radius:14px;box-shadow:0 12px 28px #2025341a}
.page-menu button,.replace-label{display:block;border:0;background:none;text-align:left;width:100%;padding:12px;font-size:13px;min-height:44px;border-radius:8px;font-weight:500}
.page-menu button:hover,.replace-label:hover{background:var(--canvas)}
.replace-label{position:relative;overflow:hidden;cursor:pointer}
.replace-label input,.upload-button input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;font-size:0}
.replace-label:focus-within,.upload-button:focus-within{outline:3px solid #7088f3;outline-offset:2px}
.enhanced-only{display:none}
.enhanced .enhanced-only{display:inline-flex;align-items:center;justify-content:center}
.enhanced .fallback-only{display:none}
.pending-badge{position:absolute;bottom:10px;left:10px;font-size:10px;background:#202534d9;color:white;padding:4px 10px;border-radius:99px}
.pending-tile .page-photo{cursor:default;opacity:.75}
.upload-state{font-size:11px;color:var(--muted);padding:9px 4px 0;margin:0;overflow-wrap:anywhere}
.upload-failed{border-color:#d99fa8}
.upload-failed .upload-state{color:var(--danger)}
.pending-actions{display:flex;gap:4px;margin-top:5px}
.pending-actions button{font-size:11px;padding:7px 10px;min-height:44px;border:0}
.dragging{background:transparent;border:2px dashed #9caaca;box-shadow:none}
.dragging > *{visibility:hidden}
.page-photo img{user-select:none;-webkit-user-drag:none}
.drag-ghost{position:fixed;pointer-events:none!important;z-index:100;transform:rotate(3deg) scale(1.03);box-shadow:0 20px 40px #20253433}
.workspace-status{display:flex;align-items:center;gap:14px;justify-content:space-between;min-height:52px;padding:10px 3px}
.workspace-status p{margin:0;font-size:12px;color:var(--muted)}
.workspace-status button{font-size:12px;min-height:44px;padding:8px 12px}
.studio-dock{position:sticky;bottom:14px;z-index:10;display:flex;justify-content:space-between;align-items:center;gap:20px;background:#fffffff5;border:1px solid var(--line);border-radius:22px;padding:16px;box-shadow:0 8px 35px #20253412}
.capture-controls{display:flex;gap:8px;align-items:center}
.capture-controls button,.upload-button{display:flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap;font-size:13px;border:1px solid var(--line);background:white}
.capture-controls svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.upload-button{position:relative;overflow:hidden;cursor:pointer}
#make-form{display:flex;align-items:center;gap:16px}
#make-form .primary{white-space:nowrap;font-size:14px}
.output-choice{display:block}
.output-choice > span{display:block;font-size:9px;font-weight:700;letter-spacing:.09em;color:var(--muted);padding-left:3px}
.output-choice select{padding:4px 22px 4px 0;border:0;font-size:13px;min-height:30px;background:transparent}
.studio-footnote{display:flex;justify-content:space-between;gap:22px;font-size:11px;color:var(--muted);padding:22px 4px}
.studio-footnote details{max-width:360px}
.studio-footnote summary{font-size:11px;padding:0;min-height:24px}
.studio-footnote p{font-size:12px}
dialog{border:0;border-radius:24px;padding:0;color:var(--ink);max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);box-shadow:0 24px 100px #0005}
dialog::backdrop{background:#101729bf;backdrop-filter:blur(5px)}
body:has(dialog[open]){overflow:hidden}
.camera-dialog{width:580px;background:#10151d;color:white}
.camera-header,.viewer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 20px}
.camera-header h2,.viewer-toolbar h2{font-size:16px;letter-spacing:-.02em;margin:0}
.camera-header button{background:#ffffff15;color:white;border-color:#ffffff28}
.camera-view{position:relative;height:min(55dvh,530px);background:#080b10}
.camera-view video{display:block;width:100%;height:100%;object-fit:contain}
.camera-guide{position:absolute;inset:8% 12%;border:1px solid #ffffff88;border-radius:12px;pointer-events:none}
.camera-view > p{position:absolute;bottom:12px;left:0;right:0;margin:0;text-align:center;font-size:11px;color:white;text-shadow:0 1px 5px #000;background:#0006;padding:5px}
.camera-footer{padding:16px 20px;text-align:center}
.camera-footer p{font-size:12px;color:#c5cedd;min-height:20px;margin-bottom:14px}
#shutter{display:block;border:2px solid white;border-radius:50%;padding:5px;width:70px;height:70px;margin:auto;background:transparent}
#shutter span{display:block;background:white;width:100%;height:100%;border-radius:50%}
#shutter:active span{background:#a9b9ff}
#camera-choose{background:none;border:0;color:#c5cedd;font-size:12px;margin-top:8px}
.image-dialog{width:min(960px,95vw)}
.image-scroll{overflow:auto;max-height:78dvh;background:#e7e9ef;padding:16px}
.image-scroll img{display:block;max-width:100%;height:auto;margin:auto}
.processing{max-width:720px;text-align:center;margin:45px auto}
.processing h1{font-size:clamp(2rem,5vw,3rem)}
.processing p{color:var(--muted)}
.spinner{width:44px;height:44px;border:3px solid var(--line);border-top-color:var(--brand);border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 32px}
@keyframes spin{to{transform:rotate(360deg)}}
.flow-heading{margin:12px 0 32px;max-width:670px}
.flow-heading p:last-child{font-size:15px;color:var(--muted)}
.flow-steps{display:flex;gap:24px;font-size:11px;color:var(--muted);margin-bottom:32px}
.flow-steps [aria-current]{color:var(--brand);font-weight:700}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr);gap:32px;align-items:start}
.preview-panel{min-width:0;padding:26px;background:#eaeef4;border:1px solid var(--line);border-radius:var(--radius)}
.panel-label{display:flex;justify-content:space-between;font-size:10px;letter-spacing:.08em;color:var(--muted);font-weight:700;margin-bottom:20px}
.preview-panel > .hint{margin:20px 0 0;font-size:12px}
.checkout-card{position:sticky;top:24px;padding:30px}
.checkout-card h2{font-size:24px;margin:18px 0 8px}
.checkout-card .file-icon{width:40px;height:48px;font-size:20px;border-radius:8px}
.checkout-includes{list-style:none;padding:0;margin:24px 0;font-size:13px;color:var(--muted)}
.checkout-includes li{margin:10px 0}
.checkout-includes li:before{content:'✓';color:var(--brand);margin-right:10px}
.price-line{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:24px 0 20px;padding-top:22px;border-top:1px solid var(--line)}
.price-line strong{font-size:26px;letter-spacing:-.04em}
.price-line span{font-size:12px;color:var(--muted)}
.checkout-card form + .hint{text-align:center;font-size:11px;margin-top:12px}
.checkout-card > .button-link{width:100%;font-size:12px;margin-bottom:12px}
.code-box{border-top:1px solid var(--line);margin-top:20px;padding-top:8px}
.code-box summary{font-size:12px;color:var(--muted)}
.code-box label{display:block;font-size:12px;margin:12px 0 6px}
.code-row{display:flex;gap:8px}
.code-row input{min-width:0;width:100%;font-size:13px}
.code-row button{font-size:12px;white-space:nowrap}
.photo-tips{margin-top:24px}
.photo-tips summary{font-size:13px;color:var(--muted)}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px;list-style:none;padding:0}
.grid img{width:100%;aspect-ratio:3/4;object-fit:contain;background:white;border:1px solid var(--line);border-radius:9px}
.new-document{margin-top:30px}
.export-facts{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 18px}
.export-facts span{padding:5px 10px;border-radius:99px;background:#f7f9fc;color:var(--muted);font-size:11px}
.export-paper{background:white;padding:clamp(20px,4vw,42px);border:1px solid #e0e3eb;box-shadow:0 8px 24px #20253408;font:16px/1.8 Georgia,serif;min-height:250px}
.export-paper h2{font:700 23px/1.3 Georgia,serif;letter-spacing:-.03em;margin:16px 0}
.export-paper p{white-space:pre-wrap;overflow-wrap:anywhere}
.export-deck{display:grid;gap:18px}
.export-slide{background:#fff;padding:28px;border-radius:9px;min-height:200px}
.export-slide h2{font-size:25px}
.export-slide p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;border-left:3px solid var(--brand);padding-left:16px}
.export-slide small{color:var(--brand)}
.export-cover{background:#202c48;color:white;display:flex;flex-direction:column;justify-content:center}
.export-cover small{color:#a9bcff}
.export-sample img{display:block;max-width:100%;max-height:360px;object-fit:contain;margin:16px auto}
.export-table{overflow-x:auto}
.export-table table{border-collapse:collapse;width:100%;font:13px/1.5 system-ui}
.export-table td{border:1px solid var(--line);padding:10px;min-width:90px}
.export-table tr:first-child{background:#202c48;color:white}
.done{max-width:650px;margin:28px auto;text-align:center}
.done h1{font-size:clamp(2.2rem,5vw,3.25rem)}
.done-check{width:60px;height:60px;background:#edf4ec;color:#356a3b;border-radius:50%;display:grid;place-items:center;font-size:26px;margin:0 auto 28px}
.download-file{display:flex;text-align:left;align-items:center;gap:14px;border:1px solid var(--line);border-radius:16px;padding:18px;margin:28px 0}
.download-file strong{display:block;font-size:14px;overflow-wrap:anywhere}
.download-file span{font-size:12px;color:var(--muted)}
.download-file .file-icon{flex-shrink:0;width:40px;height:48px;font-size:18px;color:var(--brand)}
.done > .button-link{width:100%;margin-top:12px;font-size:13px}
.done .hint{margin-top:20px;font-size:12px}
.done form{margin-top:20px}
.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:16px;margin:24px 0}
.stat{border:1px solid var(--line);padding:18px;border-radius:16px;display:grid}
.stat strong{font-size:24px}
.stat span{font-size:12px;color:var(--muted)}
.bars,.staff-list{list-style:none;padding:0;font-size:13px}
.bars li{display:grid;grid-template-columns:60px 1fr auto;gap:10px;align-items:center;margin:8px 0}
.bar{height:10px;background:var(--canvas);border-radius:20px;overflow:hidden}
.bar > span{display:block;height:100%;background:var(--brand)}
.staff-list li{overflow-wrap:anywhere;margin:8px 0}
@media(min-width:1000px){.page-tiles{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:950px){
  .top{padding:20px 24px}main{padding:20px 24px 48px}
  .hero{gap:24px;min-height:500px}.hero-demo{height:430px}.hero h1{font-size:clamp(2.6rem,5vw,3.6rem)}
  .note-paper{left:18px;padding:20px;width:72%}.typed-paper{right:16px;padding:18px;width:74%;top:154px;min-height:230px}
  .typed-paper h2{font-size:23px}.note-paper h2{font-size:22px}.typed-paper ol{font-size:10px}.handwritten p{font-size:11px}
  .hero-actions{gap:18px;flex-wrap:wrap}.hero-actions .primary{padding:14px 20px}
  .studio-dock{gap:12px;padding:12px}.capture-controls button,.upload-button{padding:12px;font-size:12px}#make-form{gap:10px}
  .checkout-layout{gap:20px;grid-template-columns:minmax(0,1.2fr) minmax(280px,1fr)}.checkout-card{padding:24px}
}
@media(max-width:700px){
  .top{padding:18px 20px}.brand{font-size:20px;gap:8px}.brand img{width:30px;height:30px}.nav-secondary{display:none}.guest-label{padding:10px 13px;font-size:11px}.guest-label span{margin-left:5px}
  main{padding:16px 20px 40px}.hero{grid-template-columns:1fr;padding:20px 0 36px;gap:26px}.hero-copy{max-width:520px}.hero h1{font-size:clamp(2.8rem,9.3vw,4rem)}.hero-description{font-size:15px;max-width:380px}.hero-actions{margin:24px 0 16px}.hero-reassurance{font-size:11px}
  .hero-demo{height:410px;max-width:520px;width:100%}.note-paper{left:30px;top:70px;width:66%;padding:24px}.typed-paper{right:25px;width:65%;top:138px;padding:22px}.typed-paper h2{font-size:26px}.typed-paper ol{font-size:12px}.handwritten p{font-size:12px}
  .benefit-strip{display:grid;grid-template-columns:1fr 1fr;gap:15px;font-size:11px;padding:24px 8px}.benefit-strip span:before{margin-right:8px}
  .how-section{padding:48px 0}.section-heading{margin-bottom:28px}.how-grid{grid-template-columns:1fr;gap:26px}.how-grid article{position:relative;padding-left:58px}.step-index{position:absolute;left:0;top:0}.how-grid h3{margin-bottom:10px}.how-grid p{max-width:none}
  .pricing-band{padding:28px;display:block}.pricing-band .primary{margin-top:24px}.home-bottom{grid-template-columns:1fr;gap:36px;padding-top:36px}.android-card{padding:28px}
  .footer{padding:28px 20px;flex-direction:column;gap:22px}.footer details{max-width:100%}
  .workspace-heading{display:block;margin:6px 0 26px}.workspace-heading h1{font-size:32px}.workspace-heading .eyebrow{font-size:9px}.workspace-heading p:last-child{font-size:13px}.count-pill{display:inline-block;margin-top:18px}
  .board-toolbar{align-items:start;font-size:9px;gap:12px}.board-toolbar .hint{font-size:10px;text-align:right}
  .page-board{padding:16px;border-radius:20px;min-height:300px}.board-empty{min-height:280px}.board-empty h2{font-size:18px}
  .page-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.page-tile{padding:7px;border-radius:13px}.drag-handle{width:36px}.page-label{font-size:11px;padding:0}.page-menu summary{width:30px}
  .studio-dock{display:block;bottom:8px;border-radius:20px;padding:12px;padding-bottom:max(12px,env(safe-area-inset-bottom));margin:0 -8px}
  .capture-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px}.capture-controls button,.upload-button{width:100%;font-size:12px;min-height:44px}
  #make-form{justify-content:space-between;border-top:1px solid var(--line);padding-top:12px;margin-top:12px;gap:10px}#make-form .primary{font-size:13px;padding:12px 17px;gap:18px}.output-choice select{font-size:12px;max-width:165px}
  .studio-footnote{flex-direction:column;gap:8px;padding-top:18px;font-size:10px}.studio-footnote summary{font-size:11px}.studio-footnote details{max-width:none}
  .camera-dialog{max-width:100%;max-height:100dvh;width:100vw;height:100dvh;border-radius:0}.camera-dialog[open]{display:flex;flex-direction:column}.camera-view{flex:1;min-height:0;height:auto}.camera-footer{padding-bottom:max(16px,env(safe-area-inset-bottom))}
  .flow-heading{margin:4px 0 24px}.flow-heading h1{font-size:34px}.flow-heading p:last-child{font-size:14px}.flow-steps{font-size:10px;gap:18px;margin-bottom:24px}
  .checkout-layout{grid-template-columns:1fr;gap:24px}.preview-panel{padding:20px}.checkout-card{position:static;padding:26px}.checkout-card .primary{min-height:52px}
  .done{margin:12px auto}.done .primary{font-size:14px}.done .button-link{font-size:12px}
}
@media(max-width:360px){
  main{padding-inline:14px}.top{padding-inline:14px}.hero-demo{height:390px}.typed-paper{right:14px;padding:16px}.typed-paper h2{font-size:22px}.typed-paper ol{font-size:10px}.note-paper{left:20px;padding:20px}.handwritten p{font-size:10px}
  .page-board{padding:10px}.page-tiles{gap:10px}.drag-handle{width:32px}.page-menu summary{width:26px}.page-label{font-size:10px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}.drag-ghost{transform:none}}
