:root {
    --font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: 0.5s ease;
    --bg: #00171c;
    --text: #e6e6e6;
    --accent: #7e9bae;
    --border: #222;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.15);
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: var(--font-main);
    background-color: var(--bg);
    color: var(--text);
    min-height: 100vh;
    min-height: -webkit-fill-available;
    transition: background-color var(--transition), color var(--transition);
    cursor: default;
    background: transparent !important;
    background-color: var(--bg) !important;
}

/* Pseudo background elements */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url('../assets/images/header.webp') center/cover no-repeat fixed;
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    z-index: -1;
    pointer-events: none;
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--accent);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
    border-radius: 4px;
}

.skip-link:focus {
    top: 6px;
}

/* Typography scale */
h1 {
    margin: 0 0 1rem 0;
    font-size: clamp(1.75rem, 3vw + 1rem, 3rem);
}

h2 {
    font-size: clamp(1.4rem, 1.2vw + 1rem, 2rem);
    margin-top: 0;
    margin-bottom: 2rem;
}

p {
    font-size: clamp(0.98rem, 0.6vw + 0.8rem, 1.05rem);
    line-height: 1.65;
    opacity: 0.9;
    margin-bottom: 1rem;
}

/* Links */
a {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition), transform var(--transition);
}

a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

/* Sections */
.section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.section--alt {
    background: rgba(0, 0, 0, 0.02);
}

.container {
    width: min(1300px, 150%);
    margin: 0 auto;
}