html {
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: var(--font-regular);
    line-height: var(--leading-base);
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

::selection {
    background-color: var(--color-accent-primary);
    color: var(--color-text-dark);
}

a {
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent-primary);
}

img {
    user-select: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-gradient {
    background: var(--gradient-headline);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-accent {
    color: var(--color-accent-primary);
}

.text-muted {
    color: var(--color-text-muted);
}

.heading-1 {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    line-height: var(--leading-3xl);
}

.heading-2 {
    font-size: var(--text-3xl);
    font-weight: var(--font-light);
    font-style: italic;
    line-height: var(--leading-3xl);
}

.heading-3 {
    font-size: var(--text-xl);
    font-weight: var(--font-medium);
    line-height: var(--leading-xl);
}

.heading-4 {
    font-size: var(--text-base);
    font-weight: var(--font-medium);
    line-height: var(--leading-base);
}

.body-large {
    font-size: var(--text-xl);
    line-height: var(--leading-xl);
}

.body-base {
    font-size: var(--text-base);
    line-height: var(--leading-base);
}

.body-small {
    font-size: var(--text-sm);
    line-height: var(--leading-sm);
}

.body-xs {
    font-family: var(--font-secondary);
    font-size: var(--text-xs);
    line-height: var(--leading-xs);
    letter-spacing: var(--tracking-wider);
}
