﻿:root {
    --page-background: #dfe6e8;
    --frame-background: #ffffff;
    --text-color: #173a5c;
    --accent-color: #4c99b7;
    --accent-soft: #e0f2f8;
    --border-color: #d7dfe3;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: var(--page-background);
    color: var(--text-color);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page-shell {
    width: 100%;
    min-height: 100vh;
    padding: 32px;
}

.page-frame {
    max-width: 1120px;
    margin: 0 auto;
    background: var(--frame-background);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 32px 40px;
    border-bottom: 1px solid var(--border-color);
}

.logo-link {
    display: inline-flex;
    align-items: center;
}

    .logo-link img {
        max-height: 122px;
        width: auto;
    }

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
}

    .site-nav a {
        color: var(--text-color);
        text-decoration: none;
        font-size: 22px;
        font-weight: 700;
        padding: 8px 0;
        border-bottom: 3px solid transparent;
    }

        .site-nav a:hover,
        .site-nav a:focus,
        .site-nav a.current {
            border-bottom-color: var(--accent-color);
        }

.site-main {
    padding: 40px;
}

.hero-card {
    background: var(--accent-color);
    color: #ffffff;
    border-radius: 18px;
    padding: 40px;
    margin-bottom: 28px;
}

    .hero-card h1 {
        margin: 0 0 20px;
        font-size: 40px;
        line-height: 1.15;
    }

    .hero-card p {
        margin: 0 0 14px;
        font-size: 18px;
    }

        .hero-card p:last-child {
            margin-bottom: 0;
        }

.lead-text {
    font-weight: 700;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.content-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
}

.accent-card {
    background: var(--accent-soft);
}

.content-card h2 {
    margin: 0 0 16px;
    font-size: 30px;
    line-height: 1.2;
}

.content-card p {
    margin: 0 0 16px;
    font-size: 17px;
}

    .content-card p:last-child {
        margin-bottom: 0;
    }

.chat-section {
    background: var(--accent-soft);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
}

    .chat-section h2 {
        margin: 0 0 16px;
        font-size: 30px;
        line-height: 1.2;
    }

.chat-text {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 700;
}

#BasechatMainEntry {
 
    
}



/* Only for smaller phones */
@media (max-width: 430px) {
    

    
    #BasechatMainEntry.chat-entry {
   
        margin-top:-20px;
        margin-left: -20px;
        margin-right: -20px;
    }
}

.bullet-list {
    margin: 0 0 16px;
    padding-left: 24px;
}

    .bullet-list li {
        margin-bottom: 10px;
    }

        .bullet-list li:last-child {
            margin-bottom: 0;
        }

.note-banner {
    background: #173a5c;
    color: #ffffff;
    border-radius: 16px;
    padding: 28px;
}

    .note-banner p {
        margin: 0 0 10px;
        font-size: 18px;
        font-weight: 700;
    }

        .note-banner p:last-child {
            margin-bottom: 0;
        }

.page-intro {
    margin-bottom: 24px;
}

    .page-intro h1 {
        margin: 0 0 12px;
        font-size: 38px;
        line-height: 1.2;
    }

    .page-intro p {
        margin: 0;
        font-size: 18px;
        font-weight: 700;
    }

.site-footer {
    background: #173a5c;
    color: #ffffff;
    padding: 32px 40px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}

    .footer-nav a {
        color: #ffffff;
        text-decoration: none;
        font-size: 18px;
        font-weight: 700;
        padding-bottom: 4px;
        border-bottom: 2px solid transparent;
    }

        .footer-nav a:hover,
        .footer-nav a:focus,
        .footer-nav a.current {
            border-bottom-color: #ffffff;
        }

@media (max-width: 1120px) {
    .page-shell {
        padding: 0;
    }

    .page-frame {
        max-width: none;
        width: 100%;
        border: none;
        border-radius: 0;
    }
}

@media (max-width: 820px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
    }

    .site-main {
        padding: 20px;
    }

    .hero-card,
    .content-card,
    .chat-section,
    .site-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-card {
        padding-top: 24px;
        padding-bottom: 24px;
    }

        .hero-card h1,
        .page-intro h1,
        .content-card h2,
        .chat-section h2 {
            font-size: 30px;
        }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .site-nav a {
        font-size: 21px;
    }

    .site-footer {
        padding-top: 24px;
        padding-bottom: 24px;
    }
}

@media (max-width: 560px) {
    .site-nav {
        gap: 12px 18px;
    }

        .site-nav a {
            font-size: 20px;
        }

    .hero-card h1 {
        font-size: 32px;
    }

    .hero-card p,
    .content-card p,
    .chat-text,
    .page-intro p,
    .note-banner p {
        font-size: 17px;
    }
}
