.home {
    max-width: 900px;
    margin: 0 auto;
    padding: 72px 16px 32px;
    display: grid;
    gap: 16px;
    line-height: 1.5;
    color: #2f312e;
}

.home-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 32px;
}

.home h1,
.home h2,
.home p,
.home blockquote {
    margin: 0;
}

.intro {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 32px;
    align-items: center;
}

.intro-photo {
    border-radius: 50%;
}

.intro-hello {
    font-weight: bold;
    color: #6b3fc4;
}

.home h1 {
    font-size: 32px;
    line-height: 1.2;
    text-wrap: balance;
}

.home .intro-summary {
    margin-top: 12px;
}

.home .intro-also {
    margin-top: 12px;
    min-height: 1.5em;
    color: #5c5f5a;
}

.intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.button {
    padding: 10px 20px;
    border: 2px solid #484a47;
    border-radius: 6px;
    color: #2f312e;
    font-weight: bold;
    text-decoration: none;
}

.button-main {
    background-color: #484a47;
    color: #fff;
}

.button:hover {
    background-color: #6b3fc4;
    border-color: #6b3fc4;
    color: #fff;
}

.home a:focus-visible {
    outline: 3px solid #b892ff;
    outline-offset: 2px;
}

.home h2 {
    font-size: 22px;
}

.results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 16px;
}

.result-figure {
    font-size: 20px;
    font-weight: bold;
    color: #6b3fc4;
}

.result-figure a {
    color: inherit;
}

.quote {
    background-color: #e7decd;
}

.quote blockquote {
    font-size: 22px;
    line-height: 1.35;
    text-wrap: balance;
}

.home .quote p {
    margin: 12px 0;
}

.quote a {
    color: #2f312e;
    font-weight: bold;
}

@media (max-width: 768px) {
    .home-card {
        padding: 24px;
    }

    .intro,
    .results {
        grid-template-columns: 1fr;
    }

    .intro {
        gap: 16px;
    }

    .intro-photo {
        width: 120px;
        height: 120px;
    }

    .home h1 {
        font-size: 26px;
    }
}
