/* ==========================================================================
   Landing Page Layout (index.html)
   ========================================================================== */

.page-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 2rem;
    box-sizing: border-box;
    width: 100%;
}

.bento-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 4rem;
}

.bento-container > hr.section-divider {
    grid-column: 1 / -1;
    width: 100%;
}

.bento-item.hero-box {
    grid-column: span 2 !important;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.bento-item:not(.hero-box) {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 2.5rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.bento-item.hero-box h1 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0 0 1rem 0;
    color: var(--text-main);
    line-height: 1.2;
}

.bento-item h2 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 0.75rem 0;
    color: var(--text-main);
    line-height: 1.3;
}

.bento-item p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

.bento-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.bento-badge {
    font-family: 'Inter', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--text-dim);
}

.bento-icon {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    opacity: 0.7;
}

.bento-item:hover .bento-icon {
    color: var(--text-main);
    opacity: 1;
}

.cta-glory-line {
    width: 100%;
    margin: 0 auto 4rem auto;
    padding: 2rem 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    text-align: left;
    box-sizing: border-box;
}

.cta-glory-line h2 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 0.75rem 0;
    color: var(--text-main);
    line-height: 1.3;
}

.cta-glory-line p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 0 1.5rem 0;
    max-width: 800px;
}

.bento-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--btn-bg);
    color: var(--btn-text);
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: opacity 0.2s ease;
}

.bento-action-btn:hover {
    opacity: 0.9;
}

.compliance-footer {
    width: 100%;
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem 0;
    margin-top: 4rem;
    box-sizing: border-box;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 3rem;
    width: 100%;
    box-sizing: border-box;
}

.footer-col h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 1.25rem 0;
    color: var(--text-main);
    font-weight: 600;
}

.footer-col p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 0 0.5rem 0;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: underline;
}

.footer-col a:hover {
    color: var(--text-main);
}

.legal-disclaimer p {
    font-size: 0.78rem !important;
    color: var(--text-dim) !important;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    text-align: justify;
}

.footer-baseline {
    width: 100%;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.75rem;
    color: var(--text-dim);
    text-align: left;
}

.footer-baseline p {
    margin: 0;
}

@media (max-width: 768px) {
    .page-wrapper {
        padding: 2.5rem 1.25rem;
    }

    .bento-container {
        grid-template-columns: 1fr !important;
    }

    .bento-item.hero-box {
        grid-column: span 1 !important;
    }

    .bento-item.hero-box h1 {
        font-size: 26px;
    }

    .bento-item h2 {
        font-size: 18px;
    }

    .cta-glory-line h2 {
        font-size: 22px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
