.legal-shell {
  width: 100%;
  min-height: 100vh;
  background: #f4f6fb;
  margin: 0 auto;
}

.legal-header {
  background: #0d47a1;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: auto;
  position: relative;
  z-index: 1;
}

.legal-logo-icon {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.legal-logo-icon span {
  position: absolute;
  top: 0;
}

.legal-logo-text {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.legal-logo-text span {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.legal-back-btn {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  padding: 4px 12px;
  height: 26px;
  font-size: 12px;
  font-weight: 600;
  font-family: "Plus Jakarta Sans", sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}

.legal-back-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.legal-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 20px 20px;
}

.legal-body--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 60vh;
}

.legal-title {
  font-size: 26px;
  font-weight: 800;
  color: #0d47a1;
  margin: 0 0 6px;
}

.legal-updated {
  font-size: 11px;
  color: #90a4ae;
  font-weight: 500;
  margin: 0 0 32px;
}

.legal-intro {
  font-size: 14px;
  color: #546e7a;
  line-height: 1.7;
  margin: 0 0 28px;
}

.legal-list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-list li {
  font-size: 14px;
  color: #546e7a;
  line-height: 1.6;
}

.legal-section {
  margin-bottom: 24px;
}

.legal-section h2 {
  font-size: 13px;
  font-weight: 700;
  color: #37474f;
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.legal-section p {
  font-size: 14px;
  color: #546e7a;
  line-height: 1.7;
  margin: 0;
}

.legal-section a {
  color: #0d47a1;
  font-weight: 600;
  text-decoration: none;
}

.legal-section a:hover {
  text-decoration: underline;
}

@media (min-width: 720px) {
  body {
    background: #e8eef5;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px 60px;
    min-height: 100vh;
  }

  .legal-shell {
    width: 100%;
    max-width: 780px;
    min-height: unset;
    border-radius: 20px;
    overflow: hidden;
    border: 0.5px solid #d0d9e6;
    box-shadow: 0 8px 40px rgba(13, 71, 161, 0.09);
  }

  .legal-header {
    padding: 20px 32px;
  }

  .legal-body {
    padding: 40px 40px 60px;
  }

  .legal-title {
    font-size: 32px;
  }
}
