*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    background-color: #f8f9fa;
}

body {
    color: #212529;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    margin: 0;
    min-height: 100vh;
}

.page {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: 960px;
    min-height: 100vh;
    padding: 2.5rem 1.25rem 1.5rem;
}

header {
    margin-bottom: 2rem;
}

header h1 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

main {
    flex: 1;
}

.about {
    margin-bottom: 3rem;
}

.about p {
    color: #495057;
    font-size: 1.0625rem;
    margin: 0;
}

.projects h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1.25rem;
}

.projects-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.project-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem;
}

.project-card--coming-soon {
    border-style: dashed;
    opacity: 0.85;
}

.project-icon {
    border-radius: 22.5%;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.08),
        0 1px 2px rgba(0, 0, 0, 0.06);
    display: block;
    height: 112px;
    object-fit: cover;
    width: 112px;
}

.project-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.project-card p {
    color: #495057;
    flex: 1;
    font-size: 0.9375rem;
    margin: 0;
}

.store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.store-badge {
    display: inline-block;
    line-height: 0;
    transition: opacity 0.15s ease;
}

.store-badge:hover {
    opacity: 0.85;
}

.store-badge img {
    display: block;
    height: 48px;
    width: auto;
}

.status-badge {
    align-self: flex-start;
    background: #e9ecef;
    border-radius: 999px;
    color: #495057;
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-top: 0.25rem;
    padding: 0.35rem 0.85rem;
}

footer {
    border-top: 1px solid #e9ecef;
    color: #868e96;
    font-size: 0.875rem;
    margin-top: 3rem;
    padding-top: 1.25rem;
}
