* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #07111b;
    color: #e9f2f8;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.wrap {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    background: #06101a;
    border-bottom: 1px solid #19354a;
}

.header-inner {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.site-logo {
    display: block;
    width: 290px;
    max-width: 32%;
}

.site-logo img {
    display: block;
    width: 100%;
    border-radius: 5px;
}

.ad {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #0b1926;
    border: 1px solid #1b3a51;
    border-radius: 8px;
    color: #668095;
    overflow: hidden;
}

.ad-top,
.ad-bottom {
    width: 728px;
    max-width: 100%;
    height: 90px;
}

.main-nav {
    background: #0a1926;
    border-bottom: 1px solid #19354a;
}

.nav-inner {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 27px;
    flex-wrap: wrap;
}

.main-nav a {
    font-size: 13px;
    font-weight: 700;
    color: #c8d6e0;
    padding: 14px 0 11px;
    border-bottom: 3px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
    color: #ffffff;
    border-bottom-color: #f0a51b;
}

.hero {
    text-align: center;
    padding: 42px 0 30px;
}

.kicker {
    display: inline-block;
    border: 1px solid #28526e;
    background: #0b1d2b;
    color: #65c4ff;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 700;
}

h1 {
    font-size: clamp(38px, 6vw, 66px);
    line-height: 1.05;
    margin: 15px 0 8px;
    letter-spacing: -2px;
}

h1 span {
    color: #f0a51b;
}

.hero h2 {
    margin: 0 auto 16px;
    color: #a8bac7;
    font-size: clamp(18px, 2.3vw, 25px);
    font-weight: 500;
}

.hero p {
    max-width: 860px;
    margin: 0 auto 20px;
    color: #9cafbd;
    font-size: 17px;
}

.buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 13px 24px;
    border-radius: 6px;
    font-weight: 800;
}

.btn-primary {
    background: #168bd0;
}

.btn-primary:hover {
    background: #1999e5;
}

.btn-secondary {
    border: 1px solid #31536a;
    background: #0c1c29;
}

.note {
    margin-top: 9px;
    color: #6f8799;
    font-size: 12px;
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 0 0 24px;
}

.card {
    background: #0c1a27;
    border: 1px solid #18384f;
    border-radius: 10px;
    padding: 20px 22px;
}

.card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.card p {
    margin: 0;
    color: #8fa5b5;
    font-size: 14px;
}

.side-ad {
    position: fixed;
    top: 220px;
    width: 160px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #0b1926;
    border: 1px solid #1b3a51;
    border-radius: 8px;
    color: #668095;
    font-size: 12px;
    letter-spacing: .4px;
    z-index: 20;
    overflow: hidden;
}

.side-ad-left {
    left: max(12px, calc(50% - 790px));
}

.side-ad-right {
    right: max(12px, calc(50% - 790px));
}

.ad-wrap {
    padding: 14px 0;
    display: flex;
    justify-content: center;
}

.site-footer {
    border-top: 1px solid #19354a;
    text-align: center;
    padding: 18px 0 22px;
    color: #718a9c;
    font-size: 13px;
}

.site-footer p {
    margin: 4px 0;
}

.site-footer strong,
.site-footer a:hover {
    color: #dce7ee;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 7px;
}

.footer-links a {
    color: #9fb1be;
}

.copyright {
    font-size: 11px;
    color: #536d80;
}

@media (max-width: 1530px) {
    .side-ad {
        display: none;
    }
}

@media (max-width: 900px) {
    .header-inner {
        flex-direction: column;
        padding: 18px 0;
    }

    .site-logo {
        width: 300px;
        max-width: 90%;
    }

    .features {
        grid-template-columns: 1fr 1fr;
    }

    .nav-inner {
        gap: 18px;
        padding: 7px 0;
    }
}

@media (max-width: 560px) {
    .features {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 38px;
    }

    .main-nav a {
        font-size: 12px;
        padding: 9px 0;
    }
}
