/* =========================
   LEGAL PAGES – LAYOUT
   ========================= */

.legal-wrapper {
  background-color: var(--black);
  color: var(--white);
}

.legal-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 0 80px;
}

.legal-card {
  background-color: #151304;
  border-radius: 32px;
  border: 1px solid var(--white-opacity--10);
  padding: 32px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.legal-meta {
  margin-bottom: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12px;
  color: var(--grey--60);
}

.legal-heading {
  margin-bottom: 4px;
}

.legal-lead {
  text-transform: none;
  font-size: 14px;
  line-height: 160%;
  color: var(--grey--60);
}

.legal-sections {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 16px;
}

.legal-section-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-section-title {
  font-size: 16px;
  line-height: 132%;
  font-weight: 600;
  text-transform: uppercase;
}

.legal-section-text {
  text-transform: none;
  font-size: 14px;
  line-height: 160%;
  color: var(--grey--60);
}

.legal-section-text strong {
  color: var(--white);
  font-weight: 600;
}

.legal-list {
  margin: 8px 0 0;
  padding-left: 18px;
  text-transform: none;
  font-size: 14px;
  line-height: 160%;
  color: var(--grey--60);
}

.legal-list li + li {
  margin-top: 4px;
}

/* contact block inside legal pages */

.legal-contact-box {
  margin-top: 16px;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px dashed var(--white-opacity--10);
  background-color: rgba(255, 255, 255, 0.02);
  text-transform: none;
  font-size: 14px;
  line-height: 160%;
}

.legal-contact-box a {
  text-transform: none;
  text-decoration: underline;
}

/* THANK YOU PAGE */

.thanks-wrapper {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 0 80px;
}

.thanks-card {
  background-color: #151304;
  border-radius: 32px;
  border: 1px solid var(--white-opacity--10);
  padding: 32px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: left;
}

.thanks-title {
  margin-bottom: 4px;
}

.thanks-text {
  text-transform: none;
  font-size: 14px;
  line-height: 160%;
  color: var(--grey--60);
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================
   RESPONSIVE
   ========================= */

@media screen and (max-width: 767px) {
  .legal-inner,
  .thanks-wrapper {
    padding: 32px 0 64px;
  }

  .legal-card,
  .thanks-card {
    padding: 24px 20px 32px;
  }
}
