/* Shared page layout helpers (keeps non-index pages consistent with index.html) */

body {
    background-color: var(--bg-light);
}

:root {
    /* Used to counteract any top offset so hero backgrounds can reach the very top */
    --rh-fixed-nav-offset: 4rem;
}

.page-hero {
    margin-top: calc(-1 * var(--rh-fixed-nav-offset));
    padding-top: calc(7.5rem + var(--rh-fixed-nav-offset));
    padding-bottom: 2.75rem;
    background: radial-gradient(
        circle at 40% 10%,
        rgba(var(--bs-primary-rgb), 0.16) 0%,
        rgba(var(--bs-primary-rgb), 0.04) 45%,
        var(--bg-light) 100%
    );
}

.page-hero .page-kicker {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(19, 19, 22, 0.62);
    font-weight: 700;
}

.page-hero h1 {
    color: var(--text-main);
    letter-spacing: -0.03em;
}

.page-hero p {
    color: var(--text-body);
    max-width: 70ch;
}

.page-content {
    padding-top: 2rem;
    padding-bottom: 5rem;
}

/* Reusable CTAs (mirrors index hero CTA styling) */
.hero-cta-btn {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: var(--text-light);
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    line-height: 1.1;
    text-decoration: none;
}

.hero-cta-btn:hover {
    background: var(--primary-hover);
    color: var(--text-light);
    border-color: var(--primary-hover);
}

.hero-cta-btn .material-icons {
    font-size: 18px;
    line-height: 1;
}

/* Optional legacy helpers used by pricing/solutions */
.display-section {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text-main);
}

@media (max-width: 576px) {
    .display-section {
        font-size: 2rem;
    }
}

.small-text {
    font-size: 0.95rem;
    color: var(--text-body);
}

.page-content h2,
.page-content h3 {
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.page-content p,
.page-content li {
    color: var(--text-body);
}

.page-card {
    background: var(--bg-white);
    border: 1px solid rgba(10, 10, 10, 0.08);
    border-radius: 18px;
}

.page-muted {
    color: rgba(19, 19, 22, 0.62);
}

.footer-compact {
    font-size: 0.9rem;
}

.footer-compact .fs-4 {
    font-size: 1.25rem !important;
}

.footer-compact h5 {
    font-size: 1rem;
    margin-bottom: 1rem !important;
}

.footer-compact .small,
.footer-compact .text-secondary {
    font-size: 0.85rem;
}

.footer-compact ul li a {
    font-size: 0.9rem;
}

.footer-compact .footer-social {
    background: transparent !important;
    color: #ffffff !important;
}
