/* AudioWrench homepage — UI/UX Pro Max design pass.
 * Homepage-only tokens keep the global tool surface stable. */
:root {
    --home-ink: #111827;
    --home-ink-soft: #344054;
    --home-muted: #667085;
    --home-accent: #d63846;
    --home-accent-strong: #a52331;
    --home-coral: #ff6572;
    --home-teal: #0f7f78;
    --home-teal-soft: #ddf7f3;
    --home-paper: #fffdfd;
    --home-surface: rgba(255, 255, 255, .88);
    --home-line: #e8e2e4;
    --home-radius-sm: 14px;
    --home-radius-md: 22px;
    --home-radius-lg: 32px;
    --home-shadow-sm: 0 12px 28px -22px rgba(25, 18, 26, .38);
    --home-shadow-lg: 0 34px 90px -48px rgba(83, 24, 36, .46);
    --home-ease: cubic-bezier(.22, 1, .36, 1);
    --home-z-base: 0;
    --home-z-content: 10;
    --home-z-popover: 30;
}

.home-hero {
    position: relative;
    isolation: isolate;
    overflow: clip;
    padding: clamp(62px, 8vw, 112px) 0 34px;
    background: linear-gradient(180deg, #fffafb 0%, #fff7f8 68%, #fff 100%);
}

.home-dot-field {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.home-dot-field canvas,
.home-dot-field svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.home-dot-field canvas { opacity: 1; }
.home-dot-field svg { overflow: visible; pointer-events: none; }

.home-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 330px;
    z-index: 1;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, .34) 26%, rgba(255, 255, 255, .86) 68%, #fff 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 34%);
    mask-image: linear-gradient(180deg, transparent, #000 34%);
    pointer-events: none;
}

.home-hero-glow {
    position: absolute;
    z-index: -2;
    width: 520px;
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(2px);
    opacity: .48;
    pointer-events: none;
}

.home-hero-glow-a { top: -300px; right: -80px; background: radial-gradient(circle, rgba(255, 120, 110, .19), transparent 68%); }
.home-hero-glow-b { bottom: -330px; left: -210px; background: radial-gradient(circle, rgba(214, 56, 70, .12), transparent 68%); }

.home-hero-grid {
    position: relative;
    z-index: var(--home-z-content);
    display: block;
}

.home-hero-copy { width: min(960px, 100%); min-width: 0; margin: 0 auto; text-align: center; }
.home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 22px;
    color: var(--home-accent-strong);
    font-size: .75rem;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.home-kicker > span {
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: var(--home-accent);
    box-shadow: 7px -5px 0 -1px var(--home-coral), 15px 5px 0 -1px var(--home-teal);
}
.home-hero h1 {
    max-width: 980px;
    margin: 0 auto;
    color: var(--home-ink);
    font-size: clamp(3rem, 5.7vw, 5.8rem);
    font-weight: 850;
    letter-spacing: -.065em;
    line-height: .98;
    text-wrap: balance;
}
.home-title-second {
    display: inline-block;
    margin-top: .12em;
    color: var(--home-ink);
}
.home-hero h1 em {
    position: relative;
    color: var(--home-accent);
    font-style: normal;
    white-space: nowrap;
}
.home-hero-lede {
    max-width: 67ch;
    margin: 28px auto 0;
    color: var(--home-ink-soft);
    font-size: clamp(1rem, 1.25vw, 1.18rem);
    line-height: 1.7;
}
.home-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.home-primary-action,
.home-secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .92rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s var(--home-ease), box-shadow .2s var(--home-ease), border-color .2s ease, background .2s ease;
    touch-action: manipulation;
}
.home-primary-action { color: #fff; background: var(--home-accent-strong); box-shadow: 0 15px 30px -18px rgba(165, 35, 49, .9); }
.home-secondary-action { color: var(--home-ink); border-color: var(--home-line); background: rgba(255, 255, 255, .86); box-shadow: var(--home-shadow-sm); }
.home-primary-action svg,
.home-secondary-action svg { width: 18px; height: 18px; flex: 0 0 auto; }
.home-primary-action:hover,
.home-secondary-action:hover { transform: translateY(-2px); }
.home-primary-action:hover { color: #fff; background: #8e1f2b; box-shadow: 0 20px 36px -18px rgba(142, 31, 43, .92); }
.home-secondary-action:hover { color: var(--home-accent-strong); border-color: #ddb4ba; background: #fff; }

.home-quick-search {
    position: relative;
    z-index: var(--home-z-popover);
    max-width: 690px;
    margin: 28px auto 0;
    text-align: left;
}
.home-quick-search > label { display: block; margin-bottom: 8px; color: var(--home-ink); font-size: .82rem; font-weight: 800; }
.home-search-control { position: relative; }
.home-search-control > svg {
    position: absolute;
    top: 50%;
    left: 17px;
    width: 20px;
    height: 20px;
    color: var(--home-accent);
    transform: translateY(-50%);
    pointer-events: none;
}
.home-search-control input {
    width: 100%;
    min-height: 58px;
    padding: 14px 54px 14px 49px;
    border: 1px solid #d7dce4;
    border-radius: 16px;
    color: var(--home-ink);
    background: rgba(255, 255, 255, .93);
    box-shadow: 0 18px 38px -28px rgba(28, 36, 54, .68);
    font: inherit;
    font-size: 1rem;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.home-search-control input::placeholder { color: #788397; }
.home-search-control input:focus { border-color: var(--home-accent); outline: 0; background: #fff; box-shadow: 0 0 0 4px rgba(214, 56, 70, .14), 0 22px 42px -28px rgba(28, 36, 54, .62); }
.home-search-control kbd {
    position: absolute;
    top: 50%;
    right: 13px;
    min-width: 30px;
    padding: 5px 8px;
    border: 1px solid #d8dce3;
    border-bottom-width: 2px;
    border-radius: 8px;
    color: #5c6678;
    background: #f8fafc;
    font: 750 .73rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
    text-align: center;
    transform: translateY(-50%);
}
.home-search-results {
    position: absolute;
    top: calc(100% - 42px);
    right: 0;
    left: 0;
    z-index: var(--home-z-popover);
    overflow: hidden;
    padding: 8px;
    border: 1px solid var(--home-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 28px 70px -28px rgba(18, 25, 39, .42);
}
.home-search-results[hidden] { display: none; }
.home-search-option {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
    min-height: 62px;
    padding: 9px 10px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--home-ink);
    text-decoration: none;
    transition: border-color .16s ease, background .16s ease;
}
.home-search-option:hover,
.home-search-option[aria-selected="true"] { color: var(--home-ink); border-color: #efd2d6; background: #fff7f8; }
.home-search-option-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--home-accent); background: #fff0f2; }
.home-search-option-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.home-search-option-copy { min-width: 0; }
.home-search-option-copy strong,
.home-search-option-copy small { display: block; }
.home-search-option-copy strong { overflow: hidden; font-size: .82rem; text-overflow: ellipsis; white-space: nowrap; }
.home-search-option-copy small { margin-top: 3px; overflow: hidden; color: var(--home-muted); font-size: .69rem; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.home-search-option > svg { width: 17px; height: 17px; color: #98a2b3; fill: none; stroke: currentColor; stroke-width: 2; }
.home-search-empty { padding: 15px; color: var(--home-muted); font-size: .8rem; line-height: 1.5; }
.home-search-empty strong { display: block; margin-bottom: 3px; color: var(--home-ink); }
.home-search-examples { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 10px; color: var(--home-muted); font-size: .75rem; }
.home-search-examples span { font-weight: 700; }
.home-search-examples button {
    min-height: 44px;
    padding: 7px 11px;
    border: 1px solid #e2dfe3;
    border-radius: 999px;
    color: var(--home-ink-soft);
    background: rgba(255, 255, 255, .72);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.home-search-examples button:hover { border-color: #d89da5; color: var(--home-accent-strong); background: #fff; }

.home-primary-action:focus-visible,
.home-secondary-action:focus-visible,
.home-search-examples button:focus-visible,
.home-search-option:focus-visible,
.home-path-card:focus-visible,
.home-featured .tool-card:focus-visible,
.home-proof-rail > a:focus-visible,
.home-evidence a:focus-visible {
    outline: 3px solid rgba(165, 35, 49, .55);
    outline-offset: 4px;
}

.home-trust-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
    margin: 24px 0 0;
    padding: 0;
    color: var(--home-ink-soft);
    font-size: .78rem;
    font-weight: 750;
    list-style: none;
}
.home-trust-list li { display: inline-flex; align-items: center; gap: 7px; }
.home-trust-list svg { width: 16px; height: 16px; color: var(--home-teal); }

.home-signal-board {
    position: relative;
    min-width: 0;
    padding: 15px;
    overflow: hidden;
    border: 1px solid rgba(30, 41, 59, .18);
    border-radius: var(--home-radius-lg);
    color: #f8fafc;
    background:
        radial-gradient(circle at 105% -5%, rgba(255, 101, 114, .24), transparent 32%),
        radial-gradient(circle at -10% 105%, rgba(15, 127, 120, .23), transparent 35%),
        linear-gradient(145deg, #151827, #202538 62%, #171a28);
    box-shadow: 0 44px 100px -54px rgba(10, 14, 28, .76);
}
.home-signal-board[hidden] { display: none !important; }
.home-signal-board::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,.08), transparent 26% 72%, rgba(255,255,255,.04));
    pointer-events: none;
}
.signal-board-head,
.signal-project-head,
.signal-board-footer { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.signal-board-head { min-height: 42px; padding: 0 5px 12px; border-bottom: 1px solid rgba(255,255,255,.1); }
.signal-board-head > strong { color: #cbd5e1; font: 800 .68rem/1 ui-monospace, monospace; letter-spacing: .12em; }
.signal-window-dots { display: flex; gap: 5px; }
.signal-window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #ff7d88; }
.signal-window-dots i:nth-child(2) { background: #f6c85f; }
.signal-window-dots i:nth-child(3) { background: #61d2c5; }
.signal-local { display: inline-flex; align-items: center; gap: 6px; color: #9fe8dc; font: 800 .62rem/1 ui-monospace, monospace; letter-spacing: .06em; }
.signal-local i { width: 7px; height: 7px; border-radius: 50%; background: #48d8c5; box-shadow: 0 0 0 4px rgba(72, 216, 197, .12); }
.signal-project-head { padding: 18px 6px 14px; }
.signal-project-head div span,
.signal-project-head div strong { display: block; }
.signal-project-head div span { color: #94a3b8; font: 750 .58rem/1.2 ui-monospace, monospace; letter-spacing: .12em; }
.signal-project-head div strong { margin-top: 5px; color: #f8fafc; font-size: .9rem; }
.signal-status { padding: 6px 9px; border: 1px solid rgba(100, 226, 211, .28); border-radius: 999px; color: #a7f3e9; background: rgba(15, 127, 120, .16); font: 800 .6rem/1 ui-monospace, monospace; }
.signal-wave-card { position: relative; min-height: 118px; padding: 13px 14px 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 17px; background: rgba(8, 12, 24, .47); }
.signal-wave-card + .signal-wave-card { margin-top: 10px; }
.signal-wave-meta { display: flex; justify-content: space-between; gap: 12px; color: #94a3b8; font: 750 .61rem/1 ui-monospace, monospace; letter-spacing: .06em; }
.signal-wave { display: block; width: 100%; height: 72px; overflow: visible; }
.signal-wave path { fill: none; vector-effect: non-scaling-stroke; }
.signal-wave-before path { stroke: #7f8da8; stroke-width: 1.4; }
.signal-wave-after path { stroke: url(#signalGradient); stroke: #67e8d8; stroke-width: 1.8; }
.signal-playhead { position: absolute; top: 34px; bottom: 12px; left: 58%; width: 1px; background: #ff7582; box-shadow: 0 0 12px rgba(255, 117, 130, .7); }
.signal-playhead::before { content: ""; position: absolute; top: -3px; left: -3px; width: 7px; height: 7px; border-radius: 50%; background: #ff7582; }
.signal-chain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 10px 0; }
.signal-node { display: grid; grid-template-columns: 30px minmax(0,1fr) auto; gap: 8px; align-items: center; min-height: 58px; padding: 9px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(255,255,255,.055); }
.signal-node > svg { width: 28px; height: 28px; padding: 6px; border-radius: 9px; fill: none; stroke: #ff9aa4; stroke-width: 1.8; background: rgba(255, 101, 114, .11); }
.signal-node span small,
.signal-node span strong { display: block; }
.signal-node span small { color: #7f8da8; font: 750 .52rem/1 ui-monospace, monospace; }
.signal-node span strong { margin-top: 3px; color: #e6edf7; font-size: .69rem; }
.signal-node b { color: #73e4d6; font: 800 .52rem/1 ui-monospace, monospace; }
.signal-wave-after-card { background: linear-gradient(135deg, rgba(15, 127, 120, .12), rgba(8,12,24,.56)); }
.signal-board-footer { padding: 14px 5px 3px; color: #aab5c6; font-size: .66rem; }
.signal-board-footer > span { display: inline-flex; align-items: center; gap: 7px; }
.signal-board-footer > span i { width: 7px; height: 7px; border-radius: 50%; background: #54d6c7; }
.signal-board-footer a { display: inline-flex; align-items: center; gap: 5px; min-height: 34px; color: #ffd1d5; font-weight: 750; }
.signal-board-footer a:hover { color: #fff; }
.signal-board-footer svg { width: 14px; height: 14px; }

.home-proof-rail {
    position: relative;
    z-index: var(--home-z-content);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    align-items: stretch;
    margin-top: clamp(44px, 6vw, 76px);
    overflow: hidden;
    border: 1px solid var(--home-line);
    border-radius: var(--home-radius-md);
    background: var(--home-surface);
    box-shadow: var(--home-shadow-lg);
    backdrop-filter: blur(14px);
}
.home-proof-rail > div { display: flex; flex-direction: column; justify-content: center; min-height: 82px; padding: 14px 20px; border-right: 1px solid var(--home-line); }
.home-proof-rail strong { color: var(--home-ink); font-size: 1.06rem; line-height: 1.1; }
.home-proof-rail span { margin-top: 5px; color: var(--home-muted); font-size: .69rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.home-proof-rail > a { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 82px; padding: 14px 22px; color: #fff; background: var(--home-ink); font-size: .78rem; font-weight: 800; }
.home-proof-rail > a:hover { color: #fff; background: var(--home-accent-strong); }
.home-proof-rail svg { width: 16px; height: 16px; }

/* Outcome navigation: bento density without hiding the site's full copy. */
.home-paths { padding: clamp(74px, 9vw, 122px) 0; background: #fff; }
.home-section-heading { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, .55fr); gap: 60px; align-items: end; margin-bottom: 36px; }
.home-section-heading .home-kicker { margin-bottom: 16px; }
.home-section-heading h2 { margin: 0; color: var(--home-ink); font-size: clamp(2.15rem, 4vw, 4.1rem); line-height: 1.02; letter-spacing: -.055em; }
.home-section-heading h2 em { color: var(--home-accent); font-style: normal; }
.home-section-heading > p { margin: 0 0 4px; color: var(--home-muted); font-size: 1rem; line-height: 1.7; }
.home-path-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.home-path-card {
    position: relative;
    grid-column: span 6;
    display: flex;
    min-height: 380px;
    flex-direction: column;
    overflow: hidden;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid var(--home-line);
    border-radius: var(--home-radius-lg);
    color: var(--home-ink);
    background: #f8f9fb;
    box-shadow: var(--home-shadow-sm);
    text-decoration: none;
    transition: transform .24s var(--home-ease), border-color .2s ease, box-shadow .24s var(--home-ease);
}
.home-path-card:nth-child(2),
.home-path-card:nth-child(3) { grid-column: span 6; }
.home-path-card:hover { color: var(--home-ink); border-color: #dab1b7; box-shadow: var(--home-shadow-lg); transform: translateY(-4px); }
.home-path-effects { background: linear-gradient(145deg, #fff7f8, #fff 58%, #f7fbfb); }
.home-path-voice { background: linear-gradient(145deg, #f3fbfa, #fff 58%, #fff8f9); }
.home-path-edit { background: linear-gradient(145deg, #f8f9fc, #fff 58%, #fff5f6); }
.home-path-create { background: linear-gradient(145deg, #fff9f3, #fff 58%, #f7fbfb); }
.home-path-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.home-path-card-head > span { color: var(--home-accent-strong); font: 850 .68rem/1 ui-monospace, monospace; letter-spacing: .12em; }
.home-path-card-head b { padding: 7px 10px; border: 1px solid rgba(22, 30, 44, .1); border-radius: 999px; color: var(--home-muted); background: rgba(255, 255, 255, .7); font-size: .66rem; letter-spacing: .04em; text-transform: uppercase; }
.home-path-card h3 { margin: 20px 0 10px; color: var(--home-ink); font-size: clamp(1.45rem, 2.3vw, 2.15rem); letter-spacing: -.04em; }
.home-path-card p { max-width: 57ch; margin: 0; color: var(--home-muted); font-size: .93rem; line-height: 1.65; }
.home-path-link { display: inline-flex; align-items: center; gap: 9px; margin-top: auto; padding-top: 22px; color: var(--home-accent-strong); font-size: .79rem; font-weight: 850; }
.home-path-link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s var(--home-ease); }
.home-path-card:hover .home-path-link svg { transform: translateX(4px); }
.home-path-art { position: relative; height: 124px; overflow: hidden; border: 1px solid rgba(25, 32, 46, .09); border-radius: 20px; background: rgba(255,255,255,.7); }
.home-path-art svg { width: 100%; height: 100%; }
.home-path-art path { fill: none; stroke: var(--home-accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.home-path-art path.ghost { stroke: var(--home-teal); opacity: .35; }
.home-path-voice-art { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 20px; }
.home-path-voice-art span { width: 10px; height: 36%; border-radius: 999px; background: linear-gradient(180deg, var(--home-teal), #79d9cf); }
.home-path-voice-art span:nth-child(2), .home-path-voice-art span:nth-child(8) { height: 55%; }
.home-path-voice-art span:nth-child(3), .home-path-voice-art span:nth-child(7) { height: 78%; }
.home-path-voice-art span:nth-child(4), .home-path-voice-art span:nth-child(6) { height: 48%; }
.home-path-voice-art span:nth-child(5) { height: 94%; background: linear-gradient(180deg, var(--home-coral), var(--home-accent)); }
.home-path-edit-art { background: linear-gradient(180deg, #fff, #f8f9fb); }
.home-path-edit-art > span { position: absolute; top: 50%; display: block; transform: translateY(-50%); }
.edit-source { right: 20px; left: 20px; height: 42px; border-radius: 13px; background: repeating-linear-gradient(90deg, #cdd5e0 0 4px, transparent 4px 8px), #edf0f5; }
.edit-cut { z-index: 2; width: 2px; height: 72px; background: var(--home-accent); box-shadow: 0 -30px 0 -0.5px var(--home-accent), 0 30px 0 -0.5px var(--home-accent); }
.edit-cut-a { left: 34%; }.edit-cut-b { left: 63%; }
.edit-result { right: 32px; left: 32px; height: 16px; margin-top: 43px; border-radius: 999px; background: linear-gradient(90deg, var(--home-teal) 0 31%, transparent 31% 34%, var(--home-accent) 34% 61%, transparent 61% 64%, #f3b64f 64%); }
.home-path-create-art { display: flex; align-items: end; justify-content: center; gap: 6px; padding: 20px 24px; }
.home-path-create-art span { width: min(18px, 6.2%); height: var(--h); border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, var(--home-coral), var(--home-accent)); opacity: .9; }
.home-path-create-art span:nth-child(3n) { background: linear-gradient(180deg, #5fcfc2, var(--home-teal)); }

/* Existing finder, now visually integrated with the lighter homepage system. */
.homepage .tool-finder-section { padding: 16px 0 clamp(78px, 9vw, 118px); background: linear-gradient(180deg, #fff, #fff8f9 48%, #fff); }
.homepage .tool-finder-shell { max-width: 1200px; border-color: #e6dde0; border-radius: var(--home-radius-lg); box-shadow: 0 34px 88px -52px rgba(63, 24, 34, .42); }

/* Editorial shortlist. The complete 137-tool index remains visible below. */
.home-featured { padding: clamp(76px, 9vw, 124px) 0; border-block: 1px solid #ebe7e9; background: linear-gradient(160deg, #f8f9fc, #fff8f9 56%, #f5fbfa); }
.home-featured #popularGrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.home-featured #popularGrid .tool-card { grid-column: span 4; min-height: 268px; padding: 26px; border-color: #e4e5ea; border-radius: 24px; box-shadow: 0 16px 36px -30px rgba(21, 28, 42, .48); }
.home-featured #popularGrid .tool-card:nth-child(1) { grid-column: span 7; min-height: 334px; background: linear-gradient(145deg, #fff, #fff3f5 67%, #effaf8); }
.home-featured #popularGrid .tool-card:nth-child(2) { grid-column: span 5; min-height: 334px; background: linear-gradient(145deg, #f3fbfa, #fff); }
.home-featured #popularGrid .tool-card:nth-child(3),
.home-featured #popularGrid .tool-card:nth-child(4),
.home-featured #popularGrid .tool-card:nth-child(5) { grid-column: span 4; }
.home-featured #popularGrid .tool-card:nth-child(6),
.home-featured #popularGrid .tool-card:nth-child(7) { grid-column: span 6; }
.home-featured #popularGrid .tool-card:nth-child(8) { grid-column: span 12; min-height: 220px; }
.home-featured #popularGrid .tool-card:nth-child(n+9) { display: none; }
.home-featured #popularGrid .tool-card::after { content: ""; position: absolute; right: -34px; bottom: -44px; width: 150px; height: 150px; border: 1px solid rgba(214, 56, 70, .12); border-radius: 50%; box-shadow: 0 0 0 20px rgba(214,56,70,.035), 0 0 0 42px rgba(15,127,120,.026); pointer-events: none; }
.home-featured #popularGrid .tool-card:hover { transform: translateY(-4px); box-shadow: var(--home-shadow-lg); }
.homepage main .tool-emoji { width: 48px; height: 48px; color: var(--home-accent); background: #fff0f2; }
.homepage main .tool-emoji svg { width: 24px; height: 24px; }
.home-featured #popularGrid .tool-card:nth-child(2) .tool-emoji,
.home-featured #popularGrid .tool-card:nth-child(4) .tool-emoji,
.home-featured #popularGrid .tool-card:nth-child(7) .tool-emoji { color: var(--home-teal); background: var(--home-teal-soft); }
.home-featured #popularGrid .tool-card h3 { margin-top: 18px; font-size: clamp(1.18rem, 1.7vw, 1.65rem); letter-spacing: -.035em; }
.home-featured #popularGrid .tool-card p { max-width: 60ch; font-size: .87rem; line-height: 1.65; }
.home-featured-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding: 22px 24px; border: 1px solid var(--home-line); border-radius: 20px; background: rgba(255,255,255,.74); }
.home-featured-footer p { max-width: 58ch; margin: 0; color: var(--home-muted); font-size: .82rem; line-height: 1.55; }
.home-featured-footer p strong { color: var(--home-ink); }
.home-featured-footer > div { display: flex; flex-wrap: wrap; gap: 9px; }
.home-featured-footer .home-primary-action,
.home-featured-footer .home-secondary-action { min-height: 44px; padding: 9px 16px; font-size: .78rem; }

/* Public evidence as a readable test receipt, not another paragraph block. */
.home-evidence { padding: clamp(78px, 9vw, 126px) 0; background: #fff; }
.homepage .home-evidence .evidence-proof { display: grid; grid-template-columns: minmax(0, .82fr) minmax(440px, 1.18fr); gap: clamp(34px, 6vw, 76px); align-items: center; margin: 0; padding: clamp(26px, 5vw, 58px); border-color: #e4dfe2; border-radius: 32px; background: linear-gradient(145deg, #fff8f9, #fff 52%, #f2fbfa); box-shadow: var(--home-shadow-lg); }
.home-evidence-copy h2 { margin: 0; color: var(--home-ink); font-size: clamp(2.15rem, 4vw, 3.9rem); line-height: 1.03; letter-spacing: -.055em; }
.home-evidence-copy h2 em { color: var(--home-accent); font-style: normal; }
.home-evidence-copy > p:not(.home-kicker) { margin: 22px 0 26px; color: var(--home-muted); line-height: 1.72; }
.home-evidence-receipt { overflow: hidden; padding: 16px; border: 1px solid #20283a; border-radius: 24px; color: #f8fafc; background: linear-gradient(145deg, #151827, #202538); box-shadow: 0 34px 78px -48px rgba(10, 14, 28, .82); }
.home-receipt-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 5px 5px 15px; border-bottom: 1px solid rgba(255,255,255,.1); font: 800 .62rem/1 ui-monospace, monospace; letter-spacing: .1em; }
.home-receipt-head > span { color: #aab5c6; }
.home-receipt-head b { display: inline-flex; align-items: center; gap: 7px; color: #8af0e3; }
.home-receipt-head i { width: 7px; height: 7px; border-radius: 50%; background: #54d6c7; box-shadow: 0 0 0 4px rgba(84,214,199,.12); }
.home-receipt-wave { display: flex; align-items: center; height: 84px; gap: 5px; padding: 17px 8px; }
.home-receipt-wave span { flex: 1; height: 28%; border-radius: 999px; background: #ff7582; }
.home-receipt-wave span:nth-child(3n) { height: 72%; background: #60d8ca; }
.home-receipt-wave span:nth-child(4n) { height: 92%; }.home-receipt-wave span:nth-child(5n) { height: 48%; }
.home-evidence-receipt .tool-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.home-evidence-receipt .tool-fact { min-width: 0; padding: 13px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(255,255,255,.055); }
.home-evidence-receipt .tool-fact dt { color: #97a4b7; font: 800 .56rem/1.2 ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; }
.home-evidence-receipt .tool-fact dd { margin: 7px 0 0; color: #cbd5e1; font-size: .68rem; line-height: 1.45; }
.home-evidence-receipt .tool-fact dd strong { display: block; margin-bottom: 4px; color: #fff; font-size: 1.25rem; line-height: 1; }
.home-receipt-foot { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.home-receipt-foot span { padding: 6px 8px; border: 1px solid rgba(255,255,255,.09); border-radius: 999px; color: #aab5c6; font: 750 .53rem/1 ui-monospace, monospace; }

/* Why AudioWrench: consistent Lucide-style vectors and stronger hierarchy. */
.home-why { padding: clamp(80px, 9vw, 126px) 0; background: #fff; }
.home-why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.home-why-grid .premium-card { min-height: 270px; padding: 28px; border-color: #e6e4e7; border-radius: 24px; box-shadow: 0 16px 36px -30px rgba(21,28,42,.46); }
.home-why-grid .premium-card:hover { transform: translateY(-3px); box-shadow: var(--home-shadow-lg); }
.home-why-grid .heading-md { margin-top: 30px; font-size: 1.28rem; }
.home-why-grid .status-note { font-size: .87rem; line-height: 1.68; }
.home-why-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: var(--home-accent); background: #fff0f2; }
.home-why-grid .premium-card:nth-child(2n) .home-why-icon { color: var(--home-teal); background: var(--home-teal-soft); }
.home-why-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1080px) {
    .home-hero-copy { max-width: 820px; }
    .home-proof-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-proof-rail > div:nth-child(2) { border-right: 0; }
    .home-proof-rail > div:nth-child(-n+2) { border-bottom: 1px solid var(--home-line); }
    .home-proof-rail > a { grid-column: 1 / -1; min-height: 60px; }
    .home-section-heading { grid-template-columns: 1fr; gap: 18px; }
    .homepage .home-evidence .evidence-proof { grid-template-columns: 1fr; }
    .home-why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .home-hero { padding-top: 46px; }
    .home-hero { background-position: center top; }
    .home-hero h1 { font-size: clamp(2.35rem, 12vw, 3.45rem); letter-spacing: -.058em; }
    .home-hero-lede { margin-top: 22px; font-size: 1rem; }
    .home-hero-actions { display: grid; grid-template-columns: 1fr; }
    .home-primary-action, .home-secondary-action { width: 100%; min-height: 52px; }
    .home-search-control kbd { display: none; }
    .home-search-control input { padding-right: 16px; }
    .home-search-examples { gap: 6px; }
    .home-search-examples span { width: 100%; }
    .home-search-examples button { flex: 1 1 auto; }
    .home-trust-list { display: grid; }
    .home-signal-board { margin: 0 -4px; padding: 11px; border-radius: 24px; }
    .signal-chain { grid-template-columns: 1fr; }
    .signal-node { min-height: 54px; }
    .signal-board-footer { align-items: flex-start; flex-direction: column; }
    .home-proof-rail { grid-template-columns: 1fr 1fr; }
    .home-proof-rail > div { min-height: 78px; padding: 12px; }
    .home-proof-rail > div:nth-child(2) { border-right: 0; }
    .home-proof-rail > div:nth-child(3) { border-bottom: 0; }
    .home-proof-rail strong { font-size: .98rem; }
    .home-paths { padding: 68px 0; }
    .home-path-grid { grid-template-columns: 1fr; }
    .home-path-card,
    .home-path-card:nth-child(2),
    .home-path-card:nth-child(3) { grid-column: auto; min-height: 350px; }
    .home-path-art { height: 108px; }
    .home-search-option { grid-template-columns: 40px minmax(0,1fr) auto; }
    .home-featured #popularGrid { grid-template-columns: 1fr; }
    .home-featured #popularGrid .tool-card,
    .home-featured #popularGrid .tool-card:nth-child(1),
    .home-featured #popularGrid .tool-card:nth-child(2),
    .home-featured #popularGrid .tool-card:nth-child(3),
    .home-featured #popularGrid .tool-card:nth-child(4),
    .home-featured #popularGrid .tool-card:nth-child(5),
    .home-featured #popularGrid .tool-card:nth-child(6),
    .home-featured #popularGrid .tool-card:nth-child(7),
    .home-featured #popularGrid .tool-card:nth-child(8) { grid-column: auto; min-height: 240px; }
    .home-featured-footer { align-items: stretch; flex-direction: column; }
    .home-featured-footer > div { display: grid; grid-template-columns: 1fr; }
    .homepage .home-evidence .evidence-proof { padding: 22px; border-radius: 24px; }
    .home-evidence-receipt { padding: 11px; border-radius: 20px; }
    .home-evidence-receipt .tool-facts { grid-template-columns: 1fr; }
    .home-why-grid { grid-template-columns: 1fr; }
    .home-why-grid .premium-card { min-height: 0; }
}

@media (max-width: 420px) {
    .home-hero { padding-top: 38px; }
    .home-kicker { font-size: .67rem; letter-spacing: .1em; }
    .home-hero h1 { font-size: clamp(2.25rem, 11.5vw, 3rem); }
    .home-hero h1 em { white-space: normal; }
    .home-search-control input { min-height: 56px; font-size: 1rem; }
    .home-proof-rail > div { min-width: 0; }
    .home-proof-rail span { font-size: .6rem; letter-spacing: .04em; }
    .home-section-heading h2,
    .home-evidence-copy h2 { font-size: clamp(2rem, 10vw, 2.65rem); }
    .home-path-card { padding: 20px; border-radius: 24px; }
    .home-featured #popularGrid .tool-card,
    .home-why-grid .premium-card { padding: 22px; border-radius: 21px; }
}

@media (orientation: landscape) and (max-height: 520px) {
    .home-hero { padding-top: 34px; }
    .home-hero h1 { max-width: 760px; font-size: clamp(2.35rem, 7vw, 3.65rem); }
    .home-hero-lede { max-width: 74ch; font-size: .93rem; line-height: 1.55; }
    .home-hero-actions { margin-top: 20px; }
    .home-quick-search { margin-top: 20px; }
}

@media (forced-colors: active) {
    .home-hero::before, .home-hero::after, .home-hero-glow, .home-dot-field { display: none; }
    .home-path-card, .home-featured .tool-card, .home-evidence-receipt { border: 1px solid CanvasText; }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero *, .home-hero *::before, .home-hero *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .001ms !important; }
    .home-dot-field canvas { opacity: 1; }
}
