/* /assets/css/base.css */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--f-text);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--c-black);
    background-color: var(--c-gray-50);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--f-display);
    line-height: 1.1;
    margin: 0 0 var(--space-4);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }

p { margin: 0 0 var(--space-4); }

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

a:hover {
    color: var(--c-brand-dark);
    text-decoration: underline;
}

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

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--c-black);
    color: var(--c-white);
    padding: 8px;
    z-index: 100;
}
.skip-link:focus { top: 0; }

/* Font Faces */
@font-face {
    font-family: 'Space Grotesk';
    src: url('/assets/fonts/space-grotesk-0.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Chivo';
    src: url('/assets/fonts/chivo-0.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Chivo';
    src: url('/assets/fonts/chivo-1.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
