/* DUBADENT — legal pages (terms / privacy / accessibility) */
:root {
  --bg: #0B0716; --bg-2: #120C22;
  --panel: rgba(255,255,255,0.045); --stroke: rgba(255,255,255,0.09);
  --stroke-strong: rgba(255,255,255,0.16);
  --text: #F4F1FB; --text-2: #BFB7D6; --text-3: #8E85A8;
  --violet: #8B5CF6; --violet-2: #A855F7; --gold: #E8C87A;
  --grad-cta: linear-gradient(135deg,#7C3AED 0%,#A855F7 55%,#C084FC 100%);
  --grad-text: linear-gradient(110deg,#C4B5FD 0%,#E9D5FF 45%,#A855F7 100%);
  --r-pill: 999px;
  --font-display: "Heebo", "Segoe UI", sans-serif;
  --font-ui: "IBM Plex Sans Hebrew", "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--text); font-family: var(--font-ui);
  font-size: 16.5px; line-height: 1.85; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--violet-2); text-decoration: none; }
a:hover { color: #fff; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 22px; }
.aurora {
  position: fixed; inset: -20%; z-index: 0; pointer-events: none; opacity: .5;
  background:
    radial-gradient(42% 34% at 78% 8%, rgba(124,58,237,.20), transparent 70%),
    radial-gradient(40% 34% at 10% 60%, rgba(168,85,247,.10), transparent 70%);
}
main, header.lg-hdr, footer.lg-ftr { position: relative; z-index: 1; }

.lg-hdr { border-bottom: 1px solid var(--stroke); background: rgba(11,7,22,.7); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 10; }
.lg-hdr .bar { max-width: 880px; margin: 0 auto; padding: 14px 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.lg-hdr .logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: .04em; color: var(--text); }
.lg-hdr .logo img { width: 36px; height: 36px; object-fit: contain; }
.lg-hdr .logo b { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lg-hdr .back { font-size: 14px; color: var(--text-2); border: 1px solid var(--stroke-strong); border-radius: var(--r-pill); padding: 9px 18px; transition: all .25s var(--ease); }
.lg-hdr .back:hover { border-color: var(--violet); color: #fff; }

.lg-hero { padding: 60px 0 34px; }
.lg-kick {
  display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600;
  color: var(--violet-2); background: rgba(139,92,246,.10); border: 1px solid rgba(139,92,246,.28);
  border-radius: var(--r-pill); padding: 7px 18px; margin-bottom: 18px;
}
.lg-kick::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad-cta); }
h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(28px,4.4vw,44px); line-height: 1.2; margin-bottom: 12px; }
.lg-sub { color: var(--text-2); font-size: 16px; max-width: 62ch; }
.lg-meta { margin-top: 14px; font-size: 13px; color: var(--text-3); }

.lg-body { padding-bottom: 70px; }
.lg-body section { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--stroke); }
.lg-body section:first-of-type { border-top: none; }
h2 {
  font-family: var(--font-display); font-weight: 700; font-size: 20.5px; margin-bottom: 10px;
  display: flex; gap: 12px; align-items: baseline;
}
h2 .num { color: var(--violet-2); font-size: 15px; font-weight: 700; direction: ltr; flex: none; }
.lg-body p { color: var(--text-2); margin-bottom: 12px; }
.lg-body p:last-child { margin-bottom: 0; }
.lg-body ul { list-style: none; display: grid; gap: 10px; margin: 12px 0; }
.lg-body li { display: flex; gap: 12px; color: var(--text-2); }
.lg-body li::before {
  content: ""; flex: none; width: 11px; height: 6px; margin-top: 11px;
  border-inline-start: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(45deg) scaleX(-1);
}
.lg-body b, .lg-body strong { color: var(--text); font-weight: 600; }

.note-box {
  border: 1px solid rgba(168,85,247,.35); border-radius: 20px; padding: 20px 22px; margin: 18px 0;
  background: linear-gradient(160deg, rgba(124,58,237,.14), rgba(18,12,34,.5));
}
.note-box b { display: block; margin-bottom: 6px; color: var(--text); }
.note-box p { color: var(--text-2); font-size: 15px; }

table.lg-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14.5px; }
table.lg-table th, table.lg-table td { padding: 12px 4px; text-align: start; border-bottom: 1px solid var(--stroke); vertical-align: top; }
table.lg-table th { color: var(--text-2); font-weight: 500; width: 46%; }
table.lg-table td { color: var(--text); font-weight: 600; }
table.lg-table td[dir="ltr"] { text-align: start; }

.lg-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; border-radius: var(--r-pill);
  padding: 14px 28px; font-weight: 600; font-size: 15.5px; transition: all .25s var(--ease);
}
.btn-primary { background: var(--grad-cta); color: #fff; box-shadow: 0 10px 40px rgba(139,92,246,.4); }
.btn-primary:hover { transform: translateY(-2px); color: #fff; }
.btn-ghost { border: 1px solid var(--stroke-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--violet); color: #fff; }

.lg-ftr { border-top: 1px solid var(--stroke); padding: 28px 0 60px; font-size: 13px; color: var(--text-3); }
.lg-ftr .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; justify-content: space-between; }
.lg-ftr a { color: var(--text-2); }

@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .lg-hero { padding: 40px 0 24px; }
  table.lg-table th, table.lg-table td { display: block; width: 100%; }
  table.lg-table th { border-bottom: none; padding-bottom: 2px; }
  .lg-hdr .logo span { display: none; }
}

/* ---- Powered by BDI credit ---- */
.pw-bdi {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px; border-radius: 99px;
  border: 1px solid var(--stroke-strong); background: rgba(255, 255, 255, 0.04);
  direction: ltr;
}
.pw-bdi > span { font-size: 9.5px; font-weight: 600; letter-spacing: .2em; color: var(--text-3); }
.pw-bdi b {
  font-family: var(--font-display); font-weight: 900; font-size: 14px; letter-spacing: .04em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* v5.21: the terms now carry the numbered clauses of the source document, so
   the number is set apart from the sentence instead of running into it */
.lg-body .cl {
  display: inline-block; min-width: 3.1em; font-variant-numeric: tabular-nums;
  color: var(--violet-2, #A855F7); font-weight: 700; letter-spacing: .01em;
}
.lg-body .note-box p { margin: 0; }
