.legal-page {
  min-height: 100vh;
  padding: 120px 24px 80px;
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 42, 109, 0.12),
      transparent 35%
    ),
    radial-gradient(
      circle at top right,
      rgba(49, 145, 255, 0.12),
      transparent 35%
    ),
    #07090d;
  color: #f5f7fb;
}

.legal-container {
  width: min(920px, 100%);
  margin: 0 auto;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 34px;
  color: #9da8ba;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s ease;
}

.legal-back:hover {
  color: #ffffff;
}

.legal-header {
  padding-bottom: 34px;
  border-bottom: 1px solid
    rgba(255, 255, 255, 0.08);
  margin-bottom: 42px;
}

.legal-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  margin-bottom: 18px;
  border: 1px solid
    rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background:
    rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.legal-header h1 {
  margin: 0 0 12px;
  font-size: clamp(
    38px,
    6vw,
    64px
  );
  line-height: 1;
  letter-spacing: -0.045em;
}

.legal-updated {
  margin: 0;
  color: #8f98aa;
  font-size: 14px;
}

.legal-section {
  margin-bottom: 22px;
  padding: 28px 30px;
  border: 1px solid
    rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background:
    rgba(255, 255, 255, 0.025);
  box-shadow:
    0 18px 60px
    rgba(0, 0, 0, 0.16);
}

.legal-section h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.legal-section p {
  margin: 0 0 14px;
  color: #aab3c3;
  font-size: 15px;
  line-height: 1.8;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section strong {
  color: #ffffff;
}

.legal-section a {
  color: #6fa8ff;
  text-decoration: none;
}

.legal-section a:hover {
  text-decoration: underline;
}

.legal-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid
    rgba(255, 255, 255, 0.08);
  color: #667085;
}

.legal-footer a {
  color: #9da8ba;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s ease;
}

.legal-footer a:hover {
  color: #ffffff;
}

@media (
  max-width: 700px
) {
  .legal-page {
    padding:
      92px 16px 60px;
  }

  .legal-section {
    padding:
      22px 20px;
    border-radius: 16px;
  }

  .legal-header {
    margin-bottom: 30px;
  }
}


.contact-form {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.contact-field {
  display: grid;
  gap: 9px;
}

.contact-field label {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid
    rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background:
    rgba(255, 255, 255, 0.035);
  color: #ffffff;
  font: inherit;
  outline: none;
  transition: 0.2s ease;
}

.contact-field textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color:
    rgba(255, 255, 255, 0.28);

  background:
    rgba(255, 255, 255, 0.055);
}

.contact-field select option {
  background: #0d1118;
  color: #ffffff;
}

.contact-submit {
  width: fit-content;
  min-width: 180px;
  padding: 14px 22px;
  border: 0;
  border-radius: 12px;
  background: #ffffff;
  color: #07090d;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}

.contact-submit:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

@media (max-width: 700px) {
  .contact-submit {
    width: 100%;
  }
}