/* Legal pages (Terms & Conditions / Privacy Policy).
   Standalone: does not load style.css. Colors/fonts mirror the landing page theme. */
:root {
  --purple: #4a4fd9;
  --purple-light: #7176ff;
  --violet: #8b5cf6;
  --pink: #ec4899;
  --text-dark: #30183f;
  --text-body: #5b5670;
  --bg-0: #05020c;
  --bg-1: #0e0620;
  --font: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text-body);
  background: linear-gradient(135deg, #f0f2ff 0%, #fdf6ff 60%, #f5f0ff 100%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

/* ── Header ─────────────────────────────── */
.lg-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(74, 79, 217, 0.1);
}

.lg-header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lg-logo img {
  display: block;
  height: 44px;
  width: auto;
}

.lg-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--violet) 0%, var(--pink) 100%);
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.3);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.lg-back:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(139, 92, 246, 0.4);
}

.lg-back svg {
  width: 16px;
  height: 16px;
}

/* ── Main card ──────────────────────────── */
.lg-main {
  flex: 1;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

.lg-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: 28px;
  box-shadow: 0 4px 32px rgba(124, 58, 237, 0.1);
  padding: 48px 52px 40px;
}

.lg-title {
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-dark);
}

.lg-title span {
  background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lg-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 16px;
}

.lg-meta strong {
  color: var(--text-dark);
}

.lg-pill {
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--purple);
  background: rgba(74, 79, 217, 0.08);
  border: 1px solid rgba(74, 79, 217, 0.2);
}

.lg-intro {
  margin-top: 24px;
  padding-bottom: 28px;
  font-size: 17px;
  border-bottom: 1px solid rgba(74, 79, 217, 0.12);
}

.lg-section {
  margin-top: 30px;
}

.lg-section h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.lg-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--purple) 0%, var(--violet) 100%);
}

.lg-section p {
  font-size: 16.5px;
}

.lg-section ul {
  list-style: none;
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.lg-section li {
  position: relative;
  padding-left: 22px;
  font-size: 16.5px;
}

.lg-section li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--pink));
}

.lg-section li strong {
  color: var(--text-dark);
  font-weight: 700;
}

.lg-section a,
.lg-intro a {
  color: var(--purple);
  font-weight: 600;
  text-decoration: none;
}

.lg-section a:hover {
  text-decoration: underline;
}

/* ── Footer ─────────────────────────────── */
.lg-footer {
  background: radial-gradient(circle at 88% 6%, rgba(236, 72, 153, 0.2), transparent 30%),
    radial-gradient(circle at 6% 90%, rgba(59, 130, 246, 0.18), transparent 32%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14.5px;
}

.lg-footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lg-footer ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.lg-footer a {
  color: #fff;
  text-decoration: none;
}

.lg-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .lg-main {
    padding: 28px 14px 40px;
  }

  .lg-card {
    padding: 28px 20px 24px;
    border-radius: 22px;
  }

  .lg-logo img {
    height: 38px;
  }

  .lg-back {
    padding: 8px 14px;
    font-size: 14px;
  }

  .lg-section h2 {
    font-size: 18.5px;
  }

  .lg-section p,
  .lg-section li {
    font-size: 15.5px;
  }

  .lg-footer-inner {
    justify-content: center;
    text-align: center;
  }
}
