:root {
    --mint-green: #D1FAE5;
    --dark-green: #064E3B;
    --orange: #ECA239;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-color: #FAFAFA;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* HERO SECTION */
.hero-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 640px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app-icon {
    width: 140px;
    height: 140px;
    margin-bottom: 2rem;
    border-radius: 50%;
    /* Subtle CAD-like structural shadow */
    box-shadow: 0 10px 25px -5px rgba(6, 78, 59, 0.1), 0 8px 10px -6px rgba(6, 78, 59, 0.1);
}

.headline {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
}

.sub-headline {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 520px;
}

/* WAITLIST FORM */
.form-container {
    width: 100%;
    max-width: 400px;
}

.waitlist-text {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dark-green);
    margin-bottom: 1rem;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.email-input {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background-color: white;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.email-input:focus {
    border-color: var(--dark-green);
    box-shadow: 0 0 0 3px rgba(6, 78, 59, 0.1);
}

.primary-button {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: white;
    background-color: var(--dark-green);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.primary-button:hover {
    background-color: #043f2f;
    box-shadow: 0 4px 6px -1px rgba(6, 78, 59, 0.2);
}

.primary-button:active {
    transform: scale(0.98);
}

.success-message {
    padding: 1rem;
    background-color: var(--mint-green);
    color: var(--dark-green);
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid rgba(6, 78, 59, 0.1);
}

/* FOOTER */
footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid #E5E7EB;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--dark-green);
}

/* Document Header (Privacy/Terms/FAQ) */
.header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.header-left {
    display: flex;
    flex-direction: column;
}

.header-left h1 {
    margin-bottom: 0;
}

.page-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 10px -2px rgba(6, 78, 59, 0.1);
}

/* RESPONSIVE */
@media (min-width: 640px) {
    .waitlist-form {
        flex-direction: row;
    }
    .email-input {
        flex: 1;
    }
    .primary-button {
        width: auto;
    }
    .headline {
        font-size: 3.5rem;
    }
}