* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background: radial-gradient(circle at 10% 8%, rgba(124, 58, 237, 0.14), transparent 30%),
        radial-gradient(circle at 90% 0%, rgba(0, 246, 255, 0.1), transparent 25%),
        linear-gradient(180deg, #0b0f1a 0%, #0a101d 58%, #0a1122 100%);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: var(--body-size);
    line-height: var(--body-line-height);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.02), transparent 34%, rgba(255, 255, 255, 0.01));
    content: '';
    inset: 0;
    pointer-events: none;
    position: fixed;
    z-index: -2;
}

#plexus-background {
    height: 100vh;
    inset: 0;
    opacity: 0.28;
    pointer-events: none;
    position: fixed;
    width: 100vw;
    z-index: -1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-text-primary);
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    line-height: 1.18;
}

h1 {
    font-size: clamp(2.3rem, 5vw, var(--h1-size));
    font-weight: var(--h1-weight);
}

h2 {
    font-size: clamp(1.9rem, 4vw, var(--h2-size));
    font-weight: var(--h2-weight);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-weight: 600;
}

h4 {
    font-size: clamp(1.05rem, 1.7vw, 1.2rem);
    font-weight: 600;
}

p {
    color: var(--color-text-secondary);
    max-width: 72ch;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

button,
input,
textarea,
select {
    color: inherit;
    font: inherit;
}

::selection {
    background: rgba(0, 246, 255, 0.26);
    color: #fff;
}

[hidden] {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
