.hero {
    border-bottom: 3px solid #000000;
    padding: 48px 24px;
}

.hero img {
    width: 1049.5px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

.hero p {
    font-size: 14px;
    line-height: 1.4;
}

.products {
    border-bottom: 3px solid #000000;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.product-card {
    padding: 32px 24px;
}

.product-card + .product-card {
    border-left: 3px solid #000000;
}

.product-name {
    height: 26px;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.product-links {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    font-family: "Martian Mono", monospace;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.product-links a {
    text-decoration-thickness: 1px;
}

.product-desc {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 20px;
}

.product-features {
    font-size: 12px;
    line-height: 1.6;
    letter-spacing: 0.02em;
}

.research {
    border-bottom: 3px solid #000000;
}

.research-intro {
    padding: 32px 24px;
}

.research-intro h2 {
    margin-bottom: 24px;
}

.research-logo {
    display: block;
    width: 360px;
    max-width: 100%;
    height: auto;
    /* The original artwork is light; use black on this site's white background. */
    filter: brightness(0);
}

.research-intro p {
    max-width: 640px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.research-link {
    font-family: "Martian Mono", monospace;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.research-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    border-top: 1px solid #000000;
}

.research-project {
    padding: 32px 24px;
    min-width: 0;
}

.research-project + .research-project {
    border-left: 1px solid #000000;
}

.research-project h3 {
    font-family: "Martian Mono", monospace;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.research-project p {
    max-width: 640px;
    line-height: 1.6;
}

.research-project p + p {
    margin-top: 16px;
}

.infrastructure {
    border-bottom: 3px solid #000000;
}

.infra-list {
    padding: 32px 24px;
}

.infra-row {
    display: flex;
    gap: 24px;
    padding: 8px 0;
    border-bottom: 1px solid #000000;
    font-size: 14px;
    align-items: baseline;
}

.infra-row:last-child {
    border-bottom: none;
}

.infra-label {
    font-family: "Martian Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    min-width: 80px;
    flex-shrink: 0;
}

.infra-value {
    font-size: 13px;
    word-break: break-all;
}

.infra-value a {
    text-decoration-thickness: 1px;
}

.friends {
    border-bottom: 3px solid #000000;
}

.friend-card {
    padding: 32px 24px;
}

.friend-card h3 {
    margin-bottom: 20px;
}

.friend-logo {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
}

.friend-card p {
    max-width: 640px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.friend-link {
    font-family: "Martian Mono", monospace;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.contact {
    border-bottom: 3px solid #000000;
}

.contact-inner {
    padding: 48px 24px;
}

.contact-email {
    font-family: "Martian Mono", monospace;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.02em;
    overflow-wrap: anywhere;
}

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

    .hero h1 {
        font-size: 40px;
    }

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

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

    .research-project + .research-project {
        border-left: none;
        border-top: 1px solid #000000;
    }

    .product-card + .product-card {
        border-left: none;
        border-top: 3px solid #000000;
    }

    .product-name {
        font-size: 24px;
    }

    .infra-row {
        flex-direction: column;
        gap: 4px;
    }

    .contact-email {
        font-size: 16px;
    }
}
