/* Custom styles that extend beyond Tailwind */

/* Ensure smooth rendering */
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
    background: rgba(62, 193, 150, 0.3);
    color: #F0FBF7;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #3EC196;
    outline-offset: 4px;
    border-radius: 4px;
}

/* Print styles */
@media print {
    nav, .mobile-menu, #menu-toggle { display: none !important; }
    body { background: white; color: black; }
    .hero-grid { min-height: auto; }
}

/* Subtle grain texture overlay on dark backgrounds */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}
