:root {
    --bg: #262626;
    --text: #ffffff;
    --accent: #FFFA5D;
    --light: #e0e0e0;
    --muted: #999999;
    --btn-bg: #C0C0C0;
    --btn-hover: #D4D4D4;
    --shadow: #808080;
}

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

html, body {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    font-family: 'Alte Haas Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nav {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 10;
}

.nav-buttons {
    margin-left: auto;
    display: flex;
    gap: 10px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container a {
    display: flex;
    align-items: center;
}

.logo-top {
    display: none;
}

.btn {
    font-family: 'Geist Mono', monospace;
    color: #000;
    font-size: 14px;
    font-weight: 400;
    background: var(--btn-bg);
    padding: 4px 10px;
    text-decoration: none;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    border-right: 1px solid var(--shadow);
    border-bottom: 1px solid var(--shadow);
    box-shadow: 1px 1px 0 1px #000;
}

.btn:hover {
    text-decoration: underline;
    background: var(--btn-hover);
    border-top: 1px solid var(--shadow);
    border-left: 1px solid var(--shadow);
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    box-shadow: inset 1px 1px 0 1px #000;
}

.logo-container svg {
    width: 40px;
    height: 40px;
}

.main {
    text-align: center;
    max-width: 500px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.coming-soon {
    font-size: 48px;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 40px;
    font-family: 'Alte Haas Grotesk', sans-serif;
}

.email-form {
    width: 100%;
    max-width: 400px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-label {
    font-family: 'Geist Mono', monospace;
    font-size: 14px;
    color: var(--light);
    font-weight: 300;
}

.email-input {
    font-family: 'Geist Mono', monospace;
    padding: 12px 16px;
    font-size: 16px;
    background: transparent;
    border: 1px solid var(--light);
    border-radius: 4px;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s ease;
}

.email-input:focus {
    border-color: var(--accent);
}

.email-input::placeholder {
    color: var(--muted);
}

.submit-btn {
    font-family: 'Geist Mono', monospace;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 400;
    background: var(--accent);
    color: var(--bg);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.submit-btn:hover {
    opacity: 0.9;
}

.submit-btn:active {
    transform: translateY(1px);
}

@media (max-width: 768px) {
    .nav {
        top: 15px;
        padding: 0 15px;
    }
    
    .logo-container svg {
        width: 35px;
        height: 35px;
    }
    
    .main {
        padding: 50px 20px;
    }
    
    .coming-soon {
        font-size: 36px;
        margin-bottom: 30px;
    }
    
    .email-form {
        max-width: 100%;
    }
    
    .email-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Optimize font loading */
@font-face {
    font-family: 'Geist Mono';
    font-display: swap;
}

@font-face {
    font-family: 'Alte Haas Grotesk';
    font-display: swap;
}