:root {
            --bg-color: #f9fafb;
            --grid-color: #e5e7eb;
            --surface: #ffffff;
            --text-main: #111827;
            --text-muted: #6b7280;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-color);
            color: var(--text-main);
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            padding: 20px;
            /* Тот самый четкий фон-сетка */
            background-image: linear-gradient(var(--grid-color) 1px, transparent 1px),
                              linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
            background-size: 32px 32px;
            background-position: center center;
        }

        .card {
            background: var(--surface);
            max-width: 440px;
            width: 100%;
            padding: 48px 32px;
            border-radius: 24px;
            box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05),
                        0 1px 3px rgba(0, 0, 0, 0.05);
            text-align: center;
            position: relative;
        }

        /* Переключатель языков */
        .lang-switch {
            position: absolute;
            top: 24px;
            right: 24px;
            display: flex;
            background: #f3f4f6;
            border-radius: 99px;
            padding: 4px;
        }

        .lang-btn {
            background: transparent;
            border: none;
            padding: 6px 12px;
            border-radius: 99px;
            font-size: 12px;
            font-weight: 600;
            color: var(--text-muted);
            cursor: pointer;
            transition: all 0.2s ease;
            font-family: inherit;
        }

        .lang-btn.active {
            background: #ffffff;
            color: var(--text-main);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }

        .icon {
            width: 64px;
            height: 64px;
            margin: 0 auto 24px;
            color: var(--text-main);
        }

        h1 {
            font-size: 28px;
            font-weight: 600;
            letter-spacing: -0.03em;
            margin-bottom: 12px;
        }

        p {
            color: var(--text-muted);
            font-size: 16px;
            line-height: 1.5;
            margin-bottom: 32px;
            min-height: 48px; 
        }

        .tg-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            width: 100%;
            background-color: #000000;
            color: #ffffff;
            text-decoration: none;
            padding: 16px;
            border-radius: 14px;
            font-size: 16px;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .tg-link:hover {
            background-color: #374151;
            transform: translateY(-2px);
        }

        .tg-link svg {
            width: 20px;
            height: 20px;
            fill: currentColor;
        }

:root {
    --bg-color: #f9fafb;
    --grid-color: #e5e7eb;
    --surface: #ffffff;
    --text-main: #111827;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Фон-сетка */
    background-image: linear-gradient(var(--grid-color) 1px, transparent 1px),
                      linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 32px 32px;
    background-position: center center;
}

/* Центрирует карточку по вертикали и горизонтали */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.card {
    background: var(--surface);
    max-width: 440px;
    width: 100%;
    padding: 48px 32px;
    border-radius: 24px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05),
                0 1px 3px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
}

/* Переключатель языков */
.lang-switch {
    position: absolute;
    top: 24px;
    right: 24px;
    display: flex;
    background: #f3f4f6;
    border-radius: 99px;
    padding: 4px;
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 6px 12px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.lang-btn.active {
    background: #ffffff;
    color: var(--text-main);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    color: var(--text-main);
}

h1 {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.card p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 32px;
    min-height: 48px; 
}

.tg-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    padding: 16px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tg-link:hover {
    background-color: #374151;
    transform: translateY(-2px);
}

.tg-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Стили футера */
.footer {
    width: 100%;
    padding: 24px 20px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.dmarc-badge {
    display: inline-flex;
    align-items: center;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 99px;
    margin-bottom: 6px;
}

.footer-dmarc-text {
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-muted);
    margin: 0;
}

.footer-bottom {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #9ca3af;
}

.footer-dot {
    font-size: 10px;
}