@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Instrument+Serif:ital,wght@0,400;1,400&display=swap');

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

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #FFFFFF;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px 20px 20px;
    text-align: center;
}

header {
    margin-bottom: 40px;
}

.logo-image {
    height: 80px;
    width: auto;
}

.hero-section {
    max-width: 600px;
    margin: 0 auto;
    margin-top: -20px;
}

.headline {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: #2d2d2d;
    margin-bottom: 20px;
    line-height: 1.1;
}

.subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.signup-form {
    display: flex;
    gap: 0;
    margin-bottom: 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.email-input {
    font-family: 'DM Sans', sans-serif;
    flex: 1;
    padding: 15px 20px;
    font-size: 1rem;
    border: 2px solid #000;
    border-radius: 0;
    outline: none;
    border-right: none;
}

.email-input::placeholder {
    color: #000;
    opacity: 1;
}

.email-suggestion {
    text-align: center;
    background: #f8f9fa;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
    margin-top: 8px;
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'DM Sans', sans-serif;
}

.email-suggestion:hover {
    background: #e9ecef;
}

.trust-signals {
    text-align: center;
    margin-top: 5px;
    margin-bottom: 15px;
}

.trust-signals p {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    color: #888;
    margin: 0;
}

.email-input:focus {
    border-color: #3A66F5;
}

.subscribe-btn {
    font-family: 'DM Sans', sans-serif;
    padding: 15px 30px;
    font-size: 1rem;
    background-color: #3A66F5;
    color: white;
    border: 2px solid #3A66F5;
    border-radius: 0;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}

.subscribe-btn:hover {
    background-color: #2952e6;
    border-color: #2952e6;
}

.subscribe-btn.loading {
    background-color: #3A66F5;
    border-color: #3A66F5;
    pointer-events: none;
}

.subscribe-btn.loading:hover {
    background-color: #3A66F5;
    border-color: #3A66F5;
}

.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkmark {
    animation: checkmark-draw 0.5s ease-in-out;
}

@keyframes checkmark-draw {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.social-proof {
    margin-bottom: 15px;
}

.social-proof p {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    color: #666;
}

.subscriber-count {
    background-color: #3A66F5;
    color: white;
    padding: 2px 8px;
    border-radius: 0px;
    font-weight: 600;
    display: inline-block;
}

.company-logos {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: nowrap;
}

.company-logo {
    height: 40px;
    display: flex;
    align-items: center;
}

.company-logo img {
    height: 100%;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

.subscribe-graphic {
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    margin-top: 20px;
    text-align: center;
}

.subscribe-graphic img {
    width: 100%;
    height: auto;
    display: block;
}

footer {
    margin-top: 20px;
    padding-top: 20px;
}

.footer-links {
    text-align: center;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    color: #666;
    margin-top: 30px;
    margin-bottom: 10px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #3A66F5;
    text-decoration: underline;
}

.separator {
    margin: 0 12px;
    color: #ccc;
}

@media (max-width: 768px) {
    .container {
        padding: 60px 15px 20px 15px;
    }
    
    .logo-image {
        height: 60px;
    }
    
    .headline {
        font-size: 2.2rem;
    }
    
    .signup-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .email-input {
        border-radius: 0;
        border-right: 2px solid #000;
    }
    
    .subscribe-btn {
        border-radius: 0;
    }
    
    .trust-signals {
        margin-top: 15px;
    }
    
    .logo-row {
        gap: 20px;
        flex-wrap: nowrap;
    }
    
    .company-logo {
        height: 35px;
    }
    
    .company-logos {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 60px 10px 15px 10px;
    }
    
    .logo-image {
        height: 50px;
    }
    
    .headline {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .signup-form {
        margin-bottom: 30px;
    }
    
    .company-logos {
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .logo-row {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;
        flex-wrap: nowrap;
    }
    
    .logo-row:first-child {
        gap: 12px;
    }
    
    .logo-row:first-child {
        margin-bottom: 15px;
    }
    
    .logo-row:nth-child(2) {
        margin-bottom: 15px;
    }
    
    .company-logo {
        height: 30px;
        flex: 0 0 auto;
    }
    
    .company-logo img {
        max-width: 70px;
    }
}