@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--pb-bg);
    color: var(--pb-text);
    font-family: var(--pb-font-body);
    font-size: var(--pb-text-base);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: var(--pb-font-heading);
    font-weight: 600;
    letter-spacing: -0.035em;
}

p {
    margin: 0;
}

img {
    display: block;
    max-width: 100%;
}

::selection {
    background: var(--pb-primary);
    color: var(--pb-text-inverse);
}

:focus-visible {
    outline: 2px solid var(--pb-primary);
    outline-offset: 3px;
}

.muted {
    color: var(--pb-text-secondary);
}

.text-small {
    font-size: var(--pb-text-sm);
}

.text-xs {
    font-size: var(--pb-text-xs);
}

.text-mono {
    font-family: var(--pb-font-mono);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}