
.tool-page{--accent:#2563eb;max-width:1440px;margin:0 auto;padding:48px 16px 80px;color:#1a1b22;background:#f6f5f2}
.tool-page[data-tuner=violin]{--accent:#d97706}.tool-page[data-tuner=ukulele]{--accent:#059669}.tool-page[data-tuner=chromatic]{--accent:#7c3aed}
.tool-crumb{font-size:14px;color:#6b6a70;margin-bottom:28px}.tool-crumb a{color:inherit;text-underline-offset:4px}
.tool-header{display:flex;flex-direction:column;gap:20px;margin-bottom:32px}
.tool-kicker{display:flex;align-items:center;gap:12px;margin:0 0 16px;font-family:"JetBrains Mono",monospace;font-size:11px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:#47464a}
.tool-kicker::before{content:"";width:28px;height:1px;background:#1a1b22}
.tool-page h1{font-size:clamp(2.4rem,5vw,4.5rem);line-height:1;letter-spacing:-.055em;font-weight:600;margin:0}
.tool-lead{max-width:28rem;font-size:17px;line-height:1.6;color:#47464a;margin:0}
.tool-tabs{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:16px}
.tool-tab{position:relative;display:block;height:96px;overflow:hidden;border-radius:12px;color:#fff;text-decoration:none;opacity:.8;transition:opacity .2s}
.tool-tab:hover,.tool-tab[aria-current=page]{opacity:1}
.tool-tab[aria-current=page]{box-shadow:0 0 0 2px #f6f5f2,0 0 0 4px var(--accent)}
.tool-tab img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.9);transition:transform .5s}
.tool-tab:hover img{transform:scale(1.03)}
.tool-tab::after{content:"";position:absolute;inset:0;background:linear-gradient(to right,rgb(0 0 0/.75),rgb(0 0 0/.3) 50%,transparent)}
.tool-tab span{position:absolute;left:16px;bottom:14px;z-index:1;display:flex;flex-direction:column}
.tool-tab strong{font-size:20px;line-height:1.2;font-weight:600}
.tool-tab small{margin-top:4px;font-family:"JetBrains Mono",monospace;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:rgb(255 255 255/.7)}
.tool-tab[aria-current=page]::before{content:"";position:absolute;right:12px;top:12px;z-index:2;width:10px;height:10px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 2px #fff}
.tool-page .m4h-tuner{margin:0}
.tool-article{max-width:760px;margin:56px auto 0}
.tool-prose{font-size:18px;line-height:1.75;color:#47464a}
.tool-prose h2{font-size:28px;line-height:1.25;letter-spacing:-.03em;font-weight:600;color:#1a1b22;margin:56px 0 16px;scroll-margin-top:96px}
.tool-prose h2:first-child{margin-top:0}
.tool-prose p,.tool-prose ul,.tool-prose ol{margin:0 0 20px}.tool-prose li{margin-bottom:8px}.tool-prose strong{color:#1a1b22}
.tool-prose a,.tool-related a,.tool-cta a,.tool-others a{color:#0058be;text-underline-offset:4px}
.tool-table{width:100%;border-collapse:collapse;margin:8px 0 24px;font-size:16px;font-variant-numeric:tabular-nums;background:#fff;border-radius:12px;overflow:hidden}
.tool-table th,.tool-table td{text-align:left;padding:12px 14px;border-bottom:1px solid #ebe9ef}.tool-table th{font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:#6b6a70;font-weight:600}
.tool-related,.tool-cta{margin-top:56px;padding:32px;border:1px solid rgb(0 0 0/.08);border-radius:12px;background:#fff}
.tool-related h2,.tool-cta h2{font-size:24px;letter-spacing:-.02em;font-weight:600;margin:0 0 16px;color:#1a1b22}
.tool-related ul{list-style:none;margin:0;padding:0}.tool-related li{border-top:1px solid #efeeec}.tool-related li a{display:block;padding:14px 0;color:#1a1b22;text-decoration:none}.tool-related li a:hover{text-decoration:underline}
.tool-cta p{font-size:17px;line-height:1.65;color:#47464a;margin:0 0 20px}
.tool-cta .tool-button{display:inline-flex;align-items:center;min-height:48px;padding:12px 24px;border-radius:12px;background:#1a1b22;color:#fff;text-decoration:none;font-weight:600;margin-right:16px}
.tool-others{margin-top:40px;font-size:16px;color:#47464a;display:flex;flex-wrap:wrap;gap:8px 20px}.tool-others a{display:inline-block;padding:8px 0}
.skip{position:absolute;top:-100px;left:16px}.skip:focus{top:8px;z-index:100;background:#fff;padding:12px}
.tool-page a:focus-visible{outline:3px solid #0058be;outline-offset:3px}
body:has(.tool-page){background:#f6f5f2}
@media(min-width:768px){.tool-page{padding:48px 32px 96px}.tool-tabs{grid-template-columns:repeat(4,1fr)}.tool-tab{height:112px}}
@media(min-width:1024px){.tool-page{padding:56px 48px 112px}.tool-header{flex-direction:row;align-items:flex-end;justify-content:space-between;gap:48px}}
@media(max-width:600px){.tool-prose{font-size:17px}.tool-related,.tool-cta{padding:24px}.tool-cta .tool-button{width:100%;justify-content:center;margin:0 0 12px}.tool-table{font-size:15px}.tool-table th,.tool-table td{padding:10px 8px}}
@media(prefers-reduced-motion:reduce){.tool-tab,.tool-tab img{transition:none}}
