@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap');

body {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-logo {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.glass-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.selection\:bg-gray-100 ::selection {
    background-color: #f3f4f6;
}

.brand-logo {
    font-weight: 900;
    letter-spacing: -0.05em;
    color: #111827;
    text-transform: uppercase;
    font-size: 1.25rem;
    /* text-xl */
}

.selection\:text-gray-900 ::selection {
    color: #111827;
}

/* Engineering Aesthetics */
.grid-bg {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
}

.sans-font {
    font-family: 'Manrope', sans-serif;
}

.article-lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #4b5563;
    font-weight: 400;
}

.title-underline {
    display: inline-block;
    position: relative;
}

.title-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #111827;
}

/* Mobile Navigation Adjustments */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem !important;
    }
    .brand-logo {
        font-size: 1.1rem !important;
    }
}

/* Sticky CTA Mobile Optimization */
#sticky-cta {
    bottom: calc(1.5rem + env(safe-area-inset-bottom));
}

@media (max-width: 640px) {
    #sticky-cta {
        right: 1rem;
        left: 1rem;
        bottom: env(safe-area-inset-bottom, 1rem);
    }
    #sticky-cta a {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        border-radius: 1rem;
    }
}

/* Fix for horizontal scroll issues on mobile */
body, html {
    overflow-x: hidden;
    width: 100%;
}

/* Smoother transitions for mobile taps */
button, a {
    -webkit-tap-highlight-color: transparent;
}

.premium-shadow {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.premium-card {
    background: white;
    border: 1px solid #f3f4f6;
    border-radius: 2.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
    border-color: #e5e7eb;
}