/* Shared nav, product cards, and inner-page layout */

.site-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 2rem;
}

.site-nav-brand {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 0.03em;
}

.site-nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav ul a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 400;
}

.site-nav ul a:hover,
.site-nav ul a[aria-current="page"] {
    color: var(--gold);
}

.hero .hero-content {
    padding-top: 4rem;
}

.page-hero {
    height: auto;
    min-height: 70vh;
    padding: 8rem 2rem 4rem;
    box-sizing: border-box;
}

.page-hero .hero-content p {
    max-width: 40rem;
    margin: 0.75rem auto 0;
    font-size: 1.15rem;
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.45);
}

/* styles.css hides .section (opacity: 0) until IntersectionObserver adds
   .visible. That leaves below-the-fold sections blank in full-page screenshots
   and hides them when JavaScript is off. Keep section content visible. */
.section {
    opacity: 1;
    transform: none;
}

.products {
    background: linear-gradient(to bottom, var(--light-beige), #EDEDED);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.product-card.featured {
    grid-column: 1 / -1;
}

.product-card.featured img {
    max-height: 150px;
}

.product-card h4 {
    margin: 0 0 0.75rem;
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    font-weight: 700;
}

.product-card.featured > p {
    flex: 0 0 auto;
    margin-bottom: 1rem;
}

.service-list {
    margin: 0 0 1.5rem;
    padding-left: 1.2rem;
    line-height: 1.6;
    flex: 1;
}

.service-list li {
    margin-bottom: 0.85rem;
}

.service-list li:last-child {
    margin-bottom: 0;
}

.coming-soon {
    margin: 0;
    font-weight: 700;
    color: var(--dark-blue);
}

.product-card {
    background: var(--text-light);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-card img {
    max-height: 88px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    margin-bottom: 1rem;
}

.product-card h3 {
    margin: 0 0 0.75rem;
}

.product-card p {
    margin: 0 0 1.5rem;
    line-height: 1.6;
    flex: 1;
}

.product-card .cta-button {
    align-self: flex-start;
}

.legal-ai {
    background: var(--light-beige);
}

.legal-ai .container,
.solutions-cta .container {
    max-width: 700px;
}

.legal-ai p,
.solutions-cta p {
    line-height: 1.6;
    font-size: 1.05rem;
}

.solutions-cta {
    text-align: center;
}

.solutions-cta h2,
.solutions-cta p {
    color: var(--text-light);
}

.solutions-cta p {
    margin: 0 0 1.5rem;
}

.services a {
    color: var(--dark-blue);
}

.services a:hover {
    color: var(--gold);
}

footer p {
    max-width: 52rem;
    margin: 0 auto;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .site-nav {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        gap: 0.6rem;
    }

    .page-hero {
        padding: 7rem 1rem 3rem;
        min-height: 60vh;
    }

    .page-hero .hero-content p {
        font-size: 1rem;
    }

    .product-card {
        padding: 1.5rem;
    }

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

    .product-card.featured {
        grid-column: auto;
    }

    .product-card.featured img {
        max-height: 120px;
    }
}
