.legal-container { max-width: 820px; margin: 2.5rem auto 4rem; padding: 0 1.5rem; }
.legal-container h1 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    margin: 0 0 0.4rem;
    background: linear-gradient(135deg, #fff 0%, #f3e03b 60%, #f7b500 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.legal-container h2 { margin-top: 2rem; margin-bottom: 0.5rem; color: var(--accent); }
.legal-container h3 { margin-top: 1.4rem; margin-bottom: 0.4rem; font-size: 1rem; color: var(--text-primary); }
.legal-container p, .legal-container li { line-height: 1.8; color: var(--text-secondary); }
.legal-container ul, .legal-container ol { padding-left: 1.5rem; }
.last-updated { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2rem; }
.back-button {
    display: inline-flex; align-items: center; gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 999px;
    transition: all 0.3s;
    font-size: 0.9rem;
}
.back-button:hover { color: var(--text-primary); border-color: rgba(255,255,255,0.2); }
.summary-box {
    margin: 1.2rem 0 2rem; padding: 1rem 1.2rem;
    background: rgba(247, 181, 0, 0.06);
    border: 1px solid rgba(247, 181, 0, 0.25);
    border-radius: 10px;
}
.summary-box strong { color: #f7d24f; }
.legal-table {
    width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.9rem;
}
.legal-table th, .legal-table td {
    padding: 0.6rem 0.8rem; text-align: left;
    border-bottom: 1px solid var(--glass-border);
    vertical-align: top;
}
.legal-table th {
    background: rgba(255,255,255,0.04);
    color: var(--text-primary);
    font-weight: 600;
}
/* Subtle footnote-link styling for the Operator* reference. */
.op-ref {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85em;
    opacity: 0.75;
}
.op-ref:hover { opacity: 1; text-decoration: underline; }
/* Collapsible operator footnote — name in HTML for legal compliance,
   but visually small and tucked under §15 Contact. */
details.op-footnote {
    margin: 0.8rem 0 0;
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.55;
}
details.op-footnote > summary {
    cursor: pointer; list-style: none;
    color: var(--text-muted); user-select: none;
    font-size: 0.72rem; padding: 0.15rem 0; opacity: 0.7;
}
details.op-footnote > summary::-webkit-details-marker { display: none; }
details.op-footnote > summary::before {
    content: '▸ '; display: inline-block;
    transition: transform 0.15s ease; color: var(--text-muted);
}
details.op-footnote[open] > summary { opacity: 1; }
details.op-footnote[open] > summary::before { transform: rotate(90deg); }
details.op-footnote > summary:hover { opacity: 1; color: var(--text-secondary); }
details.op-footnote > p {
    margin: 0.4rem 0 0; padding-left: 0.9rem; font-size: 0.75rem;
}
