/* Homepage companion to the existing black-and-lavender article theme. */
body.hacker-home{--ui-bg:#08080c;--ui-surface:#111018;--ui-raised:#1b1729;--ui-border:#30283e;--ui-text:#f2f0f8;--ui-muted:#b9b3c9;--ui-accent:#b9a6ff;background:var(--ui-bg)!important;color:var(--ui-text)}
.hacker-home #header{margin-bottom:0;background:#08080c;border-color:var(--ui-border)}
.hacker-home :is(.nav-main,.nav-mobile,.header-mobile,.mobile-search-form){background:#0c0b12!important;border-color:var(--ui-border)}
.hacker-home .nav-main .navbar-nav .nav-link{color:#e6dfef!important}
.hacker-home .home-masthead{padding:64px 0 36px;background:radial-gradient(ellipse at 78% 14%,#704ee722,transparent 48%);border-bottom:1px solid var(--ui-border);margin-bottom:28px}
.home-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:60px;align-items:center}
.home-kicker,.home-story-label,.home-terminal,.home-topics-label,.home-principles{font-family:Consolas,"Courier New",monospace}
.home-kicker{color:#b4a8c7;font-size:11px;letter-spacing:.06em;line-height:1.9;margin:0 0 24px}.home-kicker>span{color:#c2adff}
.hacker-home #home-heading{font:750 clamp(2.7rem,4.5vw,4.45rem)/1.06 system-ui,sans-serif;letter-spacing:-.05em;margin:0 0 25px;color:#f5f1fb;text-wrap:balance}.hacker-home #home-heading>span{color:#b9a6ff}
.home-description{color:#bcb5cc;font-size:17px;line-height:1.85;max-width:45ch;margin-bottom:28px}
.home-actions{display:flex;flex-wrap:wrap;gap:12px}.hacker-home .home-button{display:inline-flex;justify-content:center;align-items:center;gap:22px;min-height:48px;padding:11px 19px;border-radius:7px;border:1px solid #443653;font-size:14px;font-weight:650;text-decoration:none}.hacker-home .home-button-primary{background:#b9a6ff;color:#170e27;border-color:#b9a6ff}.hacker-home .home-button-primary:hover{background:#d0c2ff;color:#170e27}.hacker-home .home-button-secondary{background:#17121f;color:#e6dff1}.hacker-home .home-button-secondary:hover{border-color:#b9a6ff;color:#fff}
.home-principles{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:25px;font-size:11px;color:#9f95af}.home-principles span::before{content:'+';color:#b9a6ff;margin-right:8px}
.home-lead{border:1px solid #443458;border-radius:12px;overflow:hidden;background:#12101d;box-shadow:0 24px 70px #0006,0 0 70px #704ee710;min-width:0}.home-terminal{display:flex;align-items:center;gap:13px;background:#1d172b;padding:13px 17px;border-bottom:1px solid #3a2c4b;color:#b7aacb;font-size:10px}.home-terminal-dots{color:#b496e8;font-size:9px;white-space:nowrap}.home-terminal-tag{margin-left:auto;font-size:9px;letter-spacing:.08em;color:#9183a8}
.home-lead-image{display:block;overflow:hidden;background:#0b0911}.home-lead-image img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;transition:filter .2s}.home-lead-image:hover img{filter:brightness(1.1)}.home-lead-copy{padding:21px 24px 23px;border-top:1px solid #30263f}.home-story-label{color:#c3b0eb;font-size:10px;line-height:1.8;letter-spacing:.07em;margin:0 0 8px}.home-story-label>span{color:#796989;margin:0 6px}.hacker-home .home-lead h2{font:650 clamp(1.2rem,1.7vw,1.55rem)/1.4 system-ui,sans-serif;letter-spacing:-.025em;margin:0 0 12px}.home-lead .post-meta{margin-bottom:0;color:#a79bb8;font-size:12px}
.home-discover{display:flex;align-items:center;gap:24px;padding:30px 0;margin-top:28px;border-bottom:1px solid var(--ui-border)}.home-topics-label{flex-shrink:0;font-size:10px;color:#a89cb9;letter-spacing:.07em}.home-topics-label>span{color:#796989;margin-left:12px}.home-topics{display:flex;flex-wrap:wrap;gap:9px}.hacker-home .home-topics a{display:flex;gap:17px;align-items:center;border:1px solid #3b2d4d;border-radius:5px;padding:8px 12px;font-size:12px;background:#17121f;color:#d0c4df;min-height:38px}.home-topics a span{color:#9277bc}.hacker-home .home-topics a:hover{background:#261c35;border-color:#8b6bb5;color:#fff}
.home-picks{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding-top:28px}.home-pick{display:flex;align-items:center;gap:20px;padding:16px;background:#121018;border:1px solid #30283e;border-radius:9px;min-width:0}.home-pick-image{width:124px;flex-shrink:0;border-radius:5px;overflow:hidden}.home-pick-image img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}.hacker-home .home-pick h2{font:600 15px/1.55 system-ui,sans-serif;letter-spacing:-.01em;margin:0}.home-pick-arrow{color:#ac91d1;margin-left:auto;font-size:21px}.home-pick .home-story-label{font-size:9px;margin-bottom:5px}
.home-articles-anchor{scroll-margin-top:24px}.hacker-home .section{background:transparent!important}.hacker-home .section-newsticker{margin:0 0 36px}.hacker-home .newsticker-container{border:1px solid var(--ui-border);border-radius:8px;background:#121018;padding:12px;align-items:center;gap:12px}.hacker-home .newsticker-title{background:#241a33;color:#d7c3fa;border-radius:4px;font-size:12px;padding:8px 12px}.hacker-home .newsticker{min-width:0;flex:1;margin-bottom:0}.hacker-home .newsticker a{color:#c7bdd5}.hacker-home .nav-sm-buttons button{background:#21182e;border:1px solid #453455;color:#cbbbdf;min-width:32px;min-height:32px}
.hacker-home .section-title{border-color:var(--ui-border);margin-bottom:26px}.hacker-home .section-title .title{font:650 24px/1.35 system-ui,sans-serif;letter-spacing:-.025em;background:transparent;color:#f2edf8}.hacker-home .section-title .title::after{background:#b9a6ff}.hacker-home .section-title .title::before{content:'# ';font-family:Consolas,monospace;color:#b9a6ff;font-weight:400}.hacker-home .view-all{color:#c8b5ed;font-size:12px}.hacker-home .post-item{background:#14101e;border-color:#352a44;border-radius:10px;padding:16px;box-shadow:none}.hacker-home .post-item:hover{border-color:#775b96;transform:translateY(-2px)}.hacker-home .post-item .title{font-size:18px;line-height:1.5;color:#ece5f6}.hacker-home .post-item .description{color:#b9adc9;line-height:1.8;font-size:14px}.hacker-home .post-meta,.hacker-home .post-meta a{color:#a89ab9!important}.hacker-home .badge-category{background:#2c203e!important;color:#ddc9ff!important;border:1px solid #513568;border-radius:4px;font:11px/1.4 Consolas,monospace;padding:7px 10px}.hacker-home .post-item .image{border-radius:7px;aspect-ratio:16/9!important;height:auto!important;background:#0d0a14}.hacker-home .post-item .image img{width:100%;height:100%;object-fit:cover}.hacker-home .post-item-vr{padding:0!important;position:relative}.hacker-home .post-item-vr .image{height:auto!important;aspect-ratio:16/9!important}.hacker-home .post-item-vr .caption{position:relative!important;inset:auto!important;padding:16px!important;background:#15101f!important}.hacker-home .post-item-vr .image::after{display:none!important}.hacker-home .post-item-vr .caption .title{font-size:17px;line-height:1.5;margin-bottom:12px}.hacker-home .post-item-small{border-bottom-color:#33283f}.hacker-home .widget{background:#13101c!important;border-color:#34283f!important}.hacker-home :is(.widget-title,.footer-bottom){border-color:#34283f!important}.hacker-home .btn-custom{background:#b9a6ff!important;border-color:#b9a6ff!important;color:#190f29!important}.hacker-home .btn-custom svg{fill:currentColor}.hacker-home #footer{background:#07050c!important;border-color:#30283e;color:#aea2bf}.hacker-home #footer .title{color:#e4dbee}.hacker-home :is(.form-control,.form-input){background:#100c19!important;border-color:#49365d!important}.hacker-home .skip-link{background:#b9a6ff;color:#170e27}.hacker-home :is(a,button,input):focus-visible{outline-color:#c0a9ff!important}
@media(min-width:992px){.hacker-home .section-category .col-post-item-vr{display:flex}.hacker-home .section-category .col-post-item-vr>.post-item{width:100%}}
@media(max-width:1199px){.home-hero-grid{gap:32px}.home-terminal-tag{display:none}.home-pick-image{width:100px}.home-discover{gap:15px}}
@media(max-width:991px){.hacker-home .home-masthead{padding-top:35px}.home-hero-grid{grid-template-columns:1fr;gap:32px}.home-intro{max-width:650px}.hacker-home #home-heading{font-size:clamp(2.6rem,7vw,4rem)}.home-description{max-width:55ch}.home-discover{align-items:flex-start;flex-direction:column;gap:14px}.home-pick{gap:14px}.home-pick-image{width:90px}.hacker-home .home-pick h2{font-size:14px}.home-pick-arrow{display:none}}
@media(max-width:575px){.hacker-home .home-masthead{padding:28px 0}.home-kicker{font-size:9px;margin-bottom:20px}.hacker-home #home-heading{font-size:2.65rem;line-height:1.1}.home-description{font-size:15px;line-height:1.8}.home-actions{gap:9px}.hacker-home .home-button{padding:11px 13px;gap:12px;font-size:12px}.home-principles{font-size:10px;gap:8px 15px}.home-terminal{font-size:9px;padding:12px 14px}.home-lead-copy{padding:18px}.hacker-home .home-lead h2{font-size:20px}.home-discover{margin-top:12px;padding:24px 0}.home-topics{gap:8px}.hacker-home .home-topics a{font-size:11px;padding:8px 10px;gap:12px}.home-picks{grid-template-columns:1fr;gap:12px;padding-top:24px}.home-pick-image{width:96px}.hacker-home .home-pick h2{font-size:14px}.hacker-home .section-title .title{font-size:20px}.hacker-home .newsticker-container{padding:9px;gap:8px}.hacker-home .newsticker-title{font-size:10px;padding:7px}.hacker-home .newsticker-title svg{display:none}.hacker-home .newsticker a{font-size:12px}.hacker-home .section-newsticker .nav-sm-buttons{display:none}.hacker-home .section-title .view-all{font-size:10px;max-width:110px;text-align:right}}
#home-articles{scroll-margin-top:100px}
.home-category-section{margin:0 0 56px}.home-category-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.hacker-home .home-category-heading h2{font:650 26px/1.3 system-ui,sans-serif;letter-spacing:-.03em;margin:0;color:#f2edf8}.home-category-heading>a{font-size:12px;color:#c8b5ed;white-space:nowrap}.home-category-heading>a span{margin-left:12px}.home-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.home-category-card{border:1px solid #342a43;border-radius:9px;background:#14101e;overflow:hidden;display:flex;flex-direction:column;transition:border-color .18s}.home-category-card:hover{border-color:#8261a5}.home-category-card>a{display:block;background:#0d0a14}.home-category-card img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}.home-category-copy{padding:18px;flex:1;display:flex;flex-direction:column}.hacker-home .home-category-copy h3{font:600 16px/1.6 system-ui,sans-serif;margin:0 0 18px;color:#ece4f6}.home-category-copy .post-meta{margin:auto 0 0;font-size:11px}.hacker-home .section-title .title::after{background:#b9a6ff!important}.hacker-home .section-newsticker>.container-xl>.row{margin-inline:0}
@media(max-width:991px){.home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(max-width:575px){.home-category-heading{align-items:start}.hacker-home .home-category-heading h2{font-size:21px}.home-category-heading>a{font-size:10px;white-space:normal;text-align:right;min-width:70px}.home-category-grid{grid-template-columns:1fr}.home-category-copy{padding:18px}.hacker-home .home-category-copy h3{font-size:18px;margin-bottom:14px}.home-category-section{margin-bottom:36px}}
@media(prefers-reduced-motion:reduce){.hacker-home *, .hacker-home *::before,.hacker-home *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
