/**
 * XEYROX — Legal Pages Stylesheet (Privacy Policy & Terms)
 * Matching Figma reference designs in design-references/legal/
 */

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.legal-hero-section {
  position: relative;
  padding-top: 110px;
  padding-bottom: 130px;
  background-color: #ffffff;
  overflow: hidden;
  text-align: center;
}

.legal-hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 840px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-eyebrow {
  display: inline-block;
  font-family: var(--font-primary, 'Be Vietnam Pro', sans-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #155EEF;
  margin-bottom: 16px;
}

.legal-hero-headline {
  font-family: var(--font-primary, 'Be Vietnam Pro', sans-serif);
  font-size: clamp(42px, 5.2vw, 64px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #0B1B3D;
  margin: 0 0 20px 0;
}

.legal-hero-highlight {
  color: #155EEF;
}

.legal-hero-sub {
  font-size: clamp(17px, 1.8vw, 19px);
  line-height: 1.6;
  color: #475467;
  max-width: 620px;
  margin: 0 auto;
}

.legal-hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 220px;
  pointer-events: none;
  z-index: 1;
}

.legal-hero-wave-svg {
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   CONTENT BODY SECTION
   ========================================================================== */
.legal-content-section {
  padding: 80px 0 120px 0;
  background-color: #ffffff;
}

.legal-content-container {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-article {
  margin-bottom: 48px;
}

.legal-article:last-child {
  margin-bottom: 0;
}

.legal-article-heading {
  font-family: var(--font-primary, 'Be Vietnam Pro', sans-serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: #0B1B3D;
  margin: 0 0 16px 0;
}

.legal-article-p {
  font-size: 15px;
  line-height: 1.7;
  color: #475467;
  margin: 0 0 16px 0;
}

.legal-article-p:last-child {
  margin-bottom: 0;
}

.legal-article-list {
  margin: 0 0 16px 0;
  padding-left: 20px;
  list-style-type: disc;
}

.legal-article-list li {
  font-size: 15px;
  line-height: 1.7;
  color: #475467;
  margin-bottom: 8px;
}

.legal-article-list li:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .legal-hero-section {
    padding-top: 70px;
    padding-bottom: 90px;
  }

  .legal-content-section {
    padding: 50px 0 80px 0;
  }
}
