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

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

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

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
}

/* Bilingual display — the html[lang] attribute decides which copy is visible */
html[lang="ar"] [data-lang="en"] {
    display: none !important;
}

html[lang="en"] [data-lang="ar"] {
    display: none !important;
}

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

::selection {
    background: var(--accent-color);
    color: var(--surface-dark);
}