/* =========================
   LEGAL PAGES (policies)
   ========================= */

   .legal-page .page-content {
    max-width: 1100px;
  }
  
  .legal-wrap {
    margin-top: 18px;
    background: rgba(30, 30, 30, 0.72);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 16px;
    backdrop-filter: blur(4px);
    box-shadow: 0 18px 50px rgba(0,0,0,0.35);
    padding: 28px;
  }
  
  .legal-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
  }
  
  .legal-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: rgba(255,255,255,0.85);
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.25);
    transition: transform .2s ease, background .2s ease, color .2s ease;
    white-space: nowrap;
  }
  
  .legal-back:hover {
    transform: translateY(-1px);
    background: rgba(230,57,70,0.14);
    color: #fff;
  }
  
  .legal-meta {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    text-align: right;
  }
  
  .legal-title {
    margin: 0 0 8px 0;
    font-size: 2rem;
    color: #fff;
  }
  
  .legal-subtitle {
    margin: 0 0 22px 0;
    color: rgba(255,255,255,0.70);
    line-height: 1.6;
  }
  
  .legal-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.16), transparent);
    margin: 18px 0 22px;
  }
  
  /* Typography for big text */
  .legal-text {
    color: rgba(255,255,255,0.78);
    line-height: 1.85;
    font-size: 1rem;
    word-break: break-word;
  }
  
  .legal-text h2,
  .legal-text h3 {
    color: #fff;
    margin: 22px 0 12px;
    line-height: 1.25;
  }
  
  .legal-text h2 {
    font-size: 1.35rem;
  }
  
  .legal-text h3 {
    font-size: 1.15rem;
  }
  
  .legal-text p {
    margin: 0 0 14px 0;
  }
  
  .legal-text ul {
    margin: 10px 0 16px 18px;
  }
  
  .legal-text li {
    margin: 8px 0;
  }
  
  .legal-text a {
    color: #e63946;
    text-decoration: none;
    border-bottom: 1px dashed rgba(230,57,70,0.45);
  }
  
  .legal-text a:hover {
    border-bottom-color: rgba(230,57,70,0.9);
  }
  
  .legal-note {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(230,57,70,0.10);
    border: 1px solid rgba(230,57,70,0.20);
    color: rgba(255,255,255,0.82);
  }
  
  .legal-text ul {
    list-style: none;
    padding-left: 0;
  }
  
  .legal-text li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
  }
  
  .legal-text li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #fff; /* твой красный */
  }

  /* Mobile */
  @media (max-width: 768px) {
    .legal-wrap { padding: 18px; border-radius: 14px; }
    .legal-topbar { flex-direction: column; align-items: flex-start; }
    .legal-meta { text-align: left; }
    .legal-title { font-size: 1.6rem; }
  }
  