.project-tag {
    margin-bottom: 12px;
    color: var(--accent-text);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.landing-page {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
    padding: 56px 0;
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.hero-section,
.contact-section {
    width: 100%;
}

.hero-section {
    max-width: 860px;
}

.hero-section h1 {
    margin-bottom: 12px;
    font-size: clamp(2.3rem, 5vw, 4.4rem);
    line-height: 1.08;
}

.hero-section h2 {
    margin-bottom: 24px;
    color: var(--accent-text);
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 600;
}

.hero-intro {
    max-width: 720px;
    margin-bottom: 18px;
    font-size: 1.35rem;
    line-height: 1.5;
}

.hero-details,
.contact-section p {
    color: var(--muted);
    line-height: 1.7;
}

.hero-details {
    max-width: 680px;
}

.contact-section h2 {
    margin-bottom: 24px;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.contact-section h3 {
    margin-bottom: 10px;
    font-size: 1.15rem;
    transition: color 0.18s ease;
}

.cards-grid,
.stats-grid,
.project-list {
    display: grid;
    gap: 24px;
}

.cards-grid,
.project-list {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.help-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

@media (width <= 700px) {
    .landing-page {
        width: min(100% - 32px, 1120px);
        padding: 32px 0;
        gap: 40px;
    }

    .buttons {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

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

/* ==========================================================================
   Projects cards
   ========================================================================== */

.landing-page .project-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.landing-page .project-card {
    position: relative;
    height: 100%;
    padding-right: 56px;
    overflow: hidden;
    cursor: pointer;
    background: var(--link-card-bg);
    border-color: var(--link-card-border);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease;
}

.landing-page .project-card::after {
    content: "→";

    position: absolute;
    top: 22px;
    right: 22px;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding-left: 1px;

    color: var(--accent-text);

    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;

    background: var(--bg-soft);

    border: 1px solid var(--border);
    border-radius: 999px;

    transition:
        transform 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease;
}

.landing-page .project-card-link:hover .project-card,
.landing-page .project-card-link:focus-visible .project-card {
    transform: translateY(-4px);
    background: var(--link-card-hover-bg);
    border-color: var(--link-card-hover-border);
    box-shadow: var(--link-card-shadow);
}

.landing-page .project-card-link:hover .project-card::after,
.landing-page .project-card-link:focus-visible .project-card::after {
    transform: translateX(3px);
    background: var(--accent);
    border-color: var(--accent);
    color: #10202a;
}

.landing-page .project-card-link:hover h3,
.landing-page .project-card-link:focus-visible h3 {
    color: var(--accent-text);
}

.landing-page .project-card-link:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
    border-radius: 12px;
}
