* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

:root {
    --primary: #0a1628;
    --accent: #3b82f6;
    --accent-bright: #60a5fa;
    --gold: #d4af37;
    --bg-dark: #060d1b;
    --bg-card: rgba(15, 25, 50, .66);
    --text-white: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --border-subtle: rgba(255, 255, 255, .08);
    --border-glow: rgba(59, 130, 246, .26);
    --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-mesh: radial-gradient(ellipse at 18% 20%, rgba(59, 130, 246, .09) 0%, transparent 48%), radial-gradient(ellipse at 80% 12%, rgba(139, 92, 246, .07) 0%, transparent 46%), radial-gradient(ellipse at 50% 80%, rgba(59, 130, 246, .05) 0%, transparent 54%)
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-white);
    background: var(--bg-dark);
    line-height: 1.7;
    overflow-x: hidden
}

a {
    color: inherit
}

.bg-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: .3;
    background-image: linear-gradient(rgba(59, 130, 246, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(59, 130, 246, .03) 1px, transparent 1px);
    background-size: 60px 60px
}

header {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(6, 13, 27, .86);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 10
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative
}

.logo img {
    height: 70px;
    width: auto;
    display: block
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 600
}

.nav-links a:hover {
    color: var(--text-white)
}

.cta-button,
.btn-primary {
    background: var(--gradient-blue);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer
}

.cta-button {
    padding: .7rem 1.25rem;
    font-size: .86rem;
    white-space: nowrap
}

.btn-primary {
    padding: 1rem 1.5rem;
    font-size: .95rem
}

.btn-secondary {
    color: var(--text-muted);
    text-decoration: none;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: .95rem 1.25rem;
    font-weight: 700;
    display: inline-flex;
    justify-content: center
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: 0;
    color: var(--text-white);
    padding: .5rem;
    cursor: pointer
}

main {
    position: relative;
    z-index: 1
}

.page-hero {
    background: var(--gradient-mesh);
    border-bottom: 1px solid var(--border-subtle);
    padding: 7rem 3rem 5rem
}

.hero-inner,
.section-inner {
    max-width: 1180px;
    margin: 0 auto
}

.eyebrow {
    color: var(--accent-bright);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 1rem
}

h1 {
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: 0;
    font-weight: 800;
    max-width: 980px
}

h2 {
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.15;
    letter-spacing: 0;
    margin-bottom: 1rem
}

h3 {
    font-size: 1.2rem;
    line-height: 1.25;
    margin-bottom: .7rem
}

.highlight {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 790px;
    margin: 1.4rem 0 0
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem
}

.section {
    padding: 5.5rem 3rem;
    border-bottom: 1px solid var(--border-subtle)
}

.section.alt {
    background: rgba(10, 22, 40, .42)
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.2rem;
    margin-top: 2rem
}

.two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
    gap: 3rem;
    align-items: start
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 1.6rem;
    backdrop-filter: blur(10px)
}

.card:hover {
    border-color: var(--border-glow)
}

.card p,
.section p,
.article-body p,
.article-body li {
    color: var(--text-muted)
}

.metric {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start
}

.metric strong {
    font-size: 2rem;
    line-height: 1;
    color: var(--accent-bright)
}

.list {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem
}

.list li {
    margin-left: 1.2rem
}

.quote {
    border-left: 3px solid var(--accent);
    padding-left: 1.25rem;
    color: var(--text-white);
    font-size: 1.08rem;
    margin: 1.5rem 0
}

.article-body {
    max-width: 860px
}

.article-body h2 {
    margin-top: 2.6rem
}

.article-body h3 {
    margin-top: 1.7rem
}

.article-body p,
.article-body ul {
    margin-top: 1rem
}

.article-meta {
    color: var(--text-dim);
    font-size: .9rem;
    margin-top: 1rem
}

.form {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 2rem
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem
}

.form-group {
    margin-bottom: 1.1rem
}

.form label {
    display: block;
    color: var(--text-muted);
    font-size: .88rem;
    font-weight: 700;
    margin-bottom: .4rem
}

.form input,
.form select,
.form textarea {
    width: 100%;
    padding: .9rem 1rem;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, .035);
    border-radius: 8px;
    color: var(--text-white);
    font: inherit
}

.form textarea {
    min-height: 132px;
    resize: vertical
}

.form input:focus,
.form select:focus,
.form textarea:focus {
    outline: 0;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .12)
}

footer {
    position: relative;
    z-index: 1;
    background: var(--primary);
    border-top: 1px solid var(--border-subtle);
    padding: 3.5rem 3rem 2rem;
    color: var(--text-dim)
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 3fr) repeat(3, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo {
    display: flex;
    gap: .75rem;
    align-items: center;
    color: var(--text-white);
    font-weight: 800;
    margin-bottom: 1rem
}

.footer-logo img {
    height: 76px;
    width: auto
}

.footer-links h4 {
    color: var(--text-white);
    font-size: .86rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 1rem
}

.footer-links ul {
    list-style: none
}

.footer-links li {
    margin-bottom: .55rem
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: .9rem
}

.footer-links a:hover {
    color: var(--accent-bright)
}

.footer-bottom {
    max-width: 1400px;
    margin: 2rem auto 0;
    padding-top: 1.6rem;
    border-top: 1px solid var(--border-subtle);
    font-size: .82rem
}

@media(max-width:850px) {
    nav {
        padding: .85rem 1.25rem
    }

    .logo img {
        height: 42px
    }

    .nav-links {
        display: none
    }

    .nav-links.open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 1rem;
        right: 1rem;
        flex-direction: column;
        gap: 0;
        padding: .75rem;
        background: rgba(6, 13, 27, .98);
        border: 1px solid var(--border-subtle);
        border-radius: 8px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, .35)
    }

    .nav-links.open a {
        display: block;
        padding: .8rem .9rem
    }

    .mobile-menu-btn {
        display: block
    }

    header .cta-button {
        display: none
    }

    .page-hero,
    .section {
        padding-left: 1.25rem;
        padding-right: 1.25rem
    }

    .two-col,
    .form-row {
        grid-template-columns: 1fr
    }

    .footer-content {
        grid-template-columns: 1fr
    }

    .hero-actions {
        display: grid
    }

    .btn-primary,
    .btn-secondary {
        width: 100%
    }
}