/* ---------- Reset / base ---------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Room for the fixed watchlist sidebar (covers dashboard and footer) */
    padding-left: var(--sidebar-width);
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p {
    margin: 0;
}
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}
/* ---------- Typography ---------- */

h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: 400;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text);
    margin-bottom: var(--space-3);
}
