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

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

body {
    overflow-x: hidden;
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--background-color);
    font-size: 16.5px;
    font-weight: 500;
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
}

@media (min-width: 768px) {
    body {
        font-size: 17.5px;
    }
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.5;
    color: var(--text-color);
}

p {
    text-align: right;
}

a {
    text-decoration: none;
}

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

/* Latin numerals stay left-to-right inside RTL text */
.number-ltr {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
}