@font-face{font-family:PepeDemo;src:url('/static/fonts/Pepe-demo.ttf');font-weight:400;font-display:swap}
:root{--type-title:clamp(32px,4vw,48px);--type-section:clamp(26px,3vw,36px)}
.reading-samples{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}
.reading-sample{min-width:0;padding:28px;background:#f4f4f4;border-radius:20px}
.reading-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:30px;font-size:12px}
.reading-controls label{display:flex;align-items:center;gap:8px;color:#777}
.reading-controls input{width:65px;accent-color:#171717}
.reading-sample textarea{width:100%;height:320px;background:transparent;border:0;resize:vertical;font-weight:400;font-synthesis:none;color:#171717;overflow-wrap:anywhere}
.reading-sample small{display:block;color:#777;font-size:11px;margin-top:12px}
.refine-controls{border-top:1px solid #e9e9e9;margin-top:24px;padding-top:20px;font-size:13px}
.refine-controls summary{cursor:pointer;width:max-content;font-weight:600}
.refine-fields{display:flex;flex-wrap:wrap;align-items:end;gap:16px;margin-top:22px}
.refine-fields label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#666}
.refine-fields input{background:#f5f5f5;border:1px solid #e5e5e5;border-radius:12px;width:115px;height:44px;padding:10px;font:inherit;color:#171717}
.refine-controls small{display:block;margin-top:16px;color:#888;font-size:11px}
.refine-controls p{font-size:12px;color:#666}
.saved-pairs{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.saved-pairs button{background:#f3f3f3;border-radius:100px;padding:8px 14px;font-size:12px}
@media(max-width:800px){.reading-samples{grid-template-columns:1fr}.reading-sample{padding:22px}.reading-controls{flex-wrap:wrap}.reading-controls input{width:55px}}
.mock-poster>small,.mock-poster>span,.mock-card>span{display:none}
.mock-poster{justify-content:center!important}
.result-mode .under-note,.result-mode .overline{display:none}
.result-mode .result-title input{font-size:var(--type-title);font-weight:700;letter-spacing:-1.5px;max-width:100%;width:100%}
.result-mode .section-heading h2{font-size:var(--type-section);font-weight:700;letter-spacing:-1px}
.result-details:has(#coverageText[hidden]){display:none}
.specimen-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.specimen-column{container-type:inline-size;display:flex;flex-direction:column;justify-content:space-around;gap:40px;min-height:470px;padding:40px 24px;background:#f5f5f5;border-radius:5px;overflow:hidden}
.photo-styled .specimen-column{background:var(--photo-paper,#f0efdc)}
.specimen-column .font-content{font-weight:400;font-synthesis:none;line-height:1.12;letter-spacing:0;white-space:nowrap!important}
.specimen-large{font-size:29cqw}.specimen-medium{font-size:22cqw}.specimen-small{font-size:15cqw}
.draggable-specimen{cursor:grab;touch-action:none;user-select:none;transition:scale .22s,filter .22s;will-change:translate}
.draggable-specimen.is-dragging{cursor:grabbing;scale:1.045;filter:drop-shadow(0 18px 18px #0002);z-index:5}
.found-artwork:has(.is-dragging){z-index:5}
@media(max-width:700px){.specimen-columns{grid-template-columns:1fr;gap:12px}.specimen-column{min-height:380px;padding:28px;gap:24px}.result-mode .result-title input{font-size:30px}}
body:has(.photo-dialog[open]){overflow:hidden}
.photo-dialog{width:min(850px,calc(100vw - 32px));max-width:none;max-height:92dvh;padding:0;border:0;border-radius:28px;background:#fff;box-shadow:0 24px 100px #0003;overflow:auto}
.photo-dialog::backdrop{background:rgb(20 20 24 / .45);backdrop-filter:blur(5px)}
.landing-mode .photo-dialog .note{width:100%;padding:36px;min-height:0;border:0;box-shadow:none;border-radius:0}
.photo-dialog .note-top{display:none}
.close-editor{position:absolute;right:18px;top:16px;width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#f3f3f3;font-size:24px;line-height:1}
.photo-dialog #photoState h2{font-size:28px;font-weight:700;margin:0 40px 12px 0;letter-spacing:-1px}
.photo-dialog #selectHelp{font-size:13px;line-height:1.5;margin:0 0 22px;color:#777}
.photo-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.photo-toolbar>div{display:flex;align-items:center;gap:4px;background:#f3f3f3;padding:4px;border-radius:100px}
.photo-toolbar button{min-height:34px;min-width:34px;border-radius:100px;padding:6px 10px;font-size:12px}
.photo-toolbar button:hover{background:white}
.photo-toolbar output{font-size:11px;min-width:38px;text-align:center}
.photo-toolbar>span{font-size:11px;color:#888}
.photo-dialog .photo-stage{display:block;height:clamp(240px,45dvh,440px);overflow:auto;background:#f2f2f2;border-radius:16px;min-height:0}
.photo-dialog #photoCanvas{display:block;width:100%;max-width:none;max-height:none;height:auto;margin:auto;touch-action:none;cursor:crosshair}
.photo-dialog .note-actions{display:flex;flex-direction:column-reverse;justify-content:center;gap:16px;margin-top:22px;padding-top:22px}
.photo-dialog #generateButton{align-self:center;min-width:220px;justify-content:center}
.photo-dialog #replaceButton{font-size:12px}
.photo-dialog #status{font-size:12px;line-height:1.6;text-align:center}
@media(max-width:600px){.landing-mode .photo-dialog .note{padding:28px 18px}.photo-toolbar{align-items:flex-start;flex-direction:column;gap:8px}.photo-dialog #photoState h2{font-size:25px}.photo-dialog .selection-tools{font-size:10px}.photo-dialog{border-radius:22px}}
@font-face{font-family:Inter;src:url('/static/fonts/Inter-Bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:Inter;src:url('/static/fonts/Inter-SemiBold.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:PepeDemoColor;src:url('/static/fonts/Pepe-demo-color.ttf');font-weight:400;font-display:swap}
.landing-mode .under-note{display:none}
.landing-mode main{margin-top:0}
.landing-mode .hero{min-height:800px;display:flex;flex-direction:column;justify-content:center;padding:64px 0}
.landing-intro h1{font-size:clamp(42px,5.3vw,68px);letter-spacing:-3px;font-weight:700;text-align:center;line-height:1.03}
.wordmark{font-weight:700}
header #newButton,.action{border-radius:100px;font-weight:600;background:#19191b;color:white;padding:14px 24px;transition:background .2s,box-shadow .2s}
header #newButton:hover,.action:hover{background:#333;box-shadow:0 3px 10px #00000012}
header #newButton span{margin-left:7px}
.found-center h2,.compact-features h2{font-weight:700}
.landing-intro p{font-size:12px;text-align:center}
.landing-mode .note{width:min(490px,100%);margin-inline:auto}
.landing-mode .note .drop-target{height:155px}
.landing-mode .note .drop-target .upload-icon{width:34px;height:34px;margin-bottom:3px}
.landing-mode .note .drop-target strong{font-size:13px}
.landing-mode .note .drop-target small{font-size:10px;margin-top:4px}
.example-tabs{--segment-index:0;position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:4px;width:100%;max-width:330px;margin:24px auto 0;border-radius:100px;background:#f0f0f0}
.example-tabs::before{content:'';position:absolute;z-index:-1;inset:4px auto 4px 4px;width:calc((100% - 8px)/3);border-radius:100px;background:#fff;box-shadow:0 1px 3px #0000000a,0 3px 8px #0000000a;transform:translateX(calc(var(--segment-index)*100%));transition:transform .32s cubic-bezier(.22,1,.36,1)}
.example-tabs button{min-height:38px;padding:8px 4px;border-radius:100px;color:#777;font-size:11px;font-weight:600;background:transparent;white-space:nowrap;transition:color .2s}
.example-tabs button[aria-pressed=true]{background:transparent;color:#171717}
.found-showcase[data-example=hand] .showcase-switch,.found-showcase[data-example=letter] .showcase-switch{visibility:hidden;pointer-events:none}
.paper-source{height:385px;background:#f7f7f5;padding:30px 22px;border:1px solid #e7e7e3;border-radius:8px;box-shadow:0 8px 16px #00000009,0 30px 45px -22px #0003;white-space:pre-line;font:400 24px/1.55 'Bradley Hand','Segoe Print',cursive;color:#444}
.found-showcase[data-example=hand] .demo-lettering{font-family:'Bradley Hand','Segoe Print',cursive;color:#333}
.found-showcase[data-example=letter] .demo-lettering,.found-showcase[data-example=letter] .paper-source{font-family:Georgia,serif;color:#333;font-style:italic}
.found-showcase[data-example=letter] .paper-source{font-size:19px;line-height:1.6}
.found-showcase[data-example=hand] .mock-poster,.found-showcase[data-example=hand] .mock-card,.found-showcase[data-example=letter] .mock-poster,.found-showcase[data-example=letter] .mock-card{background:#f7f7f5;border-color:#e5e5e2}
.demo-lettering{white-space:pre-line}
@media(max-width:800px){.paper-source{height:290px;font-size:15px;padding:20px 12px}.found-showcase[data-example=letter] .paper-source{font-size:12px}.landing-intro p{font-size:11px}.example-tabs button{font-size:11px}}
.found-showcase{position:relative;margin-top:110px;min-height:570px;display:grid;grid-template-columns:1fr .95fr 1fr;gap:28px;align-items:center}
.found-source{margin:55px 0 0;position:relative;transform:rotate(-3deg);display:flex;flex-direction:column}
.found-source figcaption{order:2}
.found-source img{display:block;width:100%;height:385px;object-fit:cover;object-position:center;border-radius:17px;box-shadow:0 8px 16px #00000009,0 30px 45px -22px #0004}
.found-source figcaption{font-size:10px;color:#888;margin:17px 8px}
.found-center{text-align:center;z-index:2}
.found-center h2{font-size:34px;line-height:1.1;letter-spacing:-1.2px;margin:0}
.showcase-switch{display:flex;justify-content:center;gap:10px;margin-top:23px}
.showcase-preview{display:inline-flex;align-items:center;gap:18px;margin-top:25px;padding:13px 24px;border-radius:100px;background:#19191b;color:#fff;font-weight:600;font-size:12px;transition:background .2s}
.showcase-preview:hover:not(:disabled){background:#333}
.showcase-preview:disabled{cursor:default}
.scene-switch{height:40px;width:40px;border-radius:50%;border:1px solid #e3e3e3;background:#fff;font-size:15px}
.scene-switch:first-child{background:#f0efdc;color:#174b60}
.scene-switch.active{outline:1px solid #777;outline-offset:3px}
.found-artwork{position:relative;height:540px}
.mock-poster{position:absolute;left:0;right:28px;top:0;height:355px;padding:27px;background:#f0efdc;border-radius:7px;box-shadow:0 4px 8px #00000008,0 22px 35px -14px #0003;transform:rotate(4deg);display:flex;flex-direction:column;justify-content:space-between}
.mock-poster small,.mock-poster>span,.mock-card small,.mock-card>span{font-size:9px;color:#777}
.demo-lettering{font:400 clamp(38px,4vw,57px)/1.08 PepeDemoColor;font-synthesis:none;letter-spacing:0}
.mock-card{position:absolute;right:-12px;bottom:12px;width:84%;min-height:230px;padding:25px;background:#f0efdc;border:1px solid #dedccc;transform:rotate(-7deg);border-radius:5px;box-shadow:0 3px 8px #00000008,0 26px 32px -13px #0003;display:flex;flex-direction:column;gap:20px}
.mock-card .demo-lettering{font-size:43px}
.found-showcase.is-mono:not([data-example=hand]):not([data-example=letter]) .demo-lettering{font-family:PepeDemo;color:#171717}
.found-showcase.is-mono .mock-poster,.found-showcase.is-mono .mock-card{background:#fafafa;border-color:#e5e5e5}
.compact-features{margin-top:85px;padding:48px 0 30px;border-top:1px solid #e9e9e9;display:grid;grid-template-columns:.8fr 1.5fr;gap:65px}
.compact-features h2{font-size:32px;margin:0 0 12px}
.compact-features p{font-size:12px;line-height:1.7;color:#777;margin:0}
.compact-feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:35px 28px}
.compact-feature-grid h3{font-size:13px;font-weight:500;margin:0 0 10px;line-height:1.8}
.compact-feature-grid small{font-size:9px;color:#888;margin-left:6px;font-weight:500;white-space:nowrap}
body>.site-footer{border-top:1px solid #eee;padding:28px 4.5%;font-size:12px;color:#333;align-items:center}
.footer-demo{font-size:10px;color:#999;margin-left:12px}
.site-footer nav{gap:22px}
.site-footer nav button{font-size:10px;color:#777}
#infoBody{font-size:13px;line-height:1.8;color:#777}
@media(max-width:800px){.landing-mode main{margin-top:35px}.found-showcase{grid-template-columns:1fr 1fr;gap:18px;margin-top:70px;min-height:0}.found-center{grid-column:1/-1;grid-row:1;margin-bottom:28px}.found-center h2{font-size:30px}.found-center h2 br{display:none}.found-source{margin:0;align-self:start;margin-top:28px}.found-source img{height:290px}.found-artwork{height:380px}.mock-poster{right:0;height:260px;padding:17px}.demo-lettering{font-size:32px}.mock-card{right:0;bottom:0;width:96%;min-height:165px;padding:16px;gap:15px}.mock-card .demo-lettering{font-size:28px}.mock-poster small,.mock-poster>span,.mock-card small,.mock-card>span{font-size:8px}.compact-features{grid-template-columns:1fr;gap:28px;margin-top:55px;padding-top:35px}.compact-feature-grid{gap:25px 20px}.site-footer{flex-direction:column;align-items:flex-start!important;gap:18px!important}.site-footer nav{gap:20px}.landing-intro h1{font-size:39px;letter-spacing:-1.6px}.found-source figcaption{font-size:9px}.found-center h2 br:after{content:' '}}

/* Primary controls reserve their layout space while the surface grows on hover. */
header #newButton,.action,.showcase-preview{position:relative;isolation:isolate;height:52px;min-height:52px;padding:0 28px;border-radius:100px;font-size:14px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;box-shadow:none!important;background:transparent!important}
header #newButton::before,.action::before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;background:#19191b;transition:inset .22s cubic-bezier(.22,1,.36,1),background .2s}
@media(hover:hover){header #newButton:hover::before,.action:hover:not(:disabled)::before{inset:-3px 0;background:#303033}.showcase-preview:hover:not(:disabled){text-decoration:underline;text-underline-offset:5px}}
.showcase-preview{color:#19191b;min-width:110px;transition:color .2s}
.showcase-preview:hover:not(:disabled){background:transparent;color:#555}
@media(max-width:600px){header #newButton{padding-inline:18px;font-size:12px}header nav{gap:12px}}
.landing-intro h1{font-size:clamp(44px,6.2vw,80px);line-height:1.02;letter-spacing:-.055em;font-weight:700}
.landing-intro p{font-size:14px}
@media(max-width:600px){.landing-intro h1{font-size:42px}.landing-intro p{font-size:12px}.result-mode .note-actions{flex-direction:column;align-items:stretch;gap:20px}.result-mode .tester-controls{width:100%;justify-content:space-between}.appearance-toggle button{white-space:nowrap}.result-mode #exportButton{align-self:flex-end;white-space:nowrap}}

/* A bold, gently staggered introduction. */
@font-face{font-family:Inter;src:url('/static/fonts/Inter-Black.woff2') format('woff2');font-weight:900;font-style:normal;font-display:swap}
.landing-intro h1{font-weight:900}
.hero-word{display:inline-block}
.hero-entering .hero-word{animation:hero-word-in .7s cubic-bezier(.22,1,.36,1) both;animation-delay:calc(var(--word-index)*85ms)}
@keyframes hero-word-in{from{opacity:0;transform:translateY(10px);filter:blur(5px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}
@media(prefers-reduced-motion:reduce){.hero-entering .hero-word{animation:none}}

.landing-mode .hero{min-height:900px;padding:104px 0 64px}
.preset-section{margin-top:120px}
.preset-heading{margin-bottom:32px}
.preset-heading h2{font-size:36px;letter-spacing:-1.4px;font-weight:700;margin:0 0 12px}
.preset-heading p{font-size:15px;color:#777;margin:0}
.preset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.photo-preset{display:block;text-align:left;padding:0;border:0;background:transparent;border-radius:22px;color:#191919;cursor:pointer}
.photo-preset img{width:100%;height:330px;object-fit:cover;border-radius:22px;display:block;transition:transform .3s,box-shadow .3s}
.photo-preset>span{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px 2px;font-size:17px}
.photo-preset small{font-size:12px;color:#888;font-weight:500}
.photo-preset:focus-visible{outline:2px solid #191919;outline-offset:7px}
@media(hover:hover){.photo-preset:hover img{transform:translateY(-5px);box-shadow:0 14px 28px -20px #0005}}
.compact-features{margin-top:110px;padding-top:60px;padding-bottom:55px}
.compact-feature-grid{gap:44px 32px}
.compact-feature-grid h3{font-size:17px;font-weight:600;margin:0 0 8px}
.compact-feature-grid p{font-size:14px;line-height:1.6;max-width:260px}
.feature-symbol{height:64px;font-size:30px;font-weight:600;letter-spacing:-1.5px}
@media(max-width:700px){.landing-mode .hero{min-height:780px;padding:80px 0 50px}.preset-section{margin-top:75px}.preset-grid{grid-template-columns:1fr;gap:25px}.photo-preset img{height:330px}.preset-heading h2{font-size:30px}.compact-features{margin-top:65px}.compact-feature-grid{gap:30px 20px}.compact-feature-grid h3{font-size:15px}.compact-feature-grid p{font-size:13px}.feature-symbol{font-size:26px;height:52px}}
@media(prefers-reduced-motion:reduce){.photo-preset img{transition:none}.photo-preset:hover img{transform:none}}

.landing-mode .hero{position:relative}
.hero-examples{position:absolute;inset:0;pointer-events:none}
body:not(.landing-mode) .hero-examples{display:none}
.hero-photo{position:absolute;pointer-events:auto;width:155px;padding:7px 7px 0;background:white;border:1px solid #ececec;border-radius:15px;box-shadow:0 3px 9px #00000005,0 18px 35px -20px #00000035;z-index:2;text-align:left;color:#222;isolation:isolate}
.hero-photo img{display:block;width:100%;height:160px;object-fit:cover;border-radius:9px;pointer-events:none}
.hero-photo span{display:block;font-size:12px;padding:11px 5px}
.hero-photo:focus-visible{outline:2px solid #222;outline-offset:5px}
.hero-photo:hover{box-shadow:0 4px 12px #00000008,0 23px 38px -20px #00000035}
.hero-pepe{left:0;top:180px;transform:rotate(-9deg)}
.hero-refrescos{right:0;top:200px;transform:rotate(8deg)}
.hero-devonian{right:25px;bottom:70px;transform:rotate(-7deg)}
.hero-devonian img{object-position:center 70%}
@media(min-width:701px) and (max-width:1100px){.hero-photo{width:125px}.hero-photo img{height:135px}.hero-pepe{top:95px}.hero-refrescos{top:105px}.hero-devonian{bottom:35px;right:0}}
@media(max-width:700px){.hero-examples{position:relative;inset:auto;order:3;display:flex;justify-content:center;gap:17px;margin-top:44px;pointer-events:auto}.hero-photo{position:relative;inset:auto;width:90px;flex:0 0 90px;padding:4px 4px 0;border-radius:10px}.hero-photo img{height:100px;border-radius:6px}.hero-photo span{font-size:10px;padding:8px 3px}.landing-mode .hero{padding-top:70px;padding-bottom:40px;min-height:850px}.hero-examples .hero-refrescos{top:12px}}

/* Small source tiles, with a clear saved-example drop target. */
.hero-photo{width:112px;height:112px;aspect-ratio:1;padding:0;overflow:hidden;border-radius:12px}
.hero-photo img{width:100%;height:100%;border-radius:inherit}
.hero-photo.is-dragging{z-index:20}
.drop-target.example-over{outline:2px solid #222;outline-offset:5px;background:#eee;box-shadow:0 8px 32px #0000000a}
@media(min-width:701px) and (max-width:1100px){.hero-photo{width:96px;height:96px}.hero-photo img{height:100%}}
@media(max-width:700px){.hero-photo{width:76px;height:76px;flex:0 0 76px;padding:0}.hero-photo img{height:100%}}

.hero-photo.photo-awaiting{opacity:0}
.hero-photo.photo-entering{animation:hero-photo-fade .8s ease-out var(--photo-delay,180ms) both}
@keyframes hero-photo-fade{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.hero-photo.photo-awaiting{opacity:1}.hero-photo.photo-entering{animation:none}}

/* Four source photos frame the headline closely without covering the upload. */
@media(min-width:1101px){
 .hero-pepe{left:5%;top:165px}
 .hero-refrescos{right:5%;top:185px}
 .hero-devonian{right:11%;top:55%;bottom:auto}
 .hero-paloma{left:11%;top:54%;bottom:auto;transform:rotate(7deg)}
}
@media(min-width:701px) and (max-width:1100px){
 .hero-pepe{left:3%}.hero-refrescos{right:3%}
 .hero-devonian{right:6%;top:62%;bottom:auto}
 .hero-paloma{left:6%;top:60%;bottom:auto;transform:rotate(7deg)}
}
@media(max-width:700px){
 .hero-examples{gap:10px;margin-top:30px}
 .hero-photo{width:clamp(56px,18vw,76px);height:clamp(56px,18vw,76px);flex-basis:clamp(56px,18vw,76px)}
 .hero-paloma{transform:rotate(7deg);top:8px}
}
