/* Landing page specific styles */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 2rem 0;
}

.hero-content {
    max-width: var(--card-max-width);
    width: 100%;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-weight: 400;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.email-form {
    margin-top: 0rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.subscribe-btn {
    white-space: nowrap;
}

.signin-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.signin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    font-family: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.signin-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .hero {
        padding: 1rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
}

/* Typewriter tagline styles */
#typewriter {
    display: inline-block; /* shrink to typed width only */
    position: relative;
}

.tagline {
    color: var(--text-primary);
    height: 3.0em; /* Reserve space for up to ~3 lines so the card doesn't jump */
    position: relative;
    overflow: hidden; /* Prevent overflow beyond reserved space */
    white-space: pre-line; /* Honour \n while still allowing wrapping */
}

#typewriter::after {
    content: "|";
    display: inline-block;
    margin-left: 0.1em;    /* small gap */
    animation: blinkCaret 0.7s steps(1) infinite;
}

@keyframes blinkCaret {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
