* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: #1f2937;
    background: #f7f8fc;
    line-height: 1.7;
}

header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

.nav {
    max-width: 960px;
    margin: auto;
    min-height: 76px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #172033;
    font-size: 25px;
    font-weight: 800;
}

.brand img {
    width: 40px;
    height: 40px;
}

.nav-links a {
    margin-left: 20px;
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

main {
    max-width: 900px;
    margin: 45px auto 70px;
    padding: 0 24px;
}

article {
    background: white;
    padding: 45px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
}

h1 {
    font-size: 38px;
    line-height: 1.15;
    margin: 0 0 10px;
}

h2 {
    font-size: 23px;
    margin-top: 36px;
    margin-bottom: 10px;
}

.updated {
    color: #6b7280;
    margin-bottom: 35px;
}

p, li {
    color: #4b5563;
}

a {
    color: #5b21b6;
}

footer {
    background: #0b1120;
    color: #aab3c2;
    padding: 35px 24px;
    text-align: center;
}

footer a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
}

@media (max-width: 650px) {
    article {
        padding: 28px 22px;
    }

    h1 {
        font-size: 31px;
    }

    .nav-links {
        display: none;
    }
}
