/* Paper studio homepage, version 1. Scoped to preserve collection layouts. */
.home-page .style-preview{grid-column:1/-1;grid-row:1;height:90px;display:block;min-width:0;overflow:hidden;border-radius:7px;background:#fff}
.home-page .style-preview .style-thumb,.home-page .style-example-image{display:block;width:100%;height:90px;object-fit:contain;background:#fff}
.home-page .photo-tips{padding:14px 16px;margin:14px 0 0;background:#f4f6ed;border:1px solid #dfe6d8;border-radius:12px}
.home-page .photo-tips h3{font-size:14px;margin:0 0 7px;line-height:1.5}.home-page .photo-tips ul{padding-left:18px;margin:0;font-size:13px;line-height:1.6;color:#536858}
.home-page .sample-action-hint{font-size:13px;line-height:1.5;margin:14px 0 0;color:#536858}
.home-page .sample-source-only>img{inset:5%;width:90%;height:90%;object-fit:contain}
.home-page .generate-button,.home-page .style-card,.home-page .style-selection button,.home-page .download-actions button{touch-action:manipulation}
.home-page{--canvas:#f7f5ef;--ink:#20352b;--muted:#637267;--green:#2f6b4f;--green-dark:#24553d;background:var(--canvas);font-size:16px;line-height:1.6}
.home-page main{max-width:1200px;margin:20px auto 0;padding:0 24px}
.home-page .tool-shell{border-radius:28px;border:1px solid #e7e9df;box-shadow:0 18px 60px #27463309}
.home-page .tool-heading{display:block;padding:22px 32px 20px;background:linear-gradient(110deg,#fff 65%,#f4f7ec);position:relative}
.home-page .eyebrow{font-size:11px;line-height:1.4;letter-spacing:1.8px;color:#687b6e;margin-bottom:10px}
.home-page h1{font-size:44px;line-height:1.15;letter-spacing:-1.8px;margin-bottom:8px;max-width:none}
.home-page .subheading{font-size:17px;line-height:1.6;margin:0;max-width:650px}
.home-page .local-badge{display:inline-flex;margin-top:8px;padding:0;background:none;font-size:13px;line-height:1.5;color:#426c50}
.home-page .local-badge span{color:#d59a64}
.home-page .workspace{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);min-height:0}
.home-page .input-panel{padding:22px 32px}
.home-page .result-panel{padding:22px 32px;background:#f4f6ef}
.home-page .section-heading{margin-bottom:12px;gap:10px}
.home-page .section-heading h2{font-size:18px;line-height:1.3;margin:0 0 4px}
.home-page .section-heading p{font-size:14px;line-height:1.5}
.home-page .step-number{width:30px;height:30px;background:#e8efe4;font-size:13px}
.home-page .upload-zone{min-height:152px;border:1.5px dashed #aebfac;background:#fafbf6;border-radius:18px;padding:15px;transition:background .2s,border-color .2s}
.home-page .upload-zone:hover{background:#eff5e9;border-color:var(--green)}
.home-page .upload-title{font-size:17px;line-height:1.3}
.home-page .upload-subtitle{font-size:14px}
.home-page .file-types{font-size:12px;line-height:1.5;margin-top:10px}
.home-page .upload-icon{width:36px;height:36px;margin-bottom:10px}
.home-page .style-picker{margin-top:18px}
.home-page .style-picker legend{font-size:14px}
.home-page .style-selection{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:4px 0;font-size:14px}
.home-page .style-selection strong{font-weight:750}
.home-page .style-selection button{background:none;border:0;color:var(--green);font-size:13px;font-weight:700;padding:8px 0;text-decoration:underline;text-underline-offset:4px}
.home-page .style-help{font-size:12px;line-height:1.5;margin:0 0 10px}
.home-page .style-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.home-page .style-card{grid-template-rows:90px auto auto;padding:9px}
.home-page .style-thumb{height:90px}
.home-page .style-card-title{font-size:13px}
.home-page .style-card-copy{font-size:11px;line-height:1.4}
.home-page .control-row{margin-top:12px}
.home-page .control-label{font-size:14px}
.home-page select{font-size:14px;min-height:44px;border-radius:10px;padding:10px 30px 10px 12px}
.home-page .control-hint{font-size:11px;line-height:1.4}
.home-page .generate-button{height:52px;margin-top:16px;font-size:16px;border-radius:13px;box-shadow:0 5px 15px #2f6b4f15}
.home-page .privacy-copy{font-size:12px;line-height:1.5;margin-top:10px}
.home-page .status-message{font-size:12px;line-height:1.5;margin-bottom:0;min-height:0}
.home-page .preview-stage{min-height:0;background:none;border:0;padding:0;overflow:visible;flex:initial}
.home-page .empty-preview{display:block;width:100%}
.sample-compare{position:relative;width:100%;max-width:360px;aspect-ratio:2480 / 3508;overflow:hidden;background:#fff;border:8px solid #fff;border-radius:16px;box-shadow:0 10px 32px #20352b18;margin:0 auto;touch-action:pan-y}
.sample-compare{cursor:ew-resize;user-select:none;-webkit-user-select:none}
.sample-compare img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none;-webkit-user-drag:none}
.sample-photo{position:absolute;inset:0;background:white;clip-path:inset(0 calc(100% - var(--reveal,50%)) 0 0)}
.sample-photo img{inset:5%;width:90%;height:90%;object-fit:contain}
.sample-divider{position:absolute;left:var(--reveal,50%);top:0;bottom:0;width:2px;background:white;transform:translateX(-50%);pointer-events:none}
.sample-divider span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:42px;height:42px;display:grid;place-items:center;border:2px solid white;border-radius:50%;background:#2f6b4fe6;color:#fff;font-size:20px}
.sample-range{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;pointer-events:none;cursor:ew-resize}
.sample-compare:focus-within{outline:3px solid #d59a64;outline-offset:4px}
.sample-caption{display:flex;justify-content:space-between;max-width:360px;margin:12px auto 0;color:#536b5b;font-size:12px;font-weight:700}
.sample-note{max-width:360px;margin:8px auto 0!important;font-size:12px!important;line-height:1.5;color:#637267!important;font-weight:400!important}
.home-page .preview-card img{max-height:450px}
.home-page .download-actions button{font-size:14px;min-height:48px}
.home-page .output-spec{font-size:11px;line-height:1.5}
.home-page .tool-footnote{font-size:12px;line-height:1.5;height:auto;padding:14px 20px;text-align:center}
.home-page .details-section{gap:20px;padding:28px 0 48px}
.home-page .detail-card{padding:26px 28px;border-radius:20px}
.home-page .detail-card h2{font-size:23px;line-height:1.3;letter-spacing:-.65px}
.home-page .steps-grid{gap:16px;margin-top:18px}
.home-page .steps-grid article{padding:18px;background:#f5f7ef;border-radius:14px}
.home-page .steps-grid h3{font-size:16px;line-height:1.35}
.home-page .steps-grid p,.home-page .plain-list,.home-page .small-note{font-size:14px;line-height:1.65}
.home-page .faq-card summary{font-size:16px;min-height:48px;line-height:1.5}
.home-page .faq-card details p{font-size:15px;line-height:1.65}
.daily-guides{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.home-page .daily-guides .resource-promo{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;overflow:hidden}
.home-page .daily-guides .guide-copy{padding:20px 22px;display:flex;flex-direction:column;flex:1}
.home-page .daily-guides h2{font-size:21px;margin-bottom:10px}
.home-page .daily-guides p:not(.eyebrow){font-size:14px;line-height:1.65;color:var(--muted);margin-bottom:18px}
.home-page .daily-guides .guide-button{align-self:flex-start;margin-top:auto;background:none;color:var(--green)!important;box-shadow:none;border:0;border-radius:0;padding:0;font-size:14px;font-weight:750;text-decoration:none;min-height:32px}
.home-page .daily-guides .guide-button:hover{background:none;text-decoration:underline;text-underline-offset:4px}
.guide-cover{height:150px;background:#edf1e6;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:20px;border-bottom:1px solid #e8ece1}
.guide-cover img{width:100%;height:100%;object-fit:cover}
.guide-cover.phone img{width:84px;height:130px;object-fit:contain;background:white;border:5px solid #20352b;border-radius:13px;transform:rotate(-7deg);box-shadow:8px 8px 0 #dbe4d3}
.guide-cover.phone span,.guide-cover.formats span{font-weight:800;color:#3e6350;font-size:22px;line-height:1.25}
.guide-cover.formats{background:#f7ecdd}
.guide-cover.formats b{display:grid;place-items:center;background:white;width:68px;height:85px;border-radius:10px;color:#637267;box-shadow:5px 5px 0 #e8d9c3;font-size:16px;transform:rotate(-6deg)}
.guide-cover.paper>span{display:flex;align-items:center;justify-content:center;border:1px solid #bac7b4;background:white;box-shadow:5px 5px 0 #dce5d4;color:#45654e;font-size:14px;font-weight:800}
.guide-cover.paper>span:first-child{width:76px;height:108px;transform:rotate(-6deg)}
.guide-cover.paper>span:last-child{width:83px;height:107px;transform:rotate(5deg)}
@media(max-width:900px){
 .home-page main{margin:16px auto 0;padding:0 16px}
 .home-page .tool-shell{border-radius:22px}
 .home-page .tool-heading{padding:24px 20px 20px}
 .home-page h1{font-size:30px;line-height:1.15;letter-spacing:-1px;max-width:none}
 .home-page .subheading{font-size:16px;line-height:1.55}
 .home-page .local-badge{margin-top:10px;font-size:12px}
 .home-page .workspace{grid-template-columns:minmax(0,1fr)}
 .home-page .input-panel{padding:20px;border-right:0}
 .home-page .section-heading{margin-bottom:12px}
 .home-page .section-heading p{font-size:13px}
 .home-page .upload-zone{min-height:136px;padding:15px}
 .home-page .file-types{font-size:11px}
 .home-page .style-picker{margin-top:12px}
 .home-page .style-selection{padding:5px 0}
 .home-page .control-row{margin-top:8px}
 .home-page .result-panel{padding:22px 20px}
 .sample-compare{max-width:300px}
 .home-page .details-section{gap:16px;padding-top:20px}
 .home-page .detail-card{padding:22px 20px}
 .home-page .steps-grid{grid-template-columns:1fr;gap:10px}
 .home-page .steps-grid article{display:grid;grid-template-columns:30px 1fr;column-gap:12px;padding:14px}
 .home-page .steps-grid .step-number{grid-row:1 / 3;margin:0}
 .home-page .steps-grid h3,.home-page .steps-grid p{grid-column:2}
 .home-page .details-columns,.daily-guides{grid-template-columns:1fr;gap:16px}
 .home-page .tool-footnote{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.home-page *{scroll-behavior:auto;transition:none!important}}

/* Daily articles: both cover and heading open the article. */
.home-page .daily-guides .guide-title-link,.home-page .daily-guides .guide-title-link:visited{color:inherit;text-decoration:none}
.home-page .daily-guides .guide-title-link:hover{text-decoration:underline;text-underline-offset:4px}
.home-page .daily-guides .guide-cover-link:focus-visible,.home-page .daily-guides .guide-title-link:focus-visible{outline:3px solid #b87837;outline-offset:3px}
.home-page .daily-guides .guide-cover-link:focus-visible{outline-offset:-3px}
