/* ============================================================
   YVOKE: Reset, Global, Typography
   Extracted from base.html inline styles
   ============================================================ */

/* ============================================================
   RESET & GLOBAL
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--yvoke-font);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--yvoke-text);
    background: var(--yvoke-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--yvoke-purple);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    text-decoration: underline;
}

::selection {
    background: var(--yvoke-purple-pale);
    color: var(--yvoke-purple);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
    font-family: var(--yvoke-font);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--yvoke-text);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 0.8rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); margin-bottom: 0.6rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }
