@font-face{font-family:DMMono;src:url('/assets/dm-mono-regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:DMMono;src:url('/assets/dm-mono-medium.ttf') format('truetype');font-weight:500 700;font-display:swap}
:root{color-scheme:dark;--bg:#080808;--ink:#f2f2f2;--muted:#909090;--line:#2b2b2b;--ui:DMMono,ui-monospace,monospace}*{box-sizing:border-box}[hidden]{display:none!important}
body{margin:0;min-width:280px;min-height:100svh;background:var(--bg);color:var(--ink);font:12px/1.6 var(--ui)}
a{color:inherit;text-underline-offset:4px}button,input{font:inherit;color:inherit}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
header{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;padding:24px 40px;gap:24px}
.brand-mark{grid-column:1;grid-row:1;justify-self:start;display:block;width:105.6px;height:auto}.brand-mark img{display:block;width:100%;height:auto}
header h1{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:center;gap:9px;margin:0;white-space:nowrap}.title-drawing{height:30px;width:256px;object-fit:contain}
.back-demo{grid-column:3;grid-row:1;justify-self:end;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 20px;border:1px solid var(--line);border-radius:999px;text-decoration:none;white-space:nowrap;font:400 12px/1.4 var(--ui);font-optical-sizing:none;font-variation-settings:'opsz' 36}.back-demo:hover{border-color:var(--muted)}
main{position:absolute;inset:0;display:grid;place-items:center;padding:140px 24px 90px;pointer-events:none}.panel{width:min(100%,380px);text-align:center;pointer-events:auto}.dirge{font-family:var(--ui);font-weight:400;font-synthesis:none;font-optical-sizing:none;font-variation-settings:'opsz' 36}h2{margin:0 0 8px;font:400 16px/1.5 var(--ui);font-optical-sizing:none;font-variation-settings:'opsz' 36}.subtitle{color:var(--muted);font-size:12px;margin:0 0 24px}
.price{display:flex;justify-content:center;align-items:baseline;gap:9px;min-height:44px;margin:14px 0 12px}.price output{font:400 24px/1.4 var(--ui);font-optical-sizing:none;font-variation-settings:'opsz' 36}.currency{color:var(--muted);font-size:11px}
.price-picker{padding:0 11px;margin:0 0 10px}.slider-shell{position:relative;isolation:isolate;height:30px}input[type=range]{position:relative;z-index:1;display:block;appearance:none;-webkit-appearance:none;width:100%;height:30px;background:transparent;padding:0;margin:0;border:0;cursor:pointer}input[type=range]::-webkit-slider-runnable-track{height:2px;background:#505050}input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:13px;height:13px;border:0;border-radius:50%;background:var(--ink);margin-top:-5.5px}input[type=range]::-moz-range-track{height:2px;background:#505050}input[type=range]::-moz-range-thumb{width:13px;height:13px;border:0;border-radius:50%;background:var(--ink)}
.tick-marks{position:absolute;z-index:0;inset:0 6.5px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.tick-marks i{display:block;width:1px;height:7px;background:#777}.price-ticks{position:relative;height:44px;margin:0 6.5px}.price-ticks button{position:absolute;top:0;left:0;transform:translateX(-50%);width:60px;min-height:44px;padding:0;background:transparent;border:0;color:var(--muted);font-size:12px}.price-ticks button:nth-child(2){left:33.333333%}.price-ticks button:nth-child(3){left:66.666667%}.price-ticks button:nth-child(4){left:100%}.price-ticks button[aria-pressed=true]{color:var(--ink);font-weight:600}.price-ticks button:hover{color:var(--ink)}
.custom-price{display:flex;align-items:center;gap:10px;max-width:180px;margin:0 auto 20px;border:1px solid #444;border-radius:4px;padding:8px 12px}.custom-price span{color:var(--muted)}.custom-price input{width:100%;min-width:0;border:0;background:transparent;font-size:16px;outline:none}.custom-price:focus-within{border-color:var(--ink)}.custom-price input::-webkit-inner-spin-button{appearance:none}.custom-price input{appearance:textfield}
.email{display:block;width:100%;height:46px;border:1px solid #3b3b3b;border-radius:4px;padding:0 14px;background:transparent;font-size:13px}.email::placeholder{color:var(--muted)}.primary{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:46px;margin:12px 0 0;border:1px solid var(--ink);border-radius:4px;background:var(--ink);color:var(--bg);font-size:12px;font-weight:500;text-decoration:none}.primary:hover{background:#dcdcdc;border-color:#dcdcdc}.primary:disabled{opacity:.35;cursor:default}.primary svg{width:17px;height:17px}.notice{margin:12px 0 0;color:var(--muted);font-size:11px;line-height:1.6}.links{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px 22px;margin-top:25px;color:var(--muted);font-size:11px}.links a{text-decoration:none}.links a:hover{text-decoration:underline}.error{font-size:12px;line-height:1.5;color:#f3a3b5;margin:10px 0 14px}.preview-note{position:fixed;bottom:18px;left:20px;right:20px;z-index:1;text-align:center;color:#6f6f6f;font-size:10px;pointer-events:none}.preview-note a{pointer-events:auto}
.download-card{display:block;margin:26px 0 0;padding:18px 20px;border:1px solid #444;border-radius:4px;text-align:left;text-decoration:none}.download-card:hover{border-color:var(--muted);background:#111}.download-card strong{display:block;font-size:14px;font-weight:500}.download-card small{display:block;margin-top:4px;font-size:11px;color:var(--muted)}.receipt{margin:22px 0 0;padding-top:18px;border-top:1px solid var(--line);font-size:11px;line-height:1.9;color:var(--muted);overflow-wrap:anywhere}.body-copy{margin:16px 0 0;color:var(--muted);font-size:13px;line-height:1.9}.body-copy a{color:var(--ink)}.review-amount{font:400 24px/1.4 var(--ui);margin:20px 0 12px}.review-email{margin:0;color:var(--muted);font-size:12px;overflow-wrap:anywhere}.preview-panel{border:1px solid var(--line);border-radius:4px;padding:14px 16px;margin:24px 0;color:var(--muted);font-size:12px;line-height:1.7}.contact{margin-top:28px}.sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1700px){header{padding-top:30px;padding-bottom:30px}}@media(max-width:900px){header{padding:20px 24px}}@media(max-width:700px){header{row-gap:16px;column-gap:12px}header h1{grid-column:1/-1;grid-row:2}.brand-mark{width:78px}.title-drawing{width:222px;height:26px}.back-demo{font-size:11px;padding:9px 16px;min-height:40px}main{padding-top:154px}.panel{max-width:360px}h2{font-size:16px}.price output{font-size:24px}.email{font-size:16px}.preview-note{font-size:9px}}@media(max-width:360px){header{padding:18px 20px}main{padding-left:24px;padding-right:24px}.title-drawing{width:210px}.panel{max-width:310px}}
@media(max-height:760px){main{position:relative;min-height:calc(100svh - 92px);padding:40px 24px 90px}.preview-note{position:relative;bottom:auto;left:auto;right:auto;margin:0 20px 18px}.price{min-height:44px}.price output{font-size:24px}}

.product-detail{margin:0 0 24px}.price output,.review-amount{font-variant-numeric:tabular-nums}

.purchase-heading{font-size:16px;font-weight:400}.price output{font-size:24px;font-weight:400}

.download-license{margin:16px 0 0;color:var(--muted);font-size:11px}.share-links{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 16px;margin-top:26px;color:var(--muted);font-size:10px}.share-links a,.share-links button{font:inherit;text-decoration:none;color:inherit;background:none;border:0;padding:4px 0}.share-links span{color:#737373}.share-links a:hover,.share-links button:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}.share-copy-fallback{display:block;margin-top:10px;color:var(--muted);font-size:10px}.share-copy-fallback input{display:block;width:100%;margin-top:5px;background:transparent;color:var(--ink);border:1px solid var(--line);padding:8px;font-size:11px}.license-section{margin-top:26px;text-align:left}.license-section h3{font:500 12px/1.6 var(--ui);margin:0 0 8px}.license-section p{font-size:12px;color:var(--muted);margin:0 0 10px}.license-section a{font-size:11px}

.share-links{gap:4px;margin-top:26px}
.share-links>span{margin-right:8px}
.share-links .share-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:7px;border-radius:4px}
.share-icon svg{display:block;width:16px;height:16px;flex:none}
.share-links .share-icon:hover{background:rgba(255,255,255,.05);text-decoration:none}
.share-icon:focus-visible{outline:1px solid var(--muted);outline-offset:2px}
.share-feedback{margin:4px 0 0;min-height:18px;color:var(--muted);font-size:10px;line-height:1.8}

.share-links #copyFontLink{margin-left:4px}

.download-license{line-height:1.9;margin-top:20px}.download-license a{color:inherit;text-underline-offset:3px}.share-feedback:empty{display:none}

.download-license{width:min(760px,calc(100vw - 48px));position:relative;left:50%;transform:translateX(-50%)}

.download-license{margin-top:36px;margin-bottom:36px}.notice+.share-links,.download-card+.share-links{margin-top:36px}

@font-face{font-family:DIRGE-Checkout;src:url('/handofdirge-demo/assets/HandOfDIRGE-Variable.woff2?v=1.04-license-1') format('woff2');font-weight:200 700;font-display:swap}
.back-demo{font:400 18px/1.1 DIRGE-Checkout,sans-serif;font-synthesis:none;font-variation-settings:'opsz' 36,'slnt' 0}
@media(max-width:700px){.back-demo{font-size:16px}}

.mailing-opt-in{display:flex;align-items:center;justify-content:center;gap:7px;margin:12px 0 0;color:var(--muted);font-size:10px;line-height:1.6;cursor:pointer}.mailing-opt-in input{width:12px;height:12px;margin:0;accent-color:var(--ink);flex:none}

/* Match the demo header's smaller lettering and pill geometry. */
.back-demo{width:168px;min-height:44px;padding:10px 20px;font-size:13.5px;line-height:1.1}
.back-demo>span{display:block;transform:translateY(.078em) scale(.88)}
@media(max-width:520px){.back-demo{width:148px;min-height:40px;padding:8px 14px;font-size:10.5px}}

.buy-page{display:flex;flex-direction:column}
.buy-page header{flex:none}
.buy-page main{position:relative;inset:auto;flex:1;min-height:auto;padding:40px 24px 80px}
.purchase-footer{flex:none;padding:0 24px 28px}
.purchase-footer .links{margin:0;gap:22px}
.buy-page .preview-note:empty{display:none}

.price-help{font-size:11px;line-height:1.6;margin:-10px 0 20px}

/* Checkout breathing room and a footer that stays in normal document flow. */
.buy-page,.commerce-page{display:flex;flex-direction:column;min-height:100svh}
.buy-page main,.commerce-page main{position:relative;inset:auto;flex:1;min-height:0;padding:64px 24px 64px}
.buy-page .panel,.commerce-page .panel{width:min(100%,400px)}
.buy-page .price{margin:22px 0 20px}.buy-page .price-picker{margin-bottom:30px}.buy-page .custom-price{margin-bottom:28px}
.buy-page .product-detail{margin-bottom:30px}.buy-page .primary{margin-top:22px;min-height:48px}.buy-page .email{height:48px}
.buy-page .mailing-opt-in{margin-top:12px;min-height:32px;gap:10px;line-height:1.8}.mailing-opt-in input{width:15px;height:15px}
.buy-page .notice{margin-top:22px;line-height:1.85}
.buy-page .download-license,.commerce-page .download-license{width:100%;position:static;left:auto;transform:none;max-width:400px;margin:40px auto 0;line-height:1.9}
.download-license a{display:block;width:fit-content;margin:12px auto 0;padding:8px 0}
.purchase-footer{padding:0 24px 28px}.purchase-footer .links{margin:0 0 16px;gap:12px 28px}.purchase-footer .links a{display:inline-flex;align-items:center;min-height:44px}
.policy-links{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:4px 28px;color:var(--muted);font-size:11px}
.policy-links a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none}.policy-links a:hover{text-decoration:underline}
.buy-page .preview-note,.commerce-page .preview-note{position:static;margin:0 24px 20px;line-height:1.8;pointer-events:auto}
.preview-note:empty{display:none}
@media(max-width:700px){.buy-page main,.commerce-page main{padding:40px 24px 48px}.buy-page .download-license,.commerce-page .download-license{margin-top:32px}.purchase-footer{padding-bottom:24px}.policy-links{gap:0 24px}}

/* Keep the wider license note with the checkout footer links. */
.buy-page .purchase-footer{padding:24px 24px 28px}
.buy-page .purchase-footer .download-license{width:100%;max-width:760px;margin:0 auto 18px;text-align:center;line-height:1.6}
@media(max-width:700px){.buy-page .purchase-footer{padding:16px 24px 24px}.buy-page .purchase-footer .download-license{margin:0 auto 16px}}

.buy-page .purchase-footer .download-license a{display:inline;width:auto;margin:0;padding:0}

/* Keep the product wordmark on the demo's exact responsive centerline. */
header h1{grid-column:2;grid-row:1;justify-self:center;font:400 25.6px/1.2 DIRGE-Checkout,sans-serif;height:1.2em;gap:0}
header .title-drawing{display:block;height:1em;width:auto;max-width:100%;overflow:visible}
@media(min-width:701px) and (max-width:1200px){header{row-gap:0;column-gap:16px}header h1{font-size:26px}}
@media(max-width:700px){
 header{padding:18px 16px;row-gap:0;column-gap:8px}
 header h1{grid-column:2;grid-row:1;font-size:clamp(14px,4.3vw,22px)}
 .brand-mark{width:clamp(42px,14vw,67px)}
 .back-demo{width:40px;min-width:40px;min-height:40px;padding:10px;display:flex;align-items:center;justify-content:center}
 .back-demo::before{content:'←';font:18px/1 sans-serif}
 .back-demo>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;transform:none}
}
@media(min-width:701px) and (max-height:600px){header{padding-top:12px;padding-bottom:12px}}

/* Keep the email hint steady across the mobile input-size breakpoint. */
.buy-page .email::placeholder{font-size:13px}

/* Requested free-download intro, matching the previous mono style. */
.free-intro{max-width:440px;margin:0 auto 28px;color:#aaa;font-size:13px;line-height:1.75}.free-intro strong{color:#eee;font-weight:400}

/* Download title: 1.5 times the previous header artwork, with a button-height gap. */
.buy-page .download-heading{--dirge-title-height:38.4px;display:flex;justify-content:center;width:calc(var(--dirge-title-height)*9.001809);max-width:100%;margin:0 auto 48px;line-height:1.2}
.buy-page .download-heading .title-drawing{display:block;width:100%;height:auto;max-width:100%}
.buy-page .primary{margin-top:52px}
@media(min-width:701px) and (max-width:1200px){.buy-page .download-heading{--dirge-title-height:39px}}
@media(max-width:700px){.buy-page .download-heading{--dirge-title-height:clamp(21px,6.45vw,33px)}}
