/* ════════════════════════════════════════════════════════════
   LEGAL PAGES — Privacy Policy / Terms of Service
   Loaded after case-study-inbox.css (shared tokens, nav, reveal, footer).
════════════════════════════════════════════════════════════ */

.l-hero{padding:170px 48px 40px;position:relative;z-index:2;max-width:var(--max);margin:0 auto}
.l-hero h1{max-width:760px}
.l-hero .hero-sub{max-width:640px;margin-bottom:26px}
.l-meta{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;margin-bottom:8px}
.eff-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;border:1px solid rgba(74,108,247,.28);background:rgba(74,108,247,.08);font-family:'Space Mono',monospace;font-size:11px;letter-spacing:1px;color:var(--sky)}
.eff-badge svg{width:13px;height:13px}
.l-switch{display:flex;gap:10px;flex-wrap:wrap}
.l-switch a{display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border-radius:10px;border:1px solid rgba(255,255,255,.1);color:var(--silver);text-decoration:none;font-size:13px;transition:all .2s}
.l-switch a:hover{border-color:var(--border-hi);color:var(--text)}
.l-switch a svg{width:14px;height:14px}

.legal-wrap{padding:16px 48px 96px;max-width:var(--max);margin:0 auto;position:relative;z-index:2}

/* Body */
.legal-body{max-width:800px;margin:0 auto;min-width:0;font-size:15px;color:var(--silver);line-height:1.75}
.legal-body section{padding-top:52px;margin-top:-52px}
.legal-body section:first-of-type{padding-top:0;margin-top:0}
.l-num{font-family:'Space Mono',monospace;font-size:11px;letter-spacing:2px;color:var(--blue)}
.legal-body h2{font-family:'Sora',sans-serif;font-size:clamp(20px,2.4vw,26px);font-weight:700;letter-spacing:-.5px;color:var(--text);margin:0 0 14px;scroll-margin-top:96px}
.legal-body h2 a.anchor{color:inherit;text-decoration:none}
.legal-body h3{font-family:'Sora',sans-serif;font-size:16px;font-weight:600;color:var(--text);margin:26px 0 10px}
.legal-body p{margin-bottom:16px}
.legal-body p:last-child{margin-bottom:0}
.legal-body ul,.legal-body ol{margin:0 0 16px;padding-left:0;list-style:none;display:flex;flex-direction:column;gap:9px}
.legal-body ul li,.legal-body ol li{position:relative;padding-left:22px;line-height:1.65}
.legal-body ul li::before{content:'';position:absolute;left:0;top:9px;width:7px;height:1.5px;background:var(--cyan)}
.legal-body ol{counter-reset:ol}
.legal-body ol li{counter-increment:ol}
.legal-body ol li::before{content:counter(ol) '.';left:0;top:0;width:auto;height:auto;background:none;font-family:'Space Mono',monospace;font-size:12px;color:var(--cyan)}
.legal-body a{color:var(--sky);text-underline-offset:3px}
.legal-body a:hover{color:var(--text)}
.legal-body strong{color:var(--text);font-weight:600}
.legal-divider{height:1px;background:linear-gradient(90deg,transparent,rgba(74,108,247,.16),transparent);margin:44px 0}

/* Callout card */
.callout{background:linear-gradient(145deg,rgba(13,27,62,.7),rgba(6,10,28,.85));border:1px solid var(--border);border-radius:14px;padding:26px 28px;margin-bottom:20px}
.callout-icon{font-size:22px;margin-bottom:12px;line-height:1}
.callout-title{font-family:'Sora',sans-serif;font-size:15px;font-weight:600;color:var(--text);margin-bottom:7px}
.callout-text{font-size:13.5px;color:var(--silver);line-height:1.6}

/* Rights grid */
.rights-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin:22px 0 26px}
.right-card{display:flex;gap:13px;padding:18px 20px;border-radius:14px;border:1px solid var(--border);background:rgba(13,27,62,.4)}
.right-card svg{width:19px;height:19px;color:var(--cyan);flex-shrink:0;margin-top:2px}
.rc-t{font-family:'Sora',sans-serif;font-size:14px;font-weight:600;color:var(--text);margin-bottom:4px}
.rc-x{font-size:13px;color:var(--silver);line-height:1.55}

/* Simple data table */
.l-table{width:100%;border-collapse:collapse;margin:6px 0 22px;font-size:13.5px}
.l-table th,.l-table td{text-align:left;padding:11px 14px;border-bottom:1px solid rgba(74,108,247,.12);vertical-align:top}
.l-table th{font-family:'Space Mono',monospace;font-size:10px;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted);font-weight:500}
.l-table td{color:var(--silver)}
.l-table tr:last-child td{border-bottom:none}
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}

.l-cta{margin-top:8px;padding:24px 26px;border-radius:16px;border:1px solid var(--border-hi);background:linear-gradient(150deg,rgba(13,27,62,.6),rgba(6,10,28,.85));display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px}
.l-cta p{margin:0;font-size:14px;color:var(--silver)}
.l-cta a{color:var(--sky);font-weight:600;text-decoration:none}
.l-cta a:hover{text-decoration:underline}

@media(max-width:1024px){
  .l-hero{padding:140px 32px 30px}
  .legal-wrap{padding:16px 32px 76px}
}
@media(max-width:768px){
  .l-hero{padding:118px 20px 20px}
  .legal-wrap{padding:12px 20px 56px}
  .rights-grid{grid-template-columns:1fr}
  .l-cta{flex-direction:column;align-items:flex-start}
}
