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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

:root {
    --bg-overscan: 48px;
}

html, body {
    width: 100%;
    min-height: 100%;
    background-color: #2a2a2a;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    color: #f5f5f5;
    line-height: 1.6;
    overflow-x: hidden;
}

#res-canvas {
    position: fixed;
    top: calc(-1 * var(--bg-overscan));
    left: calc(-1 * var(--bg-overscan));
    display: block;
    width: calc(100vw + (2 * var(--bg-overscan)));
    height: calc(100vh + (2 * var(--bg-overscan)));
    background-color: #2a2a2a;
    z-index: 0;              
    pointer-events: none;
}

@supports (height: 100dvh) {
    #res-canvas {
        height: calc(100dvh + (2 * var(--bg-overscan)));
    }
}

@supports (height: 100lvh) {
    #res-canvas {
        height: calc(100lvh + (2 * var(--bg-overscan)));
    }
}

.container {
    position: relative;
    z-index: 1; 
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 40px;
    width: 100%;
}

header {
    margin-bottom: 60px;
}

h1 {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #f5f5f5 0%, #c0c0c0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.25rem;
    font-weight: 300;
    color: #a0a0a0;
    letter-spacing: 0.02em;
}

.content {
    margin-top: 80px;
}

.section {
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid #3a3a3a;
}

.section:last-child {
    border-bottom: none;
}

h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 24px;
    color: #f5f5f5;
    letter-spacing: 0.01em;
}

p {
    color: #b0b0b0;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.contact {
    display: flex;
    gap: 32px;
    margin-top: 40px;
}

.contact a {
    color: #f5f5f5;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.contact a:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

@media (max-width: 768px) {
    .container {
        padding: 60px 24px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .contact {
        flex-direction: column;
        gap: 16px;
    }
}
