/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-text-size-adjust: 100%; /* Prevent Safari text reflow on orientation change */
    text-size-adjust: 100%;
}

/* Safari/iOS form element resets */
button, input, select, textarea {
    -webkit-appearance: none;
    appearance: none;
}
a, button {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.08);
}

/* Environment banner */
.env-banner {
    background: var(--env-banner-bg);
    color: white;
    text-align: center;
    padding: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Container with size modifiers */
.container { max-width: 1200px; margin: 2rem auto; padding: 0 1rem; }
.container--sm { max-width: 900px; }
.container--md { max-width: 1000px; }
.container--lg { max-width: 1200px; }
.container--xl { max-width: 1400px; }
