/* Explain: Base styles, reset, and global typography. */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    scroll-behavior: smooth;
}

body {
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    letter-spacing: -0.02em;
}

[x-cloak] {
    display: none !important;
}

::selection {
    background-color: rgba(22, 163, 74, 0.2);
    color: var(--text-color);
}

/* Soft dotted grid for a technical, data-driven feel */
.bg-tech-pattern {
    background-image: radial-gradient(rgba(22, 163, 74, 0.14) 1px, transparent 1px);
    background-size: 28px 28px;
}