@import "tailwindcss";

body {
    background-color: #10111a;
    color: #ffffff;
    font-family: "DM Sans", sans-serif;
}

html {
    scroll-behavior: smooth;
}

.font-display {
    font-family: "Space Grotesk", sans-serif;
}

.hero-grid {
    background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 78%);
}

.reveal-on-scroll {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal-on-scroll,
    .reveal-on-scroll.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
