/* Decorative tool illustrations. All forms and data remain in the reading flow. */
.tool-heading{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,320px);align-items:center;gap:32px;min-height:244px;margin:8px 0 32px;padding:24px 36px;border:1px solid var(--line);border-radius:28px;background:var(--surface-2);isolation:isolate}
.tool-heading>div:first-child{min-width:0;position:relative;z-index:1}
.tool-heading h1{margin:8px 0 12px;font-size:clamp(28px,3.3vw,44px);font-weight:750;line-height:1.5}
.tool-heading .eyebrow,.tool-heading .universe-kicker{margin:0;color:var(--brand);font-size:12px;font-weight:650}
.tool-heading .lede,.tool-heading .universe-intro{max-width:65ch;margin:0;color:var(--muted);font-size:15px;line-height:1.95}
.tool-art{position:relative;display:grid;place-items:center;width:100%;height:228px;pointer-events:none;--art-accent:var(--brand)}
.tool-art--exchange{--art-accent:#b38a3b}
.tool-art--calendar{--art-accent:#6088ce}
.tool-art:before{content:"";position:absolute;inset:18px 6%;border-radius:50%;background:radial-gradient(ellipse,color-mix(in srgb,var(--art-accent) 12%,transparent),transparent 70%)}
.tool-art img{position:relative;z-index:1;width:268px;max-width:100%;height:268px;object-fit:contain;filter:drop-shadow(0 12px 12px #1223470c)}
.tool-art-orbit{position:absolute;inset:24px 2%;border:1px solid color-mix(in srgb,var(--art-accent) 20%,transparent);border-radius:50%;transform:rotate(-24deg)}
.tool-art-dot{position:absolute;left:9%;top:28px;width:9px;height:9px;border-radius:50%;background:var(--art-accent);box-shadow:0 0 0 6px color-mix(in srgb,var(--art-accent) 9%,transparent)}
.tool-art-stamp{position:absolute;z-index:2;right:12px;bottom:24px;display:grid;place-items:center;width:46px;height:46px;border:1px solid var(--line);border-radius:15px;background:var(--surface);color:var(--art-accent);transform:rotate(8deg)}
.tool-art-stamp svg{width:23px;height:23px}
.tool-back{display:inline-flex;align-items:center;gap:20px;margin-top:16px;text-decoration:none}
[data-page="tools-hub"] .tool-section{margin-bottom:36px}
[data-page="tools-hub"] .cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))}
.tool-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:112px;margin:0 0 16px;padding:6px 24px;border-radius:22px;background:var(--surface-2)}
[data-page="tools-hub"] .tool-section-title{font-size:22px;margin:0}
.tool-section-art{display:block;flex-shrink:0;width:112px;height:112px;object-fit:contain}
[data-page="tools-hub"] .tool-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 108px;grid-template-rows:auto 1fr auto;gap:10px 14px;min-height:200px;padding:22px;border:1px solid var(--line);border-radius:20px;background:var(--surface);transition:border-color .2s,background .2s}
[data-page="tools-hub"] .tool-card:hover{border-color:color-mix(in srgb,var(--brand) 45%,var(--line));background:color-mix(in srgb,var(--brand) 3%,var(--surface))}
[data-page="tools-hub"] .tool-card:focus-visible{outline-offset:4px}
[data-page="tools-hub"] .tool-card h3{grid-column:1;grid-row:1;font-size:16px;line-height:1.7;overflow-wrap:anywhere}
[data-page="tools-hub"] .tool-card p{grid-column:1;grid-row:2;line-height:1.9;margin:0;color:var(--muted);overflow-wrap:anywhere}
[data-page="tools-hub"] .tool-card .go{grid-column:1;grid-row:3;align-self:end}
.tool-card-art{position:relative;grid-column:2;grid-row:1/4;align-self:center;display:grid;place-items:center;width:108px;height:124px;isolation:isolate;pointer-events:none}
.tool-card-art:before{content:"";position:absolute;inset:20px 0;border-radius:50%;background:var(--brand-soft);z-index:-1}
.tool-card-art img{display:block;width:124px;max-width:none;height:124px;object-fit:contain;transition:transform .2s}
.tool-card:hover .tool-card-art img{transform:translateY(-3px)}
[data-page="tools-hub"] .tool-card.soon{opacity:1;background:var(--surface-2)}
[data-page="tools-hub"] .tool-card.soon .tool-card-art:before{background:var(--surface)}
.tool-featured{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 40px}
.tool-feature{display:flex;align-items:center;gap:8px;padding:12px 16px;border:1px solid var(--line);border-radius:20px;background:var(--surface);color:var(--ink);text-decoration:none;transition:border-color .2s}
.tool-feature:hover{border-color:var(--brand)}
.tool-feature img{width:88px;height:88px;object-fit:contain;flex-shrink:0}
.tool-feature strong{display:block;font-size:14px;font-weight:650}
.tool-feature small{display:block;margin-top:5px;font-size:12px;color:var(--muted)}
@media(min-width:1450px){.tool-heading{grid-template-columns:minmax(0,1fr) 360px}}
@media(max-width:1000px){.tool-featured{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){
 .tool-heading{grid-template-columns:minmax(0,1fr) 126px;gap:6px;min-height:192px;padding:22px 18px;margin-bottom:24px;border-radius:22px}
 .tool-heading h1{font-size:26px;line-height:1.55;margin:6px 0 10px}
 .tool-heading .lede,.tool-heading .universe-intro{font-size:13px;line-height:1.9}
 .tool-art{height:148px}
 .tool-art img{width:154px;height:154px;max-width:120%}
 .tool-art-orbit{inset:25px 0}
 .tool-art-stamp{width:30px;height:30px;right:0;bottom:7px;border-radius:10px}
 .tool-art-stamp svg{width:17px;height:17px}
 .tool-art-dot{width:6px;height:6px;left:3%;top:16px}
 .tool-featured{gap:10px;margin-bottom:32px}
 .tool-feature{padding:10px 8px;gap:3px;border-radius:16px}
 .tool-feature img{width:64px;height:64px}
 .tool-feature strong{font-size:13px}
 .tool-feature small{font-size:11px}
 .tool-section-heading{min-height:94px;padding:4px 18px;border-radius:18px}
 .tool-section-art{width:94px;height:94px}
 [data-page="tools-hub"] .tool-section-title{font-size:20px}
 [data-page="tools-hub"] .tool-card{grid-template-columns:minmax(0,1fr) 88px;gap:10px;min-height:184px;padding:20px}
 .tool-card-art{width:88px;height:108px}
 .tool-card-art img{width:108px;height:108px}
}
@media(max-width:390px){.tool-heading{grid-template-columns:minmax(0,1fr)}.tool-art{height:132px;width:180px;justify-self:center}.tool-art img{width:156px;height:156px}.tool-heading h1{font-size:26px}.tool-feature{flex-direction:column;text-align:center;gap:4px}.tool-feature small{margin-top:3px}}
@media(prefers-reduced-motion:reduce){[data-page="tools-hub"] .tool-card,.tool-feature,.tool-card-art img{transition:none}.tool-card:hover .tool-card-art img{transform:none}}
