/* Firmware 2.4.0 visual polish and shared guidance */
:root{--wh-surface:#16151d;--wh-surface2:#1b1923;--wh-edge:rgba(169,108,255,.18)}
body{background-image:radial-gradient(ellipse at 10% 0%,rgba(124,65,190,.12),transparent 38%),radial-gradient(ellipse at 90% 10%,rgba(220,42,76,.07),transparent 35%);background-attachment:fixed}
.header{backdrop-filter:blur(14px);background:rgba(11,7,17,.92);border-bottom-color:var(--wh-edge);gap:18px}.header nav a{padding:7px 0}.header nav a:hover{color:#fff;text-decoration:underline;text-decoration-color:var(--purple);text-underline-offset:5px}.brand{letter-spacing:1.5px}
.hero{min-height:unset;padding-top:72px;padding-bottom:65px;gap:clamp(24px,4vw,50px)}.hero>div:first-child{max-width:700px}.hero h1{letter-spacing:-1px}.hero .lead{font-size:clamp(14px,1.5vw,17px);line-height:1.75}.hero .subnote{margin-top:20px}.terminal{box-shadow:0 20px 55px rgba(0,0,0,.35);border-color:var(--wh-edge)}.ticker{white-space:normal;line-height:1.8}
.section{padding-top:70px;padding-bottom:70px}.section-title{margin-bottom:25px}.cards article,.tool-card,.future-grid article{background:linear-gradient(145deg,rgba(27,26,36,.96),rgba(16,16,22,.96));border-color:var(--wh-edge);box-shadow:0 6px 20px rgba(0,0,0,.12)}.cards article{min-height:230px}.cards article:hover,.tool-card:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(0,0,0,.2)}.mission{background:linear-gradient(120deg,rgba(33,24,44,.8),rgba(21,27,24,.8));border-color:var(--wh-edge)}.community{padding-top:70px;padding-bottom:70px}.roadmap em{font-size:8px}
#tool-directory{padding-top:45px}.tool-search{position:sticky;top:86px;z-index:4;box-shadow:0 10px 20px rgba(0,0,0,.22);backdrop-filter:blur(12px)}.tool-grid{gap:14px}.tool-card{min-height:122px;padding:20px}.tool-card__title{font-size:21px}.tool-count{font-weight:700}.tool-card[hidden]{display:none}
.wh-tool-guide{margin:0 0 20px;border:1px solid var(--wh-edge);border-radius:10px;background:linear-gradient(145deg,rgba(25,23,34,.98),rgba(13,13,18,.98));overflow:hidden}.wh-tool-guide summary{cursor:pointer;list-style:none;padding:17px 19px;display:flex;justify-content:space-between;align-items:center;gap:15px;font-weight:800;letter-spacing:.7px}.wh-tool-guide summary::-webkit-details-marker{display:none}.wh-tool-guide summary:after{content:'＋';color:var(--purple);font-size:20px}.wh-tool-guide[open] summary:after{content:'−'}.wh-tool-guide summary small{color:var(--muted);font-weight:500;letter-spacing:0;text-align:right}.wh-guide-body{padding:4px 19px 18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.wh-guide-body section{border:1px solid rgba(255,255,255,.07);border-radius:7px;padding:14px;background:rgba(255,255,255,.02)}.wh-guide-body h3{font-size:18px;margin-bottom:8px}.wh-guide-body p,.wh-guide-body li{color:var(--muted);font-size:12px;line-height:1.7}.wh-guide-body ol{padding-left:20px;margin:0}.wh-guide-body p{margin:0}
.patch-list{display:grid;gap:16px}.patch-entry{padding:20px;border:1px solid var(--wh-edge);border-radius:10px;background:var(--wh-surface)}.patch-entry h2{font-size:25px}.patch-entry .meta{color:var(--muted);font-size:12px;margin:5px 0 12px}.patch-entry ul{line-height:1.7;color:var(--muted)}.patch-entry .tag{display:inline-block;border:1px solid var(--wh-edge);padding:3px 8px;border-radius:20px;font-size:10px;margin-right:6px}
@media(max-width:720px){.hero{padding-top:45px;padding-bottom:45px}.section{padding-top:48px;padding-bottom:48px}.tool-search{top:72px}.wh-tool-guide summary{align-items:flex-start;flex-direction:column}.wh-tool-guide summary small{text-align:left}.wh-guide-body{grid-template-columns:1fr}.cards article{min-height:unset;padding-bottom:70px}.ticker{font-size:10px}.mission{padding:22px}.tool-card{min-height:unset}}
.tool-category{margin:12px 0;border:1px solid var(--wh-edge);border-radius:9px;background:rgba(18,17,24,.65);overflow:hidden}.tool-category>summary{cursor:pointer;list-style:none;padding:16px 18px;font-weight:800;letter-spacing:.6px;display:flex;justify-content:space-between}.tool-category>summary::-webkit-details-marker{display:none}.tool-category>summary:after{content:'⌄';color:var(--purple)}.tool-category[open]>summary:after{content:'⌃'}.tool-category>.tool-grid{padding:0 14px 14px}.tool-category[hidden]{display:none}

/* Homepage clarity and visual consistency pass */
body:has(#home) .hero{border-bottom:1px solid var(--wh-edge)}
body:has(#home) .hero h1{font-size:clamp(48px,8vw,100px);line-height:.94}
body:has(#home) .hero .actions{gap:12px;flex-wrap:wrap}
body:has(#home) .hero .actions a{border-radius:9px;padding:12px 16px}
body:has(#home) .section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;flex-wrap:wrap}
body:has(#home) .section-title>p{max-width:650px}
body:has(#home) .cards article,body:has(#home) .tool-card{border-radius:12px}
body:has(#home) .tool-card{display:flex;flex-direction:column;gap:10px}
body:has(#home) .tool-card>span:last-child{color:var(--theme-muted);line-height:1.65}
body:has(#home) .ticker{border-top:1px solid var(--wh-edge);border-bottom:1px solid var(--wh-edge);background:rgba(17,14,23,.7)}
@media(max-width:720px){body:has(#home) .hero h1{font-size:clamp(45px,14vw,72px)}body:has(#home) .section-title{align-items:flex-start}body:has(#home) .hero .actions a{width:100%;text-align:center}}
