:root {
    scroll-behavior: smooth
}

body {
    overflow-x: hidden
}

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background: rgba(13, 17, 23, .72);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(131, 182, 205, .08)
}

.site-nav .ghost-nav {
    min-height: 58px
}

.brand-logo {
    display: block;
    width: 70px;
    height: auto;
    margin-top: 5px;
    margin-bottom: 5px;
    filter: brightness(0) saturate(100%) invert(67%) sepia(12%) saturate(608%) hue-rotate(164deg) brightness(93%)
}

.nav-cta {
    padding: .55rem .8rem !important
}

.masthead {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    padding: 120px 0 8vh;
    background: #090d12;
    overflow: hidden
}

.masthead-art {
    position: absolute;
    inset: 0;
    background: url('assets/ghost-core-masthead.jpg') center/cover no-repeat;
    opacity: .88
}

.masthead-art:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 10, 14, .08) 20%, rgba(10, 14, 19, .25) 56%, #14171c 100%), linear-gradient(90deg, rgba(10, 14, 19, .65), transparent 58%)
}

.masthead-copy {
    position: relative;
    z-index: 2;
    max-width: 690px
}

.masthead h1 {
    font-size: clamp(3.8rem, 8vw, 7.6rem);
    margin: 0 0 1rem;
    color: var(--ghost-apparition);
    letter-spacing: -.035em
}

.masthead .ghost-lead {
    font-size: clamp(1.15rem, 2vw, 1.42rem);
    color: #c4ccd3;
    max-width: 620px
}

.cta-row {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    align-items: center
}

.platform {
    font-size: .78rem;
    color: var(--ghost-text-subtle);
    letter-spacing: .05em
}

.section-intro {
    max-width: 760px;
    margin-bottom: 3.2rem
}

.section-intro h2 {
    margin-bottom: 1rem
}

.statement {
    text-align: center;
    padding: clamp(5rem, 12vw, 10rem) 0
}

.statement h2 {
    font-size: clamp(2.8rem, 7vw, 6.2rem);
    max-width: 980px;
    margin: 0 auto 1.5rem;
    color: var(--ghost-apparition)
}

.statement p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.18rem
}

.rack-visual {
    min-height: 420px;
    display: grid;
    place-items: center;
    padding: 2rem;
    position: relative;
    overflow: hidden
}

.rack-stack {
    width: min(760px, 92%);
    display: grid;
    gap: 8px;
    transform: perspective(900px) rotateX(2deg)
}

.rack-unit {
    height: 62px;
    border: 1px solid #2b3540;
    border-radius: 8px;
    background: linear-gradient(90deg, #151a20, #0e1319 55%, #171d24);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
    display: flex;
    align-items: center;
    padding: 0 20px;
    color: #8fa4b5;
    font-family: var(--ghost-font-heading);
    letter-spacing: .04em
}

.rack-unit i {
    margin-left: auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ghost-blue);
    box-shadow: 0 0 12px rgba(87, 144, 175, .6)
}

.plugins-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--ghost-border);
    border: 1px solid var(--ghost-border)
}

.plugin-card {
    background: var(--ghost-canvas);
    padding: clamp(1.3rem, 3vw, 2.4rem);
    min-height: 390px;
    display: flex;
    flex-direction: column
}

.plugin-shot {
    aspect-ratio: 16/8.8;
    border: 1px solid #252d36;
    border-radius: 8px;
    background: radial-gradient(circle at 50% 100%, rgba(56, 45, 98, .18), transparent 55%), linear-gradient(145deg, #11161d, #0b0f14);
    margin-bottom: 1.6rem;
    display: grid;
    place-items: center;
    overflow: hidden;
    position: relative
}

.plugin-shot:before {
    content: '';
    width: 70%;
    height: 48%;
    border: 1px solid rgba(131, 182, 205, .12);
    border-radius: 7px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 18px 40px rgba(0, 0, 0, .25)
}

.plugin-shot span {
    position: absolute;
    color: #596573;
    font-size: .7rem;
    letter-spacing: .14em;
    text-transform: uppercase
}

.plugin-card h3 {
    margin-bottom: .45rem;
    color: var(--ghost-apparition)
}

.plugin-tag {
    color: var(--ghost-blue-light);
    font-size: .9rem;
    margin-bottom: .8rem
}

.plugin-desc {
    font-size: .94rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.plugin-card details {
    margin-top: auto;
    color: var(--ghost-text-secondary);
    font-size: .83rem
}

.plugin-card summary {
    cursor: pointer;
    color: var(--ghost-blue-light);
    padding-top: .8rem
}

.plugin-card ul {
    padding-left: 1.1rem
}

.download-band {
    padding: clamp(5rem, 10vw, 8rem) 0;
    text-align: center;
    background: radial-gradient(circle at 50% 100%, rgba(49, 94, 130, .22), transparent 44%), var(--ghost-sunken)
}

.download-band h2 {
    font-size: clamp(3rem, 7vw, 6rem);
    color: var(--ghost-apparition);
    margin-bottom: 1rem
}

.download-band p {
    max-width: 620px;
    margin: 0 auto 1.7rem;
    font-size: 1.1rem
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap
}

.footer-logo {
    width: 100px;
    opacity: .7
}

.mobile-menu {
    display: none
}

@media(max-width:760px) {
    .ghost-nav-links a:not(.nav-cta) {
        display: none
    }

    .masthead {
        min-height: 88svh
    }

    .masthead-art {
        background-position: 58% center
    }

    .plugins-grid {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: 100%
    }

    .plugin-card {
        min-width: 0;
        max-width: 100%;
        min-height: 0;
        overflow: hidden
    }

    .plugin-shot {
        width: 100%;
        min-width: 0;
        max-width: 100%
    }

    .plugin-screenshot {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 0 !important
    }

    .plugin-desc {
        max-width: 100%;
        overflow: hidden
    }

    .rack-visual {
        min-height: 300px
    }

    .rack-unit {
        height: 48px
    }

    .statement {
        padding: 5rem 0
    }
}