/* ══════════════════════════════════════════════════════════════
   LEGAL / POLICY PAGES — shared styles
   Privacy Policy · Terms & Conditions · Cookie Policy ·
   Disclaimer · GDPR · FAQ
   Namespace: .lg-  (content) · .faq-  (FAQ accordion)
══════════════════════════════════════════════════════════════ */

.lg-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ─────────────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────────────── */
#lg-hero {
  background: #060609;
  padding: 152px 0 88px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
#lg-hero::before {
  content: '';
  position: absolute;
  top: -180px; right: -160px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.22) 0%, transparent 70%);
  pointer-events: none;
}
#lg-hero::after {
  content: '';
  position: absolute;
  bottom: -220px; left: -140px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.lg-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.02em;
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
}
.lg-crumb a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color .2s; }
.lg-crumb a:hover { color: #A78BFA; }
.lg-crumb svg { width: 11px; height: 11px; opacity: .5; }
.lg-crumb span { color: rgba(255,255,255,0.85); }

.lg-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.28);
  border-radius: 100px;
  padding: 5px 14px 5px 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.lg-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #7C3AED; flex-shrink: 0; }

.lg-h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 760px;
  margin: 0 0 20px;
  position: relative;
  z-index: 1;
}

.lg-sub {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.65;
  color: rgba(255,255,255,0.55);
  max-width: 620px;
  margin: 0 0 28px;
  position: relative;
  z-index: 1;
}

.lg-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.lg-updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 16px 7px 12px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}
.lg-updated svg { width: 14px; height: 14px; color: #F59E0B; flex-shrink: 0; }
.lg-updated strong { color: #fff; font-weight: 700; }

/* ─────────────────────────────────────────────────────────────
   BODY LAYOUT — sticky TOC + prose
───────────────────────────────────────────────────────────── */
#lg-body {
  background: #060609;
  padding: 72px 0 140px;
}

.lg-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
  align-items: start;
}

/* ── Sidebar TOC ── */
.lg-toc-wrap { position: sticky; top: 116px; }

.lg-toc-title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
  padding-left: 16px;
}

.lg-toc {
  list-style: none;
  border-left: 1.5px solid var(--border);
}
.lg-toc li { margin: 0; }
.lg-toc a {
  display: block;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.42);
  text-decoration: none;
  padding: 9px 16px;
  border-left: 1.5px solid transparent;
  margin-left: -1.5px;
  transition: color .2s, border-color .2s;
  line-height: 1.4;
}
.lg-toc a:hover { color: rgba(255,255,255,0.78); }
.lg-toc a.active {
  color: #A78BFA;
  border-left-color: #7C3AED;
  background: linear-gradient(90deg, rgba(124,58,237,0.08), transparent);
}

.lg-toc-card {
  margin-top: 28px;
  background: #0E0C1C;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}
.lg-toc-card p {
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
  margin: 0 0 14px;
}
.lg-toc-card a.lg-toc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  color: #F59E0B;
  text-decoration: none;
}
.lg-toc-card a.lg-toc-btn svg { width: 12px; height: 12px; transition: transform .2s; }
.lg-toc-card a.lg-toc-btn:hover svg { transform: translateX(3px); }

/* Mobile TOC toggle (hidden on desktop) */
.lg-toc-mobile { display: none; }

/* ── Prose content ── */
.lg-content { max-width: 760px; }

.lg-summary {
  background: #0E0C1C;
  border: 1px solid rgba(124,58,237,0.22);
  border-radius: 18px;
  padding: 26px 28px;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}
.lg-summary::before {
  content: '';
  position: absolute; inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #7C3AED, #F59E0B);
}
.lg-summary-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #A78BFA;
  margin-bottom: 12px;
}
.lg-summary-head svg { width: 14px; height: 14px; }
.lg-summary ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.lg-summary li {
  display: flex;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
}
.lg-summary li::before {
  content: '';
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #F59E0B;
  margin-top: 7px;
}

.lg-section { padding-top: 44px; margin-top: 0; scroll-margin-top: 110px; }
.lg-section:first-of-type { padding-top: 0; }
.lg-section + .lg-section { border-top: 1px solid var(--border); }

.lg-h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-size: clamp(21px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
}
.lg-h2-num {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: #7C3AED;
  background: rgba(124,58,237,0.14);
  border-radius: 8px;
  min-width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lg-h3 {
  font-family: var(--font-head);
  font-size: 16.5px;
  font-weight: 700;
  color: #fff;
  margin: 26px 0 10px;
}

.lg-content p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.62);
  margin: 0 0 16px;
}
.lg-content strong { color: rgba(255,255,255,0.88); font-weight: 700; }
.lg-content a { color: #A78BFA; text-decoration: underline; text-decoration-color: rgba(167,139,250,0.35); text-underline-offset: 3px; }
.lg-content a:hover { text-decoration-color: #A78BFA; }

.lg-content ul, .lg-content ol {
  margin: 0 0 18px;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.lg-content ul li, .lg-content ol li {
  position: relative;
  padding-left: 26px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.62);
}
.lg-content ul li::before {
  content: '';
  position: absolute; left: 4px; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #A78BFA;
}
.lg-content ol { counter-reset: lg-ol; }
.lg-content ol li { counter-increment: lg-ol; }
.lg-content ol li::before {
  content: counter(lg-ol);
  left: 0; top: 0;
  width: 18px; height: 18px;
  border-radius: 5px;
  background: rgba(245,158,11,0.14);
  color: #F59E0B;
  font-size: 10.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lg-note {
  display: flex;
  gap: 12px;
  background: rgba(245,158,11,0.06);
  border: 1px solid rgba(245,158,11,0.22);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 20px 0;
}
.lg-note svg { width: 18px; height: 18px; color: #F59E0B; flex-shrink: 0; margin-top: 1px; }
.lg-note p { margin: 0; font-size: 13.5px; color: rgba(255,255,255,0.65); }

.lg-table-wrap { overflow-x: auto; margin: 8px 0 24px; border: 1px solid var(--border); border-radius: 14px; }
.lg-table { width: 100%; border-collapse: collapse; font-family: var(--font-body); font-size: 13.5px; min-width: 520px; }
.lg-table th {
  text-align: left;
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.5);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
}
.lg-table td {
  padding: 13px 16px;
  color: rgba(255,255,255,0.65);
  border-bottom: 1px solid var(--border);
  line-height: 1.55;
}
.lg-table tr:last-child td { border-bottom: none; }

.lg-content address {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.62);
}

/* ── Closing contact card ── */
.lg-closer {
  margin-top: 56px;
  background: linear-gradient(135deg, rgba(124,58,237,0.10), rgba(245,158,11,0.06));
  border: 1px solid rgba(124,58,237,0.24);
  border-radius: 20px;
  padding: 32px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.lg-closer-text h3 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}
.lg-closer-text p {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  margin: 0;
  max-width: 420px;
}
.lg-closer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #060609;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: 100px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s;
}
.lg-closer-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.lg-closer-btn svg { width: 14px; height: 14px; }

/* ── Related policies strip ── */
.lg-related {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.lg-related a {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px;
  text-decoration: none;
  transition: color .2s, border-color .2s, background .2s;
}
.lg-related a:hover { color: #fff; border-color: rgba(124,58,237,0.4); background: rgba(124,58,237,0.1); }

/* ─────────────────────────────────────────────────────────────
   FAQ PAGE
───────────────────────────────────────────────────────────── */
.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.faq-filter-btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 9px 18px;
  cursor: pointer;
  transition: all .2s;
}
.faq-filter-btn:hover { color: #fff; border-color: rgba(124,58,237,0.35); }
.faq-filter-btn.active {
  color: #060609;
  background: linear-gradient(135deg, #A78BFA, #F59E0B);
  border-color: transparent;
}

.faq-group { margin-bottom: 44px; }
.faq-group-title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #A78BFA;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.faq-group-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: #0E0C1C;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .25s;
}
.faq-item.open { border-color: rgba(124,58,237,0.35); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 19px 22px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.faq-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(124,58,237,0.14);
  color: #A78BFA;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 400;
  transition: transform .25s, background .25s, color .25s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: #7C3AED; color: #fff; }

.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 22px 20px; }
.faq-a p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.58);
  margin: 0;
}
.faq-item.open .faq-a { max-height: 400px; }

/* ─────────────────────────────────────────────────────────────
   SUPPORT FORM PAGE
───────────────────────────────────────────────────────────── */
.sup-layout { max-width: 720px; margin: 0 auto; }

.sup-banner {
  display: none;
  align-items: flex-start;
  gap: 12px;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 28px;
  font-family: var(--font-body);
}
.sup-banner.show { display: flex; }
.sup-banner svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.sup-banner-title { font-weight: 700; font-size: 14.5px; margin-bottom: 3px; }
.sup-banner-text { font-size: 13.5px; line-height: 1.55; opacity: 0.85; }
.sup-banner--ok {
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.28);
  color: #4ADE80;
}
.sup-banner--err {
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.28);
  color: #F87171;
}

/* Reuses .cu-form-card / .cu-field-* from contact-us.css for the white card + inputs */
.sup-form-card { margin-bottom: 36px; }
.sup-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.sup-next {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sup-next-step {
  background: #0E0C1C;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}
.sup-next-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: rgba(124,58,237,0.14);
  color: #A78BFA;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}
.sup-next-step h4 {
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}
.sup-next-step p {
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

@media (max-width: 640px) {
  .sup-next { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .lg-grid { grid-template-columns: 1fr; gap: 0; }
  .lg-toc-wrap { display: none; }
  .lg-content { max-width: none; }

  .lg-toc-mobile {
    display: block;
    position: relative;
    margin-bottom: 36px;
  }
  .lg-toc-mobile-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0E0C1C;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 15px 18px;
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
  }
  .lg-toc-mobile-btn svg { width: 16px; height: 16px; color: rgba(255,255,255,0.5); transition: transform .2s; }
  .lg-toc-mobile.open .lg-toc-mobile-btn svg { transform: rotate(180deg); }
  .lg-toc-mobile-panel {
    display: none;
    background: #0E0C1C;
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 14px 14px;
    padding: 6px 10px;
  }
  .lg-toc-mobile.open .lg-toc-mobile-panel { display: block; }
  .lg-toc-mobile-panel a {
    display: block;
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    padding: 10px 10px;
    border-radius: 8px;
  }
  .lg-toc-mobile-panel a:hover { color: #fff; background: rgba(255,255,255,0.04); }
}

@media (max-width: 640px) {
  .lg-container { padding: 0 20px; }
  #lg-hero { padding: 132px 0 64px; }
  .lg-closer { flex-direction: column; align-items: flex-start; }
  .lg-closer-btn { width: 100%; justify-content: center; }
}
