/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: #fff;
    color: #1B1A1C;
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
}

b,strong {
    font-weight: 900;
}

/* Layout */
.header-container {
    max-width: 1000px;
    padding: 0 20px;
    margin: 0 auto;
}

.header-mobile-container {
   display: none;
}

.main-container {
    max-width: 920px;
    margin: 0 auto;
}

/* Header */
.header {
    border-bottom: 1px solid rgba(54, 53, 55, 0.12);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 56px;
    height: 80px;
}

.logo {
    height: 44px;
}

.nav {
    display: flex;
    gap: 40px;
}

.nav a {
    color: #9000FF;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    text-decoration: none;
}

.nav a:hover {
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-skip-ink: none;
    text-decoration-color: rgba(144, 0, 255, 0.32);
    text-decoration-thickness: 15%;
    text-underline-offset: 25%;
    text-underline-position: from-font;
}

.nav a:hover {

}

/* Article */
.article {
    padding: 40px 20px 80px;
}

.title {
    padding: 0 40px;
    margin-bottom: 20px;
    color: #1B1A1C;
    font-size: 56px;
    font-style: normal;
    font-weight: 900;
    line-height: 62px;
    letter-spacing: -1.12px;
}

.meta {
    display: flex;
    margin-bottom: 24px;
    padding: 0 40px;
    gap: 16px;
    color: #363537;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;

    >span {
        display: flex;
        gap: 4px;
    }
}

.intro {
    padding: 0 40px;
    margin-bottom: 32px;
    font-size: 16px;
    opacity: 0.8;
}

/* Cards */
.cards-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.card {
    display: flex;
    padding: 32px 40px 40px 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    border-radius: 20px;
    border: 1px solid rgba(54, 53, 55, 0.12);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    aspect-ratio: 1/1;
    color: #FFF;
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    line-height: 20px;
    border-radius: 8px;
    background: #9000FF;
    box-shadow: 0 4px 12px 0 rgba(27, 26, 28, 0.12);
}

.card h2 {
    color: #1B1A1C;
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 900;
    line-height: 28px;
}

.card p {
    color: #1B1A1C;
    opacity: 0.8;
}

.card ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.card li {
    position: relative;
    opacity: 0.8;
    color: #1B1A1C;
    padding-left: 34px;
}

.card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #f1f5f9;
}

.card li::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 9px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #9000FF;
}

.card .action {
    display: flex;
    align-items: center;
    height: 72px;
    padding: 16px;
    justify-content: center;
    width: 100%;
    text-decoration: none;
    color: #FFF;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    line-height: 28px;
    gap: 12px;
    border-radius: 12px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.08) 100%), #9000FF;
    backdrop-filter: blur(13px);
}

/* terms */

.content-title {
    margin-top: 32px;
    margin-bottom: 16px;
    font-family: Roboto, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 900;
    line-height: 28px;
}

.content-p {
    display: flex;
    gap: 12px;
    opacity: 0.8;
    margin-bottom: 20px;
    align-items: flex-start;

    > span:not(.num) {
        flex: 1;
    }
}

.content-p .num {
    font-weight: bold;
    flex-shrink: 0;
}

.content-p a {
    color: #9000FF;
    text-decoration: none;
    display: inline;
}

.content-ul {
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
    padding: 0;
}

.content-ul li {
    position: relative;
    padding-left: 64px;
    opacity: 0.8;
}

.content-ul li::before {
    content: "";
    position: absolute;
    left: 32px;
    top: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #f1f5f9;
}

.content-ul li::after {
    content: "";
    position: absolute;
    left: 41px;
    top: 9px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #9000FF;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(54, 53, 55, 0.12);
    padding: 48px 20px 120px;
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    height: 64px;
    img {
        height: 64px;
    }
    @media (max-width: 768px) {
height: 64px;
    }
    margin-bottom: 4px;
}

.footer-name {
    color: #000;
    font-family: "Madimi One", sans-serif;;
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: -3.6px;
    margin-bottom: 24px;
}

.footer-nav {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 24px;
    margin-bottom: 28px;

    a {
        color: #9000FF;
        font-size: 14px;
        font-weight: 700;
        line-height: 24px;
        text-decoration: none;
    }

    a:hover {
        text-decoration-line: underline;
        text-decoration-style: dotted;
        text-decoration-skip-ink: none;
        text-decoration-color: rgba(144, 0, 255, 0.32);
        text-decoration-thickness: 15%; /* 2.1px */
        text-underline-offset: 25%; /* 3.5px */
        text-underline-position: from-font;
    }
}

.footer-copy {
    color: #363537;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}


/* Responsive */
@media (max-width: 768px) {
    .header-container {
        display: none;
    }

    .header-mobile-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 64px;
        padding: 0 16px 0 12px;
        width: 100%;

        .header-name {
            color: #000;
            text-align: center;
            font-family: "Madimi One", sans-serif;
            font-size: 32px;
            font-weight: 400;
            line-height: 40px;
            letter-spacing: -2.88px;
        }

        .burger {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 8px;
            cursor: pointer;
            transition: .3s;
        }

        .burger:hover {
            background: rgba(54, 53, 55, 0.04);
        }

        /* Mobile menu */
        .mobile-menu {
            position: absolute;
            align-items: center;
            top: 64px;
            left: 0;
            right: 0;
            gap: 32px;
            padding: 52px 0 48px;
            background: #fff;
            display: none;
            flex-direction: column;
            border-top: 1px solid #e5e7eb;
            border-radius: 0 0 24px 24px;
            box-shadow: 0 12px 32px -16px rgba(27, 26, 28, 0.2);
        }

        .mobile-menu a {
            text-decoration: none;
            color: #9000FF;
            font-size: 18px;
            font-weight: 700;
            line-height: 24px;
        }

        .close-icon {
            display: none;
        }

        /* Active state */
        .mobile-menu.active {
            display: flex;
        }

        .burger.active .burger-icon {
            display: none;
        }

        .burger.active .close-icon {
            display: block;
        }

    }

    .article {
        padding: 20px 16px 48px;
    }

    .title {
        padding: 0;
        margin-bottom: 16px;
        font-size: 36px;
        font-style: normal;
        font-weight: 900;
        line-height: 40px;
        letter-spacing: -0.72px;
    }

    .intro {
        padding: 0;
        margin-bottom: 24px;
    }

    .meta {
        margin-bottom: 19px;
        padding: 0;
    }

    .cards-container {
        gap: 12px;
    }

    .card {
        padding: 16px 16px 24px 16px;
        border-radius: 16px;
    }

    .footer {
        border-top: 1px solid rgba(54, 53, 55, 0.12);
        padding: 40px 16px 40px;
    }
}
