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

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

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    font-family: inherit;
}

::selection {
    background: var(--accent-soft);
    color: var(--primary-color);
}

:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* ---------- Bilingual visibility ---------- */
html[lang="en"] .lang-ar,
html[lang="ar"] .lang-en {
    display: none !important;
}