.legal-section { background: var(--bg); }

.legal-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.meta-chip  { background: #fff; border: 1.5px solid rgba(0,120,180,0.12); border-radius: 50px; padding: 7px 16px; font-size: 12px; font-weight: 700; color: var(--muted); }

.legal-toc { background: #fff; border-radius: 18px; padding: 28px; box-shadow: 0 4px 16px rgba(0,80,140,0.07); margin-bottom: 40px; }
.legal-toc h3 { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 18px; color: var(--navy); margin-bottom: 16px; }
.toc-grid   { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.toc-item   { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--muted); font-size: 13px; font-weight: 700; background: #f8fbff; transition: background 0.15s, color 0.15s; }
.toc-item:hover { background: #e0f7fa; color: var(--teal); }
.toc-num    { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--blue)); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 900; color: #fff; flex-shrink: 0; }

.clause-card { background: #fff; border-radius: 20px; padding: 32px; box-shadow: 0 4px 16px rgba(0,80,140,0.07); margin-bottom: 20px; }
.clause-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.clause-num  { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--blue)); display: flex; align-items: center; justify-content: center; font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 16px; color: #fff; flex-shrink: 0; }
.clause-title-wrap {}
.clause-title { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 18px; color: var(--navy); }
.clause-tag   { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; background: #e0f7fa; color: var(--teal); padding: 3px 10px; border-radius: 50px; margin-top: 4px; }
.clause-body  { font-size: 14px; color: var(--muted); font-weight: 600; line-height: 1.8; }
.clause-body p { margin-bottom: 14px; }
.clause-body p:last-child { margin-bottom: 0; }

.note-box { border-radius: 12px; padding: 14px 18px; margin-top: 14px; font-size: 13px; font-weight: 700; line-height: 1.65; }
.note-info    { background: #eff6ff; border-left: 4px solid #3b82f6; color: #1e40af; }
.note-warning { background: #fffbeb; border-left: 4px solid #f59e0b; color: #92400e; }
.note-success { background: #f0fdf4; border-left: 4px solid #22c55e; color: #15803d; }

.legal-acknowledgment { background: linear-gradient(135deg, #ff7a59, #e8552f); border-radius: 20px; padding: 36px; text-align: center; margin-top: 40px; }
.legal-acknowledgment h3 { font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 22px; color: #fff; margin-bottom: 12px; }
.legal-acknowledgment p  { font-size: 14px; color: rgba(255,255,255,0.85); font-weight: 600; line-height: 1.7; }
