/* Isolated case-study illustration. Inherits the existing case-study fonts. */
.htm-components{--htmc-ink:#20355a;--htmc-muted:#64738a;--htmc-line:#d9e1ed;--htmc-teal:#11efe3;color:var(--htmc-ink);margin:0;min-width:0}
.htm-components *{box-sizing:border-box}
.htm-components [hidden]{display:none!important}
.htmc-heading{margin-bottom:40px;max-width:980px}
.htmc-heading h2{font-size:clamp(30px,3.3vw,46px);line-height:1.18;letter-spacing:-.035em;font-weight:500;margin:16px 0 24px}
.htmc-heading>p:last-child{font-size:clamp(17px,1.35vw,20px);line-height:1.75;margin:0;max-width:920px}
.htmc-workbench{background:#fff;border:1px solid var(--htmc-line);border-radius:20px;box-shadow:0 22px 48px -32px #20355a4d;overflow:hidden}
.htmc-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:18px 22px;border-bottom:1px solid var(--htmc-line);background:#fbfcfe}
.htmc-tabs button,.htmc-order-switch button{border:1px solid transparent;background:transparent;border-radius:10px;font:inherit;font-size:14px;line-height:1.35;font-weight:600;min-height:46px;padding:12px 18px;color:var(--htmc-ink);cursor:pointer;transition:background .16s,border-color .16s}
.htmc-tabs button[aria-selected=true]{border-color:var(--htmc-line);background:#fff;box-shadow:0 6px 14px -10px #20355a55}
.htmc-tabs button:hover,.htmc-order-switch button:hover{background:#f0f4f8}
.htm-components button:focus-visible{outline:2px solid var(--htmc-ink);outline-offset:4px}
.htmc-panel{display:grid;grid-template-columns:minmax(240px,.85fr) minmax(0,1.15fr);gap:clamp(28px,4vw,56px);padding:clamp(24px,3vw,40px);align-items:start}
.htmc-overline{font-size:11px;line-height:1.5;font-weight:600;letter-spacing:.06em;color:var(--htmc-muted);text-transform:uppercase;margin:0 0 12px}
.htmc-explanation h3{font-size:clamp(25px,2.4vw,34px);font-weight:500;line-height:1.25;letter-spacing:-.025em;margin:0 0 22px}
.htmc-explanation>p:not(.htmc-overline){font-size:16px;line-height:1.8;margin:0 0 18px}
.htmc-note{display:flex;gap:12px;align-items:flex-start;border-top:1px solid var(--htmc-line);padding-top:22px;margin-top:28px;color:var(--htmc-muted);font-size:13px;line-height:1.7}
.htmc-note svg{width:20px;height:20px;flex:0 0 20px;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round;margin-top:1px}
.htmc-screen{border:1px solid #cbd6e5;border-radius:12px;min-width:0;background:#fff;box-shadow:0 16px 32px -25px #20355a44;overflow:hidden}
.htmc-screen-bar{display:flex;align-items:center;gap:14px;min-height:44px;padding:10px 16px;border-bottom:1px solid var(--htmc-line);font-size:10px;line-height:1.5;color:var(--htmc-muted);background:#fafbfd}
.htmc-screen-bar>span:first-child{color:#b6c3d4;font-size:8px;letter-spacing:2px;flex-shrink:0}
.htmc-step-demo,.htmc-files-demo{padding:clamp(22px,2.7vw,36px)}
.htmc-step-demo h4,.htmc-guide-detail h4,.htmc-files-demo h4{font-weight:500;font-size:clamp(24px,2.3vw,32px);line-height:1.25;letter-spacing:-.025em;margin:0}
.htmc-method{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:relative;margin:32px 0 30px;gap:10px}
.htmc-method:before{position:absolute;content:"";height:1px;background:var(--htmc-line);left:12%;right:12%;top:24px}
.htmc-method button{position:relative;display:flex;flex-direction:column;align-items:center;gap:10px;padding:0 0 2px;background:transparent;border:0;color:var(--htmc-muted);font:inherit;cursor:pointer;min-width:0}
.htmc-method button>span{display:grid;place-items:center;width:50px;height:50px;border:1px solid var(--htmc-line);border-radius:50%;background:#fff;color:var(--htmc-ink);font-family:Georgia,serif;font-size:24px;transition:background .18s,border-color .18s,transform .18s;box-shadow:0 7px 16px -10px #20355a55}
.htmc-method button small{font-size:11px;line-height:1.4;letter-spacing:0}
.htmc-method button[aria-selected=true]>span{background:#eafffd;border-color:#58d4cf;box-shadow:inset 0 -3px var(--htmc-teal),0 7px 16px -10px #20355a44}
.htmc-method button[aria-selected=true] small{color:var(--htmc-ink);font-weight:700}
.htmc-method button:hover>span{transform:translateY(-2px)}
.htmc-method-copy{min-height:146px;padding:22px 0;border-top:1px solid var(--htmc-line)}
.htmc-method-copy>span{display:block;color:var(--htmc-muted);font-size:11px;margin-bottom:8px}
.htmc-method-copy>strong{display:block;font-size:20px;font-weight:600}
.htmc-method-copy>p{font-size:13px;line-height:1.8;color:var(--htmc-muted);margin:10px 0 0}
.htmc-format-row{display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid var(--htmc-line);padding-top:18px}
.htmc-format-row>span{font-size:10px;line-height:1.4;color:var(--htmc-muted);padding:6px 9px;background:#f7f9fc;border:1px solid #e4e9f1;border-radius:5px}
.htmc-guide-demo{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1fr);gap:24px;padding:28px}
.htmc-guide-cover{position:relative;min-height:245px;border:1px solid var(--htmc-line);border-left:6px solid #d6dde6;border-radius:3px 8px 8px 3px;background:linear-gradient(125deg,#fff,#f0f3f6);padding:22px 18px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:7px 12px 18px -14px #20355a66}
.htmc-guide-cover:after{content:"";position:absolute;inset:8px;border:1px solid #d9e0e9;border-radius:2px;pointer-events:none}
.htmc-guide-cover span{font:10px/1.5 Georgia,serif;color:var(--htmc-muted)}
.htmc-guide-cover strong{font:500 clamp(18px,2vw,25px)/1.25 Georgia,serif;position:relative;margin:26px 0}
.htmc-guide-detail{padding:10px 0;align-self:center}
.htmc-guide-detail h4{font-size:clamp(21px,2vw,28px)}
.htmc-format{font-size:12px;color:var(--htmc-muted);line-height:1.6;margin:17px 0}
.htmc-price{display:flex;align-items:baseline;gap:12px;border-top:1px solid var(--htmc-line);padding-top:16px;margin-top:20px;flex-wrap:wrap}
.htmc-price strong{font:500 30px/1.2 Georgia,serif}
.htmc-price span{font-size:10px;color:var(--htmc-muted)}
.htmc-preview-label{display:flex;align-items:center;gap:8px;font-size:11px;margin-top:22px;color:var(--htmc-muted)}
.htmc-preview-label svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.5;flex-shrink:0}
.htmc-guide-picker{grid-column:1/-1;border-top:1px solid var(--htmc-line);padding-top:18px;display:grid;gap:8px}
.htmc-guide-picker button{border:1px solid transparent;background:#fff;padding:12px 10px;color:var(--htmc-ink);min-height:46px;border-radius:7px;font:inherit;font-size:12px;line-height:1.5;display:grid;grid-template-columns:22px minmax(0,1fr) 30px;gap:8px;text-align:left;cursor:pointer;transition:background .16s,border-color .16s}
.htmc-guide-picker button>span{font-size:10px;color:var(--htmc-muted)}
.htmc-guide-picker button>small{font-size:12px;text-align:right}
.htmc-guide-picker button[aria-pressed=true]{background:#f3fbfa;border-color:#a7dfdd;box-shadow:inset 3px 0 var(--htmc-teal)}
.htmc-guide-picker button:hover{background:#f4f7fa}
.htmc-demo-caption{grid-column:1/-1;font-size:10px;color:var(--htmc-muted);margin:0;line-height:1.6}
.htmc-order-switch{display:flex;gap:6px;border:1px solid var(--htmc-line);padding:5px;background:#f7f9fc;border-radius:9px;margin-bottom:28px}
.htmc-order-switch button{flex:1;font-size:11px;min-height:44px;padding:10px 8px;border-radius:6px}
.htmc-order-switch button[aria-pressed=true]{background:#fff;border-color:var(--htmc-line);box-shadow:0 3px 6px -4px #20355a44}
.htmc-order-heading{display:flex;align-items:center;gap:16px}
.htmc-order-heading .htmc-overline{margin-bottom:5px}
.htmc-order-icon{width:38px;height:38px;border:1px solid var(--htmc-line);border-radius:50%;display:grid;place-items:center;flex:0 0 38px}
.htmc-order-icon svg{width:19px;height:19px;stroke:#69768a;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
.htmc-order-heading h4{font-size:25px}
.htmc-order-product{display:flex;flex-direction:column;gap:9px;margin:28px 0 22px;padding-bottom:22px;border-bottom:1px solid var(--htmc-line)}
.htmc-order-product strong{font-size:14px;line-height:1.6}
.htmc-order-product>span{font-size:11px;color:var(--htmc-muted)}
.htmc-download-rows{display:grid;gap:12px}
.htmc-download-rows>div{display:flex;align-items:center;gap:12px;border:1px solid var(--htmc-line);padding:16px 13px;border-radius:8px;background:#fff;min-width:0}
.htmc-download-rows svg{width:22px;height:22px;stroke:#788599;stroke-width:1.4;stroke-linejoin:round;stroke-linecap:round;flex-shrink:0}
.htmc-download-rows>div>span:nth-child(2){display:flex;flex-direction:column;gap:6px;min-width:0}
.htmc-download-rows strong{font-size:12px;font-weight:600}
.htmc-download-rows small{font-size:10px;line-height:1.6;color:var(--htmc-muted)}
.htmc-file-state{font-size:9px;line-height:1.4;color:var(--htmc-muted);margin-left:auto;flex-shrink:0;padding:5px 7px;background:#f3f7f8;border-radius:4px}
.htmc-files-demo[data-order=before] .htmc-download-rows{opacity:.6}
.htmc-receipt-note{border-top:1px solid var(--htmc-line);padding-top:18px;margin:24px 0 0;font-size:11px;line-height:1.8;color:var(--htmc-muted)}
.htmc-evidence-caption{font-size:11px;line-height:1.8;color:var(--htmc-muted);padding:20px 28px;margin:0;border-top:1px solid var(--htmc-line);background:#fcfdff}
.htmc-build-path{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:38px;padding-top:28px;border-top:1px solid var(--htmc-line);gap:26px}
.htmc-build-path>div{position:relative;min-width:0;padding-top:8px}
.htmc-build-path>div>span{font-size:11px;color:var(--htmc-muted)}
.htmc-build-path h3{font-size:17px;line-height:1.4;font-weight:600;margin:13px 0 10px}
.htmc-build-path p{font-size:13px;line-height:1.8;color:var(--htmc-muted);margin:0}
@media(max-width:900px){.htmc-panel{grid-template-columns:minmax(0,1fr)}.htmc-explanation{max-width:680px}.htmc-screen{width:100%}.htmc-build-path{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:30px}.htmc-heading{margin-bottom:30px}}
@media(max-width:520px){.htmc-panel{padding:22px 16px;gap:28px}.htmc-tabs{padding:12px;gap:5px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.htmc-tabs button{font-size:11px;padding:10px 6px;min-height:48px}.htmc-heading h2{font-size:30px}.htmc-heading>p:last-child{font-size:16px}.htmc-explanation h3{font-size:26px}.htmc-explanation>p:not(.htmc-overline){font-size:15px}.htmc-screen-bar{padding:10px 12px;gap:9px;font-size:9px}.htmc-step-demo,.htmc-files-demo{padding:22px 17px}.htmc-method{gap:6px}.htmc-method button>span{width:44px;height:44px;font-size:22px}.htmc-method:before{top:22px}.htmc-method button small{font-size:10px}.htmc-guide-demo{padding:20px 15px;gap:17px;grid-template-columns:minmax(0,.85fr) minmax(0,1fr)}.htmc-guide-cover{min-height:220px;padding:18px 12px}.htmc-guide-cover strong{font-size:19px}.htmc-guide-detail h4{font-size:21px}.htmc-guide-detail .htmc-overline{font-size:9px}.htmc-price{gap:7px}.htmc-price strong{font-size:25px}.htmc-price span{font-size:9px}.htmc-preview-label{font-size:10px}.htmc-evidence-caption{padding:18px;font-size:10px}.htmc-order-heading{gap:12px}.htmc-order-heading h4{font-size:23px}.htmc-download-rows>div{padding:14px 10px;gap:9px}.htmc-download-rows svg{width:18px;height:18px}.htmc-file-state{font-size:8px;padding:4px}.htmc-build-path{gap:24px 20px}.htmc-build-path h3{font-size:16px}.htmc-build-path p{font-size:12px}}
@media(prefers-reduced-motion:reduce){.htm-components *{transition:none!important;animation:none!important}.htmc-method button:hover>span{transform:none}}
