body.legal-page-body {
  padding-top: 0;
}

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(235, 97, 6, 0.12), transparent 34%),
    linear-gradient(180deg, #fffdf8 0%, #fff7e8 28%, #ffffff 100%);
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(51, 51, 51, 0.08);
}

.legal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--space);
}

.legal-header__brand {
  color: var(--black, #333);
  font-family: var(--font-sans);
  font-size: var(--fs-base-lg);
  font-style: normal;
  font-weight: 600;
  line-height: 1.2;
}

.legal-header__home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orage, #EB6106);
  font-family: var(--font-sans);
  font-size: var(--fs-body-sm);
  font-style: normal;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}

.legal-header__home::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.legal-main {
  padding: 24px var(--space) 72px;
}

.legal-hero {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 0 20px;
}

.legal-hero__eyebrow {
  margin: 0;
  color: var(--orage, #EB6106);
  font-family: Inter, var(--font-sans);
  font-size: var(--fs-body-xxs);
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.16em;
}

.legal-hero__title {
  margin: 0;
  color: var(--black, #333);
  font-family: var(--font-sans);
  font-size: var(--fs-xl);
  font-style: normal;
  font-weight: 600;
  line-height: 1.25;
}

.legal-hero__lead {
  margin: 0;
  color: rgba(51, 51, 51, 0.82);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-style: normal;
  font-weight: 400;
  line-height: 1.9;
}

.legal-card {
  border: 1px solid rgba(51, 51, 51, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(51, 51, 51, 0.04);
}

.legal-card__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 20px 28px;
}

.legal-alert {
  margin: 0;
  padding: 0 0 0 14px;
  border-left: 3px solid rgba(235, 97, 6, 0.75);
  color: rgba(51, 51, 51, 0.76);
  font-family: var(--font-sans);
  font-size: var(--fs-body-sm);
  font-style: normal;
  font-weight: 400;
  line-height: 1.8;
}

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

.legal-section__title {
  margin: 0;
  color: var(--black, #333);
  font-family: var(--font-sans);
  font-size: var(--fs-base-lg);
  font-style: normal;
  font-weight: 600;
  line-height: 1.4;
}

.legal-section__text {
  margin: 0;
  color: rgba(51, 51, 51, 0.88);
  font-family: var(--font-sans);
  font-size: var(--fs-body-sm);
  font-style: normal;
  font-weight: 400;
  line-height: 1.9;
}

.legal-list {
  margin: 0;
  padding-left: 1.2em;
  color: rgba(51, 51, 51, 0.88);
  font-family: var(--font-sans);
  font-size: var(--fs-body-sm);
  font-style: normal;
  font-weight: 400;
  line-height: 1.9;
}

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

.legal-table {
  display: flex;
  flex-direction: column;
}

.legal-table__row {
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #ece4d4;
}

.legal-table__row:first-child {
  padding-top: 0;
}

.legal-table__row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.legal-table__term {
  margin: 0;
  color: var(--orage, #EB6106);
  font-family: var(--font-sans);
  font-size: var(--fs-body-sm);
  font-style: normal;
  font-weight: 600;
  line-height: 1.6;
}

.legal-table__desc {
  margin: 0;
  color: rgba(51, 51, 51, 0.88);
  font-family: var(--font-sans);
  font-size: var(--fs-body-sm);
  font-style: normal;
  font-weight: 400;
  line-height: 1.9;
}

.legal-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #fff3eb;
  color: var(--orage, #EB6106);
  font-family: Inter, var(--font-sans);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

.legal-footer {
  padding: 0 var(--space) 28px;
}

.legal-footer__panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(51, 51, 51, 0.14);
}

.legal-footer__brand {
  margin: 0;
  color: var(--black, #333);
  font-family: var(--font-sans);
  font-size: var(--fs-base-lg);
  font-style: normal;
  font-weight: 600;
  line-height: 1.2;
}

.legal-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.legal-footer__link {
  color: rgba(51, 51, 51, 0.8);
  font-family: var(--font-sans);
  font-size: var(--fs-body-xs);
  font-style: normal;
  font-weight: 500;
  line-height: 1.6;
}

.legal-footer__company,
.legal-footer__copy {
  margin: 0;
  color: rgba(51, 51, 51, 0.7);
  font-family: var(--font-sans);
  font-size: var(--fs-body-xs);
  font-style: normal;
  font-weight: 400;
  line-height: 1.7;
}

@media (max-width: 480px) {
  .legal-header__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-header__home {
    font-size: var(--fs-body-xs);
  }

  .legal-hero__title {
    font-size: var(--fs-xxl);
  }

  .legal-table__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
