/* Feature education and the working demo are intentionally separate. */
#action-example[hidden],#document-mode-preview[hidden],#demo-result[hidden],#image-action-options[hidden]{display:none!important}
.features-section{background:var(--cream);padding-top:75px;padding-bottom:55px}
.features-section:before{content:'';position:absolute;top:-1px;left:0;width:100%;height:13px;background:var(--coral);clip-path:polygon(0 0,100% 0,100% 35%,72% 55%,45% 30%,20% 65%,0 42%)}
.features-heading{display:flex;justify-content:space-between;gap:50px;align-items:flex-end;margin-bottom:34px}
.features-heading h2{font-size:clamp(40px,4.6vw,64px);line-height:1;letter-spacing:-2px;margin-top:15px}
.features-heading>p{font-size:15px;max-width:350px;line-height:1.65;padding-bottom:4px}
.feature-browser{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:7vw;align-items:stretch}
.feature-navigation{min-width:0}
.feature-types{display:flex;gap:5px;background:var(--yellow);border:1px solid var(--line);border-radius:999px;padding:5px;margin-bottom:16px}
.feature-types button{flex:1;border:0;border-radius:999px;background:transparent;padding:11px 12px;font-size:13px;font-weight:700}
.feature-types button[aria-selected=true]{background:var(--ink);color:var(--cream)}
.feature-actions{display:grid;gap:3px}
.feature-actions button{display:flex;justify-content:space-between;gap:15px;align-items:center;width:100%;padding:12px 16px;border:0;border-radius:12px;background:transparent;text-align:left;font-size:14px}
.feature-actions button>span:last-child{font-size:20px;opacity:0}
.feature-actions button:hover{background:#30391c08}
.feature-actions button[aria-pressed=true]{background:var(--pale-pink);font-weight:700}
.feature-actions button[aria-pressed=true]>span:last-child{opacity:1}
.feature-panel{border:1px solid var(--line);border-radius:28px;padding:28px 34px;background:var(--yellow);min-height:390px;align-self:stretch}
.example-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.example-heading .eyebrow{font-size:9px;letter-spacing:1.4px;margin:0}
.example-flower{font-size:27px;color:#ad392e;line-height:1}
.action-example{margin:0;padding:0;border:0;max-width:none}
.action-example h3,.document-example-copy h3{font:900 30px/1.1 var(--display);letter-spacing:-.8px;margin:0 0 22px;min-height:0}
.example-flow{display:grid;grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr);gap:13px;align-items:center}
.example-flow figure{margin:0;min-width:0}
.example-image{--preview-height:116px;height:var(--preview-height);overflow:hidden;position:relative;display:flex;align-items:center;justify-content:center;background:var(--cream);border:1px solid var(--line);border-radius:17px;isolation:isolate}
.example-image img{width:80%;height:80%;object-fit:contain;transition:transform .22s ease,filter .22s ease;pointer-events:none}
.example-image>span{position:absolute;right:7px;bottom:7px;border-radius:30px;padding:5px 8px;background:var(--ink);color:var(--cream);font:700 9px var(--body);letter-spacing:.4px;z-index:2}
.example-after{background:var(--pale-pink);box-shadow:3px 4px 0 #30391c13}
.example-arrow{font:900 34px var(--display);text-align:center;align-self:start;margin-top:39px;color:#ad392e}
.example-flow figcaption{margin-top:9px;display:grid;gap:3px;font-size:11px}
.example-flow figcaption small{font-size:10px;opacity:.8}
.action-example>p,.document-example-copy p{font-size:13px;line-height:1.6;margin:19px 0 0;min-height:3.2em}
/* A square image box keeps the rotated landscape inside the portrait preview. */
.example-rotated img{width:min(80%,calc(var(--preview-height) * .8));height:auto;aspect-ratio:1;transform:rotate(90deg)}
.example-resized img{width:60%;height:60%}
.example-cropped::after{content:'';position:absolute;width:64%;height:64%;border:2px dashed #ad392e;border-radius:4px;pointer-events:none}
.example-clean::after{content:'No tags';position:absolute;top:7px;left:7px;background:var(--olive);color:var(--cream);border-radius:12px;padding:4px 7px;font-size:9px}
.document-mode-preview{margin:0;max-width:none}
.document-example-display{padding:0;background:none;border:0;border-radius:0;box-shadow:none;min-height:0}
.document-example-flow{display:grid;grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr);align-items:center;gap:13px;margin:0;padding:0}
.document-example-copy>span:last-child{font-size:10px;font-weight:700;color:var(--olive);display:block;margin-top:12px}
.features-footnote{display:flex;justify-content:space-between;align-items:center;gap:25px;border-top:1px solid var(--line);margin-top:28px;padding-top:20px;font-size:12px}
.features-footnote>a{font-weight:700;white-space:nowrap;display:flex;gap:16px;align-items:center}
.features-footnote>a>span{font-size:19px}

/* The demo is the fruit, one draggable file, and contextual controls. */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.demo-section{--edge-colour:var(--cream);display:block;padding:54px 7vw 38px;text-align:center}
.privacy-section{--edge-colour:var(--pale-pink)}
.demo-heading{display:block;padding:0;border:0;margin-bottom:12px}
.demo-heading .eyebrow{font-size:10px;letter-spacing:1.6px}
.demo-heading h2{font-size:clamp(38px,4.8vw,64px);letter-spacing:-2px;line-height:1;margin:13px 0 16px}
.demo-heading>p:last-child{font-size:14px;line-height:1.5}
.demo-workspace{display:grid;grid-template-columns:180px minmax(0,500px);align-items:center;justify-content:center;gap:48px;margin:0 auto;max-width:900px}
.demo-copy{min-width:0;position:relative;padding:0;transform:translateY(25px)}
.demo-file{display:flex;flex-direction:column;gap:16px;max-width:180px;margin:0;padding:10px 0;background:none;border:0;border-radius:18px;box-shadow:none;cursor:grab}
.demo-file>div:nth-child(2){flex:initial;width:100%;display:block}.demo-file strong{display:block;font-size:12px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.demo-thumb{display:grid;place-items:center;width:94px;height:104px;background:var(--cream);border:1px solid var(--line);border-radius:12px;box-shadow:4px 5px 0 #30391c16;transform:rotate(-7deg);transition:transform .18s}
.demo-thumb img{width:80px;height:80px;object-fit:contain}
.demo-file:hover,.demo-file.is-dragging{transform:none;outline:0}.demo-file:hover .demo-thumb{transform:rotate(-3deg) translateY(-4px)}
.demo-file:focus-visible{outline:3px solid var(--ink);outline-offset:6px}
.demo-links{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:5px}.demo-links .text-button{font-size:11px;font-weight:700}
#reset-demo[hidden]{display:none!important}
.file-to-wheel{position:absolute;width:65px;height:33px;right:-66px;top:44%;fill:none;stroke:var(--ink);stroke-width:2;opacity:.65;pointer-events:none}
.demo-playground{padding:0;min-width:0}
.wheel-stage{width:100%;max-width:500px;margin:0 auto}
.wheel-slice{transition:translate .16s ease}.wheel-slice:hover{translate:0 -3px}
.wheel-slice .slice-title{font-size:18px}
.wheel-slice.selected .slice-hit-area{stroke:var(--ink);stroke-width:2;fill:#fff9e81f}
.demo-footnote{font-size:10px;line-height:1.5;margin-top:19px;opacity:.7}
.demo-options,.demo-result{position:absolute;z-index:10;left:49%;top:58%;transform:translate(-50%,-50%);width:42%;min-width:178px;max-width:210px;aspect-ratio:1;min-height:0;border:1.5px solid var(--ink);border-radius:50%;background:var(--cream);padding:24px 19px;box-shadow:3px 5px 0 #30391c22;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:9px;text-align:center;margin:0;animation:demoPop .23s ease-out}
.demo-options[hidden],.demo-result[hidden]{display:none!important}
.demo-options h3{font:900 21px/1.1 var(--display);letter-spacing:-.4px;margin:0 0 3px}
.action-options{display:grid;grid-template-columns:1fr 1fr;gap:6px;width:100%}
.action-options button{border:1px solid var(--line);border-radius:999px;padding:7px 6px;font:700 10px var(--body);background:var(--yellow);color:var(--ink);white-space:nowrap}
.action-options button:hover{background:var(--ink);color:var(--cream)}
.action-options:has(button[data-action=grayscale]){grid-template-columns:1fr}
.overlay-close{position:absolute;right:4px;top:8px;display:grid;place-items:center;width:27px;height:27px;border:1px solid var(--line);border-radius:50%;background:var(--cream);color:var(--ink);font:700 23px/1 var(--body);padding:0}
.demo-result .result-icon{width:28px;height:28px;flex:0 0 28px;display:grid;place-items:center;font:900 18px var(--display);border-radius:50%;background:var(--ink);color:var(--cream)}
.demo-result .result-copy{display:flex;flex:0 1 auto;gap:7px;align-items:center;min-width:0}
.demo-result strong{font:900 20px/1.05 var(--display);letter-spacing:-.3px;overflow-wrap:normal}
.demo-result #result-details{font-size:9px;line-height:1.4}
.demo-result .result-label{display:none}
.demo-result .download-button{font-size:11px;padding:9px 14px;display:flex;gap:12px;justify-content:center;line-height:1.2;margin:0;background:var(--ink);color:var(--cream);border:0}
.demo-result .download-button[hidden]{display:none}
.demo-result[data-status=success] .result-icon{background:var(--ink);color:var(--cream)}
.demo-result[data-status=error]{border-color:#a33022}.demo-result[data-status=error] strong{font-size:17px}.demo-result[data-status=error] #result-details{font-size:10px}
@keyframes demoPop{from{opacity:0;scale:.9}to{opacity:1;scale:1}}
.document-file-group{text-align:center;min-width:0}
.document-file-stack{position:relative;height:111px;display:flex;align-items:center;justify-content:center;padding:7px 0}
.example-document{position:absolute;width:64px;height:83px;border:1px solid #30391c33;border-radius:5px 17px 5px 5px;background:#fffefa;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:11px 8px 8px;box-shadow:2px 4px 0 #30391c12;transform:translateX(calc((var(--file-index) - (var(--file-count) - 1)/2)*26px)) rotate(calc((var(--file-index) - (var(--file-count) - 1)/2)*9deg))}
.example-document::after{content:'';position:absolute;right:0;top:0;width:14px;height:14px;border-radius:0 15px 0 3px;background:#f4ebd9;border-bottom:1px solid #30391c22;border-left:1px solid #30391c22}
.example-document b{font:900 12px var(--display);color:var(--coral)}
.type-01 b,.type-02 b,.type-03 b{position:absolute;left:5px;top:5px;font-size:10px}
.document-glyph{display:grid;gap:4px;width:32px;margin-top:7px}
.document-glyph i{height:3px;background:#30391c45;border-radius:2px}
.document-glyph i:last-child{width:70%}
.type-docx b{color:#4265b3}.type-xlsx b{color:#447c45}.type-pptx b{color:#c75738}
.type-xlsx .document-glyph{grid-template-columns:1fr 1fr;gap:3px}.type-xlsx .document-glyph i{height:9px;width:auto;background:#86ab7280}
.type-pptx .document-glyph{height:24px;background:#efbeab;border-radius:3px;padding:5px}.type-pptx .document-glyph i{display:none}.type-pptx .document-glyph::after{content:'';width:12px;height:12px;border-radius:50%;background:var(--coral)}
.type-photo .document-glyph{margin:0;width:42px;height:45px;display:block}.type-photo img{width:100%;height:100%;object-fit:contain}.type-photo b{font-size:9px}
.input.rotate .example-document{transform:rotate(-90deg)}
.output.export .document-glyph{height:24px;background:linear-gradient(145deg,transparent 40%,var(--olive) 41% 65%,transparent 66%),linear-gradient(40deg,var(--pink) 48%,var(--yellow) 49%);border-radius:3px}.output.export .document-glyph i{display:none}
.document-file-caption{font-size:10px;font-weight:700}
.document-flow-arrow{font:900 34px var(--display);color:var(--coral);margin-top:-15px}


@media(min-width:1500px){.feature-browser{grid-template-columns:.8fr 1.2fr}.feature-panel{padding:35px 44px}.example-image{--preview-height:140px}.demo-workspace{grid-template-columns:180px minmax(0,540px)}.wheel-stage{max-width:540px}}
@media(max-width:1000px) and (min-width:761px){.features-section{padding-left:5vw;padding-right:5vw}.feature-browser{gap:4vw}.features-heading>p{font-size:13px;max-width:280px}.feature-panel{padding:25px}.feature-types button{font-size:12px;padding:11px 8px}.demo-workspace{gap:25px;grid-template-columns:150px minmax(0,440px)}.file-to-wheel{right:-47px;width:50px}}
@media(max-width:760px){
 .features-section{padding:50px 6vw 35px}.features-heading{display:block;margin-bottom:25px}.features-heading h2{font-size:43px;letter-spacing:-1.7px}.features-heading>p{font-size:13px;margin-top:20px;max-width:350px}
 .feature-browser{grid-template-columns:1fr;gap:20px}.feature-actions{display:flex;flex-wrap:wrap;gap:6px}.feature-actions button{width:auto;padding:9px 12px;border:1px solid var(--line);border-radius:999px;font-size:11px;gap:0}.feature-actions button>span:last-child{display:none}
 .feature-panel{padding:23px;border-radius:22px;min-height:0}.action-example h3,.document-example-copy h3{font-size:27px}.example-image{--preview-height:100px}.example-flow{gap:9px;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr)}.example-arrow{font-size:25px;margin-top:34px}.example-flow figcaption small{font-size:8px}
 .features-footnote{align-items:flex-start;font-size:10px;gap:20px;line-height:1.6;margin-top:22px;padding-top:17px}.features-footnote>a{gap:8px}
 .demo-section{padding:43px 6vw 33px}.demo-heading h2{font-size:clamp(32px,7vw,47px);letter-spacing:-1.4px;margin:12px 0}.demo-heading>p:last-child{font-size:12px;max-width:285px;margin:0 auto}
 .demo-workspace{display:flex;flex-direction:column;gap:5px}.demo-copy{transform:none;width:100%;max-width:270px;margin:20px 0 0}
 .demo-file{max-width:none;display:flex;flex-direction:row;gap:13px;padding:0;justify-content:center}.demo-file>div:nth-child(2){width:auto;max-width:180px;text-align:left}.demo-file strong{font-size:11px}
 .demo-thumb{width:47px;height:53px;flex-shrink:0;border-radius:7px}.demo-thumb img{width:40px;height:40px}.demo-links{flex-direction:row;justify-content:center;margin-top:13px;gap:14px}.demo-links .text-button{font-size:10px}.file-to-wheel{display:none}
 .demo-playground{width:100%;max-width:440px}.wheel-stage{max-width:440px}.demo-footnote{font-size:9px;max-width:280px;margin:16px auto 0}
 .demo-options,.demo-result{min-width:166px;padding:20px 15px;gap:7px}.demo-options h3{font-size:19px}.demo-result strong{font-size:18px}.demo-result #result-details{font-size:8px}.demo-result .download-button{padding:8px 12px;font-size:10px}
}
@media(prefers-reduced-motion:reduce){.wheel-slice,.example-image img,.demo-thumb{transition:none}.wheel-slice:hover{translate:none}.demo-options,.demo-result{animation:none}}

.wheel-stage:has(.demo-result:not([hidden])) .slice-title,.wheel-stage:has(.demo-options:not([hidden])) .slice-title{opacity:0}

/* Short, graphic promises give the copy a place in the brand. */
.feature-promise{flex:0 1 390px;align-self:center;padding:5px 0 0}
.feature-promise>div{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.promise-mark{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;border-radius:50%;font:600 26px/1 var(--display);transform:rotate(-8deg)}
.promise-image{background:var(--pale-pink);color:var(--ink)}.promise-pdf{background:var(--rind);color:var(--ink);transform:rotate(5deg)}.promise-office{background:var(--ink);color:var(--cream)}
.feature-promise strong{font:600 clamp(18px,1.7vw,24px)/1.2 var(--display);letter-spacing:-.5px}
.feature-promise>p{font-size:12px;margin:16px 0 0 44px;line-height:1.5}
.privacy-section{display:grid;grid-template-columns:.8fr 1.8fr;gap:6vw;padding:59px 7vw 55px;align-items:center}
.privacy-heading h2{font-size:clamp(34px,3.8vw,54px);letter-spacing:-1.8px;line-height:1;margin:0}
.privacy-promises{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:27px}
.privacy-promises svg{display:block;width:34px;height:34px;fill:none;stroke:var(--cream);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;margin-bottom:15px}
.privacy-promises>div:nth-child(2) svg{stroke:var(--pink)}.privacy-promises>div:nth-child(3) svg{stroke:var(--yellow)}
.privacy-promises h3{font:900 19px/1.2 var(--display);letter-spacing:-.4px;margin-bottom:8px;color:var(--cream)}
.privacy-section .privacy-promises p{font-size:12px;line-height:1.6;margin:0;max-width:none;color:var(--cream);opacity:.82}
@media(max-width:1000px) and (min-width:761px){.privacy-section{grid-template-columns:.7fr 1.8fr;gap:4vw;padding-left:5vw;padding-right:5vw}.privacy-promises{gap:17px}.privacy-promises h3{font-size:17px}.feature-promise{flex-basis:300px}.feature-promise strong{font-size:18px}}
@media(max-width:760px){.feature-promise{margin-top:26px;padding:0}.feature-promise strong{font-size:20px}.feature-promise>p{font-size:11px}.privacy-section{display:block;padding:43px 6vw}.privacy-heading h2{font-size:38px;margin:0 0 29px}.privacy-promises{gap:17px;grid-template-columns:1fr}.privacy-promises>div{display:grid;grid-template-columns:34px minmax(0,1fr);gap:4px 14px;align-items:center}.privacy-promises svg{grid-row:1/3;margin:0;width:31px;height:31px}.privacy-promises h3{font-size:18px;margin:0}.privacy-section .privacy-promises p{font-size:11px}.privacy-promises p br{display:none}.privacy-promises p br:after{content:' '}}

.feature-promise .promise-file{width:37px;height:47px;flex:0 0 37px;object-fit:contain;display:block;background:none;border-radius:0;transform:rotate(-7deg)}
.feature-promise .promise-pdf{transform:rotate(5deg)}.feature-promise .promise-office{transform:rotate(-3deg)}
.feature-promise>div{margin-bottom:6px;gap:13px}.feature-promise>p{margin-left:50px;margin-top:13px}

.action-options button:disabled{opacity:.5;cursor:not-allowed;background:transparent;color:var(--ink);font-size:8px;white-space:normal}
.demo-links button:disabled{opacity:.5;cursor:wait}

/* Input → fruit → actual output. The wheel stays clear after completion. */
.demo-workspace{grid-template-columns:150px minmax(0,500px) 150px;gap:38px;max-width:1000px}
.demo-file{max-width:150px}.file-to-wheel{right:-49px;width:48px}
.demo-output{position:relative;transform:translateY(25px);display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;min-width:0;max-width:150px}
.demo-output[hidden]{display:none!important}
.demo-output:not([hidden]){animation:outputArrives .4s cubic-bezier(.2,.8,.3,1)}
.output-kicker{font-size:8px;font-weight:700;letter-spacing:1px;line-height:1.4}
.output-file-art{width:94px;height:104px;position:relative;display:grid;place-items:center;border:1px solid var(--line);border-radius:12px;background:var(--cream);box-shadow:4px 5px 0 #30391c16;transform:rotate(7deg);margin:0 0 3px}
.output-file-art>img{width:80px;height:80px;object-fit:contain}
.output-file-art>span:not(.output-check){position:absolute;bottom:6px;right:6px;background:var(--ink);color:var(--cream);border-radius:99px;padding:3px 5px;font-size:7px;font-weight:700}
.output-file-art .output-check{display:grid;place-items:center;position:absolute;right:-9px;top:-9px;border:2px solid var(--pale-pink);width:24px;height:24px;background:var(--ink);color:var(--cream);font-size:13px;font-weight:700;border-radius:50%}
.demo-output>strong{font-size:11px;line-height:1.5;display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.demo-output #output-details{font-size:10px;line-height:1.5}
.demo-output #output-dimensions{font-size:9px;opacity:.7;line-height:1.4;margin-top:-5px}
.output-to-file{position:absolute;width:48px;height:30px;left:-48px;top:40%;fill:none;stroke:var(--ink);stroke-width:2;opacity:.65;pointer-events:none}
@keyframes outputArrives{from{opacity:0;translate:-45px 0}to{opacity:1;translate:0 0}}
@media(min-width:1500px){.demo-workspace{grid-template-columns:160px minmax(0,540px) 160px;gap:42px}.demo-output,.demo-file{max-width:160px}}
@media(max-width:1000px) and (min-width:761px){.demo-workspace{grid-template-columns:125px minmax(0,400px) 125px;gap:22px}.demo-file,.demo-output{max-width:125px}.file-to-wheel{right:-34px;width:35px}.output-to-file{left:-32px;width:35px}}
@media(max-width:760px){.demo-copy .demo-file{max-width:none}.demo-output{transform:none;max-width:280px;width:100%;margin-top:17px;display:grid;grid-template-columns:62px minmax(0,1fr);gap:5px 15px;align-items:center;text-align:left}.demo-output .output-file-art{grid-column:1;grid-row:1/5;width:60px;height:72px;margin:0}.output-file-art>img{width:51px;height:53px}.demo-output .output-kicker{grid-column:2;font-size:8px}.demo-output>strong{grid-column:2;font-size:10px}.demo-output #output-details{grid-column:2;font-size:9px}.demo-output #output-dimensions{grid-column:2;font-size:8px;margin:0}.output-to-file{display:none}.demo-output:not([hidden]){animation-name:outputArrivesMobile}@keyframes outputArrivesMobile{from{opacity:0;translate:0 -20px}to{opacity:1;translate:0 0}}}
@media(prefers-reduced-motion:reduce){.demo-output:not([hidden]){animation:none}}

.action-options:has(.rotation-symbol){gap:8px}
.action-options:has(.rotation-symbol) button{padding:10px 5px;border-radius:17px;font-size:11px}
.rotation-symbol{display:block;font:400 31px/1 var(--body);margin-bottom:5px}

/* Make each example's actual change visible, even when the picture looks alike. */
.example-difference[hidden]{display:none!important}
.example-difference{display:grid;grid-template-columns:minmax(0,1fr) 32px minmax(0,1fr);gap:10px 13px;margin-top:20px;padding:17px 18px 14px;border:1px solid var(--line);border-radius:16px;background:var(--cream)}
.example-difference>div{min-width:0;display:grid;gap:5px}
.example-difference small{font-size:8px;font-weight:700;letter-spacing:1px;opacity:.7}
.example-difference strong{font:900 clamp(17px,1.8vw,27px)/1.15 var(--display);letter-spacing:-.6px;overflow-wrap:anywhere}
.example-difference>div:nth-of-type(2) strong{color:#a6352a}
.difference-arrow{align-self:center;text-align:center;color:#a6352a;font-size:25px}
.example-difference>p{grid-column:1/-1;font-size:11px;line-height:1.4;margin:4px 0 0;font-weight:600}
.size-meter{display:none;height:7px;border-radius:9px;background:#30391c12;overflow:hidden;margin-top:5px}
.size-meter i{display:block;width:100%;height:100%;border-radius:9px;background:var(--ink)}
.example-difference[data-kind=compress] .size-meter{display:block}
.example-difference[data-kind=compress]>div:nth-of-type(2) .size-meter i{width:var(--file-size-ratio);background:var(--coral);transition:width .3s}
#action-example[data-action=jpeg] .example-image>span{font-size:15px;padding:6px 11px;border:2px solid var(--cream)}
#action-example[data-action=jpeg] .example-after>span{background:#a6352a}
#action-example[data-action=resize] .example-image img{width:80%;height:80%;object-fit:contain}
#action-example[data-action=resize] .example-after img{width:calc(80% * var(--resize-scale));height:calc(80% * var(--resize-scale));z-index:1}
#action-example[data-action=resize] .example-after:before{content:'';position:absolute;width:80%;height:80%;background:url('/assets/sample-landscape.svg') center/contain no-repeat;opacity:.18}
@media(max-width:760px){.example-difference{padding:13px 12px;gap:8px;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr)}.example-difference strong{font-size:19px}.example-difference>p{font-size:10px}.difference-arrow{font-size:21px}.example-difference small{font-size:7px}}
@media(prefers-reduced-motion:reduce){.size-meter i{transition:none!important}}

/* Desktop-wheel parity: native texture, no leaf, muted until a wedge is active.
   Values follow FruitWheelView and PomeloPalette in the Mac app. */
.demo-workspace{grid-template-columns:150px minmax(0,420px) 150px;max-width:820px;gap:38px}
.demo-heading{margin-bottom:32px}
.demo-copy,.demo-output{transform:none}
.wheel-stage{max-width:420px}
.wheel-stage>svg#wheel{display:block;width:100%;height:auto;aspect-ratio:430/418;overflow:visible;filter:drop-shadow(0 3px 3px #303b1c12)}
.wheel-slice,.wheel-slice:hover{translate:none;transform:none;transition:none;outline:none}
.wheel-slice .slice-hit-area,.wheel-slice:is(:hover,:focus-visible,.selected,.drag-over) .slice-hit-area{fill:transparent;stroke:none;pointer-events:all}
#wheel .slice-pith{fill:#fcedd1;stroke:none;pointer-events:none}
.slice-visual{pointer-events:none;transition:transform .24s cubic-bezier(.2,.8,.3,1),filter .24s ease}
#wheel .slice-artwork{fill:url(#wheel-texture);stroke:none;filter:url(#wheel-muted)}
#wheel .slice-outline{fill:transparent;stroke:transparent;stroke-width:1.5;vector-effect:non-scaling-stroke;filter:none}
#wheel .wheel-slice .slice-title{fill:#303b1c;font-family:ui-rounded,"SF Pro Rounded",var(--display);font-size:16.3px;font-weight:900;letter-spacing:0;pointer-events:none}
.wheel-slice:is(:hover,:focus-visible,.selected,.drag-over) .slice-visual{transform:translate(var(--lift-x),var(--lift-y));filter:drop-shadow(0 3px 3px #303b1c3d)}
#wheel .wheel-slice:is(:hover,:focus-visible,.selected,.drag-over) .slice-artwork{filter:none}
#wheel .wheel-slice:is(:hover,:focus-visible,.selected,.drag-over) .slice-outline{fill:#ffffff14;stroke:#303b1ccc}
#wheel .wheel-slice:is(:focus-visible,.drag-over) .slice-outline{stroke-width:2}
.wheel-stage:has(.demo-options:not([hidden]),.demo-result:not([hidden])) .slice-visual{transform:none;filter:none}
.wheel-stage:has(.demo-options:not([hidden]),.demo-result:not([hidden])) #wheel .slice-artwork{filter:url(#wheel-muted)}
.wheel-stage:has(.demo-options:not([hidden]),.demo-result:not([hidden])) .slice-outline{fill:transparent!important;stroke:none!important}
.wheel-hint{height:30px;line-height:1.4;margin:12px 0 0;font-size:11px;font-weight:600;color:#303b1c}
.wheel-hint:not(:empty){display:table;width:auto;margin-left:auto;margin-right:auto;padding:6px 12px;background:#fff7de;border-radius:999px;box-shadow:0 2px 5px #303b1c0d}
.wheel-stage:has(.demo-options:not([hidden]),.demo-result:not([hidden]))+.wheel-hint{visibility:hidden}
.demo-options,.demo-result{left:50%;top:50%;width:54%;min-width:200px;max-width:232px;border:1.2px solid #303b1c9e;border-radius:49% 51% 50% 48% / 50% 48% 52% 50%;background:#fff7de;padding:23px;box-shadow:0 4px 5px #303b1c2e;gap:9px;color:#303b1c}
.demo-options h3,.demo-result strong{font-family:ui-rounded,"SF Pro Rounded",var(--display);font-weight:900;font-size:20px;line-height:1.12;letter-spacing:-.3px}
.demo-result .result-copy{flex-direction:column}
.demo-result #result-details{font-size:11px;line-height:1.4}
.demo-options .overlay-close,.demo-result .overlay-close{position:static;flex-shrink:0;width:auto;height:auto;min-height:26px;max-width:100%;padding:4px 14px;border:0;background:transparent;border-radius:999px;font:600 11px/1.3 var(--body);color:#303b1c}
.demo-options .overlay-close:hover,.demo-result .overlay-close:hover{background:#303b1c12}
.demo-options .overlay-close:focus-visible,.demo-result .overlay-close:focus-visible,.action-options button:focus-visible{outline:2px solid #303b1c;outline-offset:2px}
.demo-result .overlay-close[hidden]{display:none}
.action-options button{min-height:29px;padding:6px;background:#303b1c0b;border-color:#303b1c25;font-size:11px}
.action-options button:hover{background:#303b1c;color:#fff7de}
.demo-result[data-status=error] .result-icon{background:var(--coral)}
@media(max-width:1000px) and (min-width:761px){.demo-workspace{grid-template-columns:125px minmax(0,380px) 125px;gap:22px}}
@media(max-width:760px){.demo-heading{margin-bottom:15px}.demo-playground{max-width:370px}.wheel-stage{max-width:370px}.demo-workspace{gap:18px}.wheel-hint{font-size:10px;margin-top:7px}.demo-options,.demo-result{min-width:180px;padding:18px;gap:7px}.demo-options h3,.demo-result strong{font-size:18px}.demo-result #result-details{font-size:10px}.action-options button{font-size:10px;min-height:27px}.demo-output{margin-top:0}}
@media(prefers-reduced-motion:reduce){.slice-visual{transition:none}.wheel-slice:is(:hover,:focus-visible,.selected,.drag-over) .slice-visual{transform:none}}
