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

body {
    background-color: #ffffff;
    color: #000000;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Шапка: лого и иконки строго на одной линии */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 36px 48px;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-links a {
    color: #000000;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.social-links a:hover {
    opacity: 0.6;
}

/* Центрирование контента */
.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 24px 80px;
}

.tagline {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.headline {
    font-size: clamp(32px, 5.5vw, 54px);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.subtitle {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 48px;
}

/* Форма: кнопка справа от инпута */
.form-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.subscribe-form {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
}

.input-email {
    /* 25 символов ширины + отступы */
    width: 25ch;
    min-width: 240px;
    padding: 12px 14px;
    border: 1px solid #000000;
    border-radius: 0;
    background-color: transparent;
    color: #000000;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.input-email::placeholder {
    color: #888888;
}

.btn-submit {
    padding: 12px 20px;
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #000000;
    border-radius: 0;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s, color 0.2s;
}

.btn-submit:hover {
    background-color: #ffffff;
    color: #000000;
}

/* Сообщение об успешной отправке */
.success-message {
    padding: 12px 24px;
    border: 1px solid #000000;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    white-space: nowrap;
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Адаптив для маленьких экранов (мобилок) */
@media (max-width: 600px) {
    .header {
        padding: 24px 20px;
    }
    .main-content {
        padding: 20px 20px 30px; /* Уменьшаем нижний отступ */
    }
    .subscribe-form {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    .input-email, .btn-submit {
        width: 100%;
    }
    .success-message {
        white-space: normal;
        text-align: center;
    }
}

/* Обновляем футер для запаса снизу на мобилках */
.footer {
    padding: 24px 20px 32px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    margin-top: auto; /* Гарантирует, что футер всегда прижат к низу, но не перекрывается */
}

.privacy-note {
    font-size: 11px;
    color: #777777;
    letter-spacing: 0.2px;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
}
