/* CSS Reset - Normalize styles across browsers */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    min-height: 100vh;
}

/* Remove default styles */
ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

input, textarea {
    font: inherit;
    border: none;
    outline: none;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Remove list styles */
dl, dt, dd, ul, ol, li {
    list-style: none;
}

/* Table reset */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Heading reset */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    margin: 0;
}

/* Paragraph reset */
p {
    margin: 0;
}
