/* Base Styles */

/* Reset and normalize */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all var(--transition-fast);
}

/* Base typography and body */
body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--foreground);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography hierarchy */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: var(--font-weight-semibold);
    letter-spacing: -0.025em;
    color: var(--foreground);
}

p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
}

/* Lists */
ul, ol {
    list-style: none;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius);
}

/* Text selection */
::selection {
    background-color: rgba(0, 82, 147, 0.15);
    color: var(--primary);
}
