/* Explain: Base reset and typography defaults with tech-grid background. */
* {
    box-sizing: border-box;
}

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

body {
    overflow-x: hidden;
    color: var(--text-color);
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

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

.aid-grid,
.tech-grid {
    background-image:
        linear-gradient(color-mix(in srgb, var(--text-color) 6%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, var(--text-color) 6%, transparent) 1px, transparent 1px);
    background-size: 42px 42px;
    background-position: center;
}

::selection {
    background: color-mix(in srgb, var(--secondary-color) 28%, transparent);
}

.text-balance {
    text-wrap: balance;
}