.legal-container p {
  margin: 0 0 15px 0;
}

.legal-container p:last-child {
  margin-bottom: 0;
}

.legal-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
  margin-bottom: 50px;
}

.legal-container,
.legal-container p,
.legal-container li {
  color: #000;
  font-size: 16px;
}

.legal-container strong,
.legal-container b {
  color: #000;
  font-weight: 700;
}

.legal-container a {
  color: #39119A;
  font-size: 16px;
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: from-font;
  text-underline-position: from-font;
}

.legal-meta {
  margin: 0;
}

.legal-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.legal-card__title {
  margin: 0 0 8px 0;
  font-weight: 700;
  font-size: 20px;
}

.accordion-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  align-self: stretch;
  border: 1px solid #d9d9d9;
  border-radius: 20px;
}

.accordion-item.open {
  border: 1px solid #7049D8;
}

.accordion-trigger {
  display: flex;
  padding-right: 10px;
  align-items: center;
  gap: 10px;
  flex: 1 0 0;
  width: 100%;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;

  padding: 30px;
}

.accordion-number {
  display: flex;
  width: 35px;
  height: 35px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  background: #DAD4F6;
  color: #4D2AA3;
  font-size: 18px;
  font-weight: 700;
}

.accordion-trigger .accordion-icon {
  width: 22px;
  height: 23px;
  margin-left: auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 23px;
}

.accordion-trigger[aria-expanded="false"] .accordion-icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="22" height="23" viewBox="0 0 22 23" fill="none"><path d="M10.9999 15.1664C10.3922 15.1667 9.80927 14.9257 9.37926 14.4963L4.52734 9.64347L6.47251 7.69922L10.9999 12.2266L15.5273 7.69922L17.4725 9.64347L12.6206 14.4954C12.4077 14.7082 12.1551 14.877 11.877 14.9921C11.5989 15.1072 11.3009 15.1664 10.9999 15.1664Z" fill="black"/></svg>');
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="22" height="23" viewBox="0 0 22 23" fill="none"><path d="M11.0001 7.83361C11.6078 7.83326 12.1907 8.07429 12.6207 8.5037L17.4727 13.3565L15.5275 15.3008L11.0001 10.7734L6.47266 15.3008L4.52749 13.3565L9.37941 8.50461C9.59225 8.29183 9.84492 8.12305 10.123 8.00792C10.4011 7.89279 10.6991 7.83356 11.0001 7.83361Z" fill="black"/></svg>');
}

.accordion-trigger:focus-visible {
  outline: 2px solid #6445ff;
  outline-offset: 2px;
  border-radius: 8px;
}

.accordion-panel {
  font-size: 16px;
  padding: 0 30px 30px 30px;
}

.legal-accordion {
  display: grid;
  gap: 12px;
  margin: 12px 0 60px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 150%;
  color: #000;
  margin-bottom: 20px;
}

.legal-table th {
  text-align: left;
  font-weight: 700;
  font-size: 16px;
  color: #000;
  padding: 12px 15px;
  border: 1px solid #d9d9d9;
  border-bottom: none;
  background: rgba(
    100,
    69,
    255,
    0.05
  );
}

.legal-table td {
  padding: 12px 15px;
  border: 1px solid #d9d9d9;
  vertical-align: top;
}

.legal-table-wrap {
  overflow-x: auto;
  width: 100%;
}

.legal-table-wrap::-webkit-scrollbar {
  height: 6px;
}
.legal-table-wrap::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.legal-container a.btn-primary {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  width: fit-content;
}

