/* Legal pages: FPV Drone Simulator (privacy + terms). No third-party resources. */
.legal-hero{
  padding:150px 0 60px;
  text-align:center;
  background:
    radial-gradient(ellipse 60% 60% at 50% 40%,rgba(140,68,220,.45) 0%,transparent 70%),
    linear-gradient(135deg,#140822 0%,#240f47 30%,#3a1466 60%,#0C0615 100%);
}
.legal-hero-sub{
  max-width:680px;
  margin:16px auto 0;
  color:rgba(255,255,255,.78);
  font-size:1.02rem;
  line-height:1.7;
}
.legal-meta{
  display:inline-flex;
  gap:18px;
  margin-top:22px;
  padding:10px 20px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.1);
  border-radius:999px;
  font-size:.85rem;
  color:rgba(255,255,255,.7);
  flex-wrap:wrap;
  justify-content:center;
}
.legal-meta strong{color:#ffc94a;font-weight:700}
.legal-switch{margin-top:18px;font-size:.9rem}
.legal-switch a{color:#ffc94a;text-decoration:underline}

.legal-wrap{
  display:grid;
  grid-template-columns:230px minmax(0,1fr);
  gap:56px;
  max-width:1100px;
  margin:0 auto;
}
@media(max-width:900px){.legal-wrap{grid-template-columns:minmax(0,1fr);gap:28px}}

.legal-toc{
  position:sticky;
  top:120px;
  align-self:start;
  max-height:calc(100vh - 140px);
  overflow-y:auto;
  padding:20px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
}
.legal-toc h2{
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#ffc94a;
  margin:0 0 12px;
}
.legal-toc ol{margin:0;padding-left:20px}
.legal-toc li{margin-bottom:6px;color:rgba(255,255,255,.4);font-size:.82rem}
.legal-toc a{color:rgba(255,255,255,.75);font-size:.86rem;line-height:1.4;text-decoration:none}
.legal-toc a:hover{color:#ffc94a}
@media(max-width:900px){.legal-toc{position:static;max-height:none}}

.legal-content{max-width:760px;min-width:0}
.legal-section{margin-bottom:44px;scroll-margin-top:110px}
.legal-section h2{
  font-size:1.5rem;
  font-weight:800;
  color:var(--white);
  letter-spacing:-.01em;
  margin:0 0 16px;
  padding-bottom:12px;
  border-bottom:1px solid rgba(255,255,255,.1);
}
.legal-section h3{font-size:1.05rem;font-weight:700;color:var(--white);margin:24px 0 10px}
.legal-section p,.legal-section li{color:rgba(255,255,255,.8);font-size:.97rem;line-height:1.75}
.legal-section p{margin:0 0 14px}
.legal-section ul{margin:0 0 16px;padding-left:22px}
.legal-section li{margin-bottom:6px}
.legal-section a{color:#ffc94a;text-decoration:underline;overflow-wrap:anywhere}
.legal-section strong{color:var(--white);font-weight:600}

.legal-callout{
  padding:18px 22px;
  margin:0 0 36px;
  background:linear-gradient(135deg,rgba(140,68,220,.18),rgba(255,201,74,.06));
  border:1px solid rgba(255,201,74,.25);
  border-left:3px solid #ffc94a;
  border-radius:10px;
}
.legal-callout p{margin:0;color:rgba(255,255,255,.88);line-height:1.7}

.legal-table-wrap{overflow-x:auto;margin:14px 0 20px}
.legal-table{
  width:100%;
  border-collapse:collapse;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
}
.legal-table th,.legal-table td{
  padding:11px 14px;
  text-align:left;
  font-size:.9rem;
  line-height:1.55;
  border-bottom:1px solid rgba(255,255,255,.06);
  vertical-align:top;
}
.legal-table th{
  background:rgba(140,68,220,.18);
  color:var(--white);
  font-weight:700;
  font-size:.78rem;
  letter-spacing:.03em;
  text-transform:uppercase;
}
.legal-table td{color:rgba(255,255,255,.8)}
.legal-table tr:last-child td{border-bottom:none}

.legal-contact{
  padding:24px;
  background:linear-gradient(135deg,rgba(140,68,220,.18),rgba(255,201,74,.08));
  border:1px solid rgba(255,201,74,.25);
  border-radius:16px;
}
.legal-contact p{margin:0 0 6px}

.legal-footer{padding:36px 0;border-top:1px solid rgba(255,255,255,.08);text-align:center}
.legal-footer nav{display:flex;flex-wrap:wrap;gap:10px 22px;justify-content:center;margin-bottom:12px}
.legal-footer a{color:rgba(255,255,255,.75);font-size:.9rem}
.legal-footer a:hover{color:#ffc94a}
.legal-footer p{color:rgba(255,255,255,.5);font-size:.85rem;margin:0}

@media(max-width:640px){
  .legal-hero{padding:120px 0 44px}
  .legal-section h2{font-size:1.25rem}
  .legal-section p,.legal-section li{font-size:.93rem}
}
