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

html, body {
    height: 100%;
}

body {
    background-color: #fff;
    color: #313131;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ОСНОВНОЙ КОНТЕЙНЕР */

.main {
    flex: 1;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding: 100px 20px 40px;
}

/* ШАПКА САЙТА */

.site-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 10px;
}

.site-icon {
    width: 26px;
    height: 26px;
    background-image: url(images/favicon.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.site-domain {
    font-size: 30px;
    font-weight: 600;
    color: #313131;
}

/* ЗАГОЛОВКИ И ТЕКСТ */

.title {
    font-size: 18px;
    font-weight: 600;
    color: #313131;
    margin-bottom: 10px;
}

.description {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 30px;
}

.success {
    display: none;
    font-size: 16px;
    font-weight: 500;
    color: #313131;
    margin-top: 20px;
}

/* ФУТЕР */

.footer {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding: 0 20px 20px;
    text-align: center;
    font-size: 12px;
    color: #313131;
}

.footer-divinder {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin-bottom: 20px;
    width: 100%;
}

.ray-id {
    margin-bottom: 8px;
    font-family: monospace;
    font-size: 11px;
}

.footer-line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.footer-line a {
    color: #0051c3;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.footer-line a:hover {
    color: #003087;
}

.footer-sep {
    color: #ccc;
    font-size: 12px;
}