*{box-sizing:border-box}body{margin:0;color:#1c1831;background:#f8f7fc;font:1rem/1.55 system-ui,sans-serif}a{color:inherit;text-decoration:none}header{background:white;border-bottom:1px solid #e7e3ef}nav,main,footer{max-width:1100px;margin:auto;padding:0 24px}nav,footer{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:20px}.logo{font-weight:850;font-size:1.4rem;letter-spacing:-.06em}.logo span,.icon{color:#6534db}.links{display:flex;gap:24px}.links a,.usage{font-weight:600;font-size:.94rem}.hero{text-align:center;padding:56px 0 28px}.hero h1{font-size:clamp(2.35rem,7vw,4.4rem);letter-spacing:-.07em;line-height:1;margin:0}.hero p{color:#57526a;margin:18px 0 0}.tool{max-width:780px;margin:0 auto 54px;background:white;border:1px solid #e7e3ef;border-radius:24px;padding:22px;box-shadow:0 14px 45px #3320610c}.toolbar{display:flex;align-items:center;gap:12px;margin-bottom:16px}.toolbar #count{margin-left:auto;color:#57526a;font-size:.9rem}.drop{display:grid;place-items:center;gap:8px;text-align:center;min-height:190px;background:#f7f3ff;border:2px dashed #cdb9f2;border-radius:16px;padding:20px}.drop.active{border-color:#6534db;background:#ede3ff}button,.button{border:0;border-radius:10px;background:#6534db;color:#fff;padding:11px 17px;font:inherit;font-weight:700;cursor:pointer;display:inline-block}button:disabled{opacity:.55;cursor:wait}button.secondary{background:#ede5fa;color:#402081}input:not([type=file]),select{border:1px solid #d4cbe3;border-radius:8px;font:inherit;background:white;padding:8px;color:inherit;max-width:100%}label.field{display:grid;gap:4px;margin:12px 0}.row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:14px}.row button{padding:7px 12px}.file-list{padding-left:20px;overflow-wrap:anywhere}.card{display:grid;gap:4px;background:white;border:1px solid #e7e3ef;border-radius:15px;padding:18px}.card:hover{border-color:#8050e8}.card span:last-child{color:#57526a;font-size:.9rem}.icon{font-size:1.3rem}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:12px}.collection{margin:0 0 30px}.collection h2{margin:0 0 12px;letter-spacing:-.04em}footer{border-top:1px solid #e7e3ef;margin-top:34px}dialog{border:1px solid #e7e3ef;border-radius:20px;max-width:min(94vw,470px);padding:25px;color:inherit}dialog::backdrop{background:#1c183399}.close{float:right;padding:2px 10px}.error{color:#a21945}#result img,#result canvas{display:block;max-width:100%;height:auto;margin-top:15px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b493f2;outline-offset:3px}@media(max-width:580px){nav{flex-wrap:wrap;gap:8px;padding-top:10px;padding-bottom:10px}.links{order:3;width:100%;gap:16px;flex-wrap:wrap}.hero{padding-top:38px}.tool{padding:14px}.toolbar{flex-wrap:wrap}}
.guide{max-width:780px;margin:0 auto 32px;background:#fff;border:1px solid #e7e3ef;border-radius:16px;padding:18px 22px}.guide h2{margin:0;font-size:1.2rem}.guide p{margin:8px 0 0;color:#57526a}.thumbnails{display:grid;grid-template-columns:repeat(auto-fill,minmax(108px,1fr));gap:8px;margin:10px 0 18px}.thumbnails label{border:1px solid #d4cbe3;border-radius:10px;padding:8px;text-align:center;cursor:pointer;font-size:.9rem}.thumbnails label:has(input:checked){background:#eee5ff;border-color:#6534db}.thumbnails canvas{display:block;margin:0 auto 6px;max-width:100%;height:auto;background:#fff;box-shadow:0 1px 5px #21184430}.thumbnails:empty,#thumb-status:empty{display:none}
.plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,255px),1fr));gap:16px}.plans section{padding:20px;border:1px solid #e7e3ef;border-radius:14px}.plans section:last-child{background:#f8f3ff;border-color:#d4c0f3}.plans h2,.plans .price{margin:0}.plans .price{font-size:2.2rem;font-weight:800;letter-spacing:-.05em}.plans .price small{font-size:1rem;font-weight:600;letter-spacing:0}.plans ul{padding-left:20px}.plan-status{color:#57526a}.file-list li[draggable=true]{cursor:grab}

.breadcrumbs{display:flex;flex-wrap:wrap;gap:.55em;margin:18px 0 0;font-size:.9rem;color:#57526a}
.breadcrumbs a,.collection h2 a{text-decoration:underline;text-decoration-color:#cdb9f2;text-underline-offset:.18em}
.breadcrumbs a:hover,.collection h2 a:hover{text-decoration-color:#6534db}
.guide ol{margin:8px 0 20px;padding-left:1.4em;color:#57526a}
@media(max-width:580px){footer{flex-wrap:wrap;gap:8px;padding-top:10px;padding-bottom:10px}}
.guide p+h2{margin-top:20px}

.nav-actions{display:flex;align-items:center;gap:12px}
.coffee-link{display:inline-flex;align-items:center;white-space:nowrap;font-size:.88rem;font-weight:750;background:#f7ede1;color:#583724;border:1px solid #ead4be;padding:7px 12px;border-radius:24px}
.coffee-link:hover{background:#f0dfcc}
body[data-route="buy-us-a-coffee"]{background:#fbf6ef;color:#352419}
body[data-route="buy-us-a-coffee"] .hero p{color:#655044;max-width:38rem;margin-inline:auto}
.coffee-layout{max-width:910px;margin:6px auto 34px;display:grid;grid-template-columns:1fr 1.17fr;background:#fffaf2;border:1px solid #e8d7c4;border-radius:26px;overflow:hidden;box-shadow:0 24px 64px #60422812}
.coffee-intro{display:grid;align-content:center;justify-items:start;padding:clamp(25px,5vw,54px);background:#3e271f;color:#fff7eb}
.coffee-intro h2{margin:26px 0 0;font:normal clamp(2rem,4.5vw,3.4rem)/1.02 Georgia,serif;letter-spacing:-.045em}
.coffee-intro p{color:#f4e0cb;margin:16px 0 0;max-width:28ch}
.coffee-art{width:98px;height:98px;display:grid;place-items:center;border-radius:50%;background:#d8a778;box-shadow:0 0 0 8px #ffffff12}
.coffee-cup{width:62px;height:62px;position:relative;transform:rotate(-18deg);border-radius:50%;background:radial-gradient(circle,#b76f48 0 22%,#dfb68c 23% 29%,#8c4d32 30% 42%,#fff2dc 43% 57%,#edcfaa 58% 68%,#b47b53 69%)}
.coffee-cup::after{content:"";position:absolute;right:-8px;top:25px;width:13px;height:11px;border:4px solid #fff2dc;border-left:0;border-radius:0 10px 10px 0}
.coffee-order{padding:clamp(24px,4vw,44px)}
.coffee-order h2{font-size:1.45rem;letter-spacing:-.03em;margin:0 0 16px}
.coffee-order fieldset{border:0;margin:0;padding:0;min-inline-size:0;display:grid;gap:9px}
.coffee-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.coffee-choice{position:relative;cursor:pointer}
.coffee-choice input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.coffee-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;background:#fffcf7;border:1px solid #e3d2c2;border-radius:13px;color:#38271c}
.coffee-choice:hover .coffee-card{border-color:#a76539}
.coffee-choice input:checked+.coffee-card{background:#f7e7d7;border-color:#a76539;box-shadow:inset 0 0 0 1px #a76539}
.coffee-choice input:focus-visible+.coffee-card{outline:3px solid #98532d;outline-offset:2px}
.coffee-dot{height:20px;width:20px;border-radius:50%;border:4px solid #e3c9ad;background:#6b422d}
.coffee-dot-mocha{background:#ad6846}
.coffee-dot-cold_brew{background:#8e5a41}
.coffee-item{display:grid}
.coffee-item small{color:#634b3b;font-size:.81rem}
.coffee-price{font-size:1.12rem;font-weight:800;font-variant-numeric:tabular-nums}
#coffee-checkout{width:100%;margin-top:18px;background:#663b27;color:#fff8ec}
#coffee-checkout:not(:disabled):hover{background:#4c2c1f}
#coffee-checkout:disabled{opacity:1;background:#e9dacd;color:#55443b;cursor:default}
.coffee-order-note{font-size:.84rem;color:#634b3b;text-align:center;margin:8px 0 0}
.coffee-tools{max-width:910px;margin:auto;text-align:center}
.coffee-tools h2{letter-spacing:-.04em;margin-bottom:4px}
.coffee-tools p{margin:0 0 13px;color:#634b3b}
.coffee-tools div{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px}
.coffee-tools a{font-weight:650;text-decoration:underline;text-underline-offset:.18em}
@media(max-width:775px){nav{flex-wrap:wrap;gap:8px;padding-top:10px;padding-bottom:10px}nav .links{order:3;width:100%;gap:14px;flex-wrap:wrap}}
@media(max-width:655px){.coffee-layout{grid-template-columns:1fr}.coffee-intro{padding:24px;grid-template-columns:auto 1fr;gap:7px 17px;align-items:center}.coffee-art{width:52px;height:52px;grid-row:span 2}.coffee-cup{transform:scale(.56) rotate(-18deg)}.coffee-intro h2{margin:0;font-size:1.8rem}.coffee-intro h2 br{display:none}.coffee-intro p{grid-column:2;margin:0;max-width:none}.coffee-order{padding:20px}.coffee-price{font-size:1rem}}

.coffee-intro h2{max-width:10ch}
.coffee-art{position:relative}
.coffee-steam{position:absolute;inset:0;z-index:1;pointer-events:none}
.coffee-steam i{position:absolute;top:7%;left:32%;width:8%;height:20%;border-left:2px solid #fff8e7;border-radius:45%;opacity:0}
.coffee-steam i:nth-child(2){left:46%;top:4%}
.coffee-steam i:nth-child(3){left:59%;top:8%}
.coffee-sparkle{position:absolute;right:3%;top:16%;width:8px;height:8px;background:#fff1d9;clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%)}
.coffee-bean-art{position:absolute;bottom:10%;left:7%;width:15px;height:10px;border-radius:60%;background:#71442f;transform:rotate(-33deg)}
.coffee-bean-art::after,.brew-beans i::after{content:"";position:absolute;inset:18% 45%;border-radius:50%;border-left:1px solid #f3c598}
.brew-meter{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px;color:#634b3b;font-size:.77rem;font-weight:750;letter-spacing:.07em;text-transform:uppercase}
.brew-beans{display:flex;align-items:center;gap:5px}
.brew-beans i{position:relative;display:block;width:13px;height:9px;border-radius:60%;background:#dec9b4;transform:rotate(-29deg);transition:background .22s ease}
.brew-beans i:first-child,.brew-meter[data-intensity="3"] i:nth-child(-n+3),.brew-meter[data-intensity="5"] i{background:#9a5b39}
@media(max-width:655px){.coffee-intro h2{max-width:none}.coffee-steam i{top:6%}}
@media(prefers-reduced-motion:no-preference){
  body[data-route="buy-us-a-coffee"] .hero h1{animation:coffee-title .44s ease-out both}
  body[data-route="buy-us-a-coffee"] .hero p{animation:coffee-copy .47s .05s ease-out both}
  .coffee-layout{animation:menu-rise .53s ease-out both}
  .coffee-art{animation:saucer-settle .58s .08s ease-out both}
  .coffee-cup{animation:cup-settle .67s .08s ease-out}
  .coffee-steam i:first-child{animation:steam-left 1.65s .2s ease-out 2}
  .coffee-steam i:nth-child(2){animation:steam-center 1.7s .36s ease-out 2}
  .coffee-steam i:nth-child(3){animation:steam-right 1.6s .52s ease-out 2}
  .coffee-sparkle{animation:coffee-glint .88s .35s ease-out}
  .coffee-bean-art{animation:bean-roll .64s .15s ease-out}
  .coffee-choice{animation:coffee-card-in .39s ease-out both}
  .coffee-choice:nth-of-type(2){animation-delay:.07s}
  .coffee-choice:nth-of-type(3){animation-delay:.14s}
  #coffee-checkout{animation:checkout-in .5s .12s ease-out both}
  .coffee-tools{animation:coffee-links-in .55s .12s ease-out both}
  .fresh-brew .coffee-choice input:checked+.coffee-card{animation:roast-select .32s ease-out}
  .fresh-brew .brew-beans i{animation:bean-pop .4s ease-out;animation-delay:calc(var(--bean-index,0) * 30ms)}
  .brew-beans i:nth-child(2){--bean-index:1}
  .brew-beans i:nth-child(3){--bean-index:2}
  .brew-beans i:nth-child(4){--bean-index:3}
  .brew-beans i:nth-child(5){--bean-index:4}
}
@keyframes coffee-title{from{opacity:.4;translate:0 7px}to{opacity:1;translate:0}}
@keyframes coffee-copy{from{opacity:.3}to{opacity:1}}
@keyframes menu-rise{from{opacity:.55;translate:0 11px}to{opacity:1;translate:0}}
@keyframes saucer-settle{from{scale:.85}75%{scale:1.04}to{scale:1}}
@keyframes cup-settle{from{rotate:-18deg}70%{rotate:5deg}to{rotate:0deg}}
@keyframes steam-left{from{opacity:0;translate:0 3px}40%{opacity:.8}to{opacity:0;translate:-7px -14px}}
@keyframes steam-center{from{opacity:0;translate:0 4px}35%{opacity:.82}to{opacity:0;translate:1px -19px}}
@keyframes steam-right{from{opacity:0;translate:0 3px}44%{opacity:.68}to{opacity:0;translate:7px -15px}}
@keyframes coffee-glint{from{scale:.45;rotate:-32deg}55%{scale:1.25;rotate:12deg}to{scale:1;rotate:0deg}}
@keyframes bean-roll{from{translate:-8px 2px;rotate:-55deg}to{translate:0;rotate:0deg}}
@keyframes coffee-card-in{from{opacity:.45;translate:7px 0}to{opacity:1;translate:0}}
@keyframes checkout-in{from{opacity:.5;translate:0 5px}to{opacity:1;translate:0}}
@keyframes coffee-links-in{from{opacity:.35;translate:0 5px}to{opacity:1;translate:0}}
@keyframes roast-select{from{background:#fffcf7}to{background:#f7e7d7}}
@keyframes bean-pop{50%{translate:0 -3px;scale:1.18}to{translate:0;scale:1}}
@media(prefers-reduced-motion:reduce){.brew-beans i{transition:none}}

@media(max-width:655px){
  body[data-route="buy-us-a-coffee"] .hero{padding:24px 0 15px}
  body[data-route="buy-us-a-coffee"] .hero p{margin-top:10px}
  .coffee-intro{padding:13px 18px;grid-template-rows:auto}
  .coffee-art{grid-row:auto}
  .coffee-intro h2{font-size:1.38rem}
  .coffee-intro p{display:none}
  .coffee-order{padding:17px}
}

.payment-details{margin-top:12px;font-size:.88rem}
.payment-details summary{cursor:pointer;font-weight:680}
.payment-details p{margin:7px 0 0;color:#57526a}
.coffee-order .payment-details{text-align:center;color:#634b3b}
.coffee-order .payment-details p{color:inherit}
#pro{scroll-margin-top:20px}
#pro:target{outline:2px solid #8050e8;outline-offset:3px}

.usage-meter{display:grid;gap:4px;width:132px;color:#57526a;font-size:.8rem;text-align:right}
.toolbar .usage-meter{margin-left:auto}
.usage-track{height:7px;overflow:hidden;border-radius:999px;background:#ebe1fa}
#usage-fill{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#713ae1,#a775f5);transform:scaleX(1);transform-origin:left;transition:transform .45s ease}
@media(prefers-reduced-motion:reduce){#usage-fill{transition:none}}
.page-options{margin-top:14px}
.page-options summary{cursor:pointer;color:#4d288b;font-weight:650}
.resolution-row{display:flex;align-items:center;gap:9px}
.resolution-row .field{display:flex;align-items:center;gap:8px}
.dpi-help{position:relative}
.dpi-help summary{display:grid;place-items:center;list-style:none;width:30px;height:30px;border:1px solid #dfd1f4;border-radius:50%;background:#f3ecfc;color:#542d97;font-weight:800;cursor:pointer}
.dpi-help summary::-webkit-details-marker{display:none}
.dpi-help p{position:absolute;z-index:2;top:34px;right:0;width:min(225px,70vw);padding:10px 12px;margin:0;border:1px solid #e4d8f3;border-radius:10px;background:#fff;box-shadow:0 7px 25px #33206126;color:#57526a;font-size:.86rem}
.payment-result{text-align:center}
.payment-result h2{margin:10px 0}
.payment-mark{display:none;margin-inline:auto;place-items:center;width:44px;height:44px;border-radius:50%;background:#e4f3e8;color:#18733a;font-weight:850}
.payment-result[data-state=paid] .payment-mark{display:grid}
.resolution-row{position:relative}
.dpi-help{position:static}
.dpi-help p{top:calc(100% - 4px);left:0;right:auto}

#conversion-state{margin-top:14px}
.conversion-label{display:flex;justify-content:space-between;gap:10px;color:#164778;font-size:.86rem;font-weight:650}
#conversion-percent{font-variant-numeric:tabular-nums}
#conversion-progress{height:8px;margin-top:5px;overflow:hidden;border-radius:99px;background:#e3eefc}
#conversion-fill{display:block;height:100%;background:linear-gradient(90deg,#1d66cc,#3687ed);border-radius:inherit;transform:scaleX(0);transform-origin:left;transition:transform .28s ease-out}
@media(prefers-reduced-motion:reduce){#conversion-fill{transition:none}}
.preflight-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 14px}
.preflight-fields .field{margin:4px 0;min-width:0}
.preflight-fields input[type=file]{min-width:0;max-width:100%;align-self:center;font:inherit;font-size:.92rem}
.preflight-note,#ad-status{font-size:.92rem;color:#57526a}
#ad-status:empty,#ad-results:empty{display:none}
#ad-results{display:grid;gap:10px}
.preflight-result{padding:13px 16px;border:1px solid #dfd5ed;border-radius:12px;background:#f9f6ff}
.preflight-result h2{font-size:1.08rem;margin:0}
.preflight-result ul{margin:5px 0;padding-left:1.2rem}
.guide a{text-decoration:underline;text-underline-offset:.18em}
@media(max-width:520px){.preflight-fields{grid-template-columns:1fr}}
a#coffee-checkout{display:block;text-align:center}
.plan-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}
.plan-summary>div{padding:12px;border:1px solid #e7e3ef;border-radius:12px}
.plan-summary>div:last-child{background:#f7f2ff}
.plan-summary h3{margin:0;font-size:1rem}
.plan-summary p{margin:4px 0 8px}
.checkout-panel a:not(.button){color:#4c258e;text-decoration:underline;text-underline-offset:.15em}
.checkout-panel h2{margin:12px 0 0}
.checkout-panel p{margin:8px 0}
#checkout-status:empty{display:none}
#checkout-card{padding-top:12px;border-top:1px solid #e7e3ef}
#checkout-form button{margin-top:12px}
#stripe-contact{margin:10px 0}
#stripe-wallets{margin-bottom:12px}
@media(max-width:500px){.plan-summary{grid-template-columns:1fr}}

[hidden]{display:none!important}
.preflight-file{display:grid;gap:8px}
.preflight-file>h2{font-size:1.12rem;margin:6px 0 0;overflow-wrap:anywhere}
.preflight-file>p{margin:0;color:#57526a}
.preflight-result h3{font-size:1.02rem;margin:0}
.resize-proof{display:grid;justify-items:center;gap:8px;padding:16px;margin-top:12px;border-radius:14px;background:#efeaf7}
.resize-proof canvas{display:block;max-width:100%;max-height:360px;width:auto;height:auto;box-shadow:0 3px 14px #29153d24}
.resize-proof p{margin:0;font-size:.9rem;color:#57526a}
#resize-status:empty{display:none}

footer{flex-wrap:wrap}
.footer-credit{flex:0 0 100%;padding:0 0 14px;text-align:center;font-size:.875rem;color:#5e586f}

@media(prefers-reduced-motion:no-preference){
  body:not([data-route="buy-us-a-coffee"]) .hero,
  .tool,.payment-result{animation:page-arrive .28s ease-out}
  .card,.button{transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease}
  .payment-result[data-state=paid] .payment-mark{animation:payment-mark-in .32s ease-out}
}
@keyframes page-arrive{from{opacity:.65;translate:0 5px}to{opacity:1;translate:0}}
@keyframes payment-mark-in{from{scale:.8;opacity:.55}to{scale:1;opacity:1}}

#checkout-hosted[hidden]{display:none}
#checkout-hosted:hover{background:#5225bf}
#checkout-hosted:focus-visible{outline:2px solid #4c258e;outline-offset:3px}
