/* =========================================
   TERMS & LEGAL STYLES
   ========================================= */

/* --- Document Header --- */
/* (We use a slightly different header style than the Landing Hero) */
.doc-header {
    padding: 6rem 1.5rem 4rem 1.5rem;
    text-align: center;
    background: var(--bg-card);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.doc-header-content {
    max-width: 800px; 
    margin: 0 auto;
}

.doc-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--brand-dark);
    letter-spacing: -0.02em;
}

.last-updated {
    font-size: 0.95rem;
    opacity: 0.5;
    font-weight: 500;
}

/* --- Content Container --- */
.doc-container {
    padding: 4rem 1.5rem;
    max-width: 800px; /* Constrained width for optimal reading line-length */
    margin: 0 auto;
}

.legal-content {
    font-size: 1.05rem; /* Slightly larger text for reading comfort */
    line-height: 1.7;
    color: var(--brand-dark);
}

.intro-text {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.divider {
    border: none;
    height: 1px;
    background: rgba(0,0,0,0.1);
    margin: 3rem 0;
}

/* --- Typography Details --- */
.term-section { margin-bottom: 3.5rem; }

.term-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--brand-dark);
}

.term-section p {
    margin-bottom: 1rem;
    opacity: 0.8;
}

.term-section ul, .term-section ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.term-section li { 
    margin-bottom: 0.5rem; 
    padding-left: 0.5rem; 
}

/* Links inside text */
.legal-content a {
    color: var(--brand-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.legal-content a:hover { opacity: 0.8; }

/* --- Callout Box (For emphasis) --- */
.callout-box {
    background: rgba(0,0,0,0.03);
    border-left: 4px solid var(--brand-primary);
    padding: 1.5rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.callout-box strong { color: var(--brand-primary); }

/* Mobile Adjustments */
@media (max-width: 600px) {
    .doc-header h1 { font-size: 2.25rem; }
    .doc-container { padding: 2rem 1.5rem; }
}