* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background: #0f1117;
    color: #e6e8ef;

    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================
   HEADER
   ========================= */

.header {
    border-bottom: 1px solid #252936;
    background: #11131a;
}

.header-inner {
    min-height: 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;

    gap: 9px;

    font-size: 21px;
    font-weight: 700;
}

.logo-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    border-radius: 8px;

    background: #5865f2;

    font-size: 16px;
}

.nav {
    display: flex;

    gap: 25px;
}

.nav a {
    color: #aeb4c3;

    font-size: 14px;

    transition: color 0.2s;
}

.nav a:hover {
    color: #ffffff;
}


/* =========================
   HERO
   ========================= */

.hero {
    padding: 110px 0 100px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(88, 101, 242, 0.18),
            transparent 45%
        );
}

.badge {
    display: inline-block;

    padding: 6px 12px;

    border-radius: 999px;

    background: #1c2030;
    color: #8f9cff;

    font-size: 13px;
    font-weight: 600;

    margin-bottom: 20px;
}

.hero h1 {
    margin: 0 0 20px;

    font-size: clamp(42px, 7vw, 72px);

    line-height: 1.05;
}

.hero-text {
    max-width: 700px;

    margin: 0 0 35px;

    color: #aeb4c3;

    font-size: 19px;
}


/* =========================
   BUTTONS
   ========================= */

.buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}

.button {
    padding: 13px 20px;

    border-radius: 8px;

    font-weight: 600;

    transition:
        transform 0.2s,
        background 0.2s;
}

.button:hover {
    transform: translateY(-2px);
}

.button.primary {
    background: #5865f2;

    color: white;
}

.button.primary:hover {
    background: #6975f5;
}

.button.secondary {
    background: #20232d;

    color: #e6e8ef;
}

.button.secondary:hover {
    background: #292d39;
}


/* =========================
   SECTIONS
   ========================= */

.section {
    padding: 80px 0;
}

.section-dark {
    background: #11131a;
}

.section h2 {
    margin-top: 0;
    margin-bottom: 12px;

    font-size: 32px;
}

.section-description {
    max-width: 700px;

    margin-top: 0;
    margin-bottom: 30px;

    color: #9299aa;
}


/* =========================
   CARDS
   ========================= */

.cards {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}

.card {
    padding: 28px;

    border: 1px solid #252936;

    border-radius: 12px;

    background: #151821;

    transition:
        transform 0.2s,
        border-color 0.2s;
}

.card:hover {
    transform: translateY(-3px);

    border-color: #353a4c;
}

.card-icon {
    font-size: 28px;

    margin-bottom: 15px;
}

.card h3 {
    margin: 0 0 10px;

    font-size: 19px;
}

.card p {
    margin: 0;

    color: #9da4b4;
}


/* =========================
   DOCUMENTS
   ========================= */

.document-list {
    display: grid;

    gap: 12px;
}

.document {
    display: flex;

    align-items: center;

    gap: 16px;

    padding: 20px 24px;

    border: 1px solid #252936;

    border-radius: 10px;

    background: #151821;

    transition:
        border-color 0.2s,
        transform 0.2s;
}

.document:hover {
    border-color: #5865f2;

    transform: translateX(3px);
}

.document-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    flex-shrink: 0;

    border-radius: 9px;

    background: #1d2130;

    font-size: 20px;
}

.document-content {
    flex: 1;
}

.document strong {
    display: block;

    margin-bottom: 3px;
}

.document span {
    color: #9299aa;

    font-size: 14px;
}

.document .arrow {
    color: #8f9cff;

    font-size: 22px;
}


/* =========================
   DOCUMENT PAGE
   ========================= */

.page {
    padding: 70px 0 100px;
}

.page-header {
    margin-bottom: 50px;
}

.page-header h1 {
    margin: 0 0 10px;

    font-size: clamp(36px, 5vw, 52px);

    line-height: 1.15;
}

.page-header p {
    color: #8f96a7;
}

.content {
    max-width: 800px;
}

.content h2 {
    margin-top: 45px;
    margin-bottom: 15px;

    font-size: 24px;
}

.content h2:first-child {
    margin-top: 0;
}

.content p {
    color: #b5bac7;
}

.content li {
    margin-bottom: 8px;

    color: #b5bac7;
}

.content ul {
    padding-left: 25px;
}

.content strong {
    color: #e6e8ef;
}


/* =========================
   FOOTER
   ========================= */

.footer {
    border-top: 1px solid #252936;

    padding: 30px 0;

    background: #0c0e13;

    color: #737a8b;

    font-size: 13px;
}

.footer-inner {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;
}

.footer-links {
    display: flex;

    gap: 20px;
}

.footer-links a:hover {
    color: #ffffff;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 700px) {

    .header-inner {
        flex-direction: column;

        padding: 20px 0;
    }

    .nav {
        flex-wrap: wrap;

        justify-content: center;

        gap: 12px 18px;
    }

    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero-text {
        font-size: 17px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .document {
        padding: 18px;
    }

    .footer-inner {
        flex-direction: column;

        text-align: center;
    }

    .footer-links {
        flex-direction: column;

        gap: 8px;
    }
}
