:root {
    color-scheme: dark;
    --background: #10150f;
    --surface: #171e16;
    --surface-raised: #1d261b;
    --text: #f0f0e7;
    --muted: #b0b6a8;
    --accent: #c4e66b;
    --accent-dark: #9bbd45;
    --line: rgba(230, 238, 215, 0.14);
    --container: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

img {
    max-width: 100%;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

.site-header {
    position: relative;
    z-index: 5;
    background: #10150f;
    border-bottom: 1px solid var(--line);
}

.header-inner,
.navigation,
.brand,
.hero-actions,
.hero-footnote,
.footer-inner {
    display: flex;
    align-items: center;
}

.header-inner {
    min-height: 78px;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    gap: 11px;
    font-size: 1rem;
    font-weight: 850;
    letter-spacing: 0.12em;
}

.brand-mark {
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0;
}

.brand-domain {
    color: var(--accent);
}

.navigation {
    gap: 32px;
    font-size: 0.88rem;
    color: var(--muted);
}

.navigation a:hover {
    color: var(--text);
}

.navigation .nav-cta {
    padding: 10px 16px;
    border: 1px solid var(--line);
    color: var(--text);
}

.navigation .nav-cta:hover {
    border-color: var(--accent);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--line);
    cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
    display: block;
    height: 2px;
    margin: 4px 0;
    background: var(--text);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero {
    position: relative;
    display: flex;
    min-height: min(760px, calc(100svh - 78px));
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background: #20291b;
}

.hero-image,
.hero-shade {
    position: absolute;
    z-index: -1;
    inset: 0;
}

.hero-image {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.015);
    transition: opacity 1500ms ease-in-out;
    will-change: opacity;
}

.hero-image-primary {
    background-image: url("/assets/images/airsofthero0.png");
}

.hero-image.is-visible {
    opacity: 1;
}

.hero-shade {
    background:
        linear-gradient(90deg, rgba(9, 14, 9, 0.93) 0%, rgba(9, 14, 9, 0.72) 44%, rgba(9, 14, 9, 0.16) 100%),
        linear-gradient(0deg, rgba(9, 14, 9, 0.64), transparent 42%);
}

.hero-content {
    padding-top: 70px;
    padding-bottom: 84px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.19em;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 15px rgba(196, 230, 107, 0.6);
}

.hero h1,
.error-page h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(3.4rem, 8.5vw, 7rem);
    font-weight: 850;
    letter-spacing: -0.075em;
    line-height: 0.99;
}

.hero h1 span,
.section h2 span,
.error-page h1 span {
    color: var(--accent);
}

.hero-copy {
    max-width: 540px;
    margin: 28px 0 0;
    color: #d0d4c9;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.hero-actions {
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    min-height: 49px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 12px 18px;
    font-size: 0.9rem;
    font-weight: 750;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.button-primary {
    background: var(--accent);
    color: #18200e;
}

.button-primary:hover {
    background: #d5f28a;
}

.button-quiet {
    border: 1px solid rgba(240, 240, 231, 0.32);
    background: rgba(10, 14, 9, 0.28);
}

.button-quiet:hover {
    border-color: var(--accent);
}

.hero-footnote {
    gap: 12px;
    margin-top: 64px;
    color: #d0d4c9;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.signal-bars {
    display: flex;
    height: 17px;
    align-items: end;
    gap: 3px;
}

.signal-bars i {
    display: block;
    width: 3px;
    background: var(--accent);
}

.signal-bars i:nth-child(1) { height: 5px; }
.signal-bars i:nth-child(2) { height: 9px; }
.signal-bars i:nth-child(3) { height: 13px; }
.signal-bars i:nth-child(4) { height: 17px; }

.hero-index {
    position: absolute;
    right: 24px;
    bottom: 24px;
    color: rgba(240, 240, 231, 0.68);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
}

.section {
    padding: 110px 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 80px;
    align-items: start;
}

.section h2 {
    margin: 0;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.065em;
    line-height: 1.04;
}

.intro-copy {
    padding-top: 20px;
    color: var(--muted);
    font-size: 1.08rem;
}

.intro-copy p:first-child {
    margin-top: 0;
    color: var(--text);
}

.technology {
    background: #151b13;
    border-block: 1px solid var(--line);
}

.section-heading {
    max-width: 660px;
    margin-bottom: 48px;
}

.section-heading > p:last-child {
    margin-top: 20px;
    color: var(--muted);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.feature-card {
    min-height: 270px;
    padding: 26px;
    background: var(--surface);
    border: 1px solid var(--line);
}

.feature-number {
    color: var(--accent);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.feature-icon {
    margin-top: 25px;
    color: var(--accent);
    font-size: 2rem;
    line-height: 1;
}

.feature-card h3 {
    margin: 19px 0 8px;
    font-size: 1.15rem;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.93rem;
}

.development-note {
    margin: 20px 0 0;
    color: #929b89;
    font-size: 0.8rem;
}

.contact-inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
}

.contact-inner .eyebrow {
    margin-bottom: 18px;
}

.site-footer {
    border-top: 1px solid var(--line);
}

.footer-inner {
    min-height: 95px;
    justify-content: space-between;
    gap: 24px;
    color: var(--muted);
    font-size: 0.8rem;
}

.footer-brand {
    color: var(--text);
    font-size: 0.9rem;
}

.footer-inner p {
    margin: 0;
}

.error-page {
    min-height: 60vh;
}

.error-page > .container > p:not(.eyebrow) {
    margin: 24px 0;
    color: var(--muted);
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 36px, var(--container));
    }

    .header-inner {
        min-height: 68px;
    }

    .menu-toggle {
        display: block;
    }

    .navigation {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        gap: 0;
        padding: 8px 18px 18px;
        background: var(--background);
        border-bottom: 1px solid var(--line);
    }

    .navigation.is-open {
        display: flex;
        flex-direction: column;
    }

    .navigation a {
        padding: 13px 8px;
    }

    .navigation .nav-cta {
        margin-top: 8px;
        text-align: center;
    }

    .hero {
        min-height: 690px;
        min-height: min(760px, calc(100svh - 68px));
    }

    .hero-image {
        background-position: 58% center;
    }

    .hero-shade {
        background:
            linear-gradient(90deg, rgba(9, 14, 9, 0.88), rgba(9, 14, 9, 0.42)),
            linear-gradient(0deg, rgba(9, 14, 9, 0.72), transparent);
    }

    .hero-content {
        padding-top: 60px;
        padding-bottom: 76px;
    }

    .hero h1 {
        font-size: clamp(3.3rem, 14vw, 5.5rem);
    }

    .hero-footnote {
        margin-top: 46px;
    }

    .section {
        padding: 76px 0;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .intro-copy {
        padding-top: 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: auto;
    }

    .contact-inner {
        align-items: start;
        flex-direction: column;
    }

    .footer-inner {
        align-items: start;
        flex-direction: column;
        justify-content: center;
        padding-block: 26px;
        gap: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
