/* ============================================================
   Legal Pages CSS Stylesheet
   Honey Invites - Landing Page Refactoring
   ============================================================ */

body {
  background-color: var(--honey);
  color: var(--bronze);
  font-family: var(--sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  box-sizing: border-box;
}

.legal-container {
  max-width: 800px;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 56px 64px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  body {
    padding: 30px 15px;
  }
  .legal-container {
    padding: 36px 28px;
    gap: 24px;
  }
}

.legal-header {
  border-bottom: 2px solid var(--line);
  padding-bottom: 24px;
  position: relative;
}

/* Subtle decorative line below header */
.legal-header::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 80px;
  height: 2px;
  background-color: var(--amber);
}

.legal-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--bronze);
  font-weight: 500;
  line-height: 1.2;
}

.legal-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--bronze);
}

.legal-content h2 {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--amber-dp);
  margin-top: 16px;
  font-weight: 500;
  border-left: 3px solid var(--amber);
  padding-left: 14px;
  line-height: 1.3;
}

.legal-content p {
  margin: 0;
}

.legal-content p strong {
  color: var(--bronze);
}

.legal-content ul {
  list-style: none;
  padding-left: 4px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-content li {
  position: relative;
  padding-left: 24px;
  color: var(--bronze);
}

/* Hexagon-inspired bullet points */
.legal-content li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 7px;
  height: 7px;
  background-color: var(--amber);
  transform: rotate(45deg);
  border-radius: 1px;
}

.legal-back-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--amber-dp);
  text-decoration: none;
  margin-top: 12px;
  padding: 6px 12px 6px 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.legal-back-link:hover {
  color: var(--bronze);
  transform: translateX(-4px);
}

.legal-footer {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-family: var(--sans);
}
