/* Base Reset & Core Identity */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f8f8f8;
    color: #111111;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.7;
}

.container {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

/* Typography Rules */
h1,
h2,
h3,
.logo {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.logo {
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-img {
    max-width: 480px;
    /* Adjust based on preference */
    width: 100%;
    height: auto;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
    opacity: 0.5;
}

/* Layout Rules */
.hero {
    padding-top: 140px;
    margin-bottom: 120px;
}

.products {
    margin-bottom: 120px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    /* Gap creates the line effect when combined with border/bg */
    background-color: #eaeaea;
    /* Line color */
    border: 1px solid #eaeaea;
}

.product-card {
    background-color: #f8f8f8;
    /* Match page bg */
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s ease;
}

.product-card:hover:not(.placeholder) {
    background-color: #f0f0f0;
}

.product-card.placeholder {
    opacity: 0.3;
    cursor: default;
}

.product-name {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}

.product-desc {
    font-size: 13px;
    opacity: 0.7;
    margin-bottom: 16px;
    max-width: 140px;
}

.product-link-text {
    font-size: 13px;
    opacity: 0.5;
}


/* Footer Rules */
footer {
    padding-bottom: 80px;
    font-size: 13px;
    color: #666;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-social a {
    color: inherit;
    text-decoration: none;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.footer-social a:hover {
    opacity: 1;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        aspect-ratio: auto;
        padding: 40px 24px;
    }
}