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

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

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

section {
    margin-bottom: 50px;
}

h1 {
    display: inline-flex;
    align-items: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.1;
    transform: translateX(-47px);
}

h1 .logo {
    width: 80px;
    height: auto;
    margin-right: 15px;
}

h1 .title-text {
    display: flex;
    flex-direction: column;
}

h1 .local {
    color: #1e3a5f;
    text-align: left;
}

h1 .sale-prices {
    color: #23955b;
}

h2 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 15px;
    text-align: center;
}

.tagline {
    font-size: 1.5rem;
    color: #666;
    text-align: center;
    margin-bottom: 20px;
}

.hero {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.waitlist,
.network,
.contact {
    padding: 30px 0;
}

.network {
    border-top: 1px solid #eee;
    padding-top: 40px;
}

.network > p {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
}

.contact > p {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.email-form {
    flex-direction: row;
    gap: 10px;
}

.email-form input {
    flex: 1;
}

input,
textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #999;
}

textarea {
    resize: vertical;
}

button {
    padding: 12px 24px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #555;
}

.form-message {
    text-align: center;
    margin-top: 10px;
    font-size: 0.9rem;
}

.form-message.success {
    color: #2e7d32;
}

.form-message.error {
    color: #c62828;
}

footer {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #eee;
    margin-top: auto;
}

footer a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

footer a:hover {
    text-decoration: underline;
}

footer p {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #999;
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.25rem;
    }

    .email-form {
        flex-direction: column;
    }

    .logo {
        width: 60px;
    }
}
