/* Импортируем для шрифтов */
@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;500;700&display=swap');

/* Вся страница */
body {
    margin: 0;
    padding: 10px;
}

.header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
}

.header img {
    width: 56px;
    height: 56px;
    display: block;
}

.header a {
    margin-top: 0;
    align-self: center;
    font-family: 'Arial Black', Impact, sans-serif;
    font-size: 18px;
    text-decoration: none;
}

/* Сдвигает install + repository вправо */
.header a:nth-child(2) {
    margin-left: auto;
}

.hero {
    display: flex;
    flex-direction: column;
    font-family: "Alfa Slab One", serif;
    font-size: 65px;
    text-align: center;
}

.hero a {
    text-align: center;
    font-size: 35px;
    font-family: "Anton", sans-serif;
    margin-bottom: 50px;
}

.install-section {
    margin-top: 50px;
    padding: 24px;
    background: #f0f0f0;
}

.install-section h2 {
    margin: 0 0 20px;
    font-family: "Fira Sans", Helvetica, Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    padding-bottom: 8px;
    border-bottom: 5px solid #ccc;
}

.install-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.install-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: #fff;
}

.install-card-wide {
    grid-column: 1 / -1;
}

.install-card h3 {
    margin: 0;
    font-size: 22px;
}

.install-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 12px 18px;
    text-decoration: none;
    font-weight: 700;
    border: 2px solid #111;
}

.button.primary {
    background: #111;
    color: #fff;
}

.button:not(.primary):hover {
    background: #111;
    color: #fff;
}