/* BioXR Public Site — Base Styles */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: var(--line-normal);
    color: var(--color-gray-800);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

@media (max-width: 640px) {
    .container {
        padding: 0 var(--space-lg);
    }
}

h1, h2, h3, h4, h5, h6 {
    line-height: var(--line-tight);
    font-weight: 600;
    color: var(--color-gray-900);
    text-wrap: balance;
}

h2 {
    font-size: var(--text-4xl);
    letter-spacing: -0.02em;
}

h3 {
    font-size: var(--text-2xl);
}

h4 {
    font-size: var(--text-lg);
}

p {
    color: var(--color-gray-600);
}

a {
    color: var(--color-blue);
    text-decoration: none;
    transition: color var(--duration-fast) ease;
}

a:hover {
    color: var(--color-blue-light);
}

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

ul {
    list-style: none;
}

/* Selection */
::selection {
    background: var(--color-blue);
    color: var(--color-white);
}

/* Section base */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-dark {
    background: var(--color-navy);
    color: var(--color-white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--color-white);
}

.section-dark p {
    color: var(--color-gray-300);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--space-3xl);
}

.section-tag {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-blue);
    margin-bottom: var(--space-md);
}

.section-dark .section-tag {
    color: var(--color-cyan);
}

.section-subtitle {
    font-size: var(--text-lg);
    margin-top: var(--space-md);
    color: var(--color-gray-500);
}

.section-dark .section-subtitle {
    color: var(--color-gray-400);
}
